addPostgres
Method
interface IDistributedApplicationBuilder { // ... omitted for brevity addPostgres( name: string, userName?: ParameterResource, password?: ParameterResource, port?: number): PostgresServerResource;}Signature
method
addPostgres builder Adds a PostgreSQL resource to the application model. A container is used for local development.
addPostgres( name: string, userName?: ParameterResource, password?: ParameterResource, port?: number): PostgresServerResourceParameters
name string userName ParameterResource optional password ParameterResource optional port number optional Returns
PostgresServerResource Applies to
This method applies to the following types: