Skip to content
DocsTry Aspire
DocsTry

MinioContainerResource.withHostPort

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

Signature

methodwithHostPortbuilder
Configures the host port that the MinIO resource is exposed on instead of using randomly assigned port.
withHostPort(port: number): MinioContainerResource
portnumber
MinioContainerResource

Defined on

This method is defined on the following type: