The vaults/backupFabrics/backupProtectionIntent resource type can be deployed to:
For a list of changed properties in each API version, see change log.
To create a Microsoft.RecoveryServices/vaults/backupFabrics/backupProtectionIntent resource, add the following JSON to your template.
{
"type": "Microsoft.RecoveryServices/vaults/backupFabrics/backupProtectionIntent",
"apiVersion": "2023-01-01",
"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
}
}
Set the protectionIntentItemType property to specify the type of object.
For AzureResourceItem, use:
"protectionIntentItemType": "AzureResourceItem",
"friendlyName": "string"
For AzureWorkloadContainerAutoProtectionIntent, use:
"protectionIntentItemType": "AzureWorkloadContainerAutoProtectionIntent"
For AzureWorkloadSQLAutoProtectionIntent, use:
"protectionIntentItemType": "AzureWorkloadSQLAutoProtectionIntent",
"workloadItemType": "string"
Name | Description | Value |
---|---|---|
type | The resource type | 'Microsoft.RecoveryServices/vaults/backupFabrics/backupProtectionIntent' |
apiVersion | The resource api version | '2023-01-01' |
name | The resource name See how to set names and types for child resources in 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 | ProtectionIntentResource properties | ProtectionIntent |
Name | Description | Value |
---|---|---|
backupManagementType | Type of backup management for the backed up item. | '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 | Backup state of this backup item. | 'Invalid' 'NotProtected' 'Protected' 'Protecting' 'ProtectionFailed' |
sourceResourceId | ARM ID of the resource to be backed up. | string |
protectionIntentItemType | Set the object type | AzureResourceItem AzureWorkloadContainerAutoProtectionIntent AzureWorkloadSQLAutoProtectionIntent (required) |
Name | Description | Value |
---|---|---|
protectionIntentItemType | backup protectionIntent type. | 'AzureResourceItem' (required) |
friendlyName | Friendly name of the VM represented by this backup item. | string |
Name | Description | Value |
---|---|---|
protectionIntentItemType | backup protectionIntent type. | 'AzureWorkloadContainerAutoProtectionIntent' (required) |
Name | Description | Value |
---|---|---|
protectionIntentItemType | backup protectionIntent type. | 'AzureWorkloadSQLAutoProtectionIntent' (required) |
workloadItemType | Workload item type of the item for which intent is to be set | 'Invalid' 'SAPAseDatabase' 'SAPAseSystem' 'SAPHanaDBInstance' 'SAPHanaDatabase' 'SAPHanaSystem' 'SQLDataBase' 'SQLInstance' |