Microsoft.RecoveryServices vaults/replicationFabrics/replicationProtectionContainers/replicationMigrationItems 2021-03-01

Bicep resource definition

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

resource symbolicname 'Microsoft.RecoveryServices/vaults/replicationFabrics/replicationProtectionContainers/replicationMigrationItems@2021-03-01' = {
  name: 'string'
  parent: resourceSymbolicName
  properties: {
    policyId: 'string'
    providerSpecificDetails: {
      instanceType: 'string'
      // For remaining properties, see EnableMigrationProviderSpecificInputOrMigrationProviderSpecificSettings objects
    }
  }
}

EnableMigrationProviderSpecificInputOrMigrationProviderSpecificSettings objects

Set the instanceType property to specify the type of object.

For VMwareCbt, use:

  instanceType: 'VMwareCbt'
  dataMoverRunAsAccountId: 'string'
  disksToInclude: [
    {
      diskId: 'string'
      diskType: 'string'
      isOSDisk: 'string'
      logStorageAccountId: 'string'
      logStorageAccountSasSecretName: 'string'
    }
  ]
  licenseType: 'string'
  snapshotRunAsAccountId: 'string'
  targetAvailabilitySetId: 'string'
  targetBootDiagnosticsStorageAccountId: 'string'
  targetNetworkId: 'string'
  targetResourceGroupId: 'string'
  targetSubnetName: 'string'
  targetVmName: 'string'
  targetVmSize: 'string'
  vmwareMachineId: '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 Enable migration input properties. EnableMigrationInputPropertiesOrMigrationItemPropert... (required)

EnableMigrationInputPropertiesOrMigrationItemPropert...

Name Description Value
policyId The policy Id. string (required)
providerSpecificDetails The provider specific details. EnableMigrationProviderSpecificInputOrMigrationProvi... (required)

EnableMigrationProviderSpecificInputOrMigrationProvi...

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

VMwareCbtEnableMigrationInputOrVMwareCbtMigrationDet...

Name Description Value
instanceType The class type. 'VMwareCbt' (required)
dataMoverRunAsAccountId The data mover RunAs account Id. string (required)
disksToInclude The disks to include list. VMwareCbtDiskInput[] (required)
licenseType License type. 'NoLicenseType'
'NotSpecified'
'WindowsServer'
snapshotRunAsAccountId The snapshot RunAs account Id. string (required)
targetAvailabilitySetId The target availability set ARM Id. string
targetBootDiagnosticsStorageAccountId The target boot diagnostics storage account ARM Id. string
targetNetworkId The target network ARM Id. string (required)
targetResourceGroupId The target resource group ARM Id. string (required)
targetSubnetName The target subnet name. string
targetVmName The target VM name. string
targetVmSize The target VM size. string
vmwareMachineId The ARM Id of the VM discovered in VMware. string (required)

VMwareCbtDiskInput

Name Description Value
diskId The disk Id. string (required)
diskType The disk type. 'Premium_LRS'
'StandardSSD_LRS'
'Standard_LRS'
isOSDisk A value indicating whether the disk is the OS disk. string (required)
logStorageAccountId The log storage account ARM Id. string (required)
logStorageAccountSasSecretName The key vault secret name of the log storage account. string (required)

ARM template resource definition

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

{
  "type": "Microsoft.RecoveryServices/vaults/replicationFabrics/replicationProtectionContainers/replicationMigrationItems",
  "apiVersion": "2021-03-01",
  "name": "string",
  "properties": {
    "policyId": "string",
    "providerSpecificDetails": {
      "instanceType": "string"
      // For remaining properties, see EnableMigrationProviderSpecificInputOrMigrationProviderSpecificSettings objects
    }
  }
}

EnableMigrationProviderSpecificInputOrMigrationProviderSpecificSettings objects

Set the instanceType property to specify the type of object.

For VMwareCbt, use:

  "instanceType": "VMwareCbt",
  "dataMoverRunAsAccountId": "string",
  "disksToInclude": [
    {
      "diskId": "string",
      "diskType": "string",
      "isOSDisk": "string",
      "logStorageAccountId": "string",
      "logStorageAccountSasSecretName": "string"
    }
  ],
  "licenseType": "string",
  "snapshotRunAsAccountId": "string",
  "targetAvailabilitySetId": "string",
  "targetBootDiagnosticsStorageAccountId": "string",
  "targetNetworkId": "string",
  "targetResourceGroupId": "string",
  "targetSubnetName": "string",
  "targetVmName": "string",
  "targetVmSize": "string",
  "vmwareMachineId": "string"

Property values

vaults/replicationFabrics/replicationProtectionConta...

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

See how to set names and types for child resources in JSON ARM templates.
string (required)
properties Enable migration input properties. EnableMigrationInputPropertiesOrMigrationItemPropert... (required)

EnableMigrationInputPropertiesOrMigrationItemPropert...

