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

[Hub Generated] Review request for Microsoft.Insights to add version stable/2018-03-01 #9790

Merged
Show file tree
Hide file tree
Changes from 1 commit
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
1 change: 1 addition & 0 deletions azure-rest-api-specs
Submodule azure-rest-api-specs added at 8132d9
Original file line number Diff line number Diff line change
Expand Up @@ -541,7 +541,72 @@
"description": "Last time the rule was updated in ISO8601 format."
}
},
"description": "An alert rule."
"description": "An alert rule properties."
},
"MetricAlertPropertiesPatch": {
"properties": {
"description": {
"type": "string",
"description": "the description of the metric alert that will be included in the alert email."
},
"severity": {
"type": "integer",
"description": "Alert severity {0, 1, 2, 3, 4}"
},
"enabled": {
"type": "boolean",
"description": "the flag that indicates whether the metric alert is enabled."
},
"scopes": {
"type": "array",
"items": {
"type": "string"
},
"description": "the list of resource id's that this metric alert is scoped to."
},
"evaluationFrequency": {
"type": "string",
"format": "duration",
"description": "how often the metric alert is evaluated represented in ISO 8601 duration format."
},
"windowSize": {
"type": "string",
"format": "duration",
"description": "the period of time (in ISO 8601 duration format) that is used to monitor alert activity based on the threshold."
},
"targetResourceType": {
"readOnly": true,
"type": "string",
"description": "the resource type of the target resource(s) on which the alert is created/updated. Mandatory for MultipleResourceMultipleMetricCriteria."
},
"targetResourceRegion": {
"readOnly": true,
"type": "string",
"description": "the region of the target resource(s) on which the alert is created/updated. Mandatory for MultipleResourceMultipleMetricCriteria."
},
"criteria": {
"$ref": "#/definitions/MetricAlertCriteria",
"description": "defines the specific alert criteria information."
},
"autoMitigate": {
"type": "boolean",
"description": "the flag that indicates whether the alert should be auto resolved or not. The default is true."
},
"actions": {
"type": "array",
"items": {
"$ref": "#/definitions/MetricAlertAction"
},
"description": "the array of actions that are performed when the alert rule becomes active, and when an alert condition is resolved."
},
"lastUpdatedTime": {
"readOnly": true,
"type": "string",
"format": "date-time",
"description": "Last time the rule was updated in ISO8601 format."
}
},
"description": "An alert rule properties for patch."
},
"MetricAlertResource": {
"type": "object",
Expand Down Expand Up @@ -572,7 +637,7 @@
},
"properties": {
"x-ms-client-flatten": true,
"$ref": "#/definitions/MetricAlertProperties",
"$ref": "#/definitions/MetricAlertPropertiesPatch",
"description": "The alert rule properties of the resource."
}
},
Expand Down