Skip to content

Commit 9ddbace

Browse files
authored
Update virtual-machines-common-ephemeral.md
1 parent 0b0d06a commit 9ddbace

File tree

1 file changed

+0
-32
lines changed

1 file changed

+0
-32
lines changed

includes/virtual-machines-common-ephemeral.md

Lines changed: 0 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -34,38 +34,6 @@ Key differences between persistent and ephemeral OS disks:
3434
| OS disk resize | Supported during VM creation and after VM is stop-deallocated | Supported during VM creation only |
3535
| Resizing to a new VM size | OS disk data is preserved | Data on the OS disk is deleted, OS is re-provisioned |
3636

37-
## Register for the preview
38-
39-
40-
Self-register for the preview of Ephemeral OS Disks using the latest version of Azure CLI or Azure PowerShell.
41-
42-
### PowerShell
43-
44-
```azurepowershell-interactive
45-
Register-AzResourceProvider -ProviderNamespace Microsoft.Compute
46-
Register-AzProviderFeature –FeatureName LocalDiffDiskPreview -ProviderNamespace Microsoft.Compute
47-
```
48-
49-
To check if you are registered for the preview:
50-
51-
```azurepowershell-interactive
52-
Get-AzProviderFeature –FeatureName LocalDiffDiskPreview -ProviderNamespace Microsoft.Compute
53-
```
54-
55-
### CLI
56-
57-
```azurecli-interactive
58-
az provider register --namespace Microsoft.Compute
59-
az feature register --namespace Microsoft.Compute --name LocalDiffDiskPreview
60-
```
61-
62-
To check if you are registered for the preview:
63-
64-
```azurecli-interactive
65-
az provider show --namespace Microsoft.Compute
66-
```
67-
68-
6937
## Scale set deployment
7038
The process to create a scale set that uses an ephemeral OS disk is to add the `diffDiskSettings` property to the
7139
`Microsoft.Compute/virtualMachineScaleSets/virtualMachineProfile` resource type in the template. Also, the caching policy must be set to `ReadOnly` for the ephemeral OS disk.

0 commit comments

Comments
 (0)