# runAsEmulator

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

Configures the Kusto resource to run as an emulator using the Kustainer container.

## 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)
