Querying AZ Information
Function
This API is used to query the AZ ID.
URI
GET /v1.0/availableZones
Request
Request parameters
None.
Example request
None.
Response
Response parameters
Table 1 and Table 2 describe the parameters.
Parameter |
Type |
Description |
---|---|---|
region_id |
String |
Region ID. |
available_zones |
Array |
Array of AZs. For details, see Table 2. |
Parameter |
Type |
Description |
---|---|---|
soldOut |
Boolean |
Whether resources are sold out. |
id |
String |
AZ ID. |
code |
String |
AZ code. |
name |
String |
AZ name. |
port |
String |
AZ port. |
resource_availability |
String |
Whether the AZ has available resources.
|
Example response
{ regionId: "XXXX", available_zones:[ { "id":"1d7b939b382c4c3bb3481a8ca10da768", "name":"az10.dc1", "code":"az10.dc1", "port":"8002", "resource_availability": "true" }, { "id":"1d7b939b382c4c3bb3481a8ca10da769", "name":"az10.dc2", "code":"az10.dc2", "port":"8002", "resource_availability": "true" } ] }
Status Code
Table 3 describes the status code of successful operations. For details about other status codes, see Status Code.
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot