你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
ServiceClientAdapter.GetProtectionPolicyOperationStatus 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
GetProtectionPolicyOperationStatus(String, String) | |
GetProtectionPolicyOperationStatus(String, String, String, String) |
Gets result of a generic operation on the protection policy using the operation ID |
GetProtectionPolicyOperationStatus(String, String)
public Microsoft.Rest.Azure.AzureOperationResponse<Microsoft.Azure.Management.RecoveryServices.Backup.Models.OperationStatus> GetProtectionPolicyOperationStatus (string policyName, string operationId);
member this.GetProtectionPolicyOperationStatus : string * string -> Microsoft.Rest.Azure.AzureOperationResponse<Microsoft.Azure.Management.RecoveryServices.Backup.Models.OperationStatus>
Public Function GetProtectionPolicyOperationStatus (policyName As String, operationId As String) As AzureOperationResponse(Of OperationStatus)
Parameters
- policyName
- String
- operationId
- String
Returns
Applies to
GetProtectionPolicyOperationStatus(String, String, String, String)
Gets result of a generic operation on the protection policy using the operation ID
public Microsoft.Rest.Azure.AzureOperationResponse<Microsoft.Azure.Management.RecoveryServices.Backup.Models.OperationStatus> GetProtectionPolicyOperationStatus (string policyName, string operationId, string vaultName = default, string resourceGroupName = default);
member this.GetProtectionPolicyOperationStatus : string * string * string * string -> Microsoft.Rest.Azure.AzureOperationResponse<Microsoft.Azure.Management.RecoveryServices.Backup.Models.OperationStatus>
Public Function GetProtectionPolicyOperationStatus (policyName As String, operationId As String, Optional vaultName As String = Nothing, Optional resourceGroupName As String = Nothing) As AzureOperationResponse(Of OperationStatus)
Parameters
- policyName
- String
Name of the policy associated with the operation
- operationId
- String
ID of the operation in progress
- vaultName
- String
- resourceGroupName
- String