All Products
Search
Document Center

Cloud Enterprise Network:DescribeGeographicRegionMembership

Last Updated:Dec 17, 2024

Queries regions in an area.

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
PageNumberintegerNo

The number of the page to return. Default value: 1.

1
PageSizeintegerNo

The number of entries to return per page. Default value: 10. Valid values: 1 to 50.

10
GeographicRegionIdstringYes

The ID of the area that you want to query. Valid values:

  • china: the Chinese mainland
  • asia-pacific: Asia Pacific
  • europe: Europe
  • north-america: North America
china

Response parameters

ParameterTypeDescriptionExample
object
PageSizeinteger

The number of entries returned per page.

2
RequestIdstring

The ID of the request.

DC9EB0C9-60AF-4A09-A36C-608F70130274
PageNumberinteger

The page number of the returned page.

10
TotalCountinteger

The total number of entries returned.

2
RegionIdsarray<object>

The list of regions.

RegionIdobject
RegionIdstring

The ID of the region.

You can call the DescribeChildInstanceRegions operation to query the most recent region list.

us-west-1

Examples

Sample success responses

JSONformat

{
  "PageSize": 2,
  "RequestId": "DC9EB0C9-60AF-4A09-A36C-608F70130274",
  "PageNumber": 10,
  "TotalCount": 2,
  "RegionIds": {
    "RegionId": [
      {
        "RegionId": "us-west-1"
      }
    ]
  }
}

Error codes

HTTP status codeError codeError messageDescription
400InvalidParameterInvalid parameter.The error message returned because the parameter is set to an invalid value.
400UnauthorizedThe AccessKeyId is unauthorized.The error message returned because you do not have the permissions to perform this operation.

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

Change history

Change timeSummary of changesOperation
2024-02-20API Description UpdateView Change Details