Skip to content
Docs Try Aspire
Docs Try

PostgresServerResource.withUserName

Method
📦 Aspire.Hosting.PostgreSQL v13.4.0
interface PostgresServerResource {
// ... omitted for brevity
withUserName(userName: ParameterResource): PostgresServerResource;
}

Signature

method withUserName builder
Configures the user name that the PostgreSQL resource is used.
withUserName(userName: ParameterResource): PostgresServerResource
userName ParameterResource
PostgresServerResource

Defined on

This method is defined on the following type: