Switches the zone of a DRDS instance.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
drds:ChangeInstanceAzone |
none |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| DrdsInstanceId |
string |
Yes |
The instance ID. |
drdsjiii1b49**** |
| OriginAzoneId |
string |
Yes |
The original zone ID. |
cn-hangzhou-B |
| TargetAzoneId |
string |
Yes |
The target zone ID. |
cn-hangzhou-A |
| DrdsRegionId |
string |
Yes |
The region ID. |
cn-hangzhou |
| ChangeVSwitch |
boolean |
No |
Specifies whether to update the vSwitch. Valid values:
|
true |
| NewVSwitch |
string |
No |
The ID of the new vSwitch. |
vsw-wz9ckkba51zrh******** |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| Success |
boolean |
Indicates whether the request was successful. |
true |
| RequestId |
string |
The request ID. |
2F7F8080-9132-4279-85D0-B7E5C4305162 |
Examples
Success response
JSON format
{
"Success": true,
"RequestId": "2F7F8080-9132-4279-85D0-B7E5C4305162"
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | ERR_INSTANCE_NOT_RUNNING_STATUS | The instance status is not running | |
| 400 | ERR_OTHER_MULTI_AZONE_SWITCH | Change to multiple azone should have even number of nodes | |
| 500 | InternalError | The request processing has failed due to some unknown error. |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.