Microsoft.RecoveryServices vaults/backupFabrics/protectionContainers/protectedItems 2016-06-01

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

resource symbolicname 'Microsoft.RecoveryServices/vaults/backupFabrics/protectionContainers/protectedItems@2016-06-01' = {
  name: 'string'
  location: 'string'
  tags: {
    tagName1: 'tagValue1'
    tagName2: 'tagValue2'
  }
  parent: parentSymbolicName
  eTag: 'string'
  properties: {
    backupManagementType: 'string'
    lastRecoveryPoint: 'string'
    policyId: 'string'
    sourceResourceId: 'string'
    workloadType: 'string'
    protectedItemType: 'string'
    // For remaining properties, see ProtectedItem objects
  }
}

ProtectedItem objects

Set the protectedItemType property to specify the type of object.

For MabFileFolderProtectedItem, use:

  protectedItemType: 'MabFileFolderProtectedItem'
  computerName: 'string'
  extendedInfo: {
    lastRefreshedAt: 'string'
    oldestRecoveryPoint: 'string'
    recoveryPointCount: int
  }
  friendlyName: 'string'
  isScheduledForDeferredDelete: bool
  lastBackupStatus: 'string'
  protectionState: 'string'

For Microsoft.ClassicCompute/virtualMachines, use:

  protectedItemType: 'Microsoft.ClassicCompute/virtualMachines'

For Microsoft.Compute/virtualMachines, use:

  protectedItemType: 'Microsoft.Compute/virtualMachines'

For Microsoft.Sql/servers/databases, use:

  protectedItemType: 'Microsoft.Sql/servers/databases'
  extendedInfo: {
    oldestRecoveryPoint: 'string'
    policyState: 'string'
    recoveryPointCount: int
  }
  protectedItemDataId: 'string'
  protectionState: 'string'

Property values

vaults/backupFabrics/protectionContainers/protectedItems

Name Description Value
type The resource type

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

For Bicep, set this value in the resource declaration.
'2016-06-01'
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.
parentSymbolicName
eTag Optional ETag. string
properties The base class for backup items. ProtectedItem

ProtectedItem

Name Description Value
backupManagementType The type of backup management associated with the backup engine. 'AzureBackupServer'
'AzureIaasVM'
'AzureSql'
'DPM'
'Invalid'
'MAB'
lastRecoveryPoint The timestamp when the most recent backup copy was created for this backup item. string
policyId The ID of the backup policy associated with this backup item. string
sourceResourceId The ID of the resource to be backed up. string
workloadType The workload type for this item. 'AzureSqlDb'
'DPMUnknown'
'Exchange'
'FileFolder'
'Invalid'
'SQLDB'
'Sharepoint'
'VM'
protectedItemType Set the object type MabFileFolderProtectedItem
Microsoft.ClassicCompute/virtualMachines
Microsoft.Compute/virtualMachines
Microsoft.Sql/servers/databases

MabFileFolderProtectedItem

Name Description Value
protectedItemType The backup item type. 'MabFileFolderProtectedItem'
computerName The name of the computer associated with this backup item. string
extendedInfo Additional information for the backup item. MabFileFolderProtectedItemExtendedInfo
friendlyName The friendly name of this backup item. string
isScheduledForDeferredDelete bool
lastBackupStatus The status of last backup operation. string
protectionState The states for this property are: Protected, ProtectionStopped, IRPending, or ProtectionError. string

MabFileFolderProtectedItemExtendedInfo

Name Description Value
lastRefreshedAt The last day and time the agent synced with the service. string
oldestRecoveryPoint The oldest backup copy available. string
recoveryPointCount The number of backup copies associated with the backup item. int

AzureIaaSClassicComputeVMProtectedItem

Name Description Value
protectedItemType The backup item type. 'Microsoft.ClassicCompute/virtualMachines'

AzureIaaSComputeVMProtectedItem

Name Description Value
protectedItemType The backup item type. 'Microsoft.Compute/virtualMachines'

AzureSqlProtectedItem

Name Description Value
protectedItemType The backup item type. 'Microsoft.Sql/servers/databases'
extendedInfo Additional information for the Azure SQL specific backup item. AzureSqlProtectedItemExtendedInfo
protectedItemDataId The internal ID of a backup item. The internal ID is used by the Azure SQL Backup engine to contact Recovery Services. string
protectionState The backup state of the backup item. 'IRPending'
'Invalid'
'Protected'
'ProtectionError'
'ProtectionPaused'
'ProtectionStopped'

AzureSqlProtectedItemExtendedInfo

Name Description Value
oldestRecoveryPoint The oldest backup copy available for this item in the service. string
policyState The state of the backup policy associated with this backup item. string
recoveryPointCount The number of available backup copies for this backup item. int

Quickstart templates

The following quickstart templates deploy this resource type.

Template Description
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
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.
Backup existing File Share using Recovery Services

Deploy to Azure
This template configures protection for an existing File Share present in an existing Storage Account. It creates a new or uses an existing Recovery Services Vault and Backup Policy based on the set parameter values.
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 a 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