All Products
Search
Document Center

Cloud Backup:DescribeRegions

Last Updated:Dec 24, 2024

Queries available regions.

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
The current API does not require request parameters

Response parameters

ParameterTypeDescriptionExample
object
Codestring

The response code. The status code 200 indicates that the request was successful.

200
Messagestring

The returned message. If the request was successful, "successful" is returned. If the request failed, an error message is returned.

successful
RequestIdstring

The request ID.

B3395EC6-7A4A-5282-A9AB-7A442F2CFC90
Successboolean

Indicates whether the request was successful. Valid values:

  • true
  • false
true
Regionsarray<object>

The regions returned.

Regionobject
LocalNamestring

The region name.

China (Hangzhou)
RegionIdstring

The region ID.

cn-hangzhou

Examples

Sample success responses

JSONformat

{
  "Code": "200",
  "Message": "successful",
  "RequestId": "B3395EC6-7A4A-5282-A9AB-7A442F2CFC90",
  "Success": true,
  "Regions": {
    "Region": [
      {
        "LocalName": "China (Hangzhou)",
        "RegionId": "cn-hangzhou"
      }
    ]
  }
}

Error codes

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

Change history

Change timeSummary of changesOperation
2024-02-26The request parameters of the API has changed. The response structure of the API has changedView Change Details
2022-01-12Add OperationView Change Details