Share via


NetworkCloudAgentPoolCollection.GetAll(CancellationToken) Method

Definition

Get a list of agent pools for the provided Kubernetes cluster.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetworkCloud/kubernetesClusters/{kubernetesClusterName}/agentPools
  • Operation Id: AgentPools_ListByKubernetesCluster
public virtual Azure.Pageable<Azure.ResourceManager.NetworkCloud.NetworkCloudAgentPoolResource> GetAll (System.Threading.CancellationToken cancellationToken = default);
abstract member GetAll : System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.NetworkCloud.NetworkCloudAgentPoolResource>
override this.GetAll : System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.NetworkCloud.NetworkCloudAgentPoolResource>
Public Overridable Function GetAll (Optional cancellationToken As CancellationToken = Nothing) As Pageable(Of NetworkCloudAgentPoolResource)

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

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

Applies to