microsoft / vscode-azurevirtualmachines

Azure Virtual Machines extension for Visual Studio Code
https://marketplace.visualstudio.com/items?itemName=ms-azuretools.vscode-azurevirtualmachines
MIT License
32 stars 20 forks source link

The VM resource group name letters in the opened .json file change to uppercase after viewing the properties of the VM #274

Closed v-mengwe closed 3 years ago

v-mengwe commented 3 years ago

OS: All Build Version: 20210818.4

Repro Steps:

  1. Right click a VM, e.g. "elsa-bas-test" -> Select "View Properties".
  2. Check the VM resource group name letters in the opened .json file.

Expect: The VM resource group name letters in the opened .json file are lowercase. image image

Actual: The VM resource group name letters in the opened .json file change to uppercase. image

More Info: If you can't reproduce this issue, you can execute "View Properties" after refeshing the VM.

nturinski commented 3 years ago

Azure automatically upper cases the resource group name for VMs for some reason. This is unrelated to anything that we are doing. Since the resource groups are case insensitive, this behavior shouldn't impact our users.