az vm diagnostics
Configure the Azure Virtual Machine diagnostics extension. Azure CLI reference
2 commands 5 options Its page in the Azure CLI reference
Commands
Options
--is-windows-osfor Windows VMs--protected-settingsjson string or a file path containing private configurations such as storage account keys, etc.--settingsjson string or a file path, which defines data to be collected.--versionversion of the diagnostics extension.--vm-nameThe name of the Virtual Machine.