All Products
Search
Document Center

Resource Management:DescribeRegions

Last Updated:Nov 19, 2024

Queries the regions where the Resource Sharing service 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
AcceptLanguagestringNo

The supported natural language. Valid values:

  • zh-CN: Chinese
  • en-US: English
zh-CN

For more information about common request parameters, see Common parameters.

Response parameters

ParameterTypeDescriptionExample
object
RequestIdstring

The ID of the request.

0D64A198-5842-4570-8E26-5E540CDC84CD
Regionsarray<object>

The information of the regions.

Regionobject

The information of the regions.

RegionEndpointstring

The endpoint of the Resource Sharing service in the region.

resourcesharing.cn-hangzhou.aliyuncs.com
LocalNamestring

The name of the region.

China (Hangzhou)
RegionIdstring

The ID of the region.

cn-hangzhou

Examples

Sample success responses

JSONformat

{
  "RequestId": "0D64A198-5842-4570-8E26-5E540CDC84CD",
  "Regions": [
    {
      "RegionEndpoint": "resourcesharing.cn-hangzhou.aliyuncs.com",
      "LocalName": "China (Hangzhou)",
      "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