CmdID / az / az elastic / az elastic monitor
az elastic monitor vm-collection-update
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
VMCollection_Update
az elastic monitor vm-collection-update --resource-group myResourceGroup --monitor-name myMonitorIdentify--resource-groupName of resource group.--monitor-nameMonitor resource nameOptions
--monitor-nameMonitor resource name--operation-nameOperation to be performed for given VM.--vm-resource-idARM id of the VM resource.