Watch Aspire live streamsDocsTry Aspire
Watch Aspire live streamsDocsTry

PhpMyAdminContainerResource.withHostPort

Method
📦 Aspire.Hosting.MySql v13.6.0
interface PhpMyAdminContainerResource {
// ... omitted for brevity
withHostPort(port: number): PhpMyAdminContainerResource;
}

Signature

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

Defined on

This method is defined on the following type: