PostgresServerResource(String, ParameterResource, ParameterResource) 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.
Initializes a new instance of the PostgresServerResource class.
public PostgresServerResource (string name, Aspire.Hosting.ApplicationModel.ParameterResource? userName, Aspire.Hosting.ApplicationModel.ParameterResource password);
new Aspire.Hosting.ApplicationModel.PostgresServerResource : string * Aspire.Hosting.ApplicationModel.ParameterResource * Aspire.Hosting.ApplicationModel.ParameterResource -> Aspire.Hosting.ApplicationModel.PostgresServerResource
Public Sub New (name As String, userName As ParameterResource, password As ParameterResource)
Parameters
- name
- String
The name of the resource.
- userName
- ParameterResource
A parameter that contains the PostgreSQL server user name, or null
to use a default value.
- password
- ParameterResource
A parameter that contains the PostgreSQL server password.