gcloud alpha backup-dr service-config init

NAME
gcloud alpha backup-dr service-config init - initialize a Backup and DR Service configuration
SYNOPSIS
gcloud alpha backup-dr service-config init --location=LOCATION --resource-type=RESOURCE_TYPE [--no-async] [GCLOUD_WIDE_FLAG]
DESCRIPTION
(ALPHA) Initialize a Backup and DR Service configuration.
EXAMPLES
To initialize a new service configuration in location MY_LOCATION and project MY_PROJECT for resource type MY_RESOURCE_TYPE, run:
gcloud alpha backup-dr service-config init --project=MY_PROJECT --location=MY_LOCATION --resource-type=MY_RESOURCE_TYPE
REQUIRED FLAGS
Location resource - The location for which the service configuration should be created. 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 --location 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.

--location=LOCATION
ID of the location or fully qualified identifier for the location.

To set the location attribute:

  • provide the argument --location on the command line.
--resource-type=RESOURCE_TYPE
The resource type to which the default service configuration will be applied. Examples include, "compute.<UNIVERSE_DOMAIN>.com/Instance"
OPTIONAL FLAGS
--no-async
Wait for the operation in progress to complete.
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
Initializes a Backup and DR Service configuration.
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 service-config init