CmdID / az / az elastic / az elastic monitor
az elastic monitor update-vm-collection
Update the VM details that will be monitored by the Elastic monitor resource, ensuring optimal observability and performance. Azure CLI extensions reference
1 example 3 options Its page in the Azure CLI extensions reference
Examples
Update vm collection
az elastic monitor update-vm-collection --monitor-name monitor1 -g rg --operation-name Add --vi-resource-id idIdentify--monitor-nameMonitor resource name-gName of resource group.--operation-nameOperation to be performed for given VM.Options
--monitor-nameMonitor resource name--operation-nameOperation to be performed for given VM.--vm-resource-idARM id of the VM resource.