Enables Multi-AZ deployment.
Try it now
Test
RAM authorization
Request syntax
POST /webapi/lifecycle/enableMultiAz HTTP/1.1
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| body |
object |
No |
Request struct. |
|
| instanceId |
string |
No |
Instance ID. |
c-238sjh237s12*** |
| promotionOptionNo |
string |
No |
Coupon. |
youhuiquan_12378dfj6 |
| observers |
array<object> |
No |
Multi-zone information. |
|
|
object |
No |
|||
| zoneId |
string |
No |
Zone ID. |
cn-hangzhou-h |
| vswId |
string |
No |
vSwitch ID. |
vsw-x1232js012 |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| HttpStatusCode |
integer |
HTTP request status code. |
200 |
| RequestId |
string |
Request ID. |
32A44F0D-BFF6-5664-999A-218BBDE74XXX |
| Success |
boolean |
Indicates whether the request was successful. |
True |
| ErrCode |
string |
Error code. |
InvalidParams |
| ErrMessage |
string |
Error message. |
Invalid params: [instance not exists]. |
| AccessDeniedDetail |
string |
AccessDeniedDetail |
{ "PolicyType": "AccountLevelIdentityBasedPolicy", "AuthPrincipalOwnerId": "xxx", "EncodedDiagnosticMessage": "xxx", "AuthPrincipalType": "xxx", "AuthPrincipalDisplayName": "xxx", "NoPermissionType": "ImplicitDeny", "AuthAction": "sr:xxx" } |
| Data |
object |
Order information. |
|
| OrderId |
integer |
Order ID. |
24782976697**** |
| NodeGroupId |
string |
Compute group ID. |
ng-a9b2e9148196**** |
Examples
Success response
JSON format
{
"HttpStatusCode": 200,
"RequestId": "32A44F0D-BFF6-5664-999A-218BBDE74XXX\n",
"Success": true,
"ErrCode": "InvalidParams\n",
"ErrMessage": "Invalid params: [instance not exists].",
"AccessDeniedDetail": "{ \"PolicyType\": \"AccountLevelIdentityBasedPolicy\", \"AuthPrincipalOwnerId\": \"xxx\", \"EncodedDiagnosticMessage\": \"xxx\", \"AuthPrincipalType\": \"xxx\", \"AuthPrincipalDisplayName\": \"xxx\", \"NoPermissionType\": \"ImplicitDeny\", \"AuthAction\": \"sr:xxx\" }",
"Data": {
"OrderId": 0,
"NodeGroupId": "ng-a9b2e9148196****"
}
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.