Skip to content

Commit

Permalink
[Hub Generated] Review request for Microsoft.Insights to add version …
Browse files Browse the repository at this point in the history
…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
  • Loading branch information
sivanguetta authored Mar 25, 2020
1 parent 92df137 commit 09d0f1f
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
"paths": {
"/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/microsoft.insights/alertrules/{ruleName}": {
"put": {
"description": "Creates or updates an alert rule.",
"description": "Creates or updates a classic metric alert rule.",
"tags": [
"AlertRules"
],
Expand Down Expand Up @@ -93,7 +93,7 @@
}
},
"delete": {
"description": "Deletes an alert rule",
"description": "Deletes a classic metric alert rule",
"tags": [
"AlertRules"
],
Expand Down Expand Up @@ -127,7 +127,7 @@
}
},
"get": {
"description": "Gets an alert rule",
"description": "Gets a classic metric alert rule",
"tags": [
"AlertRules"
],
Expand Down Expand Up @@ -161,7 +161,7 @@
}
},
"patch": {
"description": "Updates an existing AlertRuleResource. To update other fields use the CreateOrUpdate method.",
"description": "Updates an existing classic metric AlertRuleResource. To update other fields use the CreateOrUpdate method.",
"operationId": "AlertRules_Update",
"parameters": [
{
Expand Down Expand Up @@ -219,7 +219,7 @@
"AlertRules"
],
"operationId": "AlertRules_ListByResourceGroup",
"description": "List the alert rules within a resource group.",
"description": "List the classic metric alert rules within a resource group.",
"parameters": [
{
"$ref": "#/parameters/ResourceGroupNameParameter"
Expand Down Expand Up @@ -255,7 +255,7 @@
"AlertRules"
],
"operationId": "AlertRules_ListBySubscription",
"description": "List the alert rules within a subscription.",
"description": "List the classic metric alert rules within a subscription.",
"parameters": [
{
"$ref": "#/parameters/ApiVersionParameter"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@
"windowSize": "PT5M",
"timeAggregation": "Total"
},
"lastUpdatedTime": "2016-11-23T21:23:52.0221265Z",
"actions": []
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@
"windowSize": "PT5M",
"timeAggregation": "Total"
},
"lastUpdatedTime": "2016-11-23T21:23:52.0221265Z",
"actions": []
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -525,7 +525,7 @@
},
"autoMitigate": {
"type": "boolean",
"description": "the flag that indicates whether the alert should be auto resolved or not."
"description": "the flag that indicates whether the alert should be auto resolved or not. The default is true."
},
"actions": {
"type": "array",
Expand Down

0 comments on commit 09d0f1f

Please sign in to comment.