/// <summary> /// Triggers export of jobs specified by filters and returns an OperationID to /// track. /// </summary> /// <param name='operations'> /// The operations group for this extension method. /// </param> /// <param name='vaultName'> /// The name of the recovery services vault. /// </param> /// <param name='resourceGroupName'> /// The name of the resource group where the recovery services vault is /// present. /// </param> /// <param name='odataQuery'> /// OData parameters to apply to the operation. /// </param> /// <param name='cancellationToken'> /// The cancellation token. /// </param> public static async Task ExportAsync(this IJobsOperations operations, string vaultName, string resourceGroupName, ODataQuery <JobQueryObject> odataQuery = default(ODataQuery <JobQueryObject>), CancellationToken cancellationToken = default(CancellationToken)) { (await operations.ExportWithHttpMessagesAsync(vaultName, resourceGroupName, odataQuery, null, cancellationToken).ConfigureAwait(false)).Dispose(); }