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 FirewallPolicyFilterRuleActionType(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)):
427    """The action type of a rule
428    """
429
430    ALLOW = "Allow"
431    DENY = "Deny"
432    ALERT = "Alert "
433
434class FirewallPolicyNatRuleActionType(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)):
435    """The action type of a rule
436    """
437
438    DNAT = "DNAT"
439    SNAT = "SNAT"
440
441class FirewallPolicyRuleConditionApplicationProtocolType(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)):
442    """The application protocol type of a Rule condition.
443    """
444
445    HTTP = "Http"
446    HTTPS = "Https"
447
448class FirewallPolicyRuleConditionNetworkProtocol(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)):
449    """The Network protocol of a Rule condition
450    """
451
452    TCP = "TCP"
453    UDP = "UDP"
454    ANY = "Any"
455    ICMP = "ICMP"
456
457class FirewallPolicyRuleConditionType(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)):
458    """Rule Condition Type
459    """
460
461    APPLICATION_RULE_CONDITION = "ApplicationRuleCondition"
462    NETWORK_RULE_CONDITION = "NetworkRuleCondition"
463
464class FirewallPolicyRuleType(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)):
465    """The type of the rule
466    """
467
468    FIREWALL_POLICY_NAT_RULE = "FirewallPolicyNatRule"
469    FIREWALL_POLICY_FILTER_RULE = "FirewallPolicyFilterRule"
470
471class FlowLogFormatType(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)):
472    """The file type of flow log.
473    """
474
475    JSON = "JSON"
476
477class HTTPMethod(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)):
478    """HTTP method.
479    """
480
481    GET = "Get"
482
483class HubVirtualNetworkConnectionStatus(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)):
484    """The current state of the VirtualHub to vnet connection.
485    """
486
487    UNKNOWN = "Unknown"
488    CONNECTING = "Connecting"
489    CONNECTED = "Connected"
490    NOT_CONNECTED = "NotConnected"
491
492class IkeEncryption(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)):
493    """The IKE encryption algorithm (IKE phase 2).
494    """
495
496    DES = "DES"
497    DES3 = "DES3"
498    AES128 = "AES128"
499    AES192 = "AES192"
500    AES256 = "AES256"
501    GCMAES256 = "GCMAES256"
502    GCMAES128 = "GCMAES128"
503
504class IkeIntegrity(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)):
505    """The IKE integrity algorithm (IKE phase 2).
506    """
507
508    MD5 = "MD5"
509    SHA1 = "SHA1"
510    SHA256 = "SHA256"
511    SHA384 = "SHA384"
512    GCMAES256 = "GCMAES256"
513    GCMAES128 = "GCMAES128"
514
515class IPAllocationMethod(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)):
516    """IP address allocation method.
517    """
518
519    STATIC = "Static"
520    DYNAMIC = "Dynamic"
521
522class IpFlowProtocol(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)):
523    """Protocol to be verified on.
524    """
525
526    TCP = "TCP"
527    UDP = "UDP"
528
529class IpsecEncryption(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)):
530    """The IPSec encryption algorithm (IKE phase 1).
531    """
532
533    NONE = "None"
534    DES = "DES"
535    DES3 = "DES3"
536    AES128 = "AES128"
537    AES192 = "AES192"
538    AES256 = "AES256"
539    GCMAES128 = "GCMAES128"
540    GCMAES192 = "GCMAES192"
541    GCMAES256 = "GCMAES256"
542
543class IpsecIntegrity(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)):
544    """The IPSec integrity algorithm (IKE phase 1).
545    """
546
547    MD5 = "MD5"
548    SHA1 = "SHA1"
549    SHA256 = "SHA256"
550    GCMAES128 = "GCMAES128"
551    GCMAES192 = "GCMAES192"
552    GCMAES256 = "GCMAES256"
553
554class IPVersion(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)):
555    """IP address version.
556    """
557
558    I_PV4 = "IPv4"
559    I_PV6 = "IPv6"
560
561class IssueType(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)):
562    """The type of issue.
563    """
564
565    UNKNOWN = "Unknown"
566    AGENT_STOPPED = "AgentStopped"
567    GUEST_FIREWALL = "GuestFirewall"
568    DNS_RESOLUTION = "DnsResolution"
569    SOCKET_BIND = "SocketBind"
570    NETWORK_SECURITY_RULE = "NetworkSecurityRule"
571    USER_DEFINED_ROUTE = "UserDefinedRoute"
572    PORT_THROTTLED = "PortThrottled"
573    PLATFORM = "Platform"
574
575class LoadBalancerOutboundRuleProtocol(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)):
576    """The protocol for the outbound rule in load balancer.
577    """
578
579    TCP = "Tcp"
580    UDP = "Udp"
581    ALL = "All"
582
583class LoadBalancerSkuName(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)):
584    """Name of a load balancer SKU.
585    """
586
587    BASIC = "Basic"
588    STANDARD = "Standard"
589
590class LoadDistribution(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)):
591    """The load distribution policy for this rule.
592    """
593
594    DEFAULT = "Default"
595    SOURCE_IP = "SourceIP"
596    SOURCE_IP_PROTOCOL = "SourceIPProtocol"
597
598class NatGatewaySkuName(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)):
599    """Name of Nat Gateway SKU.
600    """
601
602    STANDARD = "Standard"
603
604class NetworkOperationStatus(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)):
605    """Status of the Azure async operation.
606    """
607
608    IN_PROGRESS = "InProgress"
609    SUCCEEDED = "Succeeded"
610    FAILED = "Failed"
611
612class NextHopType(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)):
613    """Next hop type.
614    """
615
616    INTERNET = "Internet"
617    VIRTUAL_APPLIANCE = "VirtualAppliance"
618    VIRTUAL_NETWORK_GATEWAY = "VirtualNetworkGateway"
619    VNET_LOCAL = "VnetLocal"
620    HYPER_NET_GATEWAY = "HyperNetGateway"
621    NONE = "None"
622
623class OfficeTrafficCategory(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)):
624    """The office traffic category.
625    """
626
627    OPTIMIZE = "Optimize"
628    OPTIMIZE_AND_ALLOW = "OptimizeAndAllow"
629    ALL = "All"
630    NONE = "None"
631
632class Origin(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)):
633    """The origin of the issue.
634    """
635
636    LOCAL = "Local"
637    INBOUND = "Inbound"
638    OUTBOUND = "Outbound"
639
640class PcError(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)):
641
642    INTERNAL_ERROR = "InternalError"
643    AGENT_STOPPED = "AgentStopped"
644    CAPTURE_FAILED = "CaptureFailed"
645    LOCAL_FILE_FAILED = "LocalFileFailed"
646    STORAGE_FAILED = "StorageFailed"
647
648class PcProtocol(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)):
649    """Protocol to be filtered on.
650    """
651
652    TCP = "TCP"
653    UDP = "UDP"
654    ANY = "Any"
655
656class PcStatus(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)):
657    """The status of the packet capture session.
658    """
659
660    NOT_STARTED = "NotStarted"
661    RUNNING = "Running"
662    STOPPED = "Stopped"
663    ERROR = "Error"
664    UNKNOWN = "Unknown"
665
666class PfsGroup(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)):
667    """The Pfs Groups used in IKE Phase 2 for new child SA.
668    """
669
670    NONE = "None"
671    PFS1 = "PFS1"
672    PFS2 = "PFS2"
673    PFS2048 = "PFS2048"
674    ECP256 = "ECP256"
675    ECP384 = "ECP384"
676    PFS24 = "PFS24"
677    PFS14 = "PFS14"
678    PFSMM = "PFSMM"
679
680class ProbeProtocol(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)):
681    """The protocol of the end point. If 'Tcp' is specified, a received ACK is required for the probe
682    to be successful. If 'Http' or 'Https' is specified, a 200 OK response from the specifies URI
683    is required for the probe to be successful.
684    """
685
686    HTTP = "Http"
687    TCP = "Tcp"
688    HTTPS = "Https"
689
690class ProcessorArchitecture(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)):
691    """VPN client Processor Architecture.
692    """
693
694    AMD64 = "Amd64"
695    X86 = "X86"
696
697class Protocol(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)):
698    """Network protocol.
699    """
700
701    TCP = "Tcp"
702    HTTP = "Http"
703    HTTPS = "Https"
704    ICMP = "Icmp"
705
706class ProvisioningState(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)):
707    """The current provisioning state.
708    """
709
710    SUCCEEDED = "Succeeded"
711    UPDATING = "Updating"
712    DELETING = "Deleting"
713    FAILED = "Failed"
714
715class PublicIPAddressSkuName(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)):
716    """Name of a public IP address SKU.
717    """
718
719    BASIC = "Basic"
720    STANDARD = "Standard"
721
722class PublicIPPrefixSkuName(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)):
723    """Name of a public IP prefix SKU.
724    """
725
726    STANDARD = "Standard"
727
728class ResourceIdentityType(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)):
729    """The type of identity used for the resource. The type 'SystemAssigned, UserAssigned' includes
730    both an implicitly created identity and a set of user assigned identities. The type 'None' will
731    remove any identities from the virtual machine.
732    """
733
734    SYSTEM_ASSIGNED = "SystemAssigned"
735    USER_ASSIGNED = "UserAssigned"
736    SYSTEM_ASSIGNED_USER_ASSIGNED = "SystemAssigned, UserAssigned"
737    NONE = "None"
738
739class RouteFilterRuleType(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)):
740    """The rule type of the rule.
741    """
742
743    COMMUNITY = "Community"
744
745class RouteNextHopType(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)):
746    """The type of Azure hop the packet should be sent to.
747    """
748
749    VIRTUAL_NETWORK_GATEWAY = "VirtualNetworkGateway"
750    VNET_LOCAL = "VnetLocal"
751    INTERNET = "Internet"
752    VIRTUAL_APPLIANCE = "VirtualAppliance"
753    NONE = "None"
754
755class SecurityRuleAccess(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)):
756    """Whether network traffic is allowed or denied.
757    """
758
759    ALLOW = "Allow"
760    DENY = "Deny"
761
762class SecurityRuleDirection(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)):
763    """The direction of the rule. The direction specifies if rule will be evaluated on incoming or
764    outgoing traffic.
765    """
766
767    INBOUND = "Inbound"
768    OUTBOUND = "Outbound"
769
770class SecurityRuleProtocol(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)):
771    """Network protocol this rule applies to.
772    """
773
774    TCP = "Tcp"
775    UDP = "Udp"
776    ICMP = "Icmp"
777    ESP = "Esp"
778    ASTERISK = "*"
779
780class ServiceProviderProvisioningState(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)):
781    """The ServiceProviderProvisioningState state of the resource.
782    """
783
784    NOT_PROVISIONED = "NotProvisioned"
785    PROVISIONING = "Provisioning"
786    PROVISIONED = "Provisioned"
787    DEPROVISIONING = "Deprovisioning"
788
789class Severity(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)):
790    """The severity of the issue.
791    """
792
793    ERROR = "Error"
794    WARNING = "Warning"
795
796class TransportProtocol(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)):
797    """The transport protocol for the endpoint.
798    """
799
800    UDP = "Udp"
801    TCP = "Tcp"
802    ALL = "All"
803
804class TunnelConnectionStatus(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)):
805    """The current state of the tunnel.
806    """
807
808    UNKNOWN = "Unknown"
809    CONNECTING = "Connecting"
810    CONNECTED = "Connected"
811    NOT_CONNECTED = "NotConnected"
812
813class UsageUnit(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)):
814    """An enum describing the unit of measurement.
815    """
816
817    COUNT = "Count"
818
819class VerbosityLevel(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)):
820    """Verbosity level.
821    """
822
823    NORMAL = "Normal"
824    MINIMUM = "Minimum"
825    FULL = "Full"
826
827class VirtualNetworkGatewayConnectionProtocol(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)):
828    """Gateway connection protocol.
829    """
830
831    IK_EV2 = "IKEv2"
832    IK_EV1 = "IKEv1"
833
834class VirtualNetworkGatewayConnectionStatus(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)):
835    """Virtual Network Gateway connection status.
836    """
837
838    UNKNOWN = "Unknown"
839    CONNECTING = "Connecting"
840    CONNECTED = "Connected"
841    NOT_CONNECTED = "NotConnected"
842
843class VirtualNetworkGatewayConnectionType(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)):
844    """Gateway connection type.
845    """
846
847    I_PSEC = "IPsec"
848    VNET2_VNET = "Vnet2Vnet"
849    EXPRESS_ROUTE = "ExpressRoute"
850    VPN_CLIENT = "VPNClient"
851
852class VirtualNetworkGatewaySkuName(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)):
853    """Gateway SKU name.
854    """
855
856    BASIC = "Basic"
857    HIGH_PERFORMANCE = "HighPerformance"
858    STANDARD = "Standard"
859    ULTRA_PERFORMANCE = "UltraPerformance"
860    VPN_GW1 = "VpnGw1"
861    VPN_GW2 = "VpnGw2"
862    VPN_GW3 = "VpnGw3"
863    VPN_GW1_AZ = "VpnGw1AZ"
864    VPN_GW2_AZ = "VpnGw2AZ"
865    VPN_GW3_AZ = "VpnGw3AZ"
866    ER_GW1_AZ = "ErGw1AZ"
867    ER_GW2_AZ = "ErGw2AZ"
868    ER_GW3_AZ = "ErGw3AZ"
869
870class VirtualNetworkGatewaySkuTier(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)):
871    """Gateway SKU tier.
872    """
873
874    BASIC = "Basic"
875    HIGH_PERFORMANCE = "HighPerformance"
876    STANDARD = "Standard"
877    ULTRA_PERFORMANCE = "UltraPerformance"
878    VPN_GW1 = "VpnGw1"
879    VPN_GW2 = "VpnGw2"
880    VPN_GW3 = "VpnGw3"
881    VPN_GW1_AZ = "VpnGw1AZ"
882    VPN_GW2_AZ = "VpnGw2AZ"
883    VPN_GW3_AZ = "VpnGw3AZ"
884    ER_GW1_AZ = "ErGw1AZ"
885    ER_GW2_AZ = "ErGw2AZ"
886    ER_GW3_AZ = "ErGw3AZ"
887
888class VirtualNetworkGatewayType(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)):
889    """The type of this virtual network gateway.
890    """
891
892    VPN = "Vpn"
893    EXPRESS_ROUTE = "ExpressRoute"
894
895class VirtualNetworkPeeringState(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)):
896    """The status of the virtual network peering.
897    """
898
899    INITIATED = "Initiated"
900    CONNECTED = "Connected"
901    DISCONNECTED = "Disconnected"
902
903class VirtualWanSecurityProviderType(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)):
904    """The virtual wan security provider type.
905    """
906
907    EXTERNAL = "External"
908    NATIVE = "Native"
909
910class VpnClientProtocol(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)):
911    """VPN client protocol enabled for the virtual network gateway.
912    """
913
914    IKE_V2 = "IkeV2"
915    SSTP = "SSTP"
916    OPEN_VPN = "OpenVPN"
917
918class VpnConnectionStatus(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)):
919    """The current state of the vpn connection.
920    """
921
922    UNKNOWN = "Unknown"
923    CONNECTING = "Connecting"
924    CONNECTED = "Connected"
925    NOT_CONNECTED = "NotConnected"
926
927class VpnGatewayTunnelingProtocol(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)):
928    """VPN protocol enabled for the P2SVpnServerConfiguration.
929    """
930
931    IKE_V2 = "IkeV2"
932    OPEN_VPN = "OpenVPN"
933
934class VpnType(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)):
935    """The type of this virtual network gateway.
936    """
937
938    POLICY_BASED = "PolicyBased"
939    ROUTE_BASED = "RouteBased"
940
941class WebApplicationFirewallAction(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)):
942    """Type of Actions.
943    """
944
945    ALLOW = "Allow"
946    BLOCK = "Block"
947    LOG = "Log"
948
949class WebApplicationFirewallEnabledState(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)):
950    """Describes if the policy is in enabled state or disabled state.
951    """
952
953    DISABLED = "Disabled"
954    ENABLED = "Enabled"
955
956class WebApplicationFirewallMatchVariable(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)):
957    """Match Variable.
958    """
959
960    REMOTE_ADDR = "RemoteAddr"
961    REQUEST_METHOD = "RequestMethod"
962    QUERY_STRING = "QueryString"
963    POST_ARGS = "PostArgs"
964    REQUEST_URI = "RequestUri"
965    REQUEST_HEADERS = "RequestHeaders"
966    REQUEST_BODY = "RequestBody"
967    REQUEST_COOKIES = "RequestCookies"
968
969class WebApplicationFirewallMode(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)):
970    """Describes if it is in detection mode or prevention mode at policy level.
971    """
972
973    PREVENTION = "Prevention"
974    DETECTION = "Detection"
975
976class WebApplicationFirewallOperator(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)):
977    """Describes operator to be matched.
978    """
979
980    IP_MATCH = "IPMatch"
981    EQUAL = "Equal"
982    CONTAINS = "Contains"
983    LESS_THAN = "LessThan"
984    GREATER_THAN = "GreaterThan"
985    LESS_THAN_OR_EQUAL = "LessThanOrEqual"
986    GREATER_THAN_OR_EQUAL = "GreaterThanOrEqual"
987    BEGINS_WITH = "BeginsWith"
988    ENDS_WITH = "EndsWith"
989    REGEX = "Regex"
990
991class WebApplicationFirewallPolicyResourceState(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)):
992    """Resource status of the policy.
993    """
994
995    CREATING = "Creating"
996    ENABLING = "Enabling"
997    ENABLED = "Enabled"
998    DISABLING = "Disabling"
999    DISABLED = "Disabled"
1000    DELETING = "Deleting"
1001
1002class WebApplicationFirewallRuleType(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)):
1003    """Describes type of rule.
1004    """
1005
1006    MATCH_RULE = "MatchRule"
1007    INVALID = "Invalid"
1008
1009class WebApplicationFirewallTransform(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)):
1010    """Describes what transforms applied before matching.
1011    """
1012
1013    LOWERCASE = "Lowercase"
1014    TRIM = "Trim"
1015    URL_DECODE = "UrlDecode"
1016    URL_ENCODE = "UrlEncode"
1017    REMOVE_NULLS = "RemoveNulls"
1018    HTML_ENTITY_DECODE = "HtmlEntityDecode"
1019