Partilhar via


MockableNetworkCloudSubscriptionResource.GetNetworkCloudClusters Method

Definition

Get a list of clusters in the provided subscription.

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

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

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

Applies to