Returns a list of active regions.
Try it now
Test
RAM authorization
Request syntax
GET /regions HTTP/1.1
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| language |
string |
No |
The language of the returned `localName` parameter. Valid values:
|
zh |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
Schema of Response |
||
| regions |
array<object> |
||
|
object |
|||
| region |
string |
The SLS region. |
|
| localName |
string |
The name of the SLS region. |
|
| intranetEndpoint |
string |
The internal endpoint of SLS. |
|
| internetEndpoint |
string |
The public endpoint of SLS. |
|
| dataRedundancyType |
array |
||
|
string |
Examples
Success response
JSON format
{
"regions": [
{
"region": "",
"localName": "",
"intranetEndpoint": "",
"internetEndpoint": "",
"dataRedundancyType": [
""
]
}
]
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | IdempotentParameterMismatch | The request uses the same client token as a previous, but non-identical request. Do not reuse a client token with different requests, unless the requests are identical. |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.