ElasticvueContainerResource.withHostPort

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

Signature

methodwithHostPortbuilder
Configures the host port that the Elasticvue resource is exposed on instead of using randomly assigned port.
withHostPort(port: number): ElasticvueContainerResource
portnumberThe port to bind on the host. If `null` is used random port will be assigned.
ElasticvueContainerResource

Defined on

This method is defined on the following type: