Share via


BackupCrrJobsOperationsExtensions.ListAsync Method

Definition

Gets the list of CRR jobs from the target region.

public static System.Threading.Tasks.Task<Microsoft.Rest.Azure.IPage<Microsoft.Azure.Management.RecoveryServices.Backup.CrossRegionRestore.Models.JobResource>> ListAsync (this Microsoft.Azure.Management.RecoveryServices.Backup.CrossRegionRestore.IBackupCrrJobsOperations operations, string azureRegion, Microsoft.Azure.Management.RecoveryServices.Backup.CrossRegionRestore.Models.CrrJobRequest parameters, Microsoft.Rest.Azure.OData.ODataQuery<Microsoft.Azure.Management.RecoveryServices.Backup.CrossRegionRestore.Models.JobQueryObject> odataQuery = default, string skipToken = default, System.Threading.CancellationToken cancellationToken = default);
static member ListAsync : Microsoft.Azure.Management.RecoveryServices.Backup.CrossRegionRestore.IBackupCrrJobsOperations * string * Microsoft.Azure.Management.RecoveryServices.Backup.CrossRegionRestore.Models.CrrJobRequest * Microsoft.Rest.Azure.OData.ODataQuery<Microsoft.Azure.Management.RecoveryServices.Backup.CrossRegionRestore.Models.JobQueryObject> * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Rest.Azure.IPage<Microsoft.Azure.Management.RecoveryServices.Backup.CrossRegionRestore.Models.JobResource>>
<Extension()>
Public Function ListAsync (operations As IBackupCrrJobsOperations, azureRegion As String, parameters As CrrJobRequest, Optional odataQuery As ODataQuery(Of JobQueryObject) = Nothing, Optional skipToken As String = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of IPage(Of JobResource))

Parameters

operations
IBackupCrrJobsOperations

The operations group for this extension method.

azureRegion
String

Azure region to hit Api

parameters
CrrJobRequest

Backup CRR Job request

odataQuery
ODataQuery<JobQueryObject>

OData parameters to apply to the operation.

skipToken
String

skipToken Filter.

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to