Skip to content
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
46 changes: 46 additions & 0 deletions sdk/network/azure-mgmt-frontdoor/HISTORY.rst
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,52 @@
Release History
===============

0.2.0 (2019-10-09)
++++++++++++++++++

**Features**

- Model RoutingRule has a new parameter route_configuration
- Model PolicySettings has a new parameter redirect_url
- Model PolicySettings has a new parameter custom_block_response_body
- Model PolicySettings has a new parameter custom_block_response_status_code
- Model HealthProbeSettingsModel has a new parameter enabled_state
- Model HealthProbeSettingsModel has a new parameter health_probe_method
- Model HealthProbeSettingsUpdateParameters has a new parameter enabled_state
- Model HealthProbeSettingsUpdateParameters has a new parameter health_probe_method
- Model FrontDoorUpdateParameters has a new parameter backend_pools_settings
- Model CustomRule has a new parameter enabled_state
- Model FrontDoor has a new parameter backend_pools_settings
- Model RoutingRuleUpdateParameters has a new parameter route_configuration
- Added operation group ProfilesOperations
- Added operation group ExperimentsOperations
- Added operation group PreconfiguredEndpointsOperations
- Added operation group ManagedRuleSetsOperations
- Added operation group FrontDoorManagementClientOperationsMixin

**Breaking changes**

- Parameter certificate_source of model CustomHttpsConfiguration is now required
- Parameter protocol_type of model CustomHttpsConfiguration is now required
- Model RoutingRule no longer has parameter custom_forwarding_path
- Model RoutingRule no longer has parameter forwarding_protocol
- Model RoutingRule no longer has parameter cache_configuration
- Model RoutingRule no longer has parameter backend_pool
- Model CustomRule no longer has parameter etag
- Model CustomRule no longer has parameter transforms
- Model CustomHttpsConfiguration has a new required parameter minimum_tls_version
- Model RoutingRuleUpdateParameters no longer has parameter custom_forwarding_path
- Model RoutingRuleUpdateParameters no longer has parameter forwarding_protocol
- Model RoutingRuleUpdateParameters no longer has parameter cache_configuration
- Model RoutingRuleUpdateParameters no longer has parameter backend_pool
- Removed operation FrontendEndpointsOperations.delete
- Removed operation FrontendEndpointsOperations.create_or_update
- Model ManagedRuleSet has a new signature
- Removed operation group LoadBalancingSettingsOperations
- Removed operation group RoutingRulesOperations
- Removed operation group HealthProbeSettingsOperations
- Removed operation group BackendPoolsOperations

0.1.0 (2019-03-11)
++++++++++++++++++

Expand Down
2 changes: 1 addition & 1 deletion sdk/network/azure-mgmt-frontdoor/README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ This is the Microsoft Azure Front Door Service Client Library.
Azure Resource Manager (ARM) is the next generation of management APIs that
replace the old Azure Service Management (ASM).

This package has been tested with Python 2.7, 3.4, 3.5, 3.6 and 3.7.
This package has been tested with Python 2.7, 3.5, 3.6 and 3.7.

For the older Azure Service Management (ASM) libraries, see
`azure-servicemanagement-legacy <https://pypi.python.org/pypi/azure-servicemanagement-legacy>`__ library.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,11 @@
# regenerated.
# --------------------------------------------------------------------------

from .front_door_management_client import FrontDoorManagementClient
from .version import VERSION
from ._configuration import FrontDoorManagementClientConfiguration
from ._front_door_management_client import FrontDoorManagementClient
__all__ = ['FrontDoorManagementClient', 'FrontDoorManagementClientConfiguration']

__all__ = ['FrontDoorManagementClient']
from .version import VERSION

__version__ = VERSION

Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
# 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 msrestazure import AzureConfiguration

from .version import VERSION


