# RedPandaConsoleContainerResource

- Module: [CommunityToolkit.Aspire.Hosting.RedPanda](/reference/api/go/communitytoolkit.aspire.hosting.redpanda.md)
- Version: `13.6.1`
- Kind: `handle`
- Source: [GitHub](https://github.com/CommunityToolkit/Aspire/tree/d9c2addac6f527ef2e33712d290b84574b455a3b)

A resource that represents a Redpanda Console container, a web UI for managing and inspecting one or more Redpanda (or Kafka) brokers.

## Definition

```go
type RedPandaConsoleContainerResource interface {
    IComputeResource
    Resource
    ResourceWithArgs
    ResourceWithEndpoints
    ResourceWithEnvironment
    ResourceWithWaitSupport
}
```

## Embeds

- `IComputeResource`
- `Resource`
- `ResourceWithArgs`
- `ResourceWithEndpoints`
- `ResourceWithEnvironment`
- `ResourceWithWaitSupport`

## Methods

- [WithHostPort](/reference/api/go/communitytoolkit.aspire.hosting.redpanda/redpandaconsolecontainerresource/withhostport.md) -- `method` -- Configures the host port that the Redpanda Console resource is exposed on instead of using a randomly assigned port.
  ```go
  WithHostPort(port *float64) RedPandaConsoleContainerResource
  ```
