0
votes

We have a large AI dashboard built on top of a collection of complex kusto queries. We have multiple environments (dev/QA/Prod/Staging/etc...) with an AI instance in each.

Is it possible to copy the dashboard into all environments via ARM template or some kind of export process?

Recreating it manually in each environment would be a lot of extra work.

1
Yes, you can download it, modify and then upload using ARMZakiMa

1 Answers

0
votes

Of course you can! Every dashboard on Azure has an underlying JSON representation.

For example: Azure Dashboard

As seen in the above screenshot, there are options to Download and Clone the dashboard, that'll help with easier manipulation. Note that you can fetch the JSON representation from the Resource Explorer as well.

The next step is to create a template from this JSON so that it can be reused programmatically with the appropriate resource management APIs, command-line tools, or within the portal. It's not necessary to fully understand the dashboard JSON structure to create a template. ;)

Azure offers the ability to orchestrate the deployment of multiple resources via a template-based deployment system. You create a deployment template that expresses the set of resources to deploy as well as the relationships between them.

Once you have crafted your template you can deploy it using the REST APIs, PowerShell, Azure CLI, or the portal’s template deployment page.

For detailed information on how all of this can be done, please take a look at this doc.

Hope this helps!