Aspire.Hosting.Keycloak
Official
📦 Aspire.Hosting.Keycloak v13.2.0-preview.1.26159.1 TypeScript 138 Functions
63 Types
63 types and 204 members
Types
handle
CancellationToken handle
CommandLineArgsCallbackContext 4 members type
CommandOptions 7 fields handle
ConnectionStringResource handle
ContainerRegistryResource handle
ContainerResource 18 members type
CreateBuilderOptions 8 fields handle
CSharpAppResource handle
DistributedApplication 1 members handle
DistributedApplicationEventSubscription handle
DistributedApplicationExecutionContext 5 members handle
DistributedApplicationExecutionContextOptions handle
DistributedApplicationResourceEventSubscription handle
DotnetToolResource 6 members handle
EndpointReference 13 members handle
EndpointReferenceExpression 3 members handle
EnvironmentCallbackContext 3 members handle
ExecutableResource 4 members handle
ExecuteCommandContext 4 members type
ExecuteCommandResult 3 fields handle
ExternalServiceResource 1 members interface
IConfiguration 2 members interface
IDistributedApplicationBuilder 19 members interface
IDistributedApplicationEvent interface
IDistributedApplicationEventing 1 members interface
IDistributedApplicationResourceEvent interface
IHostEnvironment 2 members interface
IResource 22 members interface
IResourceWithArgs 3 members interface
IResourceWithConnectionString 2 members interface
IResourceWithContainerFiles 2 members interface
IResourceWithEndpoints 10 members interface
IResourceWithEnvironment 18 members interface
IResourceWithParent interface
IResourceWithServiceDiscovery interface
IResourceWithWaitSupport 5 members interface
IServiceProvider 2 members handle
KeycloakResource 12 members handle
ParameterResource 1 members handle
PipelineConfigurationContext 3 members handle
PipelineStep 12 members handle
PipelineStepContext 2 members handle
ProjectResource 2 members handle
ProjectResourceOptions 6 members handle
ReferenceExpression handle
ReferenceExpressionBuilder 5 members type
ResourceEventDto 6 fields handle
ResourceLoggerService 2 members handle
ResourceNotificationService 6 members type
ResourceUrlAnnotation 4 fields handle
ResourceUrlsCallbackContext 3 members handle
UpdateCommandStateContext Functions
function
addConnectionString builder Adds a connection string resource
function
addConnectionStringBuilder builder Adds a connection string with a builder callback
function
addContainer builder Adds a container resource
function
addContainerRegistry builder Adds a container registry resource
function
addCSharpApp builder Adds a C# application resource
function
addCSharpAppWithOptions builder Adds a C# application resource with configuration options
function
addDockerfile builder Adds a container resource built from a Dockerfile
function
addDotnetTool builder Adds a .NET tool resource
function
addExecutable builder Adds an executable resource
function
addExternalService builder Adds an external service resource
function
addKeycloak builder Adds a Keycloak container resource
function
addParameter builder Adds a parameter resource
function
addParameterFromConfiguration builder Adds a parameter sourced from configuration
function
addProject builder Adds a .NET project resource
function
addProjectWithOptions builder Adds a project resource with configuration options
function
asHttp2Service builder Configures resource for HTTP/2
function
clearContainerFilesSources builder Clears all container file sources
function
completeLog Completes the log stream for a resource
function
completeLogByName Completes the log stream by resource name
function
createBuilder Creates a new distributed application builder
function
createBuilderWithOptions Creates builder with options
function
disableForwardedHeaders builder Disables forwarded headers for the project
function
excludeFromManifest builder Excludes the resource from the deployment manifest
function
excludeFromMcp builder Excludes the resource from MCP server exposure
function
getConfigValue Gets a configuration value by key
function
getConnectionString Gets a connection string by name
function
getEndpoint Gets an endpoint reference
function
getEnvironmentName Gets the environment name
function
getRequiredService Gets a required service by ATS type ID
function
getResourceName Gets the resource name
function
getService Gets a service by ATS type ID
function
isDevelopment Checks if running in Development environment
function
log Logs a message with specified level
function
logDebug Logs a debug message
function
logError Logs an error message
function
logInformation Logs an information message
function
logWarning Logs a warning message
function
publishAsConnectionString builder Publishes the resource as a connection string
function
publishAsContainer builder Configures the resource to be published as a container
function
publishAsDockerFile builder Publishes the executable as a Docker container
function
publishAsDockerFileWithConfigure builder Publishes an executable as a Docker file with optional container configuration
function
publishResourceUpdate Publishes an update for a resource's state
function
publishWithContainerFiles builder Configures the resource to copy container files from the specified source during publishing
function
tryGetResourceState Tries to get the current state of a resource
function
waitFor builder Waits for another resource to be ready
function
waitForCompletion builder Waits for resource completion
function
waitForDependencies Waits for all dependencies of a resource to be ready
function
waitForResourceHealthy Waits for a resource to become healthy
function
waitForResourceState Waits for a resource to reach a specified state
function
waitForResourceStates Waits for a resource to reach one of the specified states
function
waitForStart builder Waits for another resource to start
function
waitForStartWithBehavior builder Waits for another resource to start with specific behavior
function
waitForWithBehavior builder Waits for another resource with specific behavior
function
withArgs builder Adds arguments
function
withArgsCallback builder Sets command-line arguments via callback
function
withArgsCallbackAsync builder Sets command-line arguments via async callback
function
withBindMount builder Adds a bind mount
function
withBuildArg builder Adds a build argument from a parameter resource
function
withBuildSecret builder Adds a build secret from a parameter resource
function
withCertificateTrustScope builder Sets the certificate trust scope
function
withChildRelationship builder Sets a child relationship
function
withCommand builder Adds a resource command
function
withConnectionProperty builder Adds a connection property with a reference expression
function
withConnectionPropertyValue builder Adds a connection property with a string value
function
withContainerFilesSource builder Sets the source directory for container files
function
withContainerName builder Sets the container name
function
withContainerNetworkAlias builder Adds a network alias for the container
function
withContainerRegistry builder Configures a resource to use a container registry
function
withContainerRuntimeArgs builder Adds runtime arguments for the container
function
withDataBindMount builder Adds a data bind mount for Keycloak
function
withDataVolume builder Adds a data volume for Keycloak
function
withDescription builder Sets a parameter description
function
withDeveloperCertificateTrust builder Configures developer certificate trust
function
withDisabledFeatures builder Disables Keycloak features
function
withDockerfile builder Configures the resource to use a Dockerfile
function
withDockerfileBaseImage builder Sets the base image for a Dockerfile build
function
withEnabledFeatures builder Enables Keycloak features
function
withEndpoint builder Adds a network endpoint
function
withEndpointProxySupport builder Configures endpoint proxy support
function
withEntrypoint builder Sets the container entrypoint
function
withEnvironment builder Sets an environment variable
function
withEnvironmentCallback builder Sets environment variables via callback
function
withEnvironmentCallbackAsync builder Sets environment variables via async callback
function
withEnvironmentConnectionString builder Sets an environment variable from a connection string resource
function
withEnvironmentEndpoint builder Sets an environment variable from an endpoint reference
function
withEnvironmentExpression builder Adds an environment variable with a reference expression
function
withEnvironmentParameter builder Sets an environment variable from a parameter resource
function
withExecutableCommand builder Sets the executable command
function
withExplicitStart builder Prevents resource from starting automatically
function
withExternalHttpEndpoints builder Makes HTTP endpoints externally accessible
function
withExternalServiceHttpHealthCheck builder Adds an HTTP health check to an external service
function
withHealthCheck builder Adds a health check by key
function
withHttpEndpoint builder Adds an HTTP endpoint
function
withHttpHealthCheck builder Adds an HTTP health check
function
withHttpProbe builder Adds an HTTP health probe to the resource
function
withHttpsDeveloperCertificate builder Configures HTTPS with a developer certificate
function
withHttpsEndpoint builder Adds an HTTPS endpoint
function
withIconName builder Sets the icon for the resource
function
withImage builder Sets the container image
function
withImagePullPolicy builder Sets the container image pull policy
function
withImageRegistry builder Sets the container image registry
function
withImageSHA256 builder Sets the image SHA256 digest
function
withImageTag builder Sets the container image tag
function
withLifetime builder Sets the lifetime behavior of the container resource
function
withMcpServer builder Configures an MCP server endpoint on the resource
function
withOtlpExporter builder Configures the OTLP exporter for Keycloak
function
withOtlpExporterProtocol builder Configures OTLP telemetry export with specific protocol
function
withOtlpExporterWithProtocol builder Configures the OTLP exporter for Keycloak with a specific protocol
function
withoutHttpsCertificate builder Removes HTTPS certificate configuration
function
withParentRelationship builder Sets the parent relationship
function
withPipelineConfiguration builder Configures pipeline step dependencies via a callback
function
withPipelineConfigurationAsync builder Configures pipeline step dependencies via an async callback
function
withPipelineStepFactory builder Adds a pipeline step to the resource
function
withRealmImport builder Imports a Keycloak realm configuration
function
withReference builder Adds a reference to another resource
function
withReferenceEndpoint builder Adds a reference to an endpoint
function
withReferenceExternalService builder Adds a reference to an external service
function
withReferenceUri builder Adds a reference to a URI
function
withRemoteImageName builder Sets the remote image name for publishing
function
withRemoteImageTag builder Sets the remote image tag for publishing
function
withReplicas builder Sets the number of replicas
function
withRequiredCommand builder Adds a required command dependency
function
withServiceReference builder Adds a service discovery reference to another resource
function
withServiceReferenceNamed builder Adds a named service discovery reference
function
withToolIgnoreExistingFeeds builder Ignores existing NuGet feeds
function
withToolIgnoreFailedSources builder Ignores failed NuGet sources
function
withToolPackage builder Sets the tool package ID
function
withToolPrerelease builder Allows prerelease tool versions
function
withToolSource builder Adds a NuGet source for the tool
function
withToolVersion builder Sets the tool version
function
withUrl builder Adds or modifies displayed URLs
function
withUrlExpression builder Adds a URL using a reference expression
function
withUrlForEndpoint builder Customizes the URL for a specific endpoint via callback
function
withUrlForEndpointFactory builder Adds a URL for a specific endpoint via factory callback
function
withUrlsCallback builder Customizes displayed URLs via callback
function
withUrlsCallbackAsync builder Customizes displayed URLs via async callback
function
withVolume builder Adds a volume
function
withWorkingDirectory builder Sets the executable working directory
Enumerations
enum
CertificateTrustScope 4 values enum
ContainerLifetime 2 values enum
DistributedApplicationOperation 2 values enum
EndpointProperty 7 values enum
IconVariant 2 values enum
ImagePullPolicy 4 values enum
OtlpProtocol 3 values enum
ProbeType 3 values enum
ProtocolType 25 values enum
UrlDisplayLocation 2 values enum
WaitBehavior 2 values