Skip to content
Docs Try Aspire

AzurePostgresFlexibleServerDatabaseResource.withPostgresMcp

Method
📦 Aspire.Hosting.Azure.PostgreSQL v13.2.0-preview.1.26159.1
interface AzurePostgresFlexibleServerDatabaseResource {
// ... omitted for brevity
withPostgresMcp(configureContainer?: (obj: PostgresMcpContainerResource) => void, containerName?: string): AzurePostgresFlexibleServerDatabaseResource;
}

Signature

method withPostgresMcp builder
Adds a Postgres MCP server container
withPostgresMcp(configureContainer?: (obj: PostgresMcpContainerResource) => void, containerName?: string): AzurePostgresFlexibleServerDatabaseResource
configureContainer (obj: PostgresMcpContainerResource) => void optional
containerName string optional
AzurePostgresFlexibleServerDatabaseResource

Defined on

This method is defined on the following type: