共用方式為


MoverResourceCollection.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
  • Default Api Version: 2023-08-01
  • Resource: MoverResource
public virtual Azure.AsyncPageable<Azure.ResourceManager.ResourceMover.MoverResource> GetAllAsync (string filter = default, System.Threading.CancellationToken cancellationToken = default);
abstract member GetAllAsync : string * System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.ResourceMover.MoverResource>
override this.GetAllAsync : string * System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.ResourceMover.MoverResource>
Public Overridable Function GetAllAsync (Optional filter As String = Nothing, Optional cancellationToken As CancellationToken = Nothing) As AsyncPageable(Of MoverResource)

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 MoverResource that may take multiple service requests to iterate over.

Applies to