你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

ServiceClientAdapter.RestoreDiskSecondryRegion Method

Definition

Restores the disk to the secondaryRegion based on the recovery point and other input parameters

public Microsoft.Rest.Azure.AzureOperationResponse RestoreDiskSecondryRegion (Microsoft.Azure.Commands.RecoveryServices.Backup.Cmdlets.Models.AzureRecoveryPoint rp, Microsoft.Azure.Management.RecoveryServices.Backup.CrossRegionRestore.Models.CrossRegionRestoreRequest triggerCRRRestoreRequest, string storageAccountLocation = default, string secondaryRegion = default);
member this.RestoreDiskSecondryRegion : Microsoft.Azure.Commands.RecoveryServices.Backup.Cmdlets.Models.AzureRecoveryPoint * Microsoft.Azure.Management.RecoveryServices.Backup.CrossRegionRestore.Models.CrossRegionRestoreRequest * string * string -> Microsoft.Rest.Azure.AzureOperationResponse
Public Function RestoreDiskSecondryRegion (rp As AzureRecoveryPoint, triggerCRRRestoreRequest As CrossRegionRestoreRequest, Optional storageAccountLocation As String = Nothing, Optional secondaryRegion As String = Nothing) As AzureOperationResponse

Parameters

rp
AzureRecoveryPoint

Recovery point to restore the disk to

triggerCRRRestoreRequest
CrossRegionRestoreRequest

Location of the storage account where to restore the disk

storageAccountLocation
String

ID of the storage account where to restore the disk

secondaryRegion
String

Type of the storage account where to restore the disk

Returns

Job created by this operation

Applies to