Azure / Azure/azure-rest-api-specs
Maintenance API returns resource group name in lower-case
- Dominant language
- TypeSpec
- Stars
- 3.1k
- Forks
- 5.9k
- Avg merge
- 3d 2h
- Merged PRs (30d)
- 424
Description
We've been working with version 2018-06-01-preview of the Maintenance API's (via v38.1.0 of the Azure SDK for Go) - and have noticed a bug where the Resource Group name that's returned from Azure is always lower-cased for the ID, regardless of the input case. For example if I create a Maintenance Configuration in the resource group `Group1` the ID for create will be:
```
/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/microsoft.maintenance/maintenanceconfigurations/mc1
```
when actually this should be:
```
/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/Group1/providers/microsoft.maintenance/maintenanceconfigurations/mc1
```
Would it be possible to update this API to return the Resource Group name in the correct case, rather than lower-casing it?
Thanks!
Contributor guide
Research direction
Start by locating the Maintenance API specification for version 2018-06-01-preview and compare its resource ID behavior with the Azure SDK for Go v38.1.0 example in the issue. Determine whether the lower-casing occurs in the service or generated client; done means the returned resource-group segment preserves the input case and the relevant specification or regression coverage reflects that behavior.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- azure, go, openapi
- Domain
- api, cloud
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 25/100