Grants authorization for feature migration.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
yundun-sas:GrantSwitchAgreement |
none |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| IsAgree |
boolean |
No |
Specifies whether you agree to the data migration from the Hong Kong (China) region to the Singapore data center. Valid values:
|
true |
| Lang |
string |
No |
The language type for the request and response messages. Default value: zh. Valid values:
|
zh |
| Type |
string |
No |
The switch type. Valid values:
|
sg_switch |
| IsImmediate |
boolean |
No |
Specifies whether to schedule data migration of data from the Hong Kong (China) region to the Singapore data center within 24 hours. Valid values:
|
true |
| IsConfirmed |
boolean |
No |
Specifies whether the user confirms that the data migration from the Hong Kong (China) region to the Singapore data center has been completed.
|
Response elements
|
Element |
Type |
Description |
Example |
|
object |
BaseResult |
||
| RequestId |
string |
The ID of the request. Alibaba Cloud generates a unique identifier for each request. You can use this ID to troubleshoot issues. |
11C96623-E106-59C9-866D-A6C82911459F |
| Code |
string |
The response code. |
200 |
| Message |
string |
The response message. |
successful |
Examples
Success response
JSON format
{
"RequestId": "11C96623-E106-59C9-866D-A6C82911459F",
"Code": "200",
"Message": "successful"
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 500 | ServerError | ServerError | |
| 403 | NoPermission | caller has no permission |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.