Skip to content

Commit 849acd2

Browse files
Merge pull request #212890 from balas77/patch-13
Update deploy.md for VM tags
2 parents f9efd47 + 53a5e77 commit 849acd2

File tree

1 file changed

+3
-0
lines changed
  • articles/azure-functions/start-stop-vms

1 file changed

+3
-0
lines changed

articles/azure-functions/start-stop-vms/deploy.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -393,6 +393,9 @@ To learn more about how Azure Monitor metric alerts work and how to configure th
393393
}
394394
}
395395
```
396+
## VM Tags
397+
398+
You can also include or exclude specific VMs from start and stop actions by settings tags on the VMs themselves. To add a tag, navigate to the specific VM, select **Tags** from the left menu, and add a tag named `ssv2excludevm`. To exclude this VM from the start or stop action, set the value of this new tag to `true`. To include the VM in the action, set the value to `false`. This gives you a way to exclude specific VMs without having to update `ExcludedVMLists` in the payload configuration.
396399

397400
## Next steps
398401

0 commit comments

Comments
 (0)