[VM] Ability to query/manipulate `Update Management`?
See original GitHub issueAzure VMs have a preview feature called “Update Management”. This feature offers built-in update management (i.e. Windows Update, apt, etc).
Enabling the feature prompts for a log analytics workspace
and an Automation account
. Presumably, the automation account is where update management scheduling actually happens.
Is Update Management
component query-able via az cli? (I wasn’t able to find it if so, under az vm
)
Are Azure Automation accounts manageable via az cli?
My goal:
- Identify
Update Management
status for a VM.
(i.e.az vm updatemgmt show -n "MyVM"
) - Secondary Goal: Enable
Update Management
for a VM
(i.e.az vm updatemgmt status -n "MyVM" -value enable
) - Stretch goal: Have a policy that audits VMs and shoots off an email indicating which machines don’t have update management enabled. (side note: Surprised this isn’t a default available policy definition that ships in Azure - is there a board where can post secondary inquiry on this?)
Issue Analytics
- State:
- Created 6 years ago
- Reactions:2
- Comments:9 (3 by maintainers)
Top Results From Across the Web
Enable Azure Automation Update Management for an Azure VM
This article tells how to enable Update Management for an Azure VM. ... Select the VM for which you want to enable Update...
Read more >How to Enable Update Management on the VM from the Azure ...
Share. Save. Save. 993 views 2 years ago. 993 views • Jun 5, 2020. How to Enable Update Management on the VM from...
Read more >OS patch management | Compute Engine Documentation
Use OS patch management to apply operating system patches across a set of Compute Engine VM instances (VMs). Long running VMs require periodic...
Read more >Deploying VM Updates with Azure Update Management
The Azure Update Management solution can be used to manage updates and patches for virtual machines (VMs). Through Azure Update Management, ...
Read more >How to use and monitor Azure Update Management
Learn how to configure Azure Update Management, Azure Automation Account and Azure Log Analytics. Find out how to add Windows and Linux VMs...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Thanks so much! It may seem like a minor thing, but automating these sorts of reports will be quite useful.
I will close this as it is not a CLI issue, there isn’t python sdk support for it (as far as I’m aware off) and there is a work around with arm templates.