1 package insights
2
3
4
5
6
7
8
9
10 type AggregationType string
11
12 const (
13
14 AggregationTypeAverage AggregationType = "Average"
15
16 AggregationTypeCount AggregationType = "Count"
17
18 AggregationTypeMaximum AggregationType = "Maximum"
19
20 AggregationTypeMinimum AggregationType = "Minimum"
21
22 AggregationTypeNone AggregationType = "None"
23
24 AggregationTypeTotal AggregationType = "Total"
25 )
26
27
28 func PossibleAggregationTypeValues() []AggregationType {
29 return []AggregationType{AggregationTypeAverage, AggregationTypeCount, AggregationTypeMaximum, AggregationTypeMinimum, AggregationTypeNone, AggregationTypeTotal}
30 }
31
32
33 type AggregationTypeEnum string
34
35 const (
36
37 AggregationTypeEnumAverage AggregationTypeEnum = "Average"
38
39 AggregationTypeEnumCount AggregationTypeEnum = "Count"
40
41 AggregationTypeEnumMaximum AggregationTypeEnum = "Maximum"
42
43 AggregationTypeEnumMinimum AggregationTypeEnum = "Minimum"
44
45 AggregationTypeEnumTotal AggregationTypeEnum = "Total"
46 )
47
48
49 func PossibleAggregationTypeEnumValues() []AggregationTypeEnum {
50 return []AggregationTypeEnum{AggregationTypeEnumAverage, AggregationTypeEnumCount, AggregationTypeEnumMaximum, AggregationTypeEnumMinimum, AggregationTypeEnumTotal}
51 }
52
53
54 type AlertSeverity string
55
56 const (
57
58 AlertSeverityFour AlertSeverity = "4"
59
60 AlertSeverityOne AlertSeverity = "1"
61
62 AlertSeverityThree AlertSeverity = "3"
63
64 AlertSeverityTwo AlertSeverity = "2"
65
66 AlertSeverityZero AlertSeverity = "0"
67 )
68
69
70 func PossibleAlertSeverityValues() []AlertSeverity {
71 return []AlertSeverity{AlertSeverityFour, AlertSeverityOne, AlertSeverityThree, AlertSeverityTwo, AlertSeverityZero}
72 }
73
74
75 type BaselineSensitivity string
76
77 const (
78
79 BaselineSensitivityHigh BaselineSensitivity = "High"
80
81 BaselineSensitivityLow BaselineSensitivity = "Low"
82
83 BaselineSensitivityMedium BaselineSensitivity = "Medium"
84 )
85
86
87 func PossibleBaselineSensitivityValues() []BaselineSensitivity {
88 return []BaselineSensitivity{BaselineSensitivityHigh, BaselineSensitivityLow, BaselineSensitivityMedium}
89 }
90
91
92 type CategoryType string
93
94 const (
95
96 CategoryTypeLogs CategoryType = "Logs"
97
98 CategoryTypeMetrics CategoryType = "Metrics"
99 )
100
101
102 func PossibleCategoryTypeValues() []CategoryType {
103 return []CategoryType{CategoryTypeLogs, CategoryTypeMetrics}
104 }
105
106
107 type ComparisonOperationType string
108
109 const (
110
111 ComparisonOperationTypeEquals ComparisonOperationType = "Equals"
112
113 ComparisonOperationTypeGreaterThan ComparisonOperationType = "GreaterThan"
114
115 ComparisonOperationTypeGreaterThanOrEqual ComparisonOperationType = "GreaterThanOrEqual"
116
117 ComparisonOperationTypeLessThan ComparisonOperationType = "LessThan"
118
119 ComparisonOperationTypeLessThanOrEqual ComparisonOperationType = "LessThanOrEqual"
120
121 ComparisonOperationTypeNotEquals ComparisonOperationType = "NotEquals"
122 )
123
124
125 func PossibleComparisonOperationTypeValues() []ComparisonOperationType {
126 return []ComparisonOperationType{ComparisonOperationTypeEquals, ComparisonOperationTypeGreaterThan, ComparisonOperationTypeGreaterThanOrEqual, ComparisonOperationTypeLessThan, ComparisonOperationTypeLessThanOrEqual, ComparisonOperationTypeNotEquals}
127 }
128
129
130 type ConditionalOperator string
131
132 const (
133
134 ConditionalOperatorEqual ConditionalOperator = "Equal"
135
136 ConditionalOperatorGreaterThan ConditionalOperator = "GreaterThan"
137
138 ConditionalOperatorGreaterThanOrEqual ConditionalOperator = "GreaterThanOrEqual"
139
140 ConditionalOperatorLessThan ConditionalOperator = "LessThan"
141
142 ConditionalOperatorLessThanOrEqual ConditionalOperator = "LessThanOrEqual"
143 )
144
145
146 func PossibleConditionalOperatorValues() []ConditionalOperator {
147 return []ConditionalOperator{ConditionalOperatorEqual, ConditionalOperatorGreaterThan, ConditionalOperatorGreaterThanOrEqual, ConditionalOperatorLessThan, ConditionalOperatorLessThanOrEqual}
148 }
149
150
151 type ConditionOperator string
152
153 const (
154
155 ConditionOperatorGreaterThan ConditionOperator = "GreaterThan"
156
157 ConditionOperatorGreaterThanOrEqual ConditionOperator = "GreaterThanOrEqual"
158
159 ConditionOperatorLessThan ConditionOperator = "LessThan"
160
161 ConditionOperatorLessThanOrEqual ConditionOperator = "LessThanOrEqual"
162 )
163
164
165 func PossibleConditionOperatorValues() []ConditionOperator {
166 return []ConditionOperator{ConditionOperatorGreaterThan, ConditionOperatorGreaterThanOrEqual, ConditionOperatorLessThan, ConditionOperatorLessThanOrEqual}
167 }
168
169
170 type CreatedByType string
171
172 const (
173
174 CreatedByTypeApplication CreatedByType = "Application"
175
176 CreatedByTypeKey CreatedByType = "Key"
177
178 CreatedByTypeManagedIdentity CreatedByType = "ManagedIdentity"
179
180 CreatedByTypeUser CreatedByType = "User"
181 )
182
183
184 func PossibleCreatedByTypeValues() []CreatedByType {
185 return []CreatedByType{CreatedByTypeApplication, CreatedByTypeKey, CreatedByTypeManagedIdentity, CreatedByTypeUser}
186 }
187
188
189 type CriterionType string
190
191 const (
192
193 CriterionTypeDynamicThresholdCriterion CriterionType = "DynamicThresholdCriterion"
194
195 CriterionTypeMultiMetricCriteria CriterionType = "MultiMetricCriteria"
196
197 CriterionTypeStaticThresholdCriterion CriterionType = "StaticThresholdCriterion"
198 )
199
200
201 func PossibleCriterionTypeValues() []CriterionType {
202 return []CriterionType{CriterionTypeDynamicThresholdCriterion, CriterionTypeMultiMetricCriteria, CriterionTypeStaticThresholdCriterion}
203 }
204
205
206 type DataStatus string
207
208 const (
209
210 DataStatusNotPresent DataStatus = "notPresent"
211
212 DataStatusPresent DataStatus = "present"
213 )
214
215
216 func PossibleDataStatusValues() []DataStatus {
217 return []DataStatus{DataStatusNotPresent, DataStatusPresent}
218 }
219
220
221 type DynamicThresholdOperator string
222
223 const (
224
225 DynamicThresholdOperatorGreaterOrLessThan DynamicThresholdOperator = "GreaterOrLessThan"
226
227 DynamicThresholdOperatorGreaterThan DynamicThresholdOperator = "GreaterThan"
228
229 DynamicThresholdOperatorLessThan DynamicThresholdOperator = "LessThan"
230 )
231
232
233 func PossibleDynamicThresholdOperatorValues() []DynamicThresholdOperator {
234 return []DynamicThresholdOperator{DynamicThresholdOperatorGreaterOrLessThan, DynamicThresholdOperatorGreaterThan, DynamicThresholdOperatorLessThan}
235 }
236
237
238 type DynamicThresholdSensitivity string
239
240 const (
241
242 DynamicThresholdSensitivityHigh DynamicThresholdSensitivity = "High"
243
244 DynamicThresholdSensitivityLow DynamicThresholdSensitivity = "Low"
245
246 DynamicThresholdSensitivityMedium DynamicThresholdSensitivity = "Medium"
247 )
248
249
250 func PossibleDynamicThresholdSensitivityValues() []DynamicThresholdSensitivity {
251 return []DynamicThresholdSensitivity{DynamicThresholdSensitivityHigh, DynamicThresholdSensitivityLow, DynamicThresholdSensitivityMedium}
252 }
253
254
255 type Enabled string
256
257 const (
258
259 EnabledFalse Enabled = "false"
260
261 EnabledTrue Enabled = "true"
262 )
263
264
265 func PossibleEnabledValues() []Enabled {
266 return []Enabled{EnabledFalse, EnabledTrue}
267 }
268
269
270 type EventLevel string
271
272 const (
273
274 EventLevelCritical EventLevel = "Critical"
275
276 EventLevelError EventLevel = "Error"
277
278 EventLevelInformational EventLevel = "Informational"
279
280 EventLevelVerbose EventLevel = "Verbose"
281
282 EventLevelWarning EventLevel = "Warning"
283 )
284
285
286 func PossibleEventLevelValues() []EventLevel {
287 return []EventLevel{EventLevelCritical, EventLevelError, EventLevelInformational, EventLevelVerbose, EventLevelWarning}
288 }
289
290
291
292 type KnownDataCollectionEndpointProvisioningState string
293
294 const (
295
296 KnownDataCollectionEndpointProvisioningStateCreating KnownDataCollectionEndpointProvisioningState = "Creating"
297
298 KnownDataCollectionEndpointProvisioningStateDeleting KnownDataCollectionEndpointProvisioningState = "Deleting"
299
300 KnownDataCollectionEndpointProvisioningStateFailed KnownDataCollectionEndpointProvisioningState = "Failed"
301
302 KnownDataCollectionEndpointProvisioningStateSucceeded KnownDataCollectionEndpointProvisioningState = "Succeeded"
303
304 KnownDataCollectionEndpointProvisioningStateUpdating KnownDataCollectionEndpointProvisioningState = "Updating"
305 )
306
307
308 func PossibleKnownDataCollectionEndpointProvisioningStateValues() []KnownDataCollectionEndpointProvisioningState {
309 return []KnownDataCollectionEndpointProvisioningState{KnownDataCollectionEndpointProvisioningStateCreating, KnownDataCollectionEndpointProvisioningStateDeleting, KnownDataCollectionEndpointProvisioningStateFailed, KnownDataCollectionEndpointProvisioningStateSucceeded, KnownDataCollectionEndpointProvisioningStateUpdating}
310 }
311
312
313
314 type KnownDataCollectionEndpointResourceKind string
315
316 const (
317
318 KnownDataCollectionEndpointResourceKindLinux KnownDataCollectionEndpointResourceKind = "Linux"
319
320 KnownDataCollectionEndpointResourceKindWindows KnownDataCollectionEndpointResourceKind = "Windows"
321 )
322
323
324 func PossibleKnownDataCollectionEndpointResourceKindValues() []KnownDataCollectionEndpointResourceKind {
325 return []KnownDataCollectionEndpointResourceKind{KnownDataCollectionEndpointResourceKindLinux, KnownDataCollectionEndpointResourceKindWindows}
326 }
327
328
329
330 type KnownDataCollectionRuleAssociationProvisioningState string
331
332 const (
333
334 KnownDataCollectionRuleAssociationProvisioningStateCreating KnownDataCollectionRuleAssociationProvisioningState = "Creating"
335
336 KnownDataCollectionRuleAssociationProvisioningStateDeleting KnownDataCollectionRuleAssociationProvisioningState = "Deleting"
337
338 KnownDataCollectionRuleAssociationProvisioningStateFailed KnownDataCollectionRuleAssociationProvisioningState = "Failed"
339
340 KnownDataCollectionRuleAssociationProvisioningStateSucceeded KnownDataCollectionRuleAssociationProvisioningState = "Succeeded"
341
342 KnownDataCollectionRuleAssociationProvisioningStateUpdating KnownDataCollectionRuleAssociationProvisioningState = "Updating"
343 )
344
345
346 func PossibleKnownDataCollectionRuleAssociationProvisioningStateValues() []KnownDataCollectionRuleAssociationProvisioningState {
347 return []KnownDataCollectionRuleAssociationProvisioningState{KnownDataCollectionRuleAssociationProvisioningStateCreating, KnownDataCollectionRuleAssociationProvisioningStateDeleting, KnownDataCollectionRuleAssociationProvisioningStateFailed, KnownDataCollectionRuleAssociationProvisioningStateSucceeded, KnownDataCollectionRuleAssociationProvisioningStateUpdating}
348 }
349
350
351
352 type KnownDataCollectionRuleProvisioningState string
353
354 const (
355
356 KnownDataCollectionRuleProvisioningStateCreating KnownDataCollectionRuleProvisioningState = "Creating"
357
358 KnownDataCollectionRuleProvisioningStateDeleting KnownDataCollectionRuleProvisioningState = "Deleting"
359
360 KnownDataCollectionRuleProvisioningStateFailed KnownDataCollectionRuleProvisioningState = "Failed"
361
362 KnownDataCollectionRuleProvisioningStateSucceeded KnownDataCollectionRuleProvisioningState = "Succeeded"
363
364 KnownDataCollectionRuleProvisioningStateUpdating KnownDataCollectionRuleProvisioningState = "Updating"
365 )
366
367
368 func PossibleKnownDataCollectionRuleProvisioningStateValues() []KnownDataCollectionRuleProvisioningState {
369 return []KnownDataCollectionRuleProvisioningState{KnownDataCollectionRuleProvisioningStateCreating, KnownDataCollectionRuleProvisioningStateDeleting, KnownDataCollectionRuleProvisioningStateFailed, KnownDataCollectionRuleProvisioningStateSucceeded, KnownDataCollectionRuleProvisioningStateUpdating}
370 }
371
372
373 type KnownDataCollectionRuleResourceKind string
374
375 const (
376
377 KnownDataCollectionRuleResourceKindLinux KnownDataCollectionRuleResourceKind = "Linux"
378
379 KnownDataCollectionRuleResourceKindWindows KnownDataCollectionRuleResourceKind = "Windows"
380 )
381
382
383 func PossibleKnownDataCollectionRuleResourceKindValues() []KnownDataCollectionRuleResourceKind {
384 return []KnownDataCollectionRuleResourceKind{KnownDataCollectionRuleResourceKindLinux, KnownDataCollectionRuleResourceKindWindows}
385 }
386
387
388 type KnownDataFlowStreams string
389
390 const (
391
392 KnownDataFlowStreamsMicrosoftEvent KnownDataFlowStreams = "Microsoft-Event"
393
394 KnownDataFlowStreamsMicrosoftInsightsMetrics KnownDataFlowStreams = "Microsoft-InsightsMetrics"
395
396 KnownDataFlowStreamsMicrosoftPerf KnownDataFlowStreams = "Microsoft-Perf"
397
398 KnownDataFlowStreamsMicrosoftSyslog KnownDataFlowStreams = "Microsoft-Syslog"
399
400 KnownDataFlowStreamsMicrosoftWindowsEvent KnownDataFlowStreams = "Microsoft-WindowsEvent"
401 )
402
403
404 func PossibleKnownDataFlowStreamsValues() []KnownDataFlowStreams {
405 return []KnownDataFlowStreams{KnownDataFlowStreamsMicrosoftEvent, KnownDataFlowStreamsMicrosoftInsightsMetrics, KnownDataFlowStreamsMicrosoftPerf, KnownDataFlowStreamsMicrosoftSyslog, KnownDataFlowStreamsMicrosoftWindowsEvent}
406 }
407
408
409 type KnownExtensionDataSourceStreams string
410
411 const (
412
413 KnownExtensionDataSourceStreamsMicrosoftEvent KnownExtensionDataSourceStreams = "Microsoft-Event"
414
415 KnownExtensionDataSourceStreamsMicrosoftInsightsMetrics KnownExtensionDataSourceStreams = "Microsoft-InsightsMetrics"
416
417 KnownExtensionDataSourceStreamsMicrosoftPerf KnownExtensionDataSourceStreams = "Microsoft-Perf"
418
419 KnownExtensionDataSourceStreamsMicrosoftSyslog KnownExtensionDataSourceStreams = "Microsoft-Syslog"
420
421 KnownExtensionDataSourceStreamsMicrosoftWindowsEvent KnownExtensionDataSourceStreams = "Microsoft-WindowsEvent"
422 )
423
424
425 func PossibleKnownExtensionDataSourceStreamsValues() []KnownExtensionDataSourceStreams {
426 return []KnownExtensionDataSourceStreams{KnownExtensionDataSourceStreamsMicrosoftEvent, KnownExtensionDataSourceStreamsMicrosoftInsightsMetrics, KnownExtensionDataSourceStreamsMicrosoftPerf, KnownExtensionDataSourceStreamsMicrosoftSyslog, KnownExtensionDataSourceStreamsMicrosoftWindowsEvent}
427 }
428
429
430 type KnownPerfCounterDataSourceStreams string
431
432 const (
433
434 KnownPerfCounterDataSourceStreamsMicrosoftInsightsMetrics KnownPerfCounterDataSourceStreams = "Microsoft-InsightsMetrics"
435
436 KnownPerfCounterDataSourceStreamsMicrosoftPerf KnownPerfCounterDataSourceStreams = "Microsoft-Perf"
437 )
438
439
440 func PossibleKnownPerfCounterDataSourceStreamsValues() []KnownPerfCounterDataSourceStreams {
441 return []KnownPerfCounterDataSourceStreams{KnownPerfCounterDataSourceStreamsMicrosoftInsightsMetrics, KnownPerfCounterDataSourceStreamsMicrosoftPerf}
442 }
443
444
445 type KnownPublicNetworkAccessOptions string
446
447 const (
448
449 KnownPublicNetworkAccessOptionsDisabled KnownPublicNetworkAccessOptions = "Disabled"
450
451 KnownPublicNetworkAccessOptionsEnabled KnownPublicNetworkAccessOptions = "Enabled"
452 )
453
454
455 func PossibleKnownPublicNetworkAccessOptionsValues() []KnownPublicNetworkAccessOptions {
456 return []KnownPublicNetworkAccessOptions{KnownPublicNetworkAccessOptionsDisabled, KnownPublicNetworkAccessOptionsEnabled}
457 }
458
459
460 type KnownSyslogDataSourceFacilityNames string
461
462 const (
463
464 KnownSyslogDataSourceFacilityNamesAsterisk KnownSyslogDataSourceFacilityNames = "*"
465
466 KnownSyslogDataSourceFacilityNamesAuth KnownSyslogDataSourceFacilityNames = "auth"
467
468 KnownSyslogDataSourceFacilityNamesAuthpriv KnownSyslogDataSourceFacilityNames = "authpriv"
469
470 KnownSyslogDataSourceFacilityNamesCron KnownSyslogDataSourceFacilityNames = "cron"
471
472 KnownSyslogDataSourceFacilityNamesDaemon KnownSyslogDataSourceFacilityNames = "daemon"
473
474 KnownSyslogDataSourceFacilityNamesKern KnownSyslogDataSourceFacilityNames = "kern"
475
476 KnownSyslogDataSourceFacilityNamesLocal0 KnownSyslogDataSourceFacilityNames = "local0"
477
478 KnownSyslogDataSourceFacilityNamesLocal1 KnownSyslogDataSourceFacilityNames = "local1"
479
480 KnownSyslogDataSourceFacilityNamesLocal2 KnownSyslogDataSourceFacilityNames = "local2"
481
482 KnownSyslogDataSourceFacilityNamesLocal3 KnownSyslogDataSourceFacilityNames = "local3"
483
484 KnownSyslogDataSourceFacilityNamesLocal4 KnownSyslogDataSourceFacilityNames = "local4"
485
486 KnownSyslogDataSourceFacilityNamesLocal5 KnownSyslogDataSourceFacilityNames = "local5"
487
488 KnownSyslogDataSourceFacilityNamesLocal6 KnownSyslogDataSourceFacilityNames = "local6"
489
490 KnownSyslogDataSourceFacilityNamesLocal7 KnownSyslogDataSourceFacilityNames = "local7"
491
492 KnownSyslogDataSourceFacilityNamesLpr KnownSyslogDataSourceFacilityNames = "lpr"
493
494 KnownSyslogDataSourceFacilityNamesMail KnownSyslogDataSourceFacilityNames = "mail"
495
496 KnownSyslogDataSourceFacilityNamesMark KnownSyslogDataSourceFacilityNames = "mark"
497
498 KnownSyslogDataSourceFacilityNamesNews KnownSyslogDataSourceFacilityNames = "news"
499
500 KnownSyslogDataSourceFacilityNamesSyslog KnownSyslogDataSourceFacilityNames = "syslog"
501
502 KnownSyslogDataSourceFacilityNamesUser KnownSyslogDataSourceFacilityNames = "user"
503
504 KnownSyslogDataSourceFacilityNamesUucp KnownSyslogDataSourceFacilityNames = "uucp"
505 )
506
507
508 func PossibleKnownSyslogDataSourceFacilityNamesValues() []KnownSyslogDataSourceFacilityNames {
509 return []KnownSyslogDataSourceFacilityNames{KnownSyslogDataSourceFacilityNamesAsterisk, KnownSyslogDataSourceFacilityNamesAuth, KnownSyslogDataSourceFacilityNamesAuthpriv, KnownSyslogDataSourceFacilityNamesCron, KnownSyslogDataSourceFacilityNamesDaemon, KnownSyslogDataSourceFacilityNamesKern, KnownSyslogDataSourceFacilityNamesLocal0, KnownSyslogDataSourceFacilityNamesLocal1, KnownSyslogDataSourceFacilityNamesLocal2, KnownSyslogDataSourceFacilityNamesLocal3, KnownSyslogDataSourceFacilityNamesLocal4, KnownSyslogDataSourceFacilityNamesLocal5, KnownSyslogDataSourceFacilityNamesLocal6, KnownSyslogDataSourceFacilityNamesLocal7, KnownSyslogDataSourceFacilityNamesLpr, KnownSyslogDataSourceFacilityNamesMail, KnownSyslogDataSourceFacilityNamesMark, KnownSyslogDataSourceFacilityNamesNews, KnownSyslogDataSourceFacilityNamesSyslog, KnownSyslogDataSourceFacilityNamesUser, KnownSyslogDataSourceFacilityNamesUucp}
510 }
511
512
513 type KnownSyslogDataSourceLogLevels string
514
515 const (
516
517 KnownSyslogDataSourceLogLevelsAlert KnownSyslogDataSourceLogLevels = "Alert"
518
519 KnownSyslogDataSourceLogLevelsAsterisk KnownSyslogDataSourceLogLevels = "*"
520
521 KnownSyslogDataSourceLogLevelsCritical KnownSyslogDataSourceLogLevels = "Critical"
522
523 KnownSyslogDataSourceLogLevelsDebug KnownSyslogDataSourceLogLevels = "Debug"
524
525 KnownSyslogDataSourceLogLevelsEmergency KnownSyslogDataSourceLogLevels = "Emergency"
526
527 KnownSyslogDataSourceLogLevelsError KnownSyslogDataSourceLogLevels = "Error"
528
529 KnownSyslogDataSourceLogLevelsInfo KnownSyslogDataSourceLogLevels = "Info"
530
531 KnownSyslogDataSourceLogLevelsNotice KnownSyslogDataSourceLogLevels = "Notice"
532
533 KnownSyslogDataSourceLogLevelsWarning KnownSyslogDataSourceLogLevels = "Warning"
534 )
535
536
537 func PossibleKnownSyslogDataSourceLogLevelsValues() []KnownSyslogDataSourceLogLevels {
538 return []KnownSyslogDataSourceLogLevels{KnownSyslogDataSourceLogLevelsAlert, KnownSyslogDataSourceLogLevelsAsterisk, KnownSyslogDataSourceLogLevelsCritical, KnownSyslogDataSourceLogLevelsDebug, KnownSyslogDataSourceLogLevelsEmergency, KnownSyslogDataSourceLogLevelsError, KnownSyslogDataSourceLogLevelsInfo, KnownSyslogDataSourceLogLevelsNotice, KnownSyslogDataSourceLogLevelsWarning}
539 }
540
541
542 type KnownSyslogDataSourceStreams string
543
544 const (
545
546 KnownSyslogDataSourceStreamsMicrosoftSyslog KnownSyslogDataSourceStreams = "Microsoft-Syslog"
547 )
548
549
550 func PossibleKnownSyslogDataSourceStreamsValues() []KnownSyslogDataSourceStreams {
551 return []KnownSyslogDataSourceStreams{KnownSyslogDataSourceStreamsMicrosoftSyslog}
552 }
553
554
555 type KnownWindowsEventLogDataSourceStreams string
556
557 const (
558
559 KnownWindowsEventLogDataSourceStreamsMicrosoftEvent KnownWindowsEventLogDataSourceStreams = "Microsoft-Event"
560
561 KnownWindowsEventLogDataSourceStreamsMicrosoftWindowsEvent KnownWindowsEventLogDataSourceStreams = "Microsoft-WindowsEvent"
562 )
563
564
565 func PossibleKnownWindowsEventLogDataSourceStreamsValues() []KnownWindowsEventLogDataSourceStreams {
566 return []KnownWindowsEventLogDataSourceStreams{KnownWindowsEventLogDataSourceStreamsMicrosoftEvent, KnownWindowsEventLogDataSourceStreamsMicrosoftWindowsEvent}
567 }
568
569
570 type MetricClass string
571
572 const (
573
574 MetricClassAvailability MetricClass = "Availability"
575
576 MetricClassErrors MetricClass = "Errors"
577
578 MetricClassLatency MetricClass = "Latency"
579
580 MetricClassSaturation MetricClass = "Saturation"
581
582 MetricClassTransactions MetricClass = "Transactions"
583 )
584
585
586 func PossibleMetricClassValues() []MetricClass {
587 return []MetricClass{MetricClassAvailability, MetricClassErrors, MetricClassLatency, MetricClassSaturation, MetricClassTransactions}
588 }
589
590
591 type MetricStatisticType string
592
593 const (
594
595 MetricStatisticTypeAverage MetricStatisticType = "Average"
596
597 MetricStatisticTypeCount MetricStatisticType = "Count"
598
599 MetricStatisticTypeMax MetricStatisticType = "Max"
600
601 MetricStatisticTypeMin MetricStatisticType = "Min"
602
603 MetricStatisticTypeSum MetricStatisticType = "Sum"
604 )
605
606
607 func PossibleMetricStatisticTypeValues() []MetricStatisticType {
608 return []MetricStatisticType{MetricStatisticTypeAverage, MetricStatisticTypeCount, MetricStatisticTypeMax, MetricStatisticTypeMin, MetricStatisticTypeSum}
609 }
610
611
612 type MetricTriggerType string
613
614 const (
615
616 MetricTriggerTypeConsecutive MetricTriggerType = "Consecutive"
617
618 MetricTriggerTypeTotal MetricTriggerType = "Total"
619 )
620
621
622 func PossibleMetricTriggerTypeValues() []MetricTriggerType {
623 return []MetricTriggerType{MetricTriggerTypeConsecutive, MetricTriggerTypeTotal}
624 }
625
626
627 type MetricUnit string
628
629 const (
630
631 MetricUnitBitsPerSecond MetricUnit = "BitsPerSecond"
632
633 MetricUnitBytes MetricUnit = "Bytes"
634
635 MetricUnitByteSeconds MetricUnit = "ByteSeconds"
636
637 MetricUnitBytesPerSecond MetricUnit = "BytesPerSecond"
638
639 MetricUnitCores MetricUnit = "Cores"
640
641 MetricUnitCount MetricUnit = "Count"
642
643 MetricUnitCountPerSecond MetricUnit = "CountPerSecond"
644
645 MetricUnitMilliCores MetricUnit = "MilliCores"
646
647 MetricUnitMilliSeconds MetricUnit = "MilliSeconds"
648
649 MetricUnitNanoCores MetricUnit = "NanoCores"
650
651 MetricUnitPercent MetricUnit = "Percent"
652
653 MetricUnitSeconds MetricUnit = "Seconds"
654
655 MetricUnitUnspecified MetricUnit = "Unspecified"
656 )
657
658
659 func PossibleMetricUnitValues() []MetricUnit {
660 return []MetricUnit{MetricUnitBitsPerSecond, MetricUnitBytes, MetricUnitByteSeconds, MetricUnitBytesPerSecond, MetricUnitCores, MetricUnitCount, MetricUnitCountPerSecond, MetricUnitMilliCores, MetricUnitMilliSeconds, MetricUnitNanoCores, MetricUnitPercent, MetricUnitSeconds, MetricUnitUnspecified}
661 }
662
663
664 type NamespaceClassification string
665
666 const (
667
668 NamespaceClassificationCustom NamespaceClassification = "Custom"
669
670 NamespaceClassificationPlatform NamespaceClassification = "Platform"
671
672 NamespaceClassificationQos NamespaceClassification = "Qos"
673 )
674
675
676 func PossibleNamespaceClassificationValues() []NamespaceClassification {
677 return []NamespaceClassification{NamespaceClassificationCustom, NamespaceClassificationPlatform, NamespaceClassificationQos}
678 }
679
680
681 type OdataType string
682
683 const (
684
685 OdataTypeMicrosoftAzureManagementInsightsModelsRuleManagementEventDataSource OdataType = "Microsoft.Azure.Management.Insights.Models.RuleManagementEventDataSource"
686
687 OdataTypeMicrosoftAzureManagementInsightsModelsRuleMetricDataSource OdataType = "Microsoft.Azure.Management.Insights.Models.RuleMetricDataSource"
688
689 OdataTypeRuleDataSource OdataType = "RuleDataSource"
690 )
691
692
693 func PossibleOdataTypeValues() []OdataType {
694 return []OdataType{OdataTypeMicrosoftAzureManagementInsightsModelsRuleManagementEventDataSource, OdataTypeMicrosoftAzureManagementInsightsModelsRuleMetricDataSource, OdataTypeRuleDataSource}
695 }
696
697
698 type OdataTypeBasicAction string
699
700 const (
701
702 OdataTypeBasicActionOdataTypeAction OdataTypeBasicAction = "Action"
703
704 OdataTypeBasicActionOdataTypeMicrosoftWindowsAzureManagementMonitoringAlertsModelsMicrosoftAppInsightsNexusDataContractsResourcesScheduledQueryRulesAlertingAction OdataTypeBasicAction = "Microsoft.WindowsAzure.Management.Monitoring.Alerts.Models.Microsoft.AppInsights.Nexus.DataContracts.Resources.ScheduledQueryRules.AlertingAction"
705
706 OdataTypeBasicActionOdataTypeMicrosoftWindowsAzureManagementMonitoringAlertsModelsMicrosoftAppInsightsNexusDataContractsResourcesScheduledQueryRulesLogToMetricAction OdataTypeBasicAction = "Microsoft.WindowsAzure.Management.Monitoring.Alerts.Models.Microsoft.AppInsights.Nexus.DataContracts.Resources.ScheduledQueryRules.LogToMetricAction"
707 )
708
709
710 func PossibleOdataTypeBasicActionValues() []OdataTypeBasicAction {
711 return []OdataTypeBasicAction{OdataTypeBasicActionOdataTypeAction, OdataTypeBasicActionOdataTypeMicrosoftWindowsAzureManagementMonitoringAlertsModelsMicrosoftAppInsightsNexusDataContractsResourcesScheduledQueryRulesAlertingAction, OdataTypeBasicActionOdataTypeMicrosoftWindowsAzureManagementMonitoringAlertsModelsMicrosoftAppInsightsNexusDataContractsResourcesScheduledQueryRulesLogToMetricAction}
712 }
713
714
715 type OdataTypeBasicMetricAlertCriteria string
716
717 const (
718
719 OdataTypeBasicMetricAlertCriteriaOdataTypeMetricAlertCriteria OdataTypeBasicMetricAlertCriteria = "MetricAlertCriteria"
720
721 OdataTypeBasicMetricAlertCriteriaOdataTypeMicrosoftAzureMonitorMultipleResourceMultipleMetricCriteria OdataTypeBasicMetricAlertCriteria = "Microsoft.Azure.Monitor.MultipleResourceMultipleMetricCriteria"
722
723 OdataTypeBasicMetricAlertCriteriaOdataTypeMicrosoftAzureMonitorSingleResourceMultipleMetricCriteria OdataTypeBasicMetricAlertCriteria = "Microsoft.Azure.Monitor.SingleResourceMultipleMetricCriteria"
724
725 OdataTypeBasicMetricAlertCriteriaOdataTypeMicrosoftAzureMonitorWebtestLocationAvailabilityCriteria OdataTypeBasicMetricAlertCriteria = "Microsoft.Azure.Monitor.WebtestLocationAvailabilityCriteria"
726 )
727
728
729 func PossibleOdataTypeBasicMetricAlertCriteriaValues() []OdataTypeBasicMetricAlertCriteria {
730 return []OdataTypeBasicMetricAlertCriteria{OdataTypeBasicMetricAlertCriteriaOdataTypeMetricAlertCriteria, OdataTypeBasicMetricAlertCriteriaOdataTypeMicrosoftAzureMonitorMultipleResourceMultipleMetricCriteria, OdataTypeBasicMetricAlertCriteriaOdataTypeMicrosoftAzureMonitorSingleResourceMultipleMetricCriteria, OdataTypeBasicMetricAlertCriteriaOdataTypeMicrosoftAzureMonitorWebtestLocationAvailabilityCriteria}
731 }
732
733
734 type OdataTypeBasicRuleAction string
735
736 const (
737
738 OdataTypeBasicRuleActionOdataTypeMicrosoftAzureManagementInsightsModelsRuleEmailAction OdataTypeBasicRuleAction = "Microsoft.Azure.Management.Insights.Models.RuleEmailAction"
739
740 OdataTypeBasicRuleActionOdataTypeMicrosoftAzureManagementInsightsModelsRuleWebhookAction OdataTypeBasicRuleAction = "Microsoft.Azure.Management.Insights.Models.RuleWebhookAction"
741
742 OdataTypeBasicRuleActionOdataTypeRuleAction OdataTypeBasicRuleAction = "RuleAction"
743 )
744
745
746 func PossibleOdataTypeBasicRuleActionValues() []OdataTypeBasicRuleAction {
747 return []OdataTypeBasicRuleAction{OdataTypeBasicRuleActionOdataTypeMicrosoftAzureManagementInsightsModelsRuleEmailAction, OdataTypeBasicRuleActionOdataTypeMicrosoftAzureManagementInsightsModelsRuleWebhookAction, OdataTypeBasicRuleActionOdataTypeRuleAction}
748 }
749
750
751 type OdataTypeBasicRuleCondition string
752
753 const (
754
755 OdataTypeBasicRuleConditionOdataTypeMicrosoftAzureManagementInsightsModelsLocationThresholdRuleCondition OdataTypeBasicRuleCondition = "Microsoft.Azure.Management.Insights.Models.LocationThresholdRuleCondition"
756
757 OdataTypeBasicRuleConditionOdataTypeMicrosoftAzureManagementInsightsModelsManagementEventRuleCondition OdataTypeBasicRuleCondition = "Microsoft.Azure.Management.Insights.Models.ManagementEventRuleCondition"
758
759 OdataTypeBasicRuleConditionOdataTypeMicrosoftAzureManagementInsightsModelsThresholdRuleCondition OdataTypeBasicRuleCondition = "Microsoft.Azure.Management.Insights.Models.ThresholdRuleCondition"
760
761 OdataTypeBasicRuleConditionOdataTypeRuleCondition OdataTypeBasicRuleCondition = "RuleCondition"
762 )
763
764
765 func PossibleOdataTypeBasicRuleConditionValues() []OdataTypeBasicRuleCondition {
766 return []OdataTypeBasicRuleCondition{OdataTypeBasicRuleConditionOdataTypeMicrosoftAzureManagementInsightsModelsLocationThresholdRuleCondition, OdataTypeBasicRuleConditionOdataTypeMicrosoftAzureManagementInsightsModelsManagementEventRuleCondition, OdataTypeBasicRuleConditionOdataTypeMicrosoftAzureManagementInsightsModelsThresholdRuleCondition, OdataTypeBasicRuleConditionOdataTypeRuleCondition}
767 }
768
769
770 type OnboardingStatus string
771
772 const (
773
774 OnboardingStatusNotOnboarded OnboardingStatus = "notOnboarded"
775
776 OnboardingStatusOnboarded OnboardingStatus = "onboarded"
777
778 OnboardingStatusUnknown OnboardingStatus = "unknown"
779 )
780
781
782 func PossibleOnboardingStatusValues() []OnboardingStatus {
783 return []OnboardingStatus{OnboardingStatusNotOnboarded, OnboardingStatusOnboarded, OnboardingStatusUnknown}
784 }
785
786
787 type Operator string
788
789 const (
790
791 OperatorEquals Operator = "Equals"
792
793 OperatorGreaterThan Operator = "GreaterThan"
794
795 OperatorGreaterThanOrEqual Operator = "GreaterThanOrEqual"
796
797 OperatorLessThan Operator = "LessThan"
798
799 OperatorLessThanOrEqual Operator = "LessThanOrEqual"
800 )
801
802
803 func PossibleOperatorValues() []Operator {
804 return []Operator{OperatorEquals, OperatorGreaterThan, OperatorGreaterThanOrEqual, OperatorLessThan, OperatorLessThanOrEqual}
805 }
806
807
808 type ProvisioningState string
809
810 const (
811
812 ProvisioningStateCanceled ProvisioningState = "Canceled"
813
814 ProvisioningStateDeploying ProvisioningState = "Deploying"
815
816 ProvisioningStateFailed ProvisioningState = "Failed"
817
818 ProvisioningStateSucceeded ProvisioningState = "Succeeded"
819 )
820
821
822 func PossibleProvisioningStateValues() []ProvisioningState {
823 return []ProvisioningState{ProvisioningStateCanceled, ProvisioningStateDeploying, ProvisioningStateFailed, ProvisioningStateSucceeded}
824 }
825
826
827 type QueryType string
828
829 const (
830
831 QueryTypeResultCount QueryType = "ResultCount"
832 )
833
834
835 func PossibleQueryTypeValues() []QueryType {
836 return []QueryType{QueryTypeResultCount}
837 }
838
839
840 type ReceiverStatus string
841
842 const (
843
844 ReceiverStatusDisabled ReceiverStatus = "Disabled"
845
846 ReceiverStatusEnabled ReceiverStatus = "Enabled"
847
848 ReceiverStatusNotSpecified ReceiverStatus = "NotSpecified"
849 )
850
851
852 func PossibleReceiverStatusValues() []ReceiverStatus {
853 return []ReceiverStatus{ReceiverStatusDisabled, ReceiverStatusEnabled, ReceiverStatusNotSpecified}
854 }
855
856
857 type RecurrenceFrequency string
858
859 const (
860
861 RecurrenceFrequencyDay RecurrenceFrequency = "Day"
862
863 RecurrenceFrequencyHour RecurrenceFrequency = "Hour"
864
865 RecurrenceFrequencyMinute RecurrenceFrequency = "Minute"
866
867 RecurrenceFrequencyMonth RecurrenceFrequency = "Month"
868
869 RecurrenceFrequencyNone RecurrenceFrequency = "None"
870
871 RecurrenceFrequencySecond RecurrenceFrequency = "Second"
872
873 RecurrenceFrequencyWeek RecurrenceFrequency = "Week"
874
875 RecurrenceFrequencyYear RecurrenceFrequency = "Year"
876 )
877
878
879 func PossibleRecurrenceFrequencyValues() []RecurrenceFrequency {
880 return []RecurrenceFrequency{RecurrenceFrequencyDay, RecurrenceFrequencyHour, RecurrenceFrequencyMinute, RecurrenceFrequencyMonth, RecurrenceFrequencyNone, RecurrenceFrequencySecond, RecurrenceFrequencyWeek, RecurrenceFrequencyYear}
881 }
882
883
884 type ResultType string
885
886 const (
887
888 ResultTypeData ResultType = "Data"
889
890 ResultTypeMetadata ResultType = "Metadata"
891 )
892
893
894 func PossibleResultTypeValues() []ResultType {
895 return []ResultType{ResultTypeData, ResultTypeMetadata}
896 }
897
898
899 type ScaleDirection string
900
901 const (
902
903 ScaleDirectionDecrease ScaleDirection = "Decrease"
904
905 ScaleDirectionIncrease ScaleDirection = "Increase"
906
907 ScaleDirectionNone ScaleDirection = "None"
908 )
909
910
911 func PossibleScaleDirectionValues() []ScaleDirection {
912 return []ScaleDirection{ScaleDirectionDecrease, ScaleDirectionIncrease, ScaleDirectionNone}
913 }
914
915
916 type ScaleRuleMetricDimensionOperationType string
917
918 const (
919
920 ScaleRuleMetricDimensionOperationTypeEquals ScaleRuleMetricDimensionOperationType = "Equals"
921
922 ScaleRuleMetricDimensionOperationTypeNotEquals ScaleRuleMetricDimensionOperationType = "NotEquals"
923 )
924
925
926 func PossibleScaleRuleMetricDimensionOperationTypeValues() []ScaleRuleMetricDimensionOperationType {
927 return []ScaleRuleMetricDimensionOperationType{ScaleRuleMetricDimensionOperationTypeEquals, ScaleRuleMetricDimensionOperationTypeNotEquals}
928 }
929
930
931 type ScaleType string
932
933 const (
934
935 ScaleTypeChangeCount ScaleType = "ChangeCount"
936
937 ScaleTypeExactCount ScaleType = "ExactCount"
938
939 ScaleTypePercentChangeCount ScaleType = "PercentChangeCount"
940
941 ScaleTypeServiceAllowedNextValue ScaleType = "ServiceAllowedNextValue"
942 )
943
944
945 func PossibleScaleTypeValues() []ScaleType {
946 return []ScaleType{ScaleTypeChangeCount, ScaleTypeExactCount, ScaleTypePercentChangeCount, ScaleTypeServiceAllowedNextValue}
947 }
948
949
950 type TimeAggregationOperator string
951
952 const (
953
954 TimeAggregationOperatorAverage TimeAggregationOperator = "Average"
955
956 TimeAggregationOperatorLast TimeAggregationOperator = "Last"
957
958 TimeAggregationOperatorMaximum TimeAggregationOperator = "Maximum"
959
960 TimeAggregationOperatorMinimum TimeAggregationOperator = "Minimum"
961
962 TimeAggregationOperatorTotal TimeAggregationOperator = "Total"
963 )
964
965
966 func PossibleTimeAggregationOperatorValues() []TimeAggregationOperator {
967 return []TimeAggregationOperator{TimeAggregationOperatorAverage, TimeAggregationOperatorLast, TimeAggregationOperatorMaximum, TimeAggregationOperatorMinimum, TimeAggregationOperatorTotal}
968 }
969
970
971 type TimeAggregationType string
972
973 const (
974
975 TimeAggregationTypeAverage TimeAggregationType = "Average"
976
977 TimeAggregationTypeCount TimeAggregationType = "Count"
978
979 TimeAggregationTypeLast TimeAggregationType = "Last"
980
981 TimeAggregationTypeMaximum TimeAggregationType = "Maximum"
982
983 TimeAggregationTypeMinimum TimeAggregationType = "Minimum"
984
985 TimeAggregationTypeTotal TimeAggregationType = "Total"
986 )
987
988
989 func PossibleTimeAggregationTypeValues() []TimeAggregationType {
990 return []TimeAggregationType{TimeAggregationTypeAverage, TimeAggregationTypeCount, TimeAggregationTypeLast, TimeAggregationTypeMaximum, TimeAggregationTypeMinimum, TimeAggregationTypeTotal}
991 }
992
View as plain text