Azure / Azure/azure-cli

az redis update failing on upgrade command to 6.0 with send seperate request to update 'properties.redisVersion,properties.publicNetworkAccess'

Open
#26,204 2 comments 0 reactions 0 assignees View on GitHub
act-codegen-extensibility-squad Auto-Assign customer-reported Redis Cache Service Attention
Dominant language
Python
Stars
4.6k
Forks
3.5k
Avg merge
3d 2h
Merged PRs (30d)
60

Description

### **This is autogenerated. Please review and update as needed.**

## Describe the bug
Unable to upgrade Redis Cache (with privateEndPoint) version from 4.0 to 6.0.

**Command Name**
az redis update --name foo-redis --resource-group foo-rg --set redisVersion="6"

**Errors:**
```
(BadRequest) The following updates can't be processed in one single request, please send seperate request to update them: 'properties.redisVersion,properties.publicNetworkAccess'.
RequestID=*****
Code: BadRequest
Message: The following updates can't be processed in one single request, please send seperate request to update them: 'properties.redisVersion,properties.publicNetworkAccess'.
RequestID=******
```

## To Reproduce:
1. Setup Redis Cache version 4.0 with privateEndPoint & DNS Configuration (private DNS zone & DNS zone group).
2. Try upgrading Redis Cache version 6.0

- _Put any pre-requisite steps here..._
- `az redis update --name {} --resource-group {} --set {}`

## Expected Behavior

## Environment Summary
```
Linux-5.10.16.3-microsoft-standard-WSL2-x86_64-with-glibc2.27, Ubuntu 18.04.6 LTS
Python 3.10.10
Installer: DEB

azure-cli 2.47.0

Extensions:
azure-devops 0.26.0

Dependencies:
msal 1.20.0
azure-mgmt-resource 22.0.0
```
## Additional Context

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.