Querying AZ Information
Function
This API is used to query the availability zone (AZ) ID used when you create a cluster.
URI
GET /v1.1/{region_id}/available-zones
Parameter |
Mandatory |
Type |
Description |
---|---|---|---|
region_id |
Yes |
String |
Region ID |
Parameter |
Mandatory |
Type |
Description |
---|---|---|---|
scope |
No |
String |
AZ range. The options are as follows:
|
Request Parameters
None
Response Parameters
Status code: 200
Parameter |
Type |
Description |
---|---|---|
available_zones |
Array of AvailableZoneV2 objects |
AZ list. For details about AvailableZoneV2, see Table 4. |
default_az_code |
String |
Default AZ code |
support_physical_az_group |
Boolean |
Supported physical AZ group |
Parameter |
Type |
Description |
---|---|---|
id |
String |
AZ ID |
az_code |
String |
AZ code |
az_name |
String |
AZ name |
az_id |
String |
AZ ID |
status |
String |
AZ status |
region_id |
String |
Region ID |
az_group_id |
String |
AZ group ID |
az_type |
String |
AZ type
|
az_tags |
AvailableTag object |
AZ tag. For details about AvailableTag, see Table 5. |
Example Request
None
Example Response
Status code: 200
Query AZ information.
{ "available_zones" : [ { "id" : "xxx", "az_code" : "xxx", "az_name" : "AZ 1", "az_id" : "xxx", "status" : "Running", "region_id" : "xxx", "az_type" : "Dedicated", "az_group_id" : "", "az_tags" : { "mode" : null, "alias" : null, "public_border_group" : "center" } }, { "id" : "xxx", "az_code" : "xxx", "az_name" : "AZ 2", "az_id" : "xxx", "status" : "Running", "region_id" : "xxx", "az_type" : "Dedicated", "az_tags" : { "mode" : null, "alias" : null, "public_border_group" : "center" } }, { "id" : "xxx", "az_code" : "xxx", "az_name" : "AZ 3", "az_id" : "xxx", "status" : "Running", "region_id" : "xxx", "az_type" : "Dedicated", "az_tags" : { "mode" : null, "alias" : null, "public_border_group" : "center" } } ], "default_az_code" : "xxx", "support_physical_az_group" : true }
Error Codes
See Error Codes.
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