ALIYUN::GPDB::DBInstance is used to create an AnalyticDB for PostgreSQL instance in reserved storage mode.
Syntax
{
"Type": "ALIYUN::GPDB::DBInstance",
"Properties": {
"EngineVersion": String,
"ZoneId": String,
"VSwitchId": String,
"DBInstanceClass": String,
"DBInstanceGroupCount": Integer,
"VPCId": String,
"SecurityIPList": String,
"DBInstanceDescription": String,
"PayType": String,
"Period": Integer,
"PeriodUnit": String,
"Tags": List,
"VectorConfigurationStatus": String,
"StorageSize": Integer,
"EncryptionType": String,
"MasterNodeNum": Integer,
"DBInstanceMode": String,
"SegDiskPerformanceLevel": String,
"DBInstanceCategory": String,
"SegStorageType": String,
"EncryptionKey": String,
"CreateSampleData": Boolean,
"ServerlessMode": String,
"ServerlessResource": Integer,
"PrivateIpAddress": String,
"SegNodeNum": Integer,
"InstanceSpec": String,
"IdleTime": Integer,
"ProdType": String
}
}
Properties
Property | Type | Required | Editable | Description | Constraint |
EngineVersion | String | Yes | No | The engine version. | Valid values:
|
ZoneId | String | Yes | No | The zone ID. | Example: cn-hangzhou-h. For more information about zone IDs, see DescribeRegions. |
VSwitchId | String | Yes | No | The vSwitch ID. | Example: vsw-bp183p93qs667muql****. |
DBInstanceClass | String | No | No | The instance type family. | Example: gpdb.group.segsdx2. |
DBInstanceGroupCount | Integer | No | No | The number of compute nodes in the AnalyticDB for PostgreSQL instance. | Example: 2. |
VPCId | String | No | No | The ID of the virtual private cloud (VPC). | Example: vpc-bp1m6fww66xbntjyc****. |
SecurityIPList | String | No | Yes | The IP address whitelist. | Default value: 127.0.0.1. |
DBInstanceDescription | String | No | Yes | The description of the instance. | Example: AnalyticDB PostgreSQL DB Instance. The description can be up to 256 characters in length. |
PayType | String | No | No | The billing method. | Valid values:
|
Period | Integer | No | No | The subscription duration of the instance. |
|
PeriodUnit | String | No | No | The unit of the subscription duration. | Valid values:
|
Tags | List | No | No | The custom tags of the instance. | For more information, see Tags properties. |
VectorConfigurationStatus | String | No | No | Specifies whether to enable vector search engine optimization. | Valid values:
Note
|
StorageSize | Integer | No | No | The size of the storage space. | Unit: GB. Valid values: 50 to 8000. |
EncryptionType | String | No | No | The encryption type. | Valid values:
Note Disk encryption cannot be disabled after it is enabled. |
MasterNodeNum | Integer | No | No | The number of coordinator nodes. | Valid values: 1 to 2. Note If you leave this property empty, 1 is used. |
DBInstanceMode | String | No | No | The resource mode of the instance. | Valid values:
|
SegDiskPerformanceLevel | String | No | No | The performance level (PL) of the enhanced SSD (ESSD). | Valid values:
Note This property takes effect only when SegStorageType is set to cloud_essd. If you do not specify this property, pl1 is used. |
DBInstanceCategory | String | No | No | The edition of the instance. | Valid values:
Note You must specify this property when you create an instance in elastic storage mode. |
SegStorageType | String | No | No | The storage type of the disk. | Set the value to cloud_essd. A value of cloud_essd specified an ESSD. Note You must specify this property when you create an instance in elastic storage mode. |
EncryptionKey | String | No | No | The key ID. | If EncryptionType is set to CloudDisk, you must use EncryptionKey to specify the ID of an encryption key that resides in the same region as the cloud disk specified by EncryptionType. If EncryptionType is not set to CloudDisk, you must leave EncryptionKey empty. |
CreateSampleData | Boolean | No | No | Specifies whether to load the sample dataset after the instance is created. | Valid values:
|
ServerlessMode | String | No | No | The Serverless mode of the instance. | Valid values:
Note You must specify this property only when you create an instance in Serverless mode. |
ServerlessResource | Integer | No | No | The threshold of computing resources. | Unit: AnalyticDB compute unit (ACU). Valid values: 8 to 32. The value must be in increments of 8 ACUs. Default value: 32. Note You must specify this property only when you create an instance in automatic Serverless mode. |
PrivateIpAddress | String | No | No | The private IP address of the instance. | None. |
SegNodeNum | Integer | No | No | The number of compute nodes. |
Note You must specify this property when you create an instance in elastic storage mode or Serverless mode. |
InstanceSpec | String | No | No | The specifications of compute nodes. |
Note You must specify this property when you create an instance in elastic storage mode or Serverless mode. |
IdleTime | Integer | No | No | The wait time for the instance that has no traffic to become idle. | An instance becomes idle after the period of time during which no business traffic is generated reaches the specified threshold. Minimum value: 60. Default value: 600. Unit: seconds. Note You must specify this property only when you create an instance in automatic Serverless mode. |
ProdType | String | No | No | The product type. | Valid values:
|
Tags syntax
"Tags": [
{
"Value": String,
"Key": String
}
]
Tags properties
Property | Type | Required | Editable | Description | Constraint |
Key | String | Yes | No | The tag key. | The tag key must be 1 to 128 characters in length, and cannot contain |
Value | String | No | No | The tag value. | The tag value can be up to 128 characters in length, and cannot contain |
Return values
Fn::GetAtt
DBInstanceId: the instance ID.
Port: the port that is used to connect to the instance.
OrderId: the order ID.
ConnectionString: the endpoint of the instance.