Adding upstream version 1.34.4.
Signed-off-by: Daniel Baumann <daniel@debian.org>
This commit is contained in:
parent
e393c3af3f
commit
4978089aab
4963 changed files with 677545 additions and 0 deletions
34
plugins/inputs/azure_monitor/testdata/toml/gather_success.toml
vendored
Normal file
34
plugins/inputs/azure_monitor/testdata/toml/gather_success.toml
vendored
Normal file
|
@ -0,0 +1,34 @@
|
|||
subscription_id = "subscriptionID"
|
||||
client_id = "clientID"
|
||||
client_secret = "clientSecret"
|
||||
tenant_id = "tenantID"
|
||||
|
||||
[[resource_target]]
|
||||
resource_id = "resourceGroups/resourceGroup1/providers/Microsoft.Test/type1/resource1"
|
||||
metrics = ["metric1", "metric2"]
|
||||
aggregations = ["Total", "Maximum"]
|
||||
|
||||
[[resource_target]]
|
||||
resource_id = "resourceGroups/resourceGroup1/providers/Microsoft.Test/type2/resource2"
|
||||
metrics = ["metric1"]
|
||||
aggregations = ["Total", "Minimum"]
|
||||
|
||||
[[resource_target]]
|
||||
resource_id = "resourceGroups/resourceGroup2/providers/Microsoft.Test/type1/resource3"
|
||||
metrics = ["metric1"]
|
||||
aggregations = ["Total", "Minimum"]
|
||||
|
||||
[[resource_target]]
|
||||
resource_id = "resourceGroups/resourceGroup2/providers/Microsoft.Test/type2/resource4"
|
||||
metrics = ["metric1"]
|
||||
aggregations = ["Total", "Maximum"]
|
||||
|
||||
[[resource_target]]
|
||||
resource_id = "resourceGroups/resourceGroup2/providers/Microsoft.Test/type2/resource5"
|
||||
metrics = ["metric2"]
|
||||
aggregations = ["Total"]
|
||||
|
||||
[[resource_target]]
|
||||
resource_id = "resourceGroups/resourceGroup2/providers/Microsoft.Test/type2/resource6"
|
||||
metrics = ["metric2"]
|
||||
aggregations = ["Average"]
|
10
plugins/inputs/azure_monitor/testdata/toml/gather_success_cloud_option_china.toml
vendored
Normal file
10
plugins/inputs/azure_monitor/testdata/toml/gather_success_cloud_option_china.toml
vendored
Normal file
|
@ -0,0 +1,10 @@
|
|||
subscription_id = "subscriptionID"
|
||||
client_id = "clientID"
|
||||
client_secret = "clientSecret"
|
||||
tenant_id = "tenantID"
|
||||
cloud_option = "AzureChina"
|
||||
|
||||
[[resource_target]]
|
||||
resource_id = "resourceGroups/resourceGroup1/providers/Microsoft.Test/type1/resource1"
|
||||
metrics = ["metric1", "metric2"]
|
||||
aggregations = ["Total", "Maximum"]
|
10
plugins/inputs/azure_monitor/testdata/toml/gather_success_cloud_option_government.toml
vendored
Normal file
10
plugins/inputs/azure_monitor/testdata/toml/gather_success_cloud_option_government.toml
vendored
Normal file
|
@ -0,0 +1,10 @@
|
|||
subscription_id = "subscriptionID"
|
||||
client_id = "clientID"
|
||||
client_secret = "clientSecret"
|
||||
tenant_id = "tenantID"
|
||||
cloud_option = "AzureGovernment"
|
||||
|
||||
[[resource_target]]
|
||||
resource_id = "resourceGroups/resourceGroup1/providers/Microsoft.Test/type1/resource1"
|
||||
metrics = ["metric1", "metric2"]
|
||||
aggregations = ["Total", "Maximum"]
|
10
plugins/inputs/azure_monitor/testdata/toml/gather_success_cloud_option_public.toml
vendored
Normal file
10
plugins/inputs/azure_monitor/testdata/toml/gather_success_cloud_option_public.toml
vendored
Normal file
|
@ -0,0 +1,10 @@
|
|||
subscription_id = "subscriptionID"
|
||||
client_id = "clientID"
|
||||
client_secret = "clientSecret"
|
||||
tenant_id = "tenantID"
|
||||
cloud_option = "AzurePublic"
|
||||
|
||||
[[resource_target]]
|
||||
resource_id = "resourceGroups/resourceGroup1/providers/Microsoft.Test/type1/resource1"
|
||||
metrics = ["metric1", "metric2"]
|
||||
aggregations = ["Total", "Maximum"]
|
90
plugins/inputs/azure_monitor/testdata/toml/init_all_target_types.toml
vendored
Normal file
90
plugins/inputs/azure_monitor/testdata/toml/init_all_target_types.toml
vendored
Normal file
|
@ -0,0 +1,90 @@
|
|||
subscription_id = "subscriptionID"
|
||||
client_id = "clientID"
|
||||
client_secret = "clientSecret"
|
||||
tenant_id = "tenantID"
|
||||
|
||||
[[resource_target]]
|
||||
resource_id = "resourceGroups/resourceGroup1/providers/Microsoft.Test/type1/resource1"
|
||||
metrics = ["metric1", "metric2", "metric3"]
|
||||
aggregations = ["Total", "Average"]
|
||||
|
||||
[[resource_target]]
|
||||
resource_id = "resourceGroups/resourceGroup1/providers/Microsoft.Test/type2/resource2"
|
||||
metrics = ["metric1", "metric2"]
|
||||
aggregations = []
|
||||
|
||||
[[resource_target]]
|
||||
resource_id = "resourceGroups/resourceGroup2/providers/Microsoft.Test/type1/resource3"
|
||||
metrics = []
|
||||
aggregations = ["Total"]
|
||||
|
||||
[[resource_target]]
|
||||
resource_id = "resourceGroups/resourceGroup1/providers/Microsoft.Test/type2/resource2"
|
||||
metrics = []
|
||||
aggregations = []
|
||||
|
||||
[[resource_target]]
|
||||
resource_id = "resourceGroups/resourceGroup1/providers/Microsoft.Test/type1/resource1"
|
||||
metrics = []
|
||||
aggregations = []
|
||||
|
||||
[[resource_group_target]]
|
||||
resource_group = "resourceGroup1"
|
||||
|
||||
[[resource_group_target.resource]]
|
||||
resource_type = "Microsoft.Test/type1"
|
||||
metrics = ["metric1", "metric2", "metric3"]
|
||||
aggregations = ["Total", "Average"]
|
||||
|
||||
[[resource_group_target.resource]]
|
||||
resource_type = "Microsoft.Test/type1"
|
||||
metrics = []
|
||||
aggregations = []
|
||||
|
||||
[[resource_group_target.resource]]
|
||||
resource_type = "Microsoft.Test/type2"
|
||||
metrics = []
|
||||
aggregations = ["Average"]
|
||||
|
||||
[[resource_group_target.resource]]
|
||||
resource_type = "Microsoft.Test/type2"
|
||||
metrics = ["metric2"]
|
||||
aggregations = []
|
||||
|
||||
[[resource_group_target.resource]]
|
||||
resource_type = "Microsoft.Test/type2"
|
||||
metrics = ["metric2"]
|
||||
aggregations = []
|
||||
|
||||
[[resource_group_target]]
|
||||
resource_group = "resourceGroup2"
|
||||
|
||||
[[resource_group_target.resource]]
|
||||
resource_type = "Microsoft.Test/type1"
|
||||
metrics = ["metric3"]
|
||||
aggregations = ["Total", "Average"]
|
||||
|
||||
[[subscription_target]]
|
||||
resource_type = "Microsoft.Test/type1"
|
||||
metrics = ["metric1", "metric2", "metric3"]
|
||||
aggregations = ["Total", "Average"]
|
||||
|
||||
[[subscription_target]]
|
||||
resource_type = "Microsoft.Test/type2"
|
||||
metrics = []
|
||||
aggregations = ["Average"]
|
||||
|
||||
[[subscription_target]]
|
||||
resource_type = "Microsoft.Test/type2"
|
||||
metrics = ["metric2"]
|
||||
aggregations = []
|
||||
|
||||
[[subscription_target]]
|
||||
resource_type = "Microsoft.Test/type2"
|
||||
metrics = []
|
||||
aggregations = []
|
||||
|
||||
[[subscription_target]]
|
||||
resource_type = "Microsoft.Test/type1"
|
||||
metrics = []
|
||||
aggregations = []
|
9
plugins/inputs/azure_monitor/testdata/toml/init_bad_credentials.toml
vendored
Normal file
9
plugins/inputs/azure_monitor/testdata/toml/init_bad_credentials.toml
vendored
Normal file
|
@ -0,0 +1,9 @@
|
|||
subscription_id = "subscriptionID"
|
||||
client_id = "clientID"
|
||||
client_secret = "clientSecret"
|
||||
tenant_id = "tenantID"
|
||||
|
||||
[[resource_target]]
|
||||
resource_id = "resourceGroups/resourceGroup1/providers/Microsoft.Test/type1/resource1"
|
||||
metrics = []
|
||||
aggregations = []
|
8
plugins/inputs/azure_monitor/testdata/toml/init_no_client_id.toml
vendored
Normal file
8
plugins/inputs/azure_monitor/testdata/toml/init_no_client_id.toml
vendored
Normal file
|
@ -0,0 +1,8 @@
|
|||
subscription_id = "subscriptionID"
|
||||
client_secret = "clientSecret"
|
||||
tenant_id = "tenantID"
|
||||
|
||||
[[resource_target]]
|
||||
resource_id = "resourceGroups/resourceGroup1/providers/Microsoft.Test/type1/resource1"
|
||||
metrics = []
|
||||
aggregations = []
|
8
plugins/inputs/azure_monitor/testdata/toml/init_no_client_secret.toml
vendored
Normal file
8
plugins/inputs/azure_monitor/testdata/toml/init_no_client_secret.toml
vendored
Normal file
|
@ -0,0 +1,8 @@
|
|||
subscription_id = "subscriptionID"
|
||||
client_id = "clientID"
|
||||
tenant_id = "tenantID"
|
||||
|
||||
[[resource_target]]
|
||||
resource_id = "resourceGroups/resourceGroup1/providers/Microsoft.Test/type1/resource1"
|
||||
metrics = []
|
||||
aggregations = []
|
8
plugins/inputs/azure_monitor/testdata/toml/init_no_subscription_id.toml
vendored
Normal file
8
plugins/inputs/azure_monitor/testdata/toml/init_no_subscription_id.toml
vendored
Normal file
|
@ -0,0 +1,8 @@
|
|||
client_id = "clientID"
|
||||
client_secret = "clientSecret"
|
||||
tenant_id = "tenantID"
|
||||
|
||||
[[resource_target]]
|
||||
resource_id = "resourceGroups/resourceGroup1/providers/Microsoft.Test/type1/resource1"
|
||||
metrics = []
|
||||
aggregations = []
|
4
plugins/inputs/azure_monitor/testdata/toml/init_no_targets.toml
vendored
Normal file
4
plugins/inputs/azure_monitor/testdata/toml/init_no_targets.toml
vendored
Normal file
|
@ -0,0 +1,4 @@
|
|||
subscription_id = "subscriptionID"
|
||||
client_id = "clientID"
|
||||
client_secret = "clientSecret"
|
||||
tenant_id = "tenantID"
|
8
plugins/inputs/azure_monitor/testdata/toml/init_no_tenant_id.toml
vendored
Normal file
8
plugins/inputs/azure_monitor/testdata/toml/init_no_tenant_id.toml
vendored
Normal file
|
@ -0,0 +1,8 @@
|
|||
subscription_id = "subscriptionID"
|
||||
client_id = "clientID"
|
||||
client_secret = "clientSecret"
|
||||
|
||||
[[resource_target]]
|
||||
resource_id = "resourceGroups/resourceGroup1/providers/Microsoft.Test/type1/resource1"
|
||||
metrics = []
|
||||
aggregations = []
|
12
plugins/inputs/azure_monitor/testdata/toml/init_resource_group_target_no_resource_found.toml
vendored
Normal file
12
plugins/inputs/azure_monitor/testdata/toml/init_resource_group_target_no_resource_found.toml
vendored
Normal file
|
@ -0,0 +1,12 @@
|
|||
subscription_id = "subscriptionID"
|
||||
client_id = "clientID"
|
||||
client_secret = "clientSecret"
|
||||
tenant_id = "tenantID"
|
||||
|
||||
[[resource_group_target]]
|
||||
resource_group = "resourceGroup2"
|
||||
|
||||
[[resource_group_target.resource]]
|
||||
resource_type = "Microsoft.Test/type2"
|
||||
metrics = ["metric1", "metric2"]
|
||||
aggregations = ["Total"]
|
|
@ -0,0 +1,12 @@
|
|||
subscription_id = "subscriptionID"
|
||||
client_id = "clientID"
|
||||
client_secret = "clientSecret"
|
||||
tenant_id = "tenantID"
|
||||
|
||||
[[resource_group_target]]
|
||||
resource_group = "resourceGroup1"
|
||||
|
||||
[[resource_group_target.resource]]
|
||||
resource_type = "Microsoft.Test/type1"
|
||||
metrics = []
|
||||
aggregations = ["Invalid"]
|
12
plugins/inputs/azure_monitor/testdata/toml/init_resource_group_target_with_invalid_metric.toml
vendored
Normal file
12
plugins/inputs/azure_monitor/testdata/toml/init_resource_group_target_with_invalid_metric.toml
vendored
Normal file
|
@ -0,0 +1,12 @@
|
|||
subscription_id = "subscriptionID"
|
||||
client_id = "clientID"
|
||||
client_secret = "clientSecret"
|
||||
tenant_id = "tenantID"
|
||||
|
||||
[[resource_group_target]]
|
||||
resource_group = "resourceGroup1"
|
||||
|
||||
[[resource_group_target.resource]]
|
||||
resource_type = "Microsoft.Test/type1"
|
||||
metrics = ["invalid"]
|
||||
aggregations = []
|
|
@ -0,0 +1,12 @@
|
|||
subscription_id = "subscriptionID"
|
||||
client_id = "clientID"
|
||||
client_secret = "clientSecret"
|
||||
tenant_id = "tenantID"
|
||||
|
||||
[[resource_group_target]]
|
||||
resource_group = "invalid"
|
||||
|
||||
[[resource_group_target.resource]]
|
||||
resource_type = "Microsoft.Test/type1"
|
||||
metrics = ["metric1", "metric2", "metric3"]
|
||||
aggregations = ["Total", "Average"]
|
|
@ -0,0 +1,12 @@
|
|||
subscription_id = "subscriptionID"
|
||||
client_id = "clientID"
|
||||
client_secret = "clientSecret"
|
||||
tenant_id = "tenantID"
|
||||
|
||||
[[resource_group_target]]
|
||||
resource_group = "resourceGroup1"
|
||||
|
||||
[[resource_group_target.resource]]
|
||||
resource_type = "Microsoft.Test/invalid"
|
||||
metrics = ["metric1", "metric2", "metric3"]
|
||||
aggregations = ["Total", "Average"]
|
|
@ -0,0 +1,11 @@
|
|||
subscription_id = "subscriptionID"
|
||||
client_id = "clientID"
|
||||
client_secret = "clientSecret"
|
||||
tenant_id = "tenantID"
|
||||
|
||||
[[resource_group_target]]
|
||||
resource_group = "resourceGroup1"
|
||||
|
||||
[[resource_group_target.resource]]
|
||||
metrics = []
|
||||
aggregations = []
|
|
@ -0,0 +1,11 @@
|
|||
subscription_id = "subscriptionID"
|
||||
client_id = "clientID"
|
||||
client_secret = "clientSecret"
|
||||
tenant_id = "tenantID"
|
||||
|
||||
[[resource_group_target]]
|
||||
|
||||
[[resource_group_target.resource]]
|
||||
resource_type = "Microsoft.Test/type1"
|
||||
metrics = []
|
||||
aggregations = []
|
7
plugins/inputs/azure_monitor/testdata/toml/init_resource_group_target_without_resources.toml
vendored
Normal file
7
plugins/inputs/azure_monitor/testdata/toml/init_resource_group_target_without_resources.toml
vendored
Normal file
|
@ -0,0 +1,7 @@
|
|||
subscription_id = "subscriptionID"
|
||||
client_id = "clientID"
|
||||
client_secret = "clientSecret"
|
||||
tenant_id = "tenantID"
|
||||
|
||||
[[resource_group_target]]
|
||||
resource_group = "resourceGroup1"
|
40
plugins/inputs/azure_monitor/testdata/toml/init_resource_group_targets_only.toml
vendored
Normal file
40
plugins/inputs/azure_monitor/testdata/toml/init_resource_group_targets_only.toml
vendored
Normal file
|
@ -0,0 +1,40 @@
|
|||
subscription_id = "subscriptionID"
|
||||
client_id = "clientID"
|
||||
client_secret = "clientSecret"
|
||||
tenant_id = "tenantID"
|
||||
|
||||
[[resource_group_target]]
|
||||
resource_group = "resourceGroup1"
|
||||
|
||||
[[resource_group_target.resource]]
|
||||
resource_type = "Microsoft.Test/type1"
|
||||
metrics = ["metric1", "metric2", "metric3"]
|
||||
aggregations = ["Total", "Average"]
|
||||
|
||||
[[resource_group_target.resource]]
|
||||
resource_type = "Microsoft.Test/type1"
|
||||
metrics = []
|
||||
aggregations = []
|
||||
|
||||
[[resource_group_target.resource]]
|
||||
resource_type = "Microsoft.Test/type2"
|
||||
metrics = []
|
||||
aggregations = ["Average"]
|
||||
|
||||
[[resource_group_target.resource]]
|
||||
resource_type = "Microsoft.Test/type2"
|
||||
metrics = ["metric2"]
|
||||
aggregations = []
|
||||
|
||||
[[resource_group_target.resource]]
|
||||
resource_type = "Microsoft.Test/type2"
|
||||
metrics = ["metric2"]
|
||||
aggregations = []
|
||||
|
||||
[[resource_group_target]]
|
||||
resource_group = "resourceGroup2"
|
||||
|
||||
[[resource_group_target.resource]]
|
||||
resource_type = "Microsoft.Test/type1"
|
||||
metrics = ["metric3"]
|
||||
aggregations = ["Total", "Average"]
|
|
@ -0,0 +1,9 @@
|
|||
subscription_id = "subscriptionID"
|
||||
client_id = "clientID"
|
||||
client_secret = "clientSecret"
|
||||
tenant_id = "tenantID"
|
||||
|
||||
[[resource_target]]
|
||||
resource_id = "resourceGroups/resourceGroup1/providers/Microsoft.Test/type1/resource1"
|
||||
metrics = ["metric1", "metric2", "metric3"]
|
||||
aggregations = ["Invalid"]
|
9
plugins/inputs/azure_monitor/testdata/toml/init_resource_target_with_invalid_metric.toml
vendored
Normal file
9
plugins/inputs/azure_monitor/testdata/toml/init_resource_target_with_invalid_metric.toml
vendored
Normal file
|
@ -0,0 +1,9 @@
|
|||
subscription_id = "subscriptionID"
|
||||
client_id = "clientID"
|
||||
client_secret = "clientSecret"
|
||||
tenant_id = "tenantID"
|
||||
|
||||
[[resource_target]]
|
||||
resource_id = "resourceGroups/resourceGroup1/providers/Microsoft.Test/type1/resource1"
|
||||
metrics = ["invalid"]
|
||||
aggregations = []
|
|
@ -0,0 +1,9 @@
|
|||
subscription_id = "subscriptionID"
|
||||
client_id = "clientID"
|
||||
client_secret = "clientSecret"
|
||||
tenant_id = "tenantID"
|
||||
|
||||
[[resource_target]]
|
||||
resource_id = "invalid"
|
||||
metrics = []
|
||||
aggregations = []
|
8
plugins/inputs/azure_monitor/testdata/toml/init_resource_target_without_resource_id.toml
vendored
Normal file
8
plugins/inputs/azure_monitor/testdata/toml/init_resource_target_without_resource_id.toml
vendored
Normal file
|
@ -0,0 +1,8 @@
|
|||
subscription_id = "subscriptionID"
|
||||
client_id = "clientID"
|
||||
client_secret = "clientSecret"
|
||||
tenant_id = "tenantID"
|
||||
|
||||
[[resource_target]]
|
||||
metrics = ["metric1", "metric2", "metric3"]
|
||||
aggregations = ["Total", "Average"]
|
29
plugins/inputs/azure_monitor/testdata/toml/init_resource_targets_only.toml
vendored
Normal file
29
plugins/inputs/azure_monitor/testdata/toml/init_resource_targets_only.toml
vendored
Normal file
|
@ -0,0 +1,29 @@
|
|||
subscription_id = "subscriptionID"
|
||||
client_id = "clientID"
|
||||
client_secret = "clientSecret"
|
||||
tenant_id = "tenantID"
|
||||
|
||||
[[resource_target]]
|
||||
resource_id = "resourceGroups/resourceGroup1/providers/Microsoft.Test/type1/resource1"
|
||||
metrics = ["metric1", "metric2", "metric3"]
|
||||
aggregations = ["Total", "Average"]
|
||||
|
||||
[[resource_target]]
|
||||
resource_id = "resourceGroups/resourceGroup1/providers/Microsoft.Test/type2/resource2"
|
||||
metrics = ["metric1", "metric2"]
|
||||
aggregations = []
|
||||
|
||||
[[resource_target]]
|
||||
resource_id = "resourceGroups/resourceGroup2/providers/Microsoft.Test/type1/resource3"
|
||||
metrics = []
|
||||
aggregations = ["Total"]
|
||||
|
||||
[[resource_target]]
|
||||
resource_id = "resourceGroups/resourceGroup1/providers/Microsoft.Test/type2/resource2"
|
||||
metrics = []
|
||||
aggregations = []
|
||||
|
||||
[[resource_target]]
|
||||
resource_id = "resourceGroups/resourceGroup1/providers/Microsoft.Test/type1/resource1"
|
||||
metrics = []
|
||||
aggregations = []
|
9
plugins/inputs/azure_monitor/testdata/toml/init_subscription_target_no_resource_found.toml
vendored
Normal file
9
plugins/inputs/azure_monitor/testdata/toml/init_subscription_target_no_resource_found.toml
vendored
Normal file
|
@ -0,0 +1,9 @@
|
|||
subscription_id = "subscriptionID"
|
||||
client_id = "clientID"
|
||||
client_secret = "clientSecret"
|
||||
tenant_id = "tenantID"
|
||||
|
||||
[[subscription_target]]
|
||||
resource_type = "Microsoft.Test/type3"
|
||||
metrics = ["metric1", "metric2"]
|
||||
aggregations = ["Total"]
|
|
@ -0,0 +1,9 @@
|
|||
subscription_id = "subscriptionID"
|
||||
client_id = "clientID"
|
||||
client_secret = "clientSecret"
|
||||
tenant_id = "tenantID"
|
||||
|
||||
[[subscription_target]]
|
||||
resource_type = "Microsoft.Test/type1"
|
||||
metrics = []
|
||||
aggregations = ["Invalid"]
|
9
plugins/inputs/azure_monitor/testdata/toml/init_subscription_target_with_invalid_metric.toml
vendored
Normal file
9
plugins/inputs/azure_monitor/testdata/toml/init_subscription_target_with_invalid_metric.toml
vendored
Normal file
|
@ -0,0 +1,9 @@
|
|||
subscription_id = "subscriptionID"
|
||||
client_id = "clientID"
|
||||
client_secret = "clientSecret"
|
||||
tenant_id = "tenantID"
|
||||
|
||||
[[subscription_target]]
|
||||
resource_type = "Microsoft.Test/type1"
|
||||
metrics = ["invalid"]
|
||||
aggregations = []
|
|
@ -0,0 +1,9 @@
|
|||
subscription_id = "subscriptionID"
|
||||
client_id = "clientID"
|
||||
client_secret = "clientSecret"
|
||||
tenant_id = "tenantID"
|
||||
|
||||
[[subscription_target]]
|
||||
resource_type = "Microsoft.Test/invalid"
|
||||
metrics = ["metric1", "metric2", "metric3"]
|
||||
aggregations = ["Total", "Average"]
|
|
@ -0,0 +1,8 @@
|
|||
subscription_id = "subscriptionID"
|
||||
client_id = "clientID"
|
||||
client_secret = "clientSecret"
|
||||
tenant_id = "tenantID"
|
||||
|
||||
[[subscription_target]]
|
||||
metrics = ["metric1", "metric2", "metric3"]
|
||||
aggregations = ["Total", "Average"]
|
29
plugins/inputs/azure_monitor/testdata/toml/init_subscription_targets_only.toml
vendored
Normal file
29
plugins/inputs/azure_monitor/testdata/toml/init_subscription_targets_only.toml
vendored
Normal file
|
@ -0,0 +1,29 @@
|
|||
subscription_id = "subscriptionID"
|
||||
client_id = "clientID"
|
||||
client_secret = "clientSecret"
|
||||
tenant_id = "tenantID"
|
||||
|
||||
[[subscription_target]]
|
||||
resource_type = "Microsoft.Test/type1"
|
||||
metrics = ["metric1", "metric2", "metric3"]
|
||||
aggregations = ["Total", "Average"]
|
||||
|
||||
[[subscription_target]]
|
||||
resource_type = "Microsoft.Test/type2"
|
||||
metrics = []
|
||||
aggregations = ["Average"]
|
||||
|
||||
[[subscription_target]]
|
||||
resource_type = "Microsoft.Test/type2"
|
||||
metrics = ["metric2"]
|
||||
aggregations = []
|
||||
|
||||
[[subscription_target]]
|
||||
resource_type = "Microsoft.Test/type2"
|
||||
metrics = []
|
||||
aggregations = []
|
||||
|
||||
[[subscription_target]]
|
||||
resource_type = "Microsoft.Test/type1"
|
||||
metrics = []
|
||||
aggregations = []
|
Loading…
Add table
Add a link
Reference in a new issue