Skip to content

Commit

Permalink
Merge pull request #749 from MicrosoftDocs/main
Browse files Browse the repository at this point in the history
12/12/2024 AM Publish
  • Loading branch information
Taojunshen authored Dec 12, 2024
2 parents 872fe3f + 548c4d8 commit 083b460
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions articles/virtual-machines/image-version.md
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,7 @@ In the example below, we are creating an image from a **VM**. The version of our

It is a best practice to stop\deallocate the VM before creating an image.

Replace the value of `--managed-image` in this example with the ID of your VM.
Replace the value of `--virtual-machine` in this example with the ID of your VM.

```azurecli-interactive
az sig image-version create \
Expand All @@ -176,7 +176,7 @@ az sig image-version create \
--gallery-image-version 1.0.0 \
--target-regions "westcentralus" "southcentralus=1" "eastus=1=standard_zrs" \
--replica-count 2 \
--managed-image "/subscriptions/<Subscription ID>/resourceGroups/MyResourceGroup/providers/Microsoft.Compute/virtualMachines/myVM"
--virtual-machine "/subscriptions/<Subscription ID>/resourceGroups/MyResourceGroup/providers/Microsoft.Compute/virtualMachines/myVM"
```

> [!NOTE]
Expand Down

0 comments on commit 083b460

Please sign in to comment.