Skip to content
DocsTry Aspire
DocsTry

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

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