Microsoft.RecoveryServices vaults/backupFabrics/backupProtectionIntent 2021-02-01-preview

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-02-01-preview' = {
  name: 'string'
  location: 'string'
  tags: {
    tagName1: 'tagValue1'
    tagName2: 'tagValue2'
  }
  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

vaults/backupFabrics/backupProtectionIntent

Name Description Value
type The resource type

For Bicep, set this value in the resource declaration.
'Microsoft.RecoveryServices/vaults/backupFabrics/backupProtectionIntent'
apiVersion The resource api version

For Bicep, set this value in the resource declaration.
'2021-02-01-preview'
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
eTag Optional ETag. string
properties Base class for backup ProtectionIntent. ProtectionIntent

ProtectionIntent

Name Description Value
backupManagementType Backup management type to execute the current job. 'AzureBackupServer'
'AzureIaasVM'
'AzureSql'
'AzureStorage'
'AzureWorkload'
'DPM'
'DefaultBackup'
'Invalid'
'MAB'
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'
'NotProtected'
'Protected'
'Protecting'
'ProtectionFailed'
sourceResourceId ARM ID of the resource to be backed up. string
protectionIntentItemType Set the object type AzureResourceItem
AzureWorkloadSQLAutoProtectionIntent

AzureResourceProtectionIntent

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

AzureWorkloadSQLAutoProtectionIntent

Name Description Value
protectionIntentItemType backup protectionIntent type. 'AzureWorkloadSQLAutoProtectionIntent'
workloadItemType Workload item type of the item for which intent is to be set 'Invalid'
'SAPAseDatabase'
'SAPAseSystem'
'SAPHanaDatabase'
'SAPHanaSystem'
'SQLDataBase'
'SQLInstance'