Skip to content
Docs Try Aspire
Docs Try

addAzurePostgresFlexibleServer

Method
📦 Aspire.Hosting.Azure.PostgreSQL v13.4.0
interface IDistributedApplicationBuilder {
// ... omitted for brevity
addAzurePostgresFlexibleServer(name: string): AzurePostgresFlexibleServerResource;
}

Signature

method addAzurePostgresFlexibleServer builder
Adds an Azure PostgreSQL Flexible Server resource to the application model.
addAzurePostgresFlexibleServer(name: string): AzurePostgresFlexibleServerResource
name string
AzurePostgresFlexibleServerResource

Applies to

This method applies to the following types: