DATASOURCE::REDIS::InstanceClasses is used to query the types of ApsaraDB for Redis instances.
Syntax
{
"Type": "DATASOURCE::REDIS::InstanceClasses",
"Properties": {
"OrderType": String,
"ZoneId": String,
"ResourceGroupId": String,
"InstanceId": String,
"InstanceChargeType": String,
"NodeId": String,
"ProductType": String,
"AcceptLanguage": String,
"Engine": String
}
}
Properties
Property | Type | Required | Editable | Description | Constraint |
OrderType | String | No | Yes | The type of the order that you want to place. | Valid values:
|
ZoneId | String | No | Yes | The ID of the zone. | None. |
ResourceGroupId | String | No | Yes | The ID of the resource group. | None. |
InstanceId | String | No | Yes | The ID of the instance. | This property is required if you set the OrderType property to UPGRADE or RENEW. |
InstanceChargeType | String | No | Yes | The billing method of the instance. | Default value: PostPaid. Valid values:
|
NodeId | String | No | Yes | The ID of the data node. | You can call the DescribeLogicInstanceTopology operation to query data node IDs. Note This property takes effect if you specify the InstanceId property and the instance that you specify is a cluster instance or a read/write splitting instance. |
ProductType | String | No | Yes | The edition or series of the instances. | Valid values:
|
AcceptLanguage | String | No | Yes | The language of the return values. | Valid values:
|
Engine | String | No | Yes | The engine type of the instance. | Valid values:
|
Return values (Fn::GetAtt)
InstanceClassIds: the IDs of the instance types.
InstanceClasses: details of the instance types.
Property | Type | Description | Constraint |
InstanceClassIds | List | The IDs of the instance types. | None. |
InstanceClasses | List | Details of the instance types. | None. |
ZoneId | String | The ID of the zone. | None. |
InstanceClass | String | The type of the instance. | None. |
SupportedNodeType | List | The type of the node. | Valid values:
|
ShardNumber | String | The number of shards. | None. |
Architecture | String | The architecture of the instance. | Valid values:
|
Version | String | The engine version of the instance. | None. |
SeriesType | String | The series of the instance. | Valid values:
|
EditionType | String | The edition of the instance. | Valid values:
|
Engine | String | The engine type of the instance. | Valid values:
|
Capacity | Number | The memory size. | Unit: MB. |