Queries the available resources and resources that are available for purchase in the zones of a region.
Operation description
Only the available resources and zones are returned.
Try it now
Test
RAM authorization
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| RegionId |
string |
Yes |
The region ID. |
cn-shanghai |
| AddressType |
string |
No |
The network type. Valid values: vpc, classic-internet, and classic-intranet. vpc: an internal Classic Load Balancer (CLB) instance that is deployed in a virtual private cloud (VPC). classic_internet: a public-facing CLB instance. classic_intranet: an internal CLB instance that is deployed in a classic network. |
vpc |
| AddressIPVersion |
string |
No |
The type of the IP address. Valid values: ipv4 and ipv6. |
ipv4 |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
The request ID. |
173B0EEA-22ED-4EE2-91F9-3A1CDDFFBBBA |
| AvailableResources |
object |
||
| AvailableResource |
array<object> |
The zones and the supported resources. |
|
|
array<object> |
|||
| SlaveZoneId |
string |
The secondary zone. |
cn-shanghai-b |
| MasterZoneId |
string |
The primary zone. |
cn-shanghai-a |
| SupportResources |
object |
||
| SupportResource |
array<object> |
The supported resources. |
|
|
object |
|||
| AddressType |
string |
The network type. Valid values: vpc, classic-internet, and classic-intranet. |
vpc |
| AddressIPVersion |
string |
The type of the IP address. Valid values: ipv4 and ipv6. |
ipv4 |
Examples
Success response
JSON format
{
"RequestId": "173B0EEA-22ED-4EE2-91F9-3A1CDDFFBBBA",
"AvailableResources": {
"AvailableResource": [
{
"SlaveZoneId": "cn-shanghai-b",
"MasterZoneId": "cn-shanghai-a",
"SupportResources": {
"SupportResource": [
{
"AddressType": "vpc",
"AddressIPVersion": "ipv4"
}
]
}
}
]
}
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.