property
primaryEndpoint EndpointReference get Gets 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;}connectionStringExpression ReferenceExpression get databases Dict<string,string> get host EndpointReferenceExpression get jdbcConnectionString ReferenceExpression get passwordParameter ParameterResource get · set port EndpointReferenceExpression get primaryEndpoint EndpointReference get uriExpression ReferenceExpression get userNameParameter ParameterResource get · set userNameReference ReferenceExpression get addDatabase( name: string, databaseName?: string): PostgresDatabaseResourceParameters
name string databaseName string optional Returns
PostgresDatabaseResource withDataBindMount( source: string, isReadOnly?: boolean): PostgresServerResourceParameters
source string isReadOnly boolean optional = False Returns
PostgresServerResource withDataVolume( name?: string, isReadOnly?: boolean): PostgresServerResourceParameters
name string optional isReadOnly boolean optional = False Returns
PostgresServerResource withHostPort(port: number): PostgresServerResourceParameters
port number Returns
PostgresServerResource withInitFiles(source: string): PostgresServerResourceParameters
source string Returns
PostgresServerResource withPassword(password: ParameterResource): PostgresServerResourceParameters
password ParameterResource Returns
PostgresServerResource withPgAdmin(configureContainer?: (obj: PgAdminContainerResource) => Promise<void>, containerName?: string): PostgresServerResourceParameters
configureContainer (obj: PgAdminContainerResource) => Promise<void> optional containerName string optional Returns
PostgresServerResource withPgWeb(configureContainer?: (obj: PgWebContainerResource) => Promise<void>, containerName?: string): PostgresServerResourceParameters
configureContainer (obj: PgWebContainerResource) => Promise<void> optional containerName string optional Returns
PostgresServerResource withUserName(userName: ParameterResource): PostgresServerResourceParameters
userName ParameterResource Returns
PostgresServerResource