Skip to content
Closed
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
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
"dimensions": []
}
],
"odata.type": "Microsoft.WindowsAzure.Management.Monitoring.Alerts.Models.Microsoft.AppInsights.Nexus.DataContracts.Resources.ScheduledQueryRules.LogToMetricAction"
"odata.type": "LogToMetricAction"
}
}
}
Expand All @@ -40,7 +40,6 @@
},
"properties": {
"description": "log to metric description",
"displayName": "logtometricfoo",
"enabled": "true",
"lastUpdatedTime": "2018-09-04T06:31:56.3737792Z",
"provisioningState": "Succeeded",
Expand All @@ -50,13 +49,11 @@
},
"schedule": null,
"action": {
"criteria": [
{
"criteria": {
"metricName": "Average_% Idle Time",
"dimensions": []
}
],
"odata.type": "Microsoft.WindowsAzure.Management.Monitoring.Alerts.Models.Microsoft.AppInsights.Nexus.DataContracts.Resources.ScheduledQueryRules.LogToMetricAction"
},
"odata.type": "LogToMetricAction"
}
}
}
Expand All @@ -82,13 +79,11 @@
},
"schedule": null,
"action": {
"criteria": [
{
"criteria": {
"metricName": "Average_% Idle Time",
"dimensions": []
}
],
"odata.type": "Microsoft.WindowsAzure.Management.Monitoring.Alerts.Models.Microsoft.AppInsights.Nexus.DataContracts.Resources.ScheduledQueryRules.LogToMetricAction"
},
"odata.type": "LogToMetricAction"
}
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
"timeWindowInMinutes": 15
},
"action": {
"odata.type": "Microsoft.WindowsAzure.Management.Monitoring.Alerts.Models.Microsoft.AppInsights.Nexus.DataContracts.Resources.ScheduledQueryRules.AlertingAction",
"odata.type": "AlertingAction",
"severity": "1",
"aznsAction": {
"actionGroup": [],
Expand Down Expand Up @@ -71,7 +71,7 @@
"timeWindowInMinutes": 15
},
"action": {
"odata.type": "Microsoft.WindowsAzure.Management.Monitoring.Alerts.Models.Microsoft.AppInsights.Nexus.DataContracts.Resources.ScheduledQueryRules.AlertingAction",
"odata.type": "AlertingAction",
"severity": "1",
"aznsAction": {
"actionGroup": [],
Expand Down Expand Up @@ -117,7 +117,7 @@
"timeWindowInMinutes": 15
},
"action": {
"odata.type": "Microsoft.WindowsAzure.Management.Monitoring.Alerts.Models.Microsoft.AppInsights.Nexus.DataContracts.Resources.ScheduledQueryRules.AlertingAction",
"odata.type": "AlertingAction",
"severity": "1",
"trigger": {
"thresholdOperator": "GreaterThan",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
"timeWindowInMinutes": 15
},
"action": {
"odata.type": "Microsoft.WindowsAzure.Management.Monitoring.Alerts.Models.Microsoft.AppInsights.Nexus.DataContracts.Resources.ScheduledQueryRules.AlertingAction",
"odata.type": "AlertingAction",
"severity": "1",
"trigger": {
"thresholdOperator": "GreaterThan",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
"timeWindowInMinutes": 15
},
"action": {
"odata.type": "Microsoft.WindowsAzure.Management.Monitoring.Alerts.Models.Microsoft.AppInsights.Nexus.DataContracts.Resources.ScheduledQueryRules.AlertingAction",
"odata.type": "AlertingAction",
"severity": "1",
"trigger": {
"thresholdOperator": "GreaterThan",
Expand Down Expand Up @@ -75,7 +75,7 @@
"timeWindowInMinutes": 30
},
"action": {
"odata.type": "Microsoft.WindowsAzure.Management.Monitoring.Alerts.Models.Microsoft.AppInsights.Nexus.DataContracts.Resources.ScheduledQueryRules.AlertingAction",
"odata.type": "AlertingAction",
"severity": "1",
"trigger": {
"thresholdOperator": "GreaterThan",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
"timeWindowInMinutes": 15
},
"action": {
"odata.type": "Microsoft.WindowsAzure.Management.Monitoring.Alerts.Models.Microsoft.AppInsights.Nexus.DataContracts.Resources.ScheduledQueryRules.AlertingAction",
"odata.type": "AlertingAction",
"severity": "1",
"aznsAction": {
"actionGroup": [],
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -632,7 +632,7 @@
},
"AlertingAction": {
"description": "Specifiy action need to be taken when rule type is Alert",
"x-ms-discriminator-value": "Microsoft.WindowsAzure.Management.Monitoring.Alerts.Models.Microsoft.AppInsights.Nexus.DataContracts.Resources.ScheduledQueryRules.AlertingAction",
"x-ms-discriminator-value": "AlertingAction",
"type": "object",
"allOf": [
{
Expand Down Expand Up @@ -719,7 +719,7 @@
},
"LogToMetricAction": {
"description": "Specifiy action need to be taken when rule type is converting log to metric",
"x-ms-discriminator-value": "Microsoft.WindowsAzure.Management.Monitoring.Alerts.Models.Microsoft.AppInsights.Nexus.DataContracts.Resources.ScheduledQueryRules.LogToMetricAction",
"x-ms-discriminator-value": "LogToMetricAction",
"type": "object",
"allOf": [
{
Expand Down