Azure / Azure/azure-cli

--enable-hibernation parameter does not work with az vm update

Open
#22,643 1 comment 0 reactions 1 assignee Claimed by @zhoxing-ms View on GitHub
act-observability-squad Auto-Assign Compute customer-reported
Dominant language
Python
Stars
4.6k
Forks
3.5k
Avg merge
3d 2h
Merged PRs (30d)
60

Description

Documentation states that the `--enable-hibernation ` can be used with `az vm update`.

However this does not seem to work:
`az vm update -n dev-app-001 -g EXAMPLE-APP-01 --enable-hibernation
(BadRequest) Hibernation capability can only be set while creating a new VM. For more information, see https://aka.ms/hibernate-resume/errors.`

The error message also includes a dead link.

Can the documentation be updated or (ideally) this feature be enabled for `az vm update`?

---
#### Document Details

⚠ *Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.*

* ID: 152b549b-d4b3-13e5-081c-c604b6e4d89e
* Version Independent ID: 3f79be78-ce75-ad31-304b-bad7d475ec9e
* Content: [az vm](https://docs.microsoft.com/en-us/cli/azure/vm?view=azure-cli-latest#az-vm-update)
* Content Source: [latest/docs-ref-autogen/vm.yml](https://github.com/MicrosoftDocs/azure-docs-cli/blob/main/latest/docs-ref-autogen/vm.yml)
* Service: **virtual-machines**
* GitHub Login: @rloutlaw
* Microsoft Alias: **routlaw**

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.