Skip to content

Commit 09d0f1f

Browse files
authored
[Hub Generated] Review request for Microsoft.Insights to add version stable/2018-03-01 (Azure#8412)
* Update metric alert rules documentation * Fix READONLY_PROPERTY_NOT_ALLOWED_IN_REQUEST error * Fix Prettier issues * Fix Prettier issues
1 parent 92df137 commit 09d0f1f

File tree

4 files changed

+7
-9
lines changed

4 files changed

+7
-9
lines changed

specification/monitor/resource-manager/Microsoft.Insights/stable/2016-03-01/alertRules_API.json

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@
3838
"paths": {
3939
"/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/microsoft.insights/alertrules/{ruleName}": {
4040
"put": {
41-
"description": "Creates or updates an alert rule.",
41+
"description": "Creates or updates a classic metric alert rule.",
4242
"tags": [
4343
"AlertRules"
4444
],
@@ -93,7 +93,7 @@
9393
}
9494
},
9595
"delete": {
96-
"description": "Deletes an alert rule",
96+
"description": "Deletes a classic metric alert rule",
9797
"tags": [
9898
"AlertRules"
9999
],
@@ -127,7 +127,7 @@
127127
}
128128
},
129129
"get": {
130-
"description": "Gets an alert rule",
130+
"description": "Gets a classic metric alert rule",
131131
"tags": [
132132
"AlertRules"
133133
],
@@ -161,7 +161,7 @@
161161
}
162162
},
163163
"patch": {
164-
"description": "Updates an existing AlertRuleResource. To update other fields use the CreateOrUpdate method.",
164+
"description": "Updates an existing classic metric AlertRuleResource. To update other fields use the CreateOrUpdate method.",
165165
"operationId": "AlertRules_Update",
166166
"parameters": [
167167
{
@@ -219,7 +219,7 @@
219219
"AlertRules"
220220
],
221221
"operationId": "AlertRules_ListByResourceGroup",
222-
"description": "List the alert rules within a resource group.",
222+
"description": "List the classic metric alert rules within a resource group.",
223223
"parameters": [
224224
{
225225
"$ref": "#/parameters/ResourceGroupNameParameter"
@@ -255,7 +255,7 @@
255255
"AlertRules"
256256
],
257257
"operationId": "AlertRules_ListBySubscription",
258-
"description": "List the alert rules within a subscription.",
258+
"description": "List the classic metric alert rules within a subscription.",
259259
"parameters": [
260260
{
261261
"$ref": "#/parameters/ApiVersionParameter"

specification/monitor/resource-manager/Microsoft.Insights/stable/2016-03-01/examples/createOrUpdateAlertRule.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,6 @@
2323
"windowSize": "PT5M",
2424
"timeAggregation": "Total"
2525
},
26-
"lastUpdatedTime": "2016-11-23T21:23:52.0221265Z",
2726
"actions": []
2827
}
2928
}

specification/monitor/resource-manager/Microsoft.Insights/stable/2016-03-01/examples/patchAlertRule.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,6 @@
2424
"windowSize": "PT5M",
2525
"timeAggregation": "Total"
2626
},
27-
"lastUpdatedTime": "2016-11-23T21:23:52.0221265Z",
2827
"actions": []
2928
}
3029
}

specification/monitor/resource-manager/Microsoft.Insights/stable/2018-03-01/metricAlert_API.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -525,7 +525,7 @@
525525
},
526526
"autoMitigate": {
527527
"type": "boolean",
528-
"description": "the flag that indicates whether the alert should be auto resolved or not."
528+
"description": "the flag that indicates whether the alert should be auto resolved or not. The default is true."
529529
},
530530
"actions": {
531531
"type": "array",

0 commit comments

Comments
 (0)