Skip to content

Commit c2e43f8

Browse files
avjerafiAvi Jerafi
andauthored
Dev monitor microsoft.insights 2021 02 01 preview custom properties (#14942)
* Modified Actions definition, added missing type property for objects * Removed directive to delete ResourceGroupNameParameter * Added suppression for OperationsAPIImplementation Co-authored-by: Avi Jerafi <avjerafi@microsoft.com>
1 parent 18aa5fc commit c2e43f8

9 files changed

+139
-133
lines changed

specification/monitor/resource-manager/Microsoft.Insights/preview/2021-02-01-preview/examples/createOrUpdateScheduledQueryRule.json

Lines changed: 24 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -48,15 +48,15 @@
4848
]
4949
},
5050
"muteActionsDuration": "PT30M",
51-
"actions": [
52-
{
53-
"actionGroupId": "/subscriptions/1cf177ed-1330-4692-80ea-fd3d7783b147/resourcegroups/sqrapi/providers/microsoft.insights/actiongroups/myactiongroup",
54-
"webHookProperties": {
55-
"key11": "value11",
56-
"key12": "value12"
57-
}
51+
"actions": {
52+
"actionGroups": [
53+
"/subscriptions/1cf177ed-1330-4692-80ea-fd3d7783b147/resourcegroups/sqrapi/providers/microsoft.insights/actiongroups/myactiongroup"
54+
],
55+
"customProperties": {
56+
"key11": "value11",
57+
"key12": "value12"
5858
}
59-
]
59+
}
6060
}
6161
}
6262
},
@@ -111,15 +111,15 @@
111111
]
112112
},
113113
"muteActionsDuration": "PT30M",
114-
"actions": [
115-
{
116-
"actionGroupId": "/subscriptions/1cf177ed-1330-4692-80ea-fd3d7783b147/resourcegroups/sqrapi/providers/microsoft.insights/actiongroups/myactiongroup",
117-
"webHookProperties": {
118-
"key11": "value11",
119-
"key12": "value12"
120-
}
114+
"actions": {
115+
"actionGroups": [
116+
"/subscriptions/1cf177ed-1330-4692-80ea-fd3d7783b147/resourcegroups/sqrapi/providers/microsoft.insights/actiongroups/myactiongroup"
117+
],
118+
"customProperties": {
119+
"key11": "value11",
120+
"key12": "value12"
121121
}
122-
]
122+
}
123123
}
124124
}
125125
},
@@ -173,15 +173,15 @@
173173
]
174174
},
175175
"muteActionsDuration": "PT30M",
176-
"actions": [
177-
{
178-
"actionGroupId": "/subscriptions/1cf177ed-1330-4692-80ea-fd3d7783b147/resourcegroups/sqrapi/providers/microsoft.insights/actiongroups/myactiongroup",
179-
"webHookProperties": {
180-
"key11": "value11",
181-
"key12": "value12"
182-
}
176+
"actions": {
177+
"actionGroups": [
178+
"/subscriptions/1cf177ed-1330-4692-80ea-fd3d7783b147/resourcegroups/sqrapi/providers/microsoft.insights/actiongroups/myactiongroup"
179+
],
180+
"customProperties": {
181+
"key11": "value11",
182+
"key12": "value12"
183183
}
184-
]
184+
}
185185
}
186186
}
187187
}

specification/monitor/resource-manager/Microsoft.Insights/preview/2021-02-01-preview/examples/createOrUpdateScheduledQueryRuleResourceGroup.json

Lines changed: 24 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -34,15 +34,15 @@
3434
]
3535
},
3636
"muteActionsDuration": "PT30M",
37-
"actions": [
38-
{
39-
"actionGroupId": "/subscriptions/1cf177ed-1330-4692-80ea-fd3d7783b147/resourcegroups/sqrapi/providers/microsoft.insights/actiongroups/myactiongroup",
40-
"webHookProperties": {
41-
"key11": "value11",
42-
"key12": "value12"
43-
}
37+
"actions": {
38+
"actionGroups": [
39+
"/subscriptions/1cf177ed-1330-4692-80ea-fd3d7783b147/resourcegroups/sqrapi/providers/microsoft.insights/actiongroups/myactiongroup"
40+
],
41+
"customProperties": {
42+
"key11": "value11",
43+
"key12": "value12"
4444
}
45-
]
45+
}
4646
}
4747
}
4848
},
@@ -83,15 +83,15 @@
8383
]
8484
},
8585
"muteActionsDuration": "PT30M",
86-
"actions": [
87-
{
88-
"actionGroupId": "/subscriptions/1cf177ed-1330-4692-80ea-fd3d7783b147/resourcegroups/sqrapi/providers/microsoft.insights/actiongroups/myactiongroup",
89-
"webHookProperties": {
90-
"key11": "value11",
91-
"key12": "value12"
92-
}
86+
"actions": {
87+
"actionGroups": [
88+
"/subscriptions/1cf177ed-1330-4692-80ea-fd3d7783b147/resourcegroups/sqrapi/providers/microsoft.insights/actiongroups/myactiongroup"
89+
],
90+
"customProperties": {
91+
"key11": "value11",
92+
"key12": "value12"
9393
}
94-
]
94+
}
9595
}
9696
}
9797
},
@@ -131,15 +131,15 @@
131131
]
132132
},
133133
"muteActionsDuration": "PT30M",
134-
"actions": [
135-
{
136-
"actionGroupId": "/subscriptions/1cf177ed-1330-4692-80ea-fd3d7783b147/resourcegroups/sqrapi/providers/microsoft.insights/actiongroups/myactiongroup",
137-
"webHookProperties": {
138-
"key11": "value11",
139-
"key12": "value12"
140-
}
134+
"actions": {
135+
"actionGroups": [
136+
"/subscriptions/1cf177ed-1330-4692-80ea-fd3d7783b147/resourcegroups/sqrapi/providers/microsoft.insights/actiongroups/myactiongroup"
137+
],
138+
"customProperties": {
139+
"key11": "value11",
140+
"key12": "value12"
141141
}
142-
]
142+
}
143143
}
144144
}
145145
}

