Azure / Azure/azure-cli

az redis create fails with bad request

Open
#20,997 11 comments 0 reactions 0 assignees View on GitHub
act-codegen-extensibility-squad 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
After creating redis cache and calling the create call for the second time, I get the following error. As can be seen in the cli command I'm not providing any of the properties I seem to be missing.

Please advise.

**Command Name**
`az redis create`

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

RequestID=9562e21d-6e50-4c66-80dd-cb4b1e948f5c
Code: BadRequest
Message: The following updates can't be processed in one single request, please send seperate request to update them: 'properties.publicNetworkAccess,identity'.

RequestID=9562e21d-6e50-4c66-80dd-cb4b1e948f5c

```

## To Reproduce:
Steps to reproduce the behavior. Note that argument values have been redacted, as they may contain sensitive information.

- _Put any pre-requisite steps here..._
- `az redis create --name {} --resource-group {} --sku {} --vm-size {} --location {} --minimum-tls-version {} --tags {} {} {} {} {} {} {} {} {} {} {} {}`

## Expected Behavior

## Environment Summary
```
Windows-10-10.0.19041-SP0
Python 3.8.9
Installer: MSI

azure-cli 2.32.0

Extensions:
account 0.2.1
application-insights 0.1.14
authV2 0.1.1
azure-devops 0.20.0
log-analytics-solution 0.1.1
portal 0.1.2
scheduled-query 0.4.0

Dependencies:
msal 1.16.0
azure-mgmt-resource 20.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.