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

Bicep resource definition

The vaults/replicationFabrics/replicationProtectionContainers/replicationMigrationItems resource type can be deployed to:

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-04-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: [
    {
      diskEncryptionSetId: 'string'
      diskId: 'string'
      diskType: 'string'
      isOSDisk: 'string'
      logStorageAccountId: 'string'
      logStorageAccountSasSecretName: 'string'
    }
  ]
  licenseType: 'string'
  performAutoResync: 'string'
  seedDiskTags: {}
  snapshotRunAsAccountId: 'string'
  sqlServerLicenseType: 'string'
  targetAvailabilitySetId: 'string'
  targetAvailabilityZone: 'string'
  targetBootDiagnosticsStorageAccountId: 'string'
  targetDiskTags: {}
  targetNetworkId: 'string'
  targetNicTags: {}
  targetProximityPlacementGroupId: 'string'
  targetResourceGroupId: 'string'
  targetSubnetName: 'string'
  targetVmName: 'string'
  targetVmSize: 'string'
  targetVmTags: {}
  vmwareMachineId: 'string'

Property values

vaults/replicationFabrics/replicationProtectionContainers/replicationMigrationItems

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)

EnableMigrationInputPropertiesOrMigrationItemProperties

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

EnableMigrationProviderSpecificInputOrMigrationProviderSpecificSettings

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

VMwareCbtEnableMigrationInputOrVMwareCbtMigrationDetails

Name Description Value
instanceType The class type. 'VMwareCbt' (required)
dataMoverRunAsAccountId The data mover run as account Id. string (required)
disksToInclude The disks to include list. VMwareCbtDiskInput[] (required)
licenseType License type. 'NoLicenseType'
'NotSpecified'
'WindowsServer'
performAutoResync A value indicating whether auto resync is to be done. string
seedDiskTags The tags for the seed disks. object
snapshotRunAsAccountId The snapshot run as account Id. string (required)
sqlServerLicenseType The SQL Server license type. 'AHUB'
'NoLicenseType'
'NotSpecified'
'PAYG'
targetAvailabilitySetId The target availability set ARM Id. string
targetAvailabilityZone The target availability zone. string
targetBootDiagnosticsStorageAccountId The target boot diagnostics storage account ARM Id. string
targetDiskTags The tags for the target disks. object
targetNetworkId The target network ARM Id. string (required)
targetNicTags The tags for the target NICs. object
targetProximityPlacementGroupId The target proximity placement group ARM Id. string
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
targetVmTags The target VM tags. object
vmwareMachineId The ARM Id of the VM discovered in VMware. string (required)

VMwareCbtDiskInput

Name Description Value
diskEncryptionSetId The DiskEncryptionSet ARM Id. string
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 to:

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-04-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": [
    {
      "diskEncryptionSetId": "string",
      "diskId": "string",
      "diskType": "string",
      "isOSDisk": "string",
      "logStorageAccountId": "string",
      "logStorageAccountSasSecretName": "string"
    }
  ],
  "licenseType": "string",
  "performAutoResync": "string",
  "seedDiskTags": {},
  "snapshotRunAsAccountId": "string",
  "sqlServerLicenseType": "string",
  "targetAvailabilitySetId": "string",
  "targetAvailabilityZone": "string",
  "targetBootDiagnosticsStorageAccountId": "string",
  "targetDiskTags": {},
  "targetNetworkId": "string",
  "targetNicTags": {},
  "targetProximityPlacementGroupId": "string",
  "targetResourceGroupId": "string",
  "targetSubnetName": "string",
  "targetVmName": "string",
  "targetVmSize": "string",
  "targetVmTags": {},
  "vmwareMachineId": "string"

Property values

vaults/replicationFabrics/replicationProtectionContainers/replicationMigrationItems

Name Description Value
type The resource type 'Microsoft.RecoveryServices/vaults/replicationFabrics/replicationProtectionContainers/replicationMigrationItems'
apiVersion The resource api version '2021-04-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)

EnableMigrationInputPropertiesOrMigrationItemProperties

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

EnableMigrationProviderSpecificInputOrMigrationProviderSpecificSettings

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

