dcloud rds instances set-deletion-protection

Turn 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 enabled

Arguments

  • <id>Required

    string

    Also accepted as --id. Constraints: 3-64 chars, /^(?!ewdoc-)[a-z0-9-]+$/

Flags

  • --enabledRequired

    boolean (--enabled / --no-enabled)

    true: refuse delete; false: allow it again

Example

dcloud rds instances set-deletion-protection id --enabled

Generated from the API description, the same one the API checks requests against and the CLI is built from.