ContainerServiceMachineCollection.GetAll(CancellationToken) Method

Definition

Gets a list of machines in the specified agent pool.

  • Request Path. : /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{resourceName}/agentPools/{agentPoolName}/machines.
  • Operation Id. : Machines_List.
  • Default Api Version. : 2026-01-02-preview.
public virtual Azure.Pageable<Azure.ResourceManager.ContainerService.ContainerServiceMachineResource> GetAll(System.Threading.CancellationToken cancellationToken = default);
abstract member GetAll : System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.ContainerService.ContainerServiceMachineResource>
override this.GetAll : System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.ContainerService.ContainerServiceMachineResource>
Public Overridable Function GetAll (Optional cancellationToken As CancellationToken = Nothing) As Pageable(Of ContainerServiceMachineResource)

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

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

Applies to