MoverResourceCollection.GetAll(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.Pageable<Azure.ResourceManager.ResourceMover.MoverResource> GetAll (string filter = default, System.Threading.CancellationToken cancellationToken = default);
abstract member GetAll : string * System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.ResourceMover.MoverResource>
override this.GetAll : string * System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.ResourceMover.MoverResource>
Public Overridable Function GetAll (Optional filter As String = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Pageable(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

A collection of MoverResource that may take multiple service requests to iterate over.

Applies to