# AzureKustoEmulatorResource

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

## Definition

```typescript
interface AzureKustoEmulatorResource
  extends IComputeResource,
    IResource,
    IResourceWithArgs,
    IResourceWithEndpoints,
    IResourceWithEnvironment,
    IResourceWithProbes,
    IResourceWithWaitSupport {
  withHostPort(port: number): AzureKustoEmulatorResource;
}
```

## Methods

- [withHostPort](/reference/api/typescript/aspire.hosting.azure.kusto/azurekustoemulatorresource/withhostport.md) -- `method` -- Sets the host port for the Kusto emulator endpoint
    ```typescript
  withHostPort(port: number): AzureKustoEmulatorResource
  ```
