你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
ServiceClientAdapter.RestoreDisk Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
RestoreDisk(AzureVmRecoveryPoint, String, String, String, Boolean) | |
RestoreDisk(AzureRecoveryPoint, String, RestoreRequestResource, String, String, String, String, Boolean) |
Restores the disk based on the recovery point and other input parameters |
RestoreDisk(AzureVmRecoveryPoint, String, String, String, Boolean)
public Microsoft.Rest.Azure.AzureOperationResponse RestoreDisk (Microsoft.Azure.Commands.RecoveryServices.Backup.Cmdlets.Models.AzureVmRecoveryPoint rp, string storageAccountId, string storageAccountLocation, string storageAccountType, bool osaOption);
member this.RestoreDisk : Microsoft.Azure.Commands.RecoveryServices.Backup.Cmdlets.Models.AzureVmRecoveryPoint * string * string * string * bool -> Microsoft.Rest.Azure.AzureOperationResponse
Public Function RestoreDisk (rp As AzureVmRecoveryPoint, storageAccountId As String, storageAccountLocation As String, storageAccountType As String, osaOption As Boolean) As AzureOperationResponse
Parameters
- storageAccountId
- String
- storageAccountLocation
- String
- storageAccountType
- String
- osaOption
- Boolean
Returns
Applies to
RestoreDisk(AzureRecoveryPoint, String, RestoreRequestResource, String, String, String, String, Boolean)
Restores the disk based on the recovery point and other input parameters
public Microsoft.Rest.Azure.AzureOperationResponse RestoreDisk (Microsoft.Azure.Commands.RecoveryServices.Backup.Cmdlets.Models.AzureRecoveryPoint rp, string storageAccountLocation, Microsoft.Azure.Management.RecoveryServices.Backup.Models.RestoreRequestResource triggerRestoreRequest, string vaultName = default, string resourceGroupName = default, string vaultLocation = default, string auxiliaryAccessToken = "", bool isMUAProtected = false);
member this.RestoreDisk : Microsoft.Azure.Commands.RecoveryServices.Backup.Cmdlets.Models.AzureRecoveryPoint * string * Microsoft.Azure.Management.RecoveryServices.Backup.Models.RestoreRequestResource * string * string * string * string * bool -> Microsoft.Rest.Azure.AzureOperationResponse
Public Function RestoreDisk (rp As AzureRecoveryPoint, storageAccountLocation As String, triggerRestoreRequest As RestoreRequestResource, Optional vaultName As String = Nothing, Optional resourceGroupName As String = Nothing, Optional vaultLocation As String = Nothing, Optional auxiliaryAccessToken As String = "", Optional isMUAProtected As Boolean = false) As AzureOperationResponse
Parameters
Recovery point to restore the disk to
- storageAccountLocation
- String
Location of the storage account where to restore the disk
- triggerRestoreRequest
- RestoreRequestResource
- vaultName
- String
- resourceGroupName
- String
- vaultLocation
- String
- auxiliaryAccessToken
- String
- isMUAProtected
- Boolean
Returns
Job created by this operation