Queries the available zones for gateways.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
mse:ListGatewayZone |
list |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| AcceptLanguage |
string |
No |
The language of the response. Valid values: `zh`: Chinese. `en`: English. Default: `zh`. |
zh |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
Schema of Response |
||
| Code |
integer |
The status code. If the `Success` parameter is `true`, the value of this parameter is `200`. |
200 |
| Message |
string |
The response message. |
OK |
| RequestId |
string |
The request ID. |
EE5C32A1-BC0E-4B79-817C-103E4EDF**** |
| Success |
boolean |
Indicates whether the request was successful. Valid values:
|
true |
| ErrorCode |
string |
The error code. |
NO_PERMISSION |
| HttpStatusCode |
integer |
The HTTP status code. |
200 |
| DynamicCode |
string |
The placeholder in the dynamic error message. |
code |
| DynamicMessage |
string |
The dynamic error message that is used to replace the `%s` placeholder in the ErrMessage parameter. |
The specified parameter is invalid. |
| Data |
array<object> |
A list of zones. |
|
|
object |
The data structure of a zone. |
||
| ZoneId |
string |
The zone ID. |
cn-hangzhou-i |
| LocalName |
string |
The local name of the zone. |
I |
| SupportQat |
boolean |
Examples
Success response
JSON format
{
"Code": 200,
"Message": "OK",
"RequestId": "EE5C32A1-BC0E-4B79-817C-103E4EDF****",
"Success": true,
"ErrorCode": "NO_PERMISSION",
"HttpStatusCode": 200,
"DynamicCode": "code",
"DynamicMessage": "The specified parameter is invalid.",
"Data": [
{
"ZoneId": "cn-hangzhou-i",
"LocalName": "I",
"SupportQat": true
}
]
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | IllegalRequest | Invalid request:%s | Invalid request: %s |
| 400 | InvalidParameter | Parameter error:%s | Request parameter error: %s |
| 500 | InternalError | Console error. Try again later:%s | Console error. Try again later: %s |
| 403 | NoPermission | You are not authorized to perform this operation:%s | You do not have the permission to use this interface:%s |
| 404 | NotFound | Not found:%s | The resource does not exist:%s |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.