Microsoft.DataProtection backupVaults

The backupVaults resource type can be deployed to: Resource groups.

To learn about resource group deployments, see Bicep or ARM template.

Template format

To create a Microsoft.DataProtection/backupVaults resource, add the following Bicep or JSON to your template.

resource symbolicname 'Microsoft.DataProtection/backupVaults@2021-06-01-preview' = {
  name: 'string'
  location: 'string'
  tags: {
    tagName1: 'tagValue1'
    tagName2: 'tagValue2'
  }
  eTag: 'string'
  identity: {
    type: 'string'
  }
  properties: {
    storageSettings: [
      {
        datastoreType: 'string'
        type: 'string'
      }
    ]
  }
}

Property values

backupVaults

Name Description Value
type The resource type

For Bicep, set this value in the resource declaration.
'Microsoft.DataProtection/backupVaults'
apiVersion The resource api version

For Bicep, set this value in the resource declaration.
'2021-06-01-preview'
name The resource name string (required)
location Resource location. string
tags Resource tags. Dictionary of tag names and values. See Tags in templates
eTag Optional ETag. string
identity Identity details DppIdentityDetails
properties Backup Vault BackupVault (required)

DppIdentityDetails

Name Description Value
type The identityType which can be either SystemAssigned or None string

BackupVault

Name Description Value
storageSettings Storage Settings StorageSetting[] (required)

StorageSetting

Name Description Value
datastoreType Gets or sets the type of the datastore. 'ArchiveStore'
'SnapshotStore'
'VaultStore'
type Gets or sets the type. 'GeoRedundant'
'LocallyRedundant'

Quickstart templates

The following quickstart templates deploy this resource type.

Template Description
Create Disk & enable protection via Backup Vault

Deploy to Azure
Template that creates a disk and enables protection via Backup Vault
Create Storage Account & enable protection via Backup Vault

Deploy to Azure
Template that creates storage account and enable protection via Backup Vault
Create Backup Vault

Deploy to Azure
Simple template that creates a Backup Vault