Skip to content

Commit f3005b9

Browse files
authored
add zone pivot support in redis env
1 parent 32b29e8 commit f3005b9

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed

articles/azure-cache-for-redis/includes/redis-setup-working-environment.md

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,11 +8,28 @@ The following steps show you how to set up the working environment for the Java
88

99
### [Microsoft Entra ID authentication (recommended)](#tab/entraid)
1010

11+
::: zone pivot="azure-managed-redis"
12+
1113
```bash
1214
export REDIS_CACHE_HOSTNAME=<your-host-name>.redis.cache.windows.net
1315
export USER_NAME=<user-name>
16+
export REDIS_CACHE_PORT=10000
1417
```
1518

19+
::: zone-end
20+
21+
::: zone pivot="azure-cache-redis"
22+
23+
24+
```bash
25+
export REDIS_CACHE_HOSTNAME=<your-host-name>.redis.cache.windows.net
26+
export USER_NAME=<user-name>
27+
export REDIS_CACHE_PORT=6380
28+
```
29+
30+
::: zone-end
31+
32+
1633
Replace the placeholders with the following values:
1734

1835
- `<your-host-name>`: The DNS host name. To get the host name and ports for your cache, select **Overview** from the **Resource** menu. The host name is of the form `<DNS name>.redis.cache.windows.net`.

0 commit comments

Comments
 (0)