Skip to content

Commit 93c8467

Browse files
author
SDK Automation
committed
Generated from f623ead25fe62ba910864d808ca10c144d6ac036
Fixed prettier warning
1 parent ac3e52a commit 93c8467

File tree

126 files changed

+338
-86762
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

126 files changed

+338
-86762
lines changed

sdk/network/azure-mgmt-network/azure/mgmt/network/_network_management_client.py

Lines changed: 1 addition & 389 deletions
Large diffs are not rendered by default.

sdk/network/azure-mgmt-network/azure/mgmt/network/_operations_mixin.py

Lines changed: 14 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -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_05_01.models.DnsNameAvailabilityResult or
34+
~azure.mgmt.network.v2020_04_01.models.DnsNameAvailabilityResult or
3535
~msrest.pipeline.ClientRawResponse
3636
:raises: :class:`CloudError<msrestazure.azure_exceptions.CloudError>`
3737
@@ -93,8 +93,6 @@ 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
9896
else:
9997
raise NotImplementedError("APIVersion {} is not available".format(api_version))
10098
mixin_instance = OperationClass()
@@ -115,7 +113,7 @@ def delete_bastion_shareable_link(self, resource_group_name, bastion_host_name,
115113
:type bastion_host_name: str
116114
:param vms: List of VM references.
117115
:type vms:
118-
list[~azure.mgmt.network.v2020_05_01.models.BastionShareableLink]
116+
list[~azure.mgmt.network.v2020_04_01.models.BastionShareableLink]
119117
:param dict custom_headers: headers that will be added to the request
120118
:param bool raw: The poller return type is ClientRawResponse, the
121119
direct response alongside the deserialized response
@@ -139,8 +137,6 @@ def delete_bastion_shareable_link(self, resource_group_name, bastion_host_name,
139137
from .v2020_03_01.operations import NetworkManagementClientOperationsMixin as OperationClass
140138
elif api_version == '2020-04-01':
141139
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
144140
else:
145141
raise NotImplementedError("APIVersion {} is not available".format(api_version))
146142
mixin_instance = OperationClass()
@@ -167,7 +163,7 @@ def disconnect_active_sessions(self, resource_group_name, bastion_host_name, ses
167163
overrides<msrest:optionsforoperations>`.
168164
:return: An iterator like instance of BastionSessionState
169165
:rtype:
170-
~azure.mgmt.network.v2020_05_01.models.BastionSessionStatePaged[~azure.mgmt.network.v2020_05_01.models.BastionSessionState]
166+
~azure.mgmt.network.v2020_04_01.models.BastionSessionStatePaged[~azure.mgmt.network.v2020_04_01.models.BastionSessionState]
171167
:raises: :class:`CloudError<msrestazure.azure_exceptions.CloudError>`
172168
173169
"""
@@ -182,8 +178,6 @@ def disconnect_active_sessions(self, resource_group_name, bastion_host_name, ses
182178
from .v2020_03_01.operations import NetworkManagementClientOperationsMixin as OperationClass
183179
elif api_version == '2020-04-01':
184180
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
187181
else:
188182
raise NotImplementedError("APIVersion {} is not available".format(api_version))
189183
mixin_instance = OperationClass()
@@ -210,7 +204,7 @@ def generatevirtualwanvpnserverconfigurationvpnprofile(self, resource_group_name
210204
:param authentication_method: VPN client authentication method.
211205
Possible values include: 'EAPTLS', 'EAPMSCHAPv2'
212206
:type authentication_method: str or
213-
~azure.mgmt.network.v2020_05_01.models.AuthenticationMethod
207+
~azure.mgmt.network.v2020_04_01.models.AuthenticationMethod
214208
:param dict custom_headers: headers that will be added to the request
215209
:param bool raw: The poller return type is ClientRawResponse, the
216210
direct response alongside the deserialized response
@@ -219,9 +213,9 @@ def generatevirtualwanvpnserverconfigurationvpnprofile(self, resource_group_name
219213
:return: An instance of LROPoller that returns VpnProfileResponse or
220214
ClientRawResponse<VpnProfileResponse> if raw==True
221215
:rtype:
222-
~msrestazure.azure_operation.AzureOperationPoller[~azure.mgmt.network.v2020_05_01.models.VpnProfileResponse]
216+
~msrestazure.azure_operation.AzureOperationPoller[~azure.mgmt.network.v2020_04_01.models.VpnProfileResponse]
223217
or
224-
~msrestazure.azure_operation.AzureOperationPoller[~msrest.pipeline.ClientRawResponse[~azure.mgmt.network.v2020_05_01.models.VpnProfileResponse]]
218+
~msrestazure.azure_operation.AzureOperationPoller[~msrest.pipeline.ClientRawResponse[~azure.mgmt.network.v2020_04_01.models.VpnProfileResponse]]
225219
:raises: :class:`CloudError<msrestazure.azure_exceptions.CloudError>`
226220
227221
"""
@@ -238,8 +232,6 @@ def generatevirtualwanvpnserverconfigurationvpnprofile(self, resource_group_name
238232
from .v2020_03_01.operations import NetworkManagementClientOperationsMixin as OperationClass
239233
elif api_version == '2020-04-01':
240234
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
243235
else:
244236
raise NotImplementedError("APIVersion {} is not available".format(api_version))
245237
mixin_instance = OperationClass()
@@ -266,9 +258,9 @@ def get_active_sessions(self, resource_group_name, bastion_host_name, custom_hea
266258
BastionActiveSessionListResult or
267259
ClientRawResponse<BastionActiveSessionListResult> if raw==True
268260
:rtype:
269-
~msrestazure.azure_operation.AzureOperationPoller[~azure.mgmt.network.v2020_05_01.models.BastionActiveSessionListResult]
261+
~msrestazure.azure_operation.AzureOperationPoller[~azure.mgmt.network.v2020_04_01.models.BastionActiveSessionListResult]
270262
or
271-
~msrestazure.azure_operation.AzureOperationPoller[~msrest.pipeline.ClientRawResponse[~azure.mgmt.network.v2020_05_01.models.BastionActiveSessionListResult]]
263+
~msrestazure.azure_operation.AzureOperationPoller[~msrest.pipeline.ClientRawResponse[~azure.mgmt.network.v2020_04_01.models.BastionActiveSessionListResult]]
272264
:raises: :class:`CloudError<msrestazure.azure_exceptions.CloudError>`
273265
274266
"""
@@ -283,8 +275,6 @@ def get_active_sessions(self, resource_group_name, bastion_host_name, custom_hea
283275
from .v2020_03_01.operations import NetworkManagementClientOperationsMixin as OperationClass
284276
elif api_version == '2020-04-01':
285277
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
288278
else:
289279
raise NotImplementedError("APIVersion {} is not available".format(api_version))
290280
mixin_instance = OperationClass()
@@ -305,15 +295,15 @@ def get_bastion_shareable_link(self, resource_group_name, bastion_host_name, vms
305295
:type bastion_host_name: str
306296
:param vms: List of VM references.
307297
:type vms:
308-
list[~azure.mgmt.network.v2020_05_01.models.BastionShareableLink]
298+
list[~azure.mgmt.network.v2020_04_01.models.BastionShareableLink]
309299
:param dict custom_headers: headers that will be added to the request
310300
:param bool raw: returns the direct response alongside the
311301
deserialized response
312302
:param operation_config: :ref:`Operation configuration
313303
overrides<msrest:optionsforoperations>`.
314304
:return: An iterator like instance of BastionShareableLink
315305
:rtype:
316-
~azure.mgmt.network.v2020_05_01.models.BastionShareableLinkPaged[~azure.mgmt.network.v2020_05_01.models.BastionShareableLink]
306+
~azure.mgmt.network.v2020_04_01.models.BastionShareableLinkPaged[~azure.mgmt.network.v2020_04_01.models.BastionShareableLink]
317307
:raises: :class:`CloudError<msrestazure.azure_exceptions.CloudError>`
318308
319309
"""
@@ -328,8 +318,6 @@ def get_bastion_shareable_link(self, resource_group_name, bastion_host_name, vms
328318
from .v2020_03_01.operations import NetworkManagementClientOperationsMixin as OperationClass
329319
elif api_version == '2020-04-01':
330320
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
333321
else:
334322
raise NotImplementedError("APIVersion {} is not available".format(api_version))
335323
mixin_instance = OperationClass()
@@ -350,7 +338,7 @@ def put_bastion_shareable_link(self, resource_group_name, bastion_host_name, vms
350338
:type bastion_host_name: str
351339
:param vms: List of VM references.
352340
:type vms:
353-
list[~azure.mgmt.network.v2020_05_01.models.BastionShareableLink]
341+
list[~azure.mgmt.network.v2020_04_01.models.BastionShareableLink]
354342
:param dict custom_headers: headers that will be added to the request
355343
:param bool raw: The poller return type is ClientRawResponse, the
356344
direct response alongside the deserialized response
@@ -360,9 +348,9 @@ def put_bastion_shareable_link(self, resource_group_name, bastion_host_name, vms
360348
BastionShareableLinkListResult or
361349
ClientRawResponse<BastionShareableLinkListResult> if raw==True
362350
:rtype:
363-
~msrestazure.azure_operation.AzureOperationPoller[~azure.mgmt.network.v2020_05_01.models.BastionShareableLinkListResult]
351+
~msrestazure.azure_operation.AzureOperationPoller[~azure.mgmt.network.v2020_04_01.models.BastionShareableLinkListResult]
364352
or
365-
~msrestazure.azure_operation.AzureOperationPoller[~msrest.pipeline.ClientRawResponse[~azure.mgmt.network.v2020_05_01.models.BastionShareableLinkListResult]]
353+
~msrestazure.azure_operation.AzureOperationPoller[~msrest.pipeline.ClientRawResponse[~azure.mgmt.network.v2020_04_01.models.BastionShareableLinkListResult]]
366354
:raises: :class:`CloudError<msrestazure.azure_exceptions.CloudError>`
367355
368356
"""
@@ -377,8 +365,6 @@ def put_bastion_shareable_link(self, resource_group_name, bastion_host_name, vms
377365
from .v2020_03_01.operations import NetworkManagementClientOperationsMixin as OperationClass
378366
elif api_version == '2020-04-01':
379367
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
382368
else:
383369
raise NotImplementedError("APIVersion {} is not available".format(api_version))
384370
mixin_instance = OperationClass()
@@ -404,7 +390,7 @@ def supported_security_providers(self, resource_group_name, virtual_wan_name, cu
404390
overrides<msrest:optionsforoperations>`.
405391
:return: VirtualWanSecurityProviders or ClientRawResponse if raw=true
406392
:rtype:
407-
~azure.mgmt.network.v2020_05_01.models.VirtualWanSecurityProviders or
393+
~azure.mgmt.network.v2020_04_01.models.VirtualWanSecurityProviders or
408394
~msrest.pipeline.ClientRawResponse
409395
:raises: :class:`CloudError<msrestazure.azure_exceptions.CloudError>`
410396
@@ -438,8 +424,6 @@ def supported_security_providers(self, resource_group_name, virtual_wan_name, cu
438424
from .v2020_03_01.operations import NetworkManagementClientOperationsMixin as OperationClass
439425
elif api_version == '2020-04-01':
440426
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
443427
else:
444428
raise NotImplementedError("APIVersion {} is not available".format(api_version))
445429
mixin_instance = OperationClass()

sdk/network/azure-mgmt-network/azure/mgmt/network/models.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,4 +8,3 @@
88
from .v2019_02_01.models import *
99
from .v2019_07_01.models import *
1010
from .v2020_04_01.models import *
11-
from .v2020_05_01.models import *

0 commit comments

Comments
 (0)