Skip to content
Docs Try Aspire
Docs Try

KurrentDBResource

Handle
📦 CommunityToolkit.Aspire.Hosting.KurrentDB v13.4.0
interface KurrentDBResource
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;
withDataBindMount(source: string): KurrentDBResource;
withDataVolume(name?: string): KurrentDBResource;
}

Properties

property connectionStringExpression ReferenceExpression get
Gets the connection string for the KurrentDB server.
property host EndpointReferenceExpression get
Gets the host endpoint reference for this resource.
property port EndpointReferenceExpression get
Gets the port endpoint reference for this resource.
property primaryEndpoint EndpointReference get
Gets the primary endpoint for the KurrentDB server.
property uriExpression ReferenceExpression get
Gets the connection URI expression for the KurrentDB server.

Methods

method withDataBindMount builder
Adds a bind mount for the data folder to a KurrentDB container resource.
withDataBindMount(source: string): KurrentDBResource
source string
KurrentDBResource
method withDataVolume builder
Adds a named volume for the data folder to a KurrentDB container resource.
withDataVolume(name?: string): KurrentDBResource
name string optional
KurrentDBResource