Κοινή χρήση μέσω


az grafana integrations monitor

Note

This reference is part of the amg extension for the Azure CLI (version 2.61.0 or higher). The extension will automatically install the first time you run an az grafana integrations monitor command. Learn more about extensions.

Commands to manage Azure Monitor workspace integrations of a Grafana instance.

Commands

Name Description Type Status
az grafana integrations monitor add

Link an Azure Monitor workspace to a Grafana instance.

Extension Preview
az grafana integrations monitor delete

Unlink an Azure Monitor workspace from a Grafana instance.

Extension Preview
az grafana integrations monitor list

List all Azure Monitor workspaces linked to a Grafana instance.

Extension Preview

az grafana integrations monitor add

Preview

This command is in preview and under development. Reference and support levels: https://aka.ms/CLI_refstatus

Link an Azure Monitor workspace to a Grafana instance.

az grafana integrations monitor add --monitor-name
                                    --monitor-resource-group-name
                                    --name
                                    [--resource-group]
                                    [--skip-role-assignments {false, true}]

Required Parameters

--monitor-name

Name of the Azure Monitor workspace.

--monitor-resource-group-name --monitor-rg-name

Name of the resource group of the Azure Monitor workspace.

--name -n

Name of the Azure Managed Grafana.

Optional Parameters

--resource-group -g

Name of resource group. You can configure the default group using az configure --defaults group=<name>.

--skip-role-assignments -s

Skip assigning the appropriate role on the Azure Monitor workspace to let Grafana read data from it. Default: false.

Accepted values: false, true
Default value: False
Global Parameters
--debug

Increase logging verbosity to show all debug logs.

--help -h

Show this help message and exit.

--only-show-errors

Only show errors, suppressing warnings.

--output -o

Output format.

Accepted values: json, jsonc, none, table, tsv, yaml, yamlc
Default value: json
--query

JMESPath query string. See http://jmespath.org/ for more information and examples.

--subscription

Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID.

--verbose

Increase logging verbosity. Use --debug for full debug logs.

az grafana integrations monitor delete

Preview

This command is in preview and under development. Reference and support levels: https://aka.ms/CLI_refstatus

Unlink an Azure Monitor workspace from a Grafana instance.

az grafana integrations monitor delete --monitor-name
                                       --monitor-resource-group-name
                                       --name
                                       [--resource-group]
                                       [--skip-role-assignments {false, true}]

Required Parameters

--monitor-name

Name of the Azure Monitor workspace.

--monitor-resource-group-name --monitor-rg-name

Name of the resource group of the Azure Monitor workspace.

--name -n

Name of the Azure Managed Grafana.

Optional Parameters

--resource-group -g

Name of resource group. You can configure the default group using az configure --defaults group=<name>.

--skip-role-assignments -s

Skip assigning the appropriate role on the Azure Monitor workspace to let Grafana read data from it. Default: false.

Accepted values: false, true
Default value: False
Global Parameters
--debug

Increase logging verbosity to show all debug logs.

--help -h

Show this help message and exit.

--only-show-errors

Only show errors, suppressing warnings.

--output -o

Output format.

Accepted values: json, jsonc, none, table, tsv, yaml, yamlc
Default value: json
--query

JMESPath query string. See http://jmespath.org/ for more information and examples.

--subscription

Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID.

--verbose

Increase logging verbosity. Use --debug for full debug logs.

az grafana integrations monitor list

Preview

This command is in preview and under development. Reference and support levels: https://aka.ms/CLI_refstatus

List all Azure Monitor workspaces linked to a Grafana instance.

az grafana integrations monitor list --name
                                     [--resource-group]

Required Parameters

--name -n

Name of the Azure Managed Grafana.

Optional Parameters

--resource-group -g

Name of resource group. You can configure the default group using az configure --defaults group=<name>.

Global Parameters
--debug

Increase logging verbosity to show all debug logs.

--help -h

Show this help message and exit.

--only-show-errors

Only show errors, suppressing warnings.

--output -o

Output format.

Accepted values: json, jsonc, none, table, tsv, yaml, yamlc
Default value: json
--query

JMESPath query string. See http://jmespath.org/ for more information and examples.

--subscription

Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID.

--verbose

Increase logging verbosity. Use --debug for full debug logs.