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 MSSQL = "Mssql" 204 205class AzureFirewallNatRCActionType(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): 206 """The action type of a NAT rule collection. 207 """ 208 209 SNAT = "Snat" 210 DNAT = "Dnat" 211 212class AzureFirewallNetworkRuleProtocol(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): 213 """The protocol of a Network Rule resource. 214 """ 215 216 TCP = "TCP" 217 UDP = "UDP" 218 ANY = "Any" 219 ICMP = "ICMP" 220 221class AzureFirewallRCActionType(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): 222 """The action type of a rule collection. 223 """ 224 225 ALLOW = "Allow" 226 DENY = "Deny" 227 228class AzureFirewallSkuName(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): 229 """Name of an Azure Firewall SKU. 230 """ 231 232 AZFW_VNET = "AZFW_VNet" 233 AZFW_HUB = "AZFW_Hub" 234 235class AzureFirewallSkuTier(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): 236 """Tier of an Azure Firewall. 237 """ 238 239 STANDARD = "Standard" 240 PREMIUM = "Premium" 241 242class AzureFirewallThreatIntelMode(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): 243 """The operation mode for Threat Intel. 244 """ 245 246 ALERT = "Alert" 247 DENY = "Deny" 248 OFF = "Off" 249 250class BastionConnectProtocol(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): 251 """The protocol used to connect to the target. 252 """ 253 254 SSH = "SSH" 255 RDP = "RDP" 256 257class BgpPeerState(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): 258 """The BGP peer state. 259 """ 260 261 UNKNOWN = "Unknown" 262 STOPPED = "Stopped" 263 IDLE = "Idle" 264 CONNECTING = "Connecting" 265 CONNECTED = "Connected" 266 267class CircuitConnectionStatus(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): 268 """Express Route Circuit connection state. 269 """ 270 271 CONNECTED = "Connected" 272 CONNECTING = "Connecting" 273 DISCONNECTED = "Disconnected" 274 275class ConnectionMonitorEndpointFilterItemType(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): 276 """The type of item included in the filter. Currently only 'AgentAddress' is supported. 277 """ 278 279 AGENT_ADDRESS = "AgentAddress" 280 281class ConnectionMonitorEndpointFilterType(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): 282 """The behavior of the endpoint filter. Currently only 'Include' is supported. 283 """ 284 285 INCLUDE = "Include" 286 287class ConnectionMonitorSourceStatus(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): 288 """Status of connection monitor source. 289 """ 290 291 UNKNOWN = "Unknown" 292 ACTIVE = "Active" 293 INACTIVE = "Inactive" 294 295class ConnectionMonitorTestConfigurationProtocol(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): 296 """The protocol to use in test evaluation. 297 """ 298 299 TCP = "Tcp" 300 HTTP = "Http" 301 ICMP = "Icmp" 302 303class ConnectionMonitorType(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): 304 """Type of connection monitor. 305 """ 306 307 MULTI_ENDPOINT = "MultiEndpoint" 308 SINGLE_SOURCE_DESTINATION = "SingleSourceDestination" 309 310class ConnectionState(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): 311 """The connection state. 312 """ 313 314 REACHABLE = "Reachable" 315 UNREACHABLE = "Unreachable" 316 UNKNOWN = "Unknown" 317 318class ConnectionStatus(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): 319 """The connection status. 320 """ 321 322 UNKNOWN = "Unknown" 323 CONNECTED = "Connected" 324 DISCONNECTED = "Disconnected" 325 DEGRADED = "Degraded" 326 327class DdosCustomPolicyProtocol(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): 328 """The protocol for which the DDoS protection policy is being customized. 329 """ 330 331 TCP = "Tcp" 332 UDP = "Udp" 333 SYN = "Syn" 334 335class DdosCustomPolicyTriggerSensitivityOverride(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): 336 """The customized DDoS protection trigger rate sensitivity degrees. High: Trigger rate set with 337 most sensitivity w.r.t. normal traffic. Default: Trigger rate set with moderate sensitivity 338 w.r.t. normal traffic. Low: Trigger rate set with less sensitivity w.r.t. normal traffic. 339 Relaxed: Trigger rate set with least sensitivity w.r.t. normal traffic. 340 """ 341 342 RELAXED = "Relaxed" 343 LOW = "Low" 344 DEFAULT = "Default" 345 HIGH = "High" 346 347class DdosSettingsProtectionCoverage(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): 348 """The DDoS protection policy customizability of the public IP. Only standard coverage will have 349 the ability to be customized. 350 """ 351 352 BASIC = "Basic" 353 STANDARD = "Standard" 354 355class DhGroup(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): 356 """The DH Groups used in IKE Phase 1 for initial SA. 357 """ 358 359 NONE = "None" 360 DH_GROUP1 = "DHGroup1" 361 DH_GROUP2 = "DHGroup2" 362 DH_GROUP14 = "DHGroup14" 363 DH_GROUP2048 = "DHGroup2048" 364 ECP256 = "ECP256" 365 ECP384 = "ECP384" 366 DH_GROUP24 = "DHGroup24" 367 368class Direction(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): 369 """The direction of the traffic. 370 """ 371 372 INBOUND = "Inbound" 373 OUTBOUND = "Outbound" 374 375class EffectiveRouteSource(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): 376 """Who created the route. 377 """ 378 379 UNKNOWN = "Unknown" 380 USER = "User" 381 VIRTUAL_NETWORK_GATEWAY = "VirtualNetworkGateway" 382 DEFAULT = "Default" 383 384class EffectiveRouteState(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): 385 """The value of effective route. 386 """ 387 388 ACTIVE = "Active" 389 INVALID = "Invalid" 390 391class EffectiveSecurityRuleProtocol(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): 392 """The network protocol this rule applies to. 393 """ 394 395 TCP = "Tcp" 396 UDP = "Udp" 397 ALL = "All" 398 399class EvaluationState(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): 400 """Connectivity analysis evaluation state. 401 """ 402 403 NOT_STARTED = "NotStarted" 404 IN_PROGRESS = "InProgress" 405 COMPLETED = "Completed" 406 407class ExpressRouteCircuitPeeringAdvertisedPublicPrefixState(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): 408 """The advertised public prefix state of the Peering resource. 409 """ 410 411 NOT_CONFIGURED = "NotConfigured" 412 CONFIGURING = "Configuring" 413 CONFIGURED = "Configured" 414 VALIDATION_NEEDED = "ValidationNeeded" 415 416class ExpressRouteCircuitPeeringState(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): 417 """The state of peering. 418 """ 419 420 DISABLED = "Disabled" 421 ENABLED = "Enabled" 422 423class ExpressRouteCircuitSkuFamily(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): 424 """The family of the SKU. 425 """ 426 427 UNLIMITED_DATA = "UnlimitedData" 428 METERED_DATA = "MeteredData" 429 430class ExpressRouteCircuitSkuTier(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): 431 """The tier of the SKU. 432 """ 433 434 STANDARD = "Standard" 435 PREMIUM = "Premium" 436 BASIC = "Basic" 437 LOCAL = "Local" 438 439class ExpressRouteLinkAdminState(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): 440 """Administrative state of the physical port. 441 """ 442 443 ENABLED = "Enabled" 444 DISABLED = "Disabled" 445 446class ExpressRouteLinkConnectorType(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): 447 """Physical fiber port type. 448 """ 449 450 LC = "LC" 451 SC = "SC" 452 453class ExpressRouteLinkMacSecCipher(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): 454 """Mac security cipher. 455 """ 456 457 GCM_AES128 = "gcm-aes-128" 458 GCM_AES256 = "gcm-aes-256" 459 460class ExpressRoutePeeringState(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): 461 """The state of peering. 462 """ 463 464 DISABLED = "Disabled" 465 ENABLED = "Enabled" 466 467class ExpressRoutePeeringType(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): 468 """The peering type. 469 """ 470 471 AZURE_PUBLIC_PEERING = "AzurePublicPeering" 472 AZURE_PRIVATE_PEERING = "AzurePrivatePeering" 473 MICROSOFT_PEERING = "MicrosoftPeering" 474 475class ExpressRoutePortsEncapsulation(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): 476 """Encapsulation method on physical ports. 477 """ 478 479 DOT1_Q = "Dot1Q" 480 QIN_Q = "QinQ" 481 482class FirewallPolicyFilterRuleActionType(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): 483 """The action type of a rule. 484 """ 485 486 ALLOW = "Allow" 487 DENY = "Deny" 488 489class FirewallPolicyNatRuleActionType(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): 490 """The action type of a rule. 491 """ 492 493 DNAT = "DNAT" 494 495class FirewallPolicyRuleConditionApplicationProtocolType(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): 496 """The application protocol type of a Rule condition. 497 """ 498 499 HTTP = "Http" 500 HTTPS = "Https" 501 502class FirewallPolicyRuleConditionNetworkProtocol(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): 503 """The Network protocol of a Rule condition. 504 """ 505 506 TCP = "TCP" 507 UDP = "UDP" 508 ANY = "Any" 509 ICMP = "ICMP" 510 511class FirewallPolicyRuleConditionType(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): 512 """Rule Condition Type. 513 """ 514 515 APPLICATION_RULE_CONDITION = "ApplicationRuleCondition" 516 NETWORK_RULE_CONDITION = "NetworkRuleCondition" 517 NAT_RULE_CONDITION = "NatRuleCondition" 518 519class FirewallPolicyRuleType(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): 520 """The type of the rule. 521 """ 522 523 FIREWALL_POLICY_NAT_RULE = "FirewallPolicyNatRule" 524 FIREWALL_POLICY_FILTER_RULE = "FirewallPolicyFilterRule" 525 526class FlowLogFormatType(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): 527 """The file type of flow log. 528 """ 529 530 JSON = "JSON" 531 532class HTTPConfigurationMethod(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): 533 """The HTTP method to use. 534 """ 535 536 GET = "Get" 537 POST = "Post" 538 539class HTTPMethod(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): 540 """HTTP method. 541 """ 542 543 GET = "Get" 544 545class HubVirtualNetworkConnectionStatus(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): 546 """The current state of the VirtualHub to vnet connection. 547 """ 548 549 UNKNOWN = "Unknown" 550 CONNECTING = "Connecting" 551 CONNECTED = "Connected" 552 NOT_CONNECTED = "NotConnected" 553 554class IkeEncryption(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): 555 """The IKE encryption algorithm (IKE phase 2). 556 """ 557 558 DES = "DES" 559 DES3 = "DES3" 560 AES128 = "AES128" 561 AES192 = "AES192" 562 AES256 = "AES256" 563 GCMAES256 = "GCMAES256" 564 GCMAES128 = "GCMAES128" 565 566class IkeIntegrity(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): 567 """The IKE integrity algorithm (IKE phase 2). 568 """ 569 570 MD5 = "MD5" 571 SHA1 = "SHA1" 572 SHA256 = "SHA256" 573 SHA384 = "SHA384" 574 GCMAES256 = "GCMAES256" 575 GCMAES128 = "GCMAES128" 576 577class IPAllocationMethod(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): 578 """IP address allocation method. 579 """ 580 581 STATIC = "Static" 582 DYNAMIC = "Dynamic" 583 584class IpAllocationType(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): 585 """IpAllocation type. 586 """ 587 588 UNDEFINED = "Undefined" 589 HYPERNET = "Hypernet" 590 591class IpFlowProtocol(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): 592 """Protocol to be verified on. 593 """ 594 595 TCP = "TCP" 596 UDP = "UDP" 597 598class IpsecEncryption(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): 599 """The IPSec encryption algorithm (IKE phase 1). 600 """ 601 602 NONE = "None" 603 DES = "DES" 604 DES3 = "DES3" 605 AES128 = "AES128" 606 AES192 = "AES192" 607 AES256 = "AES256" 608 GCMAES128 = "GCMAES128" 609 GCMAES192 = "GCMAES192" 610 GCMAES256 = "GCMAES256" 611 612class IpsecIntegrity(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): 613 """The IPSec integrity algorithm (IKE phase 1). 614 """ 615 616 MD5 = "MD5" 617 SHA1 = "SHA1" 618 SHA256 = "SHA256" 619 GCMAES128 = "GCMAES128" 620 GCMAES192 = "GCMAES192" 621 GCMAES256 = "GCMAES256" 622 623class IPVersion(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): 624 """IP address version. 625 """ 626 627 I_PV4 = "IPv4" 628 I_PV6 = "IPv6" 629 630class IssueType(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): 631 """The type of issue. 632 """ 633 634 UNKNOWN = "Unknown" 635 AGENT_STOPPED = "AgentStopped" 636 GUEST_FIREWALL = "GuestFirewall" 637 DNS_RESOLUTION = "DnsResolution" 638 SOCKET_BIND = "SocketBind" 639 NETWORK_SECURITY_RULE = "NetworkSecurityRule" 640 USER_DEFINED_ROUTE = "UserDefinedRoute" 641 PORT_THROTTLED = "PortThrottled" 642 PLATFORM = "Platform" 643 644class LoadBalancerOutboundRuleProtocol(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): 645 """The protocol for the outbound rule in load balancer. 646 """ 647 648 TCP = "Tcp" 649 UDP = "Udp" 650 ALL = "All" 651 652class LoadBalancerSkuName(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): 653 """Name of a load balancer SKU. 654 """ 655 656 BASIC = "Basic" 657 STANDARD = "Standard" 658 659class LoadDistribution(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): 660 """The load distribution policy for this rule. 661 """ 662 663 DEFAULT = "Default" 664 SOURCE_IP = "SourceIP" 665 SOURCE_IP_PROTOCOL = "SourceIPProtocol" 666 667class ManagedRuleEnabledState(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): 668 """The state of the managed rule. Defaults to Disabled if not specified. 669 """ 670 671 DISABLED = "Disabled" 672 673class NatGatewaySkuName(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): 674 """Name of Nat Gateway SKU. 675 """ 676 677 STANDARD = "Standard" 678 679class NetworkOperationStatus(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): 680 """Status of the Azure async operation. 681 """ 682 683 IN_PROGRESS = "InProgress" 684 SUCCEEDED = "Succeeded" 685 FAILED = "Failed" 686 687class NextHopType(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): 688 """Next hop type. 689 """ 690 691 INTERNET = "Internet" 692 VIRTUAL_APPLIANCE = "VirtualAppliance" 693 VIRTUAL_NETWORK_GATEWAY = "VirtualNetworkGateway" 694 VNET_LOCAL = "VnetLocal" 695 HYPER_NET_GATEWAY = "HyperNetGateway" 696 NONE = "None" 697 698class OfficeTrafficCategory(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): 699 """The office traffic category. 700 """ 701 702 OPTIMIZE = "Optimize" 703 OPTIMIZE_AND_ALLOW = "OptimizeAndAllow" 704 ALL = "All" 705 NONE = "None" 706 707class Origin(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): 708 """The origin of the issue. 709 """ 710 711 LOCAL = "Local" 712 INBOUND = "Inbound" 713 OUTBOUND = "Outbound" 714 715class OutputType(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): 716 """Connection monitor output destination type. Currently, only "Workspace" is supported. 717 """ 718 719 WORKSPACE = "Workspace" 720 721class OwaspCrsExclusionEntryMatchVariable(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): 722 """The variable to be excluded. 723 """ 724 725 REQUEST_HEADER_NAMES = "RequestHeaderNames" 726 REQUEST_COOKIE_NAMES = "RequestCookieNames" 727 REQUEST_ARG_NAMES = "RequestArgNames" 728 729class OwaspCrsExclusionEntrySelectorMatchOperator(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): 730 """When matchVariable is a collection, operate on the selector to specify which elements in the 731 collection this exclusion applies to. 732 """ 733 734 EQUALS = "Equals" 735 CONTAINS = "Contains" 736 STARTS_WITH = "StartsWith" 737 ENDS_WITH = "EndsWith" 738 EQUALS_ANY = "EqualsAny" 739 740class PcError(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): 741 742 INTERNAL_ERROR = "InternalError" 743 AGENT_STOPPED = "AgentStopped" 744 CAPTURE_FAILED = "CaptureFailed" 745 LOCAL_FILE_FAILED = "LocalFileFailed" 746 STORAGE_FAILED = "StorageFailed" 747 748class PcProtocol(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): 749 """Protocol to be filtered on. 750 """ 751 752 TCP = "TCP" 753 UDP = "UDP" 754 ANY = "Any" 755 756class PcStatus(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): 757 """The status of the packet capture session. 758 """ 759 760 NOT_STARTED = "NotStarted" 761 RUNNING = "Running" 762 STOPPED = "Stopped" 763 ERROR = "Error" 764 UNKNOWN = "Unknown" 765 766class PfsGroup(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): 767 """The Pfs Groups used in IKE Phase 2 for new child SA. 768 """ 769 770 NONE = "None" 771 PFS1 = "PFS1" 772 PFS2 = "PFS2" 773 PFS2048 = "PFS2048" 774 ECP256 = "ECP256" 775 ECP384 = "ECP384" 776 PFS24 = "PFS24" 777 PFS14 = "PFS14" 778 PFSMM = "PFSMM" 779 780class PreferredIPVersion(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): 781 """The preferred IP version to use in test evaluation. The connection monitor may choose to use a 782 different version depending on other parameters. 783 """ 784 785 I_PV4 = "IPv4" 786 I_PV6 = "IPv6" 787 788class ProbeProtocol(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): 789 """The protocol of the end point. If 'Tcp' is specified, a received ACK is required for the probe 790 to be successful. If 'Http' or 'Https' is specified, a 200 OK response from the specifies URI 791 is required for the probe to be successful. 792 """ 793 794 HTTP = "Http" 795 TCP = "Tcp" 796 HTTPS = "Https" 797 798class ProcessorArchitecture(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): 799 """VPN client Processor Architecture. 800 """ 801 802 AMD64 = "Amd64" 803 X86 = "X86" 804 805class Protocol(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): 806 """Network protocol. 807 """ 808 809 TCP = "Tcp" 810 HTTP = "Http" 811 HTTPS = "Https" 812 ICMP = "Icmp" 813 814class ProvisioningState(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): 815 """The current provisioning state. 816 """ 817 818 SUCCEEDED = "Succeeded" 819 UPDATING = "Updating" 820 DELETING = "Deleting" 821 FAILED = "Failed" 822 823class PublicIPAddressSkuName(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): 824 """Name of a public IP address SKU. 825 """ 826 827 BASIC = "Basic" 828 STANDARD = "Standard" 829 830class PublicIPPrefixSkuName(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): 831 """Name of a public IP prefix SKU. 832 """ 833 834 STANDARD = "Standard" 835 836class ResourceIdentityType(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): 837 """The type of identity used for the resource. The type 'SystemAssigned, UserAssigned' includes 838 both an implicitly created identity and a set of user assigned identities. The type 'None' will 839 remove any identities from the virtual machine. 840 """ 841 842 SYSTEM_ASSIGNED = "SystemAssigned" 843 USER_ASSIGNED = "UserAssigned" 844 SYSTEM_ASSIGNED_USER_ASSIGNED = "SystemAssigned, UserAssigned" 845 NONE = "None" 846 847class RouteFilterRuleType(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): 848 """The rule type of the rule. 849 """ 850 851 COMMUNITY = "Community" 852 853class RouteNextHopType(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): 854 """The type of Azure hop the packet should be sent to. 855 """ 856 857 VIRTUAL_NETWORK_GATEWAY = "VirtualNetworkGateway" 858 VNET_LOCAL = "VnetLocal" 859 INTERNET = "Internet" 860 VIRTUAL_APPLIANCE = "VirtualAppliance" 861 NONE = "None" 862 863class SecurityPartnerProviderConnectionStatus(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): 864 """The current state of the connection with Security Partner Provider. 865 """ 866 867 UNKNOWN = "Unknown" 868 PARTIALLY_CONNECTED = "PartiallyConnected" 869 CONNECTED = "Connected" 870 NOT_CONNECTED = "NotConnected" 871 872class SecurityProviderName(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): 873 """The Security Providers. 874 """ 875 876 Z_SCALER = "ZScaler" 877 I_BOSS = "IBoss" 878 CHECKPOINT = "Checkpoint" 879 880class SecurityRuleAccess(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): 881 """Whether network traffic is allowed or denied. 882 """ 883 884 ALLOW = "Allow" 885 DENY = "Deny" 886 887class SecurityRuleDirection(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): 888 """The direction of the rule. The direction specifies if rule will be evaluated on incoming or 889 outgoing traffic. 890 """ 891 892 INBOUND = "Inbound" 893 OUTBOUND = "Outbound" 894 895class SecurityRuleProtocol(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): 896 """Network protocol this rule applies to. 897 """ 898 899 TCP = "Tcp" 900 UDP = "Udp" 901 ICMP = "Icmp" 902 ESP = "Esp" 903 ASTERISK = "*" 904 AH = "Ah" 905 906class ServiceProviderProvisioningState(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): 907 """The ServiceProviderProvisioningState state of the resource. 908 """ 909 910 NOT_PROVISIONED = "NotProvisioned" 911 PROVISIONING = "Provisioning" 912 PROVISIONED = "Provisioned" 913 DEPROVISIONING = "Deprovisioning" 914 915class Severity(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): 916 """The severity of the issue. 917 """ 918 919 ERROR = "Error" 920 WARNING = "Warning" 921 922class TransportProtocol(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): 923 """The transport protocol for the endpoint. 924 """ 925 926 UDP = "Udp" 927 TCP = "Tcp" 928 ALL = "All" 929 930class TunnelConnectionStatus(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): 931 """The current state of the tunnel. 932 """ 933 934 UNKNOWN = "Unknown" 935 CONNECTING = "Connecting" 936 CONNECTED = "Connected" 937 NOT_CONNECTED = "NotConnected" 938 939class UsageUnit(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): 940 """An enum describing the unit of measurement. 941 """ 942 943 COUNT = "Count" 944 945class VerbosityLevel(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): 946 """Verbosity level. 947 """ 948 949 NORMAL = "Normal" 950 MINIMUM = "Minimum" 951 FULL = "Full" 952 953class VirtualNetworkGatewayConnectionProtocol(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): 954 """Gateway connection protocol. 955 """ 956 957 IK_EV2 = "IKEv2" 958 IK_EV1 = "IKEv1" 959 960class VirtualNetworkGatewayConnectionStatus(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): 961 """Virtual Network Gateway connection status. 962 """ 963 964 UNKNOWN = "Unknown" 965 CONNECTING = "Connecting" 966 CONNECTED = "Connected" 967 NOT_CONNECTED = "NotConnected" 968 969class VirtualNetworkGatewayConnectionType(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): 970 """Gateway connection type. 971 """ 972 973 I_PSEC = "IPsec" 974 VNET2_VNET = "Vnet2Vnet" 975 EXPRESS_ROUTE = "ExpressRoute" 976 VPN_CLIENT = "VPNClient" 977 978class VirtualNetworkGatewaySkuName(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): 979 """Gateway SKU name. 980 """ 981 982 BASIC = "Basic" 983 HIGH_PERFORMANCE = "HighPerformance" 984 STANDARD = "Standard" 985 ULTRA_PERFORMANCE = "UltraPerformance" 986 VPN_GW1 = "VpnGw1" 987 VPN_GW2 = "VpnGw2" 988 VPN_GW3 = "VpnGw3" 989 VPN_GW4 = "VpnGw4" 990 VPN_GW5 = "VpnGw5" 991 VPN_GW1_AZ = "VpnGw1AZ" 992 VPN_GW2_AZ = "VpnGw2AZ" 993 VPN_GW3_AZ = "VpnGw3AZ" 994 VPN_GW4_AZ = "VpnGw4AZ" 995 VPN_GW5_AZ = "VpnGw5AZ" 996 ER_GW1_AZ = "ErGw1AZ" 997 ER_GW2_AZ = "ErGw2AZ" 998 ER_GW3_AZ = "ErGw3AZ" 999 1000class VirtualNetworkGatewaySkuTier(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): 1001 """Gateway SKU tier. 1002 """ 1003 1004 BASIC = "Basic" 1005 HIGH_PERFORMANCE = "HighPerformance" 1006 STANDARD = "Standard" 1007 ULTRA_PERFORMANCE = "UltraPerformance" 1008 VPN_GW1 = "VpnGw1" 1009 VPN_GW2 = "VpnGw2" 1010 VPN_GW3 = "VpnGw3" 1011 VPN_GW4 = "VpnGw4" 1012 VPN_GW5 = "VpnGw5" 1013 VPN_GW1_AZ = "VpnGw1AZ" 1014 VPN_GW2_AZ = "VpnGw2AZ" 1015 VPN_GW3_AZ = "VpnGw3AZ" 1016 VPN_GW4_AZ = "VpnGw4AZ" 1017 VPN_GW5_AZ = "VpnGw5AZ" 1018 ER_GW1_AZ = "ErGw1AZ" 1019 ER_GW2_AZ = "ErGw2AZ" 1020 ER_GW3_AZ = "ErGw3AZ" 1021 1022class VirtualNetworkGatewayType(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): 1023 """The type of this virtual network gateway. 1024 """ 1025 1026 VPN = "Vpn" 1027 EXPRESS_ROUTE = "ExpressRoute" 1028 1029class VirtualNetworkPeeringState(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): 1030 """The status of the virtual network peering. 1031 """ 1032 1033 INITIATED = "Initiated" 1034 CONNECTED = "Connected" 1035 DISCONNECTED = "Disconnected" 1036 1037class VirtualWanSecurityProviderType(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): 1038 """The virtual wan security provider type. 1039 """ 1040 1041 EXTERNAL = "External" 1042 NATIVE = "Native" 1043 1044class VpnAuthenticationType(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): 1045 """VPN authentication types enabled for the VpnServerConfiguration. 1046 """ 1047 1048 CERTIFICATE = "Certificate" 1049 RADIUS = "Radius" 1050 AAD = "AAD" 1051 1052class VpnClientProtocol(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): 1053 """VPN client protocol enabled for the virtual network gateway. 1054 """ 1055 1056 IKE_V2 = "IkeV2" 1057 SSTP = "SSTP" 1058 OPEN_VPN = "OpenVPN" 1059 1060class VpnConnectionStatus(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): 1061 """The current state of the vpn connection. 1062 """ 1063 1064 UNKNOWN = "Unknown" 1065 CONNECTING = "Connecting" 1066 CONNECTED = "Connected" 1067 NOT_CONNECTED = "NotConnected" 1068 1069class VpnGatewayGeneration(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): 1070 """The generation for this VirtualNetworkGateway. Must be None if gatewayType is not VPN. 1071 """ 1072 1073 NONE = "None" 1074 GENERATION1 = "Generation1" 1075 GENERATION2 = "Generation2" 1076 1077class VpnGatewayTunnelingProtocol(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): 1078 """VPN protocol enabled for the VpnServerConfiguration. 1079 """ 1080 1081 IKE_V2 = "IkeV2" 1082 OPEN_VPN = "OpenVPN" 1083 1084class VpnType(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): 1085 """The type of this virtual network gateway. 1086 """ 1087 1088 POLICY_BASED = "PolicyBased" 1089 ROUTE_BASED = "RouteBased" 1090 1091class WebApplicationFirewallAction(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): 1092 """Type of Actions. 1093 """ 1094 1095 ALLOW = "Allow" 1096 BLOCK = "Block" 1097 LOG = "Log" 1098 1099class WebApplicationFirewallEnabledState(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): 1100 """The state of the policy. 1101 """ 1102 1103 DISABLED = "Disabled" 1104 ENABLED = "Enabled" 1105 1106class WebApplicationFirewallMatchVariable(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): 1107 """Match Variable. 1108 """ 1109 1110 REMOTE_ADDR = "RemoteAddr" 1111 REQUEST_METHOD = "RequestMethod" 1112 QUERY_STRING = "QueryString" 1113 POST_ARGS = "PostArgs" 1114 REQUEST_URI = "RequestUri" 1115 REQUEST_HEADERS = "RequestHeaders" 1116 REQUEST_BODY = "RequestBody" 1117 REQUEST_COOKIES = "RequestCookies" 1118 1119class WebApplicationFirewallMode(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): 1120 """The mode of the policy. 1121 """ 1122 1123 PREVENTION = "Prevention" 1124 DETECTION = "Detection" 1125 1126class WebApplicationFirewallOperator(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): 1127 """The operator to be matched. 1128 """ 1129 1130 IP_MATCH = "IPMatch" 1131 EQUAL = "Equal" 1132 CONTAINS = "Contains" 1133 LESS_THAN = "LessThan" 1134 GREATER_THAN = "GreaterThan" 1135 LESS_THAN_OR_EQUAL = "LessThanOrEqual" 1136 GREATER_THAN_OR_EQUAL = "GreaterThanOrEqual" 1137 BEGINS_WITH = "BeginsWith" 1138 ENDS_WITH = "EndsWith" 1139 REGEX = "Regex" 1140 GEO_MATCH = "GeoMatch" 1141 1142class WebApplicationFirewallPolicyResourceState(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): 1143 """Resource status of the policy. 1144 """ 1145 1146 CREATING = "Creating" 1147 ENABLING = "Enabling" 1148 ENABLED = "Enabled" 1149 DISABLING = "Disabling" 1150 DISABLED = "Disabled" 1151 DELETING = "Deleting" 1152 1153class WebApplicationFirewallRuleType(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): 1154 """The rule type. 1155 """ 1156 1157 MATCH_RULE = "MatchRule" 1158 INVALID = "Invalid" 1159 1160class WebApplicationFirewallTransform(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): 1161 """Transforms applied before matching. 1162 """ 1163 1164 LOWERCASE = "Lowercase" 1165 TRIM = "Trim" 1166 URL_DECODE = "UrlDecode" 1167 URL_ENCODE = "UrlEncode" 1168 REMOVE_NULLS = "RemoveNulls" 1169 HTML_ENTITY_DECODE = "HtmlEntityDecode" 1170