Aspire.Hosting.Redis
Official
📦 Aspire.Hosting.Redis v13.2.0-preview.1.26159.1 13 Functions
3 Types
3 types and 23 members
Types
Functions
function
addRedis builder Adds a Redis container resource
addRedis(name: string, port?: number, password?: ParameterResource): RedisResource function
addRedisWithPort builder Adds a Redis container resource with specific port
addRedisWithPort(name: string, port: number): RedisResource function
withDataBindMount builder Adds a data bind mount with persistence
withDataBindMount(source: string, isReadOnly?: boolean): RedisResource function
withDataBindMount builder Adds a data bind mount for Redis Insight
withDataBindMount(source: string): RedisInsightResource function
withDataVolume builder Adds a data volume with persistence
withDataVolume(name?: string, isReadOnly?: boolean): RedisResource function
withDataVolume builder Adds a data volume for Redis Insight
withDataVolume(name?: string): RedisInsightResource function
withHostPort builder Sets the host port for Redis Commander
withHostPort(port: number): RedisCommanderResource function
withHostPort builder Sets the host port for Redis Insight
withHostPort(port: number): RedisInsightResource function
withHostPort builder Sets the host port for Redis
withHostPort(port: number): RedisResource function
withPassword builder Configures the password for Redis
withPassword(password: ParameterResource): RedisResource function
withPersistence builder Configures Redis persistence
withPersistence(interval?: timespan, keysChangedThreshold?: number): RedisResource function
withRedisCommander builder Adds Redis Commander management UI
withRedisCommander(configureContainer?: (obj: RedisCommanderResource) => void, containerName?: string): RedisResource function
withRedisInsight builder Adds Redis Insight management UI
withRedisInsight(configureContainer?: (obj: RedisInsightResource) => void, containerName?: string): RedisResource