Azure / Azure/azure-cli

Enable Azure update management for a VM

Open
#12,761 6 comments 0 reactions 1 assignee Assigned to @zhoxing-ms View on GitHub
act-observability-squad Breadth Compute feature-request
Dominant language
Python
Stars
4.6k
Forks
3.5k
Avg merge
3d 2h
Merged PRs (30d)
60

Description

Hello,

Azure CLI to deploy the Log Analytics Agent VM extension to an existing virtual machine is not enabling the azure update management so everytime after installation we have to enable in portal

az vm extension set \
--resource-group myResourceGroup \
--vm-name myVM \
--name OmsAgentForLinux \
--publisher Microsoft.EnterpriseCloud.Monitoring \
--version 1.10.1 --protected-settings '{"workspaceKey":"myWorkspaceKey"}' \
--settings '{"workspaceId":"myWorkspaceId"}'

I am not sure if there is already a "az cli" command to enable azure update management but if there isn't one then its good to have a command

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.