DescribeRegions

Updated at:

Queries the regions and zones supported by Elastic Container Instance (ECI).

Try it now

您可以在OpenAPI Explorer中直接运行该接口,免去您计算签名的困扰。运行成功后,OpenAPI Explorer可以自动生成SDK代码示例。

Test

RAM authorization

No authorization for this operation. If you encounter issues with this operation, contact technical support.

Request parameters

Parameter

Type

Required

Description

Example

RegionId

string

No

The region ID.

cn-hangzhou

RegionId

string

No

The region ID.

cn-hangzhou

Response elements

Element

Type

Description

Example

object

The returned information.

RequestId

string

The unique ID of the request.

89945DD3-9072-47D0-A318-353284CFC7B3

Regions

array<object>

The collection of region information.

object

The collection of region information.

Zones

array

The zones.

string

A zone.

cn-hangzhou-g

RecommendZones

array

The list of recommended zones.

string

A recommended zone. This is a zone in the current region with sufficient resources.

cn-hangzhou-j

RegionEndpoint

string

The endpoint of the region.

eci.aliyuncs.com

RegionId

string

The ID of the region.

cn-hangzhou

UnavailableZones

array

The list of unavailable zones.

string

An unavailable zone. The zone may be faulty. Use other available zones.

cn-hangzhou-e

Examples

Success response

JSON format

{
  "RequestId": "89945DD3-9072-47D0-A318-353284CFC7B3",
  "Regions": [
    {
      "Zones": [
        "cn-hangzhou-g"
      ],
      "RecommendZones": [
        "cn-hangzhou-j"
      ],
      "RegionEndpoint": "eci.aliyuncs.com",
      "RegionId": "cn-hangzhou",
      "UnavailableZones": [
        "cn-hangzhou-e"
      ]
    }
  ]
}

Error codes

See for a complete list.

Release notes

See 变更详情 for a complete list.