Deletes an event-triggered task that you no longer need. Event-triggered tasks use CloudMonitor metrics to automatically execute scaling rules when alert conditions are met, dynamically adjusting the number of Elastic Compute Service (ECS) instances or elastic container instances in your scaling groups.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
ess:DeleteAlarm |
delete |
*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 |
|||
| AlarmTaskId |
string |
The ID of the event-triggered task. |
asg-bp1hvbnmkl10vll5****_f95ce797-dc2e-4bad-9618-14fee7d1**** |
| RequestId |
string |
The ID of the request. |
6EF9BFEE-FE07-4627-B8FB-14326FB9**** |
Examples
Success response
JSON format
{
"AlarmTaskId": "asg-bp1hvbnmkl10vll5****_f95ce797-dc2e-4bad-9618-14fee7d1****",
"RequestId": "6EF9BFEE-FE07-4627-B8FB-14326FB9****"
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.