# coding=utf-8
# --------------------------------------------------------------------------
# Copyright (c) Microsoft Corporation. All rights reserved.
# Licensed under the MIT License. See License.txt in the project root for license information.
# Code generated by Microsoft (R) AutoRest Code Generator.
# Changes may cause incorrect behavior and will be lost if the code is regenerated.
# --------------------------------------------------------------------------
from enum import Enum, EnumMeta
from six import with_metaclass
class _CaseInsensitiveEnumMeta(EnumMeta):
def __getitem__(self, name):
return super().__getitem__(name.upper())
def __getattr__(cls, name):
"""Return the enum member matching `name`
We use __getattr__ instead of descriptors or inserting into the enum
class' __dict__ in order to support `name` and `value` being both
properties for enum members (which live in the class' __dict__) and
enum members themselves.
"""
try:
return cls._member_map_[name.upper()]
except KeyError:
raise AttributeError(name)
[docs]class ApplicationGatewayCookieBasedAffinity(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)):
"""Cookie based affinity. Possible values are: 'Enabled' and 'Disabled'.
"""
ENABLED = "Enabled"
DISABLED = "Disabled"
[docs]class ApplicationGatewayOperationalState(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)):
"""Operational state of the application gateway resource. Possible values are: 'Stopped',
'Started', 'Running', and 'Stopping'.
"""
STOPPED = "Stopped"
STARTING = "Starting"
RUNNING = "Running"
STOPPING = "Stopping"
[docs]class ApplicationGatewayProtocol(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)):
"""Protocol. Possible values are: 'Http' and 'Https'.
"""
HTTP = "Http"
HTTPS = "Https"
[docs]class ApplicationGatewayRequestRoutingRuleType(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)):
"""Rule type. Possible values are: 'Basic' and 'PathBasedRouting'.
"""
BASIC = "Basic"
PATH_BASED_ROUTING = "PathBasedRouting"
[docs]class ApplicationGatewaySkuName(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)):
"""Name of an application gateway SKU. Possible values are: 'Standard_Small', 'Standard_Medium',
'Standard_Large', 'WAF_Medium', and 'WAF_Large'.
"""
STANDARD_SMALL = "Standard_Small"
STANDARD_MEDIUM = "Standard_Medium"
STANDARD_LARGE = "Standard_Large"
[docs]class ApplicationGatewayTier(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)):
"""Tier of an application gateway.
"""
STANDARD = "Standard"
[docs]class AuthorizationUseStatus(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)):
"""AuthorizationUseStatus. Possible values are: 'Available' and 'InUse'.
"""
AVAILABLE = "Available"
IN_USE = "InUse"
[docs]class ExpressRouteCircuitPeeringAdvertisedPublicPrefixState(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)):
"""AdvertisedPublicPrefixState of the Peering resource. Possible values are 'NotConfigured',
'Configuring', 'Configured', and 'ValidationNeeded'.
"""
NOT_CONFIGURED = "NotConfigured"
CONFIGURING = "Configuring"
CONFIGURED = "Configured"
VALIDATION_NEEDED = "ValidationNeeded"
[docs]class ExpressRouteCircuitPeeringState(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)):
"""The state of peering. Possible values are: 'Disabled' and 'Enabled'
"""
DISABLED = "Disabled"
ENABLED = "Enabled"
[docs]class ExpressRouteCircuitPeeringType(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)):
"""The PeeringType. Possible values are: 'AzurePublicPeering', 'AzurePrivatePeering', and
'MicrosoftPeering'.
"""
AZURE_PUBLIC_PEERING = "AzurePublicPeering"
AZURE_PRIVATE_PEERING = "AzurePrivatePeering"
MICROSOFT_PEERING = "MicrosoftPeering"
[docs]class ExpressRouteCircuitSkuFamily(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)):
"""The family of the SKU. Possible values are: 'UnlimitedData' and 'MeteredData'.
"""
UNLIMITED_DATA = "UnlimitedData"
METERED_DATA = "MeteredData"
[docs]class ExpressRouteCircuitSkuTier(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)):
"""The tier of the SKU. Possible values are 'Standard' and 'Premium'.
"""
STANDARD = "Standard"
PREMIUM = "Premium"
[docs]class IPAllocationMethod(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)):
"""PrivateIP allocation method. Possible values are: 'Static' and 'Dynamic'.
"""
STATIC = "Static"
DYNAMIC = "Dynamic"
[docs]class LoadDistribution(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)):
"""The load distribution policy for this rule. Possible values are 'Default', 'SourceIP', and
'SourceIPProtocol'.
"""
DEFAULT = "Default"
SOURCE_IP = "SourceIP"
SOURCE_IP_PROTOCOL = "SourceIPProtocol"
[docs]class NetworkOperationStatus(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)):
"""Status of the Azure async operation. Possible values are: 'InProgress', 'Succeeded', and
'Failed'.
"""
IN_PROGRESS = "InProgress"
SUCCEEDED = "Succeeded"
FAILED = "Failed"
[docs]class ProbeProtocol(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)):
"""The protocol of the end point. Possible values are: 'Http' or 'Tcp'. If 'Tcp' is specified, a
received ACK is required for the probe to be successful. If 'Http' is specified, a 200 OK
response from the specifies URI is required for the probe to be successful.
"""
HTTP = "Http"
TCP = "Tcp"
[docs]class ProcessorArchitecture(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)):
"""VPN client Processor Architecture. Possible values are: 'AMD64' and 'X86'.
"""
AMD64 = "Amd64"
X86 = "X86"
[docs]class RouteNextHopType(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)):
"""Gets NextHopType.
"""
VIRTUAL_NETWORK_GATEWAY = "VirtualNetworkGateway"
VNET_LOCAL = "VnetLocal"
INTERNET = "Internet"
VIRTUAL_APPLIANCE = "VirtualAppliance"
NONE = "None"
[docs]class SecurityRuleAccess(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)):
"""The network traffic is allowed or denied. Possible values are: 'Allow' and 'Deny'.
"""
ALLOW = "Allow"
DENY = "Deny"
[docs]class SecurityRuleDirection(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)):
"""The direction of the rule. The direction specifies if rule will be evaluated on incoming or
outgoing traffic. Possible values are: 'Inbound' and 'Outbound'.
"""
INBOUND = "Inbound"
OUTBOUND = "Outbound"
[docs]class SecurityRuleProtocol(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)):
"""Network protocol this rule applies to. Possible values are 'Tcp', 'Udp', and '*'.
"""
TCP = "Tcp"
UDP = "Udp"
ASTERISK = "*"
[docs]class ServiceProviderProvisioningState(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)):
"""The ServiceProviderProvisioningState state of the resource. Possible values are
'NotProvisioned', 'Provisioning', 'Provisioned', and 'Deprovisioning'.
"""
NOT_PROVISIONED = "NotProvisioned"
PROVISIONING = "Provisioning"
PROVISIONED = "Provisioned"
DEPROVISIONING = "Deprovisioning"
[docs]class TransportProtocol(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)):
"""The transport protocol for the external endpoint. Possible values are 'Udp' or 'Tcp'
"""
UDP = "Udp"
TCP = "Tcp"
[docs]class UsageUnit(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)):
"""An enum describing the unit of measurement.
"""
COUNT = "Count"
[docs]class VirtualNetworkGatewayConnectionStatus(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)):
"""Virtual network Gateway connection status. Possible values are 'Unknown', 'Connecting',
'Connected' and 'NotConnected'.
"""
UNKNOWN = "Unknown"
CONNECTING = "Connecting"
CONNECTED = "Connected"
NOT_CONNECTED = "NotConnected"
[docs]class VirtualNetworkGatewayConnectionType(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)):
"""Gateway connection type. Possible values are: 'IPsec','Vnet2Vnet','ExpressRoute', and
'VPNClient.
"""
I_PSEC = "IPsec"
VNET2_VNET = "Vnet2Vnet"
EXPRESS_ROUTE = "ExpressRoute"
VPN_CLIENT = "VPNClient"
[docs]class VirtualNetworkGatewaySkuName(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)):
"""Gateway sku name -Basic/HighPerformance/Standard
"""
BASIC = "Basic"
HIGH_PERFORMANCE = "HighPerformance"
STANDARD = "Standard"
[docs]class VirtualNetworkGatewaySkuTier(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)):
"""Gateway sku tier -Basic/HighPerformance/Standard
"""
BASIC = "Basic"
HIGH_PERFORMANCE = "HighPerformance"
STANDARD = "Standard"
[docs]class VirtualNetworkGatewayType(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)):
"""The type of this virtual network gateway. Possible values are: 'Vpn' and 'ExpressRoute'.
"""
VPN = "Vpn"
EXPRESS_ROUTE = "ExpressRoute"
[docs]class VpnType(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)):
"""The type of this virtual network gateway. Possible values are: 'PolicyBased' and 'RouteBased'.
"""
POLICY_BASED = "PolicyBased"
ROUTE_BASED = "RouteBased"