specification/monitor/resource-manager/Microsoft.Insights/preview/2021-02-01-preview/examples/createOrUpdateScheduledQueryRuleSubscription.json

Lines changed: 24 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -51,15 +51,15 @@
5151
]
5252
},
5353
"muteActionsDuration": "PT30M",
54-
"actions": [
55-
{
56-
"actionGroupId": "/subscriptions/1cf177ed-1330-4692-80ea-fd3d7783b147/resourcegroups/sqrapi/providers/microsoft.insights/actiongroups/myactiongroup",
57-
"webHookProperties": {
58-
"key11": "value11",
59-
"key12": "value12"
60-
}
54+
"actions": {
55+
"actionGroups": [
56+
"/subscriptions/1cf177ed-1330-4692-80ea-fd3d7783b147/resourcegroups/sqrapi/providers/microsoft.insights/actiongroups/myactiongroup"
57+
],
58+
"customProperties": {
59+
"key11": "value11",
60+
"key12": "value12"
6161
}
62-
]
62+
}
6363
}
6464
}
6565
},
@@ -117,15 +117,15 @@
117117
]
118118
},
119119
"muteActionsDuration": "PT30M",
120-
"actions": [
121-
{
122-
"actionGroupId": "/subscriptions/1cf177ed-1330-4692-80ea-fd3d7783b147/resourcegroups/sqrapi/providers/microsoft.insights/actiongroups/myactiongroup",
123-
"webHookProperties": {
124-
"key11": "value11",
125-
"key12": "value12"
126-
}
120+
"actions": {
121+
"actionGroups": [
122+
"/subscriptions/1cf177ed-1330-4692-80ea-fd3d7783b147/resourcegroups/sqrapi/providers/microsoft.insights/actiongroups/myactiongroup"
123+
],
124+
"customProperties": {
125+
"key11": "value11",
126+
"key12": "value12"
127127
}
128-
]
128+
}
129129
}
130130
}
131131
},
@@ -182,15 +182,15 @@
182182
]
183183
},
184184
"muteActionsDuration": "PT30M",
185-
"actions": [
186-
{
187-
"actionGroupId": "/subscriptions/1cf177ed-1330-4692-80ea-fd3d7783b147/resourcegroups/sqrapi/providers/microsoft.insights/actiongroups/myactiongroup",
188-
"webHookProperties": {
189-
"key11": "value11",
190-
"key12": "value12"
191-
}
185+
"actions": {
186+
"actionGroups": [
187+
"/subscriptions/1cf177ed-1330-4692-80ea-fd3d7783b147/resourcegroups/sqrapi/providers/microsoft.insights/actiongroups/myactiongroup"
188+
],
189+
"customProperties": {
190+
"key11": "value11",
191+
"key12": "value12"
192192
}
193-
]
193+
}
194194
}
195195
}
196196
}

specification/monitor/resource-manager/Microsoft.Insights/preview/2021-02-01-preview/examples/getScheduledQueryRule.json

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -56,15 +56,15 @@
5656
]
5757
},
5858
"muteActionsDuration": "PT30M",
59-
"actions": [
60-
{
61-
"actionGroupId": "/subscriptions/1cf177ed-1330-4692-80ea-fd3d7783b147/resourcegroups/sqrapi/providers/microsoft.insights/actiongroups/myactiongroup",
62-
"webHookProperties": {
63-
"key11": "value11",
64-
"key12": "value12"
65-
}
59+
"actions": {
60+
"actionGroups": [
61+
"/subscriptions/1cf177ed-1330-4692-80ea-fd3d7783b147/resourcegroups/sqrapi/providers/microsoft.insights/actiongroups/myactiongroup"
62+
],
63+
"customProperties": {
64+
"key11": "value11",
65+
"key12": "value12"
6666
}
67-
]
67+
}
6868
}
6969
}
7070
}

