Enables or disables deletion protection for a scaling group. When deletion protection is enabled, the scaling group cannot be deleted until protection is disabled.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
ess:SetGroupDeletionProtection |
update |
*ScalingGroup
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| GroupDeletionProtection |
boolean |
Yes |
Specifies whether to enable deletion protection for the scaling group. Valid values:
Default value: false. |
true |
| ScalingGroupId |
string |
Yes |
The ID of the scaling group. |
asg-bp1igpak5ft1flyp**** |
| RegionId |
string |
No |
The region ID. |
cn-qingdao |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
The request ID. |
CCC29E24-3AEC-4F2C-8A14-78B14FA738B7 |
Examples
Success response
JSON format
{
"RequestId": "CCC29E24-3AEC-4F2C-8A14-78B14FA738B7"
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.