mirror of
https://github.com/imjasonh/gcloud-help
synced 2026-07-14 08:55:34 +00:00
125 lines
5 KiB
Text
125 lines
5 KiB
Text
NAME
|
|
gcloud netapp backup-vaults create - create a Cloud NetApp Backup Vault
|
|
|
|
SYNOPSIS
|
|
gcloud netapp backup-vaults create (BACKUP_VAULT : --location=LOCATION)
|
|
[--async]
|
|
[--backup-retention-policy=[backup-minimum-enforced-retention-days=BACKUP-MINIMUM-ENFORCED-RETENTION-DAYS],
|
|
[daily-backup-immutable=DAILY-BACKUP-IMMUTABLE],
|
|
[manual-backup-immutable=MANUAL-BACKUP-IMMUTABLE],
|
|
[monthly-backup-immutable=MONTHLY-BACKUP-IMMUTABLE],
|
|
[weekly-backup-immutable=WEEKLY-BACKUP-IMMUTABLE]]
|
|
[--description=DESCRIPTION] [--kms-config=KMS_CONFIG]
|
|
[--labels=[KEY=VALUE,...]] [GCLOUD_WIDE_FLAG ...]
|
|
|
|
DESCRIPTION
|
|
Create a Cloud NetApp Backup Vault.
|
|
|
|
EXAMPLES
|
|
The following command creates a Backup Vault named BACKUP_VAULT
|
|
asynchronously using the specified arguments:
|
|
|
|
$ gcloud netapp backup-vaults create BACKUP_VAULT \
|
|
--location=LOCATION --async --description="test" The following \
|
|
command creates a Backup Vault named CMEK_BACKUP_VAULT with a \
|
|
KMS config:
|
|
|
|
$ gcloud netapp backup-vaults create CMEK_BACKUP_VAULT \
|
|
--location=LOCATION \
|
|
--kms-config=projects/PROJECT/locations/LOCATION/kmsConfigs/\
|
|
KMS_CONFIG
|
|
|
|
POSITIONAL ARGUMENTS
|
|
Backup vault resource - The Backup Vault to create 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_vault 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_VAULT
|
|
ID of the backup_vault or fully qualified identifier for the
|
|
backup_vault.
|
|
|
|
To set the backup_vault attribute:
|
|
▸ provide the argument backup_vault 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_vault.
|
|
|
|
To set the location attribute:
|
|
▸ provide the argument backup_vault on the command line with a
|
|
fully specified name;
|
|
▸ provide the argument --location on the command line;
|
|
▸ set the property netapp/location.
|
|
|
|
FLAGS
|
|
--async
|
|
Return immediately, without waiting for the operation in progress to
|
|
complete.
|
|
|
|
--backup-retention-policy=[backup-minimum-enforced-retention-days=BACKUP-MINIMUM-ENFORCED-RETENTION-DAYS],[daily-backup-immutable=DAILY-BACKUP-IMMUTABLE],[manual-backup-immutable=MANUAL-BACKUP-IMMUTABLE],[monthly-backup-immutable=MONTHLY-BACKUP-IMMUTABLE],[weekly-backup-immutable=WEEKLY-BACKUP-IMMUTABLE]
|
|
Backup Retention Policy of the Backup Vault.
|
|
|
|
Backup Retention Policy allows you to configure the retention policy
|
|
for backups created within this vault. It consists of several fields
|
|
that govern how long backups are kept and what type of backups are
|
|
immutable.
|
|
|
|
--description=DESCRIPTION
|
|
A description of the Cloud NetApp Backup Vault
|
|
|
|
Kms config resource - The resource name of the KMS Config to use for
|
|
encrypting backups within this backup vault. Format:
|
|
projects/{project_id}/locations/{location}/kmsConfigs/{kms_config_id} 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 --kms-config 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 --kms-config on the command line with a fully
|
|
specified name;
|
|
◆ provide the argument --location on the command line;
|
|
◆ set the property netapp/location.
|
|
|
|
--kms-config=KMS_CONFIG
|
|
ID of the kms_config or fully qualified identifier for the kms_config.
|
|
|
|
To set the kms_config attribute:
|
|
◆ provide the argument --kms-config on the command line.
|
|
|
|
--labels=[KEY=VALUE,...]
|
|
List of label KEY=VALUE pairs to add.
|
|
|
|
Keys must start with a lowercase character and contain only hyphens
|
|
(-), underscores (_), lowercase characters, and numbers. Values must
|
|
contain only hyphens (-), underscores (_), lowercase characters, and
|
|
numbers.
|
|
|
|
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.
|
|
|
|
NOTES
|
|
This variant is also available:
|
|
|
|
$ gcloud beta netapp backup-vaults create
|
|
|