addRedisWithPort
Function
interface IDistributedApplicationBuilder { // ... omitted for brevity addRedisWithPort( name: string, port: number): RedisResource;}Signature
method
addRedisWithPort builder Adds a Redis container resource with specific port
addRedisWithPort( name: string, port: number): RedisResourceParameters
name string port number Returns
RedisResource Applies to
This function is an extension method on the following types: