Partager via


PostgresDatabaseResource(String, String, PostgresServerResource) Constructor

Definition

A resource that represents a PostgreSQL database. This is a child resource of a PostgresServerResource.

public PostgresDatabaseResource (string name, string databaseName, Aspire.Hosting.ApplicationModel.PostgresServerResource postgresParentResource);
new Aspire.Hosting.ApplicationModel.PostgresDatabaseResource : string * string * Aspire.Hosting.ApplicationModel.PostgresServerResource -> Aspire.Hosting.ApplicationModel.PostgresDatabaseResource
Public Sub New (name As String, databaseName As String, postgresParentResource As PostgresServerResource)

Parameters

name
String

The name of the resource.

databaseName
String

The database name.

postgresParentResource
PostgresServerResource

The PostgreSQL parent resource associated with this database.

Applies to