RedisInsightResource
Handle
interface RedisInsightResource extends IComputeResource, IResource, IResourceWithArgs, IResourceWithEndpoints, IResourceWithEnvironment, IResourceWithProbes, IResourceWithWaitSupport { withDataBindMount(source: string): RedisInsightResource; withDataVolume(name?: string): RedisInsightResource; withHostPort(port: number): RedisInsightResource;}Methods
Adds a bind mount for the data folder to a Redis Insight container resource.
withDataBindMount(source: string): RedisInsightResourceParameters
source string Returns
RedisInsightResource Adds a named volume for the data folder to a Redis Insight container resource.
withDataVolume(name?: string): RedisInsightResourceParameters
name string optional Returns
RedisInsightResource Configures the host port that the Redis Insight resource is exposed on instead of using randomly assigned port.
withHostPort(port: number): RedisInsightResourceParameters
port number Returns
RedisInsightResource