All Products
Search
Document Center

Virtual Private Cloud:DescribeRegions

Last Updated:Nov 27, 2024

Queries the most recent region list.

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
ProductTypestringNo

The service type. Default value: VPC.

VPC
AcceptLanguagestringNo

The language of the response. Valid values:

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

Response parameters

ParameterTypeDescriptionExample
object

The request ID.

RequestIdstring

The request ID.

611CB80C-B6A9-43DB-9E38-0B0AC3D9B58F
Regionsarray<object>

The list of regions.

Regionobject
RegionEndpointstring

The endpoint of the region service.

vpc.aliyuncs.com
LocalNamestring

The name of the region.

China (Qingdao)
RegionIdstring

The region ID.

cn-qingdao

Examples

Sample success responses

JSONformat

{
  "RequestId": "611CB80C-B6A9-43DB-9E38-0B0AC3D9B58F",
  "Regions": {
    "Region": [
      {
        "RegionEndpoint": "vpc.aliyuncs.com",
        "LocalName": "China (Qingdao)",
        "RegionId": "cn-qingdao"
      }
    ]
  }
}

Error codes

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

Change history

Change timeSummary of changesOperation
2024-07-31The Error code has changedView Change Details
2024-03-12API Description UpdateView Change Details