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' = {
  parent: resourceSymbolicName
  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:

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

Property values

EnableMigrationInputPropertiesOrMigrationItemProperties

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

EnableMigrationProviderSpecificInputOrMigrationProviderSpecificSettings

Name Description Value
instanceType Set to 'VMwareCbt' for type VMwareCbtEnableMigrationInputOrVMwareCbtMigrationDetails. 'VMwareCbt' (required)

Microsoft.RecoveryServices/vaults/replicationFabrics/replicationProtectionContainers/replicationMigrationItems

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 Enable migration input properties. EnableMigrationInputPropertiesOrMigrationItemProperties (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)

VMwareCbtEnableMigrationInputOrVMwareCbtMigrationDetails

Name Description Value
dataMoverRunAsAccountId The data mover RunAs account Id. string (required)
disksToInclude The disks to include list. VMwareCbtDiskInput[] (required)
instanceType The class type. 'VMwareCbt' (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)

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:

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

Property values

EnableMigrationInputPropertiesOrMigrationItemProperties

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

EnableMigrationProviderSpecificInputOrMigrationProviderSpecificSettings

Name Description Value
instanceType Set to 'VMwareCbt' for type VMwareCbtEnableMigrationInputOrVMwareCbtMigrationDetails. 'VMwareCbt' (required)

Microsoft.RecoveryServices/vaults/replicationFabrics/replicationProtectionContainers/replicationMigrationItems

Name Description Value
apiVersion The api version '2021-03-01'
name The resource name string (required)
properties Enable migration input properties. EnableMigrationInputPropertiesOrMigrationItemProperties (required)
type The resource type 'Microsoft.RecoveryServices/vaults/replicationFabrics/replicationProtectionContainers/replicationMigrationItems'

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)

VMwareCbtEnableMigrationInputOrVMwareCbtMigrationDetails

Name Description Value
dataMoverRunAsAccountId The data mover RunAs account Id. string (required)
disksToInclude The disks to include list. VMwareCbtDiskInput[] (required)
instanceType The class type. 'VMwareCbt' (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)

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"
  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:

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

Property values

EnableMigrationInputPropertiesOrMigrationItemProperties

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

EnableMigrationProviderSpecificInputOrMigrationProviderSpecificSettings

Name Description Value
instanceType Set to 'VMwareCbt' for type VMwareCbtEnableMigrationInputOrVMwareCbtMigrationDetails. 'VMwareCbt' (required)

Microsoft.RecoveryServices/vaults/replicationFabrics/replicationProtectionContainers/replicationMigrationItems

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

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)

VMwareCbtEnableMigrationInputOrVMwareCbtMigrationDetails

Name Description Value
dataMoverRunAsAccountId The data mover RunAs account Id. string (required)
disksToInclude The disks to include list. VMwareCbtDiskInput[] (required)
instanceType The class type. 'VMwareCbt' (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)