Skip to content

Commit db4b6d7

Browse files
Merge pull request #232251 from divargas-msft/patch-2
[Doc-a-thon] Updating delete.md to get rid of the specific ubuntu ref…
2 parents 9863d89 + b312942 commit db4b6d7

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

articles/virtual-machines/delete.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -53,13 +53,13 @@ To specify what happens to the attached resources when you delete a VM, use the
5353
- `--data-disk-delete-option` - data disk.
5454
- `--nic-delete-option` - NIC.
5555

56-
In this example, we create a VM and set the OS disk and NIC to be deleted when we delete the VM.
56+
In this example, we create a VM named *myVM* in the resource group named *myResourceGroup* using an image named *myImage*, and set the OS disk and NIC to be deleted when we delete the VM.
5757

5858
```azurecli-interactive
5959
az vm create \
6060
--resource-group myResourceGroup \
6161
--name myVM \
62-
--image UbuntuLTS \
62+
--image myImage \
6363
--public-ip-sku Standard \
6464
--nic-delete-option delete \
6565
--os-disk-delete-option delete \
@@ -363,14 +363,14 @@ You can use the Azure REST API to apply force delete to your scale set. Use the
363363

364364
## FAQ
365365

366-
### Q: Does this feature work with shared disks?
366+
### Q: Does this feature work with shared disks?
367367

368-
A: For shared disks, you can't set the ‘deleteOption’ property to ‘Delete’. You can leave it blank or set it to ‘Detach’
368+
A: For shared disks, you can't set the ‘deleteOption’ property to ‘Delete’. You can leave it blank or set it to ‘Detach’
369369

370370

371371
### Q: Which Azure resources support this feature?
372372

373-
A: This feature is supported on all managed disk types used as OS disks and Data disks, NICs, and Public IPs
373+
A: This feature is supported on all managed disk types used as OS disks and Data disks, NICs, and Public IPs
374374

375375

376376
### Q: Can I use this feature on disks and NICs that aren't associated with a VM?

0 commit comments

Comments
 (0)