- NAME
-
- gcloud backup-dr restore-templates delete - delete a Restore Template
- SYNOPSIS
-
-
gcloud backup-dr restore-templates delete(RESTORE_TEMPLATE:--location=LOCATION) [--async] [--force] [GCLOUD_WIDE_FLAG …]
-
- DESCRIPTION
- Delete a Restore Template.
- EXAMPLES
-
To delete a restore template with id
my-templatein locationus-central1, run:gcloud backup-dr restore-templates delete my-template --location=us-central1 - POSITIONAL ARGUMENTS
-
-
Restore Template resource - 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
projectattribute:-
provide the argument
restore_templateon the command line with a fully specified name; -
provide the argument
--projecton the command line; -
set the property
core/project.
This must be specified.
RESTORE_TEMPLATE-
ID of the Restore Template or fully qualified identifier for the Restore
Template.
To set the
nameattribute:-
provide the argument
restore_templateon the command line.
This positional argument must be specified if any of the other arguments in this group are specified.
-
provide the argument
--location=LOCATION-
The location of the Restore Template.
To set the
locationattribute:-
provide the argument
restore_templateon the command line with a fully specified name; -
provide the argument
--locationon the command line.
-
provide the argument
-
provide the argument
-
Restore Template resource - 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.
- FLAGS
-
--async-
Return immediately, without waiting for the operation in progress to complete.
The default is
True. Enabled by default, use--no-asyncto disable. --force- If set, any child RestoreTemplateExecutions will also be deleted.
- 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 helpfor details. - BRIEF
- Delete a restore template.
- NOTES
-
These variants are also available:
gcloud alpha backup-dr restore-templates deletegcloud beta backup-dr restore-templates delete
gcloud backup-dr restore-templates delete
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2026-11-10 UTC.
[null,null,["Last updated 2026-11-10 UTC."],[],[]]