addLogto
Method
interface IDistributedApplicationBuilder { // ... omitted for brevity addLogto( name: string, postgres: PostgresServerResource, databaseName?: string, port?: number, adminPort?: number): LogtoResource;}Signature
method
addLogtobuilderAdds a Logto resource to the Aspire distributed application by configuring it with the specified name, associated PostgreSQL server resource, and database name.
addLogto( name: string, postgres: PostgresServerResource, databaseName?: string, port?: number, adminPort?: number): LogtoResourceParameters
namestringpostgresPostgresServerResourcedatabaseNamestringoptional= logto_dbportnumberoptionaladminPortnumberoptionalReturns
LogtoResourceApplies to
This method applies to the following types: