Skip to content
DocsTry Aspire
DocsTry

withHostPort

Method
📦 CommunityToolkit.Aspire.Hosting.SeaweedFS v13.5.0
interface SeaweedFSContainerResource {
// ... omitted for brevity
withHostPort(port: number): SeaweedFSContainerResource;
}

Signature

methodwithHostPortbuilder
Configures the Master API host port that the SeaweedFS resource is exposed on.
withHostPort(port: number): SeaweedFSContainerResource
portnumber
SeaweedFSContainerResource

Applies to

This method applies to the following types: