Skip to content

Commit 33844df

Browse files
Merge pull request #271148 from jain-ank/patch-21
Update hibernate-resume.md
2 parents 2a890d2 + 32510a5 commit 33844df

File tree

1 file changed

+0
-39
lines changed

1 file changed

+0
-39
lines changed

articles/virtual-machines/hibernate-resume.md

Lines changed: 0 additions & 39 deletions
Original file line numberDiff line numberDiff line change
@@ -105,52 +105,13 @@ The following Windows operating systems support hibernation:
105105
- Capacity reservations
106106

107107
## Prerequisites to use hibernation
108-
- The hibernate feature is enabled for your subscription.
109108
- A persistent OS disk large enough to store the contents of the RAM, OS and other applications running on the VM is connected.
110109
- The VM size supports hibernation.
111110
- The VM OS supports hibernation.
112111
- The Azure VM Agent is installed if you're using the Windows or Linux Hibernate Extensions.
113112
- Hibernation is enabled on your VM when creating the VM.
114113
- If a VM is being created from an OS disk or a Compute Gallery image, then the OS disk or Gallery Image definition supports hibernation.
115114

116-
## Enabling hibernation feature for your subscription
117-
Use the following steps to enable this feature for your subscription:
118-
119-
### [Portal](#tab/enablehiberPortal)
120-
1. In your Azure subscription, go to the Settings section and select 'Preview features'.
121-
1. Search for 'hibernation'.
122-
1. Check the 'Hibernation Preview' item.
123-
1. Click 'Register'.
124-
125-
![Screenshot showing the Azure subscription preview portal with 4 numbers representing different steps in enabling the hibernation feature.](./media/hibernate-resume/hibernate-register-preview-feature.png)
126-
127-
### [PowerShell](#tab/enablehiberPS)
128-
```powershell
129-
Register-AzProviderFeature -FeatureName "VMHibernationPreview" -ProviderNamespace "Microsoft.Compute"
130-
```
131-
### [CLI](#tab/enablehiberCLI)
132-
```azurecli
133-
az feature register --name VMHibernationPreview --namespace Microsoft.Compute
134-
```
135-
---
136-
137-
Confirm that the registration state is Registered (registration takes a few minutes) using the following command before trying out the feature.
138-
139-
### [Portal](#tab/checkhiberPortal)
140-
In the Azure portal under 'Preview features', select 'Hibernation Preview'. The registration state should show as 'Registered'.
141-
142-
![Screenshot showing the Azure subscription preview portal with the hibernation feature listed as registered.](./media/hibernate-resume/hibernate-is-registered-preview-feature.png)
143-
144-
### [PowerShell](#tab/checkhiberPS)
145-
```powershell
146-
Get-AzProviderFeature -FeatureName "VMHibernationPreview" -ProviderNamespace "Microsoft.Compute"
147-
```
148-
### [CLI](#tab/checkhiberCLI)
149-
```azurecli
150-
az feature show --name VMHibernationPreview --namespace Microsoft.Compute
151-
```
152-
---
153-
154115
## Getting started with hibernation
155116

156117
To hibernate a VM, you must first enable the feature while creating the VM. You can only enable hibernation for a VM on initial creation. You can't enable this feature after the VM is created.

0 commit comments

Comments
 (0)