# AzureKustoClusterResource.RunAsEmulator

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

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

## Remarks

This version of the package defaults to the tag of the / container image.

## Definition

```go
type AzureKustoClusterResource interface {
    // ... omitted for brevity
    RunAsEmulator(options ...*RunAsEmulatorOptions) AzureKustoClusterResource
}
```

## Signature

```go
RunAsEmulator(options ...*RunAsEmulatorOptions) AzureKustoClusterResource
```

## Parameters

- `options` (`...*RunAsEmulatorOptions`) -- optional settings, see [Options](#options)

## Options

Optional parameters are passed in a trailing `options ...*RunAsEmulatorOptions` argument.

- `ConfigureContainer` (`func(obj AzureKustoEmulatorResource)`) `callback` -- Optional action to configure the Kusto emulator container.

## Returns

[`AzureKustoClusterResource`](/reference/api/go/aspire.hosting.azure.kusto/azurekustoclusterresource.md) -- The resource builder.

Returns a handle; failures surface later via `Err()`.

## Defined on

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