Skip to content
Docs Try Aspire
Docs Try

withHostPort

Method
📦 Aspire.Hosting.Azure.Redis v13.2.0
interface RedisInsightResource {
// ... omitted for brevity
withHostPort(port: number): RedisInsightResource;
}

Signature

method withHostPort builder
Sets the host port for Redis Insight
withHostPort(port: number): RedisInsightResource
port number
RedisInsightResource

Applies to

This method applies to the following types: