Obtaining the AZ List of an ECS
Function
This API is used to obtain the AZ list of an ECS in a specified project, including the AZ name and status.
Calling Method
For details, see Calling APIs.
URI
GET /v1/{project_id}/proxy/ecs/availability-zones
|
Parameter |
Mandatory |
Type |
Description |
|---|---|---|---|
|
project_id |
Yes |
String |
Project ID. |
|
Parameter |
Mandatory |
Type |
Description |
|---|---|---|---|
|
limit |
No |
Integer |
Maximum number of returned result. |
|
offset |
No |
Integer |
Offset of the returned result. |
Request Parameters
None
Response Parameters
Status code: 200
|
Parameter |
Type |
Description |
|---|---|---|
|
availability_zone_info |
Array of AvailabilityZone objects |
Array of AZ information. |
|
Parameter |
Type |
Description |
|---|---|---|
|
zone_name |
String |
AZ name. |
|
zone_state |
ZoneState object |
AZ status. |
Example Requests
None
Example Responses
None
Status Codes
|
Status Code |
Description |
|---|---|
|
200 |
OK |
|
401 |
Unauthorized. |
|
403 |
Access denied. |
|
404 |
Not found. |
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