# runAsEmulator

- Module: [Aspire.Hosting.Azure.Kusto](/reference/api/typescript/aspire.hosting.azure.kusto.md)
- Version: `13.3.0-preview.1.26254.5`
- Kind: `method`
- Source: [GitHub](https://github.com/microsoft/aspire)

Configures the Kusto cluster to run using the local emulator

## Definition

```typescript
interface AzureKustoClusterResource {
  // ... omitted for brevity
  runAsEmulator(configureContainer?: (obj: AzureKustoEmulatorResource) => Promise<void>): AzureKustoClusterResource
}
```

## Parameters

- `configureContainer` (`(obj: AzureKustoEmulatorResource) => Promise<void>`) `optional`

## Returns

[AzureKustoClusterResource](/reference/api/typescript/aspire.hosting.azure.kusto/azurekustoclusterresource.md) `builder`

## Applies to

- [AzureKustoClusterResource](/reference/api/typescript/aspire.hosting.azure.kusto/azurekustoclusterresource.md)
