Watch Aspire live streamsDocsTry Aspire

getPostgreSqlDatabaseByIdentifier

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

Signature

methodgetPostgreSqlDatabaseByIdentifier
Gets a PostgreSqlDatabase provisioning resource by its Bicep identifier.
getPostgreSqlDatabaseByIdentifier(bicepIdentifier: string): PostgreSqlDatabaseProxy
bicepIdentifierstring
PostgreSqlDatabaseProxy

Applies to

This method applies to the following types: