PostgresDatabaseResource
Classnet10.0
A resource that represents a PostgreSQL database. This is a child resource of a
PostgresServerResource . namespace Aspire.Hosting.ApplicationModel;
public class PostgresDatabaseResource : Aspire.Hosting.ApplicationModel.Resource, Aspire.Hosting.ApplicationModel.IExpressionValue, Aspire.Hosting.ApplicationModel.IManifestExpressionProvider, Aspire.Hosting.ApplicationModel.IResource, Aspire.Hosting.ApplicationModel.IResourceWithConnectionString, Aspire.Hosting.ApplicationModel.IResourceWithParent, Aspire.Hosting.ApplicationModel.IResourceWithParent<Aspire.Hosting.ApplicationModel.PostgresServerResource>, Aspire.Hosting.ApplicationModel.IValueProvider, Aspire.Hosting.ApplicationModel.IValueWithReferences{ // ...}ResourceIExpressionValueIManifestExpressionProviderIResourceIResourceWithConnectionStringIResourceWithParentIResourceWithParent<PostgresServerResource>IValueProviderIValueWithReferences
6 members
Constructors1
Section titled Constructors A resource that represents a PostgreSQL database. This is a child resource of a
PostgresServerResource . Properties5
Section titled PropertiesReferenceExpression Gets the connection string expression for the Postgres database.
ReferenceExpression Gets the JDBC connection string for the PostgreSQL database.