Skip to content
Docs Try Aspire
Docs Try

ElasticvueContainerResource.withHostPort

Method
📦 CommunityToolkit.Aspire.Hosting.Elasticsearch.Extensions v13.4.0
interface ElasticvueContainerResource {
// ... omitted for brevity
withHostPort(port: number): ElasticvueContainerResource;
}

Signature

method withHostPort builder
Configures the host port that the Elasticvue resource is exposed on instead of using randomly assigned port.
withHostPort(port: number): ElasticvueContainerResource
port number
ElasticvueContainerResource

Defined on

This method is defined on the following type: