Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions Commands/vm/_create.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,3 +15,7 @@ Create operation to create or update a virtual machine. Please note some propert
### [2025-04-01](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jb21wdXRlL3ZpcnR1YWxtYWNoaW5lcy97fQ==/2025-04-01.xml) **Stable**

<!-- mgmt-plane /subscriptions/{}/resourcegroups/{}/providers/microsoft.compute/virtualmachines/{} 2025-04-01 -->

### [2025-11-01](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jb21wdXRlL3ZpcnR1YWxtYWNoaW5lcy97fQ==/2025-11-01.xml) **Stable**

<!-- mgmt-plane /subscriptions/{}/resourcegroups/{}/providers/microsoft.compute/virtualmachines/{} 2025-11-01 -->
25 changes: 25 additions & 0 deletions Commands/vm/_deallocate.md
Original file line number Diff line number Diff line change
Expand Up @@ -105,3 +105,28 @@ For an end-to-end tutorial, see https://learn.microsoft.com/azure/virtual-machin
```bash
vm deallocate --name MyVm --no-wait --resource-group MyResourceGroup
```

### [2025-11-01](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jb21wdXRlL3ZpcnR1YWxtYWNoaW5lcy97fS9kZWFsbG9jYXRl/2025-11-01.xml) **Stable**

<!-- mgmt-plane /subscriptions/{}/resourcegroups/{}/providers/microsoft.compute/virtualmachines/{}/deallocate 2025-11-01 -->

#### examples

- Deallocate, generalize, and capture a stopped virtual machine.
```bash
vm deallocate -g MyResourceGroup -n MyVm
vm generalize -g MyResourceGroup -n MyVm
vm capture -g MyResourceGroup -n MyVm --vhd-name-prefix MyPrefix
```

- Deallocate, generalize, and capture multiple stopped virtual machines.
```bash
vm deallocate --ids vms_ids
vm generalize --ids vms_ids
vm capture --ids vms_ids --vhd-name-prefix MyPrefix
```

- Deallocate a VM.
```bash
vm deallocate --name MyVm --no-wait --resource-group MyResourceGroup
```
16 changes: 16 additions & 0 deletions Commands/vm/_delete.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,3 +39,19 @@ Delete operation to delete a virtual machine.
```bash
vm delete --ids $(az vm list -g MyResourceGroup --query "[].id" -o tsv)
```

### [2025-11-01](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jb21wdXRlL3ZpcnR1YWxtYWNoaW5lcy97fQ==/2025-11-01.xml) **Stable**

<!-- mgmt-plane /subscriptions/{}/resourcegroups/{}/providers/microsoft.compute/virtualmachines/{} 2025-11-01 -->

#### examples

- Delete a VM without a prompt for confirmation.
```bash
vm delete -g MyResourceGroup -n MyVm --yes
```

- Delete all VMs in a resource group.
```bash
vm delete --ids $(az vm list -g MyResourceGroup --query "[].id" -o tsv)
```
4 changes: 4 additions & 0 deletions Commands/vm/_show.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,3 +15,7 @@ Get information about the model view or the instance view of a virtual machine.
### [2025-04-01](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jb21wdXRlL3ZpcnR1YWxtYWNoaW5lcy97fQ==/2025-04-01.xml) **Stable**

<!-- mgmt-plane /subscriptions/{}/resourcegroups/{}/providers/microsoft.compute/virtualmachines/{} 2025-04-01 -->

### [2025-11-01](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jb21wdXRlL3ZpcnR1YWxtYWNoaW5lcy97fQ==/2025-11-01.xml) **Stable**

<!-- mgmt-plane /subscriptions/{}/resourcegroups/{}/providers/microsoft.compute/virtualmachines/{} 2025-11-01 -->
4 changes: 4 additions & 0 deletions Commands/vm/_update.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,3 +17,7 @@ Please note some properties can be set only during virtual machine creation
### [2025-04-01](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jb21wdXRlL3ZpcnR1YWxtYWNoaW5lcy97fQ==/2025-04-01.xml) **Stable**

<!-- mgmt-plane /subscriptions/{}/resourcegroups/{}/providers/microsoft.compute/virtualmachines/{} 2025-04-01 -->

### [2025-11-01](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jb21wdXRlL3ZpcnR1YWxtYWNoaW5lcy97fQ==/2025-11-01.xml) **Stable**

<!-- mgmt-plane /subscriptions/{}/resourcegroups/{}/providers/microsoft.compute/virtualmachines/{} 2025-11-01 -->
4 changes: 4 additions & 0 deletions Commands/vm/identity/_assign.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,3 +11,7 @@ Assign the user or system managed identities.
### [2025-04-01](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jb21wdXRlL3ZpcnR1YWxtYWNoaW5lcy97fQ==/2025-04-01.xml) **Stable**

<!-- mgmt-plane /subscriptions/{}/resourcegroups/{}/providers/microsoft.compute/virtualmachines/{} 2025-04-01 identity -->

### [2025-11-01](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jb21wdXRlL3ZpcnR1YWxtYWNoaW5lcy97fQ==/2025-11-01.xml) **Stable**

<!-- mgmt-plane /subscriptions/{}/resourcegroups/{}/providers/microsoft.compute/virtualmachines/{} 2025-11-01 identity -->
4 changes: 4 additions & 0 deletions Commands/vm/identity/_remove.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,3 +11,7 @@ Remove the user or system managed identities.
### [2025-04-01](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jb21wdXRlL3ZpcnR1YWxtYWNoaW5lcy97fQ==/2025-04-01.xml) **Stable**

<!-- mgmt-plane /subscriptions/{}/resourcegroups/{}/providers/microsoft.compute/virtualmachines/{} 2025-04-01 identity -->

### [2025-11-01](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jb21wdXRlL3ZpcnR1YWxtYWNoaW5lcy97fQ==/2025-11-01.xml) **Stable**

<!-- mgmt-plane /subscriptions/{}/resourcegroups/{}/providers/microsoft.compute/virtualmachines/{} 2025-11-01 identity -->
4 changes: 4 additions & 0 deletions Commands/vm/identity/_show.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,3 +11,7 @@ Show the details of managed identities.
### [2025-04-01](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jb21wdXRlL3ZpcnR1YWxtYWNoaW5lcy97fQ==/2025-04-01.xml) **Stable**

<!-- mgmt-plane /subscriptions/{}/resourcegroups/{}/providers/microsoft.compute/virtualmachines/{} 2025-04-01 identity -->

### [2025-11-01](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jb21wdXRlL3ZpcnR1YWxtYWNoaW5lcy97fQ==/2025-11-01.xml) **Stable**

<!-- mgmt-plane /subscriptions/{}/resourcegroups/{}/providers/microsoft.compute/virtualmachines/{} 2025-11-01 identity -->

Large diffs are not rendered by default.

Loading
Loading