# Aspire.Hosting.Azure.Kusto

- Module: `Aspire.Hosting.Azure.Kusto`
- Version: `17.0.0-preview.1.26565.2`
- Import path: `apphost/modules/aspire`
- Source: [GitHub](https://github.com/microsoft/aspire/tree/bcfa151cdca6d0a573f22d5d9c23f9c727cb3b2f)
- Functions: `6`
- Types: `4`

## Handles

- [AzureKustoClusterResource](/reference/api/go/aspire.hosting.azure.kusto/azurekustoclusterresource.md) -- `handle` - 8 members -- A resource that represents a Kusto cluster.
- [AzureKustoEmulatorResource](/reference/api/go/aspire.hosting.azure.kusto/azurekustoemulatorresource.md) -- `handle` - 1 members
- [AzureKustoReadWriteDatabaseResource](/reference/api/go/aspire.hosting.azure.kusto/azurekustoreadwritedatabaseresource.md) -- `handle` - 6 members -- Represents an Azure Kusto read-write database resource, which is a child resource of a `AzureKustoClusterResource`.
- [BicepOutputReference](/reference/api/go/aspire.hosting.azure.kusto/bicepoutputreference.md) -- `handle` - 0 members

## Functions

- [AddReadWriteDatabase](/reference/api/go/aspire.hosting.azure.kusto/addreadwritedatabase.md) -- `method` - on `AzureKustoClusterResource` -- Adds a Kusto read-write database to the application model.
- [RunAsEmulator](/reference/api/go/aspire.hosting.azure.kusto/runasemulator.md) -- `method` - on `AzureKustoClusterResource` -- Configures the Kusto resource to run as an emulator using the Kustainer container.
- [WithHostPort](/reference/api/go/aspire.hosting.azure.kusto/withhostport.md) -- `method` - on `AzureKustoEmulatorResource` -- Configures the host port that the Kusto emulator listens on for HTTP query requests.
- [GetDatabaseCreationScript](/reference/api/go/aspire.hosting.azure.kusto/getdatabasecreationscript.md) -- `method` - on `AzureKustoReadWriteDatabaseResource` -- Gets the database creation script from the resource annotation if it exists. If not, creates the default database creation script.
- [WithCreationScript](/reference/api/go/aspire.hosting.azure.kusto/withcreationscript.md) -- `method` - on `AzureKustoReadWriteDatabaseResource` -- Defines the script used to create the database.
- [AddAzureKustoCluster](/reference/api/go/aspire.hosting.azure.kusto/addazurekustocluster.md) -- `method` - on `DistributedApplicationBuilder` -- Adds an Azure Data Explorer (Kusto) cluster resource to the application model.
