withPostgresMcp
Method
interface AzurePostgresFlexibleServerDatabaseResource { // ... omitted for brevity withPostgresMcp( configureContainer?: callback, containerName?: string): AzurePostgresFlexibleServerDatabaseResource;}Signature
method
withPostgresMcpbuilderAdds a Postgres MCP server container and configures it to connect to the database represented by `builder`.
withPostgresMcp(configureContainer?: (obj: PostgresMcpContainerResource) => Promise<void>, containerName?: string): AzurePostgresFlexibleServerDatabaseResourceParameters
configureContainer(obj: PostgresMcpContainerResource) => Promise<void>optionalcontainerNamestringoptionalReturns
AzurePostgresFlexibleServerDatabaseResourceApplies to
This method applies to the following types: