RecoveryServicesClientExtensions.GetOperationResultAsync Method

Definition

Gets the operation result for a resource.

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

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