Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  • Hard power off

    Code Block
    {"state": "OFF"}


  • Graceful shutdown

    Code Block
    {"state": "OFF", "gracefulShutdown": true}


  • Power on

    Code Block
    {"state": "ON"}


  • Pause

    Code Block
    {"state": "PAUSED"}


Azure power off and deallocate

Azure has two power off states - powered off and deallocated.

  • To power off a VM in Azure, use the graceful shutdown.
  • To deallocate a VM in Azure, use the power off without graceful shutdown.
    • The deallocated VM has a "deallocated" attribute that is set to "true"

Example of VM hard power off via API

...