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) AutoRest Code Generator.
6# Changes may cause incorrect behavior and will be lost if the code is regenerated.
7# --------------------------------------------------------------------------
8
9from enum import Enum, EnumMeta
10from six import with_metaclass
11
12class _CaseInsensitiveEnumMeta(EnumMeta):
13    def __getitem__(self, name):
14        return super().__getitem__(name.upper())
15
16    def __getattr__(cls, name):
17        """Return the enum member matching `name`
18        We use __getattr__ instead of descriptors or inserting into the enum
19        class' __dict__ in order to support `name` and `value` being both
20        properties for enum members (which live in the class' __dict__) and
21        enum members themselves.
22        """
23        try:
24            return cls._member_map_[name.upper()]
25        except KeyError:
26            raise AttributeError(name)
27
28
29class Access(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)):
30    """Access to be allowed or denied.
31    """
32
33    ALLOW = "Allow"
34    DENY = "Deny"
35
36class ApplicationGatewayBackendHealthServerHealth(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)):
37    """Health of backend server.
38    """
39
40    UNKNOWN = "Unknown"
41    UP = "Up"
42    DOWN = "Down"
43    PARTIAL = "Partial"
44    DRAINING = "Draining"
45
46class ApplicationGatewayCookieBasedAffinity(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)):
47    """Cookie based affinity.
48    """
49
50    ENABLED = "Enabled"
51    DISABLED = "Disabled"
52
53class ApplicationGatewayCustomErrorStatusCode(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)):
54    """Status code of the application gateway customer error.
55    """
56
57    HTTP_STATUS403 = "HttpStatus403"
58    HTTP_STATUS502 = "HttpStatus502"
59
60class ApplicationGatewayFirewallMode(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)):
61    """Web application firewall mode.
62    """
63
64    DETECTION = "Detection"
65    PREVENTION = "Prevention"
66
67class ApplicationGatewayOperationalState(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)):
68    """Operational state of the application gateway resource.
69    """
70
71    STOPPED = "Stopped"
72    STARTING = "Starting"
73    RUNNING = "Running"
74    STOPPING = "Stopping"
75
76class ApplicationGatewayProtocol(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)):
77    """Application Gateway protocol.
78    """
79
80    HTTP = "Http"
81    HTTPS = "Https"
82
83class ApplicationGatewayRedirectType(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)):
84    """Redirect type enum.
85    """
86
87    PERMANENT = "Permanent"
88    FOUND = "Found"
89    SEE_OTHER = "SeeOther"
90    TEMPORARY = "Temporary"
91
92class ApplicationGatewayRequestRoutingRuleType(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)):
93    """Rule type.
94    """
95
96    BASIC = "Basic"
97    PATH_BASED_ROUTING = "PathBasedRouting"
98
99class ApplicationGatewaySkuName(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)):
100    """Name of an application gateway SKU.
101    """
102
103    STANDARD_SMALL = "Standard_Small"
104    STANDARD_MEDIUM = "Standard_Medium"
105    STANDARD_LARGE = "Standard_Large"
106    WAF_MEDIUM = "WAF_Medium"
107    WAF_LARGE = "WAF_Large"
108    STANDARD_V2 = "Standard_v2"
109    WAF_V2 = "WAF_v2"
110
111class ApplicationGatewaySslCipherSuite(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)):
112    """Ssl cipher suites enums.
113    """
114
115    TLS_ECDHE_RSA_WITH_AES256_CBC_SHA384 = "TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384"
116    TLS_ECDHE_RSA_WITH_AES128_CBC_SHA256 = "TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256"
117    TLS_ECDHE_RSA_WITH_AES256_CBC_SHA = "TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA"
118    TLS_ECDHE_RSA_WITH_AES128_CBC_SHA = "TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA"
119    TLS_DHE_RSA_WITH_AES256_GCM_SHA384 = "TLS_DHE_RSA_WITH_AES_256_GCM_SHA384"
120    TLS_DHE_RSA_WITH_AES128_GCM_SHA256 = "TLS_DHE_RSA_WITH_AES_128_GCM_SHA256"
121    TLS_DHE_RSA_WITH_AES256_CBC_SHA = "TLS_DHE_RSA_WITH_AES_256_CBC_SHA"
122    TLS_DHE_RSA_WITH_AES128_CBC_SHA = "TLS_DHE_RSA_WITH_AES_128_CBC_SHA"
123    TLS_RSA_WITH_AES256_GCM_SHA384 = "TLS_RSA_WITH_AES_256_GCM_SHA384"
124    TLS_RSA_WITH_AES128_GCM_SHA256 = "TLS_RSA_WITH_AES_128_GCM_SHA256"
125    TLS_RSA_WITH_AES256_CBC_SHA256 = "TLS_RSA_WITH_AES_256_CBC_SHA256"
126    TLS_RSA_WITH_AES128_CBC_SHA256 = "TLS_RSA_WITH_AES_128_CBC_SHA256"
127    TLS_RSA_WITH_AES256_CBC_SHA = "TLS_RSA_WITH_AES_256_CBC_SHA"
128    TLS_RSA_WITH_AES128_CBC_SHA = "TLS_RSA_WITH_AES_128_CBC_SHA"
129    TLS_ECDHE_ECDSA_WITH_AES256_GCM_SHA384 = "TLS_ECDHE_ECDSA_WITH_AES_256_GCM_SHA384"
130    TLS_ECDHE_ECDSA_WITH_AES128_GCM_SHA256 = "TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256"
131    TLS_ECDHE_ECDSA_WITH_AES256_CBC_SHA384 = "TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA384"
132    TLS_ECDHE_ECDSA_WITH_AES128_CBC_SHA256 = "TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA256"
133    TLS_ECDHE_ECDSA_WITH_AES256_CBC_SHA = "TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA"
134    TLS_ECDHE_ECDSA_WITH_AES128_CBC_SHA = "TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA"
135    TLS_DHE_DSS_WITH_AES256_CBC_SHA256 = "TLS_DHE_DSS_WITH_AES_256_CBC_SHA256"
136    TLS_DHE_DSS_WITH_AES128_CBC_SHA256 = "TLS_DHE_DSS_WITH_AES_128_CBC_SHA256"
137    TLS_DHE_DSS_WITH_AES256_CBC_SHA = "TLS_DHE_DSS_WITH_AES_256_CBC_SHA"
138    TLS_DHE_DSS_WITH_AES128_CBC_SHA = "TLS_DHE_DSS_WITH_AES_128_CBC_SHA"
139    TLS_RSA_WITH3_DES_EDE_CBC_SHA = "TLS_RSA_WITH_3DES_EDE_CBC_SHA"
140    TLS_DHE_DSS_WITH3_DES_EDE_CBC_SHA = "TLS_DHE_DSS_WITH_3DES_EDE_CBC_SHA"
141    TLS_ECDHE_RSA_WITH_AES128_GCM_SHA256 = "TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256"
142    TLS_ECDHE_RSA_WITH_AES256_GCM_SHA384 = "TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384"
143
144class ApplicationGatewaySslPolicyName(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)):
145    """Ssl predefined policy name enums.
146    """
147
148    APP_GW_SSL_POLICY20150501 = "AppGwSslPolicy20150501"
149    APP_GW_SSL_POLICY20170401 = "AppGwSslPolicy20170401"
150    APP_GW_SSL_POLICY20170401_S = "AppGwSslPolicy20170401S"
151
152class ApplicationGatewaySslPolicyType(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)):
153    """Type of Ssl Policy.
154    """
155
156    PREDEFINED = "Predefined"
157    CUSTOM = "Custom"
158
159class ApplicationGatewaySslProtocol(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)):
160    """Ssl protocol enums.
161    """
162
163    TL_SV1_0 = "TLSv1_0"
164    TL_SV1_1 = "TLSv1_1"
165    TL_SV1_2 = "TLSv1_2"
166
167class ApplicationGatewayTier(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)):
168    """Tier of an application gateway.
169    """
170
171    STANDARD = "Standard"
172    WAF = "WAF"
173    STANDARD_V2 = "Standard_v2"
174    WAF_V2 = "WAF_v2"
175
176class AssociationType(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)):
177    """The association type of the child resource to the parent resource.
178    """
179
180    ASSOCIATED = "Associated"
181    CONTAINS = "Contains"
182
183class AuthenticationMethod(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)):
184    """VPN client authentication method.
185    """
186
187    EAPTLS = "EAPTLS"
188    EAPMSCHA_PV2 = "EAPMSCHAPv2"
189
190class AuthorizationUseStatus(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)):
191    """The authorization use status.
192    """
193
194    AVAILABLE = "Available"
195    IN_USE = "InUse"
196
197class AzureFirewallApplicationRuleProtocolType(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)):
198    """The protocol type of a Application Rule resource.
199    """
200
201    HTTP = "Http"
202    HTTPS = "Https"
203
204class AzureFirewallNatRCActionType(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)):
205    """The action type of a NAT rule collection.
206    """
207
208    SNAT = "Snat"
209    DNAT = "Dnat"
210
211class AzureFirewallNetworkRuleProtocol(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)):
212    """The protocol of a Network Rule resource.
213    """
214
215    TCP = "TCP"
216    UDP = "UDP"
217    ANY = "Any"
218    ICMP = "ICMP"
219
220class AzureFirewallRCActionType(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)):
221    """The action type of a rule collection.
222    """
223
224    ALLOW = "Allow"
225    DENY = "Deny"
226
227class AzureFirewallThreatIntelMode(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)):
228    """The operation mode for Threat Intel.
229    """
230
231    ALERT = "Alert"
232    DENY = "Deny"
233    OFF = "Off"
234
235class BgpPeerState(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)):
236    """The BGP peer state.
237    """
238
239    UNKNOWN = "Unknown"
240    STOPPED = "Stopped"
241    IDLE = "Idle"
242    CONNECTING = "Connecting"
243    CONNECTED = "Connected"
244
245class CircuitConnectionStatus(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)):
246    """Express Route Circuit connection state.
247    """
248
249    CONNECTED = "Connected"
250    CONNECTING = "Connecting"
251    DISCONNECTED = "Disconnected"
252
253class ConnectionMonitorSourceStatus(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)):
254    """Status of connection monitor source.
255    """
256
257    UNKNOWN = "Unknown"
258    ACTIVE = "Active"
259    INACTIVE = "Inactive"
260
261class ConnectionState(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)):
262    """The connection state.
263    """
264
265    REACHABLE = "Reachable"
266    UNREACHABLE = "Unreachable"
267    UNKNOWN = "Unknown"
268
269class ConnectionStatus(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)):
270    """The connection status.
271    """
272
273    UNKNOWN = "Unknown"
274    CONNECTED = "Connected"
275    DISCONNECTED = "Disconnected"
276    DEGRADED = "Degraded"
277
278class DdosCustomPolicyProtocol(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)):
279    """The protocol for which the DDoS protection policy is being customized.
280    """
281
282    TCP = "Tcp"
283    UDP = "Udp"
284    SYN = "Syn"
285
286class DdosCustomPolicyTriggerSensitivityOverride(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)):
287    """The customized DDoS protection trigger rate sensitivity degrees. High: Trigger rate set with
288    most sensitivity w.r.t. normal traffic. Default: Trigger rate set with moderate sensitivity
289    w.r.t. normal traffic. Low: Trigger rate set with less sensitivity w.r.t. normal traffic.
290    Relaxed: Trigger rate set with least sensitivity w.r.t. normal traffic.
291    """
292
293    RELAXED = "Relaxed"
294    LOW = "Low"
295    DEFAULT = "Default"
296    HIGH = "High"
297
298class DdosSettingsProtectionCoverage(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)):
299    """The DDoS protection policy customizability of the public IP. Only standard coverage will have
300    the ability to be customized.
301    """
302
303    BASIC = "Basic"
304    STANDARD = "Standard"
305
306class DhGroup(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)):
307    """The DH Groups used in IKE Phase 1 for initial SA.
308    """
309
310    NONE = "None"
311    DH_GROUP1 = "DHGroup1"
312    DH_GROUP2 = "DHGroup2"
313    DH_GROUP14 = "DHGroup14"
314    DH_GROUP2048 = "DHGroup2048"
315    ECP256 = "ECP256"
316    ECP384 = "ECP384"
317    DH_GROUP24 = "DHGroup24"
318
319class Direction(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)):
320    """The direction of the traffic.
321    """
322
323    INBOUND = "Inbound"
324    OUTBOUND = "Outbound"
325
326class EffectiveRouteSource(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)):
327    """Who created the route.
328    """
329
330    UNKNOWN = "Unknown"
331    USER = "User"
332    VIRTUAL_NETWORK_GATEWAY = "VirtualNetworkGateway"
333    DEFAULT = "Default"
334
335class EffectiveRouteState(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)):
336    """The value of effective route.
337    """
338
339    ACTIVE = "Active"
340    INVALID = "Invalid"
341
342class EffectiveSecurityRuleProtocol(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)):
343    """The network protocol this rule applies to.
344    """
345
346    TCP = "Tcp"
347    UDP = "Udp"
348    ALL = "All"
349
350class EvaluationState(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)):
351    """Connectivity analysis evaluation state.
352    """
353
354    NOT_STARTED = "NotStarted"
355    IN_PROGRESS = "InProgress"
356    COMPLETED = "Completed"
357
358class ExpressRouteCircuitPeeringAdvertisedPublicPrefixState(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)):
359    """The advertised public prefix state of the Peering resource.
360    """
361
362    NOT_CONFIGURED = "NotConfigured"
363    CONFIGURING = "Configuring"
364    CONFIGURED = "Configured"
365    VALIDATION_NEEDED = "ValidationNeeded"
366
367class ExpressRouteCircuitPeeringState(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)):
368    """The state of peering.
369    """
370
371    DISABLED = "Disabled"
372    ENABLED = "Enabled"
373
374class ExpressRouteCircuitSkuFamily(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)):
375    """The family of the SKU.
376    """
377
378    UNLIMITED_DATA = "UnlimitedData"
379    METERED_DATA = "MeteredData"
380
381class ExpressRouteCircuitSkuTier(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)):
382    """The tier of the SKU.
383    """
384
385    STANDARD = "Standard"
386    PREMIUM = "Premium"
387    BASIC = "Basic"
388    LOCAL = "Local"
389
390class ExpressRouteLinkAdminState(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)):
391    """Administrative state of the physical port.
392    """
393
394    ENABLED = "Enabled"
395    DISABLED = "Disabled"
396
397class ExpressRouteLinkConnectorType(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)):
398    """Physical fiber port type.
399    """
400
401    LC = "LC"
402    SC = "SC"
403
404class ExpressRoutePeeringState(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)):
405    """The state of peering.
406    """
407
408    DISABLED = "Disabled"
409    ENABLED = "Enabled"
410
411class ExpressRoutePeeringType(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)):
412    """The peering type.
413    """
414
415    AZURE_PUBLIC_PEERING = "AzurePublicPeering"
416    AZURE_PRIVATE_PEERING = "AzurePrivatePeering"
417    MICROSOFT_PEERING = "MicrosoftPeering"
418
419class ExpressRoutePortsEncapsulation(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)):
420    """Encapsulation method on physical ports.
421    """
422
423    DOT1_Q = "Dot1Q"
424    QIN_Q = "QinQ"
425
426class FlowLogFormatType(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)):
427    """The file type of flow log.
428    """
429
430    JSON = "JSON"
431
432class HTTPMethod(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)):
433    """HTTP method.
434    """
435
436    GET = "Get"
437
438class HubVirtualNetworkConnectionStatus(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)):
439    """The current state of the VirtualHub to vnet connection.
440    """
441
442    UNKNOWN = "Unknown"
443    CONNECTING = "Connecting"
444    CONNECTED = "Connected"
445    NOT_CONNECTED = "NotConnected"
446
447class IkeEncryption(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)):
448    """The IKE encryption algorithm (IKE phase 2).
449    """
450
451    DES = "DES"
452    DES3 = "DES3"
453    AES128 = "AES128"
454    AES192 = "AES192"
455    AES256 = "AES256"
456    GCMAES256 = "GCMAES256"
457    GCMAES128 = "GCMAES128"
458
459class IkeIntegrity(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)):
460    """The IKE integrity algorithm (IKE phase 2).
461    """
462
463    MD5 = "MD5"
464    SHA1 = "SHA1"
465    SHA256 = "SHA256"
466    SHA384 = "SHA384"
467    GCMAES256 = "GCMAES256"
468    GCMAES128 = "GCMAES128"
469
470class IPAllocationMethod(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)):
471    """IP address allocation method.
472    """
473
474    STATIC = "Static"
475    DYNAMIC = "Dynamic"
476
477class IpFlowProtocol(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)):
478    """Protocol to be verified on.
479    """
480
481    TCP = "TCP"
482    UDP = "UDP"
483
484class IpsecEncryption(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)):
485    """The IPSec encryption algorithm (IKE phase 1).
486    """
487
488    NONE = "None"
489    DES = "DES"
490    DES3 = "DES3"
491    AES128 = "AES128"
492    AES192 = "AES192"
493    AES256 = "AES256"
494    GCMAES128 = "GCMAES128"
495    GCMAES192 = "GCMAES192"
496    GCMAES256 = "GCMAES256"
497
498class IpsecIntegrity(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)):
499    """The IPSec integrity algorithm (IKE phase 1).
500    """
501
502    MD5 = "MD5"
503    SHA1 = "SHA1"
504    SHA256 = "SHA256"
505    GCMAES128 = "GCMAES128"
506    GCMAES192 = "GCMAES192"
507    GCMAES256 = "GCMAES256"
508
509class IPVersion(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)):
510    """IP address version.
511    """
512
513    I_PV4 = "IPv4"
514    I_PV6 = "IPv6"
515
516class IssueType(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)):
517    """The type of issue.
518    """
519
520    UNKNOWN = "Unknown"
521    AGENT_STOPPED = "AgentStopped"
522    GUEST_FIREWALL = "GuestFirewall"
523    DNS_RESOLUTION = "DnsResolution"
524    SOCKET_BIND = "SocketBind"
525    NETWORK_SECURITY_RULE = "NetworkSecurityRule"
526    USER_DEFINED_ROUTE = "UserDefinedRoute"
527    PORT_THROTTLED = "PortThrottled"
528    PLATFORM = "Platform"
529
530class LoadBalancerOutboundRuleProtocol(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)):
531    """The protocol for the outbound rule in load balancer.
532    """
533
534    TCP = "Tcp"
535    UDP = "Udp"
536    ALL = "All"
537
538class LoadBalancerSkuName(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)):
539    """Name of a load balancer SKU.
540    """
541
542    BASIC = "Basic"
543    STANDARD = "Standard"
544
545class LoadDistribution(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)):
546    """The load distribution policy for this rule.
547    """
548
549    DEFAULT = "Default"
550    SOURCE_IP = "SourceIP"
551    SOURCE_IP_PROTOCOL = "SourceIPProtocol"
552
553class NatGatewaySkuName(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)):
554    """Name of Nat Gateway SKU.
555    """
556
557    STANDARD = "Standard"
558
559class NetworkOperationStatus(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)):
560    """Status of the Azure async operation.
561    """
562
563    IN_PROGRESS = "InProgress"
564    SUCCEEDED = "Succeeded"
565    FAILED = "Failed"
566
567class NextHopType(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)):
568    """Next hop type.
569    """
570
571    INTERNET = "Internet"
572    VIRTUAL_APPLIANCE = "VirtualAppliance"
573    VIRTUAL_NETWORK_GATEWAY = "VirtualNetworkGateway"
574    VNET_LOCAL = "VnetLocal"
575    HYPER_NET_GATEWAY = "HyperNetGateway"
576    NONE = "None"
577
578class OfficeTrafficCategory(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)):
579    """The office traffic category.
580    """
581
582    OPTIMIZE = "Optimize"
583    OPTIMIZE_AND_ALLOW = "OptimizeAndAllow"
584    ALL = "All"
585    NONE = "None"
586
587class Origin(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)):
588    """The origin of the issue.
589    """
590
591    LOCAL = "Local"
592    INBOUND = "Inbound"
593    OUTBOUND = "Outbound"
594
595class PcError(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)):
596
597    INTERNAL_ERROR = "InternalError"
598    AGENT_STOPPED = "AgentStopped"
599    CAPTURE_FAILED = "CaptureFailed"
600    LOCAL_FILE_FAILED = "LocalFileFailed"
601    STORAGE_FAILED = "StorageFailed"
602
603class PcProtocol(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)):
604    """Protocol to be filtered on.
605    """
606
607    TCP = "TCP"
608    UDP = "UDP"
609    ANY = "Any"
610
611class PcStatus(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)):
612    """The status of the packet capture session.
613    """
614
615    NOT_STARTED = "NotStarted"
616    RUNNING = "Running"
617    STOPPED = "Stopped"
618    ERROR = "Error"
619    UNKNOWN = "Unknown"
620
621class PfsGroup(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)):
622    """The Pfs Groups used in IKE Phase 2 for new child SA.
623    """
624
625    NONE = "None"
626    PFS1 = "PFS1"
627    PFS2 = "PFS2"
628    PFS2048 = "PFS2048"
629    ECP256 = "ECP256"
630    ECP384 = "ECP384"
631    PFS24 = "PFS24"
632    PFS14 = "PFS14"
633    PFSMM = "PFSMM"
634
635class ProbeProtocol(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)):
636    """The protocol of the end point. If 'Tcp' is specified, a received ACK is required for the probe
637    to be successful. If 'Http' or 'Https' is specified, a 200 OK response from the specifies URI
638    is required for the probe to be successful.
639    """
640
641    HTTP = "Http"
642    TCP = "Tcp"
643    HTTPS = "Https"
644
645class ProcessorArchitecture(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)):
646    """VPN client Processor Architecture.
647    """
648
649    AMD64 = "Amd64"
650    X86 = "X86"
651
652class Protocol(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)):
653    """Network protocol.
654    """
655
656    TCP = "Tcp"
657    HTTP = "Http"
658    HTTPS = "Https"
659    ICMP = "Icmp"
660
661class ProvisioningState(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)):
662    """The current provisioning state.
663    """
664
665    SUCCEEDED = "Succeeded"
666    UPDATING = "Updating"
667    DELETING = "Deleting"
668    FAILED = "Failed"
669
670class PublicIPAddressSkuName(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)):
671    """Name of a public IP address SKU.
672    """
673
674    BASIC = "Basic"
675    STANDARD = "Standard"
676
677class PublicIPPrefixSkuName(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)):
678    """Name of a public IP prefix SKU.
679    """
680
681    STANDARD = "Standard"
682
683class ResourceIdentityType(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)):
684    """The type of identity used for the resource. The type 'SystemAssigned, UserAssigned' includes
685    both an implicitly created identity and a set of user assigned identities. The type 'None' will
686    remove any identities from the virtual machine.
687    """
688
689    SYSTEM_ASSIGNED = "SystemAssigned"
690    USER_ASSIGNED = "UserAssigned"
691    SYSTEM_ASSIGNED_USER_ASSIGNED = "SystemAssigned, UserAssigned"
692    NONE = "None"
693
694class RouteFilterRuleType(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)):
695    """The rule type of the rule.
696    """
697
698    COMMUNITY = "Community"
699
700class RouteNextHopType(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)):
701    """The type of Azure hop the packet should be sent to.
702    """
703
704    VIRTUAL_NETWORK_GATEWAY = "VirtualNetworkGateway"
705    VNET_LOCAL = "VnetLocal"
706    INTERNET = "Internet"
707    VIRTUAL_APPLIANCE = "VirtualAppliance"
708    NONE = "None"
709
710class SecurityRuleAccess(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)):
711    """Whether network traffic is allowed or denied.
712    """
713
714    ALLOW = "Allow"
715    DENY = "Deny"
716
717class SecurityRuleDirection(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)):
718    """The direction of the rule. The direction specifies if rule will be evaluated on incoming or
719    outgoing traffic.
720    """
721
722    INBOUND = "Inbound"
723    OUTBOUND = "Outbound"
724
725class SecurityRuleProtocol(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)):
726    """Network protocol this rule applies to.
727    """
728
729    TCP = "Tcp"
730    UDP = "Udp"
731    ICMP = "Icmp"
732    ESP = "Esp"
733    ASTERISK = "*"
734
735class ServiceProviderProvisioningState(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)):
736    """The ServiceProviderProvisioningState state of the resource.
737    """
738
739    NOT_PROVISIONED = "NotProvisioned"
740    PROVISIONING = "Provisioning"
741    PROVISIONED = "Provisioned"
742    DEPROVISIONING = "Deprovisioning"
743
744class Severity(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)):
745    """The severity of the issue.
746    """
747
748    ERROR = "Error"
749    WARNING = "Warning"
750
751class TransportProtocol(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)):
752    """The transport protocol for the endpoint.
753    """
754
755    UDP = "Udp"
756    TCP = "Tcp"
757    ALL = "All"
758
759class TunnelConnectionStatus(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)):
760    """The current state of the tunnel.
761    """
762
763    UNKNOWN = "Unknown"
764    CONNECTING = "Connecting"
765    CONNECTED = "Connected"
766    NOT_CONNECTED = "NotConnected"
767
768class UsageUnit(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)):
769    """An enum describing the unit of measurement.
770    """
771
772    COUNT = "Count"
773
774class VerbosityLevel(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)):
775    """Verbosity level.
776    """
777
778    NORMAL = "Normal"
779    MINIMUM = "Minimum"
780    FULL = "Full"
781
782class VirtualNetworkGatewayConnectionProtocol(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)):
783    """Gateway connection protocol.
784    """
785
786    IK_EV2 = "IKEv2"
787    IK_EV1 = "IKEv1"
788
789class VirtualNetworkGatewayConnectionStatus(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)):
790    """Virtual Network Gateway connection status.
791    """
792
793    UNKNOWN = "Unknown"
794    CONNECTING = "Connecting"
795    CONNECTED = "Connected"
796    NOT_CONNECTED = "NotConnected"
797
798class VirtualNetworkGatewayConnectionType(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)):
799    """Gateway connection type.
800    """
801
802    I_PSEC = "IPsec"
803    VNET2_VNET = "Vnet2Vnet"
804    EXPRESS_ROUTE = "ExpressRoute"
805    VPN_CLIENT = "VPNClient"
806
807class VirtualNetworkGatewaySkuName(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)):
808    """Gateway SKU name.
809    """
810
811    BASIC = "Basic"
812    HIGH_PERFORMANCE = "HighPerformance"
813    STANDARD = "Standard"
814    ULTRA_PERFORMANCE = "UltraPerformance"
815    VPN_GW1 = "VpnGw1"
816    VPN_GW2 = "VpnGw2"
817    VPN_GW3 = "VpnGw3"
818    VPN_GW1_AZ = "VpnGw1AZ"
819    VPN_GW2_AZ = "VpnGw2AZ"
820    VPN_GW3_AZ = "VpnGw3AZ"
821    ER_GW1_AZ = "ErGw1AZ"
822    ER_GW2_AZ = "ErGw2AZ"
823    ER_GW3_AZ = "ErGw3AZ"
824
825class VirtualNetworkGatewaySkuTier(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)):
826    """Gateway SKU tier.
827    """
828
829    BASIC = "Basic"
830    HIGH_PERFORMANCE = "HighPerformance"
831    STANDARD = "Standard"
832    ULTRA_PERFORMANCE = "UltraPerformance"
833    VPN_GW1 = "VpnGw1"
834    VPN_GW2 = "VpnGw2"
835    VPN_GW3 = "VpnGw3"
836    VPN_GW1_AZ = "VpnGw1AZ"
837    VPN_GW2_AZ = "VpnGw2AZ"
838    VPN_GW3_AZ = "VpnGw3AZ"
839    ER_GW1_AZ = "ErGw1AZ"
840    ER_GW2_AZ = "ErGw2AZ"
841    ER_GW3_AZ = "ErGw3AZ"
842
843class VirtualNetworkGatewayType(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)):
844    """The type of this virtual network gateway.
845    """
846
847    VPN = "Vpn"
848    EXPRESS_ROUTE = "ExpressRoute"
849
850class VirtualNetworkPeeringState(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)):
851    """The status of the virtual network peering.
852    """
853
854    INITIATED = "Initiated"
855    CONNECTED = "Connected"
856    DISCONNECTED = "Disconnected"
857
858class VirtualWanSecurityProviderType(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)):
859    """The virtual wan security provider type.
860    """
861
862    EXTERNAL = "External"
863    NATIVE = "Native"
864
865class VpnClientProtocol(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)):
866    """VPN client protocol enabled for the virtual network gateway.
867    """
868
869    IKE_V2 = "IkeV2"
870    SSTP = "SSTP"
871    OPEN_VPN = "OpenVPN"
872
873class VpnConnectionStatus(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)):
874    """The current state of the vpn connection.
875    """
876
877    UNKNOWN = "Unknown"
878    CONNECTING = "Connecting"
879    CONNECTED = "Connected"
880    NOT_CONNECTED = "NotConnected"
881
882class VpnGatewayTunnelingProtocol(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)):
883    """VPN protocol enabled for the P2SVpnServerConfiguration.
884    """
885
886    IKE_V2 = "IkeV2"
887    OPEN_VPN = "OpenVPN"
888
889class VpnType(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)):
890    """The type of this virtual network gateway.
891    """
892
893    POLICY_BASED = "PolicyBased"
894    ROUTE_BASED = "RouteBased"
895
896class WebApplicationFirewallAction(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)):
897    """Type of Actions.
898    """
899
900    ALLOW = "Allow"
901    BLOCK = "Block"
902    LOG = "Log"
903
904class WebApplicationFirewallEnabledState(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)):
905    """Describes if the policy is in enabled state or disabled state.
906    """
907
908    DISABLED = "Disabled"
909    ENABLED = "Enabled"
910
911class WebApplicationFirewallMatchVariable(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)):
912    """Match Variable.
913    """
914
915    REMOTE_ADDR = "RemoteAddr"
916    REQUEST_METHOD = "RequestMethod"
917    QUERY_STRING = "QueryString"
918    POST_ARGS = "PostArgs"
919    REQUEST_URI = "RequestUri"
920    REQUEST_HEADERS = "RequestHeaders"
921    REQUEST_BODY = "RequestBody"
922    REQUEST_COOKIES = "RequestCookies"
923
924class WebApplicationFirewallMode(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)):
925    """Describes if it is in detection mode or prevention mode at policy level.
926    """
927
928    PREVENTION = "Prevention"
929    DETECTION = "Detection"
930
931class WebApplicationFirewallOperator(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)):
932    """Describes operator to be matched.
933    """
934
935    IP_MATCH = "IPMatch"
936    EQUAL = "Equal"
937    CONTAINS = "Contains"
938    LESS_THAN = "LessThan"
939    GREATER_THAN = "GreaterThan"
940    LESS_THAN_OR_EQUAL = "LessThanOrEqual"
941    GREATER_THAN_OR_EQUAL = "GreaterThanOrEqual"
942    BEGINS_WITH = "BeginsWith"
943    ENDS_WITH = "EndsWith"
944    REGEX = "Regex"
945
946class WebApplicationFirewallPolicyResourceState(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)):
947    """Resource status of the policy.
948    """
949
950    CREATING = "Creating"
951    ENABLING = "Enabling"
952    ENABLED = "Enabled"
953    DISABLING = "Disabling"
954    DISABLED = "Disabled"
955    DELETING = "Deleting"
956
957class WebApplicationFirewallRuleType(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)):
958    """Describes type of rule.
959    """
960
961    MATCH_RULE = "MatchRule"
962    INVALID = "Invalid"
963
964class WebApplicationFirewallTransform(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)):
965    """Describes what transforms applied before matching.
966    """
967
968    LOWERCASE = "Lowercase"
969    TRIM = "Trim"
970    URL_DECODE = "UrlDecode"
971    URL_ENCODE = "UrlEncode"
972    REMOVE_NULLS = "RemoveNulls"
973    HTML_ENTITY_DECODE = "HtmlEntityDecode"
974