title: How to enable Update Management for an Azure Automation Account programmatically?
body: <p>I'm currently using Terraform and bits of Powershell to automate all of my infrastructure and I'm seeking a fully automated means to configure update management for all of my VMs. I'm able to deploy the Automation Account, Log Analytics Workspace, and a linked service resource to manage the connection between the two. However, I'm unable to enable the update management service on the Auto Account.</p>
  
  <p>Is there any automatable means (ps, tf, api, etc.) by which I can simply <strong>enable update management</strong> for my automation account?</p>