AzureKustoBuilderExtensions.AddAzureKustoCluster Method       
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Adds an Azure Data Explorer (Kusto) cluster resource to the application model.
public static Aspire.Hosting.ApplicationModel.IResourceBuilder<Aspire.Hosting.Azure.Kusto.AzureKustoClusterResource> AddAzureKustoCluster(this Aspire.Hosting.IDistributedApplicationBuilder builder, string name);static member AddAzureKustoCluster : Aspire.Hosting.IDistributedApplicationBuilder * string -> Aspire.Hosting.ApplicationModel.IResourceBuilder<Aspire.Hosting.Azure.Kusto.AzureKustoClusterResource><Extension()>
Public Function AddAzureKustoCluster (builder As IDistributedApplicationBuilder, name As String) As IResourceBuilder(Of AzureKustoClusterResource)Parameters
- name
- String
The name of the resource. This name will be used as the connection string name when referenced in a dependency.
Returns
A reference to the IResourceBuilder<T>.
Remarks
When adding an AzureKustoClusterResource to your application model the resource can then be referenced by other resources using the resource name. When the dependent resource is using the extension method WaitFor<T>(IResourceBuilder<T>, IResourceBuilder<IResource>) then the dependent resource will wait until the Kusto database is available.
By default references to the Azure Data Explorer database resources will be assigned the following roles:
- User