Skip to content

Commit b985eae

Browse files
committed
Merge branch 'patch-2' of https://github.com/vishalk9040/azure-docs into fxl-----update-cache-how-to-upgrade-111329
2 parents ec8d8d4 + 65f681d commit b985eae

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

articles/azure-cache-for-redis/cache-how-to-upgrade.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,12 @@ To upgrade a cache from 4 to 6 using the Azure CLI, use the following command:
6969
```azurecli-interactive
7070
az redis update --name cacheName --resource-group resourceGroupName --set redisVersion=6
7171
```
72+
>[!NOTE]
73+
> If private endpoint is enabled on the cache - based on whether PublicNetworkAccess is enabled or disabled,please refer the below commands:
74+
75+
>If PublicNetworkAccess is enabled- az redis update --name cacheName --resource-group resourceGroupName --set publicNetworkAccess=Enabled redisVersion=6
76+
>If PublicNetworkAccess is disabled- az redis update --name cacheName --resource-group resourceGroupName --set publicNetworkAccess=Disabled redisVersion=6
77+
7278

7379
## Upgrade using PowerShell
7480

0 commit comments

Comments
 (0)