Querying AZs
Function
This API is used to query AZs.
URI
GET /v2.1/{project_id}/os-availability-zone
Parameter |
Mandatory |
Description |
---|---|---|
project_id |
Yes |
Specifies the project ID. For details about how to obtain the ID, see Obtaining a Project ID. |
Response
Table 2 describes the response parameters.
Parameter |
Type |
Description |
---|---|---|
availabilityZoneInfo |
Array of objects |
Specifies the AZ information. For details, see Table 3. |
Parameter |
Type |
Description |
---|---|---|
zoneState |
Object |
Specifies the AZ status. For details, see Table 4. |
hosts |
List |
The parameter is set to null. |
zoneName |
String |
Specifies the AZ name. |
Example Request
Query a list of AZs.
GET https://{endpoint}/v2.1/9c53a566cb3443ab910cf0daebca90c4/os-availability-zone
Returned Values
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