Azure / Azure/azure-rest-api-specs

DevTest API returns resource group name in lower-case

Open
#3,964 16 comments 0 reactions 0 assignees View on GitHub
Devtestlab Service Attention
Dominant language
TypeSpec
Stars
3.1k
Forks
5.9k
Avg merge
3d 2h
Merged PRs (30d)
424

Description

👋

We've been working with version `2016-05-15` of the DevTest API's (via v20.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 DevTest Lab in the resource group `Group1` the ID for create will be:

```
/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.DevTestLab/labs/lab1/virtualnetworks/network1
```

when actually this should be:

```
/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/Group1/providers/Microsoft.DevTestLab/labs/lab1/virtualnetworks/network1
```

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

Open the contributing guide

Research direction

Start by locating the DevTest API version 2016-05-15 specification for the virtual network resource and review how the resource-group segment is represented. Compare the documented identifier with the casing shown in the issue, then check the issue discussion for the agreed resolution. Done means the specification or responsible API behavior matches the original resource-group casing.

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
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.