Skip to content

Commit 1b57abe

Browse files
committed
fix indentation causing the build warning
1 parent 52f59f2 commit 1b57abe

File tree

1 file changed

+28
-27
lines changed

1 file changed

+28
-27
lines changed

articles/virtual-machines/disks-enable-host-based-encryption-portal.md

Lines changed: 28 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -35,36 +35,37 @@ You must enable the feature for your subscription before you can use encryption
3535

3636
![Screenshot of icon to launch the Cloud Shell from the Azure portal.](../Cloud-Shell/media/overview/portal-launch-icon.png)
3737

38-
1. Execute the following command to register the feature for your subscription
38+
1. Execute the following command to register the feature for your subscription
3939

40-
### [Azure PowerShell](#tab/azure-powershell)
40+
### [Azure PowerShell](#tab/azure-powershell)
4141

42-
```powershell
43-
Register-AzProviderFeature -FeatureName "EncryptionAtHost" -ProviderNamespace "Microsoft.Compute"
44-
```
42+
```powershell
43+
Register-AzProviderFeature -FeatureName "EncryptionAtHost" -ProviderNamespace "Microsoft.Compute"
44+
```
4545

46-
### [Azure CLI](#tab/azure-cli)
46+
### [Azure CLI](#tab/azure-cli)
4747

48-
```azurecli
49-
az feature register --name EncryptionAtHost --namespace Microsoft.Compute
50-
```
48+
```azurecli
49+
az feature register --name EncryptionAtHost --namespace Microsoft.Compute
50+
```
5151

52-
---
52+
---
5353

54-
1. Confirm that the registration state is **Registered** (registration may take a few minutes) using the following command before trying out the feature.
54+
1. Confirm that the registration state is **Registered** (registration may take a few minutes) using the following command before trying out the feature.
5555

56-
### [Azure PowerShell](#tab/azure-powershell)
56+
### [Azure PowerShell](#tab/azure-powershell)
5757

58-
```powershell
59-
Get-AzProviderFeature -FeatureName "EncryptionAtHost" -ProviderNamespace "Microsoft.Compute"
60-
```
58+
```powershell
59+
Get-AzProviderFeature -FeatureName "EncryptionAtHost" -ProviderNamespace "Microsoft.Compute"
60+
```
6161

62-
### [Azure CLI](#tab/azure-cli)
62+
### [Azure CLI](#tab/azure-cli)
6363

64-
```azurecli
65-
az feature show --name EncryptionAtHost --namespace Microsoft.Compute
66-
```
67-
---
64+
```azurecli
65+
az feature show --name EncryptionAtHost --namespace Microsoft.Compute
66+
```
67+
68+
---
6869

6970
## Deploy a VM with platform-managed keys
7071

@@ -73,12 +74,12 @@ You must enable the feature for your subscription before you can use encryption
7374
1. Select an appropriate region and a supported VM size.
7475
1. Fill in the other values on the **Basic** pane as you like, and then proceed to the **Disks** pane.
7576

76-
:::image type="content" source="media/virtual-machines-disks-encryption-at-host-portal/disks-encryption-at-host-basic-blade.png" alt-text="Screenshot of the virtual machine creation basics pane, region and VM size are highlighted." lightbox="media/virtual-machines-disks-encryption-at-host-portal/disks-encryption-at-host-basic-blade.png":::
77+
:::image type="content" source="media/virtual-machines-disks-encryption-at-host-portal/disks-encryption-at-host-basic-blade.png" alt-text="Screenshot of the virtual machine creation basics pane, region and VM size are highlighted." lightbox="media/virtual-machines-disks-encryption-at-host-portal/disks-encryption-at-host-basic-blade.png":::
7778

7879
1. On the **Disks** pane, select **Encryption at host**.
7980
1. Make the remaining selections as you like.
8081

81-
:::image type="content" source="media/virtual-machines-disks-encryption-at-host-portal/host-based-encryption-platform-keys.png" alt-text="Screenshot of the virtual machine creation disks pane, encryption at host highlighted." lightbox="media/virtual-machines-disks-encryption-at-host-portal/host-based-encryption-platform-keys.png":::
82+
:::image type="content" source="media/virtual-machines-disks-encryption-at-host-portal/host-based-encryption-platform-keys.png" alt-text="Screenshot of the virtual machine creation disks pane, encryption at host highlighted." lightbox="media/virtual-machines-disks-encryption-at-host-portal/host-based-encryption-platform-keys.png":::
8283

8384
1. For the rest of the VM deployment process, make selections that fit your environment, and complete the deployment.
8485

@@ -103,13 +104,13 @@ Now that you've setup an Azure Key Vault and disk encryption set, you can deploy
103104
1. Create a new virtual machine, select an appropriate region and a supported VM size.
104105
1. Fill in the other values on the **Basic** pane as you like, then proceed to the **Disks** pane.
105106

106-
:::image type="content" source="media/virtual-machines-disks-encryption-at-host-portal/disks-encryption-at-host-basic-blade.png" alt-text="Screenshot of the virtual machine creation basics pane, region and VM size are highlighted." lightbox="media/virtual-machines-disks-encryption-at-host-portal/disks-encryption-at-host-basic-blade.png":::
107+
:::image type="content" source="media/virtual-machines-disks-encryption-at-host-portal/disks-encryption-at-host-basic-blade.png" alt-text="Screenshot of the virtual machine creation basics pane, region and VM size are highlighted." lightbox="media/virtual-machines-disks-encryption-at-host-portal/disks-encryption-at-host-basic-blade.png":::
107108

108-
1. On the **Disks** pane, select **Encryption at host**.
109-
1. Select **Key management** and select one of your customer-managed keys.
109+
1. On the **Disks** pane, select **Encryption at host**.
110+
1. Select **Key management** and select one of your customer-managed keys.
110111
1. Make the remaining selections as you like.
111112

112-
:::image type="content" source="media/virtual-machines-disks-encryption-at-host-portal/disks-host-based-encryption-customer-managed-keys.png" alt-text="Screenshot of the virtual machine creation disks pane, encryption at host is highlighted, customer-managed keys selected." lightbox="media/virtual-machines-disks-encryption-at-host-portal/disks-host-based-encryption-customer-managed-keys.png":::
113+
:::image type="content" source="media/virtual-machines-disks-encryption-at-host-portal/disks-host-based-encryption-customer-managed-keys.png" alt-text="Screenshot of the virtual machine creation disks pane, encryption at host is highlighted, customer-managed keys selected." lightbox="media/virtual-machines-disks-encryption-at-host-portal/disks-host-based-encryption-customer-managed-keys.png":::
113114

114115
1. For the rest of the VM deployment process, make selections that fit your environment, and complete the deployment.
115116

@@ -121,7 +122,7 @@ Deallocate your VM first, encryption at host can't be disabled unless your VM is
121122

122123
1. On your VM, select **Disks** and then select **Additional settings**.
123124

124-
:::image type="content" source="media/virtual-machines-disks-encryption-at-host-portal/disks-encryption-host-based-encryption-additional-settings.png" alt-text="Screenshot of the Disks pane on a VM, Additional Settings is highlighted.":::
125+
:::image type="content" source="media/virtual-machines-disks-encryption-at-host-portal/disks-encryption-host-based-encryption-additional-settings.png" alt-text="Screenshot of the Disks pane on a VM, Additional Settings is highlighted.":::
125126

126127
1. Select **No** for **Encryption at host** then select **Save**.
127128

0 commit comments

Comments
 (0)