Skip to content

Commit

Permalink
Generated from 497f37d011e45d90e7a5f190b1326ec89e2719c8
Browse files Browse the repository at this point in the history
Merge pull request #6 from Khushboo-Baheti/master

merge
  • Loading branch information
SDK Automation committed Feb 24, 2020
1 parent a25a803 commit 1e95618
Show file tree
Hide file tree
Showing 12 changed files with 1,069 additions and 14 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@
from .operations import FrontDoorsOperations
from .operations import FrontendEndpointsOperations
from .operations import EndpointsOperations
from .operations import RulesEnginesOperations
from .operations import PoliciesOperations
from .operations import ManagedRuleSetsOperations
from . import models
Expand All @@ -46,6 +47,8 @@ class FrontDoorManagementClient(FrontDoorManagementClientOperationsMixin, SDKCli
:vartype frontend_endpoints: azure.mgmt.frontdoor.operations.FrontendEndpointsOperations
:ivar endpoints: Endpoints operations
:vartype endpoints: azure.mgmt.frontdoor.operations.EndpointsOperations
:ivar rules_engines: RulesEngines operations
:vartype rules_engines: azure.mgmt.frontdoor.operations.RulesEnginesOperations
:ivar policies: Policies operations
:vartype policies: azure.mgmt.frontdoor.operations.PoliciesOperations
:ivar managed_rule_sets: ManagedRuleSets operations
Expand Down Expand Up @@ -85,6 +88,8 @@ def __init__(
self._client, self.config, self._serialize, self._deserialize)
self.endpoints = EndpointsOperations(
self._client, self.config, self._serialize, self._deserialize)
self.rules_engines = RulesEnginesOperations(
self._client, self.config, self._serialize, self._deserialize)
self.policies = PoliciesOperations(
self._client, self.config, self._serialize, self._deserialize)
self.managed_rule_sets = ManagedRuleSetsOperations(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@
from ._models_py3 import FrontendEndpointLink
from ._models_py3 import FrontendEndpointUpdateParameters
from ._models_py3 import FrontendEndpointUpdateParametersWebApplicationFirewallPolicyLink
from ._models_py3 import HeaderAction
from ._models_py3 import HealthProbeSettingsListResult
from ._models_py3 import HealthProbeSettingsModel
from ._models_py3 import HealthProbeSettingsUpdateParameters
Expand Down Expand Up @@ -64,6 +65,11 @@
from ._models_py3 import RoutingRule
from ._models_py3 import RoutingRuleListResult
from ._models_py3 import RoutingRuleUpdateParameters
from ._models_py3 import RulesEngine
from ._models_py3 import RulesEngineAction
from ._models_py3 import RulesEngineMatchCondition
from ._models_py3 import RulesEngineRule
from ._models_py3 import RulesEngineUpdateParameters
from ._models_py3 import SubResource
from ._models_py3 import TagsObject
from ._models_py3 import Timeseries
Expand Down Expand Up @@ -97,6 +103,7 @@
from ._models import FrontendEndpointLink
from ._models import FrontendEndpointUpdateParameters
from ._models import FrontendEndpointUpdateParametersWebApplicationFirewallPolicyLink
from ._models import HeaderAction
from ._models import HealthProbeSettingsListResult
from ._models import HealthProbeSettingsModel
from ._models import HealthProbeSettingsUpdateParameters
Expand Down Expand Up @@ -126,6 +133,11 @@
from ._models import RoutingRule
from ._models import RoutingRuleListResult
from ._models import RoutingRuleUpdateParameters
from ._models import RulesEngine
from ._models import RulesEngineAction
from ._models import RulesEngineMatchCondition
from ._models import RulesEngineRule
from ._models import RulesEngineUpdateParameters
from ._models import SubResource
from ._models import TagsObject
from ._models import Timeseries
Expand All @@ -139,6 +151,7 @@
from ._paged_models import ManagedRuleSetDefinitionPaged
from ._paged_models import PreconfiguredEndpointPaged
from ._paged_models import ProfilePaged
from ._paged_models import RulesEnginePaged
from ._paged_models import WebApplicationFirewallPolicyPaged
from ._front_door_management_client_enums import (
NetworkOperationStatus,
Expand All @@ -162,10 +175,16 @@
DynamicCompressionEnabled,
FrontDoorRedirectType,
FrontDoorRedirectProtocol,
PrivateEndpointStatus,
BackendEnabledState,
FrontDoorHealthProbeMethod,
HealthProbeEnabled,
SessionAffinityEnabledState,
HeaderActionType,
RulesEngineMatchVariable,
RulesEngineOperator,
Transform,
MatchProcessingBehavior,
ResourceType,
Availability,
PolicyEnabledState,
Expand Down Expand Up @@ -210,6 +229,7 @@
'FrontendEndpointLink',
'FrontendEndpointUpdateParameters',
'FrontendEndpointUpdateParametersWebApplicationFirewallPolicyLink',
'HeaderAction',
'HealthProbeSettingsListResult',
'HealthProbeSettingsModel',
'HealthProbeSettingsUpdateParameters',
Expand Down Expand Up @@ -239,6 +259,11 @@
'RoutingRule',
'RoutingRuleListResult',
'RoutingRuleUpdateParameters',
'RulesEngine',
'RulesEngineAction',
'RulesEngineMatchCondition',
'RulesEngineRule',
'RulesEngineUpdateParameters',
'SubResource',
'TagsObject',
'Timeseries',
Expand All @@ -251,6 +276,7 @@
'ExperimentPaged',
'FrontDoorPaged',
'FrontendEndpointPaged',
'RulesEnginePaged',
'WebApplicationFirewallPolicyPaged',
'ManagedRuleSetDefinitionPaged',
'NetworkOperationStatus',
Expand All @@ -274,10 +300,16 @@
'DynamicCompressionEnabled',
'FrontDoorRedirectType',
'FrontDoorRedirectProtocol',
'PrivateEndpointStatus',
'BackendEnabledState',
'FrontDoorHealthProbeMethod',
'HealthProbeEnabled',
'SessionAffinityEnabledState',
'HeaderActionType',
'RulesEngineMatchVariable',
'RulesEngineOperator',
'Transform',
'MatchProcessingBehavior',
'ResourceType',
'Availability',
'PolicyEnabledState',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -165,6 +165,15 @@ class FrontDoorRedirectProtocol(str, Enum):
match_request = "MatchRequest"


class PrivateEndpointStatus(str, Enum):

pending = "Pending"
approved = "Approved"
rejected = "Rejected"
disconnected = "Disconnected"
timeout = "Timeout"


class BackendEnabledState(str, Enum):

enabled = "Enabled"
Expand All @@ -189,6 +198,60 @@ class SessionAffinityEnabledState(str, Enum):
disabled = "Disabled"


class HeaderActionType(str, Enum):

append = "Append"
delete = "Delete"
overwrite = "Overwrite"


class RulesEngineMatchVariable(str, Enum):

is_mobile = "IsMobile"
remote_addr = "RemoteAddr"
request_method = "RequestMethod"
query_string = "QueryString"
post_args = "PostArgs"
request_uri = "RequestUri"
request_path = "RequestPath"
request_filename = "RequestFilename"
request_filename_extension = "RequestFilenameExtension"
request_header = "RequestHeader"
request_body = "RequestBody"
request_scheme = "RequestScheme"


class RulesEngineOperator(str, Enum):

any = "Any"
ip_match = "IPMatch"
geo_match = "GeoMatch"
equal = "Equal"
contains = "Contains"
less_than = "LessThan"
greater_than = "GreaterThan"
less_than_or_equal = "LessThanOrEqual"
greater_than_or_equal = "GreaterThanOrEqual"
begins_with = "BeginsWith"
ends_with = "EndsWith"


class Transform(str, Enum):

lowercase = "Lowercase"
uppercase = "Uppercase"
trim = "Trim"
url_decode = "UrlDecode"
url_encode = "UrlEncode"
remove_nulls = "RemoveNulls"


class MatchProcessingBehavior(str, Enum):

continue_enum = "Continue"
stop = "Stop"


class ResourceType(str, Enum):

microsoft_networkfront_doors = "Microsoft.Network/frontDoors"
Expand Down
Loading

0 comments on commit 1e95618

Please sign in to comment.