Migrates an instance across physical nodes in response to an O&M event.
Operation description
-
This O&M task currently supports only the
Instance:SystemUpgrade.Migrateevent type for migrations due to an underlying upgrade.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
ens:EventMigrateInstance |
none |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| EventId |
string |
Yes |
The ID of the system event. |
e-d71ff150945b9c02eb6ebc0016328468 |
| ResourceId |
string |
Yes |
The ID of the resource. |
i-55qi8m11rr53c4i964md8a00l |
| OpsType |
string |
Yes |
The type of the O&M task. Valid values:
|
immediate |
| PlanTime |
integer |
No |
The scheduled execution time. This must be a Unix timestamp in milliseconds. This parameter is required when |
1742452232000 |
| PlanUtcTime |
string |
No |
||
| DataPolicy |
string |
No |
The data migration policy. Valid values:
|
abandon |
| Password |
string |
No |
The instance password. This parameter is optional. If you do not specify a password, the system generates a random one. The password must be 8 to 30 characters long and contain uppercase letters, lowercase letters, and digits. Note: This parameter is not supported for scheduled execution. |
AAaa1234 |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
The data returned in the response. |
||
| RequestId |
string |
The request ID. |
125B04C7-3D0D-4245-AF96-14E3758E3F06 |
Examples
Success response
JSON format
{
"RequestId": "125B04C7-3D0D-4245-AF96-14E3758E3F06"
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | NoPermission | Permission denied. | |
| 400 | InvalidParameter.%s | The specified field %s invalid. Please check it again. | |
| 400 | Throttling.Api | Request was denied due to flow control. | request to trigger flow control |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.