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