Skip to content
Docs Try Aspire
Docs Try

withHostPort

Method
📦 Aspire.Hosting.Azure.PostgreSQL v13.2.0
interface PgAdminContainerResource {
// ... omitted for brevity
withHostPort(port: number): PgAdminContainerResource;
}

Signature

method withHostPort builder
Sets the host port for pgAdmin
withHostPort(port: number): PgAdminContainerResource
port number
PgAdminContainerResource

Applies to

This method applies to the following types: