property
primaryEndpointEndpointReferencegetGets the primary endpoint for the PostgreSQL server.
API references are intentionally omitted from this search. To find API references, please search these dedicated API pages instead:
interface PostgresServerResource extends IComputeResource, IExpressionValue, IManifestExpressionProvider, IResource, IResourceWithArgs, IResourceWithConnectionString, IResourceWithEndpoints, IResourceWithEnvironment, IResourceWithProbes, IResourceWithWaitSupport, IValueProvider, IValueWithReferences { readonly connectionStringExpression: ReferenceExpression; readonly databases: Dict<string,string>; readonly host: EndpointReferenceExpression; readonly jdbcConnectionString: ReferenceExpression; passwordParameter: ParameterResource; readonly port: EndpointReferenceExpression; readonly primaryEndpoint: EndpointReference; readonly uriExpression: ReferenceExpression; userNameParameter: ParameterResource; readonly userNameReference: ReferenceExpression; addDatabase( name: string, databaseName?: string): PostgresDatabaseResource; withDataBindMount( source: string, isReadOnly?: boolean): PostgresServerResource; withDataVolume( name?: string, isReadOnly?: boolean): PostgresServerResource; withHostPort(port: number): PostgresServerResource; withInitFiles(source: string): PostgresServerResource; withPassword(password: ParameterResource): PostgresServerResource; withPgAdmin(configureContainer?: (obj: PgAdminContainerResource) => Promise<void>, containerName?: string): PostgresServerResource; withPgWeb(configureContainer?: (obj: PgWebContainerResource) => Promise<void>, containerName?: string): PostgresServerResource; withUserName(userName: ParameterResource): PostgresServerResource;}connectionStringExpressionReferenceExpressiongetdatabasesDict<string,string>gethostEndpointReferenceExpressiongetjdbcConnectionStringReferenceExpressiongetpasswordParameterParameterResourceget · setportEndpointReferenceExpressiongetprimaryEndpointEndpointReferencegeturiExpressionReferenceExpressiongetuserNameParameterParameterResourceget · setuserNameReferenceReferenceExpressiongetaddDatabase( name: string, databaseName?: string): PostgresDatabaseResourceParameters
namestringdatabaseNamestringoptionalReturns
PostgresDatabaseResourcewithDataBindMount( source: string, isReadOnly?: boolean): PostgresServerResourceParameters
sourcestringisReadOnlybooleanoptional= FalseReturns
PostgresServerResourcewithDataVolume( name?: string, isReadOnly?: boolean): PostgresServerResourceParameters
namestringoptionalisReadOnlybooleanoptional= FalseReturns
PostgresServerResourcewithHostPort(port: number): PostgresServerResourceParameters
portnumberReturns
PostgresServerResourcewithInitFiles(source: string): PostgresServerResourceParameters
sourcestringReturns
PostgresServerResourcewithPassword(password: ParameterResource): PostgresServerResourceParameters
passwordParameterResourceReturns
PostgresServerResourcewithPgAdmin(configureContainer?: (obj: PgAdminContainerResource) => Promise<void>, containerName?: string): PostgresServerResourceParameters
configureContainer(obj: PgAdminContainerResource) => Promise<void>optionalcontainerNamestringoptionalReturns
PostgresServerResourcewithPgWeb(configureContainer?: (obj: PgWebContainerResource) => Promise<void>, containerName?: string): PostgresServerResourceParameters
configureContainer(obj: PgWebContainerResource) => Promise<void>optionalcontainerNamestringoptionalReturns
PostgresServerResourcewithUserName(userName: ParameterResource): PostgresServerResourceParameters
userNameParameterResourceReturns
PostgresServerResource