dcloud rds instances set-deletion-protectionTurn deletion protection on or off; while on, delete is refused
IAM rds:ModifyDBInstanceChanges stateAsks before it deletes (-y skips)
Synopsis
dcloud rds instances set-deletion-protection id --enabled enabledArguments
<id>Requiredstring
Also accepted as
--id. Constraints: 3-64 chars, /^(?!ewdoc-)[a-z0-9-]+$/
Flags
--enabledRequiredboolean (--enabled / --no-enabled)
true: refuse delete; false: allow it again
Example
dcloud rds instances set-deletion-protection id --enabledGenerated from the API description, the same one the API checks requests against and the CLI is built from.