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#12371)

* Added isMigrated as readonly property

* Suppress model validation error
  • Loading branch information
yashmuel authored and mkarmark committed Jul 20, 2021
1 parent 457d16b commit 9987216
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -484,7 +484,8 @@
"severity",
"evaluationFrequency",
"windowSize",
"criteria"
"criteria",
"scopes"
],
"properties": {
"description": {
Expand Down Expand Up @@ -545,6 +546,11 @@
"type": "string",
"format": "date-time",
"description": "Last time the rule was updated in ISO8601 format."
},
"isMigrated": {
"type": "string",
"description": "the value indicating whether this alert rule is migrated.",
"readOnly": true
}
},
"description": "An alert rule."
Expand Down Expand Up @@ -609,6 +615,11 @@
"type": "string",
"format": "date-time",
"description": "Last time the rule was updated in ISO8601 format."
},
"isMigrated": {
"type": "string",
"description": "the value indicating whether this alert rule is migrated.",
"readOnly": true
}
},
"description": "An alert rule properties for patch."
Expand Down
4 changes: 4 additions & 0 deletions specification/monitor/resource-manager/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -599,6 +599,10 @@ directive:
- suppress: R4007
from: metricBaselines_API.json
reason: 'Updating the error response to the new format would be a breaking change.'
- suppress: OBJECT_ADDITIONAL_PROPERTIES
from: metricAlert_API.json
where: $.definitions.MetricAlertResource
reason: 'Action is expected to receive a subclass of Resource'
```

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

0 comments on commit 9987216

Please sign in to comment.