File tree Expand file tree Collapse file tree 7 files changed +86
-29
lines changed
specification/monitor/resource-manager/Microsoft.Insights/preview/2021-02-01-preview/examples Expand file tree Collapse file tree 7 files changed +86
-29
lines changed Original file line number Diff line number Diff line change 55 "ruleName" : " perf" ,
66 "api-version" : " 2021-02-01-preview" ,
77 "parameters" : {
8- "location" : " Global " ,
8+ "location" : " eastus " ,
99 "properties" : {
1010 "description" : " Performance rule" ,
1111 "severity" : 4 ,
5656 "key11" : " value11" ,
5757 "key12" : " value12"
5858 }
59- }
59+ },
60+ "autoMitigate" : true ,
61+ "checkWorkspaceAlertsStorageConfigured" : true ,
62+ "skipQueryValidation" : true
6063 }
6164 }
6265 },
6770 "id" : " /subscriptions/dd4bfc94-a096-412b-9c43-4bd13e35afbc/resourcegroups/QueryResourceGroupName/providers/microsoft.insights/scheduledqueryrules/perf" ,
6871 "name" : " perf" ,
6972 "type" : " microsoft.insights/scheduledqueryrules" ,
70- "location" : " Global " ,
73+ "location" : " eastus " ,
7174 "tags" : {},
7275 "properties" : {
7376 "description" : " Performance rule" ,
119122 "key11" : " value11" ,
120123 "key12" : " value12"
121124 }
122- }
125+ },
126+ "autoMitigate" : true ,
127+ "isWorkspaceAlertsStorageConfigured" : true ,
128+ "checkWorkspaceAlertsStorageConfigured" : true ,
129+ "skipQueryValidation" : true
123130 }
124131 }
125132 },
129136 "id" : " /subscriptions/dd4bfc94-a096-412b-9c43-4bd13e35afbc/resourcegroups/QueryResourceGroupName/providers/microsoft.insights/scheduledqueryrules/perf" ,
130137 "name" : " perf" ,
131138 "type" : " microsoft.insights/scheduledqueryrules" ,
132- "location" : " Global " ,
139+ "location" : " eastus " ,
133140 "tags" : {},
134141 "properties" : {
135142 "description" : " Performance rule" ,
181188 "key11" : " value11" ,
182189 "key12" : " value12"
183190 }
184- }
191+ },
192+ "autoMitigate" : true ,
193+ "isWorkspaceAlertsStorageConfigured" : true ,
194+ "checkWorkspaceAlertsStorageConfigured" : true ,
195+ "skipQueryValidation" : true
185196 }
186197 }
187198 }
Original file line number Diff line number Diff line change 55 "ruleName" : " heartbeat" ,
66 "api-version" : " 2021-02-01-preview" ,
77 "parameters" : {
8- "location" : " Global " ,
8+ "location" : " eastus " ,
99 "properties" : {
1010 "description" : " Health check rule" ,
1111 "severity" : 4 ,
4242 "key11" : " value11" ,
4343 "key12" : " value12"
4444 }
45- }
45+ },
46+ "autoMitigate" : true ,
47+ "checkWorkspaceAlertsStorageConfigured" : true ,
48+ "skipQueryValidation" : true
4649 }
4750 }
4851 },
5356 "id" : " /subscriptions/dd4bfc94-a096-412b-9c43-4bd13e35afbc/resourcegroups/QueryResourceGroupName/providers/microsoft.insights/scheduledqueryrules/heartbeat" ,
5457 "name" : " heartbeat" ,
5558 "type" : " microsoft.insights/scheduledqueryrules" ,
56- "location" : " Global " ,
59+ "location" : " eastus " ,
5760 "tags" : {},
5861 "properties" : {
5962 "description" : " Health check rule" ,
9194 "key11" : " value11" ,
9295 "key12" : " value12"
9396 }
94- }
97+ },
98+ "autoMitigate" : true ,
99+ "isWorkspaceAlertsStorageConfigured" : true ,
100+ "checkWorkspaceAlertsStorageConfigured" : true ,
101+ "skipQueryValidation" : true
95102 }
96103 }
97104 },
139146 "key11" : " value11" ,
140147 "key12" : " value12"
141148 }
142- }
149+ },
150+ "autoMitigate" : true ,
151+ "isWorkspaceAlertsStorageConfigured" : true ,
152+ "checkWorkspaceAlertsStorageConfigured" : true ,
153+ "skipQueryValidation" : true
143154 }
144155 }
145156 }
Original file line number Diff line number Diff line change 55 "ruleName" : " perf" ,
66 "api-version" : " 2021-02-01-preview" ,
77 "parameters" : {
8- "location" : " Global " ,
8+ "location" : " eastus " ,
99 "properties" : {
1010 "description" : " Performance rule" ,
1111 "severity" : 4 ,
5959 "key11" : " value11" ,
6060 "key12" : " value12"
6161 }
62- }
62+ },
63+ "autoMitigate" : true ,
64+ "checkWorkspaceAlertsStorageConfigured" : true ,
65+ "skipQueryValidation" : true
6366 }
6467 }
6568 },
7073 "id" : " /subscriptions/dd4bfc94-a096-412b-9c43-4bd13e35afbc/resourcegroups/QueryResourceGroupName/providers/microsoft.insights/scheduledqueryrules/perf" ,
7174 "name" : " perf" ,
7275 "type" : " microsoft.insights/scheduledqueryrules" ,
73- "location" : " Global " ,
76+ "location" : " eastus " ,
7477 "tags" : {},
7578 "properties" : {
7679 "description" : " Performance rule" ,
125128 "key11" : " value11" ,
126129 "key12" : " value12"
127130 }
128- }
131+ },
132+ "autoMitigate" : true ,
133+ "isWorkspaceAlertsStorageConfigured" : true ,
134+ "checkWorkspaceAlertsStorageConfigured" : true ,
135+ "skipQueryValidation" : true
129136 }
130137 }
131138 },
135142 "id" : " /subscriptions/dd4bfc94-a096-412b-9c43-4bd13e35afbc/resourcegroups/QueryResourceGroupName/providers/microsoft.insights/scheduledqueryrules/perf" ,
136143 "name" : " perf" ,
137144 "type" : " microsoft.insights/scheduledqueryrules" ,
138- "location" : " Global " ,
145+ "location" : " eastus " ,
139146 "tags" : {},
140147 "properties" : {
141148 "description" : " Performance rule" ,
190197 "key11" : " value11" ,
191198 "key12" : " value12"
192199 }
193- }
200+ },
201+ "autoMitigate" : true ,
202+ "isWorkspaceAlertsStorageConfigured" : true ,
203+ "checkWorkspaceAlertsStorageConfigured" : true ,
204+ "skipQueryValidation" : true
194205 }
195206 }
196207 }
Original file line number Diff line number Diff line change 1212 "id" : " /subscriptions/dd4bfc94-a096-412b-9c43-4bd13e35afbc/resourcegroups/QueryResourceGroupName/providers/microsoft.insights/scheduledqueryrules/perf" ,
1313 "name" : " perf" ,
1414 "type" : " microsoft.insights/scheduledqueryrules" ,
15- "location" : " Global " ,
15+ "location" : " eastus " ,
1616 "tags" : {},
1717 "properties" : {
1818 "description" : " Performance rule" ,
6464 "key11" : " value11" ,
6565 "key12" : " value12"
6666 }
67- }
67+ },
68+ "autoMitigate" : true ,
69+ "isWorkspaceAlertsStorageConfigured" : true ,
70+ "checkWorkspaceAlertsStorageConfigured" : true ,
71+ "skipQueryValidation" : true
6872 }
6973 }
7074 }
Original file line number Diff line number Diff line change 1313 "id" : " /subscriptions/dd4bfc94-a096-412b-9c43-4bd13e35afbc/resourcegroups/QueryResourceGroupName/providers/microsoft.insights/scheduledqueryrules/perf" ,
1414 "name" : " perf" ,
1515 "type" : " microsoft.insights/scheduledqueryrules" ,
16- "location" : " Global " ,
16+ "location" : " eastus " ,
1717 "tags" : {},
1818 "properties" : {
1919 "description" : " Performance rule" ,
6868 "key11" : " value11" ,
6969 "key12" : " value12"
7070 }
71- }
71+ },
72+ "autoMitigate" : true ,
73+ "isWorkspaceAlertsStorageConfigured" : true ,
74+ "checkWorkspaceAlertsStorageConfigured" : true ,
75+ "skipQueryValidation" : true
7276 }
7377 },
7478 {
7579 "id" : " /subscriptions/dd4bfc94-a096-412b-9c43-4bd13e35afbc/resourcegroups/QueryResourceGroupName/providers/microsoft.insights/scheduledqueryrules/heartbeat" ,
7680 "name" : " heartbeat" ,
7781 "type" : " microsoft.insights/scheduledqueryrules" ,
78- "location" : " Global " ,
82+ "location" : " eastus " ,
7983 "tags" : {},
8084 "properties" : {
8185 "description" : " Health check rule" ,
113117 "key11" : " value11" ,
114118 "key12" : " value12"
115119 }
116- }
120+ },
121+ "autoMitigate" : true ,
122+ "isWorkspaceAlertsStorageConfigured" : true ,
123+ "checkWorkspaceAlertsStorageConfigured" : true ,
124+ "skipQueryValidation" : true
117125 }
118126 }
119127 ]
Original file line number Diff line number Diff line change 1212 "id" : " /subscriptions/dd4bfc94-a096-412b-9c43-4bd13e35afbc/resourcegroups/QueryResourceGroupName/providers/microsoft.insights/scheduledqueryrules/perf" ,
1313 "name" : " perf" ,
1414 "type" : " microsoft.insights/scheduledqueryrules" ,
15- "location" : " Global " ,
15+ "location" : " eastus " ,
1616 "tags" : {},
1717 "properties" : {
1818 "description" : " Performance rule" ,
6767 "key11" : " value11" ,
6868 "key12" : " value12"
6969 }
70- }
70+ },
71+ "autoMitigate" : true ,
72+ "isWorkspaceAlertsStorageConfigured" : true ,
73+ "checkWorkspaceAlertsStorageConfigured" : true ,
74+ "skipQueryValidation" : true
7175 }
7276 },
7377 {
7478 "id" : " /subscriptions/dd4bfc94-a096-412b-9c43-4bd13e35afbc/resourcegroups/MyResourceGroupName2/providers/microsoft.insights/scheduledqueryrules/heartbeat" ,
7579 "name" : " heartbeat" ,
7680 "type" : " microsoft.insights/scheduledqueryrules" ,
77- "location" : " Global " ,
81+ "location" : " eastus " ,
7882 "tags" : {},
7983 "properties" : {
8084 "description" : " Health check rule" ,
112116 "key11" : " value11" ,
113117 "key12" : " value12"
114118 }
115- }
119+ },
120+ "autoMitigate" : true ,
121+ "isWorkspaceAlertsStorageConfigured" : true ,
122+ "checkWorkspaceAlertsStorageConfigured" : true ,
123+ "skipQueryValidation" : true
116124 }
117125 }
118126 ]
Original file line number Diff line number Diff line change 1717 "id" : " /subscriptions/dd4bfc94-a096-412b-9c43-4bd13e35afbc/resourcegroups/QueryResourceGroupName/providers/microsoft.insights/scheduledqueryrules/heartbeat" ,
1818 "name" : " heartbeat" ,
1919 "type" : " microsoft.insights/scheduledqueryrules" ,
20- "location" : " Global " ,
20+ "location" : " eastus " ,
2121 "tags" : {},
2222 "properties" : {
2323 "description" : " Health check rule" ,
5555 "key11" : " value11" ,
5656 "key12" : " value12"
5757 }
58- }
58+ },
59+ "autoMitigate" : true ,
60+ "isWorkspaceAlertsStorageConfigured" : true ,
61+ "checkWorkspaceAlertsStorageConfigured" : true ,
62+ "skipQueryValidation" : true
5963 }
6064 }
6165 }
You can’t perform that action at this time.
0 commit comments