Skip to content
Docs Try Aspire
Docs Try

RedisInsightResource

Handle
📦 Aspire.Hosting.Redis v13.4.0
interface RedisInsightResource
extends IComputeResource,
IResource,
IResourceWithArgs,
IResourceWithEndpoints,
IResourceWithEnvironment,
IResourceWithProbes,
IResourceWithWaitSupport {
withDataBindMount(source: string): RedisInsightResource;
withDataVolume(name?: string): RedisInsightResource;
withHostPort(port: number): RedisInsightResource;
}

Methods

method withDataBindMount builder
Adds a bind mount for the data folder to a Redis Insight container resource.
withDataBindMount(source: string): RedisInsightResource
source string
RedisInsightResource
method withDataVolume builder
Adds a named volume for the data folder to a Redis Insight container resource.
withDataVolume(name?: string): RedisInsightResource
name string optional
RedisInsightResource
method withHostPort builder
Configures the host port that the Redis Insight resource is exposed on instead of using randomly assigned port.
withHostPort(port: number): RedisInsightResource
port number
RedisInsightResource