1# coding=utf-8
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# Code generated by Microsoft (R) Python Code Generator.
6# Changes may cause incorrect behavior and will be lost if the code is regenerated.
7# --------------------------------------------------------------------------
8
9from enum import Enum
10from azure.core import CaseInsensitiveEnumMeta
11
12
13class Action(str, Enum, metaclass=CaseInsensitiveEnumMeta):
14 """Install/Uninstall action."""
15
16 INSTALL = "Install"
17 """INSTALL."""
18 UNINSTALL = "Uninstall"
19 """UNINSTALL."""
20
21
22class ActionType(str, Enum, metaclass=CaseInsensitiveEnumMeta):
23 """Extensible enum. Indicates the action type. "Internal" refers to actions that are for internal
24 only APIs.
25 """
26
27 INTERNAL = "Internal"
28 """Actions are for internal-only APIs."""
29
30
31class AutoUpdateSetting(str, Enum, metaclass=CaseInsensitiveEnumMeta):
32 """Update settings of OneAgent."""
33
34 ENABLED = "ENABLED"
35 """ENABLED."""
36 DISABLED = "DISABLED"
37 """DISABLED."""
38
39
40class AvailabilityState(str, Enum, metaclass=CaseInsensitiveEnumMeta):
41 """The availability state of OneAgent."""
42
43 CRASHED = "CRASHED"
44 """CRASHED."""
45 LOST = "LOST"
46 """LOST."""
47 MONITORED = "MONITORED"
48 """MONITORED."""
49 PRE_MONITORED = "PRE_MONITORED"
50 """PRE_MONITORED."""
51 SHUTDOWN = "SHUTDOWN"
52 """SHUTDOWN."""
53 UNEXPECTED_SHUTDOWN = "UNEXPECTED_SHUTDOWN"
54 """UNEXPECTED_SHUTDOWN."""
55 UNKNOWN = "UNKNOWN"
56 """UNKNOWN."""
57 UNMONITORED = "UNMONITORED"
58 """UNMONITORED."""
59
60
61class CreatedByType(str, Enum, metaclass=CaseInsensitiveEnumMeta):
62 """The kind of entity that created the resource."""
63
64 USER = "User"
65 """The entity was created by a user."""
66 APPLICATION = "Application"
67 """The entity was created by an application."""
68 MANAGED_IDENTITY = "ManagedIdentity"
69 """The entity was created by a managed identity."""
70 KEY = "Key"
71 """The entity was created by a key."""
72
73
74class LiftrResourceCategories(str, Enum, metaclass=CaseInsensitiveEnumMeta):
75 """Liftr resource category."""
76
77 UNKNOWN = "Unknown"
78 """UNKNOWN."""
79 MONITOR_LOGS = "MonitorLogs"
80 """MONITOR_LOGS."""
81
82
83class LogModule(str, Enum, metaclass=CaseInsensitiveEnumMeta):
84 """Tells whether log modules are enabled or not."""
85
86 ENABLED = "ENABLED"
87 """ENABLED."""
88 DISABLED = "DISABLED"
89 """DISABLED."""
90
91
92class ManagedIdentityType(str, Enum, metaclass=CaseInsensitiveEnumMeta):
93 """The kind of managed identity assigned to this resource."""
94
95 SYSTEM_ASSIGNED = "SystemAssigned"
96 """SYSTEM_ASSIGNED."""
97 USER_ASSIGNED = "UserAssigned"
98 """USER_ASSIGNED."""
99 SYSTEM_AND_USER_ASSIGNED = "SystemAndUserAssigned"
100 """SYSTEM_AND_USER_ASSIGNED."""
101
102
103class ManagedServiceIdentityType(str, Enum, metaclass=CaseInsensitiveEnumMeta):
104 """Type of managed service identity (where both SystemAssigned and UserAssigned types are
105 allowed).
106 """
107
108 NONE = "None"
109 """No managed identity."""
110 SYSTEM_ASSIGNED = "SystemAssigned"
111 """System assigned managed identity."""
112 USER_ASSIGNED = "UserAssigned"
113 """User assigned managed identity."""
114 SYSTEM_ASSIGNED_USER_ASSIGNED = "SystemAssigned,UserAssigned"
115 """System and user assigned managed identity."""
116
117
118class MarketplaceSaasAutoRenew(str, Enum, metaclass=CaseInsensitiveEnumMeta):
119 """Marketplace resource autorenew flag."""
120
121 ON = "On"
122 """ON."""
123 OFF = "Off"
124 """OFF."""
125
126
127class MarketplaceSubscriptionStatus(str, Enum, metaclass=CaseInsensitiveEnumMeta):
128 """Flag specifying the Marketplace Subscription Status of the resource. If payment is not made in
129 time, the resource will go in Suspended state.
130 """
131
132 ACTIVE = "Active"
133 """ACTIVE."""
134 SUSPENDED = "Suspended"
135 """SUSPENDED."""
136 UNSUBSCRIBED = "Unsubscribed"
137 """UNSUBSCRIBED."""
138
139
140class MonitoringStatus(str, Enum, metaclass=CaseInsensitiveEnumMeta):
141 """Flag specifying if the resource monitoring is enabled or disabled."""
142
143 ENABLED = "Enabled"
144 """ENABLED."""
145 DISABLED = "Disabled"
146 """DISABLED."""
147
148
149class MonitoringType(str, Enum, metaclass=CaseInsensitiveEnumMeta):
150 """The monitoring mode of OneAgent."""
151
152 CLOUD_INFRASTRUCTURE = "CLOUD_INFRASTRUCTURE"
153 """CLOUD_INFRASTRUCTURE."""
154 FULL_STACK = "FULL_STACK"
155 """FULL_STACK."""
156 DISCOVERY = "DISCOVERY"
157 """DISCOVERY."""
158
159
160class Origin(str, Enum, metaclass=CaseInsensitiveEnumMeta):
161 """The intended executor of the operation; as in Resource Based Access Control (RBAC) and audit
162 logs UX. Default value is "user,system".
163 """
164
165 USER = "user"
166 """Indicates the operation is initiated by a user."""
167 SYSTEM = "system"
168 """Indicates the operation is initiated by a system."""
169 USER_SYSTEM = "user,system"
170 """Indicates the operation is initiated by a user or system."""
171
172
173class ProvisioningState(str, Enum, metaclass=CaseInsensitiveEnumMeta):
174 """Provisioning state of the monitoring resource."""
175
176 ACCEPTED = "Accepted"
177 """ACCEPTED."""
178 CREATING = "Creating"
179 """CREATING."""
180 UPDATING = "Updating"
181 """UPDATING."""
182 DELETING = "Deleting"
183 """DELETING."""
184 SUCCEEDED = "Succeeded"
185 """SUCCEEDED."""
186 FAILED = "Failed"
187 """FAILED."""
188 CANCELED = "Canceled"
189 """CANCELED."""
190 DELETED = "Deleted"
191 """DELETED."""
192 NOT_SPECIFIED = "NotSpecified"
193 """NOT_SPECIFIED."""
194
195
196class SendAadLogsStatus(str, Enum, metaclass=CaseInsensitiveEnumMeta):
197 """Indicates whether AAD logs are being sent."""
198
199 ENABLED = "Enabled"
200 """ENABLED."""
201 DISABLED = "Disabled"
202 """DISABLED."""
203
204
205class SendActivityLogsStatus(str, Enum, metaclass=CaseInsensitiveEnumMeta):
206 """Indicates whether activity logs are being sent."""
207
208 ENABLED = "Enabled"
209 """ENABLED."""
210 DISABLED = "Disabled"
211 """DISABLED."""
212
213
214class SendingLogsStatus(str, Enum, metaclass=CaseInsensitiveEnumMeta):
215 """Indicates whether logs are being sent."""
216
217 ENABLED = "Enabled"
218 """ENABLED."""
219 DISABLED = "Disabled"
220 """DISABLED."""
221
222
223class SendingMetricsStatus(str, Enum, metaclass=CaseInsensitiveEnumMeta):
224 """Indicates whether metrics are being sent."""
225
226 ENABLED = "Enabled"
227 """ENABLED."""
228 DISABLED = "Disabled"
229 """DISABLED."""
230
231
232class SendSubscriptionLogsStatus(str, Enum, metaclass=CaseInsensitiveEnumMeta):
233 """Indicates whether subscription logs are being sent."""
234
235 ENABLED = "Enabled"
236 """ENABLED."""
237 DISABLED = "Disabled"
238 """DISABLED."""
239
240
241class SingleSignOnStates(str, Enum, metaclass=CaseInsensitiveEnumMeta):
242 """Various states of the SSO resource."""
243
244 INITIAL = "Initial"
245 """INITIAL."""
246 ENABLE = "Enable"
247 """ENABLE."""
248 DISABLE = "Disable"
249 """DISABLE."""
250 EXISTING = "Existing"
251 """EXISTING."""
252
253
254class SSOStatus(str, Enum, metaclass=CaseInsensitiveEnumMeta):
255 """Indicates whether SSO is enabled or not."""
256
257 ENABLED = "Enabled"
258 """ENABLED."""
259 DISABLED = "Disabled"
260 """DISABLED."""
261
262
263class Status(str, Enum, metaclass=CaseInsensitiveEnumMeta):
264 """The state of monitoring."""
265
266 IN_PROGRESS = "InProgress"
267 """IN_PROGRESS."""
268 ACTIVE = "Active"
269 """ACTIVE."""
270 FAILED = "Failed"
271 """FAILED."""
272 DELETING = "Deleting"
273 """DELETING."""
274
275
276class SubscriptionListOperation(str, Enum, metaclass=CaseInsensitiveEnumMeta):
277 """The operation for the patch on the resource."""
278
279 ADD_BEGIN = "AddBegin"
280 """ADD_BEGIN."""
281 ADD_COMPLETE = "AddComplete"
282 """ADD_COMPLETE."""
283 DELETE_BEGIN = "DeleteBegin"
284 """DELETE_BEGIN."""
285 DELETE_COMPLETE = "DeleteComplete"
286 """DELETE_COMPLETE."""
287 ACTIVE = "Active"
288 """ACTIVE."""
289
290
291class TagAction(str, Enum, metaclass=CaseInsensitiveEnumMeta):
292 """Valid actions for a filtering tag. Exclusion takes priority over inclusion."""
293
294 INCLUDE = "Include"
295 """INCLUDE."""
296 EXCLUDE = "Exclude"
297 """EXCLUDE."""
298
299
300class UpdateStatus(str, Enum, metaclass=CaseInsensitiveEnumMeta):
301 """The current update status of OneAgent."""
302
303 INCOMPATIBLE = "INCOMPATIBLE"
304 """INCOMPATIBLE."""
305 OUTDATED = "OUTDATED"
306 """OUTDATED."""
307 SCHEDULED = "SCHEDULED"
308 """SCHEDULED."""
309 SUPPRESSED = "SUPPRESSED"
310 """SUPPRESSED."""
311 UNKNOWN = "UNKNOWN"
312 """UNKNOWN."""
313 UP2_DATE = "UP2DATE"
314 """UP2_DATE."""
315 UPDATE_IN_PROGRESS = "UPDATE_IN_PROGRESS"
316 """UPDATE_IN_PROGRESS."""
317 UPDATE_PENDING = "UPDATE_PENDING"
318 """UPDATE_PENDING."""
319 UPDATE_PROBLEM = "UPDATE_PROBLEM"
320 """UPDATE_PROBLEM."""