You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
LinuxVirtualMachine does not use VM status to deduce whether the machine is running or not so it does not react in case of a VM being stopped (does not start it).
How could Official Azure Provider help solve your problem?
The response will include a statuses array that contains the current status of the VM. Look for a status with "code": "PowerState/running" to confirm that the VM is running
(c) Coplilot but obvious in the link above
What problem are you facing?
LinuxVirtualMachine does not use VM status to deduce whether the machine is running or not so it does not react in case of a VM being stopped (does not start it).
How could Official Azure Provider help solve your problem?
Integrate with https://learn.microsoft.com/en-us/rest/api/compute/virtual-machines/instance-view?view=rest-compute-2023-10-02&tabs=HTTP#instanceviewstatus to monitor VM status and react if it differs from the status defined in MRs.
The text was updated successfully, but these errors were encountered: