dcloud rds instances delete

Delete a database instance and its machines

IAM rds:DeleteDBInstanceChanges stateAsks before it deletes (-y skips)

Refused with 400 while deletion protection is enabled. With finalBackup=true a full backup is taken first; if it fails nothing is deleted. The database then stays as `retained` (no machines, backups kept) until its retention period ends, and can be restored from. Deleting a `retained` database removes its backups at once.

Synopsis

dcloud rds instances delete id [flags]

Arguments

  • <id>Required

    string

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

Flags

  • --final-backupOptional

    enum

    true: take a full backup first and keep the backups for the retention period, as a `retained` database that can be restored from

    One of: true, false

Example

dcloud rds instances delete id

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