ListRegions

Updated at: 2025-01-07 08:49

Queries all regions in which Simple Application Server is supported.

Operation description

The query results include all the Alibaba Cloud regions where Simple Application Server is supported on the international site (alibabacloud.com) and the China site (aliyun.com).

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
ParameterTypeRequiredDescriptionExample
AcceptLanguagestringNo

The language of the response. Valid values:

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

Response parameters

ParameterTypeDescriptionExample
ParameterTypeDescriptionExample
object

The information about the regions.

RequestIdstring

The request ID.

20758A-585D-4A41-A9B2-28DA8F4F534F
Regionsarray<object>

The regions.

Regionobject

The information about the region.

LocalNamestring

The name of the region.

China (hangzhou)
RegionEndpointstring

The endpoint of the region.

swas.cn-hangzhou.aliyuncs.com
RegionIdstring

The ID of the region.

cn-hangzhou

Examples

Sample success responses

JSONformat

{
  "RequestId": "20758A-585D-4A41-A9B2-28DA8F4F534F",
  "Regions": [
    {
      "LocalName": "China (hangzhou)",
      "RegionEndpoint": "swas.cn-hangzhou.aliyuncs.com",
      "RegionId": "cn-hangzhou"
    }
  ]
}

Error codes

HTTP status codeError codeError message
HTTP status codeError codeError message
500InternalErrorAn error occurred while processing your request.

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

Change history

Change timeSummary of changesOperation
Change timeSummary of changesOperation
2023-12-18API Description Update. The Error code has changed. The request parameters of the API has changedView Change Details
  • On this page (1)
  • Operation description
  • Debugging
  • Authorization information
  • Request parameters
  • Response parameters
  • Examples
  • Error codes
  • Change history
Feedback
phone Contact Us

Chat now with Alibaba Cloud Customer Service to assist you in finding the right products and services to meet your needs.

alicare alicarealicarealicare