Microsoft.RecoveryServices vaults/replicationFabrics/replicationProtectionContainers/replicationProtectionContainerMappings 2024-02-01

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@2024-02-01' = {
  parent: resourceSymbolicName
  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:

{
  agentAutoUpdateStatus: 'string'
  automationAccountArmId: 'string'
  automationAccountAuthenticationType: 'string'
  instanceType: 'A2A'
}

For VMwareCbt, use:

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

Property values

A2AContainerMappingInput

Name Description Value
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'
instanceType The class type. 'A2A' (required)

CreateProtectionContainerMappingInputPropertiesOrProtectionContainerMappingProperties

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

Microsoft.RecoveryServices/vaults/replicationFabrics/replicationProtectionContainers/replicationProtectionContainerMappings

Name Description Value
name The resource name 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: vaults/replicationFabrics/replicationProtectionContainers
properties Configure protection input properties. CreateProtectionContainerMappingInputPropertiesOrProtectionContainerMappingProperties

ReplicationProviderSpecificContainerMappingInput

Name Description Value
instanceType Set to 'A2A' for type A2AContainerMappingInput. Set to 'VMwareCbt' for type VMwareCbtContainerMappingInput. 'A2A'
'VMwareCbt' (required)

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": "2024-02-01",
  "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:

{
  "agentAutoUpdateStatus": "string",
  "automationAccountArmId": "string",
  "automationAccountAuthenticationType": "string",
  "instanceType": "A2A"
}

For VMwareCbt, use:

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

Property values

A2AContainerMappingInput

Name Description Value
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'
instanceType The class type. 'A2A' (required)

CreateProtectionContainerMappingInputPropertiesOrProtectionContainerMappingProperties

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

Microsoft.RecoveryServices/vaults/replicationFabrics/replicationProtectionContainers/replicationProtectionContainerMappings

Name Description Value
apiVersion The api version '2024-02-01'
name The resource name string (required)
properties Configure protection input properties. CreateProtectionContainerMappingInputPropertiesOrProtectionContainerMappingProperties
type The resource type 'Microsoft.RecoveryServices/vaults/replicationFabrics/replicationProtectionContainers/replicationProtectionContainerMappings'

ReplicationProviderSpecificContainerMappingInput

Name Description Value
instanceType Set to 'A2A' for type A2AContainerMappingInput. Set to 'VMwareCbt' for type VMwareCbtContainerMappingInput. 'A2A'
'VMwareCbt' (required)

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@2024-02-01"
  name = "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:

{
  agentAutoUpdateStatus = "string"
  automationAccountArmId = "string"
  automationAccountAuthenticationType = "string"
  instanceType = "A2A"
}

For VMwareCbt, use:

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

Property values

A2AContainerMappingInput

Name Description Value
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'
instanceType The class type. 'A2A' (required)

CreateProtectionContainerMappingInputPropertiesOrProtectionContainerMappingProperties

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

Microsoft.RecoveryServices/vaults/replicationFabrics/replicationProtectionContainers/replicationProtectionContainerMappings

Name Description Value
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: vaults/replicationFabrics/replicationProtectionContainers
properties Configure protection input properties. CreateProtectionContainerMappingInputPropertiesOrProtectionContainerMappingProperties
type The resource type "Microsoft.RecoveryServices/vaults/replicationFabrics/replicationProtectionContainers/replicationProtectionContainerMappings@2024-02-01"

ReplicationProviderSpecificContainerMappingInput

Name Description Value
instanceType Set to 'A2A' for type A2AContainerMappingInput. Set to 'VMwareCbt' for type VMwareCbtContainerMappingInput. 'A2A'
'VMwareCbt' (required)

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)