다음을 통해 공유


RecoveryServicesClientExtensions.GetOperationStatusAsync Method

Definition

Gets the operation status for a resource.

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.RecoveryServices.Models.OperationResource> GetOperationStatusAsync (this Microsoft.Azure.Management.RecoveryServices.IRecoveryServicesClient operations, string resourceGroupName, string vaultName, string operationId, System.Threading.CancellationToken cancellationToken = default);
static member GetOperationStatusAsync : Microsoft.Azure.Management.RecoveryServices.IRecoveryServicesClient * string * string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.RecoveryServices.Models.OperationResource>
<Extension()>
Public Function GetOperationStatusAsync (operations As IRecoveryServicesClient, resourceGroupName As String, vaultName As String, operationId As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of OperationResource)

Parameters

operations
IRecoveryServicesClient

The operations group for this extension method.

resourceGroupName
String

The name of the resource group where the recovery services vault is present.

vaultName
String

The name of the recovery services vault.

operationId
String
cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to