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