Share via


MockableStreamAnalyticsSubscriptionResource.GetStreamAnalyticsClustersAsync Method

Definition

Lists all of the clusters in the given subscription.

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

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

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

Applies to