Microsoft.RecoveryServices vaults/backupFabrics/backupProtectionIntent 2021-04-01

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

resource symbolicname 'Microsoft.RecoveryServices/vaults/backupFabrics/backupProtectionIntent@2021-04-01' = {
  name: 'string'
  location: 'string'
  tags: {
    tagName1: 'tagValue1'
    tagName2: 'tagValue2'
  parent: parentSymbolicName
  eTag: 'string'
  properties: {
    backupManagementType: 'string'
    itemId: 'string'
    policyId: 'string'
    protectionState: 'string'
    sourceResourceId: 'string'
    protectionIntentItemType: 'string'
    // For remaining properties, see ProtectionIntent objects

ProtectionIntent objects

Set the protectionIntentItemType property to specify the type of object.

For AzureResourceItem, use:

  protectionIntentItemType: 'AzureResourceItem'
  friendlyName: 'string'

For AzureWorkloadSQLAutoProtectionIntent, use:

  protectionIntentItemType: 'AzureWorkloadSQLAutoProtectionIntent'
  workloadItemType: '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.
string (required)
location Resource location. string
tags Resource tags. Dictionary of tag names and values. See Tags in templates
parent In Bicep, you can specify the parent resource for a child resource. You only need to add this property when the child resource is declared outside of the parent resource.

For more information, see Child resource outside parent resource.
eTag Optional ETag. string
properties Base class for backup ProtectionIntent. ProtectionIntent


Name Description Value
backupManagementType Backup management type to execute the current job. 'AzureBackupServer'
itemId ID of the item which is getting protected, In case of Azure Vm , it is ProtectedItemId string
policyId ID of the backup policy with which this item is backed up. string
protectionState Specifies whether the container is registered or not 'Invalid'
sourceResourceId ARM ID of the resource to be backed up. string
protectionIntentItemType Set the object type AzureResourceItem


Name Description Value
protectionIntentItemType backup protectionIntent type. 'AzureResourceItem'
friendlyName Friendly name of the VM represented by this backup item. string


Name Description Value
protectionIntentItemType backup protectionIntent type. 'AzureWorkloadSQLAutoProtectionIntent'
workloadItemType Workload item type of the item for which intent is to be set 'Invalid'