PrimaryEndpoint EndpointReference getPrimaryEndpoint() EndpointReferenceAPI references are intentionally omitted from this search. To find API references, please search these dedicated API pages instead:
Represents a containerized resource specific to Logto that extends the base functionality of container resources by providing additional endpoint and connection string management.
type LogtoResource interface { ExpressionValue IComputeResource Resource ResourceWithArgs ResourceWithConnectionString ResourceWithEndpoints ResourceWithEnvironment ResourceWithWaitSupport}ConnectionStringExpression *ReferenceExpression getConnectionStringExpression() *ReferenceExpressionHostEndpointReferenceExpression getHost() EndpointReferenceExpressionPortEndpointReferenceExpression getPort() EndpointReferenceExpressionPrimaryEndpoint EndpointReference getPrimaryEndpoint() EndpointReferenceUriExpression *ReferenceExpression getUriExpression() *ReferenceExpressionWithAdminEndpoint(url string) LogtoResourceParameters
urlstringThe URL of the administrative endpoint to be used for the Logto resource.Returns
LogtoResource The resource builder for the configured Logto resource.
Returns a handle; failures surface later via Err().
WithDatabase( postgres PostgresServerResource, options ...*WithDatabaseOptions,) LogtoResourceParameters
postgresPostgresServerResource The resource builder for the PostgreSQL server to connect to.options...*WithDatabaseOptions Optional settings, described under Options.Options
Optional parameters are passed in a trailing options ...*WithDatabaseOptions argument.
DatabaseName *stringThe PostgreSQL database name Logto should use.Returns
LogtoResource The resource builder for the configured Logto resource.
Returns a handle; failures surface later via Err().
WithDatabaseSeeding() LogtoResourceReturns
LogtoResource The resource builder for the configured Logto resource.
Returns a handle; failures surface later via Err().
WithDataBindMount(source string) LogtoResourceParameters
sourcestringThe host directory to be mounted as the data volume.Returns
LogtoResource The resource builder for the configured Logto resource.
Returns a handle; failures surface later via Err().
WithDataVolume(options ...*WithDataVolumeOptions) LogtoResourceParameters
options...*WithDataVolumeOptions Optional settings, described under Options.Options
Optional parameters are passed in a trailing options ...*WithDataVolumeOptions argument.
Name*stringThe optional name of the data volume. If not provided, a default name is generated.Returns
LogtoResource The resource builder configured with the specified data volume.
Returns a handle; failures surface later via Err().
WithDeprecationTracing() LogtoResourceReturns
LogtoResource The resource builder for the configured Logto resource.
Returns a handle; failures surface later via Err().
WithDisableAdminConsole(disable bool) LogtoResourceParameters
disableboolA value indicating whether to disable the Admin Console port.Returns
LogtoResource The resource builder for the configured Logto resource.
Returns a handle; failures surface later via Err().
WithNodeEnv(env string) LogtoResourceParameters
envstringThe value of the Node.js environment variable to set, typically "development", "production", or "test".Returns
LogtoResource The resource builder for the configured Logto resource.
Returns a handle; failures surface later via Err().
WithRedis(redis RedisResource) LogtoResourceParameters
redisRedisResource The resource builder for the Redis resource to be used by the Logto resource.Returns
LogtoResource The resource builder configured with the specified Redis resource.
Returns a handle; failures surface later via Err().
WithResourcePort(options ...*WithResourcePortOptions) LogtoResourceParameters
options...*WithResourcePortOptions Optional settings, described under Options.Options
Optional parameters are passed in a trailing options ...*WithResourcePortOptions argument.
Port*float64The host port to be configured for the primary endpoint. If null, Aspire will assign a random host port.AdminPort *float64The host port to be configured for the administrative endpoint. If null, Aspire will assign a random host port.Returns
LogtoResource The updated resource builder with the configured HTTP endpoints.
Returns a handle; failures surface later via Err().
WithSecretVault(secretVaultKek string) LogtoResourceParameters
secretVaultKek stringThe base64-encoded key encryption key (KEK) for the secret vault.Returns
LogtoResource The resource builder for the configured Logto resource.
Returns a handle; failures surface later via Err().
WithSensitiveUsername(sensitiveUsername bool) LogtoResourceParameters
sensitiveUsername boolA value indicating whether usernames should be treated as case-sensitive.Returns
LogtoResource The updated resource builder with the configured case-sensitivity setting.
Returns a handle; failures surface later via Err().
WithTrustProxyHeader(trustProxyHeader bool) LogtoResourceParameters
trustProxyHeader boolA value indicating whether to trust the proxy header.Returns
LogtoResource The resource builder for the configured Logto resource.
Returns a handle; failures surface later via Err().