Skip to content

Commit feb6006

Browse files
authored
[Hub Generated] Review request for Microsoft.Insights to add version stable/2018-03-01 (#12371)
* Added isMigrated as readonly property * Suppress model validation error
1 parent 1be3813 commit feb6006

File tree

2 files changed

+16
-1
lines changed

2 files changed

+16
-1
lines changed

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

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -484,7 +484,8 @@
484484
"severity",
485485
"evaluationFrequency",
486486
"windowSize",
487-
"criteria"
487+
"criteria",
488+
"scopes"
488489
],
489490
"properties": {
490491
"description": {
@@ -545,6 +546,11 @@
545546
"type": "string",
546547
"format": "date-time",
547548
"description": "Last time the rule was updated in ISO8601 format."
549+
},
550+
"isMigrated": {
551+
"type": "string",
552+
"description": "the value indicating whether this alert rule is migrated.",
553+
"readOnly": true
548554
}
549555
},
550556
"description": "An alert rule."
@@ -609,6 +615,11 @@
609615
"type": "string",
610616
"format": "date-time",
611617
"description": "Last time the rule was updated in ISO8601 format."
618+
},
619+
"isMigrated": {
620+
"type": "string",
621+
"description": "the value indicating whether this alert rule is migrated.",
622+
"readOnly": true
612623
}
613624
},
614625
"description": "An alert rule properties for patch."

specification/monitor/resource-manager/readme.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -599,6 +599,10 @@ directive:
599599
- suppress: R4007
600600
from: metricBaselines_API.json
601601
reason: 'Updating the error response to the new format would be a breaking change.'
602+
- suppress: OBJECT_ADDITIONAL_PROPERTIES
603+
from: metricAlert_API.json
604+
where: $.definitions.MetricAlertResource
605+
reason: 'Action is expected to receive a subclass of Resource'
602606
```
603607

604608
### Tag: profile-hybrid-2019-03-01

0 commit comments

Comments
 (0)