Skip to content

Commit 1c9f320

Browse files
committed
Updated variable block formatting, adjusted date metadata for freshness.
1 parent 734a657 commit 1c9f320

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

articles/virtual-machines/windows/tutorial-manage-data-disk.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ ms.service: storage
77
ms.subservice: disks
88
ms.topic: tutorial
99
ms.tgt_pltfrm: vm-windows
10-
ms.date: 09/23/2021
10+
ms.date: 10/08/2021
1111
ms.custom: template-tutorial, devx-track-azurepowershell
1212
#Customer intent: As an IT administrator, I want to learn about Azure Managed Disks so that I can create and manage storage for Windows VMs in Azure.
1313
---
@@ -38,10 +38,10 @@ The exercises in this tutorial require a VM. Follow the steps in this section to
3838
Before you begin, find the `$azRegion` variable located in the first line of sample code and update the value to reflect your desired region. For example, to specify the **Central US** region, use `$azRegion = "Central US"`. Next, use the code to deploy a VM within a new resource group. You're prompted for username and password values for the VM's local administrator account.
3939

4040
```azurepowershell-interactive
41-
$azRegion = "[Your Region]"
41+
$azRegion = "[Your Region]"
4242
$azResourceGroup = "myDemoResourceGroup"
43-
$azVMName = "myDemoVM"
44-
$azDataDiskName = "myDemoDataDisk"
43+
$azVMName = "myDemoVM"
44+
$azDataDiskName = "myDemoDataDisk"
4545
4646
New-AzVm `
4747
-Location $azRegion `
@@ -51,7 +51,7 @@ New-AzVm `
5151
-VirtualNetworkName "myDemoVnet" `
5252
-SubnetName "myDemoSubnet" `
5353
-SecurityGroupName "myDemoNetworkSecurityGroup" `
54-
-PublicIpAddressName "myDemoPublicIpAddress"
54+
-PublicIpAddressName "myDemoPublicIpAddress"
5555
```
5656

5757
The output confirms the VM's successful creation.
@@ -167,7 +167,7 @@ A data disk must be attached to a VM before the VM can access it. Complete the s
167167
RequestId IsSuccessStatusCode StatusCode ReasonPhrase
168168
--------- ------------------- ---------- ------------
169169
True OK OK
170-
```
170+
```
171171
172172
### Initialize the data disk
173173
@@ -441,7 +441,7 @@ Follow the steps in this section to upgrade a managed disk from standard to prem
441441
442442
## Detach a data disk
443443
444-
You can detach a data disk from a VM when it's no longer needed. A detached disk is removed from the VM, but isn't deleted. If you've subscribed to premium storage, you'll continue to incur storage charges for the disk until it's deleted.
444+
You can detach a data disk from a VM when you want to attach it to a different VM, or when it's no longer needed. By default, detached disks are not deleted to prevent unintentional data loss. A detached disk will continue to incur storage charges until it's deleted.
445445
446446
1. First, select the VM to which the disk is attached with the `Get-AzVM` cmdlet.
447447

0 commit comments

Comments
 (0)