Udostępnij za pośrednictwem


StreamAnalyticsExtensions.GetStreamAnalyticsClusters Method

Definition

Overloads

GetStreamAnalyticsClusters(ResourceGroupResource)

Gets a collection of StreamAnalyticsClusterResources in the ResourceGroupResource. MockingTo mock this method, please mock GetStreamAnalyticsClusters() instead.

GetStreamAnalyticsClusters(SubscriptionResource, CancellationToken)

Lists all of the clusters in the given subscription.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.StreamAnalytics/clusters
  • Operation Id: Clusters_ListBySubscription

GetStreamAnalyticsClusters(ResourceGroupResource)

Source:
StreamAnalyticsExtensions.cs
Source:
StreamAnalyticsExtensions.cs

Gets a collection of StreamAnalyticsClusterResources in the ResourceGroupResource. MockingTo mock this method, please mock GetStreamAnalyticsClusters() instead.

public static Azure.ResourceManager.StreamAnalytics.StreamAnalyticsClusterCollection GetStreamAnalyticsClusters (this Azure.ResourceManager.Resources.ResourceGroupResource resourceGroupResource);
static member GetStreamAnalyticsClusters : Azure.ResourceManager.Resources.ResourceGroupResource -> Azure.ResourceManager.StreamAnalytics.StreamAnalyticsClusterCollection
<Extension()>
Public Function GetStreamAnalyticsClusters (resourceGroupResource As ResourceGroupResource) As StreamAnalyticsClusterCollection

Parameters

resourceGroupResource
ResourceGroupResource

The ResourceGroupResource instance the method will execute against.

Returns

An object representing collection of StreamAnalyticsClusterResources and their operations over a StreamAnalyticsClusterResource.

Exceptions

resourceGroupResource is null.

Applies to

GetStreamAnalyticsClusters(SubscriptionResource, CancellationToken)

Source:
StreamAnalyticsExtensions.cs
Source:
StreamAnalyticsExtensions.cs

Lists all of the clusters in the given subscription.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.StreamAnalytics/clusters
  • Operation Id: Clusters_ListBySubscription
public static Azure.Pageable<Azure.ResourceManager.StreamAnalytics.StreamAnalyticsClusterResource> GetStreamAnalyticsClusters (this Azure.ResourceManager.Resources.SubscriptionResource subscriptionResource, System.Threading.CancellationToken cancellationToken = default);
static member GetStreamAnalyticsClusters : Azure.ResourceManager.Resources.SubscriptionResource * System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.StreamAnalytics.StreamAnalyticsClusterResource>
<Extension()>
Public Function GetStreamAnalyticsClusters (subscriptionResource As SubscriptionResource, Optional cancellationToken As CancellationToken = Nothing) As Pageable(Of StreamAnalyticsClusterResource)

Parameters

subscriptionResource
SubscriptionResource

The SubscriptionResource instance the method will execute against.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

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

Exceptions

subscriptionResource is null.

Applies to