Azure / azure-rest-api-specs

The source for REST API specifications for Microsoft Azure.
MIT License
2.63k stars 5.06k forks source link

MaintenanceAssignment.List API shouldn't always return lowercase for the name of Maintenance Configuration #22894

Open neil-yechenwei opened 1 year ago

neil-yechenwei commented 1 year ago

After tested, I found MaintenanceAssignment.List API always returns lowercase for the name of Maintenance Configuration ("acctest-mc") like below this.

/subscriptions/xx-xx-xxx-xx/resourceGroups/acctestRG-maint/providers/Microsoft.Compute/virtualMachines/acctestVM/providers/Microsoft.Maintenance/configurationAssignments/acctest-mc

Actually, List API should return "acctest-MC" like below this.

/subscriptions/xx-xx-xxx-xx/resourceGroups/acctestRG-maint/providers/Microsoft.Compute/virtualMachines/acctestVM/providers/Microsoft.Maintenance/configurationAssignments/acctest-MC

So could you take a look this issue? Thanks.

ghost commented 1 year ago

Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc @Drewm3, @avirishuv.

Issue Details
After tested, I found [MaintenanceAssignment.List](https://learn.microsoft.com/en-us/rest/api/maintenance/configuration-assignments/list?tabs=HTTP) API always returns lowercase for the name of Maintenance Configuration ("acctest-mc") like below this. ``` /subscriptions/xx-xx-xxx-xx/resourceGroups/acctestRG-maint/providers/Microsoft.Compute/virtualMachines/acctestVM/providers/Microsoft.Maintenance/configurationAssignments/acctest-mc ``` Actually, List API should return "acctest-MC" like below this. ``` /subscriptions/xx-xx-xxx-xx/resourceGroups/acctestRG-maint/providers/Microsoft.Compute/virtualMachines/acctestVM/providers/Microsoft.Maintenance/configurationAssignments/acctest-MC ``` So could you take a look this issue? Thanks.
Author: neil-yechenwei
Assignees: -
Labels: `Compute - VM`, `Service Attention`, `needs-triage`
Milestone: -
Drewm3 commented 1 year ago

Hi @neil-yechenwei, I have marked this as a feature request because I know from similar questions on the VM list API that we do not consider it a bug if case is not maintained. However, I know it is a preference for customers to have the case maintained for any resource name or other custom string that the customer provides.

maulikshah23 commented 1 year ago

@kamalbh , could you please review this?

ApnaLakshay commented 1 month ago

Adding this item as a backlog to be taken up in the Selenium Semester.