Share via


StorageMoverAgentCollection.GetAll(CancellationToken) Method

Definition

Lists all Agents in a Storage Mover.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageMover/storageMovers/{storageMoverName}/agents
  • Operation Id: Agents_List
  • Default Api Version: 2024-07-01
  • Resource: StorageMoverAgentResource
public virtual Azure.Pageable<Azure.ResourceManager.StorageMover.StorageMoverAgentResource> GetAll (System.Threading.CancellationToken cancellationToken = default);
abstract member GetAll : System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.StorageMover.StorageMoverAgentResource>
override this.GetAll : System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.StorageMover.StorageMoverAgentResource>
Public Overridable Function GetAll (Optional cancellationToken As CancellationToken = Nothing) As Pageable(Of StorageMoverAgentResource)

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

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

Applies to