ExportJobsOperationResultsOperationsExtensions.GetAsync Method

Definition

Gets the operation result of operation triggered by Export Jobs API. If the operation is successful, then it also contains URL of a Blob and a SAS key to access the same. The blob contains exported jobs in JSON serialized format.

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

Parameters

operations
IExportJobsOperationResultsOperations

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

OperationID which represents the export job.

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to