Share via


RecoveryServicesBackupClientExtensions.GetOperationStatusAsync Method

Definition

Fetches operation status for data move operation on vault

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

Parameters

operations
IRecoveryServicesBackupClient

The operations group for this extension method.

vaultName
String

The name of the recovery services vault.

resourceGroupName
String

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

operationId
String
cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to