VMwareCbtEnableMigrationInputOrVMwareCbtMigrationDetails

Name Description Value
instanceType The class type. 'VMwareCbt' (required)
dataMoverRunAsAccountId The data mover run as account Id. string (required)
disksToInclude The disks to include list. VMwareCbtDiskInput[] (required)
licenseType License type. 'NoLicenseType'
'NotSpecified'
'WindowsServer'
performAutoResync A value indicating whether auto resync is to be done. string
seedDiskTags The tags for the seed disks. object
snapshotRunAsAccountId The snapshot run as account Id. string (required)
sqlServerLicenseType The SQL Server license type. 'AHUB'
'NoLicenseType'
'NotSpecified'
'PAYG'
targetAvailabilitySetId The target availability set ARM Id. string
targetAvailabilityZone The target availability zone. string
targetBootDiagnosticsStorageAccountId The target boot diagnostics storage account ARM Id. string
targetDiskTags The tags for the target disks. object
targetNetworkId The target network ARM Id. string (required)
targetNicTags The tags for the target NICs. object
targetProximityPlacementGroupId The target proximity placement group ARM Id. string
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
targetVmTags The target VM tags. object
vmwareMachineId The ARM Id of the VM discovered in VMware. string (required)

VMwareCbtDiskInput

Name Description Value
diskEncryptionSetId The DiskEncryptionSet ARM Id. string
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 to:

  • 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-04-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 = [
    {
      diskEncryptionSetId = "string"
      diskId = "string"
      diskType = "string"
      isOSDisk = "string"
      logStorageAccountId = "string"
      logStorageAccountSasSecretName = "string"
    }
  ]
  licenseType = "string"
  performAutoResync = "string"
  seedDiskTags = {}
  snapshotRunAsAccountId = "string"
  sqlServerLicenseType = "string"
  targetAvailabilitySetId = "string"
  targetAvailabilityZone = "string"
  targetBootDiagnosticsStorageAccountId = "string"
  targetDiskTags = {}
  targetNetworkId = "string"
  targetNicTags = {}
  targetProximityPlacementGroupId = "string"
  targetResourceGroupId = "string"
  targetSubnetName = "string"
  targetVmName = "string"
  targetVmSize = "string"
  targetVmTags = {}
  vmwareMachineId = "string"

Property values

vaults/replicationFabrics/replicationProtectionContainers/replicationMigrationItems

Name Description Value
type The resource type "Microsoft.RecoveryServices/vaults/replicationFabrics/replicationProtectionContainers/replicationMigrationItems@2021-04-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)

EnableMigrationInputPropertiesOrMigrationItemProperties

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

EnableMigrationProviderSpecificInputOrMigrationProviderSpecificSettings

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

VMwareCbtEnableMigrationInputOrVMwareCbtMigrationDetails

Name Description Value
instanceType The class type. "VMwareCbt" (required)
dataMoverRunAsAccountId The data mover run as account Id. string (required)
disksToInclude The disks to include list. VMwareCbtDiskInput[] (required)
licenseType License type. "NoLicenseType"
"NotSpecified"
"WindowsServer"
performAutoResync A value indicating whether auto resync is to be done. string
seedDiskTags The tags for the seed disks. object
snapshotRunAsAccountId The snapshot run as account Id. string (required)
sqlServerLicenseType The SQL Server license type. "AHUB"
"NoLicenseType"
"NotSpecified"
"PAYG"
targetAvailabilitySetId The target availability set ARM Id. string
targetAvailabilityZone The target availability zone. string
targetBootDiagnosticsStorageAccountId The target boot diagnostics storage account ARM Id. string
targetDiskTags The tags for the target disks. object
targetNetworkId The target network ARM Id. string (required)
targetNicTags The tags for the target NICs. object
targetProximityPlacementGroupId The target proximity placement group ARM Id. string
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
targetVmTags The target VM tags. object
vmwareMachineId The ARM Id of the VM discovered in VMware. string (required)

VMwareCbtDiskInput

Name Description Value
diskEncryptionSetId The DiskEncryptionSet ARM Id. string
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)