次の方法で共有


MockableNetworkCloudSubscriptionResource.GetNetworkCloudKubernetesClustersAsync 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.AsyncPageable<Azure.ResourceManager.NetworkCloud.NetworkCloudKubernetesClusterResource> GetNetworkCloudKubernetesClustersAsync (System.Threading.CancellationToken cancellationToken = default);
abstract member GetNetworkCloudKubernetesClustersAsync : System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.NetworkCloud.NetworkCloudKubernetesClusterResource>
override this.GetNetworkCloudKubernetesClustersAsync : System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.NetworkCloud.NetworkCloudKubernetesClusterResource>
Public Overridable Function GetNetworkCloudKubernetesClustersAsync (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