New-AzDataProtectionBackupVaultStorageSettingObject

Get Backup Vault storage setting object

Syntax

New-AzDataProtectionBackupVaultStorageSettingObject
   -Type <StorageSettingType>
   -DataStoreType <DataStoreType>
   [<CommonParameters>]

Description

Get Backup Vault storage setting object

Examples

Example 1: Create a new vault storage setting object

New-AzDataProtectionBackupVaultStorageSettingObject -Type GeoRedundant -DataStoreType VaultStore

DatastoreType Type
------------- ----
VaultStore    GeoRedundant

This command creates a new vault storage setting object which is used to create a backup vault.

Parameters

-DataStoreType

DataStore Type of the vault

Type:DataStoreType
Accepted values:ArchiveStore, OperationalStore, VaultStore
Position:Named
Default value:None
Required:True
Accept pipeline input:False
Accept wildcard characters:False

-Type

Storage Type of the vault

Type:StorageSettingType
Accepted values:GeoRedundant, LocallyRedundant, ZoneRedundant
Position:Named
Default value:None
Required:True
Accept pipeline input:False
Accept wildcard characters:False

Outputs

PSObject