How to enable change tracking , inventory , update management in Windows Azure vm with terraform

I have an automation account , log analytics workspace , linked automation account and log analytics, created log analytics solution for change tracking and updates.

Now i want to know how can i enable these in azure vm with terraform .