# AzureKustoClusterResource

- Module: [Aspire.Hosting.Azure.Kusto](/reference/api/go/aspire.hosting.azure.kusto.md)
- Version: `17.0.0-preview.1.26565.2`
- Kind: `handle`
- Source: [GitHub](https://github.com/microsoft/aspire/tree/bcfa151cdca6d0a573f22d5d9c23f9c727cb3b2f)

A resource that represents a Kusto cluster.

## Definition

```go
type AzureKustoClusterResource interface {
    ExpressionValue
    Resource
    ResourceWithConnectionString
    ResourceWithEndpoints
}
```

## Embeds

- `ExpressionValue`
- `Resource`
- `ResourceWithConnectionString`
- `ResourceWithEndpoints`

## Properties

- `ClusterUri`: [`BicepOutputReference`](/reference/api/go/aspire.hosting.azure.kusto/bicepoutputreference.md) `get` -- Gets the cluster URI output reference for the Azure Kusto cluster.
- `ConnectionStringExpression`: `*ReferenceExpression` `get` -- Gets the ConnectionStringExpression property
- `IsEmulator`: `bool` `get` -- Gets whether the resource is running the local emulator.
- `NameOutputReference`: [`BicepOutputReference`](/reference/api/go/aspire.hosting.azure.kusto/bicepoutputreference.md) `get` -- Gets the "name" output reference for the resource.
- `ResourceTypeDisplayName`: `string` `get` -- Gets the ResourceTypeDisplayName property
- `UriExpression`: `*ReferenceExpression` `get` -- Gets the connection URI expression for the Kusto cluster.

## Methods

- [AddReadWriteDatabase](/reference/api/go/aspire.hosting.azure.kusto/azurekustoclusterresource/addreadwritedatabase.md) -- `method` -- Adds a Kusto read-write database to the application model.
  ```go
  AddReadWriteDatabase(name string, options ...*AddReadWriteDatabaseOptions) AzureKustoReadWriteDatabaseResource
  ```
- [RunAsEmulator](/reference/api/go/aspire.hosting.azure.kusto/azurekustoclusterresource/runasemulator.md) -- `method` -- Configures the Kusto resource to run as an emulator using the Kustainer container.
  ```go
  RunAsEmulator(options ...*RunAsEmulatorOptions) AzureKustoClusterResource
  ```