Name Description Value
policyId The policy Id. string (required)
providerSpecificDetails The provider specific details. EnableMigrationProviderSpecificInputOrMigrationProvi... (required)

EnableMigrationProviderSpecificInputOrMigrationProvi...

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

VMwareCbtEnableMigrationInputOrVMwareCbtMigrationDet...

Name Description Value
instanceType The class type. 'VMwareCbt' (required)
dataMoverRunAsAccountId The data mover RunAs account Id. string (required)
disksToInclude The disks to include list. VMwareCbtDiskInput[] (required)
licenseType License type. 'NoLicenseType'
'NotSpecified'
'WindowsServer'
snapshotRunAsAccountId The snapshot RunAs account Id. string (required)
targetAvailabilitySetId The target availability set ARM Id. string
targetBootDiagnosticsStorageAccountId The target boot diagnostics storage account ARM Id. string
targetNetworkId The target network ARM Id. string (required)
targetResourceGroupId The target resource group ARM Id. string (required)
targetSubnetName The target subnet name. string
targetVmName The target VM name. string
targetVmSize The target VM size. string
vmwareMachineId The ARM Id of the VM discovered in VMware. string (required)

VMwareCbtDiskInput

Name Description Value
diskId The disk Id. string (required)
diskType The disk type. 'Premium_LRS'
'StandardSSD_LRS'
'Standard_LRS'
isOSDisk A value indicating whether the disk is the OS disk. string (required)
logStorageAccountId The log storage account ARM Id. string (required)
logStorageAccountSasSecretName The key vault secret name of the log storage account. string (required)

Terraform (AzAPI provider) resource definition

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

resource "azapi_resource" "symbolicname" {
  type = "Microsoft.RecoveryServices/vaults/replicationFabrics/replicationProtectionContainers/replicationMigrationItems@2021-03-01"
  name = "string"
  parent_id = "string"
  body = jsonencode({
    properties = {
      policyId = "string"
      providerSpecificDetails = {
        instanceType = "string"
        // For remaining properties, see EnableMigrationProviderSpecificInputOrMigrationProviderSpecificSettings objects
      }
    }
  })
}

EnableMigrationProviderSpecificInputOrMigrationProviderSpecificSettings objects

Set the instanceType property to specify the type of object.

For VMwareCbt, use:

  instanceType = "VMwareCbt"
  dataMoverRunAsAccountId = "string"
  disksToInclude = [
    {
      diskId = "string"
      diskType = "string"
      isOSDisk = "string"
      logStorageAccountId = "string"
      logStorageAccountSasSecretName = "string"
    }
  ]
  licenseType = "string"
  snapshotRunAsAccountId = "string"
  targetAvailabilitySetId = "string"
  targetBootDiagnosticsStorageAccountId = "string"
  targetNetworkId = "string"
  targetResourceGroupId = "string"
  targetSubnetName = "string"
  targetVmName = "string"
  targetVmSize = "string"
  vmwareMachineId = "string"

Property values

vaults/replicationFabrics/replicationProtectionConta...

Name Description Value
type The resource type "Microsoft.RecoveryServices/vaults/replicationFabrics/replicationProtectionContainers/replicationMigrationItems@2021-03-01"
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 Enable migration input properties. EnableMigrationInputPropertiesOrMigrationItemPropert... (required)

EnableMigrationInputPropertiesOrMigrationItemPropert...

Name Description Value
policyId The policy Id. string (required)
providerSpecificDetails The provider specific details. EnableMigrationProviderSpecificInputOrMigrationProvi... (required)

EnableMigrationProviderSpecificInputOrMigrationProvi...

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

VMwareCbtEnableMigrationInputOrVMwareCbtMigrationDet...

Name Description Value
instanceType The class type. "VMwareCbt" (required)
dataMoverRunAsAccountId The data mover RunAs account Id. string (required)
disksToInclude The disks to include list. VMwareCbtDiskInput[] (required)
licenseType License type. "NoLicenseType"
"NotSpecified"
"WindowsServer"
snapshotRunAsAccountId The snapshot RunAs account Id. string (required)
targetAvailabilitySetId The target availability set ARM Id. string
targetBootDiagnosticsStorageAccountId The target boot diagnostics storage account ARM Id. string
targetNetworkId The target network ARM Id. string (required)
targetResourceGroupId The target resource group ARM Id. string (required)
targetSubnetName The target subnet name. string
targetVmName The target VM name. string
targetVmSize The target VM size. string
vmwareMachineId The ARM Id of the VM discovered in VMware. string (required)

VMwareCbtDiskInput

Name Description Value
diskId The disk Id. string (required)
diskType The disk type. "Premium_LRS"
"StandardSSD_LRS"
"Standard_LRS"
isOSDisk A value indicating whether the disk is the OS disk. string (required)
logStorageAccountId The log storage account ARM Id. string (required)
logStorageAccountSasSecretName The key vault secret name of the log storage account. string (required)