Microsoft.RecoveryServices vaults/replicationFabrics/replicationProtectionContainers/replicationMigrationItems 2024-02-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@2024-02-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'
  confidentialVmKeyVaultId: 'string'
  dataMoverRunAsAccountId: 'string'
  disksToInclude: [
    {
      diskEncryptionSetId: 'string'
      diskId: 'string'
      diskType: 'string'
      isOSDisk: 'string'
      logStorageAccountId: 'string'
      logStorageAccountSasSecretName: 'string'
      sectorSizeInBytes: int
    }
  ]
  licenseType: 'string'
  linuxLicenseType: 'string'
  performAutoResync: 'string'
  performSqlBulkRegistration: 'string'
  seedDiskTags: {}
  snapshotRunAsAccountId: 'string'
  sqlServerLicenseType: 'string'
  targetAvailabilitySetId: 'string'
  targetAvailabilityZone: 'string'
  targetBootDiagnosticsStorageAccountId: 'string'
  targetDiskTags: {}
  targetNetworkId: 'string'
  targetNicTags: {}
  targetProximityPlacementGroupId: 'string'
  targetResourceGroupId: 'string'
  targetSubnetName: 'string'
  targetVmName: 'string'
  targetVmSecurityProfile: {
    isTargetVmConfidentialEncryptionEnabled: 'string'
    isTargetVmIntegrityMonitoringEnabled: 'string'
    isTargetVmSecureBootEnabled: 'string'
    isTargetVmTpmEnabled: 'string'
    targetVmSecurityType: 'string'
  }
  targetVmSize: 'string'
  targetVmTags: {}
  testNetworkId: 'string'
  testSubnetName: 'string'
  userSelectedOSName: '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)
confidentialVmKeyVaultId The confidential VM key vault Id for ADE installation. string
dataMoverRunAsAccountId The data mover run as account Id. string (required)
disksToInclude The disks to include list. VMwareCbtDiskInput[] (required)
licenseType License type. 'NoLicenseType'
'NotSpecified'
'WindowsServer'
linuxLicenseType The license type for Linux VM's. 'LinuxServer'
'NoLicenseType'
'NotSpecified'
performAutoResync A value indicating whether auto resync is to be done. string
performSqlBulkRegistration A value indicating whether bulk SQL RP registration 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
targetVmSecurityProfile The target VM security profile. VMwareCbtSecurityProfileProperties
targetVmSize The target VM size. string
targetVmTags The target VM tags. object
testNetworkId The selected test network ARM Id. string
testSubnetName The selected test subnet name. string
userSelectedOSName The OS name selected by user. string
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. 'PremiumV2_LRS'
'Premium_LRS'
'Premium_ZRS'
'StandardSSD_LRS'
'StandardSSD_ZRS'
'Standard_LRS'
'UltraSSD_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)
sectorSizeInBytes The logical sector size (in bytes), 512 by default. int

VMwareCbtSecurityProfileProperties

Name Description Value
isTargetVmConfidentialEncryptionEnabled A value indicating whether confidential compute encryption to be enabled. string
isTargetVmIntegrityMonitoringEnabled A value indicating whether integrity monitoring to be enabled. string
isTargetVmSecureBootEnabled A value indicating whether secure boot to be enabled. string
isTargetVmTpmEnabled A value indicating whether trusted platform module to be enabled. string
targetVmSecurityType The target VM security type. 'ConfidentialVM'
'None'
'TrustedLaunch'

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": "2024-02-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",
  "confidentialVmKeyVaultId": "string",
  "dataMoverRunAsAccountId": "string",
  "disksToInclude": [
    {
      "diskEncryptionSetId": "string",
      "diskId": "string",
      "diskType": "string",
      "isOSDisk": "string",
      "logStorageAccountId": "string",
      "logStorageAccountSasSecretName": "string",
      "sectorSizeInBytes": "int"
    }
  ],
  "licenseType": "string",
  "linuxLicenseType": "string",
  "performAutoResync": "string",
  "performSqlBulkRegistration": "string",
  "seedDiskTags": {},
  "snapshotRunAsAccountId": "string",
  "sqlServerLicenseType": "string",
  "targetAvailabilitySetId": "string",
  "targetAvailabilityZone": "string",
  "targetBootDiagnosticsStorageAccountId": "string",
  "targetDiskTags": {},
  "targetNetworkId": "string",
  "targetNicTags": {},
  "targetProximityPlacementGroupId": "string",
  "targetResourceGroupId": "string",
  "targetSubnetName": "string",
  "targetVmName": "string",
  "targetVmSecurityProfile": {
    "isTargetVmConfidentialEncryptionEnabled": "string",
    "isTargetVmIntegrityMonitoringEnabled": "string",
    "isTargetVmSecureBootEnabled": "string",
    "isTargetVmTpmEnabled": "string",
    "targetVmSecurityType": "string"
  },
  "targetVmSize": "string",
  "targetVmTags": {},
  "testNetworkId": "string",
  "testSubnetName": "string",
  "userSelectedOSName": "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 '2024-02-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)
confidentialVmKeyVaultId The confidential VM key vault Id for ADE installation. string
dataMoverRunAsAccountId The data mover run as account Id. string (required)
disksToInclude The disks to include list. VMwareCbtDiskInput[] (required)
licenseType License type. 'NoLicenseType'
'NotSpecified'
'WindowsServer'
linuxLicenseType The license type for Linux VM's. 'LinuxServer'
'NoLicenseType'
'NotSpecified'
performAutoResync A value indicating whether auto resync is to be done. string
performSqlBulkRegistration A value indicating whether bulk SQL RP registration 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
targetVmSecurityProfile The target VM security profile. VMwareCbtSecurityProfileProperties
targetVmSize The target VM size. string
targetVmTags The target VM tags. object
testNetworkId The selected test network ARM Id. string
testSubnetName The selected test subnet name. string
userSelectedOSName The OS name selected by user. string
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. 'PremiumV2_LRS'
'Premium_LRS'
'Premium_ZRS'
'StandardSSD_LRS'
'StandardSSD_ZRS'
'Standard_LRS'
'UltraSSD_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)
sectorSizeInBytes The logical sector size (in bytes), 512 by default. int

VMwareCbtSecurityProfileProperties

Name Description Value
isTargetVmConfidentialEncryptionEnabled A value indicating whether confidential compute encryption to be enabled. string
isTargetVmIntegrityMonitoringEnabled A value indicating whether integrity monitoring to be enabled. string
isTargetVmSecureBootEnabled A value indicating whether secure boot to be enabled. string
isTargetVmTpmEnabled A value indicating whether trusted platform module to be enabled. string
targetVmSecurityType The target VM security type. 'ConfidentialVM'
'None'
'TrustedLaunch'

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@2024-02-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"
  confidentialVmKeyVaultId = "string"
  dataMoverRunAsAccountId = "string"
  disksToInclude = [
    {
      diskEncryptionSetId = "string"
      diskId = "string"
      diskType = "string"
      isOSDisk = "string"
      logStorageAccountId = "string"
      logStorageAccountSasSecretName = "string"
      sectorSizeInBytes = int
    }
  ]
  licenseType = "string"
  linuxLicenseType = "string"
  performAutoResync = "string"
  performSqlBulkRegistration = "string"
  seedDiskTags = {}
  snapshotRunAsAccountId = "string"
  sqlServerLicenseType = "string"
  targetAvailabilitySetId = "string"
  targetAvailabilityZone = "string"
  targetBootDiagnosticsStorageAccountId = "string"
  targetDiskTags = {}
  targetNetworkId = "string"
  targetNicTags = {}
  targetProximityPlacementGroupId = "string"
  targetResourceGroupId = "string"
  targetSubnetName = "string"
  targetVmName = "string"
  targetVmSecurityProfile = {
    isTargetVmConfidentialEncryptionEnabled = "string"
    isTargetVmIntegrityMonitoringEnabled = "string"
    isTargetVmSecureBootEnabled = "string"
    isTargetVmTpmEnabled = "string"
    targetVmSecurityType = "string"
  }
  targetVmSize = "string"
  targetVmTags = {}
  testNetworkId = "string"
  testSubnetName = "string"
  userSelectedOSName = "string"
  vmwareMachineId = "string"

Property values

vaults/replicationFabrics/replicationProtectionConta...

Name Description Value
type The resource type "Microsoft.RecoveryServices/vaults/replicationFabrics/replicationProtectionContainers/replicationMigrationItems@2024-02-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)
confidentialVmKeyVaultId The confidential VM key vault Id for ADE installation. string
dataMoverRunAsAccountId The data mover run as account Id. string (required)
disksToInclude The disks to include list. VMwareCbtDiskInput[] (required)
licenseType License type. "NoLicenseType"
"NotSpecified"
"WindowsServer"
linuxLicenseType The license type for Linux VM's. "LinuxServer"
"NoLicenseType"
"NotSpecified"
performAutoResync A value indicating whether auto resync is to be done. string
performSqlBulkRegistration A value indicating whether bulk SQL RP registration 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
targetVmSecurityProfile The target VM security profile. VMwareCbtSecurityProfileProperties
targetVmSize The target VM size. string
targetVmTags The target VM tags. object
testNetworkId The selected test network ARM Id. string
testSubnetName The selected test subnet name. string
userSelectedOSName The OS name selected by user. string
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. "PremiumV2_LRS"
"Premium_LRS"
"Premium_ZRS"
"StandardSSD_LRS"
"StandardSSD_ZRS"
"Standard_LRS"
"UltraSSD_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)
sectorSizeInBytes The logical sector size (in bytes), 512 by default. int

VMwareCbtSecurityProfileProperties

Name Description Value
isTargetVmConfidentialEncryptionEnabled A value indicating whether confidential compute encryption to be enabled. string
isTargetVmIntegrityMonitoringEnabled A value indicating whether integrity monitoring to be enabled. string
isTargetVmSecureBootEnabled A value indicating whether secure boot to be enabled. string
isTargetVmTpmEnabled A value indicating whether trusted platform module to be enabled. string
targetVmSecurityType The target VM security type. "ConfidentialVM"
"None"
"TrustedLaunch"