Skip to content

Commit 32510a5

Browse files
authored
Update hibernate-resume.md
Removing steps to register feature flag with subscription
1 parent f30e359 commit 32510a5

File tree

1 file changed

+0
-38
lines changed

1 file changed

+0
-38
lines changed

articles/virtual-machines/hibernate-resume.md

Lines changed: 0 additions & 38 deletions
Original file line numberDiff line numberDiff line change
@@ -112,44 +112,6 @@ The following Windows operating systems support hibernation:
112112
- Hibernation is enabled on your VM when creating the VM.
113113
- 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.
114114

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

155117
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)