1package workloadmonitor
2
3// Copyright (c) Microsoft Corporation. All rights reserved.
4// Licensed under the MIT License. See License.txt in the project root for license information.
5//
6// Code generated by Microsoft (R) AutoRest Code Generator.
7// Changes may cause incorrect behavior and will be lost if the code is regenerated.
8
9// AlertGeneration enumerates the values for alert generation.
10type AlertGeneration string
11
12const (
13	// Disabled ...
14	Disabled AlertGeneration = "Disabled"
15	// Enabled ...
16	Enabled AlertGeneration = "Enabled"
17)
18
19// PossibleAlertGenerationValues returns an array of possible values for the AlertGeneration const type.
20func PossibleAlertGenerationValues() []AlertGeneration {
21	return []AlertGeneration{Disabled, Enabled}
22}
23
24// HealthState enumerates the values for health state.
25type HealthState string
26
27const (
28	// Error ...
29	Error HealthState = "Error"
30	// Success ...
31	Success HealthState = "Success"
32	// Uninitialized ...
33	Uninitialized HealthState = "Uninitialized"
34	// Unknown ...
35	Unknown HealthState = "Unknown"
36	// Warning ...
37	Warning HealthState = "Warning"
38)
39
40// PossibleHealthStateValues returns an array of possible values for the HealthState const type.
41func PossibleHealthStateValues() []HealthState {
42	return []HealthState{Error, Success, Uninitialized, Unknown, Warning}
43}
44
45// HealthStateCategory enumerates the values for health state category.
46type HealthStateCategory string
47
48const (
49	// CustomGroup ...
50	CustomGroup HealthStateCategory = "CustomGroup"
51	// Identity ...
52	Identity HealthStateCategory = "Identity"
53)
54
55// PossibleHealthStateCategoryValues returns an array of possible values for the HealthStateCategory const type.
56func PossibleHealthStateCategoryValues() []HealthStateCategory {
57	return []HealthStateCategory{CustomGroup, Identity}
58}
59
60// MonitorCategory enumerates the values for monitor category.
61type MonitorCategory string
62
63const (
64	// AvailabilityHealth ...
65	AvailabilityHealth MonitorCategory = "AvailabilityHealth"
66	// Configuration ...
67	Configuration MonitorCategory = "Configuration"
68	// EntityHealth ...
69	EntityHealth MonitorCategory = "EntityHealth"
70	// PerformanceHealth ...
71	PerformanceHealth MonitorCategory = "PerformanceHealth"
72	// Security ...
73	Security MonitorCategory = "Security"
74)
75
76// PossibleMonitorCategoryValues returns an array of possible values for the MonitorCategory const type.
77func PossibleMonitorCategoryValues() []MonitorCategory {
78	return []MonitorCategory{AvailabilityHealth, Configuration, EntityHealth, PerformanceHealth, Security}
79}
80
81// MonitorState enumerates the values for monitor state.
82type MonitorState string
83
84const (
85	// MonitorStateDisabled ...
86	MonitorStateDisabled MonitorState = "Disabled"
87	// MonitorStateEnabled ...
88	MonitorStateEnabled MonitorState = "Enabled"
89)
90
91// PossibleMonitorStateValues returns an array of possible values for the MonitorState const type.
92func PossibleMonitorStateValues() []MonitorState {
93	return []MonitorState{MonitorStateDisabled, MonitorStateEnabled}
94}
95
96// MonitorType enumerates the values for monitor type.
97type MonitorType string
98
99const (
100	// Aggregate ...
101	Aggregate MonitorType = "Aggregate"
102	// Dependency ...
103	Dependency MonitorType = "Dependency"
104	// Unit ...
105	Unit MonitorType = "Unit"
106)
107
108// PossibleMonitorTypeValues returns an array of possible values for the MonitorType const type.
109func PossibleMonitorTypeValues() []MonitorType {
110	return []MonitorType{Aggregate, Dependency, Unit}
111}
112
113// Operator enumerates the values for operator.
114type Operator string
115
116const (
117	// Equals ...
118	Equals Operator = "Equals"
119	// GreaterThan ...
120	GreaterThan Operator = "GreaterThan"
121	// GreaterThanOrEqual ...
122	GreaterThanOrEqual Operator = "GreaterThanOrEqual"
123	// LessThan ...
124	LessThan Operator = "LessThan"
125	// LessThanOrEqual ...
126	LessThanOrEqual Operator = "LessThanOrEqual"
127	// NotEquals ...
128	NotEquals Operator = "NotEquals"
129)
130
131// PossibleOperatorValues returns an array of possible values for the Operator const type.
132func PossibleOperatorValues() []Operator {
133	return []Operator{Equals, GreaterThan, GreaterThanOrEqual, LessThan, LessThanOrEqual, NotEquals}
134}
135
136// WorkloadType enumerates the values for workload type.
137type WorkloadType string
138
139const (
140	// Apache ...
141	Apache WorkloadType = "Apache"
142	// BaseOS ...
143	BaseOS WorkloadType = "BaseOS"
144	// IIS ...
145	IIS WorkloadType = "IIS"
146	// SQL ...
147	SQL WorkloadType = "SQL"
148)
149
150// PossibleWorkloadTypeValues returns an array of possible values for the WorkloadType const type.
151func PossibleWorkloadTypeValues() []WorkloadType {
152	return []WorkloadType{Apache, BaseOS, IIS, SQL}
153}
154