Enables or disables deletion protection for a scaling group.
Debugging
Authorization information
There is currently no authorization information disclosed in the API.
Request parameters
Parameter | Type | Required | Description | Example |
---|---|---|---|---|
GroupDeletionProtection | boolean | Yes | Specifies whether to enable deletion protection for the scaling group. Valid values:
| true |
ScalingGroupId | string | Yes | The ID of the scaling group. | asg-bp1igpak5ft1flyp**** |
RegionId | string | No | The region ID. | cn-qingdao |
Response parameters
Examples
Sample success responses
JSON
format
{
"RequestId": "CCC29E24-3AEC-4F2C-8A14-78B14FA738B7"
}
Error codes
For a list of error codes, visit the Service error codes.
Change history
Change time | Summary of changes | Operation |
---|
No change history