Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[AutoPR frontdoor/resource-manager] Frontdoor Py folder #5781

Merged
merged 2 commits into from
Jun 10, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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