Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support for DiskRP 2020-12-01 changes #17656

Closed
meet1993shah opened this issue Apr 12, 2021 · 5 comments · Fixed by #17775
Closed

Support for DiskRP 2020-12-01 changes #17656

meet1993shah opened this issue Apr 12, 2021 · 5 comments · Fixed by #17775
Assignees

Comments

@meet1993shah
Copy link

Resource Provider
Microsoft.Compute/DiskRP

Description of Feature or Work Requested
Feature - Support for Hibernating VMs (Persist supportsHibernation flag on managed disks)

IAAS VMs in Azure will support a new state: hibernation. From the fabric/CRP point of view, a hibernating VM is deallocated; however, before deallocation, the VM saves the memory state to the disk, thus allowing a fast restore to the initial state when the VM is restarted. To support this managed disks will persist a new boolean property called supportsHibernation which CRP can use to determine if the underlying disk has capability to support hibernation. This flag can be turned on / off by the customer.

We need the following changes:

  1. Update the disk and snapshot commands to accept a new optional property called supportsHibernation which is a boolean and ensure that customers can modify it.

Minimum API Version Required
2020-12-01

Swagger Link
Azure/azure-rest-api-specs#12796

Target Date
asap

@ghost ghost added the needs-triage This is a new issue that needs to be triaged to the appropriate team. label Apr 12, 2021
@ghost ghost removed the needs-triage This is a new issue that needs to be triaged to the appropriate team. label Apr 14, 2021
@qwordy
Copy link
Member

qwordy commented Apr 14, 2021

We are planning it.

@meet1993shah
Copy link
Author

this feature is not yet enabled for preview, so will need to remove this issue. Will create the issue again when the preview is announced.
Thanks and sorry for this.

@meet1993shah
Copy link
Author

please disregard the above comment

@meet1993shah meet1993shah reopened this Apr 14, 2021
@qwordy
Copy link
Member

qwordy commented Apr 15, 2021

@meet1993shah
It is already in 2020-12-01 disk.json.

        "supportsHibernation": {
          "type": "boolean",
          "description": "Indicates the OS on a disk supports hibernation."
        },

Is this feature available now?

@meet1993shah
Copy link
Author

yes, it's available.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants