@@ -31,7 +31,7 @@ def check_dns_name_availability(self, location, domain_name_label, custom_header
31
31
overrides<msrest:optionsforoperations>`.
32
32
:return: DnsNameAvailabilityResult or ClientRawResponse if raw=true
33
33
:rtype:
34
- ~azure.mgmt.network.v2020_04_01 .models.DnsNameAvailabilityResult or
34
+ ~azure.mgmt.network.v2020_05_01 .models.DnsNameAvailabilityResult or
35
35
~msrest.pipeline.ClientRawResponse
36
36
:raises: :class:`CloudError<msrestazure.azure_exceptions.CloudError>`
37
37
@@ -93,6 +93,8 @@ def check_dns_name_availability(self, location, domain_name_label, custom_header
93
93
from .v2020_03_01 .operations import NetworkManagementClientOperationsMixin as OperationClass
94
94
elif api_version == '2020-04-01' :
95
95
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
96
98
else :
97
99
raise NotImplementedError ("APIVersion {} is not available" .format (api_version ))
98
100
mixin_instance = OperationClass ()
@@ -113,7 +115,7 @@ def delete_bastion_shareable_link(self, resource_group_name, bastion_host_name,
113
115
:type bastion_host_name: str
114
116
:param vms: List of VM references.
115
117
:type vms:
116
- list[~azure.mgmt.network.v2020_04_01 .models.BastionShareableLink]
118
+ list[~azure.mgmt.network.v2020_05_01 .models.BastionShareableLink]
117
119
:param dict custom_headers: headers that will be added to the request
118
120
:param bool raw: The poller return type is ClientRawResponse, the
119
121
direct response alongside the deserialized response
@@ -137,6 +139,8 @@ def delete_bastion_shareable_link(self, resource_group_name, bastion_host_name,
137
139
from .v2020_03_01 .operations import NetworkManagementClientOperationsMixin as OperationClass
138
140
elif api_version == '2020-04-01' :
139
141
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
140
144
else :
141
145
raise NotImplementedError ("APIVersion {} is not available" .format (api_version ))
142
146
mixin_instance = OperationClass ()
@@ -163,7 +167,7 @@ def disconnect_active_sessions(self, resource_group_name, bastion_host_name, ses
163
167
overrides<msrest:optionsforoperations>`.
164
168
:return: An iterator like instance of BastionSessionState
165
169
: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]
167
171
:raises: :class:`CloudError<msrestazure.azure_exceptions.CloudError>`
168
172
169
173
"""
@@ -178,6 +182,8 @@ def disconnect_active_sessions(self, resource_group_name, bastion_host_name, ses
178
182
from .v2020_03_01 .operations import NetworkManagementClientOperationsMixin as OperationClass
179
183
elif api_version == '2020-04-01' :
180
184
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
181
187
else :
182
188
raise NotImplementedError ("APIVersion {} is not available" .format (api_version ))
183
189
mixin_instance = OperationClass ()
@@ -204,7 +210,7 @@ def generatevirtualwanvpnserverconfigurationvpnprofile(self, resource_group_name
204
210
:param authentication_method: VPN client authentication method.
205
211
Possible values include: 'EAPTLS', 'EAPMSCHAPv2'
206
212
:type authentication_method: str or
207
- ~azure.mgmt.network.v2020_04_01 .models.AuthenticationMethod
213
+ ~azure.mgmt.network.v2020_05_01 .models.AuthenticationMethod
208
214
:param dict custom_headers: headers that will be added to the request
209
215
:param bool raw: The poller return type is ClientRawResponse, the
210
216
direct response alongside the deserialized response
@@ -213,9 +219,9 @@ def generatevirtualwanvpnserverconfigurationvpnprofile(self, resource_group_name
213
219
:return: An instance of LROPoller that returns VpnProfileResponse or
214
220
ClientRawResponse<VpnProfileResponse> if raw==True
215
221
: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]
217
223
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]]
219
225
:raises: :class:`CloudError<msrestazure.azure_exceptions.CloudError>`
220
226
221
227
"""
@@ -232,6 +238,8 @@ def generatevirtualwanvpnserverconfigurationvpnprofile(self, resource_group_name
232
238
from .v2020_03_01 .operations import NetworkManagementClientOperationsMixin as OperationClass
233
239
elif api_version == '2020-04-01' :
234
240
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
235
243
else :
236
244
raise NotImplementedError ("APIVersion {} is not available" .format (api_version ))
237
245
mixin_instance = OperationClass ()
@@ -258,9 +266,9 @@ def get_active_sessions(self, resource_group_name, bastion_host_name, custom_hea
258
266
BastionActiveSessionListResult or
259
267
ClientRawResponse<BastionActiveSessionListResult> if raw==True
260
268
: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]
262
270
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]]
264
272
:raises: :class:`CloudError<msrestazure.azure_exceptions.CloudError>`
265
273
266
274
"""
@@ -275,6 +283,8 @@ def get_active_sessions(self, resource_group_name, bastion_host_name, custom_hea
275
283
from .v2020_03_01 .operations import NetworkManagementClientOperationsMixin as OperationClass
276
284
elif api_version == '2020-04-01' :
277
285
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
278
288
else :
279
289
raise NotImplementedError ("APIVersion {} is not available" .format (api_version ))
280
290
mixin_instance = OperationClass ()
@@ -295,15 +305,15 @@ def get_bastion_shareable_link(self, resource_group_name, bastion_host_name, vms
295
305
:type bastion_host_name: str
296
306
:param vms: List of VM references.
297
307
:type vms:
298
- list[~azure.mgmt.network.v2020_04_01 .models.BastionShareableLink]
308
+ list[~azure.mgmt.network.v2020_05_01 .models.BastionShareableLink]
299
309
:param dict custom_headers: headers that will be added to the request
300
310
:param bool raw: returns the direct response alongside the
301
311
deserialized response
302
312
:param operation_config: :ref:`Operation configuration
303
313
overrides<msrest:optionsforoperations>`.
304
314
:return: An iterator like instance of BastionShareableLink
305
315
: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]
307
317
:raises: :class:`CloudError<msrestazure.azure_exceptions.CloudError>`
308
318
309
319
"""
@@ -318,6 +328,8 @@ def get_bastion_shareable_link(self, resource_group_name, bastion_host_name, vms
318
328
from .v2020_03_01 .operations import NetworkManagementClientOperationsMixin as OperationClass
319
329
elif api_version == '2020-04-01' :
320
330
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
321
333
else :
322
334
raise NotImplementedError ("APIVersion {} is not available" .format (api_version ))
323
335
mixin_instance = OperationClass ()
@@ -338,7 +350,7 @@ def put_bastion_shareable_link(self, resource_group_name, bastion_host_name, vms
338
350
:type bastion_host_name: str
339
351
:param vms: List of VM references.
340
352
:type vms:
341
- list[~azure.mgmt.network.v2020_04_01 .models.BastionShareableLink]
353
+ list[~azure.mgmt.network.v2020_05_01 .models.BastionShareableLink]
342
354
:param dict custom_headers: headers that will be added to the request
343
355
:param bool raw: The poller return type is ClientRawResponse, the
344
356
direct response alongside the deserialized response
@@ -348,9 +360,9 @@ def put_bastion_shareable_link(self, resource_group_name, bastion_host_name, vms
348
360
BastionShareableLinkListResult or
349
361
ClientRawResponse<BastionShareableLinkListResult> if raw==True
350
362
: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]
352
364
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]]
354
366
:raises: :class:`CloudError<msrestazure.azure_exceptions.CloudError>`
355
367
356
368
"""
@@ -365,6 +377,8 @@ def put_bastion_shareable_link(self, resource_group_name, bastion_host_name, vms
365
377
from .v2020_03_01 .operations import NetworkManagementClientOperationsMixin as OperationClass
366
378
elif api_version == '2020-04-01' :
367
379
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
368
382
else :
369
383
raise NotImplementedError ("APIVersion {} is not available" .format (api_version ))
370
384
mixin_instance = OperationClass ()
@@ -390,7 +404,7 @@ def supported_security_providers(self, resource_group_name, virtual_wan_name, cu
390
404
overrides<msrest:optionsforoperations>`.
391
405
:return: VirtualWanSecurityProviders or ClientRawResponse if raw=true
392
406
:rtype:
393
- ~azure.mgmt.network.v2020_04_01 .models.VirtualWanSecurityProviders or
407
+ ~azure.mgmt.network.v2020_05_01 .models.VirtualWanSecurityProviders or
394
408
~msrest.pipeline.ClientRawResponse
395
409
:raises: :class:`CloudError<msrestazure.azure_exceptions.CloudError>`
396
410
@@ -424,6 +438,8 @@ def supported_security_providers(self, resource_group_name, virtual_wan_name, cu
424
438
from .v2020_03_01 .operations import NetworkManagementClientOperationsMixin as OperationClass
425
439
elif api_version == '2020-04-01' :
426
440
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
427
443
else :
428
444
raise NotImplementedError ("APIVersion {} is not available" .format (api_version ))
429
445
mixin_instance = OperationClass ()
0 commit comments