Microsoft.RecoveryServices vaults/replicationFabrics/replicationProtectionContainers/replicationProtectionContainerMappings 2018-01-10

The vaults/replicationFabrics/replicationProtectionContainers/replicationProtectionContainerMappings 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/replicationFabrics/replicationProtectionContainers/replicationProtectionContainerMappings resource, add the following Bicep or JSON to your template.

resource symbolicname 'Microsoft.RecoveryServices/vaults/replicationFabrics/replicationProtectionContainers/replicationProtectionContainerMappings@2018-01-10' = {
  name: 'string'
  properties: {
    policyId: 'string'
    providerSpecificInput: {
      instanceType: 'string'
      // For remaining properties, see ReplicationProviderSpecificContainerMappingInput objects
    }
    targetProtectionContainerId: 'string'
  }
}

ReplicationProviderSpecificContainerMappingInput objects

Set the instanceType property to specify the type of object.

For A2A, use:

  instanceType: 'A2A'
  agentAutoUpdateStatus: 'string'
  automationAccountArmId: 'string'

For VMwareCbt, use:

  instanceType: 'VMwareCbt'
  keyVaultId: 'string'
  keyVaultUri: 'string'
  serviceBusConnectionStringSecretName: 'string'
  storageAccountId: 'string'
  storageAccountSasSecretName: 'string'
  targetLocation: 'string'

Property values

vaults/replicationFabrics/replicationProtectionContainers/replicationProtectionContainerMappings

Name Description Value
type The resource type

For Bicep, set this value in the resource declaration.
'Microsoft.RecoveryServices/vaults/replicationFabrics/replicationProtectionContainers/replicationProtectionContainerMappings'
apiVersion The resource api version

For Bicep, set this value in the resource declaration.
'2018-01-10'
name The resource name

See how to set names and types for child resources in Bicep or JSON ARM templates.
string (required)
properties Configure pairing input properties. CreateProtectionContainerMappingInputProperties

CreateProtectionContainerMappingInputProperties

Name Description Value
policyId Applicable policy. string
providerSpecificInput Provider specific input for pairing operations. ReplicationProviderSpecificContainerMappingInput
targetProtectionContainerId The target unique protection container name. string

ReplicationProviderSpecificContainerMappingInput

Name Description Value
instanceType Set the object type A2A
VMwareCbt

A2AContainerMappingInput

Name Description Value
instanceType The class type. 'A2A'
agentAutoUpdateStatus A value indicating whether the auto update is enabled. 'Disabled'
'Enabled'
automationAccountArmId The automation account arm id. string

VMwareCbtContainerMappingInput

Name Description Value
instanceType The class type. 'VMwareCbt'
keyVaultId The target key vault ARM Id. string (required)
keyVaultUri The target key vault URL. string (required)
serviceBusConnectionStringSecretName The secret name of the service bus connection string. string (required)
storageAccountId The storage account ARM Id. string (required)
storageAccountSasSecretName The secret name of the storage account. string (required)
targetLocation The target location. string (required)