CmdID

CmdID / az / az vmss / az vmss diagnostics

az vmss diagnostics set

Enable diagnostics on a VMSS. Azure CLI reference

1 example Its page in the Azure CLI reference

Opens CmdID with your command. It is read in your browser and sent nowhere.

Examples

from the Azure CLI, each command read by CmdID

Enable diagnostics on a VMSS. (autogenerated)

az vmss diagnostics set --protected-settings {protected-settings} --resource-group MyResourceGroup --settings '{"commandToExecute": "echo testing"}' --vmss-name MyVmssIdentify
--protected-settingsjson string or a file path containing private configurations such as storage account keys, etc.
--resource-groupName of resource group.
--settingsjson string or a file path, which defines data to be collected.
--vmss-nameScale set name