I'm new to Azure Monitor Workbook. I managed to create a workbook, which should be used as a template for each application that gets deployed.
We're using Powershell scripts with az cli commands to deploy the application (build resource group, AppInsights, etc.).
Reading https://docs.microsoft.com/en-us/azure/azure-monitor/visualize/workbooks-automate#working-with-json-formatted-workbook-data-in-the-serializeddata-template-parameter I understand I can put my ARM template with the workbook data in a Storage blob and using --template-uri as explained in https://docs.microsoft.com/en-us/azure/azure-resource-manager/templates/deploy-cli#deploy-remote-template I can create a resource from this template.
- Q1. The above process feels a bit hacky, is that the suggusted path to take?
- Q2. How can I check if the workbook already exists, so I don't create a new workbook on every deployment?
- Q3. How can I change the name of the workbook. It is now named
[GUID]-(MyName). If it needs to have aGUIDcan I change it toMyName-[GUID]? That makes it much more readably in the overviews?