New-AzRecoveryServicesAsrReplicationProtectedItem
藉由建立複寫保護的專案,啟用 ASR 可保護項目的複寫。
語法
New-AzRecoveryServicesAsrReplicationProtectedItem
[-VmmToVmm]
-ProtectableItem <ASRProtectableItem>
-Name <String>
-ProtectionContainerMapping <ASRProtectionContainerMapping>
[-WaitForCompletion]
[-DefaultProfile <IAzureContextContainer>]
[-WhatIf]
[-Confirm]
[<CommonParameters>]
New-AzRecoveryServicesAsrReplicationProtectedItem
[-VMwareToAzure]
-ProtectableItem <ASRProtectableItem>
-Name <String>
[-RecoveryVmName <String>]
-ProtectionContainerMapping <ASRProtectionContainerMapping>
-Account <ASRRunAsAccount>
[-LogStorageAccountId <String>]
-ProcessServer <ASRProcessServer>
[-RecoveryAzureNetworkId <String>]
[-RecoveryAzureSubnetName <String>]
-RecoveryResourceGroupId <String>
[-ReplicationGroupName <String>]
[-RecoveryAvailabilityZone <String>]
[-RecoveryProximityPlacementGroupId <String>]
[-RecoveryAvailabilitySetId <String>]
[-Size <String>]
[-SqlServerLicenseType <String>]
[-RecoveryVmTag <System.Collections.Generic.IDictionary`2[System.String,System.String]>]
[-DiskTag <System.Collections.Generic.IDictionary`2[System.String,System.String]>]
[-RecoveryNicTag <System.Collections.Generic.IDictionary`2[System.String,System.String]>]
[-WaitForCompletion]
-DiskType <String>
[-DiskEncryptionSetId <String>]
[-DefaultProfile <IAzureContextContainer>]
[-WhatIf]
[-Confirm]
[<CommonParameters>]
New-AzRecoveryServicesAsrReplicationProtectedItem
[-VMwareToAzure]
-ProtectableItem <ASRProtectableItem>
-Name <String>
[-RecoveryVmName <String>]
-ProtectionContainerMapping <ASRProtectionContainerMapping>
-Account <ASRRunAsAccount>
[-LogStorageAccountId <String>]
[-InMageAzureV2DiskInput <AsrInMageAzureV2DiskInput[]>]
-ProcessServer <ASRProcessServer>
[-RecoveryAzureNetworkId <String>]
[-RecoveryAzureSubnetName <String>]
-RecoveryResourceGroupId <String>
[-ReplicationGroupName <String>]
[-RecoveryAvailabilityZone <String>]
[-RecoveryProximityPlacementGroupId <String>]
[-RecoveryAvailabilitySetId <String>]
[-Size <String>]
[-SqlServerLicenseType <String>]
[-RecoveryVmTag <System.Collections.Generic.IDictionary`2[System.String,System.String]>]
[-DiskTag <System.Collections.Generic.IDictionary`2[System.String,System.String]>]
[-RecoveryNicTag <System.Collections.Generic.IDictionary`2[System.String,System.String]>]
[-WaitForCompletion]
[-DiskEncryptionSetId <String>]
[-DefaultProfile <IAzureContextContainer>]
[-WhatIf]
[-Confirm]
[<CommonParameters>]
New-AzRecoveryServicesAsrReplicationProtectedItem
[-HyperVToAzure]
-ProtectableItem <ASRProtectableItem>
-Name <String>
[-RecoveryVmName <String>]
-ProtectionContainerMapping <ASRProtectionContainerMapping>
-RecoveryAzureStorageAccountId <String>
-RecoveryResourceGroupId <String>
[-UseManagedDisk <String>]
[-UseManagedDisksForReplication <String>]
[-WaitForCompletion]
[-DefaultProfile <IAzureContextContainer>]
[-WhatIf]
[-Confirm]
[<CommonParameters>]
New-AzRecoveryServicesAsrReplicationProtectedItem
[-HyperVToAzure]
-ProtectableItem <ASRProtectableItem>
-Name <String>
[-RecoveryVmName <String>]
-ProtectionContainerMapping <ASRProtectionContainerMapping>
-RecoveryAzureStorageAccountId <String>
-OSDiskName <String>
-OS <String>
[-LogStorageAccountId <String>]
[-IncludeDiskId <String[]>]
[-RecoveryAzureNetworkId <String>]
[-RecoveryAzureSubnetName <String>]
-RecoveryResourceGroupId <String>
[-RecoveryAvailabilityZone <String>]
[-RecoveryProximityPlacementGroupId <String>]
[-RecoveryAvailabilitySetId <String>]
[-Size <String>]
[-SqlServerLicenseType <String>]
[-RecoveryVmTag <System.Collections.Generic.IDictionary`2[System.String,System.String]>]
[-DiskTag <System.Collections.Generic.IDictionary`2[System.String,System.String]>]
[-RecoveryNicTag <System.Collections.Generic.IDictionary`2[System.String,System.String]>]
[-UseManagedDisk <String>]
[-UseManagedDisksForReplication <String>]
[-WaitForCompletion]
[-DefaultProfile <IAzureContextContainer>]
[-WhatIf]
[-Confirm]
[<CommonParameters>]
New-AzRecoveryServicesAsrReplicationProtectedItem
[-AzureToAzure]
-AzureToAzureDiskReplicationConfiguration <ASRAzuretoAzureDiskReplicationConfig[]>
-AzureVmId <String>
-Name <String>
-ProtectionContainerMapping <ASRProtectionContainerMapping>
[-RecoveryAzureNetworkId <String>]
[-RecoveryAzureSubnetName <String>]
-RecoveryResourceGroupId <String>
[-ReplicationGroupName <String>]
[-RecoveryCloudServiceId <String>]
[-RecoveryAvailabilityZone <String>]
[-RecoveryProximityPlacementGroupId <String>]
[-RecoveryVirtualMachineScaleSetId <String>]
[-RecoveryCapacityReservationGroupId <String>]
[-RecoveryAvailabilitySetId <String>]
[-RecoveryBootDiagStorageAccountId <String>]
[-DiskEncryptionVaultId <String>]
[-DiskEncryptionSecretUrl <String>]
[-KeyEncryptionKeyUrl <String>]
[-KeyEncryptionVaultId <String>]
[-WaitForCompletion]
[-RecoveryExtendedLocation <String>]
[-DefaultProfile <IAzureContextContainer>]
[-WhatIf]
[-Confirm]
[<CommonParameters>]
New-AzRecoveryServicesAsrReplicationProtectedItem
[-AzureToAzure]
-AzureVmId <String>
-Name <String>
-ProtectionContainerMapping <ASRProtectionContainerMapping>
[-RecoveryAzureStorageAccountId <String>]
-LogStorageAccountId <String>
[-RecoveryAzureNetworkId <String>]
[-RecoveryAzureSubnetName <String>]
-RecoveryResourceGroupId <String>
[-ReplicationGroupName <String>]
[-RecoveryAvailabilityZone <String>]
[-RecoveryProximityPlacementGroupId <String>]
[-RecoveryVirtualMachineScaleSetId <String>]
[-RecoveryCapacityReservationGroupId <String>]
[-RecoveryAvailabilitySetId <String>]
[-RecoveryBootDiagStorageAccountId <String>]
[-DiskEncryptionVaultId <String>]
[-DiskEncryptionSecretUrl <String>]
[-KeyEncryptionKeyUrl <String>]
[-KeyEncryptionVaultId <String>]
[-WaitForCompletion]
[-DefaultProfile <IAzureContextContainer>]
[-WhatIf]
[-Confirm]
[<CommonParameters>]
New-AzRecoveryServicesAsrReplicationProtectedItem
[-ReplicateVMwareToAzure]
-ProtectableItem <ASRProtectableItem>
-Name <String>
[-RecoveryVmName <String>]
[-LicenseType <String>]
[-TestNetworkId <String>]
[-TestSubnetName <String>]
-ProtectionContainerMapping <ASRProtectionContainerMapping>
[-CredentialsToAccessVm <String>]
-LogStorageAccountId <String>
-ApplianceName <String>
-Fabric <ASRFabric>
[-RecoveryAzureNetworkId <String>]
[-RecoveryAzureSubnetName <String>]
-RecoveryResourceGroupId <String>
[-ReplicationGroupName <String>]
[-RecoveryAvailabilityZone <String>]
[-RecoveryProximityPlacementGroupId <String>]
[-RecoveryAvailabilitySetId <String>]
[-Size <String>]
[-RecoveryBootDiagStorageAccountId <String>]
[-WaitForCompletion]
-DiskType <String>
[-DiskEncryptionSetId <String>]
[-DefaultProfile <IAzureContextContainer>]
[-WhatIf]
[-Confirm]
[<CommonParameters>]
New-AzRecoveryServicesAsrReplicationProtectedItem
[-ReplicateVMwareToAzure]
-ProtectableItem <ASRProtectableItem>
-InMageRcmDiskInput <ASRInMageRcmDiskInput[]>
-Name <String>
[-RecoveryVmName <String>]
[-LicenseType <String>]
[-TestNetworkId <String>]
[-TestSubnetName <String>]
-ProtectionContainerMapping <ASRProtectionContainerMapping>
[-CredentialsToAccessVm <String>]
-ApplianceName <String>
-Fabric <ASRFabric>
[-RecoveryAzureNetworkId <String>]
[-RecoveryAzureSubnetName <String>]
-RecoveryResourceGroupId <String>
[-ReplicationGroupName <String>]
[-RecoveryAvailabilityZone <String>]
[-RecoveryProximityPlacementGroupId <String>]
[-RecoveryAvailabilitySetId <String>]
[-Size <String>]
[-RecoveryBootDiagStorageAccountId <String>]
[-WaitForCompletion]
[-DefaultProfile <IAzureContextContainer>]
[-WhatIf]
[-Confirm]
[<CommonParameters>]
Description
New-AzRecoveryServicesAsrReplicationProtectedItem Cmdlet 會建立新的復寫保護專案。 使用此 Cmdlet 來啟用 ASR 可保護項目的複寫。
範例
範例 1
$currentJob = New-AzRecoveryServicesAsrReplicationProtectedItem -ProtectableItem $VM -Name $VM.Name -ProtectionContainerMapping $ProtectionContainerMapping
啟動指定 ASR 可保護項目的復寫受保護專案建立作業,並傳回用來追蹤作業的 ASR 作業。
範例 2
$job = New-AzRecoveryServicesAsrReplicationProtectedItem -VMwareToAzure -Account $fabric.FabricSpecificDetails.RunAsAccounts[0] `
-RecoveryResourceGroupId $RecoveryResourceGroupId -RecoveryAzureNetworkId $RecoveryAzureNetworkId -name $name `
-ProcessServer $fabric.FabricSpecificDetails.ProcessServers[0] -ProtectableItem $protectableItem -ProtectionContainerMapping $pcm `
-RecoveryAzureSubnetName $RecoveryAzureSubnetName -RecoveryVmName $RecoveryVmName -LogStorageAccountId $LogStorageAccountId
啟動指定 ASR 可保護項目的復寫受保護專案建立作業,並傳回用來追蹤作業的 ASR 作業(vmWare 至 Azure 案例)。
範例 3
$job = New-AzRecoveryServicesAsrReplicationProtectedItem -AzureToAzure -AzureToAzureDiskReplicationConfiguration disk1,disk2 -AzureVmId $vmId `
-Name "a2aprotectedItem" -ProtectionContainerMapping $pcmMapping -RecoveryResourceGroupId $recoveryResourceGroup
啟動指定 ASR 可保護項目的復寫受保護專案建立作業,並傳回用來追蹤作業的 ASR 作業(Azure 至 Azure 案例)。
範例 4
$disk1 = New-AzRecoveryServicesAsrAzureToAzureDiskReplicationConfig -vhdUri $diskUri1 -RecoveryAzureStorageAccountId $recoveryAzureStorageAccountId `
-LogStorageAccountId $logStorageAccountId
$disk2 = New-AzRecoveryServicesAsrAzureToAzureDiskReplicationConfig -vhdUri $diskUri2 -RecoveryAzureStorageAccountId $recoveryAzureStorageAccountId `
-LogStorageAccountId $logStorageAccountId
$enableDRjob = New-AzRecoveryServicesAsrReplicationProtectedItem -AzureToAzure -AzureVmId $vmId -Name $rpiName `
-RecoveryCloudServiceId $recoveryCloudServiceId -ProtectionContainerMapping $pcm -RecoveryResourceGroupId $RecoveryResourceGroupId `
-AzureToAzureDiskReplicationConfiguration $disk1,$disk2 -RecoveryAzureNetworkId $RecoveryAzureNetworkId -RecoveryAzureSubnetName $RecoveryAzureSubnetName
啟動指定 VmId 的復寫受保護專案建立作業,並傳回用來追蹤作業的 ASR 作業(Azure 至 Azure 案例)。
範例 5
$disk1 = New-AzRecoveryServicesAsrInMageAzureV2DiskInput -DiskId $diskId -LogStorageAccountId $logStorageAccountId -DiskType $diskType
$disk2 = New-AzRecoveryServicesAsrInMageAzureV2DiskInput -DiskId $diskId2 -LogStorageAccountId $logStorageAccountId -DiskType $diskType2
$job = New-AzRecoveryServicesAsrReplicationProtectedItem -VMwareToAzure -Account $fabric.FabricSpecificDetails.RunAsAccounts[0] -RecoveryResourceGroupId $RecoveryResourceGroupId `
-RecoveryAzureNetworkId $RecoveryAzureNetworkId -name $name -ProcessServer $fabric.FabricSpecificDetails.ProcessServers[0] -ProtectableItem $protectableItem `
-ProtectionContainerMapping $pcm -RecoveryAzureSubnetName $RecoveryAzureSubnetName -RecoveryVmName $RecoveryVmName `
-LogStorageAccountId $LogStorageAccountId -InMageAzureV2DiskInput $disk1,$disk2
針對指定的 ASR 可保護專案啟動複寫保護專案建立作業,包括選擇性磁碟,並傳回 ASR 作業,以使用選取的磁碟追蹤作業(vmWare 至 Azure 案例)。
範例 6
$job = New-AzRecoveryServicesAsrReplicationProtectedItem -VMwareToAzure -Account $fabric.FabricSpecificDetails.RunAsAccounts[0] -RecoveryResourceGroupId $RecoveryResourceGroupId `
-RecoveryAzureNetworkId $RecoveryAzureNetworkId -name $name -ProcessServer $fabric.FabricSpecificDetails.ProcessServers[0] -ProtectableItem $protectableItem `
-ProtectionContainerMapping $pcm -RecoveryAzureSubnetName $RecoveryAzureSubnetName -RecoveryVmName $RecoveryVmName `
-LogStorageAccountId $LogStorageAccountId -DiskType Standard_LRS
針對具有預設磁碟類型的指定 ASR 可保護專案啟動復寫保護專案建立作業,並傳回用來追蹤作業的 ASR 作業(vmWare 至 Azure 案例)。
範例 7
$disk1 = New-AzRecoveryServicesAsrAzureToAzureDiskReplicationConfig -vhdUri $diskUri1 -RecoveryAzureStorageAccountId $recoveryAzureStorageAccountId -LogStorageAccountId $logStorageAccountId
$disk2 = New-AzRecoveryServicesAsrAzureToAzureDiskReplicationConfig -vhdUri $diskUri2 -RecoveryAzureStorageAccountId $recoveryAzureStorageAccountId -LogStorageAccountId $logStorageAccountId
$enableDRjob = New-AzRecoveryServicesAsrReplicationProtectedItem -AzureToAzure -AzureVmId $vmId -Name $rpiName `
-RecoveryCloudServiceId $recoveryCloudServiceId -ProtectionContainerMapping $pcm -RecoveryResourceGroupId $RecoveryResourceGroupId `
-AzureToAzureDiskReplicationConfiguration $disk1,$disk2 -DiskEncryptionVaultId $DiskEncryptionVaultId -DiskEncryptionSecretUrl $DiskEncryptionSecertUrl `
-KeyEncryptionVaultId $KeyEncryptionVaultId -KeyEncryptionKeyUrl $KeyEncryptionKeyUrl
啟動指定 VmId 的復寫受保護專案建立作業,並傳回用來追蹤作業的 ASR 作業(Azure 至 Azure 案例)。針對傳入 Cmdlet 進行加密的故障轉移 VM 詳細資料,將會使用 。
範例 8
$job = New-AzRecoveryServicesAsrReplicationProtectedItem -AzureToAzure -AzureToAzureDiskReplicationConfiguration disk1,disk2 -AzureVmId $vmId `
-Name "a2aprotectedItem" -ProtectionContainerMapping $pcmMapping -RecoveryResourceGroupId $recoveryResourceGroup -RecoveryProximityPlacementGroupId $ppg
啟動鄰近放置群組內虛擬機的復寫受保護專案建立作業,並傳回用來追蹤作業的 ASR 作業(Azure 至 Azure 案例)。
範例 9
$job = New-AzRecoveryServicesAsrReplicationProtectedItem -AzureToAzure -AzureToAzureDiskReplicationConfiguration disk1,disk2 -AzureVmId $vmId `
-Name "a2aprotectedItem" -ProtectionContainerMapping $pcmMapping -RecoveryResourceGroupId $recoveryResourceGroup -RecoveryVirtualMachineScaleSetId $vmss
啟動已設定目標虛擬機擴展集的虛擬機複寫受保護專案建立作業,並傳回用來追蹤作業的 ASR 作業(Azure 至 Azure 案例)。
參數
-Account
執行身分帳戶,以在需要時推送安裝行動服務。 必須是 ASR 網狀架構中以帳戶身分執行清單中的帳戶。
類型: | ASRRunAsAccount |
Position: | Named |
預設值: | None |
必要: | True |
接受管線輸入: | False |
接受萬用字元: | False |
-ApplianceName
指定要用來復寫此電腦的設備名稱。
類型: | String |
Position: | Named |
預設值: | None |
必要: | True |
接受管線輸入: | False |
接受萬用字元: | False |
-AzureToAzure
Switch 參數會指定在 Azure 中建立複寫的專案至 Azure 案例。
類型: | SwitchParameter |
Position: | Named |
預設值: | None |
必要: | False |
接受管線輸入: | False |
接受萬用字元: | False |
-AzureToAzureDiskReplicationConfiguration
指定用於 Azure 至 Azure 災害復原案例之 Vm 的磁碟組態。
類型: | ASRAzuretoAzureDiskReplicationConfig[] |
Position: | Named |
預設值: | None |
必要: | True |
接受管線輸入: | False |
接受萬用字元: | False |
-AzureVmId
指定復原區域中災害復原保護的 Azure VM 識別碼。
類型: | String |
Position: | Named |
預設值: | None |
必要: | True |
接受管線輸入: | False |
接受萬用字元: | False |
-Confirm
啟動作業之前,會提示您進行確認。
類型: | SwitchParameter |
別名: | cf |
Position: | Named |
預設值: | None |
必要: | False |
接受管線輸入: | False |
接受萬用字元: | False |
-CredentialsToAccessVm
指定要在需要時在來源計算機上推送安裝行動服務的認證名稱。
類型: | String |
Position: | Named |
預設值: | None |
必要: | False |
接受管線輸入: | False |
接受萬用字元: | False |
-DefaultProfile
用於與 Azure 通訊的認證、帳戶、租用戶和訂用帳戶。
類型: | IAzureContextContainer |
別名: | AzContext, AzureRmContext, AzureCredential |
Position: | Named |
預設值: | None |
必要: | False |
接受管線輸入: | False |
接受萬用字元: | False |
-DiskEncryptionSecretUrl
指定故障轉移後要用於復原 VM 的版本(Azure 磁碟加密)的磁碟加密秘密 URL。
類型: | String |
Position: | Named |
預設值: | None |
必要: | False |
接受管線輸入: | False |
接受萬用字元: | False |
-DiskEncryptionSetId
指定磁碟加密集的資源標識碼,以用於受控磁碟的加密。
類型: | String |
Position: | Named |
預設值: | None |
必要: | False |
接受管線輸入: | False |
接受萬用字元: | False |
-DiskEncryptionVaultId
指定故障轉移後要用於復原 VM 的磁碟加密秘密保存庫標識碼(Azure 磁碟加密)。
類型: | String |
Position: | Named |
預設值: | None |
必要: | False |
接受管線輸入: | False |
接受萬用字元: | False |
-DiskTag
指定 VM 磁碟的標記。
類型: | IDictionary<TKey,TValue>[System.String,System.String] |
Position: | Named |
預設值: | None |
必要: | False |
接受管線輸入: | False |
接受萬用字元: | False |
-DiskType
指定復原 VM 受控磁碟類型。
類型: | String |
Position: | Named |
預設值: | None |
必要: | True |
接受管線輸入: | False |
接受萬用字元: | False |
-Fabric
指定 ASR Fabric 物件。
類型: | ASRFabric |
Position: | Named |
預設值: | None |
必要: | True |
接受管線輸入: | False |
接受萬用字元: | False |
-HyperVToAzure
切換參數來指定複寫的項目是複寫至 Azure 的 Hyper-V 虛擬機。
類型: | SwitchParameter |
Position: | 0 |
預設值: | None |
必要: | False |
接受管線輸入: | False |
接受萬用字元: | False |
-IncludeDiskId
要包含用於復寫的磁碟清單。 預設會包含所有磁碟。
類型: | String[] |
Position: | Named |
預設值: | None |
必要: | False |
接受管線輸入: | False |
接受萬用字元: | False |
-InMageAzureV2DiskInput
指定 vMWare 磁碟識別子的磁碟組態輸入,以防止指定的可保護專案。
類型: | AsrInMageAzureV2DiskInput[] |
Position: | Named |
預設值: | None |
必要: | False |
接受管線輸入: | False |
接受萬用字元: | False |
-InMageRcmDiskInput
指定要用於 VMware 至 Azure 災害復原案例的磁碟輸入。
類型: | ASRInMageRcmDiskInput[] |
Position: | Named |
預設值: | None |
必要: | True |
接受管線輸入: | False |
接受萬用字元: | False |
-KeyEncryptionKeyUrl
指定故障轉移後要用來復原 VM 之版本(Azure 磁碟加密)的磁碟加密密鑰 URL。
類型: | String |
Position: | Named |
預設值: | None |
必要: | False |
接受管線輸入: | False |
接受萬用字元: | False |
-KeyEncryptionVaultId
指定要在故障轉移後用來復原 VM 的磁碟加密金鑰金鑰保存庫識別碼(Azure 磁碟加密)。
類型: | String |
Position: | Named |
預設值: | None |
必要: | False |
接受管線輸入: | False |
接受萬用字元: | False |
-LicenseType
指定授權類型。 此參數可接受的值為:NoLicenseType 或 WindowsServer。
類型: | String |
接受的值: | NoLicenseType, WindowsServer |
Position: | Named |
預設值: | None |
必要: | False |
接受管線輸入: | False |
接受萬用字元: | False |
-LogStorageAccountId
指定要用來儲存復寫記錄的記錄檔或快取記憶體帳戶標識碼。
類型: | String |
Position: | Named |
預設值: | None |
必要: | True |
接受管線輸入: | False |
接受萬用字元: | False |
-Name
指定 ASR 複寫受保護項目的名稱。 名稱在保存庫內必須是唯一的。
類型: | String |
Position: | Named |
預設值: | None |
必要: | True |
接受管線輸入: | False |
接受萬用字元: | False |
-OS
指定作系統系列。 此參數可接受的值為:Windows 或Linux。
類型: | String |
接受的值: | Windows, Linux |
Position: | Named |
預設值: | None |
必要: | True |
接受管線輸入: | False |
接受萬用字元: | False |
-OSDiskName
指定作系統磁碟的名稱。
類型: | String |
Position: | Named |
預設值: | None |
必要: | True |
接受管線輸入: | False |
接受萬用字元: | False |
-ProcessServer
用來復寫此機器的進程伺服器。 使用 ASR 網狀架構中對應至組態伺服器的進程伺服器清單來指定一個進程伺服器。
類型: | ASRProcessServer |
Position: | Named |
預設值: | None |
必要: | True |
接受管線輸入: | False |
接受萬用字元: | False |
-ProtectableItem
指定啟用複寫的 ASR 可保護項目物件。
類型: | ASRProtectableItem |
Position: | Named |
預設值: | None |
必要: | True |
接受管線輸入: | True |
接受萬用字元: | False |
-ProtectionContainerMapping
指定要用於復寫之複製策略的 ASR 保護容器對應物件。
類型: | ASRProtectionContainerMapping |
Position: | Named |
預設值: | None |
必要: | True |
接受管線輸入: | False |
接受萬用字元: | False |
-RecoveryAvailabilitySetId
在故障轉移時,要復原機器之 AvailabilitySet 的標識碼。
類型: | String |
Position: | Named |
預設值: | None |
必要: | False |
接受管線輸入: | False |
接受萬用字元: | False |
-RecoveryAvailabilityZone
指定故障轉移之後的復原 VM 可用性區域。
類型: | String |
Position: | Named |
預設值: | None |
必要: | False |
接受管線輸入: | False |
接受萬用字元: | False |
-RecoveryAzureNetworkId
在故障轉移時,要復原機器的 Azure 虛擬網路識別碼。
類型: | String |
Position: | Named |
預設值: | None |
必要: | False |
接受管線輸入: | False |
接受萬用字元: | False |
-RecoveryAzureStorageAccountId
指定要復寫的 Azure 記憶體帳戶標識碼。
類型: | String |
Position: | Named |
預設值: | None |
必要: | True |
接受管線輸入: | False |
接受萬用字元: | False |
-RecoveryAzureSubnetName
在故障轉移時,應該連結故障轉移虛擬機之復原 Azure 虛擬網路內的子網。
類型: | String |
Position: | Named |
預設值: | None |
必要: | False |
接受管線輸入: | False |
接受萬用字元: | False |
-RecoveryBootDiagStorageAccountId
指定用於復原 Azure VM 之開機診斷的記憶體帳戶。
類型: | String |
Position: | Named |
預設值: | None |
必要: | False |
接受管線輸入: | False |
接受萬用字元: | False |
-RecoveryCapacityReservationGroupId
指定目標復原區域中故障轉移 VM 要使用的容量保留群組識別碼。
類型: | String |
Position: | Named |
預設值: | None |
必要: | False |
接受管線輸入: | False |
接受萬用字元: | False |
-RecoveryCloudServiceId
指定要將此虛擬機故障轉移至的復原雲端服務資源標識碼。
類型: | String |
Position: | Named |
預設值: | None |
必要: | False |
接受管線輸入: | False |
接受萬用字元: | False |
-RecoveryExtendedLocation
指定 EZ-to-EZ的 Recovery ExtendedLocation。
類型: | String |
Position: | Named |
預設值: | None |
必要: | False |
接受管線輸入: | False |
接受萬用字元: | False |
-RecoveryNicTag
指定 VM 目標 NIC 的標籤。
類型: | IDictionary<TKey,TValue>[System.String,System.String] |
Position: | Named |
預設值: | None |
必要: | False |
接受管線輸入: | False |
接受萬用字元: | False |
-RecoveryProximityPlacementGroupId
指定目標復原區域中故障轉移 Vm 所使用的鄰近放置群組標識碼。
類型: | String |
Position: | Named |
預設值: | None |
必要: | False |
接受管線輸入: | False |
接受萬用字元: | False |
-RecoveryResourceGroupId
指定將在故障轉移時建立虛擬機之資源群組的 ARM 識別碼。
類型: | String |
Position: | Named |
預設值: | None |
必要: | True |
接受管線輸入: | False |
接受萬用字元: | False |
-RecoveryVirtualMachineScaleSetId
指定目標復原區域中故障轉移 Vm 所使用的虛擬機擴展集標識碼。
類型: | String |
Position: | Named |
預設值: | None |
必要: | False |
接受管線輸入: | False |
接受萬用字元: | False |
-RecoveryVmName
故障轉移后建立的復原 VM 名稱。
類型: | String |
Position: | Named |
預設值: | None |
必要: | False |
接受管線輸入: | False |
接受萬用字元: | False |
-RecoveryVmTag
指定目標 VM 的標籤。
類型: | IDictionary<TKey,TValue>[System.String,System.String] |
Position: | Named |
預設值: | None |
必要: | False |
接受管線輸入: | False |
接受萬用字元: | False |
-ReplicateVMwareToAzure
切換參數來指定複寫的專案是複寫至 Azure 的 VMware 虛擬機。
類型: | SwitchParameter |
Position: | 0 |
預設值: | None |
必要: | True |
接受管線輸入: | False |
接受萬用字元: | False |
-ReplicationGroupName
指定要用來建立多 VM 一致恢復點的複寫組名。 根據預設,每個復寫保護的項目都會建立在自己的群組中,而且不會產生多 VM 一致的恢復點。 只有在您需要透過保護所有機器到相同的復寫群組,跨一組機器建立多 VM 一致的恢復點時,才使用此選項。
類型: | String |
Position: | Named |
預設值: | None |
必要: | False |
接受管線輸入: | False |
接受萬用字元: | False |
-Size
指定復原虛擬機大小。
類型: | String |
Position: | Named |
預設值: | None |
必要: | False |
接受管線輸入: | False |
接受萬用字元: | False |
-SqlServerLicenseType
指定 VM 的 SQL Server 授權類型。
類型: | String |
接受的值: | NoLicenseType, PAYG, AHUB |
Position: | Named |
預設值: | None |
必要: | False |
接受管線輸入: | False |
接受萬用字元: | False |
-TestNetworkId
指定測試網路 ARM 識別碼。
類型: | String |
Position: | Named |
預設值: | None |
必要: | False |
接受管線輸入: | False |
接受萬用字元: | False |
-TestSubnetName
指定測試網路子網名稱。
類型: | String |
Position: | Named |
預設值: | None |
必要: | False |
接受管線輸入: | False |
接受萬用字元: | False |
-UseManagedDisk
指定在故障轉移上建立的 Azure 虛擬機是否應該使用受控磁碟。 它接受 True 或 False。
類型: | String |
接受的值: | True, False |
Position: | Named |
預設值: | None |
必要: | False |
接受管線輸入: | False |
接受萬用字元: | False |
-UseManagedDisksForReplication
指定在復寫期間是否需要使用受控磁碟。 它接受 True 或 False。
類型: | String |
接受的值: | True, False |
Position: | Named |
預設值: | None |
必要: | False |
接受管線輸入: | False |
接受萬用字元: | False |
-VmmToVmm
切換參數來指定複寫的專案是 Hyper-V 虛擬機,在 VMM 管理 Hyper-V 月臺之間複寫。
類型: | SwitchParameter |
Position: | 0 |
預設值: | None |
必要: | False |
接受管線輸入: | False |
接受萬用字元: | False |
-VMwareToAzure
切換參數來指定複寫的專案是將複寫至 Azure 的 VMware 虛擬機或實體伺服器。
類型: | SwitchParameter |
Position: | 0 |
預設值: | None |
必要: | True |
接受管線輸入: | False |
接受萬用字元: | False |
-WaitForCompletion
指定 Cmdlet 應該在傳回之前等待作業完成。
類型: | SwitchParameter |
Position: | Named |
預設值: | None |
必要: | False |
接受管線輸入: | False |
接受萬用字元: | False |
-WhatIf
顯示 Cmdlet 執行時會發生什麼事。 指令未執行。
類型: | SwitchParameter |
別名: | wi |
Position: | Named |
預設值: | None |
必要: | False |
接受管線輸入: | False |
接受萬用字元: | False |