Watch Aspire live streamsDocsTry Aspire

addPostgreSqlDatabase

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

Signature

methodaddPostgreSqlDatabase
Adds a PostgreSqlDatabase provisioning model.
addPostgreSqlDatabase(
bicepIdentifier: string,
resourceVersion?: string): PostgreSqlDatabaseProxy
bicepIdentifierstring
resourceVersionstringoptional
PostgreSqlDatabaseProxy

Applies to

This method applies to the following types: