Share via


HybridContainerServiceAgentPoolCollection.GetAllAsync 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.AsyncPageable<Azure.ResourceManager.HybridContainerService.HybridContainerServiceAgentPoolResource> GetAllAsync (System.Threading.CancellationToken cancellationToken = default);
abstract member GetAllAsync : System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.HybridContainerService.HybridContainerServiceAgentPoolResource>
override this.GetAllAsync : System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.HybridContainerService.HybridContainerServiceAgentPoolResource>
Public Overridable Function GetAllAsync (Optional cancellationToken As CancellationToken = Nothing) As AsyncPageable(Of HybridContainerServiceAgentPoolResource)

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

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

Applies to