Azure / Azure/azure-rest-api-specs
Storage API: Failed to upgrade `sku.name` from `Standard_ZRS` to `Standard_GZRS` when `isHnsEnabled` is `true`
Open
Service Attention
Storage
- Dominant language
- TypeSpec
- Stars
- 3.1k
- Forks
- 5.9k
- Avg merge
- 3d 2h
- Merged PRs (30d)
- 424
Description
Given a storage account created with `sku` set to be: `{"name": "Standard_ZRS", "tier": "Standard"}` and `isHnsEnabled` to `true`. Then send a `PATCH` request with either of the following contents:
```json
{"sku":{"name":"Standard_GZRS"}}
```
```json
{"sku":{"name":"Standard_GZRS", "tier": "Standard"}}
```
The request failed with:
```json
{"error":{"code":"InvalidValuesForRequestParameters","message":"Values for request parameters are invalid: sku."}}
```
Example request id: 5f5b3c23-7359-452e-81c0-fd5623e07991
Contributor guide
Assessment
This issue has not been assessed yet.