property
primaryEndpoint EndpointReference getGets the PrimaryEndpoint property
API references are intentionally omitted from this search. To find API references, please search these dedicated API pages instead:
interface LogtoResource extends IComputeResource, IExpressionValue, IManifestExpressionProvider, IResource, IResourceWithArgs, IResourceWithConnectionString, IResourceWithEndpoints, IResourceWithEnvironment, IResourceWithProbes, IResourceWithWaitSupport, IValueProvider, IValueWithReferences { readonly connectionStringExpression: ReferenceExpression; readonly host: EndpointReferenceExpression; readonly port: EndpointReferenceExpression; readonly primaryEndpoint: EndpointReference; readonly uriExpression: ReferenceExpression; withAdminEndpoint(url: string): LogtoResource; withDatabase( postgres: PostgresServerResource, databaseName?: string): LogtoResource; withDatabaseSeeding(): LogtoResource; withDataBindMount(source: string): LogtoResource; withDataVolume(name?: string): LogtoResource; withDeprecationTracing(): LogtoResource; withDisableAdminConsole(disable: boolean): LogtoResource; withNodeEnv(env: string): LogtoResource; withRedis(redis: RedisResource): LogtoResource; withResourcePort( port?: number, adminPort?: number): LogtoResource; withSecretVault(secretVaultKek: string): LogtoResource; withSensitiveUsername(sensitiveUsername: boolean): LogtoResource; withTrustProxyHeader(trustProxyHeader: boolean): LogtoResource;}connectionStringExpression ReferenceExpression gethostEndpointReferenceExpression getportEndpointReferenceExpression getprimaryEndpoint EndpointReference geturiExpression ReferenceExpression getwithAdminEndpoint(url: string): LogtoResourceParameters
urlstringThe URL of the administrative endpoint to be used for the Logto resource.Returns
LogtoResource withDatabase( postgres: PostgresServerResource, databaseName?: string): LogtoResourceParameters
postgresPostgresServerResource The resource builder for the PostgreSQL server to connect to.databaseName stringoptional= logto_dbThe PostgreSQL database name Logto should use.Returns
LogtoResource withDatabaseSeeding(): LogtoResourceReturns
LogtoResource withDataBindMount(source: string): LogtoResourceParameters
sourcestringThe host directory to be mounted as the data volume.Returns
LogtoResource withDataVolume(name?: string): LogtoResourceParameters
namestringoptionalThe optional name of the data volume. If not provided, a default name is generated.Returns
LogtoResource withDeprecationTracing(): LogtoResourceReturns
LogtoResource withDisableAdminConsole(disable: boolean): LogtoResourceParameters
disablebooleanA value indicating whether to disable the Admin Console port.Returns
LogtoResource withNodeEnv(env: string): LogtoResourceParameters
envstringThe value of the Node.js environment variable to set, typically "development", "production", or "test".Returns
LogtoResource withRedis(redis: RedisResource): LogtoResourceParameters
redisRedisResource The resource builder for the Redis resource to be used by the Logto resource.Returns
LogtoResource withResourcePort( port?: number, adminPort?: number): LogtoResourceParameters
portnumberoptionalThe host port to be configured for the primary endpoint. If `null`, Aspire will assign a random host port.adminPort numberoptionalThe host port to be configured for the administrative endpoint. If `null`, Aspire will assign a random host port.Returns
LogtoResource withSecretVault(secretVaultKek: string): LogtoResourceParameters
secretVaultKek stringThe base64-encoded key encryption key (KEK) for the secret vault.Returns
LogtoResource withSensitiveUsername(sensitiveUsername: boolean): LogtoResourceParameters
sensitiveUsername booleanA value indicating whether usernames should be treated as case-sensitive.Returns
LogtoResource withTrustProxyHeader(trustProxyHeader: boolean): LogtoResourceParameters
trustProxyHeader booleanA value indicating whether to trust the proxy header.Returns
LogtoResource