Skip to content

Commit

Permalink
[AutoPR frontdoor/resource-manager] Frontdoor Py folder (#5781)
Browse files Browse the repository at this point in the history
* Generated from 3326a4e20905074f28b72cf812a73da7e1603985

Frontdoor Py folder

* Packaging update of azure-mgmt-frontdoor
  • Loading branch information
AutorestCI authored Jun 10, 2019
1 parent bf65ba0 commit 6f77580
Show file tree
Hide file tree
Showing 64 changed files with 1,586 additions and 571 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@
from .operations.frontend_endpoints_operations import FrontendEndpointsOperations
from .operations.endpoints_operations import EndpointsOperations
from .operations.policies_operations import PoliciesOperations
from .operations.managed_rule_sets_operations import ManagedRuleSetsOperations
from . import models


Expand Down Expand Up @@ -85,6 +86,8 @@ class FrontDoorManagementClient(SDKClient):
:vartype endpoints: azure.mgmt.frontdoor.operations.EndpointsOperations
:ivar policies: Policies operations
:vartype policies: azure.mgmt.frontdoor.operations.PoliciesOperations
:ivar managed_rule_sets: ManagedRuleSets operations
:vartype managed_rule_sets: azure.mgmt.frontdoor.operations.ManagedRuleSetsOperations
:param credentials: Credentials needed for the client to connect to Azure.
:type credentials: :mod:`A msrestazure Credentials
Expand Down Expand Up @@ -122,6 +125,8 @@ def __init__(
self._client, self.config, self._serialize, self._deserialize)
self.policies = PoliciesOperations(
self._client, self.config, self._serialize, self._deserialize)
self.managed_rule_sets = ManagedRuleSetsOperations(
self._client, self.config, self._serialize, self._deserialize)

def check_front_door_name_availability(
self, name, type, custom_headers=None, raw=False, **operation_config):
Expand All @@ -146,7 +151,7 @@ def check_front_door_name_availability(
"""
check_front_door_name_availability_input = models.CheckNameAvailabilityInput(name=name, type=type)

api_version = "2018-08-01"
api_version = "2019-04-01"

# Construct URL
url = self.check_front_door_name_availability.metadata['url']
Expand Down Expand Up @@ -211,7 +216,7 @@ def check_front_door_name_availability_with_subscription(
"""
check_front_door_name_availability_input = models.CheckNameAvailabilityInput(name=name, type=type)

api_version = "2018-08-01"
api_version = "2019-04-01"

# Construct URL
url = self.check_front_door_name_availability_with_subscription.metadata['url']
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,15 @@
from .key_vault_certificate_source_parameters_vault_py3 import KeyVaultCertificateSourceParametersVault
from .custom_https_configuration_py3 import CustomHttpsConfiguration
from .frontend_endpoint_py3 import FrontendEndpoint
from .backend_pools_settings_py3 import BackendPoolsSettings
from .front_door_update_parameters_py3 import FrontDoorUpdateParameters
from .purge_parameters_py3 import PurgeParameters
from .sub_resource_py3 import SubResource
from .cache_configuration_py3 import CacheConfiguration
from .route_configuration_py3 import RouteConfiguration
from .routing_rule_update_parameters_py3 import RoutingRuleUpdateParameters
from .cache_configuration_py3 import CacheConfiguration
from .forwarding_configuration_py3 import ForwardingConfiguration
from .redirect_configuration_py3 import RedirectConfiguration
from .backend_py3 import Backend
from .load_balancing_settings_update_parameters_py3 import LoadBalancingSettingsUpdateParameters
from .health_probe_settings_update_parameters_py3 import HealthProbeSettingsUpdateParameters
Expand All @@ -40,14 +44,18 @@
from .azure_async_operation_result_py3 import AzureAsyncOperationResult
from .tags_object_py3 import TagsObject
from .policy_settings_py3 import PolicySettings
from .match_condition1_py3 import MatchCondition1
from .match_condition_py3 import MatchCondition
from .custom_rule_py3 import CustomRule
from .custom_rules_py3 import CustomRules
from .custom_rule_list_py3 import CustomRuleList
from .managed_rule_override_py3 import ManagedRuleOverride
from .managed_rule_group_override_py3 import ManagedRuleGroupOverride
from .managed_rule_set_py3 import ManagedRuleSet
from .managed_rule_sets_py3 import ManagedRuleSets
from .web_application_firewall_policy1_py3 import WebApplicationFirewallPolicy1
from .azure_managed_override_rule_group_py3 import AzureManagedOverrideRuleGroup
from .azure_managed_rule_set_py3 import AzureManagedRuleSet
from .managed_rule_set_list_py3 import ManagedRuleSetList
from .frontend_endpoint_link_py3 import FrontendEndpointLink
from .web_application_firewall_policy_py3 import WebApplicationFirewallPolicy
from .managed_rule_definition_py3 import ManagedRuleDefinition
from .managed_rule_group_definition_py3 import ManagedRuleGroupDefinition
from .managed_rule_set_definition_py3 import ManagedRuleSetDefinition
except (SyntaxError, ImportError):
from .front_door import FrontDoor
from .routing_rule import RoutingRule
Expand All @@ -57,11 +65,15 @@
from .key_vault_certificate_source_parameters_vault import KeyVaultCertificateSourceParametersVault
from .custom_https_configuration import CustomHttpsConfiguration
from .frontend_endpoint import FrontendEndpoint
from .backend_pools_settings import BackendPoolsSettings
from .front_door_update_parameters import FrontDoorUpdateParameters
from .purge_parameters import PurgeParameters
from .sub_resource import SubResource
from .cache_configuration import CacheConfiguration
from .route_configuration import RouteConfiguration
from .routing_rule_update_parameters import RoutingRuleUpdateParameters
from .cache_configuration import CacheConfiguration
from .forwarding_configuration import ForwardingConfiguration
from .redirect_configuration import RedirectConfiguration
from .backend import Backend
from .load_balancing_settings_update_parameters import LoadBalancingSettingsUpdateParameters
from .health_probe_settings_update_parameters import HealthProbeSettingsUpdateParameters
Expand All @@ -79,46 +91,57 @@
from .azure_async_operation_result import AzureAsyncOperationResult
from .tags_object import TagsObject
from .policy_settings import PolicySettings
from .match_condition1 import MatchCondition1
from .match_condition import MatchCondition
from .custom_rule import CustomRule
from .custom_rules import CustomRules
from .custom_rule_list import CustomRuleList
from .managed_rule_override import ManagedRuleOverride
from .managed_rule_group_override import ManagedRuleGroupOverride
from .managed_rule_set import ManagedRuleSet
from .managed_rule_sets import ManagedRuleSets
from .web_application_firewall_policy1 import WebApplicationFirewallPolicy1
from .azure_managed_override_rule_group import AzureManagedOverrideRuleGroup
from .azure_managed_rule_set import AzureManagedRuleSet
from .managed_rule_set_list import ManagedRuleSetList
from .frontend_endpoint_link import FrontendEndpointLink
from .web_application_firewall_policy import WebApplicationFirewallPolicy
from .managed_rule_definition import ManagedRuleDefinition
from .managed_rule_group_definition import ManagedRuleGroupDefinition
from .managed_rule_set_definition import ManagedRuleSetDefinition
from .front_door_paged import FrontDoorPaged
from .routing_rule_paged import RoutingRulePaged
from .health_probe_settings_model_paged import HealthProbeSettingsModelPaged
from .load_balancing_settings_model_paged import LoadBalancingSettingsModelPaged
from .backend_pool_paged import BackendPoolPaged
from .frontend_endpoint_paged import FrontendEndpointPaged
from .web_application_firewall_policy1_paged import WebApplicationFirewallPolicy1Paged
from .web_application_firewall_policy_paged import WebApplicationFirewallPolicyPaged
from .managed_rule_set_definition_paged import ManagedRuleSetDefinitionPaged
from .front_door_management_client_enums import (
FrontDoorResourceState,
CustomHttpsProvisioningState,
CustomHttpsProvisioningSubstate,
FrontDoorCertificateSource,
FrontDoorTlsProtocolType,
FrontDoorCertificateType,
EnforceCertificateNameCheckEnabledState,
FrontDoorEnabledState,
FrontDoorProtocol,
RoutingRuleEnabledState,
FrontDoorForwardingProtocol,
FrontDoorQuery,
DynamicCompressionEnabled,
FrontDoorRedirectType,
FrontDoorRedirectProtocol,
BackendEnabledState,
SessionAffinityEnabledState,
ResourceType,
Availability,
NetworkOperationStatus,
EnabledState,
Mode,
PolicyEnabledState,
PolicyMode,
CustomRuleEnabledState,
RuleType,
MatchCondition,
MatchVariable,
Operator,
Action,
Transform,
WebApplicationFirewallPolicy,
RuleGroupOverride,
TransformType,
ActionType,
ManagedRuleEnabledState,
PolicyResourceState,
)

__all__ = [
Expand All @@ -130,11 +153,15 @@
'KeyVaultCertificateSourceParametersVault',
'CustomHttpsConfiguration',
'FrontendEndpoint',
'BackendPoolsSettings',
'FrontDoorUpdateParameters',
'PurgeParameters',
'SubResource',
'CacheConfiguration',
'RouteConfiguration',
'RoutingRuleUpdateParameters',
'CacheConfiguration',
'ForwardingConfiguration',
'RedirectConfiguration',
'Backend',
'LoadBalancingSettingsUpdateParameters',
'HealthProbeSettingsUpdateParameters',
Expand All @@ -152,43 +179,54 @@
'AzureAsyncOperationResult',
'TagsObject',
'PolicySettings',
'MatchCondition1',
'MatchCondition',
'CustomRule',
'CustomRules',
'CustomRuleList',
'ManagedRuleOverride',
'ManagedRuleGroupOverride',
'ManagedRuleSet',
'ManagedRuleSets',
'WebApplicationFirewallPolicy1',
'AzureManagedOverrideRuleGroup',
'AzureManagedRuleSet',
'ManagedRuleSetList',
'FrontendEndpointLink',
'WebApplicationFirewallPolicy',
'ManagedRuleDefinition',
'ManagedRuleGroupDefinition',
'ManagedRuleSetDefinition',
'FrontDoorPaged',
'RoutingRulePaged',
'HealthProbeSettingsModelPaged',
'LoadBalancingSettingsModelPaged',
'BackendPoolPaged',
'FrontendEndpointPaged',
'WebApplicationFirewallPolicy1Paged',
'WebApplicationFirewallPolicyPaged',
'ManagedRuleSetDefinitionPaged',
'FrontDoorResourceState',
'CustomHttpsProvisioningState',
'CustomHttpsProvisioningSubstate',
'FrontDoorCertificateSource',
'FrontDoorTlsProtocolType',
'FrontDoorCertificateType',
'EnforceCertificateNameCheckEnabledState',
'FrontDoorEnabledState',
'FrontDoorProtocol',
'RoutingRuleEnabledState',
'FrontDoorForwardingProtocol',
'FrontDoorQuery',
'DynamicCompressionEnabled',
'FrontDoorRedirectType',
'FrontDoorRedirectProtocol',
'BackendEnabledState',
'SessionAffinityEnabledState',
'ResourceType',
'Availability',
'NetworkOperationStatus',
'EnabledState',
'Mode',
'PolicyEnabledState',
'PolicyMode',
'CustomRuleEnabledState',
'RuleType',
'MatchCondition',
'MatchVariable',
'Operator',
'Action',
'Transform',
'WebApplicationFirewallPolicy',
'RuleGroupOverride',
'TransformType',
'ActionType',
'ManagedRuleEnabledState',
'PolicyResourceState',
]

This file was deleted.

This file was deleted.

This file was deleted.

Loading

0 comments on commit 6f77580

Please sign in to comment.