@@ -31,7 +31,7 @@ def check_dns_name_availability(self, location, domain_name_label, custom_header
3131 overrides<msrest:optionsforoperations>`.
3232 :return: DnsNameAvailabilityResult or ClientRawResponse if raw=true
3333 :rtype:
34- ~azure.mgmt.network.v2020_04_01 .models.DnsNameAvailabilityResult or
34+ ~azure.mgmt.network.v2020_05_01 .models.DnsNameAvailabilityResult or
3535 ~msrest.pipeline.ClientRawResponse
3636 :raises: :class:`CloudError<msrestazure.azure_exceptions.CloudError>`
3737
@@ -93,6 +93,8 @@ def check_dns_name_availability(self, location, domain_name_label, custom_header
9393 from .v2020_03_01 .operations import NetworkManagementClientOperationsMixin as OperationClass
9494 elif api_version == '2020-04-01' :
9595 from .v2020_04_01 .operations import NetworkManagementClientOperationsMixin as OperationClass
96+ elif api_version == '2020-05-01' :
97+ from .v2020_05_01 .operations import NetworkManagementClientOperationsMixin as OperationClass
9698 else :
9799 raise NotImplementedError ("APIVersion {} is not available" .format (api_version ))
98100 mixin_instance = OperationClass ()
@@ -113,7 +115,7 @@ def delete_bastion_shareable_link(self, resource_group_name, bastion_host_name,
113115 :type bastion_host_name: str
114116 :param vms: List of VM references.
115117 :type vms:
116- list[~azure.mgmt.network.v2020_04_01 .models.BastionShareableLink]
118+ list[~azure.mgmt.network.v2020_05_01 .models.BastionShareableLink]
117119 :param dict custom_headers: headers that will be added to the request
118120 :param bool raw: The poller return type is ClientRawResponse, the
119121 direct response alongside the deserialized response
@@ -137,6 +139,8 @@ def delete_bastion_shareable_link(self, resource_group_name, bastion_host_name,
137139 from .v2020_03_01 .operations import NetworkManagementClientOperationsMixin as OperationClass
138140 elif api_version == '2020-04-01' :
139141 from .v2020_04_01 .operations import NetworkManagementClientOperationsMixin as OperationClass
142+ elif api_version == '2020-05-01' :
143+ from .v2020_05_01 .operations import NetworkManagementClientOperationsMixin as OperationClass
140144 else :
141145 raise NotImplementedError ("APIVersion {} is not available" .format (api_version ))
142146 mixin_instance = OperationClass ()
@@ -163,7 +167,7 @@ def disconnect_active_sessions(self, resource_group_name, bastion_host_name, ses
163167 overrides<msrest:optionsforoperations>`.
164168 :return: An iterator like instance of BastionSessionState
165169 :rtype:
166- ~azure.mgmt.network.v2020_04_01 .models.BastionSessionStatePaged[~azure.mgmt.network.v2020_04_01 .models.BastionSessionState]
170+ ~azure.mgmt.network.v2020_05_01 .models.BastionSessionStatePaged[~azure.mgmt.network.v2020_05_01 .models.BastionSessionState]
167171 :raises: :class:`CloudError<msrestazure.azure_exceptions.CloudError>`
168172
169173 """
@@ -178,6 +182,8 @@ def disconnect_active_sessions(self, resource_group_name, bastion_host_name, ses
178182 from .v2020_03_01 .operations import NetworkManagementClientOperationsMixin as OperationClass
179183 elif api_version == '2020-04-01' :
180184 from .v2020_04_01 .operations import NetworkManagementClientOperationsMixin as OperationClass
185+ elif api_version == '2020-05-01' :
186+ from .v2020_05_01 .operations import NetworkManagementClientOperationsMixin as OperationClass
181187 else :
182188 raise NotImplementedError ("APIVersion {} is not available" .format (api_version ))
183189 mixin_instance = OperationClass ()
@@ -204,7 +210,7 @@ def generatevirtualwanvpnserverconfigurationvpnprofile(self, resource_group_name
204210 :param authentication_method: VPN client authentication method.
205211 Possible values include: 'EAPTLS', 'EAPMSCHAPv2'
206212 :type authentication_method: str or
207- ~azure.mgmt.network.v2020_04_01 .models.AuthenticationMethod
213+ ~azure.mgmt.network.v2020_05_01 .models.AuthenticationMethod
208214 :param dict custom_headers: headers that will be added to the request
209215 :param bool raw: The poller return type is ClientRawResponse, the
210216 direct response alongside the deserialized response
@@ -213,9 +219,9 @@ def generatevirtualwanvpnserverconfigurationvpnprofile(self, resource_group_name
213219 :return: An instance of LROPoller that returns VpnProfileResponse or
214220 ClientRawResponse<VpnProfileResponse> if raw==True
215221 :rtype:
216- ~msrestazure.azure_operation.AzureOperationPoller[~azure.mgmt.network.v2020_04_01 .models.VpnProfileResponse]
222+ ~msrestazure.azure_operation.AzureOperationPoller[~azure.mgmt.network.v2020_05_01 .models.VpnProfileResponse]
217223 or
218- ~msrestazure.azure_operation.AzureOperationPoller[~msrest.pipeline.ClientRawResponse[~azure.mgmt.network.v2020_04_01 .models.VpnProfileResponse]]
224+ ~msrestazure.azure_operation.AzureOperationPoller[~msrest.pipeline.ClientRawResponse[~azure.mgmt.network.v2020_05_01 .models.VpnProfileResponse]]
219225 :raises: :class:`CloudError<msrestazure.azure_exceptions.CloudError>`
220226
221227 """
@@ -232,6 +238,8 @@ def generatevirtualwanvpnserverconfigurationvpnprofile(self, resource_group_name
232238 from .v2020_03_01 .operations import NetworkManagementClientOperationsMixin as OperationClass
233239 elif api_version == '2020-04-01' :
234240 from .v2020_04_01 .operations import NetworkManagementClientOperationsMixin as OperationClass
241+ elif api_version == '2020-05-01' :
242+ from .v2020_05_01 .operations import NetworkManagementClientOperationsMixin as OperationClass
235243 else :
236244 raise NotImplementedError ("APIVersion {} is not available" .format (api_version ))
237245 mixin_instance = OperationClass ()
@@ -258,9 +266,9 @@ def get_active_sessions(self, resource_group_name, bastion_host_name, custom_hea
258266 BastionActiveSessionListResult or
259267 ClientRawResponse<BastionActiveSessionListResult> if raw==True
260268 :rtype:
261- ~msrestazure.azure_operation.AzureOperationPoller[~azure.mgmt.network.v2020_04_01 .models.BastionActiveSessionListResult]
269+ ~msrestazure.azure_operation.AzureOperationPoller[~azure.mgmt.network.v2020_05_01 .models.BastionActiveSessionListResult]
262270 or
263- ~msrestazure.azure_operation.AzureOperationPoller[~msrest.pipeline.ClientRawResponse[~azure.mgmt.network.v2020_04_01 .models.BastionActiveSessionListResult]]
271+ ~msrestazure.azure_operation.AzureOperationPoller[~msrest.pipeline.ClientRawResponse[~azure.mgmt.network.v2020_05_01 .models.BastionActiveSessionListResult]]
264272 :raises: :class:`CloudError<msrestazure.azure_exceptions.CloudError>`
265273
266274 """
@@ -275,6 +283,8 @@ def get_active_sessions(self, resource_group_name, bastion_host_name, custom_hea
275283 from .v2020_03_01 .operations import NetworkManagementClientOperationsMixin as OperationClass
276284 elif api_version == '2020-04-01' :
277285 from .v2020_04_01 .operations import NetworkManagementClientOperationsMixin as OperationClass
286+ elif api_version == '2020-05-01' :
287+ from .v2020_05_01 .operations import NetworkManagementClientOperationsMixin as OperationClass
278288 else :
279289 raise NotImplementedError ("APIVersion {} is not available" .format (api_version ))
280290 mixin_instance = OperationClass ()
@@ -295,15 +305,15 @@ def get_bastion_shareable_link(self, resource_group_name, bastion_host_name, vms
295305 :type bastion_host_name: str
296306 :param vms: List of VM references.
297307 :type vms:
298- list[~azure.mgmt.network.v2020_04_01 .models.BastionShareableLink]
308+ list[~azure.mgmt.network.v2020_05_01 .models.BastionShareableLink]
299309 :param dict custom_headers: headers that will be added to the request
300310 :param bool raw: returns the direct response alongside the
301311 deserialized response
302312 :param operation_config: :ref:`Operation configuration
303313 overrides<msrest:optionsforoperations>`.
304314 :return: An iterator like instance of BastionShareableLink
305315 :rtype:
306- ~azure.mgmt.network.v2020_04_01 .models.BastionShareableLinkPaged[~azure.mgmt.network.v2020_04_01 .models.BastionShareableLink]
316+ ~azure.mgmt.network.v2020_05_01 .models.BastionShareableLinkPaged[~azure.mgmt.network.v2020_05_01 .models.BastionShareableLink]
307317 :raises: :class:`CloudError<msrestazure.azure_exceptions.CloudError>`
308318
309319 """
@@ -318,6 +328,8 @@ def get_bastion_shareable_link(self, resource_group_name, bastion_host_name, vms
318328 from .v2020_03_01 .operations import NetworkManagementClientOperationsMixin as OperationClass
319329 elif api_version == '2020-04-01' :
320330 from .v2020_04_01 .operations import NetworkManagementClientOperationsMixin as OperationClass
331+ elif api_version == '2020-05-01' :
332+ from .v2020_05_01 .operations import NetworkManagementClientOperationsMixin as OperationClass
321333 else :
322334 raise NotImplementedError ("APIVersion {} is not available" .format (api_version ))
323335 mixin_instance = OperationClass ()
@@ -338,7 +350,7 @@ def put_bastion_shareable_link(self, resource_group_name, bastion_host_name, vms
338350 :type bastion_host_name: str
339351 :param vms: List of VM references.
340352 :type vms:
341- list[~azure.mgmt.network.v2020_04_01 .models.BastionShareableLink]
353+ list[~azure.mgmt.network.v2020_05_01 .models.BastionShareableLink]
342354 :param dict custom_headers: headers that will be added to the request
343355 :param bool raw: The poller return type is ClientRawResponse, the
344356 direct response alongside the deserialized response
@@ -348,9 +360,9 @@ def put_bastion_shareable_link(self, resource_group_name, bastion_host_name, vms
348360 BastionShareableLinkListResult or
349361 ClientRawResponse<BastionShareableLinkListResult> if raw==True
350362 :rtype:
351- ~msrestazure.azure_operation.AzureOperationPoller[~azure.mgmt.network.v2020_04_01 .models.BastionShareableLinkListResult]
363+ ~msrestazure.azure_operation.AzureOperationPoller[~azure.mgmt.network.v2020_05_01 .models.BastionShareableLinkListResult]
352364 or
353- ~msrestazure.azure_operation.AzureOperationPoller[~msrest.pipeline.ClientRawResponse[~azure.mgmt.network.v2020_04_01 .models.BastionShareableLinkListResult]]
365+ ~msrestazure.azure_operation.AzureOperationPoller[~msrest.pipeline.ClientRawResponse[~azure.mgmt.network.v2020_05_01 .models.BastionShareableLinkListResult]]
354366 :raises: :class:`CloudError<msrestazure.azure_exceptions.CloudError>`
355367
356368 """
@@ -365,6 +377,8 @@ def put_bastion_shareable_link(self, resource_group_name, bastion_host_name, vms
365377 from .v2020_03_01 .operations import NetworkManagementClientOperationsMixin as OperationClass
366378 elif api_version == '2020-04-01' :
367379 from .v2020_04_01 .operations import NetworkManagementClientOperationsMixin as OperationClass
380+ elif api_version == '2020-05-01' :
381+ from .v2020_05_01 .operations import NetworkManagementClientOperationsMixin as OperationClass
368382 else :
369383 raise NotImplementedError ("APIVersion {} is not available" .format (api_version ))
370384 mixin_instance = OperationClass ()
@@ -390,7 +404,7 @@ def supported_security_providers(self, resource_group_name, virtual_wan_name, cu
390404 overrides<msrest:optionsforoperations>`.
391405 :return: VirtualWanSecurityProviders or ClientRawResponse if raw=true
392406 :rtype:
393- ~azure.mgmt.network.v2020_04_01 .models.VirtualWanSecurityProviders or
407+ ~azure.mgmt.network.v2020_05_01 .models.VirtualWanSecurityProviders or
394408 ~msrest.pipeline.ClientRawResponse
395409 :raises: :class:`CloudError<msrestazure.azure_exceptions.CloudError>`
396410
@@ -424,6 +438,8 @@ def supported_security_providers(self, resource_group_name, virtual_wan_name, cu
424438 from .v2020_03_01 .operations import NetworkManagementClientOperationsMixin as OperationClass
425439 elif api_version == '2020-04-01' :
426440 from .v2020_04_01 .operations import NetworkManagementClientOperationsMixin as OperationClass
441+ elif api_version == '2020-05-01' :
442+ from .v2020_05_01 .operations import NetworkManagementClientOperationsMixin as OperationClass
427443 else :
428444 raise NotImplementedError ("APIVersion {} is not available" .format (api_version ))
429445 mixin_instance = OperationClass ()
0 commit comments