PostgresDatabaseResource(String, String, PostgresServerResource) Constructor
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.