1
0
Fork 0
mirror of https://github.com/imjasonh/gcloud-help synced 2026-07-12 07:58:28 +00:00
gcloud-help/gcloud/alpha/backup-dr/backup-plans/delete
2024-11-20 10:03:22 +00:00

74 lines
2.5 KiB
Text

NAME
gcloud alpha backup-dr backup-plans delete - deletes a Backup Plan
SYNOPSIS
gcloud alpha backup-dr backup-plans delete
(BACKUP_PLAN : --location=LOCATION) [--async] [GCLOUD_WIDE_FLAG ...]
DESCRIPTION
(ALPHA) Deletes a Backup Plan.
EXAMPLES
To delete a backup plan sample-backup-plan in project sample-project and
location us-central1 , run:
$ gcloud alpha backup-dr backup-plans delete sample-backup-plan \
--project=sample-project --location=us-central1
POSITIONAL ARGUMENTS
Backup Plan resource - Name of the backup plan to delete 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_plan 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_PLAN
ID of the Backup Plan or fully qualified identifier for the Backup
Plan.
To set the name attribute:
▸ provide the argument backup_plan 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 Plan.
To set the location attribute:
▸ provide the argument backup_plan on the command line with a fully
specified name;
▸ provide the argument --location on the command line.
FLAGS
--async
Return immediately, without waiting for the operation in progress to
complete. The default is True. Enabled by default, use --no-async to
disable.
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.
BRIEF
Deletes a specific backup plan
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. This variant is also available:
$ gcloud backup-dr backup-plans delete