CmdID / az / az grafana / az grafana dashboard
az grafana dashboard create
Create a new dashboard. Azure CLI extensions reference
1 example 1 option Its page in the Azure CLI extensions reference
Examples
Create a dashboard with definition in a json file. For quick start, clone from the output of "az grafana dashboard show", remove "id" and "uid", and apply changes.
az grafana dashboard create -g MyResourceGroup -n MyGrafana --title "My dashboard" --folder folder1 --definition '{Identify-gName of resource group.-nName of the Azure Managed Grafana.--titletitle of a dashboard--folderuid or title which can identify a folder.--definitionThe complete dashboard model in json string, a path or url to a file with such content"dashboard": {"annotations": {...},"panels": {...}},"message": "Create a new test dashboard"}'Options
--definitionThe complete dashboard model in json string, a path or url to a file with such content