MockableNetworkCloudSubscriptionResource.GetNetworkCloudClustersAsync Method

Definition

Get a list of clusters in the provided subscription.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.NetworkCloud/clusters
  • Operation Id: Clusters_ListBySubscription
public virtual Azure.AsyncPageable<Azure.ResourceManager.NetworkCloud.NetworkCloudClusterResource> GetNetworkCloudClustersAsync (System.Threading.CancellationToken cancellationToken = default);
abstract member GetNetworkCloudClustersAsync : System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.NetworkCloud.NetworkCloudClusterResource>
override this.GetNetworkCloudClustersAsync : System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.NetworkCloud.NetworkCloudClusterResource>
Public Overridable Function GetNetworkCloudClustersAsync (Optional cancellationToken As CancellationToken = Nothing) As AsyncPageable(Of NetworkCloudClusterResource)

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

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

Applies to