Microsoft.RecoveryServices vaults/replicationFabrics/replicationProtectionContainers/replicationProtectionContainerMappings 2022-09-10

Bicep resource definition

The vaults/replicationFabrics/replicationProtectionContainers/replicationProtectionContainerMappings resource type can be deployed with operations that target:

For a list of changed properties in each API version, see change log.

Resource format

To create a Microsoft.RecoveryServices/vaults/replicationFabrics/replicationProtectionContainers/replicationProtectionContainerMappings resource, add the following Bicep to your template.

resource symbolicname 'Microsoft.RecoveryServices/vaults/replicationFabrics/replicationProtectionContainers/replicationProtectionContainerMappings@2022-09-10' = {
  name: 'string'
  parent: resourceSymbolicName
  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'
  automationAccountAuthenticationType: 'string'

For VMwareCbt, use:

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

Property values

vaults/replicationFabrics/replicationProtectionConta...

Name Description Value
name The resource name

See how to set names and types for child resources in Bicep.
string (required)
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.
Symbolic name for resource of type: replicationProtectionContainers
properties Configure protection input properties. CreateProtectionContainerMappingInputPropertiesOrPro...

CreateProtectionContainerMappingInputPropertiesOrPro...

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

ReplicationProviderSpecificContainerMappingInput

Name Description Value
instanceType Set the object type A2A
VMwareCbt (required)

A2AContainerMappingInput

Name Description Value
instanceType The class type. 'A2A' (required)
agentAutoUpdateStatus A value indicating whether the auto update is enabled. 'Disabled'
'Enabled'
automationAccountArmId The automation account arm id. string
automationAccountAuthenticationType A value indicating the type authentication to use for automation Account. 'RunAsAccount'
'SystemAssignedIdentity'

VMwareCbtContainerMappingInput

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

ARM template resource definition

The vaults/replicationFabrics/replicationProtectionContainers/replicationProtectionContainerMappings resource type can be deployed with operations that target:

For a list of changed properties in each API version, see change log.

Resource format

To create a Microsoft.RecoveryServices/vaults/replicationFabrics/replicationProtectionContainers/replicationProtectionContainerMappings resource, add the following JSON to your template.

{
  "type": "Microsoft.RecoveryServices/vaults/replicationFabrics/replicationProtectionContainers/replicationProtectionContainerMappings",
  "apiVersion": "2022-09-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",
  "automationAccountAuthenticationType": "string"

For VMwareCbt, use:

  "instanceType": "VMwareCbt",
  "keyVaultId": "string",
  "keyVaultUri": "string",
  "serviceBusConnectionStringSecretName": "string",
  "storageAccountId": "string",
  "storageAccountSasSecretName": "string",
  "targetLocation": "string"

Property values

vaults/replicationFabrics/replicationProtectionConta...

Name Description Value
type The resource type 'Microsoft.RecoveryServices/vaults/replicationFabrics/replicationProtectionContainers/replicationProtectionContainerMappings'
apiVersion The resource api version '2022-09-10'
name The resource name

See how to set names and types for child resources in JSON ARM templates.
string (required)
properties Configure protection input properties. CreateProtectionContainerMappingInputPropertiesOrPro...

CreateProtectionContainerMappingInputPropertiesOrPro...

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

ReplicationProviderSpecificContainerMappingInput

Name Description Value
instanceType Set the object type A2A
VMwareCbt (required)

A2AContainerMappingInput

Name Description Value
instanceType The class type. 'A2A' (required)
agentAutoUpdateStatus A value indicating whether the auto update is enabled. 'Disabled'
'Enabled'
automationAccountArmId The automation account arm id. string
automationAccountAuthenticationType A value indicating the type authentication to use for automation Account. 'RunAsAccount'
'SystemAssignedIdentity'

VMwareCbtContainerMappingInput

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

Terraform (AzAPI provider) resource definition

The vaults/replicationFabrics/replicationProtectionContainers/replicationProtectionContainerMappings resource type can be deployed with operations that target:

  • Resource groups

For a list of changed properties in each API version, see change log.

Resource format

To create a Microsoft.RecoveryServices/vaults/replicationFabrics/replicationProtectionContainers/replicationProtectionContainerMappings resource, add the following Terraform to your template.

resource "azapi_resource" "symbolicname" {
  type = "Microsoft.RecoveryServices/vaults/replicationFabrics/replicationProtectionContainers/replicationProtectionContainerMappings@2022-09-10"
  name = "string"
  parent_id = "string"
  body = jsonencode({
    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"
  automationAccountAuthenticationType = "string"

For VMwareCbt, use:

  instanceType = "VMwareCbt"
  keyVaultId = "string"
  keyVaultUri = "string"
  serviceBusConnectionStringSecretName = "string"
  storageAccountId = "string"
  storageAccountSasSecretName = "string"
  targetLocation = "string"

Property values

vaults/replicationFabrics/replicationProtectionConta...

Name Description Value
type The resource type "Microsoft.RecoveryServices/vaults/replicationFabrics/replicationProtectionContainers/replicationProtectionContainerMappings@2022-09-10"
name The resource name string (required)
parent_id The ID of the resource that is the parent for this resource. ID for resource of type: replicationProtectionContainers
properties Configure protection input properties. CreateProtectionContainerMappingInputPropertiesOrPro...

CreateProtectionContainerMappingInputPropertiesOrPro...

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

ReplicationProviderSpecificContainerMappingInput

Name Description Value
instanceType Set the object type A2A
VMwareCbt (required)

A2AContainerMappingInput

Name Description Value
instanceType The class type. "A2A" (required)
agentAutoUpdateStatus A value indicating whether the auto update is enabled. "Disabled"
"Enabled"
automationAccountArmId The automation account arm id. string
automationAccountAuthenticationType A value indicating the type authentication to use for automation Account. "RunAsAccount"
"SystemAssignedIdentity"

VMwareCbtContainerMappingInput

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