All Products
Search
Document Center

Resource Orchestration Service:DescribeRegions

Last Updated:Dec 12, 2023

Queries a list of available regions.

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.

debugging

Authorization information

There is currently no authorization information disclosed in the API.

Request syntax

POST /V2/DescribeRegions

GET /V2/DescribeRegions

Request parameters

ParameterTypeRequiredDescriptionExample
AcceptLanguagestringNo

The language in which you want to display the results. Valid values:

  • zh-CN (default): Chinese
  • en-US: English
  • ja: Japanese
zh-CN

Response parameters

ParameterTypeDescriptionExample
object
RequestIdstring

The request ID.

59F0F0A0-A637-4292-9B91-251EF5010913
Regionsobject []

The regions.

LocalNamestring

The name of the region.

ccn-cn-shanghai-finance-1
RegionEndpointstring

The endpoint of the region.

ros.aliyuncs.com
RegionIdstring

The region ID.

cn-hangzhou

Examples

Sample success responses

JSONformat

{
  "RequestId": "59F0F0A0-A637-4292-9B91-251EF5010913",
  "Regions": [
    {
      "LocalName": "ccn-cn-shanghai-finance-1",
      "RegionEndpoint": "ros.aliyuncs.com",
      "RegionId": "cn-hangzhou"
    }
  ]
}

Error codes

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

Change history

Change timeSummary of changesOperation
No change history