property
primaryEndpoint EndpointReference getGets 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; withRepl(): PostgresServerResource; withUserName(userName: ParameterResource): PostgresServerResource;}connectionStringExpression ReferenceExpression getdatabasesDict<string,string> gethostEndpointReferenceExpression getjdbcConnectionString ReferenceExpression getpasswordParameter ParameterResource get · setportEndpointReferenceExpression getprimaryEndpoint EndpointReference geturiExpression ReferenceExpression getuserNameParameter ParameterResource get · setuserNameReference ReferenceExpression getaddDatabase( name: string, databaseName?: string): PostgresDatabaseResourceParameters
namestringdatabaseName stringoptionalReturns
PostgresDatabaseResource withDataBindMount( source: string, isReadOnly?: boolean): PostgresServerResourceParameters
sourcestringisReadOnly booleanoptional= FalseReturns
PostgresServerResource withDataVolume( name?: string, isReadOnly?: boolean): PostgresServerResourceParameters
namestringoptionalisReadOnly booleanoptional= FalseReturns
PostgresServerResource withHostPort(port: number): PostgresServerResourceParameters
portnumberReturns
PostgresServerResource withInitFiles(source: string): PostgresServerResourceParameters
sourcestringReturns
PostgresServerResource withPassword(password: ParameterResource): PostgresServerResourceParameters
passwordParameterResource Returns
PostgresServerResource withPgAdmin(configureContainer?: (obj: PgAdminContainerResource) => Promise<void>, containerName?: string): PostgresServerResourceParameters
configureContainer (obj: PgAdminContainerResource) => Promise<void> optionalcontainerName stringoptionalReturns
PostgresServerResource withPgWeb(configureContainer?: (obj: PgWebContainerResource) => Promise<void>, containerName?: string): PostgresServerResourceParameters
configureContainer (obj: PgWebContainerResource) => Promise<void> optionalcontainerName stringoptionalReturns
PostgresServerResource withRepl(): PostgresServerResourceReturns
PostgresServerResource withUserName(userName: ParameterResource): PostgresServerResourceParameters
userName ParameterResource Returns
PostgresServerResource