Microsoft.RecoveryServices vaults/backupstorageconfig 2021-04-01

The vaults/backupstorageconfig 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.RecoveryServices/vaults/backupstorageconfig resource, add the following Bicep or JSON to your template.

resource symbolicname 'Microsoft.RecoveryServices/vaults/backupstorageconfig@2021-04-01' = {
  name: 'vaultstorageconfig'
  location: 'string'
  tags: {
    tagName1: 'tagValue1'
    tagName2: 'tagValue2'
  eTag: 'string'
  properties: {
    crossRegionRestoreFlag: bool
    storageModelType: 'string'
    storageType: 'string'
    storageTypeState: 'string'

Property values


Name Description Value
type The resource type

For Bicep, set this value in the resource declaration.
apiVersion The resource api version

For Bicep, set this value in the resource declaration.
name The resource name

See how to set names and types for child resources in Bicep or JSON ARM templates.
location Resource location. string
tags Resource tags. Dictionary of tag names and values. See Tags in templates
eTag Optional ETag. string
properties The resource storage details. BackupResourceConfig


Name Description Value
crossRegionRestoreFlag Opt in details of Cross Region Restore feature. bool
storageModelType Storage type 'GeoRedundant'
storageType Storage type 'GeoRedundant'
storageTypeState Locked or Unlocked. Once a machine is registered against a resource, the storageTypeState is always Locked. 'Invalid'

Quickstart templates

The following quickstart templates deploy this resource type.

Template Description
Create a Recovery Services vault with advanced options

Deploy to Azure
This template creates a Recovery Services vault that will be used further for Backup and Site Recovery.