All Products
Search
Document Center

Function Compute:DescribeRegions

Last Updated:Oct 31, 2025

Queries the regions where Function Compute 2.0 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 syntax

GET /2021-04-06/regions HTTP/1.1

Request parameters

ParameterTypeRequiredDescriptionExample
AcceptLanguagestringNo

The language in which the list of regions is returned. For more information, see RFC 7231. Valid values:

zh-CN: Chinese en-US: English ja: Japanese Default value: en-US

zh-CN

Response parameters

ParameterTypeDescriptionExample
object

Response

Regionsobject

The region information.

Regionarray<object>

The collection of region information.

Regionobject

The region object.

RegionIdstring

The region ID.

cn-qingdao
LocalNamestring

The region name.

Sample success response in JSON format:

{
  "Regions": {
    "Region": [
      {
        "RegionId": "cn-qingdao",
        "RegionEndpoint": "cn-qingdao.fc.aliyuncs.com",
        "LocalName": "China (Qingdao)"
      }
    ]
  }
}

Examples

Sample success responses

JSONformat

{
  "Regions": {
    "Region": [
      {
        "RegionId": "cn-qingdao",
        "LocalName": ""
      }
    ]
  }
}

Error codes

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