# Aspire.Hosting.Azure.Kusto

- Module: `Aspire.Hosting.Azure.Kusto`
- Version: `17.0.0-preview.1.26567.5`
- Source: [GitHub](https://github.com/microsoft/aspire/tree/2d325b13709752ba6d9a943635c5e2940a2530c0)
- Functions: `6`
- Types: `3`

## Types

- [AzureKustoClusterResource](/reference/api/typescript/aspire.hosting.azure.kusto/azurekustoclusterresource.md) -- `handle` - 8 members -- A resource that represents a Kusto cluster.
- [AzureKustoEmulatorResource](/reference/api/typescript/aspire.hosting.azure.kusto/azurekustoemulatorresource.md) -- `handle` - 1 members
- [AzureKustoReadWriteDatabaseResource](/reference/api/typescript/aspire.hosting.azure.kusto/azurekustoreadwritedatabaseresource.md) -- `handle` - 6 members -- Represents an Azure Kusto read-write database resource, which is a child resource of a {@ats-ref type:AzureKustoClusterResource}.

## Functions

- [addAzureKustoCluster](/reference/api/typescript/aspire.hosting.azure.kusto/addazurekustocluster.md) -- `method` -- Adds an Azure Data Explorer (Kusto) cluster resource to the application model.
- [addReadWriteDatabase](/reference/api/typescript/aspire.hosting.azure.kusto/addreadwritedatabase.md) -- `method` -- Adds a Kusto read-write database to the application model.
- [getDatabaseCreationScript](/reference/api/typescript/aspire.hosting.azure.kusto/getdatabasecreationscript.md) -- `method` -- Gets the database creation script from the resource annotation if it exists. If not, creates the default database creation script.
- [runAsEmulator](/reference/api/typescript/aspire.hosting.azure.kusto/runasemulator.md) -- `method` -- Configures the Kusto resource to run as an emulator using the Kustainer container.
- [withCreationScript](/reference/api/typescript/aspire.hosting.azure.kusto/withcreationscript.md) -- `method` -- Defines the script used to create the database.
- [withHostPort](/reference/api/typescript/aspire.hosting.azure.kusto/withhostport.md) -- `method` -- Configures the host port that the Kusto emulator listens on for HTTP query requests.
