KustoExtensions.GetKustoClusters Method

Definition

Overloads

GetKustoClusters(ResourceGroupResource)

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

GetKustoClusters(SubscriptionResource, CancellationToken)

Lists all Kusto clusters within a subscription.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.Kusto/clusters
  • Operation Id: Clusters_List

GetKustoClusters(ResourceGroupResource)

Source:
KustoExtensions.cs

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

public static Azure.ResourceManager.Kusto.KustoClusterCollection GetKustoClusters (this Azure.ResourceManager.Resources.ResourceGroupResource resourceGroupResource);
static member GetKustoClusters : Azure.ResourceManager.Resources.ResourceGroupResource -> Azure.ResourceManager.Kusto.KustoClusterCollection
<Extension()>
Public Function GetKustoClusters (resourceGroupResource As ResourceGroupResource) As KustoClusterCollection

Parameters

resourceGroupResource
ResourceGroupResource

The ResourceGroupResource instance the method will execute against.

Returns

An object representing collection of KustoClusterResources and their operations over a KustoClusterResource.

Exceptions

resourceGroupResource is null.

Applies to

GetKustoClusters(SubscriptionResource, CancellationToken)

Source:
KustoExtensions.cs

Lists all Kusto clusters within a subscription.

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

Parameters

subscriptionResource
SubscriptionResource

The SubscriptionResource instance the method will execute against.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

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

Exceptions

subscriptionResource is null.

Applies to