mirror of
https://github.com/imjasonh/gcloud-help
synced 2026-07-08 18:45:13 +00:00
59 lines
2.2 KiB
Text
59 lines
2.2 KiB
Text
NAME
|
|
gcloud alpha sql instances delete - deletes a Cloud SQL instance
|
|
|
|
SYNOPSIS
|
|
gcloud alpha 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
|
|
(ALPHA) 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 99 years. 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 99 years. 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 alpha and might change without notice. If this
|
|
command fails with API permission errors despite specifying the correct
|
|
project, you might be trying to access an API with an invitation-only early
|
|
access allowlist. These variants are also available:
|
|
|
|
$ gcloud sql instances delete
|
|
|
|
$ gcloud beta sql instances delete
|
|
|