DescribeRegions

Updated at:

Queries regions.

Try it now

Try this API in OpenAPI Explorer, no manual signing needed. Successful calls auto-generate SDK code matching your parameters. Download it with built-in credential security for local usage.

Test

RAM authorization

No authorization for this operation. If you encounter issues with this operation, contact technical support.

Request syntax

GET /regions HTTP/1.1

Request parameters

Parameter

Type

Required

Description

Example

language

string

Yes

The language. Valid values:

  • zh: Chinese

  • en: English

zh

maxResults

integer

No

The maximum number of results to return.

50

nextToken

string

No

The pagination token.

dXkC1NeQkVKHWkVfOvIVEp4dD+2BRJj42DLT6GrZysw=

Response elements

Element

Type

Description

Example

object

The response data.

requestId

string

The request ID.

4FDD8668-516C-5183-9BCF-4CAD8E3CF327

regions

array<object>

The region information.

object

The region information.

regionId

string

The region ID.

cn-hangzhou

internetEndpoint

string

The public endpoint.

agentloop.cn-hangzhou.aliyuncs.com

vpcEndpoint

string

The internal endpoint.

agentloop.cn-hangzhou.aliyuncs.com

localName

string

The region name.

China (Hangzhou)

nextToken

string

The pagination token. This value is empty if no more pages are available.

ydx438PDAW1lYRJZbBn9

maxResults

integer

The maximum number of records returned in a single request.

100

Examples

Success response

JSON format

{
  "requestId": "4FDD8668-516C-5183-9BCF-4CAD8E3CF327",
  "regions": [
    {
      "regionId": "cn-hangzhou",
      "internetEndpoint": "agentloop.cn-hangzhou.aliyuncs.com",
      "vpcEndpoint": "agentloop.cn-hangzhou.aliyuncs.com",
      "localName": "华东1(杭州)"
    }
  ],
  "nextToken": "ydx438PDAW1lYRJZbBn9",
  "maxResults": 100
}

Error codes

See Error Codes for a complete list.

Release notes

See Release Notes for a complete list.