All Products
Search
Document Center

Elastic Container Instance:DescribeRegions

Last Updated:Feb 28, 2025

Queries the regions and zones in which Elastic Container Instance is available.

Debugging

You can run this interface directly in OpenAPI Explorer, saving you the trouble of calculating signatures. After running successfully, OpenAPI Explorer can automatically generate SDK code samples.

Authorization information

There is currently no authorization information disclosed in the API.

Request parameters

ParameterTypeRequiredDescriptionExample
RegionIdstringNo

The region ID.

cn-hangzhou

Response parameters

ParameterTypeDescriptionExample
object

The returned data.

RequestIdstring

The request ID.

89945DD3-9072-47D0-A318-353284CFC7B3
Regionsarray<object>

The list of regions.

Regionobject

The information about the region.

Zonesarray

The queried zones.

Zonestring

The ID of the zone.

cn-hangzhou-g
RecommendZonesarray

The list of recommended zones.

RecommendZonestring

The information about the recommended zone. Recommended zones are zones that have relatively sufficient resources in the current region.

cn-hangzhou-j
RegionEndpointstring

The endpoint for the region.

eci.aliyuncs.com
RegionIdstring

The region ID.

cn-hangzhou
UnavailableZonesarray

The list of unavailable zones.

UnavailableZonestring

The information about the unavailable zone. This zone may be faulty. We recommend that you use a different zone.

cn-hangzhou-e

Examples

Sample success responses

JSONformat

{
  "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

For a list of error codes, visit the Service error codes.

Change history

Change timeSummary of changesOperation
2024-10-15The response structure of the API has changedView Change Details
2023-09-01The internal configuration of the API is changed, but the call is not affectedView Change Details
2023-01-11The request parameters of the API has changedView Change Details
2023-01-11The request parameters of the API has changedView Change Details