@@ -41,7 +41,7 @@ def begin_delete_bastion_shareable_link(
41
41
:param bastion_host_name: The name of the Bastion Host.
42
42
:type bastion_host_name: str
43
43
:param bsl_request: Post request for all the Bastion Shareable Link endpoints.
44
- :type bsl_request: ~azure.mgmt.network.v2021_03_01 .models.BastionShareableLinkListRequest
44
+ :type bsl_request: ~azure.mgmt.network.v2021_05_01 .models.BastionShareableLinkListRequest
45
45
:keyword callable cls: A custom type or function that will be passed the direct response
46
46
:keyword str continuation_token: A continuation token to restart a poller from a saved state.
47
47
:keyword polling: By default, your polling method will be ARMPolling.
@@ -75,8 +75,8 @@ def begin_delete_bastion_shareable_link(
75
75
from .v2020_11_01 .operations import NetworkManagementClientOperationsMixin as OperationClass
76
76
elif api_version == '2021-02-01' :
77
77
from .v2021_02_01 .operations import NetworkManagementClientOperationsMixin as OperationClass
78
- elif api_version == '2021-03 -01' :
79
- from .v2021_03_01 .operations import NetworkManagementClientOperationsMixin as OperationClass
78
+ elif api_version == '2021-05 -01' :
79
+ from .v2021_05_01 .operations import NetworkManagementClientOperationsMixin as OperationClass
80
80
else :
81
81
raise ValueError ("API version {} does not have operation 'begin_delete_bastion_shareable_link'" .format (api_version ))
82
82
mixin_instance = OperationClass ()
@@ -104,15 +104,15 @@ def begin_generatevirtualwanvpnserverconfigurationvpnprofile(
104
104
:type virtual_wan_name: str
105
105
:param vpn_client_params: Parameters supplied to the generate VirtualWan VPN profile generation
106
106
operation.
107
- :type vpn_client_params: ~azure.mgmt.network.v2021_03_01 .models.VirtualWanVpnProfileParameters
107
+ :type vpn_client_params: ~azure.mgmt.network.v2021_05_01 .models.VirtualWanVpnProfileParameters
108
108
:keyword callable cls: A custom type or function that will be passed the direct response
109
109
:keyword str continuation_token: A continuation token to restart a poller from a saved state.
110
110
:keyword polling: By default, your polling method will be ARMPolling.
111
111
Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy.
112
112
:paramtype polling: bool or ~azure.core.polling.PollingMethod
113
113
:keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present.
114
114
:return: An instance of LROPoller that returns either VpnProfileResponse or the result of cls(response)
115
- :rtype: ~azure.core.polling.LROPoller[~azure.mgmt.network.v2021_03_01 .models.VpnProfileResponse]
115
+ :rtype: ~azure.core.polling.LROPoller[~azure.mgmt.network.v2021_05_01 .models.VpnProfileResponse]
116
116
:raises ~azure.core.exceptions.HttpResponseError:
117
117
"""
118
118
api_version = self ._get_api_version ('begin_generatevirtualwanvpnserverconfigurationvpnprofile' )
@@ -140,8 +140,8 @@ def begin_generatevirtualwanvpnserverconfigurationvpnprofile(
140
140
from .v2020_11_01 .operations import NetworkManagementClientOperationsMixin as OperationClass
141
141
elif api_version == '2021-02-01' :
142
142
from .v2021_02_01 .operations import NetworkManagementClientOperationsMixin as OperationClass
143
- elif api_version == '2021-03 -01' :
144
- from .v2021_03_01 .operations import NetworkManagementClientOperationsMixin as OperationClass
143
+ elif api_version == '2021-05 -01' :
144
+ from .v2021_05_01 .operations import NetworkManagementClientOperationsMixin as OperationClass
145
145
else :
146
146
raise ValueError ("API version {} does not have operation 'begin_generatevirtualwanvpnserverconfigurationvpnprofile'" .format (api_version ))
147
147
mixin_instance = OperationClass ()
@@ -171,7 +171,7 @@ def begin_get_active_sessions(
171
171
:paramtype polling: bool or ~azure.core.polling.PollingMethod
172
172
:keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present.
173
173
:return: An instance of LROPoller that returns an iterator like instance of either BastionActiveSessionListResult or the result of cls(response)
174
- :rtype: ~azure.core.polling.LROPoller[~azure.core.paging.ItemPaged[~azure.mgmt.network.v2021_03_01 .models.BastionActiveSessionListResult]]
174
+ :rtype: ~azure.core.polling.LROPoller[~azure.core.paging.ItemPaged[~azure.mgmt.network.v2021_05_01 .models.BastionActiveSessionListResult]]
175
175
:raises ~azure.core.exceptions.HttpResponseError:
176
176
"""
177
177
api_version = self ._get_api_version ('begin_get_active_sessions' )
@@ -197,8 +197,8 @@ def begin_get_active_sessions(
197
197
from .v2020_11_01 .operations import NetworkManagementClientOperationsMixin as OperationClass
198
198
elif api_version == '2021-02-01' :
199
199
from .v2021_02_01 .operations import NetworkManagementClientOperationsMixin as OperationClass
200
- elif api_version == '2021-03 -01' :
201
- from .v2021_03_01 .operations import NetworkManagementClientOperationsMixin as OperationClass
200
+ elif api_version == '2021-05 -01' :
201
+ from .v2021_05_01 .operations import NetworkManagementClientOperationsMixin as OperationClass
202
202
else :
203
203
raise ValueError ("API version {} does not have operation 'begin_get_active_sessions'" .format (api_version ))
204
204
mixin_instance = OperationClass ()
@@ -223,15 +223,15 @@ def begin_put_bastion_shareable_link(
223
223
:param bastion_host_name: The name of the Bastion Host.
224
224
:type bastion_host_name: str
225
225
:param bsl_request: Post request for all the Bastion Shareable Link endpoints.
226
- :type bsl_request: ~azure.mgmt.network.v2021_03_01 .models.BastionShareableLinkListRequest
226
+ :type bsl_request: ~azure.mgmt.network.v2021_05_01 .models.BastionShareableLinkListRequest
227
227
:keyword callable cls: A custom type or function that will be passed the direct response
228
228
:keyword str continuation_token: A continuation token to restart a poller from a saved state.
229
229
:keyword polling: By default, your polling method will be ARMPolling.
230
230
Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy.
231
231
:paramtype polling: bool or ~azure.core.polling.PollingMethod
232
232
:keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present.
233
233
:return: An instance of LROPoller that returns an iterator like instance of either BastionShareableLinkListResult or the result of cls(response)
234
- :rtype: ~azure.core.polling.LROPoller[~azure.core.paging.ItemPaged[~azure.mgmt.network.v2021_03_01 .models.BastionShareableLinkListResult]]
234
+ :rtype: ~azure.core.polling.LROPoller[~azure.core.paging.ItemPaged[~azure.mgmt.network.v2021_05_01 .models.BastionShareableLinkListResult]]
235
235
:raises ~azure.core.exceptions.HttpResponseError:
236
236
"""
237
237
api_version = self ._get_api_version ('begin_put_bastion_shareable_link' )
@@ -257,8 +257,8 @@ def begin_put_bastion_shareable_link(
257
257
from .v2020_11_01 .operations import NetworkManagementClientOperationsMixin as OperationClass
258
258
elif api_version == '2021-02-01' :
259
259
from .v2021_02_01 .operations import NetworkManagementClientOperationsMixin as OperationClass
260
- elif api_version == '2021-03 -01' :
261
- from .v2021_03_01 .operations import NetworkManagementClientOperationsMixin as OperationClass
260
+ elif api_version == '2021-05 -01' :
261
+ from .v2021_05_01 .operations import NetworkManagementClientOperationsMixin as OperationClass
262
262
else :
263
263
raise ValueError ("API version {} does not have operation 'begin_put_bastion_shareable_link'" .format (api_version ))
264
264
mixin_instance = OperationClass ()
@@ -284,7 +284,7 @@ def check_dns_name_availability(
284
284
:type domain_name_label: str
285
285
:keyword callable cls: A custom type or function that will be passed the direct response
286
286
:return: DnsNameAvailabilityResult, or the result of cls(response)
287
- :rtype: ~azure.mgmt.network.v2021_03_01 .models.DnsNameAvailabilityResult
287
+ :rtype: ~azure.mgmt.network.v2021_05_01 .models.DnsNameAvailabilityResult
288
288
:raises: ~azure.core.exceptions.HttpResponseError
289
289
"""
290
290
api_version = self ._get_api_version ('check_dns_name_availability' )
@@ -298,12 +298,8 @@ def check_dns_name_availability(
298
298
from .v2017_03_01 .operations import NetworkManagementClientOperationsMixin as OperationClass
299
299
elif api_version == '2017-06-01' :
300
300
from .v2017_06_01 .operations import NetworkManagementClientOperationsMixin as OperationClass
301
- elif api_version == '2017-09-01' :
302
- from .v2017_09_01 .operations import NetworkManagementClientOperationsMixin as OperationClass
303
301
elif api_version == '2017-10-01' :
304
302
from .v2017_10_01 .operations import NetworkManagementClientOperationsMixin as OperationClass
305
- elif api_version == '2017-11-01' :
306
- from .v2017_11_01 .operations import NetworkManagementClientOperationsMixin as OperationClass
307
303
elif api_version == '2018-01-01' :
308
304
from .v2018_01_01 .operations import NetworkManagementClientOperationsMixin as OperationClass
309
305
elif api_version == '2018-02-01' :
@@ -354,8 +350,8 @@ def check_dns_name_availability(
354
350
from .v2020_11_01 .operations import NetworkManagementClientOperationsMixin as OperationClass
355
351
elif api_version == '2021-02-01' :
356
352
from .v2021_02_01 .operations import NetworkManagementClientOperationsMixin as OperationClass
357
- elif api_version == '2021-03 -01' :
358
- from .v2021_03_01 .operations import NetworkManagementClientOperationsMixin as OperationClass
353
+ elif api_version == '2021-05 -01' :
354
+ from .v2021_05_01 .operations import NetworkManagementClientOperationsMixin as OperationClass
359
355
else :
360
356
raise ValueError ("API version {} does not have operation 'check_dns_name_availability'" .format (api_version ))
361
357
mixin_instance = OperationClass ()
@@ -380,10 +376,10 @@ def disconnect_active_sessions(
380
376
:param bastion_host_name: The name of the Bastion Host.
381
377
:type bastion_host_name: str
382
378
:param session_ids: The list of sessionids to disconnect.
383
- :type session_ids: ~azure.mgmt.network.v2021_03_01 .models.SessionIds
379
+ :type session_ids: ~azure.mgmt.network.v2021_05_01 .models.SessionIds
384
380
:keyword callable cls: A custom type or function that will be passed the direct response
385
381
:return: An iterator like instance of either BastionSessionDeleteResult or the result of cls(response)
386
- :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.network.v2021_03_01 .models.BastionSessionDeleteResult]
382
+ :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.network.v2021_05_01 .models.BastionSessionDeleteResult]
387
383
:raises: ~azure.core.exceptions.HttpResponseError
388
384
"""
389
385
api_version = self ._get_api_version ('disconnect_active_sessions' )
@@ -409,8 +405,8 @@ def disconnect_active_sessions(
409
405
from .v2020_11_01 .operations import NetworkManagementClientOperationsMixin as OperationClass
410
406
elif api_version == '2021-02-01' :
411
407
from .v2021_02_01 .operations import NetworkManagementClientOperationsMixin as OperationClass
412
- elif api_version == '2021-03 -01' :
413
- from .v2021_03_01 .operations import NetworkManagementClientOperationsMixin as OperationClass
408
+ elif api_version == '2021-05 -01' :
409
+ from .v2021_05_01 .operations import NetworkManagementClientOperationsMixin as OperationClass
414
410
else :
415
411
raise ValueError ("API version {} does not have operation 'disconnect_active_sessions'" .format (api_version ))
416
412
mixin_instance = OperationClass ()
@@ -435,10 +431,10 @@ def get_bastion_shareable_link(
435
431
:param bastion_host_name: The name of the Bastion Host.
436
432
:type bastion_host_name: str
437
433
:param bsl_request: Post request for all the Bastion Shareable Link endpoints.
438
- :type bsl_request: ~azure.mgmt.network.v2021_03_01 .models.BastionShareableLinkListRequest
434
+ :type bsl_request: ~azure.mgmt.network.v2021_05_01 .models.BastionShareableLinkListRequest
439
435
:keyword callable cls: A custom type or function that will be passed the direct response
440
436
:return: An iterator like instance of either BastionShareableLinkListResult or the result of cls(response)
441
- :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.network.v2021_03_01 .models.BastionShareableLinkListResult]
437
+ :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.network.v2021_05_01 .models.BastionShareableLinkListResult]
442
438
:raises: ~azure.core.exceptions.HttpResponseError
443
439
"""
444
440
api_version = self ._get_api_version ('get_bastion_shareable_link' )
@@ -464,8 +460,8 @@ def get_bastion_shareable_link(
464
460
from .v2020_11_01 .operations import NetworkManagementClientOperationsMixin as OperationClass
465
461
elif api_version == '2021-02-01' :
466
462
from .v2021_02_01 .operations import NetworkManagementClientOperationsMixin as OperationClass
467
- elif api_version == '2021-03 -01' :
468
- from .v2021_03_01 .operations import NetworkManagementClientOperationsMixin as OperationClass
463
+ elif api_version == '2021-05 -01' :
464
+ from .v2021_05_01 .operations import NetworkManagementClientOperationsMixin as OperationClass
469
465
else :
470
466
raise ValueError ("API version {} does not have operation 'get_bastion_shareable_link'" .format (api_version ))
471
467
mixin_instance = OperationClass ()
@@ -491,7 +487,7 @@ def supported_security_providers(
491
487
:type virtual_wan_name: str
492
488
:keyword callable cls: A custom type or function that will be passed the direct response
493
489
:return: VirtualWanSecurityProviders, or the result of cls(response)
494
- :rtype: ~azure.mgmt.network.v2021_03_01 .models.VirtualWanSecurityProviders
490
+ :rtype: ~azure.mgmt.network.v2021_05_01 .models.VirtualWanSecurityProviders
495
491
:raises: ~azure.core.exceptions.HttpResponseError
496
492
"""
497
493
api_version = self ._get_api_version ('supported_security_providers' )
@@ -535,8 +531,8 @@ def supported_security_providers(
535
531
from .v2020_11_01 .operations import NetworkManagementClientOperationsMixin as OperationClass
536
532
elif api_version == '2021-02-01' :
537
533
from .v2021_02_01 .operations import NetworkManagementClientOperationsMixin as OperationClass
538
- elif api_version == '2021-03 -01' :
539
- from .v2021_03_01 .operations import NetworkManagementClientOperationsMixin as OperationClass
534
+ elif api_version == '2021-05 -01' :
535
+ from .v2021_05_01 .operations import NetworkManagementClientOperationsMixin as OperationClass
540
536
else :
541
537
raise ValueError ("API version {} does not have operation 'supported_security_providers'" .format (api_version ))
542
538
mixin_instance = OperationClass ()
0 commit comments