AzureKustoBuilderExtensions
Class static net10.0
Extension methods for adding Kusto resources to the application model.
namespace Aspire.Hosting;
public static class AzureKustoBuilderExtensions{ // ...} 5 members
Methods5
Section titled MethodsAddAzureKustoCluster(IDistributedApplicationBuilder, string)extensionIResourceBuilder<AzureKustoClusterResource> Adds an Azure Data Explorer (Kusto) cluster resource to the application model.
AddReadWriteDatabase(IResourceBuilder<AzureKustoClusterResource>, string, string?)extensionIResourceBuilder<AzureKustoReadWriteDatabaseResource> Adds a Kusto read-write database to the application model.
RunAsEmulator(IResourceBuilder<AzureKustoClusterResource>, Action<IResourceBuilder<AzureKustoEmulatorResource>>)extensionIResourceBuilder<AzureKustoClusterResource> Configures the Kusto resource to run as an emulator using the Kustainer container.
WithCreationScript(IResourceBuilder<AzureKustoReadWriteDatabaseResource>, string)extensionIResourceBuilder<AzureKustoReadWriteDatabaseResource> Defines the script used to create the database.
WithHostPort(IResourceBuilder<AzureKustoEmulatorResource>, int)extensionIResourceBuilder<AzureKustoEmulatorResource> Configures the host port that the Kusto emulator listens on for HTTP query requests.