Share via


HybridContainerServiceAgentPoolCollection.GetAll(CancellationToken) Method

Definition

Gets the list of agent pools in the specified provisioned cluster

  • Request Path: /{connectedClusterResourceUri}/providers/Microsoft.HybridContainerService/provisionedClusterInstances/default/agentPools
  • Operation Id: agentPool_ListByProvisionedCluster
  • Default Api Version: 2024-01-01
  • Resource: HybridContainerServiceAgentPoolResource
public virtual Azure.Pageable<Azure.ResourceManager.HybridContainerService.HybridContainerServiceAgentPoolResource> GetAll (System.Threading.CancellationToken cancellationToken = default);
abstract member GetAll : System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.HybridContainerService.HybridContainerServiceAgentPoolResource>
override this.GetAll : System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.HybridContainerService.HybridContainerServiceAgentPoolResource>
Public Overridable Function GetAll (Optional cancellationToken As CancellationToken = Nothing) As Pageable(Of HybridContainerServiceAgentPoolResource)

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

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

Applies to