Updated on 2026-01-13 GMT+08:00

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

Table 1 Path Parameters

Parameter

Mandatory

Type

Description

project_id

Yes

String

Project ID.

Table 2 Query Parameters

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

Table 3 Response body parameters

Parameter

Type

Description

availability_zone_info

Array of AvailabilityZone objects

Array of AZ information.

Table 4 AvailabilityZone

Parameter

Type

Description

zone_name

String

AZ name.

zone_state

ZoneState object

AZ status.

Table 5 ZoneState

Parameter

Type

Description

available

Boolean

Availability 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.