AzurePostgresFlexibleServerDatabaseResource.withPostgresMcp
Method
interface AzurePostgresFlexibleServerDatabaseResource { // ... omitted for brevity withPostgresMcp(configureContainer?: (obj: PostgresMcpContainerResource) => Promise<void>, containerName?: string): AzurePostgresFlexibleServerDatabaseResource;}Signature
method
withPostgresMcp builder Adds 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> optional containerName string optional Returns
AzurePostgresFlexibleServerDatabaseResource Defined on
This method is defined on the following type: