Microsoft.RecoveryServices vaults/backupFabrics/protectionContainers/protectedItems template reference

Template format

To create a Microsoft.RecoveryServices/vaults/backupFabrics/protectionContainers/protectedItems resource, add the following JSON to the resources section of your template.

{
  "name": "string",
  "type": "Microsoft.RecoveryServices/vaults/backupFabrics/protectionContainers/protectedItems",
  "apiVersion": "2019-05-13",
  "location": "string",
  "tags": {},
  "properties": {
    "backupManagementType": "string",
    "workloadType": "string",
    "containerName": "string",
    "sourceResourceId": "string",
    "policyId": "string",
    "lastRecoveryPoint": "string",
    "backupSetName": "string",
    "createMode": "string",
    "deferredDeleteTimeInUTC": "string",
    "isScheduledForDeferredDelete": "boolean",
    "deferredDeleteTimeRemaining": "string",
    "isDeferredDeleteScheduleUpcoming": "boolean",
    "isRehydrate": "boolean",
    "protectedItemType": "string"
  }
}

Property values

The following tables describe the values you need to set in the schema.

Microsoft.RecoveryServices/vaults/backupFabrics/protectionContainers/protectedItems object

Name Type Required Value
name string Yes
type enum Yes protectedItems
-or-
Microsoft.RecoveryServices/vaults/backupFabrics/protectionContainers/protectedItems

See Set name and type for child resources.
apiVersion enum Yes 2019-05-13
location string No Resource location.
tags object No Resource tags.
properties object Yes ProtectedItemResource properties - ProtectedItem object

ProtectedItem object

Name Type Required Value
backupManagementType enum No Type of backup management for the backed up item. - Invalid, AzureIaasVM, MAB, DPM, AzureBackupServer, AzureSql, AzureStorage, AzureWorkload, DefaultBackup
workloadType enum No Type of workload this item represents. - Invalid, VM, FileFolder, AzureSqlDb, SQLDB, Exchange, Sharepoint, VMwareVM, SystemState, Client, GenericDataSource, SQLDataBase, AzureFileShare, SAPHanaDatabase, SAPAseDatabase
containerName string No Unique name of container
sourceResourceId string No ARM ID of the resource to be backed up.
policyId string No ID of the backup policy with which this item is backed up.
lastRecoveryPoint string No Timestamp when the last (latest) backup copy was created for this backup item.
backupSetName string No Name of the backup set the backup item belongs to
createMode enum No Create mode to indicate recovery of existing soft deleted data source or creation of new data source. - Invalid, Default, Recover
deferredDeleteTimeInUTC string No Time for deferred deletion in UTC
isScheduledForDeferredDelete boolean No Flag to identify whether the DS is scheduled for deferred delete
deferredDeleteTimeRemaining string No Time remaining before the DS marked for deferred delete is permanently deleted
isDeferredDeleteScheduleUpcoming boolean No Flag to identify whether the deferred deleted DS is to be purged soon
isRehydrate boolean No Flag to identify that deferred deleted DS is to be moved into Pause state
protectedItemType string Yes

Quickstart templates

The following quickstart templates deploy this resource type.

Template Description
Backup Resource Manager VMs using Recovery Services vault

Deploy to Azure
This template will use existing recovery services vault and existing backup policy, and configures backup of multiple Resource Manager VMs that belong to same resource group
Deploy a Windows VM and enable backup using Azure Backup

Deploy to Azure
This template allows you to deploy simple Windows VM and Recovery Services Vault configured with the DefaultPolicy for Protection.
Azure Backup for Workload in Azure Virtual Machines

Deploy to Azure
This template creates a Recovery Services Vault and a Workload specific Backup Policy. Registers VM with Backup service and Configures Protection
Backup existing IaasVM using Recovery Services

Deploy to Azure
This template will use existing recovery services vault and existing backup policy, and configures protection of multiple classic and ARM based Azure IaasVMs.
IBM Cloud Pak for Data on Azure

Deploy to Azure
This template deploys an Openshift cluster on Azure with all the required resources, infrastructure and then deploys IBM Cloud Pak for Data along with the add-ons that user chooses.
Openshift Container Platform 4.3

Deploy to Azure
Openshift Container Platform 4.3