Link Diagnostics extension schema json with ARM

Yim, Sam 126 Reputation points
2023-03-07T12:14:04.43+00:00

This message when I go to the diagnostic settings of my virtual machine after deploying the azure diagnostics extension using the arm template given here: https://learn.microsoft.com/en-us/azure/virtual-machines/extensions/diagnostics-template?toc=%2Fazure%2Fazure-monitor%2Ftoc.json#wadmetrics-tables-in-storage

User's image

The arm template uses XML for the WAD config, and if I click the message from the portal it suggests to the json here: https://learn.microsoft.com/en-us/azure/azure-monitor/agents/diagnostics-extension-schema-windows

my question is, how do I incorporate this publicconfig json into the arm template for installing the azure diagnostics extension?

Azure Virtual Machines
Azure Virtual Machines
An Azure service that is used to provision Windows and Linux virtual machines.
7,409 questions
{count} votes