Microsoft.RecoveryServices vaults/replicationFabrics/replicationProtectionContainers 2021-02-10

Bicep resource definition

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

resource symbolicname 'Microsoft.RecoveryServices/vaults/replicationFabrics/replicationProtectionContainers@2021-02-10' = {
  name: 'string'
  parent: resourceSymbolicName
  properties: {
    providerSpecificInput: [
      {
        instanceType: 'string'
        // For remaining properties, see ReplicationProviderSpecificContainerCreationInput objects
      }
    ]
  }
}

ReplicationProviderSpecificContainerCreationInput objects

Set the instanceType property to specify the type of object.

For A2A, use:

  instanceType: 'A2A'

For A2ACrossClusterMigration, use:

  instanceType: 'A2ACrossClusterMigration'

For VMwareCbt, use:

  instanceType: 'VMwareCbt'

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: replicationFabrics
properties Create protection container input properties. CreateProtectionContainerInputPropertiesOrProtection...

CreateProtectionContainerInputPropertiesOrProtection...

Name Description Value
providerSpecificInput Provider specific inputs for container creation. ReplicationProviderSpecificContainerCreationInput[]

ReplicationProviderSpecificContainerCreationInput

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

A2AContainerCreationInput

Name Description Value
instanceType The class type. 'A2A' (required)

A2ACrossClusterMigrationContainerCreationInput

Name Description Value
instanceType The class type. 'A2ACrossClusterMigration' (required)

VMwareCbtContainerCreationInput

Name Description Value
instanceType The class type. 'VMwareCbt' (required)

ARM template resource definition

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

{
  "type": "Microsoft.RecoveryServices/vaults/replicationFabrics/replicationProtectionContainers",
  "apiVersion": "2021-02-10",
  "name": "string",
  "properties": {
    "providerSpecificInput": [
      {
        "instanceType": "string"
        // For remaining properties, see ReplicationProviderSpecificContainerCreationInput objects
      }
    ]
  }
}

ReplicationProviderSpecificContainerCreationInput objects

Set the instanceType property to specify the type of object.

For A2A, use:

  "instanceType": "A2A"

For A2ACrossClusterMigration, use:

  "instanceType": "A2ACrossClusterMigration"

For VMwareCbt, use:

  "instanceType": "VMwareCbt"

Property values

vaults/replicationFabrics/replicationProtectionConta...

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

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

CreateProtectionContainerInputPropertiesOrProtection...

Name Description Value
providerSpecificInput Provider specific inputs for container creation. ReplicationProviderSpecificContainerCreationInput[]

ReplicationProviderSpecificContainerCreationInput

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

A2AContainerCreationInput

Name Description Value
instanceType The class type. 'A2A' (required)

A2ACrossClusterMigrationContainerCreationInput

Name Description Value
instanceType The class type. 'A2ACrossClusterMigration' (required)

VMwareCbtContainerCreationInput

Name Description Value
instanceType The class type. 'VMwareCbt' (required)

Terraform (AzAPI provider) resource definition

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

resource "azapi_resource" "symbolicname" {
  type = "Microsoft.RecoveryServices/vaults/replicationFabrics/replicationProtectionContainers@2021-02-10"
  name = "string"
  parent_id = "string"
  body = jsonencode({
    properties = {
      providerSpecificInput = [
        {
          instanceType = "string"
          // For remaining properties, see ReplicationProviderSpecificContainerCreationInput objects
        }
      ]
    }
  })
}

ReplicationProviderSpecificContainerCreationInput objects

Set the instanceType property to specify the type of object.

For A2A, use:

  instanceType = "A2A"

For A2ACrossClusterMigration, use:

  instanceType = "A2ACrossClusterMigration"

For VMwareCbt, use:

  instanceType = "VMwareCbt"

Property values

vaults/replicationFabrics/replicationProtectionConta...

Name Description Value
type The resource type "Microsoft.RecoveryServices/vaults/replicationFabrics/replicationProtectionContainers@2021-02-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: replicationFabrics
properties Create protection container input properties. CreateProtectionContainerInputPropertiesOrProtection...

CreateProtectionContainerInputPropertiesOrProtection...

Name Description Value
providerSpecificInput Provider specific inputs for container creation. ReplicationProviderSpecificContainerCreationInput[]

ReplicationProviderSpecificContainerCreationInput

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

A2AContainerCreationInput

Name Description Value
instanceType The class type. "A2A" (required)

A2ACrossClusterMigrationContainerCreationInput

Name Description Value
instanceType The class type. "A2ACrossClusterMigration" (required)

VMwareCbtContainerCreationInput

Name Description Value
instanceType The class type. "VMwareCbt" (required)