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

Show "No matching resources found." in the list after executing "Azure Virtual Machines: Restart" from command palette #372

Closed v-xinda closed 1 year ago

v-xinda commented 1 year ago

OS: All Azure Resources extension Version: 20230215.10 Virtual Machines Extension Version: v0.6.3

Repro Steps:

  1. F1 -> Azure Virtual Machines: Restart -> Select subscription -> Select a virtual machine.
  2. Check whether the virtual machine is restarting.

Expect: The virtual machine is restarting.

Actual: Show "No matching resources found." in the list. image

More Info: This issue also reproduces when executing commands related Azure Virtual Machines (Except "Create Virtual Machine... (Advanced)/ Create Virtual Machine..." command).