Skip to content

Commit 63f1d30

Browse files
author
SDK Automation
committed
Generated from d1bbbc2a76bc8fd383ab41aa7f8a1c3af3d81a22
fix network (#9369) * fix network * duplicated publicipprefix * fixed example in 2018-01-01 * final updates * missing examples (cherry picked from commit 42d9639)
1 parent debf801 commit 63f1d30

15 files changed

+2241
-2057
lines changed

sdk/network/azure-mgmt-network/CHANGELOG.md

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,23 @@
11
# Release History
22

3+
## 10.2.0 (2020-04-10)
4+
5+
**Features**
6+
7+
- Model VpnConnection has a new parameter routing_configuration
8+
- Model NatRuleCondition has a new parameter terminate_tls
9+
- Model HubVirtualNetworkConnection has a new parameter routing_configuration
10+
- Model ExpressRouteConnection has a new parameter routing_configuration
11+
- Model FirewallPolicy has a new parameter transport_security
12+
- Model FirewallPolicy has a new parameter identity
13+
- Model FirewallPolicy has a new parameter threat_intel_whitelist
14+
- Model ApplicationRuleCondition has a new parameter target_urls
15+
- Model P2SConnectionConfiguration has a new parameter routing_configuration
16+
- Model BackendAddressPool has a new parameter load_balancer_backend_addresses
17+
- Added operation LoadBalancerBackendAddressPoolsOperations.create_or_update
18+
- Added operation LoadBalancerBackendAddressPoolsOperations.delete
19+
- Added operation group HubRouteTablesOperations
20+
321
## 10.1.0 (2020-04-10)
422

523
**Features**

sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_04_01/models/_models.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11736,6 +11736,9 @@ class P2SVpnGateway(Resource):
1173611736
status.
1173711737
:vartype vpn_client_connection_health:
1173811738
~azure.mgmt.network.v2020_04_01.models.VpnClientConnectionHealth
11739+
:param custom_dns_servers: List of all customer specified DNS servers IP
11740+
addresses.
11741+
:type custom_dns_servers: list[str]
1173911742
:ivar etag: A unique read-only string that changes whenever the resource
1174011743
is updated.
1174111744
:vartype etag: str
@@ -11761,6 +11764,7 @@ class P2SVpnGateway(Resource):
1176111764
'vpn_gateway_scale_unit': {'key': 'properties.vpnGatewayScaleUnit', 'type': 'int'},
1176211765
'vpn_server_configuration': {'key': 'properties.vpnServerConfiguration', 'type': 'SubResource'},
1176311766
'vpn_client_connection_health': {'key': 'properties.vpnClientConnectionHealth', 'type': 'VpnClientConnectionHealth'},
11767+
'custom_dns_servers': {'key': 'properties.customDnsServers', 'type': '[str]'},
1176411768
'etag': {'key': 'etag', 'type': 'str'},
1176511769
}
1176611770

@@ -11772,6 +11776,7 @@ def __init__(self, **kwargs):
1177211776
self.vpn_gateway_scale_unit = kwargs.get('vpn_gateway_scale_unit', None)
1177311777
self.vpn_server_configuration = kwargs.get('vpn_server_configuration', None)
1177411778
self.vpn_client_connection_health = None
11779+
self.custom_dns_servers = kwargs.get('custom_dns_servers', None)
1177511780
self.etag = None
1177611781

1177711782

sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_04_01/models/_models_py3.py

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11736,6 +11736,9 @@ class P2SVpnGateway(Resource):
1173611736
status.
1173711737
:vartype vpn_client_connection_health:
1173811738
~azure.mgmt.network.v2020_04_01.models.VpnClientConnectionHealth
11739+
:param custom_dns_servers: List of all customer specified DNS servers IP
11740+
addresses.
11741+
:type custom_dns_servers: list[str]
1173911742
:ivar etag: A unique read-only string that changes whenever the resource
1174011743
is updated.
1174111744
:vartype etag: str
@@ -11761,17 +11764,19 @@ class P2SVpnGateway(Resource):
1176111764
'vpn_gateway_scale_unit': {'key': 'properties.vpnGatewayScaleUnit', 'type': 'int'},
1176211765
'vpn_server_configuration': {'key': 'properties.vpnServerConfiguration', 'type': 'SubResource'},
1176311766
'vpn_client_connection_health': {'key': 'properties.vpnClientConnectionHealth', 'type': 'VpnClientConnectionHealth'},
11767+
'custom_dns_servers': {'key': 'properties.customDnsServers', 'type': '[str]'},
1176411768
'etag': {'key': 'etag', 'type': 'str'},
1176511769
}
1176611770

11767-
def __init__(self, *, id: str=None, location: str=None, tags=None, virtual_hub=None, p2_sconnection_configurations=None, vpn_gateway_scale_unit: int=None, vpn_server_configuration=None, **kwargs) -> None:
11771+
def __init__(self, *, id: str=None, location: str=None, tags=None, virtual_hub=None, p2_sconnection_configurations=None, vpn_gateway_scale_unit: int=None, vpn_server_configuration=None, custom_dns_servers=None, **kwargs) -> None:
1176811772
super(P2SVpnGateway, self).__init__(id=id, location=location, tags=tags, **kwargs)
1176911773
self.virtual_hub = virtual_hub
1177011774
self.p2_sconnection_configurations = p2_sconnection_configurations
1177111775
self.provisioning_state = None
1177211776
self.vpn_gateway_scale_unit = vpn_gateway_scale_unit
1177311777
self.vpn_server_configuration = vpn_server_configuration
1177411778
self.vpn_client_connection_health = None
11779+
self.custom_dns_servers = custom_dns_servers
1177511780
self.etag = None
1177611781

1177711782

sdk/network/azure-mgmt-network/azure/mgmt/network/version.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,4 @@
55
# license information.
66
# --------------------------------------------------------------------------
77

8-
VERSION = "10.1.0"
8+
VERSION = "10.2.0"

sdk/network/azure-mgmt-network/tests/recordings/test_mgmt_network.test_dns_availability.yaml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -9,12 +9,12 @@ interactions:
99
Connection:
1010
- keep-alive
1111
User-Agent:
12-
- python/3.6.9 (Linux-4.19.76-linuxkit-x86_64-with-Ubuntu-18.04-bionic) msrest/0.6.13
13-
msrest_azure/0.6.3 azure-mgmt-network/10.1.0 Azure-SDK-For-Python
12+
- python/3.6.9 (Linux-5.0.0-1032-azure-x86_64-with-Ubuntu-18.04-bionic) msrest/0.6.10
13+
msrest_azure/0.6.2 azure-mgmt-network/10.2.0 Azure-SDK-For-Python
1414
accept-language:
1515
- en-US
1616
method: GET
17-
uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/CheckDnsNameAvailability?domainNameLabel=pydomain&api-version=2020-03-01
17+
uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/CheckDnsNameAvailability?domainNameLabel=pydomain&api-version=2020-04-01
1818
response:
1919
body:
2020
string: "{\r\n \"available\": true\r\n}"
@@ -26,7 +26,7 @@ interactions:
2626
content-type:
2727
- application/json; charset=utf-8
2828
date:
29-
- Tue, 14 Apr 2020 09:34:32 GMT
29+
- Wed, 13 May 2020 05:05:22 GMT
3030
expires:
3131
- '-1'
3232
pragma:
@@ -43,7 +43,7 @@ interactions:
4343
x-content-type-options:
4444
- nosniff
4545
x-ms-arm-service-request-id:
46-
- 1c55a1d4-76d9-47a1-b9d6-13d4f65216a6
46+
- be41fb9f-ff11-4633-b42c-0ca87bc77c0c
4747
status:
4848
code: 200
4949
message: OK

0 commit comments

Comments
 (0)