From the course: Automation with Azure Powershell and ARM Templates

Unlock the full course today

Join today to access over 22,600 courses taught by industry experts or purchase this course individually.

Add a shared dashboard to the template

Add a shared dashboard to the template - Azure Tutorial

From the course: Automation with Azure Powershell and ARM Templates

Start my 1-month free trial

Add a shared dashboard to the template

- [Instructor] We need the template for a dashboard to include in our project, so that we can deploy it as part of our infrastructure. You can get to that template by going down to the Resources Explorer. And any template that we created inside of the Azure portal gets added to a special resource group that it saves called Dashboards. And I can see this dashboard, exactly what this would look like. So here's my dashboard that I created. And I can take this code and copy it and put it into my template that I'm building for doing the deployment. So if I copy this, select all, do a Ctrl + C to copy. Now I can go back over to Visual Studio and inject it into my project. There's a couple places where we could put it. In the structure of the file, after we have our parameters and variables, you'll see each of the resources has a kind of a common structure. You have an API version, you have the name of what it is, you have the type, the location, the dependencies, tags, properties, and then…

Contents