Skip to content
DocsTry Aspire
DocsTry

AzurePostgresFlexibleServerDatabaseResource Constructors

ClassConstructors1 member
A resource that represents an Azure PostgreSQL database. This is a child resource of an AzurePostgresFlexibleServerResource.
Constructor(string, string, AzurePostgresFlexibleServerResource)Section titled Constructor(string, string, AzurePostgresFlexibleServerResource)
A resource that represents an Azure PostgreSQL database. This is a child resource of an AzurePostgresFlexibleServerResource.
public class AzurePostgresFlexibleServerDatabaseResource
{
public AzurePostgresFlexibleServerDatabaseResource(
string name,
string databaseName,
AzurePostgresFlexibleServerResource postgresParentResource)
{
// ...
}
}
namestringThe name of the resource.
databaseNamestringThe database name.
postgresParentResourceAzurePostgresFlexibleServerResourceThe Azure PostgreSQL parent resource associated with this database.