Compartilhar via


NetworkCloudKubernetesClusterCollection.GetAllAsync(CancellationToken) Method

Definition

Get a list of Kubernetes clusters in the provided resource group.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetworkCloud/kubernetesClusters
  • Operation Id: KubernetesClusters_ListByResourceGroup
  • Default Api Version: 2024-06-01-preview
  • Resource: NetworkCloudKubernetesClusterResource
public virtual Azure.AsyncPageable<Azure.ResourceManager.NetworkCloud.NetworkCloudKubernetesClusterResource> GetAllAsync (System.Threading.CancellationToken cancellationToken = default);
abstract member GetAllAsync : System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.NetworkCloud.NetworkCloudKubernetesClusterResource>
override this.GetAllAsync : System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.NetworkCloud.NetworkCloudKubernetesClusterResource>
Public Overridable Function GetAllAsync (Optional cancellationToken As CancellationToken = Nothing) As AsyncPageable(Of NetworkCloudKubernetesClusterResource)

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

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

Applies to