Watch Aspire live streamsDocsTry Aspire

addPostgreSqlServer

Method
📦 Aspire.Hosting.Azure.Provisioning.PostgreSql v13.6.0-preview.1.26478.8
interface AzureResourceInfrastructure {
// ... omitted for brevity
addPostgreSqlServer(
bicepIdentifier: string,
resourceVersion?: string): PostgreSqlServerProxy;
}

Signature

methodaddPostgreSqlServer
Adds a PostgreSqlServer provisioning model.
addPostgreSqlServer(
bicepIdentifier: string,
resourceVersion?: string): PostgreSqlServerProxy
bicepIdentifierstring
resourceVersionstringoptional
PostgreSqlServerProxy

Applies to

This method applies to the following types: