All Products
Search
Document Center

Virtual Private Cloud:DescribeRegions

Last Updated:Nov 29, 2023

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.

debugging

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
RequestIdstring

The ID of the request.

611CB80C-B6A9-43DB-9E38-0B0AC3D9B58F
Regionsobject []

The list of regions.

RegionEndpointstring

The endpoint of the region.

vpc.aliyuncs.com
LocalNamestring

The name of the region.

RegionIdstring

The ID of the region.

cn-qingdao

Examples

Sample success responses

JSONformat

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

Error codes

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