Queries the available resources in the specified zone.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
dds:DescribeAvailableResource |
get |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| RegionId |
string |
Yes |
The ID of the region. You can call the DescribeRegions operation to query the latest available regions. |
cn-hangzhou |
| ZoneId |
string |
No |
The ID of the zone. You can call the DescribeRegions operation to query the available zones. |
cn-hangzhou-h |
| InstanceChargeType |
string |
No |
The billing method of the instance. Valid values:
|
PrePaid |
| DbType |
string |
No |
The architecture of the instance. Valid values:
|
sharding |
| ResourceGroupId |
string |
No |
The ID of the resource group. |
rg-acfmyiu4ekp**** |
| StorageType |
string |
No |
The storage type of the instance. Valid values:
This parameter is empty by default, which indicates all types of storage resources are queried. |
local_ssd |
| DBInstanceClass |
string |
No |
The instance type of the instance. |
dds.mongo.standard |
| EngineVersion |
string |
No |
The major engine version of the instance. |
5.0 |
| ReplicationFactor |
string |
No |
The number of nodes, only applicable to replica sets. Valid values:
|
3 |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
The ID of the request. |
344EE51D-8850-4935-B68B-58A8F4DCE3BD |
| SupportedDBTypes |
object |
||
| SupportedDBType |
array<object> |
The supported database types. |
|
|
array<object> |
|||
| AvailableZones |
object |
||
| AvailableZone |
array<object> |
The available zones. |
|
|
array<object> |
|||
| SupportedEngineVersions |
object |
||
| SupportedEngineVersion |
array<object> |
The supported storage engine versions. |
|
|
array<object> |
|||
| SupportedEngines |
object |
||
| SupportedEngine |
array<object> |
The supported storage engines. |
|
|
array<object> |
|||
| SupportedNodeTypes |
object |
||
| SupportedNodeType |
array<object> |
The supported instance types. |
|
|
array<object> |
|||
| NodeType |
string |
The number of nodes in the instance. |
3 |
| NetworkTypes |
string |
The network type of the instance. |
VPC |
| AvailableResources |
object |
||
| AvailableResource |
array<object> |
The details of the available resources. |
|
|
array<object> |
|||
| InstanceClassRemark |
string |
The type of the instance. |
4核8GB(独享型)(当前选择规格:mdb.shard.2x.xlarge.d(4核8G(独享型云盘版),最大连接数:3000,最大IOPS:min{1800+50*存储空间, 21000})) |
| InstanceClass |
string |
The instance family. |
mdb.shard.2x.xlarge.d |
| DBInstanceStorageRange |
object |
The storage capacity range of the instance. |
|
| Min |
integer |
The minimum storage capacity. Unit: GB. |
20 |
| Max |
integer |
The maximum storage capacity. Unit: GB. |
16000 |
| Step |
integer |
The step size for adjusting the storage capacity. Unit: GB. |
10 |
| Engine |
string |
The storage engine of the instance. |
WiredTiger |
| Version |
string |
The database engine version of the instance. |
4.0 |
| ZoneId |
string |
The ID of the zone. |
cn-hangzhou-h |
| RegionId |
string |
The ID of the region. |
cn-hangzhou |
| DbType |
string |
The architecture of the instance. Valid values:
|
sharding |
Examples
Success response
JSON format
{
"RequestId": "344EE51D-8850-4935-B68B-58A8F4DCE3BD",
"SupportedDBTypes": {
"SupportedDBType": [
{
"AvailableZones": {
"AvailableZone": [
{
"SupportedEngineVersions": {
"SupportedEngineVersion": [
{
"SupportedEngines": {
"SupportedEngine": [
{
"SupportedNodeTypes": {
"SupportedNodeType": [
{
"NodeType": "3",
"NetworkTypes": "VPC",
"AvailableResources": {
"AvailableResource": [
{
"InstanceClassRemark": "4核8GB(独享型)(当前选择规格:mdb.shard.2x.xlarge.d(4核8G(独享型云盘版),最大连接数:3000,最大IOPS:min{1800+50*存储空间, 21000}))",
"InstanceClass": "mdb.shard.2x.xlarge.d",
"DBInstanceStorageRange": {
"Min": 20,
"Max": 16000,
"Step": 10
}
}
]
}
}
]
},
"Engine": "WiredTiger"
}
]
},
"Version": "4.0"
}
]
},
"ZoneId": "cn-hangzhou-h",
"RegionId": "cn-hangzhou"
}
]
},
"DbType": "sharding"
}
]
}
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.