Rolls back an instance refresh task during execution. If the desired configuration no longer meets your requirements during an instance refresh task, call this operation to roll back the task. During the rollback, the system creates new instances based on the currently active configuration of the scaling group to replace instances that were created based on the desired configuration.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
ess:RollbackInstanceRefresh |
update |
*ScalingGroup
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| RegionId |
string |
Yes |
The ID of the region where the scaling group resides. |
cn-hangzhou |
| ScalingGroupId |
string |
Yes |
The ID of the scaling group. |
asg-bp18p2yfxow2dloq**** |
| InstanceRefreshTaskId |
string |
No |
The ID of the instance refresh task. |
ir-a12ds234fasd***** |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
The request ID. |
B13527BF-1FBD-4334-A512-20F5E9D3**** |
Examples
Success response
JSON format
{
"RequestId": "B13527BF-1FBD-4334-A512-20F5E9D3****"
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 500 | InternalError | The request processing has failed due to some unknown error, exception or failure. |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.