Skip to content

Commit 370d31a

Browse files
committed
updates
1 parent 3384317 commit 370d31a

File tree

2 files changed

+2
-16
lines changed

2 files changed

+2
-16
lines changed

articles/virtual-machine-scale-sets/tutorial-create-and-manage-cli.md

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -205,15 +205,7 @@ az vm stop \
205205
--name myScaleSet_instance1
206206
```
207207

208-
Stopped VM instances remain allocated and continue to incur compute charges. If you instead wish the VM instances to be deallocated and only incur storage charges, use [az vmss deallocate](/cli/azure/vmss) to deallocate all the instance in your scale set.
209-
210-
```azurecli-interactive
211-
az vmss deallocate \
212-
--resource-group myResourceGroup \
213-
--name myScaleSet
214-
```
215-
216-
To deallocate an individual VM instance in a scale set, use [az vm deallocate](/cli/azure/vm) and specify the instance name.
208+
Stopped VM instances remain allocated and continue to incur compute charges. If you instead wish the VM instances to be deallocated and only incur storage charges, use [az vm deallocate](/cli/azure/vm) and specify the instance names you want deallocated.
217209

218210
```azurecli-interactive
219211
az vm deallocate \

articles/virtual-machine-scale-sets/tutorial-create-and-manage-powershell.md

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -135,13 +135,7 @@ myResourceGroup myScaleSet_instance3 eastus Standard_DS1_v2 Windows Su
135135
```
136136

137137
## Stop and deallocate VM instances in a scale set
138-
To stop all the VM instances in a scale set, use [Stop-AzVmss](/powershell/module/az.compute/stop-azvmss).
139-
140-
```azurepowershell-interactive
141-
Stop-AzVmss -ResourceGroupName "myResourceGroup" -VMScaleSetName "myScaleSet"
142-
```
143-
144-
To stop individual VM instances, use [Stop-AzVm](/powershell/module/az.compute/stop-azvm) and specify the instance name.
138+
To stop individual VM instances, use [Stop-AzVm](/powershell/module/az.compute/stop-azvm) and specify the instance names.
145139

146140
```azurepowershell-interactive
147141
Stop-AzVM -ResourceGroupName "myResourceGroup" -name "myScaleSet_instance1"

0 commit comments

Comments
 (0)