Share via


MoveResourcesOperationsExtensions.ListAsync Method

Definition

Lists the Move Resources in the move collection.

public static System.Threading.Tasks.Task<Microsoft.Rest.Azure.IPage<Microsoft.Azure.Management.Migrate.ResourceMover.Models.MoveResource>> ListAsync (this Microsoft.Azure.Management.Migrate.ResourceMover.IMoveResourcesOperations operations, string resourceGroupName, string moveCollectionName, Microsoft.Rest.Azure.OData.ODataQuery<Microsoft.Azure.Management.Migrate.ResourceMover.Models.MoveResourceFilter> odataQuery = default, System.Threading.CancellationToken cancellationToken = default);
static member ListAsync : Microsoft.Azure.Management.Migrate.ResourceMover.IMoveResourcesOperations * string * string * Microsoft.Rest.Azure.OData.ODataQuery<Microsoft.Azure.Management.Migrate.ResourceMover.Models.MoveResourceFilter> * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Rest.Azure.IPage<Microsoft.Azure.Management.Migrate.ResourceMover.Models.MoveResource>>
<Extension()>
Public Function ListAsync (operations As IMoveResourcesOperations, resourceGroupName As String, moveCollectionName As String, Optional odataQuery As ODataQuery(Of MoveResourceFilter) = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of IPage(Of MoveResource))

Parameters

operations
IMoveResourcesOperations

The operations group for this extension method.

resourceGroupName
String

The Resource Group Name.

moveCollectionName
String

The Move Collection Name.

odataQuery
ODataQuery<MoveResourceFilter>

OData parameters to apply to the operation.

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to