Microsoft.RecoveryServices vaults/backupFabrics/protectionContainers

Template format

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

{
  "name": "string",
  "type": "Microsoft.RecoveryServices/vaults/backupFabrics/protectionContainers",
  "apiVersion": "2016-12-01",
  "location": "string",
  "tags": {},
  "properties": {
    "friendlyName": "string",
    "backupManagementType": "string",
    "registrationStatus": "string",
    "healthStatus": "string",
    "containerType": "string"
  }
}

Property values

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

Microsoft.RecoveryServices/vaults/backupFabrics/protectionContainers object

Note

In Bicep, type and apiVersion are specified in the first line of the resource declaration. Use the format <type>@<apiVersion>. Don't set those properties in the resource body.

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

See Set name and type for child resources.
apiVersion enum Yes For JSON - 2016-12-01
location string No Resource location.
tags object No Resource tags.
properties object Yes ProtectionContainerResource properties - ProtectionContainer object

ProtectionContainer object

Name Type Required Value
friendlyName string No Friendly name of the container.
backupManagementType enum No Type of backup management for the container. - Invalid, AzureIaasVM, MAB, DPM, AzureBackupServer, AzureSql, AzureStorage, AzureWorkload, DefaultBackup
registrationStatus string No Status of registration of the container with the Recovery Services Vault.
healthStatus string No Status of health of the container.
containerType string Yes

Quickstart templates

The following quickstart templates deploy this resource type.

Template Description
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.
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