Creates an AnalyticDB for PostgreSQL instance in elastic storage mode.
Syntax
{
"Type": "ALIYUN::GPDB::ElasticDBInstance",
"Properties": {
"EngineVersion": String,
"InstanceSpec": String,
"ZoneId": String,
"VSwitchId": String,
"SegNodeNum": Integer,
"SegStorageType": String,
"StorageSize": Integer,
"MasterNodeNum": Integer,
"EncryptionType": String,
"EncryptionKey": String,
"VPCId": String,
"SecurityIPList": String,
"DBInstanceDescription": String,
"PrivateIpAddress": String,
"ZoneId": String,
"Period": Integer,
"PayType": String,
"DBInstanceCategory": String,
"DBInstanceMode": String,
"PeriodUnit": String,
"Tags": List
}
}
Properties
|
Property name |
Type |
Required |
Update allowed |
Description |
Constraints |
|
EngineVersion |
String |
Yes |
No |
Database engine version. |
Example values:
|
|
InstanceSpec |
String |
Yes |
No |
Instance type. |
Valid values:
|
|
ZoneId |
String |
Yes |
No |
Zone ID. |
Example value: cn-hangzhou-h. For more information about zone IDs, see DescribeRegions - View available regions and zones. |
|
VSwitchId |
String |
Yes |
No |
vSwitch ID. |
Example value: vsw-bp183p93qs667muql****. |
|
SegNodeNum |
Integer |
Yes |
No |
Number of segment nodes. |
Valid values: 4 to 512. |
|
SegStorageType |
String |
Yes |
No |
Disk type of segment nodes. |
Valid value: cloud_essd. |
|
StorageSize |
Integer |
Yes |
No |
Storage capacity per node. |
Valid values: 50 to 4000. Unit: GB. Note
The value must be in 50 GB increments. |
|
MasterNodeNum |
Integer |
No |
No |
Number of master nodes. |
Valid values: 1 to 2. |
|
EncryptionType |
String |
No |
No |
Encryption type. |
Valid values:
Note
Disk encryption cannot be disabled after it is enabled. |
|
EncryptionKey |
String |
No |
No |
ID of the encryption key. |
If EncryptionType is set to CloudDisk, specify an encryption key ID in the same region. Otherwise, leave this parameter empty. |
|
VPCId |
String |
No |
No |
VPC ID. |
Example value: vpc-bp1m6fww66xbntjyc****. |
|
SecurityIPList |
String |
No |
Yes |
IP address whitelist. |
Default value: 127.0.0.1. |
|
DBInstanceDescription |
String |
No |
Yes |
Instance description. |
Example value: AnalyticDB for PostgreSQL instance. The description can be up to 256 characters in length. |
|
PrivateIpAddress |
String |
No |
No |
Private IP address. |
None |
|
ZoneId |
String |
No |
No |
Zone ID. |
None |
|
InstanceChargeType |
String |
No |
No |
Billing method. |
Valid values:
|
|
Period |
Integer |
No |
No |
Subscription duration. |
Valid only when InstanceChargeType is set to Prepaid. Values:
|
|
DBInstanceCategory |
String |
No |
No |
Instance edition. |
Valid values:
Note
This parameter is required when you create an instance in elastic storage mode. |
|
DBInstanceMode |
String |
No |
No |
Resource type of the instance. |
Valid values:
|
|
PeriodUnit |
String |
No |
No |
Unit of the subscription period. |
Valid values:
|
|
Tags |
List |
No |
Yes |
Tags. |
You can add up to 20 tags. Each tag consists of a Key and a Value. For more information, see the Tags properties section. |
Tags syntax
"Tags" : [
{
"Value" : String,
"Key" : String
}
]
Tags properties
|
Property Name |
Type |
Required |
Update allowed |
Description |
Constraints |
|
Key |
String |
Yes |
No |
Tag key. |
The key is 1 to 128 characters in length. It cannot start with |
|
Value |
String |
No |
No |
Tag value. |
The value is 0 to 128 characters in length. It cannot start with |
Return values
Fn::GetAtt
-
DBInstanceId: The instance ID.
-
Port: The port number.
-
OrderId: The order ID.
-
ConnectionString: The connection address.