# AzureKustoClusterResource.runAsEmulator

- Module: [Aspire.Hosting.Azure.Kusto](/reference/api/typescript/aspire.hosting.azure.kusto.md)
- Defined on: [AzureKustoClusterResource](/reference/api/typescript/aspire.hosting.azure.kusto/azurekustoclusterresource.md)
- Version: `13.4.0-preview.1.26281.18`
- Kind: `method`

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;
}
```

## Signature

```typescript
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`

## Defined on

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