Skip to content
DocsTry Aspire
DocsTry

PostaResource.withRedisReference

Method
📦 CommunityToolkit.Aspire.Hosting.Posta v13.5.0
interface PostaResource {
// ... omitted for brevity
withRedisReference(
redis: RedisResource,
redisPassword?: ParameterResource): PostaResource;
}

Signature

methodwithRedisReferencebuilder
Configures the Redis server used by Posta.
withRedisReference(
redis: RedisResource,
redisPassword?: ParameterResource): PostaResource
redisRedisResource
redisPasswordParameterResourceoptional
PostaResource

Defined on

This method is defined on the following type: