- NAME
-
- gcloud beta backup-dr restore-verification-plan-associations create - create a new restore verification plan association
- SYNOPSIS
-
-
gcloud beta backup-dr restore-verification-plan-associations create(RESTORE_VERIFICATION_PLAN_ASSOCIATION:--location=LOCATION--restore-verification-plan=RESTORE_VERIFICATION_PLAN)--resource-type=RESOURCE_TYPE--restore-template=RESTORE_TEMPLATE[--async] [--description=DESCRIPTION] [--labels=[KEY=VALUE,…]] [GCLOUD_WIDE_FLAG …]
-
- DESCRIPTION
-
(BETA)Create a new restore verification plan association in the project. - EXAMPLES
-
To create a new restore verification plan association
sample-associationunder restore verification plansample-planin projectsample-projectand locationus-central1for resource typecompute.googleapis.com/Instancewith restore templateprojects/sample-project/locations/us-central1/restoreTemplates/sample-template, run:gcloud beta backup-dr restore-verification-plan-associations create sample-association --restore-verification-plan=sample-plan --project=sample-project --location=us-central1 --resource-type=compute.googleapis.com/Instance --restore-template=projects/sample-project/locations/us-central1/restoreTemplates/sample-template - POSITIONAL ARGUMENTS
-
-
Restore Verification Plan Association resource - Name of the restore
verification plan association to be created. Once created, this name can't be
changed. The name must be unique for a restore verification plan. 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_VERIFICATION_PLAN_ASSOCIATIONon 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_VERIFICATION_PLAN_ASSOCIATION-
ID of the Restore Verification Plan Association or fully qualified identifier
for the Restore Verification Plan Association.
To set the
nameattribute:-
provide the argument
RESTORE_VERIFICATION_PLAN_ASSOCIATIONon 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 Verification Plan Association.
To set the
locationattribute:-
provide the argument
RESTORE_VERIFICATION_PLAN_ASSOCIATIONon the command line with a fully specified name; -
provide the argument
--locationon the command line.
-
provide the argument
--restore-verification-plan=RESTORE_VERIFICATION_PLAN-
The ID of the Restore Verification Plan.
To set the
restore-verification-planattribute:-
provide the argument
RESTORE_VERIFICATION_PLAN_ASSOCIATIONon the command line with a fully specified name; -
provide the argument
--restore-verification-planon the command line.
-
provide the argument
-
provide the argument
-
Restore Verification Plan Association resource - Name of the restore
verification plan association to be created. Once created, this name can't be
changed. The name must be unique for a restore verification plan. 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.
- REQUIRED FLAGS
-
--resource-type=RESOURCE_TYPE-
Type of the Google Cloud resource to associate.
For example:
-
compute.<UNIVERSE_DOMAIN>/Instancefor Compute Engine instances.
-
-
Restore Template resource - The Restore Template to associate with the workload.
This represents a Cloud 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.
To set the
locationattribute:-
provide the argument
--restore-templateon the command line with a fully specified name; -
provide the argument
--locationon the command line.
This must be specified.
--restore-template=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.
-
provide the argument
-
provide the argument
- OPTIONAL FLAGS
-
--async-
Return immediately, without waiting for the operation in progress to complete.
The default is
True. Enabled by default, use--no-asyncto disable. --description=DESCRIPTION- The description of the restore verification plan association.
--labels=[KEY=VALUE,…]- Optional resource labels to represent metadata provided by the user.
- 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
- Creates a new restore verification plan association.
- NOTES
-
This command is currently in beta and might change without notice. These
variants are also available:
gcloud backup-dr restore-verification-plan-associations creategcloud alpha backup-dr restore-verification-plan-associations create
gcloud beta backup-dr restore-verification-plan-associations create
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.