addAzurePostgresFlexibleServer

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

Signature

methodaddAzurePostgresFlexibleServerbuilder
Adds an Azure PostgreSQL Flexible Server resource to the application model.
addAzurePostgresFlexibleServer(name: string): AzurePostgresFlexibleServerResource
namestringThe name of the resource.
AzurePostgresFlexibleServerResource

Applies to

This method applies to the following types: