Queries the zones that are available for ApsaraMQ for RocketMQ instances.
Try it now
Test
RAM authorization
Request syntax
GET /zones HTTP/1.1
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
No parameters required.
Response elements
|
Element |
Type |
Description |
Example |
|
object |
Result<List |
||
| requestId |
string |
The request ID. You can use this ID to troubleshoot issues. |
AF9A8B10-C426-530F-A0DD-96320B39**** |
| success |
boolean |
Indicates whether the call is successful. |
true |
| data |
array<object> |
The returned data. |
|
|
object |
|||
| zoneId |
string |
The zone ID. |
cn-qingdao-b |
| zoneName |
string |
The zone name. |
ha-cn-t9b30w902vm_qrs |
| createTime |
string |
The time when the zone was created. |
2022-08-01 20:05:50 |
| updateTime |
string |
The time when the zone was last updated. |
2022-08-01 20:05:50 |
| code |
string |
The error code returned when the call fails. |
Topic.NotFound |
| message |
string |
The error message. |
Parameter instanceId is mandatory for this action . |
| httpStatusCode |
integer |
The HTTP status code. |
200 |
| dynamicCode |
string |
The dynamic error code. |
InstanceId |
| dynamicMessage |
string |
The dynamic error message. |
InstanceId |
Examples
Success response
JSON format
{
"requestId": "AF9A8B10-C426-530F-A0DD-96320B39****",
"success": true,
"data": [
{
"zoneId": "cn-qingdao-b",
"zoneName": "ha-cn-t9b30w902vm_qrs",
"createTime": "2022-08-01 20:05:50",
"updateTime": "2022-08-01 20:05:50"
}
],
"code": "Topic.NotFound",
"message": "Parameter instanceId is mandatory for this action .",
"httpStatusCode": 200,
"dynamicCode": "InstanceId",
"dynamicMessage": "InstanceId"
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.