Partilhar via


MockableNetworkCloudSubscriptionResource.GetNetworkCloudKubernetesClusters Method

Definition

Get a list of Kubernetes clusters in the provided subscription.

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

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

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

Applies to