|
|
|
|
@ -37,11 +37,11 @@ |
|
|
|
|
"tokenAuth": { |
|
|
|
|
"scopes": ["https://management.azure.com/.default"], |
|
|
|
|
"params": { |
|
|
|
|
"azure_auth_type": "{{.JsonData.azureAuthType}}", |
|
|
|
|
"azure_auth_type": "{{.JsonData.azureAuthType | orEmpty}}", |
|
|
|
|
"azure_cloud": "AzureCloud", |
|
|
|
|
"tenant_id": "{{.JsonData.tenantId}}", |
|
|
|
|
"client_id": "{{.JsonData.clientId}}", |
|
|
|
|
"client_secret": "{{.SecureJsonData.clientSecret}}" |
|
|
|
|
"tenant_id": "{{.JsonData.tenantId | orEmpty}}", |
|
|
|
|
"client_id": "{{.JsonData.clientId | orEmpty}}", |
|
|
|
|
"client_secret": "{{.SecureJsonData.clientSecret | orEmpty}}" |
|
|
|
|
} |
|
|
|
|
}, |
|
|
|
|
"headers": [{ "name": "x-ms-app", "content": "Grafana" }] |
|
|
|
|
@ -54,11 +54,11 @@ |
|
|
|
|
"tokenAuth": { |
|
|
|
|
"scopes": ["https://management.usgovcloudapi.net/.default"], |
|
|
|
|
"params": { |
|
|
|
|
"azure_auth_type": "{{.JsonData.azureAuthType}}", |
|
|
|
|
"azure_auth_type": "{{.JsonData.azureAuthType | orEmpty}}", |
|
|
|
|
"azure_cloud": "AzureUSGovernment", |
|
|
|
|
"tenant_id": "{{.JsonData.tenantId}}", |
|
|
|
|
"client_id": "{{.JsonData.clientId}}", |
|
|
|
|
"client_secret": "{{.SecureJsonData.clientSecret}}" |
|
|
|
|
"tenant_id": "{{.JsonData.tenantId | orEmpty}}", |
|
|
|
|
"client_id": "{{.JsonData.clientId | orEmpty}}", |
|
|
|
|
"client_secret": "{{.SecureJsonData.clientSecret | orEmpty}}" |
|
|
|
|
} |
|
|
|
|
}, |
|
|
|
|
"headers": [{ "name": "x-ms-app", "content": "Grafana" }] |
|
|
|
|
@ -71,11 +71,11 @@ |
|
|
|
|
"tokenAuth": { |
|
|
|
|
"scopes": ["https://management.microsoftazure.de/.default"], |
|
|
|
|
"params": { |
|
|
|
|
"azure_auth_type": "{{.JsonData.azureAuthType}}", |
|
|
|
|
"azure_auth_type": "{{.JsonData.azureAuthType | orEmpty}}", |
|
|
|
|
"azure_cloud": "AzureGermanCloud", |
|
|
|
|
"tenant_id": "{{.JsonData.tenantId}}", |
|
|
|
|
"client_id": "{{.JsonData.clientId}}", |
|
|
|
|
"client_secret": "{{.SecureJsonData.clientSecret}}" |
|
|
|
|
"tenant_id": "{{.JsonData.tenantId | orEmpty}}", |
|
|
|
|
"client_id": "{{.JsonData.clientId | orEmpty}}", |
|
|
|
|
"client_secret": "{{.SecureJsonData.clientSecret | orEmpty}}" |
|
|
|
|
} |
|
|
|
|
}, |
|
|
|
|
"headers": [{ "name": "x-ms-app", "content": "Grafana" }] |
|
|
|
|
@ -88,11 +88,11 @@ |
|
|
|
|
"tokenAuth": { |
|
|
|
|
"scopes": ["https://management.chinacloudapi.cn/.default"], |
|
|
|
|
"params": { |
|
|
|
|
"azure_auth_type": "{{.JsonData.azureAuthType}}", |
|
|
|
|
"azure_auth_type": "{{.JsonData.azureAuthType | orEmpty}}", |
|
|
|
|
"azure_cloud": "AzureChinaCloud", |
|
|
|
|
"tenant_id": "{{.JsonData.tenantId}}", |
|
|
|
|
"client_id": "{{.JsonData.clientId}}", |
|
|
|
|
"client_secret": "{{.SecureJsonData.clientSecret}}" |
|
|
|
|
"tenant_id": "{{.JsonData.tenantId | orEmpty}}", |
|
|
|
|
"client_id": "{{.JsonData.clientId | orEmpty}}", |
|
|
|
|
"client_secret": "{{.SecureJsonData.clientSecret | orEmpty}}" |
|
|
|
|
} |
|
|
|
|
}, |
|
|
|
|
"headers": [{ "name": "x-ms-app", "content": "Grafana" }] |
|
|
|
|
@ -123,11 +123,11 @@ |
|
|
|
|
"tokenAuth": { |
|
|
|
|
"scopes": ["https://management.azure.com/.default"], |
|
|
|
|
"params": { |
|
|
|
|
"azure_auth_type": "{{.JsonData.azureAuthType}}", |
|
|
|
|
"azure_auth_type": "{{.JsonData.azureAuthType | orEmpty}}", |
|
|
|
|
"azure_cloud": "AzureCloud", |
|
|
|
|
"tenant_id": "{{.JsonData.logAnalyticsTenantId}}", |
|
|
|
|
"client_id": "{{.JsonData.logAnalyticsClientId}}", |
|
|
|
|
"client_secret": "{{.SecureJsonData.logAnalyticsClientSecret}}" |
|
|
|
|
"tenant_id": "{{.JsonData.logAnalyticsTenantId | orEmpty}}", |
|
|
|
|
"client_id": "{{.JsonData.logAnalyticsClientId | orEmpty}}", |
|
|
|
|
"client_secret": "{{.SecureJsonData.logAnalyticsClientSecret | orEmpty}}" |
|
|
|
|
} |
|
|
|
|
}, |
|
|
|
|
"headers": [{ "name": "x-ms-app", "content": "Grafana" }] |
|
|
|
|
@ -140,11 +140,11 @@ |
|
|
|
|
"tokenAuth": { |
|
|
|
|
"scopes": ["https://management.chinacloudapi.cn/.default"], |
|
|
|
|
"params": { |
|
|
|
|
"azure_auth_type": "{{.JsonData.azureAuthType}}", |
|
|
|
|
"azure_auth_type": "{{.JsonData.azureAuthType | orEmpty}}", |
|
|
|
|
"azure_cloud": "AzureChinaCloud", |
|
|
|
|
"tenant_id": "{{.JsonData.logAnalyticsTenantId}}", |
|
|
|
|
"client_id": "{{.JsonData.logAnalyticsClientId}}", |
|
|
|
|
"client_secret": "{{.SecureJsonData.logAnalyticsClientSecret}}" |
|
|
|
|
"tenant_id": "{{.JsonData.logAnalyticsTenantId | orEmpty}}", |
|
|
|
|
"client_id": "{{.JsonData.logAnalyticsClientId | orEmpty}}", |
|
|
|
|
"client_secret": "{{.SecureJsonData.logAnalyticsClientSecret | orEmpty}}" |
|
|
|
|
} |
|
|
|
|
}, |
|
|
|
|
"headers": [{ "name": "x-ms-app", "content": "Grafana" }] |
|
|
|
|
@ -157,11 +157,11 @@ |
|
|
|
|
"tokenAuth": { |
|
|
|
|
"scopes": ["https://management.usgovcloudapi.net/.default"], |
|
|
|
|
"params": { |
|
|
|
|
"azure_auth_type": "{{.JsonData.azureAuthType}}", |
|
|
|
|
"azure_auth_type": "{{.JsonData.azureAuthType | orEmpty}}", |
|
|
|
|
"azure_cloud": "AzureUSGovernment", |
|
|
|
|
"tenant_id": "{{.JsonData.logAnalyticsTenantId}}", |
|
|
|
|
"client_id": "{{.JsonData.logAnalyticsClientId}}", |
|
|
|
|
"client_secret": "{{.SecureJsonData.logAnalyticsClientSecret}}" |
|
|
|
|
"tenant_id": "{{.JsonData.logAnalyticsTenantId | orEmpty}}", |
|
|
|
|
"client_id": "{{.JsonData.logAnalyticsClientId | orEmpty}}", |
|
|
|
|
"client_secret": "{{.SecureJsonData.logAnalyticsClientSecret | orEmpty}}" |
|
|
|
|
} |
|
|
|
|
}, |
|
|
|
|
"headers": [{ "name": "x-ms-app", "content": "Grafana" }] |
|
|
|
|
@ -174,11 +174,11 @@ |
|
|
|
|
"tokenAuth": { |
|
|
|
|
"scopes": ["https://api.loganalytics.io/.default"], |
|
|
|
|
"params": { |
|
|
|
|
"azure_auth_type": "{{.JsonData.azureAuthType}}", |
|
|
|
|
"azure_auth_type": "{{.JsonData.azureAuthType | orEmpty}}", |
|
|
|
|
"azure_cloud": "AzureCloud", |
|
|
|
|
"tenant_id": "{{.JsonData.logAnalyticsTenantId}}", |
|
|
|
|
"client_id": "{{.JsonData.logAnalyticsClientId}}", |
|
|
|
|
"client_secret": "{{.SecureJsonData.logAnalyticsClientSecret}}" |
|
|
|
|
"tenant_id": "{{.JsonData.logAnalyticsTenantId | orEmpty}}", |
|
|
|
|
"client_id": "{{.JsonData.logAnalyticsClientId | orEmpty}}", |
|
|
|
|
"client_secret": "{{.SecureJsonData.logAnalyticsClientSecret | orEmpty}}" |
|
|
|
|
} |
|
|
|
|
}, |
|
|
|
|
"headers": [ |
|
|
|
|
@ -194,11 +194,11 @@ |
|
|
|
|
"tokenAuth": { |
|
|
|
|
"scopes": ["https://api.loganalytics.azure.cn/.default"], |
|
|
|
|
"params": { |
|
|
|
|
"azure_auth_type": "{{.JsonData.azureAuthType}}", |
|
|
|
|
"azure_auth_type": "{{.JsonData.azureAuthType | orEmpty}}", |
|
|
|
|
"azure_cloud": "AzureChinaCloud", |
|
|
|
|
"tenant_id": "{{.JsonData.logAnalyticsTenantId}}", |
|
|
|
|
"client_id": "{{.JsonData.logAnalyticsClientId}}", |
|
|
|
|
"client_secret": "{{.SecureJsonData.logAnalyticsClientSecret}}" |
|
|
|
|
"tenant_id": "{{.JsonData.logAnalyticsTenantId | orEmpty}}", |
|
|
|
|
"client_id": "{{.JsonData.logAnalyticsClientId | orEmpty}}", |
|
|
|
|
"client_secret": "{{.SecureJsonData.logAnalyticsClientSecret | orEmpty}}" |
|
|
|
|
} |
|
|
|
|
}, |
|
|
|
|
"headers": [ |
|
|
|
|
@ -214,11 +214,11 @@ |
|
|
|
|
"tokenAuth": { |
|
|
|
|
"scopes": ["https://api.loganalytics.us/.default"], |
|
|
|
|
"params": { |
|
|
|
|
"azure_auth_type": "{{.JsonData.azureAuthType}}", |
|
|
|
|
"azure_auth_type": "{{.JsonData.azureAuthType | orEmpty}}", |
|
|
|
|
"azure_cloud": "AzureUSGovernment", |
|
|
|
|
"tenant_id": "{{.JsonData.logAnalyticsTenantId}}", |
|
|
|
|
"client_id": "{{.JsonData.logAnalyticsClientId}}", |
|
|
|
|
"client_secret": "{{.SecureJsonData.logAnalyticsClientSecret}}" |
|
|
|
|
"tenant_id": "{{.JsonData.logAnalyticsTenantId | orEmpty}}", |
|
|
|
|
"client_id": "{{.JsonData.logAnalyticsClientId | orEmpty}}", |
|
|
|
|
"client_secret": "{{.SecureJsonData.logAnalyticsClientSecret | orEmpty}}" |
|
|
|
|
} |
|
|
|
|
}, |
|
|
|
|
"headers": [ |
|
|
|
|
|