Dela via


MoveResourceCollection.GetAllAsync(String, CancellationToken) Method

Definition

Lists the Move Resources in the move collection. Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Migrate/moveCollections/{moveCollectionName}/moveResources Operation Id: MoveResources_List

public virtual Azure.AsyncPageable<Azure.ResourceManager.Migrate.MoveResource> GetAllAsync (string filter = default, System.Threading.CancellationToken cancellationToken = default);
abstract member GetAllAsync : string * System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.Migrate.MoveResource>
override this.GetAllAsync : string * System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.Migrate.MoveResource>
Public Overridable Function GetAllAsync (Optional filter As String = Nothing, Optional cancellationToken As CancellationToken = Nothing) As AsyncPageable(Of MoveResource)

Parameters

filter
String

The filter to apply on the operation. For example, you can use $filter=Properties/ProvisioningState eq 'Succeeded'.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

An async collection of MoveResource that may take multiple service requests to iterate over.

Applies to