CmdID

CmdID / az / az monitor / az monitor log-analytics / az monitor log-analytics cluster / az monitor log-analytics cluster identity

az monitor log-analytics cluster identity assign

Assign the user or system managed identities. Azure CLI reference

1 example 3 options 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

Add a system assigned managed identity to an existing cluster

az monitor log-analytics cluster identity assign --name cluster --resource-group rg --system-assignedIdentify
--nameName of the Log Analytics Cluster.
--resource-groupName of resource group.
--system-assignedSet the system managed identity.

Options

3 in the Azure CLI reference
--cluster-name, --name, -nName of the Log Analytics Cluster.
--mi-system-assigned, --system-assignedSet the system managed identity.
--mi-user-assigned, --user-assignedSet the user managed identities.