@@ -41,11 +41,11 @@ 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.v2021_02_01 .models.BastionShareableLinkListRequest
44+ :type bsl_request: ~azure.mgmt.network.v2021_03_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.
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.
4949 :paramtype polling: bool or ~azure.core.polling.PollingMethod
5050 :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present.
5151 :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(
7575 from .v2020_11_01 .operations import NetworkManagementClientOperationsMixin as OperationClass
7676 elif api_version == '2021-02-01' :
7777 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
7880 else :
7981 raise ValueError ("API version {} does not have operation 'begin_delete_bastion_shareable_link'" .format (api_version ))
8082 mixin_instance = OperationClass ()
@@ -102,15 +104,15 @@ def begin_generatevirtualwanvpnserverconfigurationvpnprofile(
102104 :type virtual_wan_name: str
103105 :param vpn_client_params: Parameters supplied to the generate VirtualWan VPN profile generation
104106 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
106108 :keyword callable cls: A custom type or function that will be passed the direct response
107109 :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.
110112 :paramtype polling: bool or ~azure.core.polling.PollingMethod
111113 :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present.
112114 :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]
114116 :raises ~azure.core.exceptions.HttpResponseError:
115117 """
116118 api_version = self ._get_api_version ('begin_generatevirtualwanvpnserverconfigurationvpnprofile' )
@@ -138,6 +140,8 @@ def begin_generatevirtualwanvpnserverconfigurationvpnprofile(
138140 from .v2020_11_01 .operations import NetworkManagementClientOperationsMixin as OperationClass
139141 elif api_version == '2021-02-01' :
140142 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
141145 else :
142146 raise ValueError ("API version {} does not have operation 'begin_generatevirtualwanvpnserverconfigurationvpnprofile'" .format (api_version ))
143147 mixin_instance = OperationClass ()
@@ -162,12 +166,12 @@ def begin_get_active_sessions(
162166 :type bastion_host_name: str
163167 :keyword callable cls: A custom type or function that will be passed the direct response
164168 :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.
167171 :paramtype polling: bool or ~azure.core.polling.PollingMethod
168172 :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present.
169173 :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]]
171175 :raises ~azure.core.exceptions.HttpResponseError:
172176 """
173177 api_version = self ._get_api_version ('begin_get_active_sessions' )
@@ -193,6 +197,8 @@ def begin_get_active_sessions(
193197 from .v2020_11_01 .operations import NetworkManagementClientOperationsMixin as OperationClass
194198 elif api_version == '2021-02-01' :
195199 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
196202 else :
197203 raise ValueError ("API version {} does not have operation 'begin_get_active_sessions'" .format (api_version ))
198204 mixin_instance = OperationClass ()
@@ -217,15 +223,15 @@ def begin_put_bastion_shareable_link(
217223 :param bastion_host_name: The name of the Bastion Host.
218224 :type bastion_host_name: str
219225 :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
221227 :keyword callable cls: A custom type or function that will be passed the direct response
222228 :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.
225231 :paramtype polling: bool or ~azure.core.polling.PollingMethod
226232 :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present.
227233 :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]]
229235 :raises ~azure.core.exceptions.HttpResponseError:
230236 """
231237 api_version = self ._get_api_version ('begin_put_bastion_shareable_link' )
@@ -251,6 +257,8 @@ def begin_put_bastion_shareable_link(
251257 from .v2020_11_01 .operations import NetworkManagementClientOperationsMixin as OperationClass
252258 elif api_version == '2021-02-01' :
253259 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
254262 else :
255263 raise ValueError ("API version {} does not have operation 'begin_put_bastion_shareable_link'" .format (api_version ))
256264 mixin_instance = OperationClass ()
@@ -276,7 +284,7 @@ def check_dns_name_availability(
276284 :type domain_name_label: str
277285 :keyword callable cls: A custom type or function that will be passed the direct response
278286 :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
280288 :raises: ~azure.core.exceptions.HttpResponseError
281289 """
282290 api_version = self ._get_api_version ('check_dns_name_availability' )
@@ -348,6 +356,8 @@ def check_dns_name_availability(
348356 from .v2020_11_01 .operations import NetworkManagementClientOperationsMixin as OperationClass
349357 elif api_version == '2021-02-01' :
350358 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
351361 else :
352362 raise ValueError ("API version {} does not have operation 'check_dns_name_availability'" .format (api_version ))
353363 mixin_instance = OperationClass ()
@@ -372,10 +382,10 @@ def disconnect_active_sessions(
372382 :param bastion_host_name: The name of the Bastion Host.
373383 :type bastion_host_name: str
374384 :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
376386 :keyword callable cls: A custom type or function that will be passed the direct response
377387 :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]
379389 :raises: ~azure.core.exceptions.HttpResponseError
380390 """
381391 api_version = self ._get_api_version ('disconnect_active_sessions' )
@@ -401,6 +411,8 @@ def disconnect_active_sessions(
401411 from .v2020_11_01 .operations import NetworkManagementClientOperationsMixin as OperationClass
402412 elif api_version == '2021-02-01' :
403413 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
404416 else :
405417 raise ValueError ("API version {} does not have operation 'disconnect_active_sessions'" .format (api_version ))
406418 mixin_instance = OperationClass ()
@@ -425,10 +437,10 @@ def get_bastion_shareable_link(
425437 :param bastion_host_name: The name of the Bastion Host.
426438 :type bastion_host_name: str
427439 :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
429441 :keyword callable cls: A custom type or function that will be passed the direct response
430442 :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]
432444 :raises: ~azure.core.exceptions.HttpResponseError
433445 """
434446 api_version = self ._get_api_version ('get_bastion_shareable_link' )
@@ -454,6 +466,8 @@ def get_bastion_shareable_link(
454466 from .v2020_11_01 .operations import NetworkManagementClientOperationsMixin as OperationClass
455467 elif api_version == '2021-02-01' :
456468 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
457471 else :
458472 raise ValueError ("API version {} does not have operation 'get_bastion_shareable_link'" .format (api_version ))
459473 mixin_instance = OperationClass ()
@@ -479,7 +493,7 @@ def supported_security_providers(
479493 :type virtual_wan_name: str
480494 :keyword callable cls: A custom type or function that will be passed the direct response
481495 :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
483497 :raises: ~azure.core.exceptions.HttpResponseError
484498 """
485499 api_version = self ._get_api_version ('supported_security_providers' )
@@ -523,6 +537,8 @@ def supported_security_providers(
523537 from .v2020_11_01 .operations import NetworkManagementClientOperationsMixin as OperationClass
524538 elif api_version == '2021-02-01' :
525539 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
526542 else :
527543 raise ValueError ("API version {} does not have operation 'supported_security_providers'" .format (api_version ))
528544 mixin_instance = OperationClass ()
0 commit comments