Udostępnij za pośrednictwem


JobOperationResultsOperationsExtensions.GetAsync Method

Definition

Fetches the result of any operation.

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

Parameters

operations
IJobOperationResultsOperations

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.

jobName
String

Job name whose operation result has to be fetched.

operationId
String

OperationID which represents the operation whose result has to be fetched.

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to