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

7.0.0 (2019-10-22)
++++++++++++++++++

**Features**

- Model ApplicationGatewayHttpListener has a new parameter hostnames
- Model ApplicationGatewayHttpListener has a new parameter firewall_policy
- Model ApplicationGatewayPathRule has a new parameter firewall_policy
- Model P2SVpnGateway has a new parameter p2_sconnection_configurations
- Model VpnServerConfiguration has a new parameter vpn_client_root_certificates
- Model VpnServerConfiguration has a new parameter radius_server_root_certificates
- Model VpnServerConfiguration has a new parameter radius_client_root_certificates
- Model VpnServerConfiguration has a new parameter vpn_client_revoked_certificates
- Model ExpressRouteConnection has a new parameter enable_internet_security
- Model AzureFirewallApplicationRule has a new parameter source_ip_groups
- Model WebApplicationFirewallPolicy has a new parameter path_based_rules
- Model WebApplicationFirewallPolicy has a new parameter http_listeners
- Model PrivateLinkService has a new parameter enable_proxy_protocol
- Model AzureFirewallNetworkRule has a new parameter destination_ip_groups
- Model AzureFirewallNetworkRule has a new parameter source_ip_groups
- Model AzureFirewallNetworkRule has a new parameter destination_fqdns
- Model VirtualWAN has a new parameter virtual_wan_type
- Model VirtualHub has a new parameter sku
- Model VirtualHub has a new parameter virtual_hub_route_table_v2s
- Model AzureFirewallNatRule has a new parameter translated_fqdn
- Model AzureFirewallNatRule has a new parameter source_ip_groups
- Model PrivateEndpointConnection has a new parameter link_identifier
- Model AzureFirewall has a new parameter additional_properties
- Added operation RouteFiltersOperations.update_tags
- Added operation ServiceEndpointPoliciesOperations.update_tags
- Added operation PrivateLinkServicesOperations.get_private_endpoint_connection
- Added operation PrivateLinkServicesOperations.list_private_endpoint_connections
- Added operation group VirtualHubRouteTableV2sOperations
- Added operation group IpGroupsOperations

**Breaking changes**

- Operation AzureFirewallsOperations.update_tags has a new signature
- Operation ExpressRouteCircuitAuthorizationsOperations.create_or_update has a new signature
- Model P2SVpnGateway no longer has parameter p2s_connection_configurations
- Model VpnServerConfiguration no longer has parameter vpn_server_config_vpn_client_root_certificates
- Model VpnServerConfiguration no longer has parameter vpn_server_config_radius_client_root_certificates
- Model VpnServerConfiguration no longer has parameter vpn_server_config_vpn_client_revoked_certificates
- Model VpnServerConfiguration no longer has parameter vpn_server_config_radius_server_root_certificates
- Removed operation RouteFiltersOperations.update
- Removed operation VirtualRoutersOperations.update
- Removed operation RouteFilterRulesOperations.update
- Removed operation VirtualRouterPeeringsOperations.update
- Removed operation FirewallPoliciesOperations.update_tags
- Removed operation ServiceEndpointPoliciesOperations.update

6.0.0 (2019-10-09)
++++++++++++++++++

