MoverResourceCollection.GetAllAsync(String, CancellationToken) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.