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 stopped VM status is "running" in the opened property file #396

Open v-ruizh opened 1 year ago

v-ruizh commented 1 year ago

OS: Win 10 Build Version: 20230723.1

Repro Steps:

  1. Create one VM and stop it.
  2. Right click the above stopped VM -> Execute "View Properties".
  3. Check whether the stopped VM status is "deallocated" in the opened property file or not.

Expect: The stopped VM status is "deallocated" in the opened property file. image

Actual: The stopped VM status is still "running" in the opened property file. image

More Info: Refresh the "RESOURCES" view can fix this issue.

Sumanth-Somireddy7 commented 11 months ago

I've created a VM in the VS code, stopped and checked the properties file. But did not get the "displayStatus" attribute the in properties file.

image