azure-docs
azure-docs copied to clipboard
Article needs cleanup
[Enter feedback here] The content says to create parameter in the custom json file but execution of azure cli statement doesn't specify how to pass the parameter file to create dashboard.
The sample dashboard file doesn't have the parameters (https://raw.githubusercontent.com/Azure/azure-docs-powershell-samples/master/azure-portal/portal-dashboard-template-testvm.json) but rather the resource id's are marked with this "id": "/subscriptions/<subscriptionID>/resourceGroups/<rgName>/providers/Microsoft.Compute/virtualMachines/<vmName>",
I tried to use the same azure cli statement and create a parameter file but it threw errors.
So far, I tried to analyze and see the following
- Use “Replace Tokens” from Guillaume Rouchon
- You need to install extensions to the Azure CLI and include this statement az config set extension.use_dynamic_install
- Use the "az deployment group create" statement to deploy
Document Details
⚠ Do not edit this section. It is required for learn.microsoft.com ➟ GitHub issue linking.
- ID: 47fb1c00-f103-92c2-32e9-eefae46a6ce9
- Version Independent ID: 33555263-7be5-7164-310d-e97e6bea6704
- Content: Programmatically create Azure Dashboards - Azure portal
- Content Source: articles/azure-portal/azure-portal-dashboards-create-programmatically.md
- Service: azure-portal
- GitHub Login: @JnHs
- Microsoft Alias: jenhayes
@senthilrepo20 Thanks for your feedback! We will investigate and update as appropriate.
@senthilrepo thanks for your patience, I'm looking into this and hope to provide an update soon.
Hi @senthilrepo, apologies for the long time to respond. I have created a work item to review and update this document, to be reviewed along other documentation needs. As I'm tracking this separately (but don't have a specific time frame for this work) I'll close this issue now. Thank you for taking the time to share this feedback and helping us improve the docs, and I apologize again for the delay. #please-close