1
0
Fork 0
mirror of https://github.com/imjasonh/gcloud-help synced 2026-07-09 10:56:49 +00:00
gcloud-help/gcloud/beta/sql/instances/delete
2026-03-26 12:11:21 +00:00

57 lines
2 KiB
Text

NAME
gcloud beta sql instances delete - deletes a Cloud SQL instance
SYNOPSIS
gcloud beta sql instances delete INSTANCE [--async] [--enable-final-backup]
[--final-backup-description=FINAL_BACKUP_DESCRIPTION]
[--final-backup-expiry-time=FINAL_BACKUP_EXPIRY_TIME
| --final-backup-retention-days=FINAL_BACKUP_RETENTION_DAYS]
[GCLOUD_WIDE_FLAG ...]
DESCRIPTION
(BETA) Deletes a Cloud SQL instance.
POSITIONAL ARGUMENTS
INSTANCE
Cloud SQL instance ID.
FLAGS
--async
Return immediately, without waiting for the operation in progress to
complete.
--enable-final-backup
Enables the final backup to be taken at the time of instance deletion.
--final-backup-description=FINAL_BACKUP_DESCRIPTION
Provides description for the final backup going to be taken.
At most one of these can be specified:
--final-backup-expiry-time=FINAL_BACKUP_EXPIRY_TIME
Specifies the time at which the final backup will expire. Maximum
time allowed is 365 days. For instances managed by BackupDR, the
maximum time allowed is 10 years (3653 days). Format:
YYYY-MM-DDTHH:MM:SS.
--final-backup-retention-days=FINAL_BACKUP_RETENTION_DAYS
Specifies number of days to retain final backup. The valid range is
between 1 and 365. For instances managed by BackupDR, the valid range
is between 1 day and 10 years (3653 days). Default value is 30 days.
GCLOUD WIDE FLAGS
These flags are available to all commands: --access-token-file, --account,
--billing-project, --configuration, --flags-file, --flatten, --format,
--help, --impersonate-service-account, --log-http, --project, --quiet,
--trace-token, --user-output-enabled, --verbosity.
Run $ gcloud help for details.
NOTES
This command is currently in beta and might change without notice. These
variants are also available:
$ gcloud sql instances delete
$ gcloud alpha sql instances delete