Skip to content

Commit 220d020

Browse files
Merge pull request #1685 from AzureSDKAutomation/sdkAuto/monitor
[ReleasePR monitor] Monitor privatelinkscopes accessmodesettings - api version 2021-07 preview
2 parents 9f6771a + fd935d4 commit 220d020

File tree

3 files changed

+497
-2
lines changed

3 files changed

+497
-2
lines changed

schemas/2021-02-01-preview/Microsoft.Insights.json

Lines changed: 43 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -80,6 +80,41 @@
8080
}
8181
},
8282
"definitions": {
83+
"Actions": {
84+
"type": "object",
85+
"properties": {
86+
"actionGroups": {
87+
"oneOf": [
88+
{
89+
"type": "array",
90+
"items": {
91+
"type": "string"
92+
}
93+
},
94+
{
95+
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
96+
}
97+
],
98+
"description": "Action Group resource Ids to invoke when the alert fires."
99+
},
100+
"customProperties": {
101+
"oneOf": [
102+
{
103+
"type": "object",
104+
"additionalProperties": {
105+
"type": "string"
106+
},
107+
"properties": {}
108+
},
109+
{
110+
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
111+
}
112+
],
113+
"description": "The properties of an alert payload."
114+
}
115+
},
116+
"description": "Actions to invoke when the alert fires."
117+
},
83118
"Condition": {
84119
"type": "object",
85120
"properties": {
@@ -272,8 +307,14 @@
272307
"type": "object",
273308
"properties": {
274309
"actions": {
275-
"type": "object",
276-
"properties": {},
310+
"oneOf": [
311+
{
312+
"$ref": "#/definitions/Actions"
313+
},
314+
{
315+
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
316+
}
317+
],
277318
"description": "Actions to invoke when the alert fires."
278319
},
279320
"autoMitigate": {

0 commit comments

Comments
 (0)