Skip to content
  •  
  •  
  •  
33 changes: 17 additions & 16 deletions azure-mgmt-datamigration/tests/test_mgmt_datamigration.py
Original file line number Diff line number Diff line change
Expand Up @@ -45,23 +45,24 @@ def test_datamigration(self, resource_group):
self.assertTrue(name_availability.name_available)

# DMS requires a real vnet plus subnet
vnet_creation_async = self.network_sdk_client.virtual_networks.create_or_update(
resource_group.name,
vnet_name,
{
'location': self.location_name,
'address_space': {
'address_prefixes': ['10.0.0.0/16']
if self.is_live:
vnet_creation_async = self.network_sdk_client.virtual_networks.create_or_update(
resource_group.name,
vnet_name,
{
'location': self.location_name,
'address_space': {
'address_prefixes': ['10.0.0.0/16']
}
}
}
)
vnet_creation_async.wait()
self.network_sdk_client.subnets.create_or_update(
resource_group.name,
vnet_name,
'subnet1',
{'address_prefix': '10.0.0.0/24'}
).wait()
)
vnet_creation_async.wait()
self.network_sdk_client.subnets.create_or_update(
resource_group.name,
vnet_name,
'subnet1',
{'address_prefix': '10.0.0.0/24'}
).wait()

# create the service
params_create_service = DataMigrationService(
Expand Down
33 changes: 33 additions & 0 deletions azure-mgmt-network/HISTORY.rst
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,39 @@
Release History
===============

2.0.0 (2018-07-27)
++++++++++++++++++

**Features**

- Supports now 2018-06-01 and 2018-04-01. 2018-06-01 is the new default.
- Client class can be used as a context manager to keep the underlying HTTP session open for performance

**Features starting 2018-04-01**

- Model FlowLogInformation has a new parameter flow_analytics_configuration
- Model ApplicationGateway has a new parameter enable_fips
- Model ApplicationGateway has a new parameter autoscale_configuration
- Model ApplicationGateway has a new parameter zones
- Model ConnectionSharedKey has a new parameter id
- Added operation group HubVirtualNetworkConnectionsOperations
- Added operation group AzureFirewallsOperations
- Added operation group VirtualHubsOperations
- Added operation group VpnGatewaysOperations
- Added operation group VpnSitesOperations
- Added operation group VirtualWANsOperations
- Added operation group VpnSitesConfigurationOperations
- Added operation group VpnConnectionsOperations

**Breaking changes starting 2018-04-01**

- Operation VirtualNetworkGatewayConnectionsOperations.set_shared_key has a new parameter "id"
- Operation DdosProtectionPlansOperations.create_or_update parameter "parameters" has been flatten to "tags/location"

**Breaking changes starting 2018-06-01**

- The new class VpnConnection introduced in 2018-04-01 renamed "connection_bandwidth" to "connection_bandwidth_in_mbps"

2.0.0rc3 (2018-06-14)
+++++++++++++++++++++

Expand Down
2 changes: 1 addition & 1 deletion azure-mgmt-network/README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ This is the Microsoft Azure Network Management 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 and 3.6.
This package has been tested with Python 2.7, 3.4, 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
2 changes: 1 addition & 1 deletion azure-mgmt-network/azure/mgmt/network/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@
# Licensed under the MIT License. See License.txt in the project root for
# license information.
# --------------------------------------------------------------------------
from .v2017_10_01.models import *
from .v2018_06_01.models import *
410 changes: 396 additions & 14 deletions azure-mgmt-network/azure/mgmt/network/network_management_client.py

Large diffs are not rendered by default.

18 changes: 18 additions & 0 deletions azure-mgmt-network/azure/mgmt/network/v2018_04_01/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
# 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 .network_management_client import NetworkManagementClient
from .version import VERSION

__all__ = ['NetworkManagementClient']

__version__ = VERSION

Loading