specification/monitor/resource-manager/Microsoft.Insights/preview/2021-02-01-preview/examples/listScheduledQueryRulesByResourceGroup.json

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -60,15 +60,15 @@
6060
]
6161
},
6262
"muteActionsDuration": "PT30M",
63-
"actions": [
64-
{
65-
"actionGroupId": "/subscriptions/1cf177ed-1330-4692-80ea-fd3d7783b147/resourcegroups/sqrapi/providers/microsoft.insights/actiongroups/myactiongroup",
66-
"webHookProperties": {
67-
"key11": "value11",
68-
"key12": "value12"
69-
}
63+
"actions": {
64+
"actionGroups": [
65+
"/subscriptions/1cf177ed-1330-4692-80ea-fd3d7783b147/resourcegroups/sqrapi/providers/microsoft.insights/actiongroups/myactiongroup"
66+
],
67+
"customProperties": {
68+
"key11": "value11",
69+
"key12": "value12"
7070
}
71-
]
71+
}
7272
}
7373
},
7474
{
@@ -105,15 +105,15 @@
105105
]
106106
},
107107
"muteActionsDuration": "PT30M",
108-
"actions": [
109-
{
110-
"actionGroupId": "/subscriptions/1cf177ed-1330-4692-80ea-fd3d7783b147/resourcegroups/sqrapi/providers/microsoft.insights/actiongroups/myactiongroup",
111-
"webHookProperties": {
112-
"key11": "value11",
113-
"key12": "value12"
114-
}
108+
"actions": {
109+
"actionGroups": [
110+
"/subscriptions/1cf177ed-1330-4692-80ea-fd3d7783b147/resourcegroups/sqrapi/providers/microsoft.insights/actiongroups/myactiongroup"
111+
],
112+
"customProperties": {
113+
"key11": "value11",
114+
"key12": "value12"
115115
}
116-
]
116+
}
117117
}
118118
}
119119
]

specification/monitor/resource-manager/Microsoft.Insights/preview/2021-02-01-preview/examples/listScheduledQueryRulesBySubscription.json

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -59,15 +59,15 @@
5959
]
6060
},
6161
"muteActionsDuration": "PT30M",
62-
"actions": [
63-
{
64-
"actionGroupId": "/subscriptions/1cf177ed-1330-4692-80ea-fd3d7783b147/resourcegroups/sqrapi/providers/microsoft.insights/actiongroups/myactiongroup",
65-
"webHookProperties": {
66-
"key11": "value11",
67-
"key12": "value12"
68-
}
62+
"actions": {
63+
"actionGroups": [
64+
"/subscriptions/1cf177ed-1330-4692-80ea-fd3d7783b147/resourcegroups/sqrapi/providers/microsoft.insights/actiongroups/myactiongroup"
65+
],
66+
"customProperties": {
67+
"key11": "value11",
68+
"key12": "value12"
6969
}
70-
]
70+
}
7171
}
7272
},
7373
{
@@ -104,15 +104,15 @@
104104
]
105105
},
106106
"muteActionsDuration": "PT30M",
107-
"actions": [
108-
{
109-
"actionGroupId": "/subscriptions/1cf177ed-1330-4692-80ea-fd3d7783b147/resourcegroups/sqrapi/providers/microsoft.insights/actiongroups/myactiongroup",
110-
"webHookProperties": {
111-
"key11": "value11",
112-
"key12": "value12"
113-
}
107+
"actions": {
108+
"actionGroups": [
109+
"/subscriptions/1cf177ed-1330-4692-80ea-fd3d7783b147/resourcegroups/sqrapi/providers/microsoft.insights/actiongroups/myactiongroup"
110+
],
111+
"customProperties": {
112+
"key11": "value11",
113+
"key12": "value12"
114114
}
115-
]
115+
}
116116
}
117117
}
118118
]

specification/monitor/resource-manager/Microsoft.Insights/preview/2021-02-01-preview/examples/patchScheduledQueryRule.json

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -47,15 +47,15 @@
4747
]
4848
},
4949
"muteActionsDuration": "PT30M",
50-
"actions": [
51-
{
52-
"actionGroupId": "/subscriptions/1cf177ed-1330-4692-80ea-fd3d7783b147/resourcegroups/sqrapi/providers/microsoft.insights/actiongroups/myactiongroup",
53-
"webHookProperties": {
54-
"key11": "value11",
55-
"key12": "value12"
56-
}
50+
"actions": {
51+
"actionGroups": [
52+
"/subscriptions/1cf177ed-1330-4692-80ea-fd3d7783b147/resourcegroups/sqrapi/providers/microsoft.insights/actiongroups/myactiongroup"
53+
],
54+
"customProperties": {
55+
"key11": "value11",
56+
"key12": "value12"
5757
}
58-
]
58+
}
5959
}
6060
}
6161
}

0 commit comments

Comments
 (0)