CmdID / az / az monitor / az monitor log-analytics / az monitor log-analytics solution
az monitor log-analytics solution create
Create the Solution. Azure CLI extensions reference
1 example 4 options Its page in the Azure CLI extensions reference
Examples
Create a log-analytics solution of type Containers
az monitor log-analytics solution create --resource-group MyResourceGroup --solution-type Containers --tags key=value --workspace "/subscriptions/{SubID}/resourceGroups/{ResourceGroup}/providers/ Microsoft.OperationalInsights/workspaces/{WorkspaceName}"Identify--resource-groupName of resource group.--tagsSpace-separated tags: key[=value] [key[=value] ...].Options
--name, -nName of the log-analytics solution.--planPlan for solution object supported by the OperationsManagement resource provider.--tagsSpace-separated tags: key[=value] [key[=value] ...].--workspace-idThe azure resourceId for the workspace where the solution will be deployed/enabled.