Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
35 changes: 31 additions & 4 deletions src/amg/azext_amg/_help.py
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,6 @@
- name: create a data source of Azure Monitor using Managed Identity
text: |
az grafana data-source create -n MyGrafana --definition '{
"uid": "5SjzhUu4n",
"access": "proxy",
"jsonData": {
"azureAuthType": "msi",
Expand All @@ -79,7 +78,6 @@
- name: create a data source of Azure Monitor using App Registration
text: |
az grafana data-source create -n MyGrafana --definition '{
"uid": "5SjzhUu4z",
"name": "Azure Monitor-2",
"type": "grafana-azure-monitor-datasource",
"access": "proxy",
Expand All @@ -95,7 +93,6 @@
- name: create a data source of Azure Data Explorer using Managed Identity
text: |
az grafana data-source create -n MyGrafana --definition '{
"uid": "3JTnaUuVz",
"name": "Azure Data Explorer Datasource-2",
"type": "grafana-azure-data-explorer-datasource",
"access": "proxy",
Expand All @@ -107,7 +104,6 @@
- name: create a data source of Azure Data Explorer using App Registration
text: |
az grafana data-source create -n MyGrafana --definition '{
"uid": "uEi-b8X4k",
"name": "Azure Data Explorer Datasource-1",
"type": "grafana-azure-data-explorer-datasource",
"access": "proxy",
Expand All @@ -122,6 +118,37 @@
},
"secureJsonData": { "azureClientSecret": "verySecret" }
}'
- name: create a data source of Azure Managed Prometheus using App Registration
text: |
az grafana data-source create -n MyGrafana --definition '{
"name": "Azure Managed Prometheus-1",
"type": "prometheus",
"access": "proxy",
"url": "https://myprom-abcd.westcentralus.prometheus.monitor.azure.com",
"jsonData": {
"httpMethod": "POST",
"azureCredentials": {
"authType": "clientsecret",
"azureCloud": "AzureCloud",
"tenantId": "72f988bf-86f1-41af-91ab-111111111111",
"clientId": "fb31a2f5-9122-4be9-9705-111111111111"
},
"timeInterval": "30s"
},
"secureJsonData": { "azureClientSecret": "verySecret" }
}'
- name: create a data source of Azure Managed Prometheus using managed identity
text: |
az grafana data-source create -n MyGrafana --definition '{
"name": "Azure Managed Prometheus-1",
"type": "prometheus",
"access": "proxy",
"url": "https://myprom-jryu.westcentralus.prometheus.monitor.azure.com",
"jsonData": {
"httpMethod": "POST",
"azureCredentials": { "authType": "msi" }
}
}'
- name: create a data source of Azure SQL
text: |
az grafana data-source create -n MyGrafana --definition '{
Expand Down
2 changes: 1 addition & 1 deletion src/amg/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@

# TODO: Confirm this is the right version number you want and it matches your
# HISTORY.rst entry.
VERSION = '1.2.5'
VERSION = '1.2.6'

# The full list of classifiers is available at
# https://pypi.python.org/pypi?%3Aaction=list_classifiers
Expand Down