mirror of
https://github.com/imjasonh/gcloud-help
synced 2026-07-18 23:08:48 +00:00
gcloud: Wed Nov 20 10:03:22 UTC 2024
This commit is contained in:
parent
a63704a3af
commit
ad2752c6c9
198 changed files with 7874 additions and 336 deletions
102
gcloud/backup-dr/backup-vaults/delete
Normal file
102
gcloud/backup-dr/backup-vaults/delete
Normal file
|
|
@ -0,0 +1,102 @@
|
|||
NAME
|
||||
gcloud backup-dr backup-vaults delete - delete the specified Backup Vault
|
||||
|
||||
SYNOPSIS
|
||||
gcloud backup-dr backup-vaults delete (BACKUP_VAULT : --location=LOCATION)
|
||||
[--allow-missing] [--no-async] [--ignore-backup-plan-references]
|
||||
[--ignore-inactive-datasources] [GCLOUD_WIDE_FLAG ...]
|
||||
|
||||
DESCRIPTION
|
||||
Delete the specified Backup Vault.
|
||||
|
||||
EXAMPLES
|
||||
To delete a backup vault BACKUP_VAULT in location MY_LOCATION, run:
|
||||
|
||||
$ gcloud backup-dr backup-vaults delete BACKUP_VAULT \
|
||||
--location=MY_LOCATION
|
||||
|
||||
To override restrictions against the deletion of a backup vault
|
||||
BACKUP_VAULT containing inactive datasources in location MY_LOCATION, run:
|
||||
|
||||
$ gcloud backup-dr backup-vaults delete BACKUP_VAULT \
|
||||
--location=MY_LOCATION --ignore-inactive-datasources
|
||||
|
||||
To override restrictions against the deletion of a backup vault
|
||||
BACKUP_VAULT containing backup plan references in location MY_LOCATION,
|
||||
run:
|
||||
|
||||
$ gcloud backup-dr backup-vaults delete BACKUP_VAULT \
|
||||
--location=MY_LOCATION --ignore-backup-plan-references
|
||||
|
||||
POSITIONAL ARGUMENTS
|
||||
Backup Vault resource - Name of the backup vault to delete. Before you
|
||||
delete, take a look at the prerequisites here
|
||||
(https://cloud.google.com/backup-disaster-recovery/docs/configuration/decommission).
|
||||
The arguments in this group can be used to specify the attributes of this
|
||||
resource. (NOTE) Some attributes are not given arguments in this group but
|
||||
can be set in other ways.
|
||||
|
||||
To set the project attribute:
|
||||
◆ provide the argument backup_vault on the command line with a fully
|
||||
specified name;
|
||||
◆ provide the argument --project on the command line;
|
||||
◆ set the property core/project.
|
||||
|
||||
This must be specified.
|
||||
|
||||
BACKUP_VAULT
|
||||
ID of the Backup Vault or fully qualified identifier for the Backup
|
||||
Vault.
|
||||
|
||||
To set the name attribute:
|
||||
▸ provide the argument backup_vault on the command line.
|
||||
|
||||
This positional argument must be specified if any of the other
|
||||
arguments in this group are specified.
|
||||
|
||||
--location=LOCATION
|
||||
The location of the Backup Vault.
|
||||
|
||||
To set the location attribute:
|
||||
▸ provide the argument backup_vault on the command line with a
|
||||
fully specified name;
|
||||
▸ provide the argument --location on the command line.
|
||||
|
||||
FLAGS
|
||||
--allow-missing
|
||||
Allow idempotent deletion of backup vault. The request will still
|
||||
succeed in case the backup vault does not exist.
|
||||
|
||||
--no-async
|
||||
Wait for the operation in progress to complete.
|
||||
|
||||
--ignore-backup-plan-references
|
||||
If set, the following restrictions against deletion of the backup vault
|
||||
instance can be overridden: * deletion of a backup vault instance being
|
||||
actively referenced by a backup plan.
|
||||
|
||||
--ignore-inactive-datasources
|
||||
If set, the following restrictions against deletion of the backup vault
|
||||
instance can be overridden: * deletion of a backup vault instance
|
||||
containing no backups,but still contains empty datasources.
|
||||
|
||||
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.
|
||||
|
||||
API REFERENCE
|
||||
This command uses the backupdr/v1 API. The full documentation for this API
|
||||
can be found at: https://cloud.google.com/backup-disaster-recovery
|
||||
|
||||
BRIEF
|
||||
Deletes a specific backup vault
|
||||
|
||||
NOTES
|
||||
This variant is also available:
|
||||
|
||||
$ gcloud alpha backup-dr backup-vaults delete
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue