AzurePostgresFlexibleServerDatabaseResource
Class net10.0
A resource that represents an Azure PostgreSQL database. This is a child resource of an
AzurePostgresFlexibleServerResource. namespace Aspire.Hosting.Azure;
public class AzurePostgresFlexibleServerDatabaseResource : Aspire.Hosting.ApplicationModel.Resource, Aspire.Hosting.ApplicationModel.IManifestExpressionProvider, Aspire.Hosting.ApplicationModel.IResource, Aspire.Hosting.ApplicationModel.IResourceWithConnectionString, Aspire.Hosting.ApplicationModel.IResourceWithParent, Aspire.Hosting.ApplicationModel.IResourceWithParent<Aspire.Hosting.Azure.AzurePostgresFlexibleServerResource>, Aspire.Hosting.ApplicationModel.IValueProvider, Aspire.Hosting.ApplicationModel.IValueWithReferences{ // ...} ResourceIManifestExpressionProviderIResourceIResourceWithConnectionStringIResourceWithParentIResourceWithParent<AzurePostgresFlexibleServerResource>IValueProviderIValueWithReferences
8 members
Constructors1
Section titled ConstructorsAzurePostgresFlexibleServerDatabaseResource(string, string, AzurePostgresFlexibleServerResource) A resource that represents an Azure PostgreSQL database. This is a child resource of an
AzurePostgresFlexibleServerResource. Properties7
Section titled PropertiesAnnotationsgetResourceAnnotationCollectionConnectionStringExpressiongetReferenceExpression Gets the connection string expression for the Postgres database.
DatabaseNamegetstring Gets the database name.
IsContainergetbool Gets a value indicating whether the current resource represents a container. If so the actual resource is not running in Azure.
JdbcConnectionStringgetReferenceExpression Gets the JDBC connection string for the Azure Postgres Flexible Server database.
Parentget Gets the parent Azure PostgresSQL resource.
UriExpressiongetReferenceExpression Gets the connection URI expression for the PostgreSQL server.