Aspirerelease/17.0
Watch Aspire live streamsDocsTry Aspire

WithHostPort

Method
📦 CommunityToolkit.Aspire.Hosting.SeaweedFS v13.6.1
func (SeaweedFSContainerResource) WithHostPort(port *float64) SeaweedFSContainerResource

Signature

methodWithHostPortbuilder
Configures the Master API host port that the SeaweedFS resource is exposed on.
WithHostPort(port *float64) SeaweedFSContainerResource
port*float64
SeaweedFSContainerResource

Returns a handle; failures surface later via Err().

Applies to

This method applies to the following types: