Microsoft.RecoveryServices vaults/replicationFabrics/replicationProtectionContainers/replicationMigrationItems 2021-12-01
Bicep 資源定義
保存庫/replicationFabrics/replicationProtectionContainers/replicationMigrationItems 資源類型可以部署到:
- 資源群組 - 請參閱 資源群組部署命令
如需每個 API 版本中已變更屬性的清單,請參閱 變更記錄。
資源格式
若要建立 Microsoft.RecoveryServices/vaults/replicationFabrics/replicationProtectionContainers/replicationMigrationItems 資源,請將下列 Bicep 新增至您的範本。
resource symbolicname 'Microsoft.RecoveryServices/vaults/replicationFabrics/replicationProtectionContainers/replicationMigrationItems@2021-12-01' = {
name: 'string'
parent: resourceSymbolicName
properties: {
policyId: 'string'
providerSpecificDetails: {
instanceType: 'string'
// For remaining properties, see EnableMigrationProviderSpecificInputOrMigrationProviderSpecificSettings objects
}
}
}
EnableMigrationProviderSpecificInputOrMigrationProviderSpecificSettings 物件
設定 instanceType 屬性以指定物件的類型。
針對 VMwareCbt,請使用:
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'
屬性值
vaults/replicationFabrics/replicationProtectionConta...
名稱 | 描述 | 值 |
---|---|---|
NAME | 資源名稱 瞭解如何在 Bicep中設定子資源的名稱和類型。 |
字串 (必要) |
父系 (parent) | 在 Bicep 中,您可以指定子資源的父資源。 只有在父資源之外宣告子資源時,才需要新增這個屬性。 如需詳細資訊,請參閱 父資源外部的子資源。 |
類型資源的符號名稱: replicationProtectionContainers |
properties | 啟用移轉輸入屬性。 | EnableMigrationInputPropertiesOrMigrationItemPropert... 必要 () |
EnableMigrationInputPropertiesOrMigrationItemPropert...
名稱 | 描述 | 值 |
---|---|---|
policyId | 原則識別碼。 | 字串 (必要) |
providerSpecificDetails | 提供者的特定詳細資料。 | EnableMigrationProviderSpecificInputOrMigrationProvi... 必要 () |
EnableMigrationProviderSpecificInputOrMigrationProvi...
名稱 | 描述 | 值 |
---|---|---|
instanceType | 設定物件類型 | 需要 VMwareCbt () |
VMwareCbtEnableMigrationInputOrVMwareCbtMigrationDet...
名稱 | 描述 | 值 |
---|---|---|
instanceType | 類別類型。 | 'VMwareCbt' (必要) |
dataMoverRunAsAccountId | 資料移動器會以帳戶識別碼執行。 | 字串 (必要) |
disksToInclude | 要包含清單的磁片。 | VMwareCbtDiskInput[] (必要) |
licenseType | 授權類型。 | 'NoLicenseType' 'NotSpecified' 'WindowsServer' |
performAutoResync | 值,指出是否要完成自動重新同步處理。 | 字串 |
seedDiskTags | 種子磁片的標記。 | object |
snapshotRunAsAccountId | 快照集以帳戶識別碼身分執行。 | 字串 (必要) |
sqlServerLicenseType | SQL Server授權類型。 | 'AHUB' 'NoLicenseType' 'NotSpecified' 'PAYG' |
targetAvailabilitySetId | 目標可用性設定組 ARM 識別碼。 | 字串 |
targetAvailabilityZone | 目標可用性區域。 | 字串 |
targetBootDiagnosticsStorageAccountId | 目標開機診斷儲存體帳戶 ARM 識別碼。 | 字串 |
targetDiskTags | 目標磁片的標籤。 | object |
targetNetworkId | 目標網路 ARM 識別碼。 | 字串 (必要) |
targetNicTags | 目標 NIC 的標記。 | object |
targetProximityPlacementGroupId | 目標鄰近放置群組 ARM 識別碼。 | 字串 |
targetResourceGroupId | 目標資源群組 ARM 識別碼。 | 字串 (必要) |
targetSubnetName | 目標子網名稱。 | 字串 |
targetVmName | 目標 VM 名稱。 | 字串 |
targetVmSize | 目標 VM 大小。 | string |
targetVmTags | 目標 VM 標籤。 | object |
vmwareMachineId | VMware 中探索到之 VM 的 ARM 識別碼。 | 字串 (必要) |
VMwareCbtDiskInput
名稱 | 描述 | 值 |
---|---|---|
diskEncryptionSetId | DiskEncryptionSet ARM 識別碼。 | 字串 |
diskId | 磁片識別碼。 | 字串 (必要) |
diskType | 磁片類型。 | 'Premium_LRS' 'StandardSSD_LRS' 'Standard_LRS' |
isOSDisk | 值,指出磁片是否為 OS 磁片。 | 字串 (必要) |
logStorageAccountId | 記錄儲存體帳戶 ARM 識別碼。 | 字串 (必要) |
logStorageAccountSasSecretName | 記錄儲存體帳戶的金鑰保存庫秘密名稱。 | 字串 (必要) |
ARM 範本資源定義
保存庫/replicationFabrics/replicationProtectionContainers/replicationMigrationItems 資源類型可以部署到:
- 資源群組 - 請參閱 資源群組部署命令
如需每個 API 版本中已變更屬性的清單,請參閱 變更記錄。
資源格式
若要建立 Microsoft.RecoveryServices/vaults/replicationFabrics/replicationProtectionContainers/replicationMigrationItems 資源,請將下列 JSON 新增至範本。
{
"type": "Microsoft.RecoveryServices/vaults/replicationFabrics/replicationProtectionContainers/replicationMigrationItems",
"apiVersion": "2021-12-01",
"name": "string",
"properties": {
"policyId": "string",
"providerSpecificDetails": {
"instanceType": "string"
// For remaining properties, see EnableMigrationProviderSpecificInputOrMigrationProviderSpecificSettings objects
}
}
}
EnableMigrationProviderSpecificInputOrMigrationProviderSpecificSettings 物件
設定 instanceType 屬性以指定物件的類型。
針對 VMwareCbt,請使用:
"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"
屬性值
vaults/replicationFabrics/replicationProtectionConta...
名稱 | 描述 | 值 |
---|---|---|
類型 | 資源類型 | 'Microsoft.RecoveryServices/vaults/replicationFabrics/replicationProtectionContainers/replicationMigrationItems' |
apiVersion | 資源 API 版本 | '2021-12-01' |
NAME | 資源名稱 請參閱如何在 JSON ARM 範本中設定子資源的名稱和類型。 |
字串 (必要) |
properties | 啟用移轉輸入屬性。 | EnableMigrationInputPropertiesOrMigrationItemPropert... 必要 () |
EnableMigrationInputPropertiesOrMigrationItemPropert...
名稱 | 描述 | 值 |
---|---|---|
policyId | 原則識別碼。 | 字串 (必要) |
providerSpecificDetails | 提供者的特定詳細資料。 | EnableMigrationProviderSpecificInputOrMigrationProvi... 必要 () |
EnableMigrationProviderSpecificInputOrMigrationProvi...
名稱 | 描述 | 值 |
---|---|---|
instanceType | 設定物件類型 | 需要 VMwareCbt () |
VMwareCbtEnableMigrationInputOrVMwareCbtMigrationDet...
名稱 | 描述 | 值 |
---|---|---|
instanceType | 類別類型。 | 'VMwareCbt' (必要) |
dataMoverRunAsAccountId | 資料移動器會以帳戶識別碼執行。 | 需要字串 () |
disksToInclude | 要包含清單的磁片。 | VMwareCbtDiskInput[] (必要) |
licenseType | 授權類型。 | 'NoLicenseType' 'NotSpecified' 'WindowsServer' |
performAutoResync | 值,指出是否要完成自動重新同步處理。 | 字串 |
seedDiskTags | 種子磁片的標記。 | object |
snapshotRunAsAccountId | 快照集以帳戶識別碼身分執行。 | 需要字串 () |
sqlServerLicenseType | SQL Server授權類型。 | 'AHUB' 'NoLicenseType' 'NotSpecified' 'PAYG' |
targetAvailabilitySetId | 目標可用性設定組 ARM 識別碼。 | string |
targetAvailabilityZone | 目標可用性區域。 | 字串 |
targetBootDiagnosticsStorageAccountId | 目標開機診斷儲存體帳戶 ARM 識別碼。 | 字串 |
targetDiskTags | 目標磁片的標籤。 | object |
targetNetworkId | 目標網路 ARM 識別碼。 | 需要字串 () |
targetNicTags | 目標 NIC 的標記。 | object |
targetProximityPlacementGroupId | 目標鄰近放置群組 ARM 識別碼。 | string |
targetResourceGroupId | 目標資源群組 ARM 識別碼。 | 需要字串 () |
targetSubnetName | 目標子網名稱。 | 字串 |
targetVmName | 目標 VM 名稱。 | 字串 |
targetVmSize | 目標 VM 大小。 | 字串 |
targetVmTags | 目標 VM 標籤。 | object |
vmwareMachineId | 在 VMware 中探索到之 VM 的 ARM 識別碼。 | 需要字串 () |
VMwareCbtDiskInput
名稱 | 描述 | 值 |
---|---|---|
diskEncryptionSetId | DiskEncryptionSet ARM 識別碼。 | string |
diskId | 磁片識別碼。 | 需要字串 () |
diskType | 磁片類型。 | 'Premium_LRS' 'StandardSSD_LRS' 'Standard_LRS' |
isOSDisk | 值,指出磁片是否為 OS 磁片。 | 需要字串 () |
logStorageAccountId | 記錄儲存體帳戶 ARM 識別碼。 | 需要字串 () |
logStorageAccountSasSecretName | 記錄儲存體帳戶的金鑰保存庫秘密名稱。 | 需要字串 () |
Terraform (AzAPI 提供者) 資源定義
vaults/replicationFabrics/replicationProtectionContainers/replicationMigrationItems 資源類型可以部署到:
- 資源群組
如需每個 API 版本中已變更屬性的清單,請參閱 變更記錄檔。
資源格式
若要建立 Microsoft.RecoveryServices/vaults/replicationFabrics/replicationProtectionContainers/replicationMigrationItems 資源,請將下列 Terraform 新增至範本。
resource "azapi_resource" "symbolicname" {
type = "Microsoft.RecoveryServices/vaults/replicationFabrics/replicationProtectionContainers/replicationMigrationItems@2021-12-01"
name = "string"
parent_id = "string"
body = jsonencode({
properties = {
policyId = "string"
providerSpecificDetails = {
instanceType = "string"
// For remaining properties, see EnableMigrationProviderSpecificInputOrMigrationProviderSpecificSettings objects
}
}
})
}
EnableMigrationProviderSpecificInputOrMigrationProviderSpecificSettings 物件
設定 instanceType 屬性以指定物件的類型。
針對 VMwareCbt,請使用:
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"
屬性值
vaults/replicationFabrics/replicationProtectionConta...
名稱 | 描述 | 值 |
---|---|---|
類型 | 資源類型 | 「Microsoft.RecoveryServices/vaults/replicationFabrics/replicationProtectionContainers/replicationMigrationItems@2021-12-01」 |
NAME | 資源名稱 | 需要字串 () |
parent_id | 此資源父系之資源的識別碼。 | 類型資源的識別碼: replicationProtectionContainers |
properties | 啟用移轉輸入屬性。 | EnableMigrationInputPropertiesOrMigrationItemPropert... 必要 () |
EnableMigrationInputPropertiesOrMigrationItemPropert...
名稱 | 描述 | 值 |
---|---|---|
policyId | 原則識別碼。 | 需要字串 () |
providerSpecificDetails | 提供者特定詳細資料。 | EnableMigrationProviderSpecificInputOrMigrationProvi... 必要 () |
EnableMigrationProviderSpecificInputOrMigrationProvi...
名稱 | 描述 | 值 |
---|---|---|
instanceType | 設定物件類型 | 需要 VMwareCbt () |
VMwareCbtEnableMigrationInputOrVMwareCbtMigrationDet...
名稱 | 描述 | 值 |
---|---|---|
instanceType | 類別類型。 | 「VMwareCbt」 (必要) |
dataMoverRunAsAccountId | 資料移動器會以帳戶識別碼執行。 | 需要字串 () |
disksToInclude | 要包含清單的磁片。 | VMwareCbtDiskInput[] (必要) |
licenseType | 授權類型。 | 「NoLicenseType」 「NotSpecified」 「WindowsServer」 |
performAutoResync | 值,指出是否要完成自動重新同步處理。 | 字串 |
seedDiskTags | 種子磁片的標記。 | object |
snapshotRunAsAccountId | 快照集以帳戶識別碼身分執行。 | 需要字串 () |
sqlServerLicenseType | SQL Server授權類型。 | 「AHUB」 「NoLicenseType」 「NotSpecified」 「PAYG」 |
targetAvailabilitySetId | 目標可用性設定組 ARM 識別碼。 | 字串 |
targetAvailabilityZone | 目標可用性區域。 | 字串 |
targetBootDiagnosticsStorageAccountId | 目標開機診斷儲存體帳戶 ARM 識別碼。 | 字串 |
targetDiskTags | 目標磁片的標籤。 | object |
targetNetworkId | 目標網路 ARM 識別碼。 | 需要字串 () |
targetNicTags | 目標 NIC 的標記。 | object |
targetProximityPlacementGroupId | 目標鄰近放置群組 ARM 識別碼。 | 字串 |
targetResourceGroupId | 目標資源群組 ARM 識別碼。 | 需要字串 () |
targetSubnetName | 目標子網名稱。 | 字串 |
targetVmName | 目標 VM 名稱。 | 字串 |
targetVmSize | 目標 VM 大小。 | 字串 |
targetVmTags | 目標 VM 標籤。 | object |
vmwareMachineId | 在 VMware 中探索到之 VM 的 ARM 識別碼。 | 需要字串 () |
VMwareCbtDiskInput
名稱 | 描述 | 值 |
---|---|---|
diskEncryptionSetId | DiskEncryptionSet ARM 識別碼。 | string |
diskId | 磁片識別碼。 | 需要字串 () |
diskType | 磁片類型。 | "Premium_LRS" "StandardSSD_LRS" "Standard_LRS" |
isOSDisk | 值,指出磁片是否為 OS 磁片。 | 需要字串 () |
logStorageAccountId | 記錄儲存體帳戶 ARM 識別碼。 | 需要字串 () |
logStorageAccountSasSecretName | 記錄儲存體帳戶的金鑰保存庫秘密名稱。 | 需要字串 () |