All Products
Search
Document Center

Virtual Private Cloud:DescribeRegions

Last Updated:Mar 04, 2024

Queries the most recent region list.

Debugging

OpenAPI Explorer automatically calculates the signature value. For your convenience, we recommend that you call this operation in OpenAPI Explorer.

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
Regionsobject []

The list of regions.

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.