Skip to content

Commit ad5308d

Browse files
00Kai0SDKAuto
andauthored
T2 network 2021 01 26 (Azure#16368)
* CodeGen from PR 12429 in Azure/azure-rest-api-specs Add new api-version 2020-08-01 of network to go sdk (Azure#12429) * test,version,CHANGELOG * fix changelog and version Co-authored-by: SDKAuto <sdkautomation@microsoft.com>
1 parent cbeb616 commit ad5308d

File tree

260 files changed

+184628
-23983
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

260 files changed

+184628
-23983
lines changed

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

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

3+
## 17.1.0 (2021-01-26)
4+
5+
**Features**
6+
- Model PrivateEndpoint has a new parameter extended_location
7+
- Model VpnGateway has a new parameter nat_rules
8+
- Model ExpressRouteConnection has a new parameter express_route_gateway_bypass
9+
- Model SecurityRule has a new parameter type
10+
- Model PrivateLinkService has a new parameter extended_location
11+
- Model Route has a new parameter type
12+
- Model Route has a new parameter has_bgp_override
13+
- Model RouteTable has a new parameter resource_guid
14+
- Model VpnSiteLinkConnection has a new parameter ingress_nat_rules
15+
- Model VpnSiteLinkConnection has a new parameter vpn_link_connection_mode
16+
- Model VpnSiteLinkConnection has a new parameter egress_nat_rules
17+
- Model BackendAddressPool has a new parameter location
18+
- Model CustomIpPrefix has a new parameter extended_location
19+
- Added operation ExpressRouteGatewaysOperations.begin_update_tags
20+
- Added operation VirtualNetworkGatewayConnectionsOperations.begin_get_ike_sas
21+
- Added operation group NatRulesOperations
22+
323
## 17.0.0 (2020-11-25)
424

525
**Features**

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

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,3 +19,13 @@ section of the project.
1919

2020

2121
![Impressions](https://azure-sdk-impressions.azurewebsites.net/api/impressions/azure-sdk-for-python%2Fazure-mgmt-network%2FREADME.png)
22+
# Usage
23+
24+
25+
To learn how to use this package, see the [quickstart guide](https://aka.ms/azsdk/python/mgmt)
26+
27+
28+
29+
For docs and references, see [Python SDK References](https://docs.microsoft.com/python/api/overview/azure/)
30+
Code samples for this package can be found at [Network Management](https://docs.microsoft.com/samples/browse/?languages=python&term=Getting%20started%20-%20Managing&terms=Getting%20started%20-%20Managing) on docs.microsoft.com.
31+
Additional code samples for different Azure services are available at [Samples Repo](https://aka.ms/azsdk/python/mgmt/samples)

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

Lines changed: 333 additions & 1 deletion
Large diffs are not rendered by default.

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

Lines changed: 28 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ def begin_delete_bastion_shareable_link(
4141
:param bastion_host_name: The name of the Bastion Host.
4242
:type bastion_host_name: str
4343
:param bsl_request: Post request for all the Bastion Shareable Link endpoints.
44-
:type bsl_request: ~azure.mgmt.network.v2020_07_01.models.BastionShareableLinkListRequest
44+
:type bsl_request: ~azure.mgmt.network.v2020_08_01.models.BastionShareableLinkListRequest
4545
:keyword callable cls: A custom type or function that will be passed the direct response
4646
:keyword str continuation_token: A continuation token to restart a poller from a saved state.
4747
:keyword polling: True for ARMPolling, False for no polling, or a
@@ -69,6 +69,8 @@ def begin_delete_bastion_shareable_link(
6969
from .v2020_06_01.operations import NetworkManagementClientOperationsMixin as OperationClass
7070
elif api_version == '2020-07-01':
7171
from .v2020_07_01.operations import NetworkManagementClientOperationsMixin as OperationClass
72+
elif api_version == '2020-08-01':
73+
from .v2020_08_01.operations import NetworkManagementClientOperationsMixin as OperationClass
7274
else:
7375
raise ValueError("API version {} does not have operation 'begin_delete_bastion_shareable_link'".format(api_version))
7476
mixin_instance = OperationClass()
@@ -95,15 +97,15 @@ def begin_generatevirtualwanvpnserverconfigurationvpnprofile(
9597
:type virtual_wan_name: str
9698
:param vpn_client_params: Parameters supplied to the generate VirtualWan VPN profile generation
9799
operation.
98-
:type vpn_client_params: ~azure.mgmt.network.v2020_07_01.models.VirtualWanVpnProfileParameters
100+
:type vpn_client_params: ~azure.mgmt.network.v2020_08_01.models.VirtualWanVpnProfileParameters
99101
:keyword callable cls: A custom type or function that will be passed the direct response
100102
:keyword str continuation_token: A continuation token to restart a poller from a saved state.
101103
:keyword polling: True for ARMPolling, False for no polling, or a
102104
polling object for personal polling strategy
103105
:paramtype polling: bool or ~azure.core.polling.PollingMethod
104106
:keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present.
105107
:return: An instance of LROPoller that returns either VpnProfileResponse or the result of cls(response)
106-
:rtype: ~azure.core.polling.LROPoller[~azure.mgmt.network.v2020_07_01.models.VpnProfileResponse]
108+
:rtype: ~azure.core.polling.LROPoller[~azure.mgmt.network.v2020_08_01.models.VpnProfileResponse]
107109
:raises ~azure.core.exceptions.HttpResponseError:
108110
"""
109111
api_version = self._get_api_version('begin_generatevirtualwanvpnserverconfigurationvpnprofile')
@@ -125,6 +127,8 @@ def begin_generatevirtualwanvpnserverconfigurationvpnprofile(
125127
from .v2020_06_01.operations import NetworkManagementClientOperationsMixin as OperationClass
126128
elif api_version == '2020-07-01':
127129
from .v2020_07_01.operations import NetworkManagementClientOperationsMixin as OperationClass
130+
elif api_version == '2020-08-01':
131+
from .v2020_08_01.operations import NetworkManagementClientOperationsMixin as OperationClass
128132
else:
129133
raise ValueError("API version {} does not have operation 'begin_generatevirtualwanvpnserverconfigurationvpnprofile'".format(api_version))
130134
mixin_instance = OperationClass()
@@ -153,7 +157,7 @@ def begin_get_active_sessions(
153157
:paramtype polling: bool or ~azure.core.polling.PollingMethod
154158
:keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present.
155159
:return: An instance of LROPoller that returns an iterator like instance of either BastionActiveSessionListResult or the result of cls(response)
156-
:rtype: ~azure.core.polling.LROPoller[~azure.core.paging.ItemPaged[~azure.mgmt.network.v2020_07_01.models.BastionActiveSessionListResult]]
160+
:rtype: ~azure.core.polling.LROPoller[~azure.core.paging.ItemPaged[~azure.mgmt.network.v2020_08_01.models.BastionActiveSessionListResult]]
157161
:raises ~azure.core.exceptions.HttpResponseError:
158162
"""
159163
api_version = self._get_api_version('begin_get_active_sessions')
@@ -173,6 +177,8 @@ def begin_get_active_sessions(
173177
from .v2020_06_01.operations import NetworkManagementClientOperationsMixin as OperationClass
174178
elif api_version == '2020-07-01':
175179
from .v2020_07_01.operations import NetworkManagementClientOperationsMixin as OperationClass
180+
elif api_version == '2020-08-01':
181+
from .v2020_08_01.operations import NetworkManagementClientOperationsMixin as OperationClass
176182
else:
177183
raise ValueError("API version {} does not have operation 'begin_get_active_sessions'".format(api_version))
178184
mixin_instance = OperationClass()
@@ -196,15 +202,15 @@ def begin_put_bastion_shareable_link(
196202
:param bastion_host_name: The name of the Bastion Host.
197203
:type bastion_host_name: str
198204
:param bsl_request: Post request for all the Bastion Shareable Link endpoints.
199-
:type bsl_request: ~azure.mgmt.network.v2020_07_01.models.BastionShareableLinkListRequest
205+
:type bsl_request: ~azure.mgmt.network.v2020_08_01.models.BastionShareableLinkListRequest
200206
:keyword callable cls: A custom type or function that will be passed the direct response
201207
:keyword str continuation_token: A continuation token to restart a poller from a saved state.
202208
:keyword polling: True for ARMPolling, False for no polling, or a
203209
polling object for personal polling strategy
204210
:paramtype polling: bool or ~azure.core.polling.PollingMethod
205211
:keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present.
206212
:return: An instance of LROPoller that returns an iterator like instance of either BastionShareableLinkListResult or the result of cls(response)
207-
:rtype: ~azure.core.polling.LROPoller[~azure.core.paging.ItemPaged[~azure.mgmt.network.v2020_07_01.models.BastionShareableLinkListResult]]
213+
:rtype: ~azure.core.polling.LROPoller[~azure.core.paging.ItemPaged[~azure.mgmt.network.v2020_08_01.models.BastionShareableLinkListResult]]
208214
:raises ~azure.core.exceptions.HttpResponseError:
209215
"""
210216
api_version = self._get_api_version('begin_put_bastion_shareable_link')
@@ -224,6 +230,8 @@ def begin_put_bastion_shareable_link(
224230
from .v2020_06_01.operations import NetworkManagementClientOperationsMixin as OperationClass
225231
elif api_version == '2020-07-01':
226232
from .v2020_07_01.operations import NetworkManagementClientOperationsMixin as OperationClass
233+
elif api_version == '2020-08-01':
234+
from .v2020_08_01.operations import NetworkManagementClientOperationsMixin as OperationClass
227235
else:
228236
raise ValueError("API version {} does not have operation 'begin_put_bastion_shareable_link'".format(api_version))
229237
mixin_instance = OperationClass()
@@ -248,7 +256,7 @@ def check_dns_name_availability(
248256
:type domain_name_label: str
249257
:keyword callable cls: A custom type or function that will be passed the direct response
250258
:return: DnsNameAvailabilityResult, or the result of cls(response)
251-
:rtype: ~azure.mgmt.network.v2020_07_01.models.DnsNameAvailabilityResult
259+
:rtype: ~azure.mgmt.network.v2020_08_01.models.DnsNameAvailabilityResult
252260
:raises: ~azure.core.exceptions.HttpResponseError
253261
"""
254262
api_version = self._get_api_version('check_dns_name_availability')
@@ -314,6 +322,8 @@ def check_dns_name_availability(
314322
from .v2020_06_01.operations import NetworkManagementClientOperationsMixin as OperationClass
315323
elif api_version == '2020-07-01':
316324
from .v2020_07_01.operations import NetworkManagementClientOperationsMixin as OperationClass
325+
elif api_version == '2020-08-01':
326+
from .v2020_08_01.operations import NetworkManagementClientOperationsMixin as OperationClass
317327
else:
318328
raise ValueError("API version {} does not have operation 'check_dns_name_availability'".format(api_version))
319329
mixin_instance = OperationClass()
@@ -337,10 +347,10 @@ def disconnect_active_sessions(
337347
:param bastion_host_name: The name of the Bastion Host.
338348
:type bastion_host_name: str
339349
:param session_ids: The list of sessionids to disconnect.
340-
:type session_ids: ~azure.mgmt.network.v2020_07_01.models.SessionIds
350+
:type session_ids: ~azure.mgmt.network.v2020_08_01.models.SessionIds
341351
:keyword callable cls: A custom type or function that will be passed the direct response
342352
:return: An iterator like instance of either BastionSessionDeleteResult or the result of cls(response)
343-
:rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.network.v2020_07_01.models.BastionSessionDeleteResult]
353+
:rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.network.v2020_08_01.models.BastionSessionDeleteResult]
344354
:raises: ~azure.core.exceptions.HttpResponseError
345355
"""
346356
api_version = self._get_api_version('disconnect_active_sessions')
@@ -360,6 +370,8 @@ def disconnect_active_sessions(
360370
from .v2020_06_01.operations import NetworkManagementClientOperationsMixin as OperationClass
361371
elif api_version == '2020-07-01':
362372
from .v2020_07_01.operations import NetworkManagementClientOperationsMixin as OperationClass
373+
elif api_version == '2020-08-01':
374+
from .v2020_08_01.operations import NetworkManagementClientOperationsMixin as OperationClass
363375
else:
364376
raise ValueError("API version {} does not have operation 'disconnect_active_sessions'".format(api_version))
365377
mixin_instance = OperationClass()
@@ -383,10 +395,10 @@ def get_bastion_shareable_link(
383395
:param bastion_host_name: The name of the Bastion Host.
384396
:type bastion_host_name: str
385397
:param bsl_request: Post request for all the Bastion Shareable Link endpoints.
386-
:type bsl_request: ~azure.mgmt.network.v2020_07_01.models.BastionShareableLinkListRequest
398+
:type bsl_request: ~azure.mgmt.network.v2020_08_01.models.BastionShareableLinkListRequest
387399
:keyword callable cls: A custom type or function that will be passed the direct response
388400
:return: An iterator like instance of either BastionShareableLinkListResult or the result of cls(response)
389-
:rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.network.v2020_07_01.models.BastionShareableLinkListResult]
401+
:rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.network.v2020_08_01.models.BastionShareableLinkListResult]
390402
:raises: ~azure.core.exceptions.HttpResponseError
391403
"""
392404
api_version = self._get_api_version('get_bastion_shareable_link')
@@ -406,6 +418,8 @@ def get_bastion_shareable_link(
406418
from .v2020_06_01.operations import NetworkManagementClientOperationsMixin as OperationClass
407419
elif api_version == '2020-07-01':
408420
from .v2020_07_01.operations import NetworkManagementClientOperationsMixin as OperationClass
421+
elif api_version == '2020-08-01':
422+
from .v2020_08_01.operations import NetworkManagementClientOperationsMixin as OperationClass
409423
else:
410424
raise ValueError("API version {} does not have operation 'get_bastion_shareable_link'".format(api_version))
411425
mixin_instance = OperationClass()
@@ -430,7 +444,7 @@ def supported_security_providers(
430444
:type virtual_wan_name: str
431445
:keyword callable cls: A custom type or function that will be passed the direct response
432446
:return: VirtualWanSecurityProviders, or the result of cls(response)
433-
:rtype: ~azure.mgmt.network.v2020_07_01.models.VirtualWanSecurityProviders
447+
:rtype: ~azure.mgmt.network.v2020_08_01.models.VirtualWanSecurityProviders
434448
:raises: ~azure.core.exceptions.HttpResponseError
435449
"""
436450
api_version = self._get_api_version('supported_security_providers')
@@ -468,6 +482,8 @@ def supported_security_providers(
468482
from .v2020_06_01.operations import NetworkManagementClientOperationsMixin as OperationClass
469483
elif api_version == '2020-07-01':
470484
from .v2020_07_01.operations import NetworkManagementClientOperationsMixin as OperationClass
485+
elif api_version == '2020-08-01':
486+
from .v2020_08_01.operations import NetworkManagementClientOperationsMixin as OperationClass
471487
else:
472488
raise ValueError("API version {} does not have operation 'supported_security_providers'".format(api_version))
473489
mixin_instance = OperationClass()

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 = "17.0.0"
8+
VERSION = "17.1.0"

0 commit comments

Comments
 (0)