Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dev monitor microsoft.insights 2016 03 01 #12413

Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
}
},
"paths": {
"/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/microsoft.insights/alertrules/{ruleName}": {
"/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.Insights/alertrules/{ruleName}": {
"put": {
"description": "Creates or updates a classic metric alert rule.",
"tags": [
Expand Down Expand Up @@ -118,6 +118,12 @@
},
"200": {
"description": "Successful request to delete an alert rule"
},
"default": {
"description": "Error response describing why the operation failed.",
"schema": {
"$ref": "#/definitions/ErrorResponse"
}
}
},
"x-ms-examples": {
Expand Down Expand Up @@ -152,6 +158,12 @@
"schema": {
"$ref": "#/definitions/AlertRuleResource"
}
},
"default": {
"description": "Error response describing why the operation failed.",
"schema": {
"$ref": "#/definitions/ErrorResponse"
}
}
},
"x-ms-examples": {
Expand Down Expand Up @@ -187,12 +199,6 @@
}
],
"responses": {
"default": {
"description": "Error response describing why the operation failed.",
"schema": {
"$ref": "#/definitions/ErrorResponse"
}
},
"200": {
"description": "Successful request to update an alert rule",
"schema": {
Expand All @@ -204,6 +210,12 @@
"schema": {
"$ref": "#/definitions/AlertRuleResource"
}
},
"default": {
"description": "Error response describing why the operation failed.",
"schema": {
"$ref": "#/definitions/ErrorResponse"
}
}
},
"x-ms-examples": {
Expand All @@ -213,7 +225,7 @@
}
}
},
"/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/microsoft.insights/alertrules": {
"/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.Insights/alertrules": {
"get": {
"tags": [
"AlertRules"
Expand All @@ -237,6 +249,12 @@
"schema": {
"$ref": "#/definitions/AlertRuleResourceCollection"
}
},
"default": {
"description": "Error response describing why the operation failed.",
"schema": {
"$ref": "#/definitions/ErrorResponse"
}
}
},
"x-ms-pageable": {
Expand All @@ -249,7 +267,7 @@
}
}
},
"/subscriptions/{subscriptionId}/providers/microsoft.insights/alertrules": {
"/subscriptions/{subscriptionId}/providers/Microsoft.Insights/alertrules": {
"get": {
"tags": [
"AlertRules"
Expand All @@ -270,6 +288,12 @@
"schema": {
"$ref": "#/definitions/AlertRuleResourceCollection"
}
},
"default": {
"description": "Error response describing why the operation failed.",
"schema": {
"$ref": "#/definitions/ErrorResponse"
}
}
},
"x-ms-pageable": {
Expand Down
3 changes: 3 additions & 0 deletions specification/monitor/resource-manager/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -599,6 +599,9 @@ directive:
- suppress: R4007
from: metricBaselines_API.json
reason: 'Updating the error response to the new format would be a breaking change.'
- suppress: R4007
from: alertRules_API.json
reason: 'Updating the error response to the new format would be a breaking change'
```

### Tag: profile-hybrid-2019-03-01
Expand Down