# ElasticvueContainerResource

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

## Definition

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

## Embeds

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

## Methods

- [WithHostPort](/reference/api/go/communitytoolkit.aspire.hosting.elasticsearch.extensions/elasticvuecontainerresource/withhostport.md) -- `method` -- Configures the host port that the Elasticvue resource is exposed on instead of using randomly assigned port.
  ```go
  WithHostPort(port *float64) ElasticvueContainerResource
  ```
