CmdID / az / az dynatrace / az dynatrace observability / az dynatrace observability monitor
az dynatrace observability monitor manage-agent-installation
Performs Dynatrace agent install/uninstall action through the Azure Dynatrace resource on the provided list of resources. Azure CLI extensions reference
1 example 3 options Its page in the Azure CLI extensions reference
Examples
Monitors_ManageAgentInstallation_MaximumSet_Gen
az dynatrace observability monitor manage-agent-installation --resource-group myResourceGroup --monitor-name myMonitor --mng-agt-instal-list "[{id:/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Compute/virtualMachineScaleSets/vmssName},{id:/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Compute/virtualMachineScaleSets/vmssName2}]" --action InstallIdentify--resource-groupName of resource group.--monitor-nameMonitor resource name--mng-agt-instal-listThe list of resources.--actionInstall/Uninstall action.Options
--actionInstall/Uninstall action.--mng-agt-instal-listThe list of resources.--monitor-nameMonitor resource name