Enables a disabled event-triggered task. After the task is enabled, Auto Scaling resumes monitoring the associated CloudMonitor metrics and automatically executes the predefined scaling rules when alert conditions are met within the effective time windows.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
ess:EnableAlarm |
update |
*ScalingGroup
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| RegionId |
string |
Yes |
The ID of the region. |
cn-qingdao |
| AlarmTaskId |
string |
Yes |
The ID of the event-triggered task. |
asg-bp1hvbnmkl10vll5****_f95ce797-dc2e-4bad-9618-14fee7d1**** |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
The ID of the request. |
688B18B8-FB1E-42EB-A1ED-7F55B090**** |
Examples
Success response
JSON format
{
"RequestId": "688B18B8-FB1E-42EB-A1ED-7F55B090****"
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.