Skip to content
Docs Try Aspire

RedisInsightResource.withHostPort

Method
📦 Aspire.Hosting.Redis v13.2.0-preview.1.26159.1
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

Defined on

This method is defined on the following type: