Share via


KustoDatabaseCollection Class

Definition

A class representing a collection of KustoDatabaseResource and their operations. Each KustoDatabaseResource in the collection will belong to the same instance of KustoClusterResource. To get a KustoDatabaseCollection instance call the GetKustoDatabases method from an instance of KustoClusterResource.

public class KustoDatabaseCollection : Azure.ResourceManager.ArmCollection, System.Collections.Generic.IAsyncEnumerable<Azure.ResourceManager.Kusto.KustoDatabaseResource>, System.Collections.Generic.IEnumerable<Azure.ResourceManager.Kusto.KustoDatabaseResource>
type KustoDatabaseCollection = class
    inherit ArmCollection
    interface seq<KustoDatabaseResource>
    interface IEnumerable
    interface IAsyncEnumerable<KustoDatabaseResource>
Public Class KustoDatabaseCollection
Inherits ArmCollection
Implements IAsyncEnumerable(Of KustoDatabaseResource), IEnumerable(Of KustoDatabaseResource)
Inheritance
KustoDatabaseCollection
Implements

Constructors

KustoDatabaseCollection()

Initializes a new instance of the KustoDatabaseCollection class for mocking.

Properties

Client

Gets the ArmClient this resource client was created from.

(Inherited from ArmCollection)
Diagnostics

Gets the diagnostic options for this resource client.

(Inherited from ArmCollection)
Endpoint

Gets the base uri for this resource client.

(Inherited from ArmCollection)
Id

Gets the resource identifier.

(Inherited from ArmCollection)
Pipeline

Gets the pipeline for this resource client.

(Inherited from ArmCollection)

Methods

CreateOrUpdate(WaitUntil, String, KustoDatabaseData, CancellationToken)

Creates or updates a database.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Kusto/clusters/{clusterName}/databases/{databaseName}
  • Operation Id: Databases_CreateOrUpdate
CreateOrUpdate(WaitUntil, String, KustoDatabaseData, Nullable<KustoDatabaseCallerRole>, CancellationToken)

Creates or updates a database.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Kusto/clusters/{clusterName}/databases/{databaseName}
  • Operation Id: Databases_CreateOrUpdate
CreateOrUpdateAsync(WaitUntil, String, KustoDatabaseData, CancellationToken)

Creates or updates a database.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Kusto/clusters/{clusterName}/databases/{databaseName}
  • Operation Id: Databases_CreateOrUpdate
CreateOrUpdateAsync(WaitUntil, String, KustoDatabaseData, Nullable<KustoDatabaseCallerRole>, CancellationToken)

Creates or updates a database.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Kusto/clusters/{clusterName}/databases/{databaseName}
  • Operation Id: Databases_CreateOrUpdate
Exists(String, CancellationToken)

Checks to see if the resource exists in azure.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Kusto/clusters/{clusterName}/databases/{databaseName}
  • Operation Id: Databases_Get
ExistsAsync(String, CancellationToken)

Checks to see if the resource exists in azure.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Kusto/clusters/{clusterName}/databases/{databaseName}
  • Operation Id: Databases_Get
Get(String, CancellationToken)

Returns a database.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Kusto/clusters/{clusterName}/databases/{databaseName}
  • Operation Id: Databases_Get
GetAll(CancellationToken)

Returns the list of databases of the given Kusto cluster.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Kusto/clusters/{clusterName}/databases
  • Operation Id: Databases_ListByCluster
GetAll(Nullable<Int32>, String, CancellationToken)

Returns the list of databases of the given Kusto cluster.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Kusto/clusters/{clusterName}/databases
  • Operation Id: Databases_ListByCluster
GetAllAsync(CancellationToken)

Returns the list of databases of the given Kusto cluster.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Kusto/clusters/{clusterName}/databases
  • Operation Id: Databases_ListByCluster
GetAllAsync(Nullable<Int32>, String, CancellationToken)

Returns the list of databases of the given Kusto cluster.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Kusto/clusters/{clusterName}/databases
  • Operation Id: Databases_ListByCluster
GetAsync(String, CancellationToken)

Returns a database.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Kusto/clusters/{clusterName}/databases/{databaseName}
  • Operation Id: Databases_Get
GetIfExists(String, CancellationToken)

Tries to get details for this resource from the service.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Kusto/clusters/{clusterName}/databases/{databaseName}
  • Operation Id: Databases_Get
GetIfExistsAsync(String, CancellationToken)

Tries to get details for this resource from the service.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Kusto/clusters/{clusterName}/databases/{databaseName}
  • Operation Id: Databases_Get
TryGetApiVersion(ResourceType, String)

Gets the api version override if it has been set for the current client options.

(Inherited from ArmCollection)

Explicit Interface Implementations

IAsyncEnumerable<KustoDatabaseResource>.GetAsyncEnumerator(CancellationToken)

Returns an enumerator that iterates asynchronously through the collection.

IEnumerable.GetEnumerator()

Returns an enumerator that iterates through a collection.

IEnumerable<KustoDatabaseResource>.GetEnumerator()

Returns an enumerator that iterates through the collection.

Applies to