All Products
Search
Document Center

Elastic Container Instance:DescribeRegions

Last Updated:Nov 14, 2024

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

Schema of response.

RequestIdstring

The request ID.

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

The queried regions.

Regionobject

The queried regions.

Zonesarray

The queried zones.

Zonestring

The ID of the zone.

cn-hangzhou-g
RecommendZonesarray

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

RecommendZonestring

The ID of 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

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"
    }
  ]
}

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