gcloud beta backup-dr restore-verification-plan-associations create

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-association under restore verification plan sample-plan in project sample-project and location us-central1 for resource type compute.googleapis.com/Instance with restore template projects/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 project attribute:

  • provide the argument RESTORE_VERIFICATION_PLAN_ASSOCIATION 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.

RESTORE_VERIFICATION_PLAN_ASSOCIATION
ID of the Restore Verification Plan Association or fully qualified identifier for the Restore Verification Plan Association.

To set the name attribute:

  • provide the argument RESTORE_VERIFICATION_PLAN_ASSOCIATION 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 Restore Verification Plan Association.

To set the location attribute:

  • provide the argument RESTORE_VERIFICATION_PLAN_ASSOCIATION on the command line with a fully specified name;
  • provide the argument --location on the command line.
--restore-verification-plan=RESTORE_VERIFICATION_PLAN
The ID of the Restore Verification Plan.

To set the restore-verification-plan attribute:

  • provide the argument RESTORE_VERIFICATION_PLAN_ASSOCIATION on the command line with a fully specified name;
  • provide the argument --restore-verification-plan on the command line.
REQUIRED FLAGS
--resource-type=RESOURCE_TYPE
Type of the Google Cloud resource to associate.

For example:

  • compute.<UNIVERSE_DOMAIN>/Instance for 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 project attribute:

  • provide the argument --restore-template on the command line with a fully specified name;
  • provide the argument --project on the command line;
  • set the property core/project.

To set the location attribute:

  • provide the argument --restore-template on the command line with a fully specified name;
  • provide the argument --location on 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 name attribute:

  • provide the argument --restore-template on the command line.
OPTIONAL 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.
--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 help for 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 create
gcloud alpha backup-dr restore-verification-plan-associations create