Expand Down

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ def check_dns_name_availability(self, location, domain_name_label, custom_header
overrides<msrest:optionsforoperations>`.
:return: DnsNameAvailabilityResult or ClientRawResponse if raw=true
:rtype:
~azure.mgmt.network.v2019_08_01.models.DnsNameAvailabilityResult or
~azure.mgmt.network.v2019_09_01.models.DnsNameAvailabilityResult or
~msrest.pipeline.ClientRawResponse
:raises: :class:`CloudError<msrestazure.azure_exceptions.CloudError>`

Expand Down Expand Up @@ -83,6 +83,8 @@ def check_dns_name_availability(self, location, domain_name_label, custom_header
from .v2019_07_01.operations import NetworkManagementClientOperationsMixin as OperationClass
elif api_version == '2019-08-01':
from .v2019_08_01.operations import NetworkManagementClientOperationsMixin as OperationClass
elif api_version == '2019-09-01':
from .v2019_09_01.operations import NetworkManagementClientOperationsMixin as OperationClass
else:
raise NotImplementedError("APIVersion {} is not available".format(api_version))
mixin_instance = OperationClass()
Expand All @@ -108,7 +110,7 @@ def generatevirtualwanvpnserverconfigurationvpnprofile(self, resource_group_name
:param authentication_method: VPN client authentication method.
Possible values include: 'EAPTLS', 'EAPMSCHAPv2'
:type authentication_method: str or
~azure.mgmt.network.v2019_08_01.models.AuthenticationMethod
~azure.mgmt.network.v2019_09_01.models.AuthenticationMethod
:param dict custom_headers: headers that will be added to the request
:param bool raw: The poller return type is ClientRawResponse, the
direct response alongside the deserialized response
Expand All @@ -117,15 +119,17 @@ def generatevirtualwanvpnserverconfigurationvpnprofile(self, resource_group_name
:return: An instance of LROPoller that returns VpnProfileResponse or
ClientRawResponse<VpnProfileResponse> if raw==True
:rtype:
~msrestazure.azure_operation.AzureOperationPoller[~azure.mgmt.network.v2019_08_01.models.VpnProfileResponse]
~msrestazure.azure_operation.AzureOperationPoller[~azure.mgmt.network.v2019_09_01.models.VpnProfileResponse]
or
~msrestazure.azure_operation.AzureOperationPoller[~msrest.pipeline.ClientRawResponse[~azure.mgmt.network.v2019_08_01.models.VpnProfileResponse]]
~msrestazure.azure_operation.AzureOperationPoller[~msrest.pipeline.ClientRawResponse[~azure.mgmt.network.v2019_09_01.models.VpnProfileResponse]]
:raises: :class:`CloudError<msrestazure.azure_exceptions.CloudError>`

"""
api_version = self._get_api_version('generatevirtualwanvpnserverconfigurationvpnprofile')
if api_version == '2019-08-01':
from .v2019_08_01.operations import NetworkManagementClientOperationsMixin as OperationClass
elif api_version == '2019-09-01':
from .v2019_09_01.operations import NetworkManagementClientOperationsMixin as OperationClass
else:
raise NotImplementedError("APIVersion {} is not available".format(api_version))
mixin_instance = OperationClass()
Expand All @@ -150,7 +154,7 @@ def supported_security_providers(self, resource_group_name, virtual_wan_name, cu
overrides<msrest:optionsforoperations>`.
:return: VirtualWanSecurityProviders or ClientRawResponse if raw=true
:rtype:
~azure.mgmt.network.v2019_08_01.models.VirtualWanSecurityProviders or
~azure.mgmt.network.v2019_09_01.models.VirtualWanSecurityProviders or
~msrest.pipeline.ClientRawResponse
:raises: :class:`CloudError<msrestazure.azure_exceptions.CloudError>`

Expand All @@ -174,6 +178,8 @@ def supported_security_providers(self, resource_group_name, virtual_wan_name, cu
from .v2019_07_01.operations import NetworkManagementClientOperationsMixin as OperationClass
elif api_version == '2019-08-01':
from .v2019_08_01.operations import NetworkManagementClientOperationsMixin as OperationClass
elif api_version == '2019-09-01':
from .v2019_09_01.operations import NetworkManagementClientOperationsMixin as OperationClass
else:
raise NotImplementedError("APIVersion {} is not available".format(api_version))
mixin_instance = OperationClass()
Expand Down
3 changes: 2 additions & 1 deletion sdk/network/azure-mgmt-network/azure/mgmt/network/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,5 @@
# --------------------------------------------------------------------------
from .v2018_07_01.models import *
from .v2019_02_01.models import *
from .v2019_08_01.models import *
from .v2019_07_01.models import *
from .v2019_09_01.models import *
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
# 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 ._configuration import NetworkManagementClientConfiguration
from ._network_management_client import NetworkManagementClient
__all__ = ['NetworkManagementClient', 'NetworkManagementClientConfiguration']

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 NetworkManagementClientConfiguration(AzureConfiguration):
"""Configuration for NetworkManagementClient
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(NetworkManagementClientConfiguration, 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-network/{}'.format(VERSION))
self.add_user_agent('Azure-SDK-For-Python')

self.credentials = credentials
self.subscription_id = subscription_id
Loading