Aspire.Hosting.Azure.PostgreSQL
Official
📦 Aspire.Hosting.Azure.PostgreSQL v13.4.0 5 Functions
2 Types
2 types and 0 members
Types
Functions
method
addAzurePostgresFlexibleServer builder Adds an Azure PostgreSQL Flexible Server resource to the application model.
addAzurePostgresFlexibleServer(name: string): AzurePostgresFlexibleServerResource method
addDatabase builder Adds an Azure PostgreSQL database to the application model.
addDatabase(name: string, databaseName?: string): AzurePostgresFlexibleServerDatabaseResource method
runAsContainer builder Configures an Azure PostgreSQL Flexible Server resource to run locally in a container.
runAsContainer(configureContainer?: (obj: PostgresServerResource) => Promise<void>): AzurePostgresFlexibleServerResource method
withPasswordAuthentication builder Configures password authentication for Azure PostgreSQL Flexible Server
withPasswordAuthentication(keyVaultBuilder?: IAzureKeyVaultResource, userName?: ParameterResource, password?: ParameterResource): AzurePostgresFlexibleServerResource 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): AzurePostgresFlexibleServerDatabaseResource