@@ -41,11 +41,11 @@ 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_02_01 .models.BastionShareableLinkListRequest
44
+ :type bsl_request: ~azure.mgmt.network.v2021_03_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
- :keyword polling: Pass in True if you'd like the ARMPolling polling method,
48
- False for no polling , or your own initialized polling object for a personal polling strategy.
47
+ :keyword polling: By default, your polling method will be ARMPolling.
48
+ Pass in False for this operation to not poll , or pass in your own initialized polling object for a personal polling strategy.
49
49
:paramtype polling: bool or ~azure.core.polling.PollingMethod
50
50
:keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present.
51
51
:return: An instance of LROPoller that returns either None or the result of cls(response)
@@ -75,6 +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
80
else :
79
81
raise ValueError ("API version {} does not have operation 'begin_delete_bastion_shareable_link'" .format (api_version ))
80
82
mixin_instance = OperationClass ()
@@ -102,15 +104,15 @@ def begin_generatevirtualwanvpnserverconfigurationvpnprofile(
102
104
:type virtual_wan_name: str
103
105
:param vpn_client_params: Parameters supplied to the generate VirtualWan VPN profile generation
104
106
operation.
105
- :type vpn_client_params: ~azure.mgmt.network.v2021_02_01 .models.VirtualWanVpnProfileParameters
107
+ :type vpn_client_params: ~azure.mgmt.network.v2021_03_01 .models.VirtualWanVpnProfileParameters
106
108
:keyword callable cls: A custom type or function that will be passed the direct response
107
109
:keyword str continuation_token: A continuation token to restart a poller from a saved state.
108
- :keyword polling: Pass in True if you'd like the ARMPolling polling method,
109
- False for no polling , or your own initialized polling object for a personal polling strategy.
110
+ :keyword polling: By default, your polling method will be ARMPolling.
111
+ Pass in False for this operation to not poll , or pass in your own initialized polling object for a personal polling strategy.
110
112
:paramtype polling: bool or ~azure.core.polling.PollingMethod
111
113
:keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present.
112
114
:return: An instance of LROPoller that returns either VpnProfileResponse or the result of cls(response)
113
- :rtype: ~azure.core.polling.LROPoller[~azure.mgmt.network.v2021_02_01 .models.VpnProfileResponse]
115
+ :rtype: ~azure.core.polling.LROPoller[~azure.mgmt.network.v2021_03_01 .models.VpnProfileResponse]
114
116
:raises ~azure.core.exceptions.HttpResponseError:
115
117
"""
116
118
api_version = self ._get_api_version ('begin_generatevirtualwanvpnserverconfigurationvpnprofile' )
@@ -138,6 +140,8 @@ def begin_generatevirtualwanvpnserverconfigurationvpnprofile(
138
140
from .v2020_11_01 .operations import NetworkManagementClientOperationsMixin as OperationClass
139
141
elif api_version == '2021-02-01' :
140
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
141
145
else :
142
146
raise ValueError ("API version {} does not have operation 'begin_generatevirtualwanvpnserverconfigurationvpnprofile'" .format (api_version ))
143
147
mixin_instance = OperationClass ()
@@ -162,12 +166,12 @@ def begin_get_active_sessions(
162
166
:type bastion_host_name: str
163
167
:keyword callable cls: A custom type or function that will be passed the direct response
164
168
:keyword str continuation_token: A continuation token to restart a poller from a saved state.
165
- :keyword polling: Pass in True if you'd like the ARMPolling polling method,
166
- False for no polling , or your own initialized polling object for a personal polling strategy.
169
+ :keyword polling: By default, your polling method will be ARMPolling.
170
+ Pass in False for this operation to not poll , or pass in your own initialized polling object for a personal polling strategy.
167
171
:paramtype polling: bool or ~azure.core.polling.PollingMethod
168
172
:keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present.
169
173
:return: An instance of LROPoller that returns an iterator like instance of either BastionActiveSessionListResult or the result of cls(response)
170
- :rtype: ~azure.core.polling.LROPoller[~azure.core.paging.ItemPaged[~azure.mgmt.network.v2021_02_01 .models.BastionActiveSessionListResult]]
174
+ :rtype: ~azure.core.polling.LROPoller[~azure.core.paging.ItemPaged[~azure.mgmt.network.v2021_03_01 .models.BastionActiveSessionListResult]]
171
175
:raises ~azure.core.exceptions.HttpResponseError:
172
176
"""
173
177
api_version = self ._get_api_version ('begin_get_active_sessions' )
@@ -193,6 +197,8 @@ def begin_get_active_sessions(
193
197
from .v2020_11_01 .operations import NetworkManagementClientOperationsMixin as OperationClass
194
198
elif api_version == '2021-02-01' :
195
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
196
202
else :
197
203
raise ValueError ("API version {} does not have operation 'begin_get_active_sessions'" .format (api_version ))
198
204
mixin_instance = OperationClass ()
@@ -217,15 +223,15 @@ def begin_put_bastion_shareable_link(
217
223
:param bastion_host_name: The name of the Bastion Host.
218
224
:type bastion_host_name: str
219
225
:param bsl_request: Post request for all the Bastion Shareable Link endpoints.
220
- :type bsl_request: ~azure.mgmt.network.v2021_02_01 .models.BastionShareableLinkListRequest
226
+ :type bsl_request: ~azure.mgmt.network.v2021_03_01 .models.BastionShareableLinkListRequest
221
227
:keyword callable cls: A custom type or function that will be passed the direct response
222
228
:keyword str continuation_token: A continuation token to restart a poller from a saved state.
223
- :keyword polling: Pass in True if you'd like the ARMPolling polling method,
224
- False for no polling , or your own initialized polling object for a personal polling strategy.
229
+ :keyword polling: By default, your polling method will be ARMPolling.
230
+ Pass in False for this operation to not poll , or pass in your own initialized polling object for a personal polling strategy.
225
231
:paramtype polling: bool or ~azure.core.polling.PollingMethod
226
232
:keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present.
227
233
:return: An instance of LROPoller that returns an iterator like instance of either BastionShareableLinkListResult or the result of cls(response)
228
- :rtype: ~azure.core.polling.LROPoller[~azure.core.paging.ItemPaged[~azure.mgmt.network.v2021_02_01 .models.BastionShareableLinkListResult]]
234
+ :rtype: ~azure.core.polling.LROPoller[~azure.core.paging.ItemPaged[~azure.mgmt.network.v2021_03_01 .models.BastionShareableLinkListResult]]
229
235
:raises ~azure.core.exceptions.HttpResponseError:
230
236
"""
231
237
api_version = self ._get_api_version ('begin_put_bastion_shareable_link' )
@@ -251,6 +257,8 @@ def begin_put_bastion_shareable_link(
251
257
from .v2020_11_01 .operations import NetworkManagementClientOperationsMixin as OperationClass
252
258
elif api_version == '2021-02-01' :
253
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
254
262
else :
255
263
raise ValueError ("API version {} does not have operation 'begin_put_bastion_shareable_link'" .format (api_version ))
256
264
mixin_instance = OperationClass ()
@@ -276,7 +284,7 @@ def check_dns_name_availability(
276
284
:type domain_name_label: str
277
285
:keyword callable cls: A custom type or function that will be passed the direct response
278
286
:return: DnsNameAvailabilityResult, or the result of cls(response)
279
- :rtype: ~azure.mgmt.network.v2021_02_01 .models.DnsNameAvailabilityResult
287
+ :rtype: ~azure.mgmt.network.v2021_03_01 .models.DnsNameAvailabilityResult
280
288
:raises: ~azure.core.exceptions.HttpResponseError
281
289
"""
282
290
api_version = self ._get_api_version ('check_dns_name_availability' )
@@ -348,6 +356,8 @@ def check_dns_name_availability(
348
356
from .v2020_11_01 .operations import NetworkManagementClientOperationsMixin as OperationClass
349
357
elif api_version == '2021-02-01' :
350
358
from .v2021_02_01 .operations import NetworkManagementClientOperationsMixin as OperationClass
359
+ elif api_version == '2021-03-01' :
360
+ from .v2021_03_01 .operations import NetworkManagementClientOperationsMixin as OperationClass
351
361
else :
352
362
raise ValueError ("API version {} does not have operation 'check_dns_name_availability'" .format (api_version ))
353
363
mixin_instance = OperationClass ()
@@ -372,10 +382,10 @@ def disconnect_active_sessions(
372
382
:param bastion_host_name: The name of the Bastion Host.
373
383
:type bastion_host_name: str
374
384
:param session_ids: The list of sessionids to disconnect.
375
- :type session_ids: ~azure.mgmt.network.v2021_02_01 .models.SessionIds
385
+ :type session_ids: ~azure.mgmt.network.v2021_03_01 .models.SessionIds
376
386
:keyword callable cls: A custom type or function that will be passed the direct response
377
387
:return: An iterator like instance of either BastionSessionDeleteResult or the result of cls(response)
378
- :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.network.v2021_02_01 .models.BastionSessionDeleteResult]
388
+ :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.network.v2021_03_01 .models.BastionSessionDeleteResult]
379
389
:raises: ~azure.core.exceptions.HttpResponseError
380
390
"""
381
391
api_version = self ._get_api_version ('disconnect_active_sessions' )
@@ -401,6 +411,8 @@ def disconnect_active_sessions(
401
411
from .v2020_11_01 .operations import NetworkManagementClientOperationsMixin as OperationClass
402
412
elif api_version == '2021-02-01' :
403
413
from .v2021_02_01 .operations import NetworkManagementClientOperationsMixin as OperationClass
414
+ elif api_version == '2021-03-01' :
415
+ from .v2021_03_01 .operations import NetworkManagementClientOperationsMixin as OperationClass
404
416
else :
405
417
raise ValueError ("API version {} does not have operation 'disconnect_active_sessions'" .format (api_version ))
406
418
mixin_instance = OperationClass ()
@@ -425,10 +437,10 @@ def get_bastion_shareable_link(
425
437
:param bastion_host_name: The name of the Bastion Host.
426
438
:type bastion_host_name: str
427
439
:param bsl_request: Post request for all the Bastion Shareable Link endpoints.
428
- :type bsl_request: ~azure.mgmt.network.v2021_02_01 .models.BastionShareableLinkListRequest
440
+ :type bsl_request: ~azure.mgmt.network.v2021_03_01 .models.BastionShareableLinkListRequest
429
441
:keyword callable cls: A custom type or function that will be passed the direct response
430
442
:return: An iterator like instance of either BastionShareableLinkListResult or the result of cls(response)
431
- :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.network.v2021_02_01 .models.BastionShareableLinkListResult]
443
+ :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.network.v2021_03_01 .models.BastionShareableLinkListResult]
432
444
:raises: ~azure.core.exceptions.HttpResponseError
433
445
"""
434
446
api_version = self ._get_api_version ('get_bastion_shareable_link' )
@@ -454,6 +466,8 @@ def get_bastion_shareable_link(
454
466
from .v2020_11_01 .operations import NetworkManagementClientOperationsMixin as OperationClass
455
467
elif api_version == '2021-02-01' :
456
468
from .v2021_02_01 .operations import NetworkManagementClientOperationsMixin as OperationClass
469
+ elif api_version == '2021-03-01' :
470
+ from .v2021_03_01 .operations import NetworkManagementClientOperationsMixin as OperationClass
457
471
else :
458
472
raise ValueError ("API version {} does not have operation 'get_bastion_shareable_link'" .format (api_version ))
459
473
mixin_instance = OperationClass ()
@@ -479,7 +493,7 @@ def supported_security_providers(
479
493
:type virtual_wan_name: str
480
494
:keyword callable cls: A custom type or function that will be passed the direct response
481
495
:return: VirtualWanSecurityProviders, or the result of cls(response)
482
- :rtype: ~azure.mgmt.network.v2021_02_01 .models.VirtualWanSecurityProviders
496
+ :rtype: ~azure.mgmt.network.v2021_03_01 .models.VirtualWanSecurityProviders
483
497
:raises: ~azure.core.exceptions.HttpResponseError
484
498
"""
485
499
api_version = self ._get_api_version ('supported_security_providers' )
@@ -523,6 +537,8 @@ def supported_security_providers(
523
537
from .v2020_11_01 .operations import NetworkManagementClientOperationsMixin as OperationClass
524
538
elif api_version == '2021-02-01' :
525
539
from .v2021_02_01 .operations import NetworkManagementClientOperationsMixin as OperationClass
540
+ elif api_version == '2021-03-01' :
541
+ from .v2021_03_01 .operations import NetworkManagementClientOperationsMixin as OperationClass
526
542
else :
527
543
raise ValueError ("API version {} does not have operation 'supported_security_providers'" .format (api_version ))
528
544
mixin_instance = OperationClass ()
0 commit comments