Microsoft.RecoveryServices vaults/replicationFabrics/replicationProtectionContainers/replicationProtectedItems template reference

Template format

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

{
  "name": "string",
  "type": "Microsoft.RecoveryServices/vaults/replicationFabrics/replicationProtectionContainers/replicationProtectedItems",
  "apiVersion": "2018-07-10",
  "properties": {
    "policyId": "string",
    "protectableItemId": "string",
    "providerSpecificDetails": {
      "instanceType": "string"
    }
  }
}

Property values

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

Microsoft.RecoveryServices/vaults/replicationFabrics/replicationProtectionContainers/replicationProtectedItems object

Name Type Required Value
name string Yes
type enum Yes replicationProtectedItems
-or-
Microsoft.RecoveryServices/vaults/replicationFabrics/replicationProtectionContainers/replicationProtectedItems

See Set name and type for child resources.
apiVersion enum Yes 2018-07-10
properties object Yes Enable protection input properties. - EnableProtectionInputProperties object

EnableProtectionInputProperties object

Name Type Required Value
policyId string No The Policy Id.
protectableItemId string No The protectable item Id.
providerSpecificDetails object No The ReplicationProviderInput. For HyperVReplicaAzure provider, it will be AzureEnableProtectionInput object. For San provider, it will be SanEnableProtectionInput object. For HyperVReplicaAzure provider, it can be null. - EnableProtectionProviderSpecificInput object

EnableProtectionProviderSpecificInput object

Name Type Required Value
instanceType string Yes