6
6
<ViewSelectedBy >
7
7
<TypeName >Microsoft.Azure.Commands.AlertsManagement.OutputModels.PSActionRule</TypeName >
8
8
</ViewSelectedBy >
9
+ <TableControl >
10
+ <TableHeaders >
11
+ <TableColumnHeader >
12
+ <Alignment >Left</Alignment >
13
+ <Label >Name</Label >
14
+ </TableColumnHeader >
15
+ <TableColumnHeader >
16
+ <Alignment >Left</Alignment >
17
+ <Label >Status</Label >
18
+ </TableColumnHeader >
19
+ <TableColumnHeader >
20
+ <Alignment >Left</Alignment >
21
+ <Label >LastModifiedAt</Label >
22
+ </TableColumnHeader >
23
+ <TableColumnHeader >
24
+ <Alignment >Left</Alignment >
25
+ <Label >LastModifiedBy</Label >
26
+ </TableColumnHeader >
27
+ <TableColumnHeader >
28
+ <Alignment >Left</Alignment >
29
+ <Label >Type</Label >
30
+ </TableColumnHeader >
31
+ </TableHeaders >
32
+ <TableRowEntries >
33
+ <TableRowEntry >
34
+ <TableColumnItems >
35
+ <TableColumnItem >
36
+ <Alignment >Left</Alignment >
37
+ <PropertyName >Name</PropertyName >
38
+ </TableColumnItem >
39
+ <TableColumnItem >
40
+ <Alignment >Left</Alignment >
41
+ <PropertyName >Status</PropertyName >
42
+ </TableColumnItem >
43
+ <TableColumnItem >
44
+ <Alignment >Left</Alignment >
45
+ <PropertyName >LastModifiedAt</PropertyName >
46
+ </TableColumnItem >
47
+ <TableColumnItem >
48
+ <Alignment >Left</Alignment >
49
+ <PropertyName >LastModifiedBy</PropertyName >
50
+ </TableColumnItem >
51
+ <TableColumnItem >
52
+ <Alignment >Left</Alignment >
53
+ <PropertyName >ActionRuleType</PropertyName >
54
+ </TableColumnItem >
55
+ </TableColumnItems >
56
+ </TableRowEntry >
57
+ </TableRowEntries >
58
+ </TableControl >
59
+ </View >
60
+ <View >
61
+ <Name >Microsoft.Azure.Commands.AlertsManagement.OutputModels.PSAlert</Name >
62
+ <ViewSelectedBy >
63
+ <TypeName >Microsoft.Azure.Commands.AlertsManagement.OutputModels.PSAlert</TypeName >
64
+ </ViewSelectedBy >
65
+ <TableControl >
66
+ <TableHeaders >
67
+ <TableColumnHeader >
68
+ <Alignment >Left</Alignment >
69
+ <Label >Id</Label >
70
+ </TableColumnHeader >
71
+ <TableColumnHeader >
72
+ <Alignment >Left</Alignment >
73
+ <Label >Name</Label >
74
+ </TableColumnHeader >
75
+ <TableColumnHeader >
76
+ <Alignment >Left</Alignment >
77
+ <Label >StartDateTime</Label >
78
+ </TableColumnHeader >
79
+ <TableColumnHeader >
80
+ <Alignment >Left</Alignment >
81
+ <Label >MonitorCondition</Label >
82
+ </TableColumnHeader >
83
+ <TableColumnHeader >
84
+ <Alignment >Left</Alignment >
85
+ <Label >Severity</Label >
86
+ </TableColumnHeader >
87
+ <TableColumnHeader >
88
+ <Alignment >Left</Alignment >
89
+ <Label >State</Label >
90
+ </TableColumnHeader >
91
+ <TableColumnHeader >
92
+ <Alignment >Left</Alignment >
93
+ <Label >MonitorService</Label >
94
+ </TableColumnHeader >
95
+ </TableHeaders >
96
+ <TableRowEntries >
97
+ <TableRowEntry >
98
+ <TableColumnItems >
99
+ <TableColumnItem >
100
+ <Alignment >Left</Alignment >
101
+ <ScriptBlock >$_.Id.Split('/')[6]</ScriptBlock >
102
+ </TableColumnItem >
103
+ <TableColumnItem >
104
+ <Alignment >Left</Alignment >
105
+ <PropertyName >Name</PropertyName >
106
+ </TableColumnItem >
107
+ <TableColumnItem >
108
+ <Alignment >Left</Alignment >
109
+ <PropertyName >StartDateTime</PropertyName >
110
+ </TableColumnItem >
111
+ <TableColumnItem >
112
+ <Alignment >Left</Alignment >
113
+ <PropertyName >MonitorCondition</PropertyName >
114
+ </TableColumnItem >
115
+ <TableColumnItem >
116
+ <Alignment >Left</Alignment >
117
+ <PropertyName >Severity</PropertyName >
118
+ </TableColumnItem >
119
+ <TableColumnItem >
120
+ <Alignment >Left</Alignment >
121
+ <PropertyName >State</PropertyName >
122
+ </TableColumnItem >
123
+ <TableColumnItem >
124
+ <Alignment >Left</Alignment >
125
+ <PropertyName >MonitorService</PropertyName >
126
+ </TableColumnItem >
127
+ </TableColumnItems >
128
+ </TableRowEntry >
129
+ </TableRowEntries >
130
+ </TableControl >
131
+ </View >
132
+ <View >
133
+ <Name >Microsoft.Azure.Commands.AlertsManagement.OutputModels.PSAlertsSummary</Name >
134
+ <ViewSelectedBy >
135
+ <TypeName >Microsoft.Azure.Commands.AlertsManagement.OutputModels.PSAlertsSummary</TypeName >
136
+ </ViewSelectedBy >
9
137
<ListControl >
10
138
<ListEntries >
11
139
<ListEntry >
12
140
<ListItems >
13
141
<ListItem >
14
- <ScriptBlock >$_.SuppressionConfig.RecurrenceType</ScriptBlock >
15
- <Label >RecurrenceType</Label >
16
- </ListItem >
17
- <ListItem >
18
- <ScriptBlock >$_.SuppressionConfig.StartDate</ScriptBlock >
19
- <Label >StartDate</Label >
142
+ <PropertyName >GroupBy</PropertyName >
143
+ <Label >TotalSmartGroups</Label >
20
144
</ListItem >
21
145
<ListItem >
22
- <ScriptBlock >$_.SuppressionConfig.StartTime</ ScriptBlock >
23
- <Label >StartTime </Label >
146
+ <PropertyName >TotalAlerts</ PropertyName >
147
+ <Label >TotalSmartGroups </Label >
24
148
</ListItem >
25
149
<ListItem >
26
- <ScriptBlock >$_.SuppressionConfig.EndDate</ ScriptBlock >
27
- <Label >EndDate </Label >
150
+ <PropertyName >TotalSmartGroups</ PropertyName >
151
+ <Label >TotalSmartGroups </Label >
28
152
</ListItem >
29
153
<ListItem >
30
- <ScriptBlock >$_.SuppressionConfig.EndTime</ScriptBlock >
31
- <Label >EndTime</Label >
32
- </ListItem >
33
- <ListItem >
34
- <ScriptBlock >$_.SuppressionConfig.RecurrenceValues.ToString()</ScriptBlock >
35
- <Label >RecurrenceValues</Label >
154
+ <ScriptBlock >$_.AggregatedCounts.ToString()</ScriptBlock >
155
+ <Label >Summary</Label >
36
156
</ListItem >
37
157
</ListItems >
38
158
</ListEntry >
39
159
</ListEntries >
40
160
</ListControl >
41
161
</View >
42
162
<View >
43
- <Name >Microsoft.Azure.Commands.AlertsManagement.OutputModels.PSAlertsSummary </Name >
163
+ <Name >Microsoft.Azure.Commands.AlertsManagement.OutputModels.PSSmartGroup </Name >
44
164
<ViewSelectedBy >
45
- <TypeName >Microsoft.Azure.Commands.AlertsManagement.OutputModels.PSAlertsSummary </TypeName >
165
+ <TypeName >Microsoft.Azure.Commands.AlertsManagement.OutputModels.PSSmartGroup </TypeName >
46
166
</ViewSelectedBy >
47
- <ListControl >
48
- <ListEntries >
49
- <ListEntry >
50
- <ListItems >
51
- <ListItem >
52
- <ScriptBlock >$_.AggregatedCounts.ToString()</ScriptBlock >
53
- <Label >Summary</Label >
54
- </ListItem >
55
- </ListItems >
56
- </ListEntry >
57
- </ListEntries >
58
- </ListControl >
167
+ <TableControl >
168
+ <TableHeaders >
169
+ <TableColumnHeader >
170
+ <Alignment >Left</Alignment >
171
+ <Label >Id</Label >
172
+ </TableColumnHeader >
173
+ <TableColumnHeader >
174
+ <Alignment >Left</Alignment >
175
+ <Label >Name</Label >
176
+ </TableColumnHeader >
177
+ <TableColumnHeader >
178
+ <Alignment >Left</Alignment >
179
+ <Label >State</Label >
180
+ </TableColumnHeader >
181
+ <TableColumnHeader >
182
+ <Alignment >Left</Alignment >
183
+ <Label >Severity</Label >
184
+ </TableColumnHeader >
185
+ <TableColumnHeader >
186
+ <Alignment >Left</Alignment >
187
+ <Label >AlertsCount</Label >
188
+ </TableColumnHeader >
189
+ </TableHeaders >
190
+ <TableRowEntries >
191
+ <TableRowEntry >
192
+ <TableColumnItems >
193
+ <TableColumnItem >
194
+ <Alignment >Left</Alignment >
195
+ <ScriptBlock >$_.Id.Split('/')[6]</ScriptBlock >
196
+ </TableColumnItem >
197
+ <TableColumnItem >
198
+ <Alignment >Left</Alignment >
199
+ <PropertyName >Name</PropertyName >
200
+ </TableColumnItem >
201
+ <TableColumnItem >
202
+ <Alignment >Left</Alignment >
203
+ <PropertyName >State</PropertyName >
204
+ </TableColumnItem >
205
+ <TableColumnItem >
206
+ <Alignment >Left</Alignment >
207
+ <PropertyName >Severity</PropertyName >
208
+ </TableColumnItem >
209
+ <TableColumnItem >
210
+ <Alignment >Left</Alignment >
211
+ <PropertyName >AlertsCount</PropertyName >
212
+ </TableColumnItem >
213
+ </TableColumnItems >
214
+ </TableRowEntry >
215
+ </TableRowEntries >
216
+ </TableControl >
59
217
</View >
60
218
</ViewDefinitions >
61
219
</Configuration >
0 commit comments