class FrontDoorManagementClientConfiguration(AzureConfiguration):
"""Configuration for FrontDoorManagementClient
Note that all parameters used to create this instance are saved as instance
attributes.

:param credentials: Credentials needed for the client to connect to Azure.
:type credentials: :mod:`A msrestazure Credentials
object<msrestazure.azure_active_directory>`
:param subscription_id: The subscription credentials which uniquely
identify the Microsoft Azure subscription. The subscription ID forms part
of the URI for every service call.
:type subscription_id: str
:param str base_url: Service URL
"""

def __init__(
self, credentials, subscription_id, base_url=None):

if credentials is None:
raise ValueError("Parameter 'credentials' must not be None.")
if subscription_id is None:
raise ValueError("Parameter 'subscription_id' must not be None.")
if not base_url:
base_url = 'https://management.azure.com'

super(FrontDoorManagementClientConfiguration, self).__init__(base_url)

# Starting Autorest.Python 4.0.64, make connection pool activated by default
self.keep_alive = True

self.add_user_agent('azure-mgmt-frontdoor/{}'.format(VERSION))
self.add_user_agent('Azure-SDK-For-Python')

self.credentials = credentials
self.subscription_id = subscription_id
Original file line number Diff line number Diff line change
@@ -0,0 +1,86 @@
# 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 msrest.service_client import SDKClient
from msrest import Serializer, Deserializer

from ._configuration import FrontDoorManagementClientConfiguration
from .operations import FrontDoorManagementClientOperationsMixin
from .operations import ProfilesOperations
from .operations import PreconfiguredEndpointsOperations
from .operations import ExperimentsOperations
from .operations import FrontDoorsOperations
from .operations import FrontendEndpointsOperations
from .operations import EndpointsOperations
from .operations import PoliciesOperations
from .operations import ManagedRuleSetsOperations
from . import models


class FrontDoorManagementClient(FrontDoorManagementClientOperationsMixin, SDKClient):
"""FrontDoor Client

:ivar config: Configuration for client.
:vartype config: FrontDoorManagementClientConfiguration

:ivar profiles: Profiles operations
:vartype profiles: azure.mgmt.frontdoor.operations.ProfilesOperations
:ivar preconfigured_endpoints: PreconfiguredEndpoints operations
:vartype preconfigured_endpoints: azure.mgmt.frontdoor.operations.PreconfiguredEndpointsOperations
:ivar experiments: Experiments operations
:vartype experiments: azure.mgmt.frontdoor.operations.ExperimentsOperations
:ivar front_doors: FrontDoors operations
:vartype front_doors: azure.mgmt.frontdoor.operations.FrontDoorsOperations
:ivar frontend_endpoints: FrontendEndpoints operations
:vartype frontend_endpoints: azure.mgmt.frontdoor.operations.FrontendEndpointsOperations
:ivar endpoints: Endpoints operations
: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
object<msrestazure.azure_active_directory>`
:param subscription_id: The subscription credentials which uniquely
identify the Microsoft Azure subscription. The subscription ID forms part
of the URI for every service call.
:type subscription_id: str
:param str base_url: Service URL
"""

def __init__(
self, credentials, subscription_id, base_url=None):

self.config = FrontDoorManagementClientConfiguration(credentials, subscription_id, base_url)
super(FrontDoorManagementClient, self).__init__(self.config.credentials, self.config)

client_models = {k: v for k, v in models.__dict__.items() if isinstance(v, type)}
self._serialize = Serializer(client_models)
self._deserialize = Deserializer(client_models)

self.profiles = ProfilesOperations(
self._client, self.config, self._serialize, self._deserialize)
self.preconfigured_endpoints = PreconfiguredEndpointsOperations(
self._client, self.config, self._serialize, self._deserialize)
self.experiments = ExperimentsOperations(
self._client, self.config, self._serialize, self._deserialize)
self.front_doors = FrontDoorsOperations(
self._client, self.config, self._serialize, self._deserialize)
self.frontend_endpoints = FrontendEndpointsOperations(
self._client, self.config, self._serialize, self._deserialize)
self.endpoints = EndpointsOperations(
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)
Loading