gcloud beta netapp backup-vaults create

NAME
gcloud beta netapp backup-vaults create - create a Cloud NetApp Backup Vault
SYNOPSIS
gcloud beta netapp backup-vaults create(BACKUP_VAULT :--location=LOCATION)[--async][--backup-region=BACKUP_REGION][--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-vault-type=BACKUP_VAULT_TYPE][--description=DESCRIPTION][--kms-config=KMS_CONFIG][--labels=[KEY=VALUE,…]][GCLOUD_WIDE_FLAG]
DESCRIPTION
(BETA) Create a Cloud NetApp Backup Vault.
EXAMPLES
The following command creates a Backup Vault named BACKUP_VAULT asynchronouslyusing the specified arguments:
gcloudbetanetappbackup-vaultscreateBACKUP_VAULT--location=LOCATION--async--description="test"ThefollowingcommandcreatesaBackupVaultnamedCMEK_BACKUP_VAULTwithaKMSconfig:
gcloudbetanetappbackup-vaultscreateCMEK_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 groupcan be used to specify the attributes of this resource. (NOTE) Some attributesare not given arguments in this group but can be set in other ways.

To set theproject attribute:

  • provide the argumentbackup_vault on the command line with a fullyspecified name;
  • provide the argument--project on the command line;
  • set the propertycore/project.

This must be specified.

BACKUP_VAULT
ID of the backup_vault or fully qualified identifier for the backup_vault.

To set thebackup_vault attribute:

  • provide the argumentbackup_vault on the command line.

This positional argument must be specified if any of the other arguments in thisgroup are specified.

--location=LOCATION
The location of the backup_vault.

To set thelocation attribute:

  • provide the argumentbackup_vault on the command line with a fullyspecified name;
  • provide the argument--location on the command line;
  • set the propertynetapp/location.
FLAGS
--async
Return immediately, without waiting for the operation in progress to complete.
--backup-region=BACKUP_REGION
String indicating backup location for the Backup Vault
--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 backupscreated within this vault. It consists of several fields that govern how longbackups are kept and what type of backups are immutable.

--backup-vault-type=BACKUP_VAULT_TYPE
String indicating the type of backup vault. The supported values are:'IN_REGION','CROSS_REGION'
--description=DESCRIPTION
A description of the Cloud NetApp Backup Vault
Kms config resource - The resource name of the KMS Config to use for encryptingbackups within this backup vault. Format:projects/{project_id}/locations/{location}/kmsConfigs/{kms_config_id} Thisrepresents a Cloud resource. (NOTE) Some attributes are not given arguments inthis group but can be set in other ways.

To set theproject attribute:

  • provide the argument--kms-config on the command line with a fullyspecified name;
  • provide the argument--project on the command line;
  • set the propertycore/project.

To set thelocation attribute:

  • provide the argument--kms-config on the command line with a fullyspecified name;
  • provide the argument--location on the command line;
  • set the propertynetapp/location.
--kms-config=KMS_CONFIG
ID of the kms_config or fully qualified identifier for the kms_config.

To set thekms_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, andnumbers. 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 command is currently in beta and might change without notice. This variantis also available:
gcloudnetappbackup-vaultscreate

Except as otherwise noted, the content of this page is licensed under theCreative Commons Attribution 4.0 License, and code samples are licensed under theApache 2.0 License. For details, see theGoogle Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2025-12-09 UTC.