BackupWorkloadItemsOperationsExtensions.ListAsync Method

Definition

Provides a pageable list of workload item of a specific container according to the query filter and the pagination parameters.

public static System.Threading.Tasks.Task<Microsoft.Rest.Azure.IPage<Microsoft.Azure.Management.RecoveryServices.Backup.Models.WorkloadItemResource>> ListAsync (this Microsoft.Azure.Management.RecoveryServices.Backup.IBackupWorkloadItemsOperations operations, string vaultName, string resourceGroupName, string fabricName, string containerName, Microsoft.Rest.Azure.OData.ODataQuery<Microsoft.Azure.Management.RecoveryServices.Backup.Models.BMSWorkloadItemQueryObject> odataQuery = default, string skipToken = default, System.Threading.CancellationToken cancellationToken = default);
static member ListAsync : Microsoft.Azure.Management.RecoveryServices.Backup.IBackupWorkloadItemsOperations * string * string * string * string * Microsoft.Rest.Azure.OData.ODataQuery<Microsoft.Azure.Management.RecoveryServices.Backup.Models.BMSWorkloadItemQueryObject> * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Rest.Azure.IPage<Microsoft.Azure.Management.RecoveryServices.Backup.Models.WorkloadItemResource>>
<Extension()>
Public Function ListAsync (operations As IBackupWorkloadItemsOperations, vaultName As String, resourceGroupName As String, fabricName As String, containerName As String, Optional odataQuery As ODataQuery(Of BMSWorkloadItemQueryObject) = Nothing, Optional skipToken As String = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of IPage(Of WorkloadItemResource))

Parameters

operations
IBackupWorkloadItemsOperations

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.

fabricName
String

Fabric name associated with the container.

containerName
String

Name of the container.

odataQuery
ODataQuery<BMSWorkloadItemQueryObject>

OData parameters to apply to the operation.

skipToken
String

skipToken Filter.

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to