Watch Aspire live streamsDocsTry Aspire

getPostgreSqlServerByIdentifier

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

Signature

methodgetPostgreSqlServerByIdentifier
Gets a PostgreSqlServer provisioning resource by its Bicep identifier.
getPostgreSqlServerByIdentifier(bicepIdentifier: string): PostgreSqlServerProxy
bicepIdentifierstring
PostgreSqlServerProxy

Applies to

This method applies to the following types: