Skip to content

Commit 752a83d

Browse files
author
SDK Automation
committed
Generated from 91e0f04e0f77f1410b4647c1113fc415b44fd930
Fixed pythod.md file
1 parent 197a8e8 commit 752a83d

File tree

133 files changed

+92036
-44
lines changed

Some content is hidden

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

133 files changed

+92036
-44
lines changed

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

Lines changed: 333 additions & 1 deletion
Large diffs are not rendered by default.

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

Lines changed: 30 additions & 14 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_06_01.models.DnsNameAvailabilityResult or
34+
~azure.mgmt.network.v2020_07_01.models.DnsNameAvailabilityResult or
3535
~msrest.pipeline.ClientRawResponse
3636
:raises: :class:`CloudError<msrestazure.azure_exceptions.CloudError>`
3737
@@ -97,6 +97,8 @@ def check_dns_name_availability(self, location, domain_name_label, custom_header
9797
from .v2020_05_01.operations import NetworkManagementClientOperationsMixin as OperationClass
9898
elif api_version == '2020-06-01':
9999
from .v2020_06_01.operations import NetworkManagementClientOperationsMixin as OperationClass
100+
elif api_version == '2020-07-01':
101+
from .v2020_07_01.operations import NetworkManagementClientOperationsMixin as OperationClass
100102
else:
101103
raise NotImplementedError("APIVersion {} is not available".format(api_version))
102104
mixin_instance = OperationClass()
@@ -117,7 +119,7 @@ def delete_bastion_shareable_link(self, resource_group_name, bastion_host_name,
117119
:type bastion_host_name: str
118120
:param vms: List of VM references.
119121
:type vms:
120-
list[~azure.mgmt.network.v2020_06_01.models.BastionShareableLink]
122+
list[~azure.mgmt.network.v2020_07_01.models.BastionShareableLink]
121123
:param dict custom_headers: headers that will be added to the request
122124
:param bool raw: The poller return type is ClientRawResponse, the
123125
direct response alongside the deserialized response
@@ -145,6 +147,8 @@ def delete_bastion_shareable_link(self, resource_group_name, bastion_host_name,
145147
from .v2020_05_01.operations import NetworkManagementClientOperationsMixin as OperationClass
146148
elif api_version == '2020-06-01':
147149
from .v2020_06_01.operations import NetworkManagementClientOperationsMixin as OperationClass
150+
elif api_version == '2020-07-01':
151+
from .v2020_07_01.operations import NetworkManagementClientOperationsMixin as OperationClass
148152
else:
149153
raise NotImplementedError("APIVersion {} is not available".format(api_version))
150154
mixin_instance = OperationClass()
@@ -171,7 +175,7 @@ def disconnect_active_sessions(self, resource_group_name, bastion_host_name, ses
171175
overrides<msrest:optionsforoperations>`.
172176
:return: An iterator like instance of BastionSessionState
173177
:rtype:
174-
~azure.mgmt.network.v2020_06_01.models.BastionSessionStatePaged[~azure.mgmt.network.v2020_06_01.models.BastionSessionState]
178+
~azure.mgmt.network.v2020_07_01.models.BastionSessionStatePaged[~azure.mgmt.network.v2020_07_01.models.BastionSessionState]
175179
:raises: :class:`CloudError<msrestazure.azure_exceptions.CloudError>`
176180
177181
"""
@@ -190,6 +194,8 @@ def disconnect_active_sessions(self, resource_group_name, bastion_host_name, ses
190194
from .v2020_05_01.operations import NetworkManagementClientOperationsMixin as OperationClass
191195
elif api_version == '2020-06-01':
192196
from .v2020_06_01.operations import NetworkManagementClientOperationsMixin as OperationClass
197+
elif api_version == '2020-07-01':
198+
from .v2020_07_01.operations import NetworkManagementClientOperationsMixin as OperationClass
193199
else:
194200
raise NotImplementedError("APIVersion {} is not available".format(api_version))
195201
mixin_instance = OperationClass()
@@ -216,7 +222,7 @@ def generatevirtualwanvpnserverconfigurationvpnprofile(self, resource_group_name
216222
:param authentication_method: VPN client authentication method.
217223
Possible values include: 'EAPTLS', 'EAPMSCHAPv2'
218224
:type authentication_method: str or
219-
~azure.mgmt.network.v2020_06_01.models.AuthenticationMethod
225+
~azure.mgmt.network.v2020_07_01.models.AuthenticationMethod
220226
:param dict custom_headers: headers that will be added to the request
221227
:param bool raw: The poller return type is ClientRawResponse, the
222228
direct response alongside the deserialized response
@@ -225,9 +231,9 @@ def generatevirtualwanvpnserverconfigurationvpnprofile(self, resource_group_name
225231
:return: An instance of LROPoller that returns VpnProfileResponse or
226232
ClientRawResponse<VpnProfileResponse> if raw==True
227233
:rtype:
228-
~msrestazure.azure_operation.AzureOperationPoller[~azure.mgmt.network.v2020_06_01.models.VpnProfileResponse]
234+
~msrestazure.azure_operation.AzureOperationPoller[~azure.mgmt.network.v2020_07_01.models.VpnProfileResponse]
229235
or
230-
~msrestazure.azure_operation.AzureOperationPoller[~msrest.pipeline.ClientRawResponse[~azure.mgmt.network.v2020_06_01.models.VpnProfileResponse]]
236+
~msrestazure.azure_operation.AzureOperationPoller[~msrest.pipeline.ClientRawResponse[~azure.mgmt.network.v2020_07_01.models.VpnProfileResponse]]
231237
:raises: :class:`CloudError<msrestazure.azure_exceptions.CloudError>`
232238
233239
"""
@@ -248,6 +254,8 @@ def generatevirtualwanvpnserverconfigurationvpnprofile(self, resource_group_name
248254
from .v2020_05_01.operations import NetworkManagementClientOperationsMixin as OperationClass
249255
elif api_version == '2020-06-01':
250256
from .v2020_06_01.operations import NetworkManagementClientOperationsMixin as OperationClass
257+
elif api_version == '2020-07-01':
258+
from .v2020_07_01.operations import NetworkManagementClientOperationsMixin as OperationClass
251259
else:
252260
raise NotImplementedError("APIVersion {} is not available".format(api_version))
253261
mixin_instance = OperationClass()
@@ -274,9 +282,9 @@ def get_active_sessions(self, resource_group_name, bastion_host_name, custom_hea
274282
BastionActiveSessionListResult or
275283
ClientRawResponse<BastionActiveSessionListResult> if raw==True
276284
:rtype:
277-
~msrestazure.azure_operation.AzureOperationPoller[~azure.mgmt.network.v2020_06_01.models.BastionActiveSessionListResult]
285+
~msrestazure.azure_operation.AzureOperationPoller[~azure.mgmt.network.v2020_07_01.models.BastionActiveSessionListResult]
278286
or
279-
~msrestazure.azure_operation.AzureOperationPoller[~msrest.pipeline.ClientRawResponse[~azure.mgmt.network.v2020_06_01.models.BastionActiveSessionListResult]]
287+
~msrestazure.azure_operation.AzureOperationPoller[~msrest.pipeline.ClientRawResponse[~azure.mgmt.network.v2020_07_01.models.BastionActiveSessionListResult]]
280288
:raises: :class:`CloudError<msrestazure.azure_exceptions.CloudError>`
281289
282290
"""
@@ -295,6 +303,8 @@ def get_active_sessions(self, resource_group_name, bastion_host_name, custom_hea
295303
from .v2020_05_01.operations import NetworkManagementClientOperationsMixin as OperationClass
296304
elif api_version == '2020-06-01':
297305
from .v2020_06_01.operations import NetworkManagementClientOperationsMixin as OperationClass
306+
elif api_version == '2020-07-01':
307+
from .v2020_07_01.operations import NetworkManagementClientOperationsMixin as OperationClass
298308
else:
299309
raise NotImplementedError("APIVersion {} is not available".format(api_version))
300310
mixin_instance = OperationClass()
@@ -315,15 +325,15 @@ def get_bastion_shareable_link(self, resource_group_name, bastion_host_name, vms
315325
:type bastion_host_name: str
316326
:param vms: List of VM references.
317327
:type vms:
318-
list[~azure.mgmt.network.v2020_06_01.models.BastionShareableLink]
328+
list[~azure.mgmt.network.v2020_07_01.models.BastionShareableLink]
319329
:param dict custom_headers: headers that will be added to the request
320330
:param bool raw: returns the direct response alongside the
321331
deserialized response
322332
:param operation_config: :ref:`Operation configuration
323333
overrides<msrest:optionsforoperations>`.
324334
:return: An iterator like instance of BastionShareableLink
325335
:rtype:
326-
~azure.mgmt.network.v2020_06_01.models.BastionShareableLinkPaged[~azure.mgmt.network.v2020_06_01.models.BastionShareableLink]
336+
~azure.mgmt.network.v2020_07_01.models.BastionShareableLinkPaged[~azure.mgmt.network.v2020_07_01.models.BastionShareableLink]
327337
:raises: :class:`CloudError<msrestazure.azure_exceptions.CloudError>`
328338
329339
"""
@@ -342,6 +352,8 @@ def get_bastion_shareable_link(self, resource_group_name, bastion_host_name, vms
342352
from .v2020_05_01.operations import NetworkManagementClientOperationsMixin as OperationClass
343353
elif api_version == '2020-06-01':
344354
from .v2020_06_01.operations import NetworkManagementClientOperationsMixin as OperationClass
355+
elif api_version == '2020-07-01':
356+
from .v2020_07_01.operations import NetworkManagementClientOperationsMixin as OperationClass
345357
else:
346358
raise NotImplementedError("APIVersion {} is not available".format(api_version))
347359
mixin_instance = OperationClass()
@@ -362,7 +374,7 @@ def put_bastion_shareable_link(self, resource_group_name, bastion_host_name, vms
362374
:type bastion_host_name: str
363375
:param vms: List of VM references.
364376
:type vms:
365-
list[~azure.mgmt.network.v2020_06_01.models.BastionShareableLink]
377+
list[~azure.mgmt.network.v2020_07_01.models.BastionShareableLink]
366378
:param dict custom_headers: headers that will be added to the request
367379
:param bool raw: The poller return type is ClientRawResponse, the
368380
direct response alongside the deserialized response
@@ -372,9 +384,9 @@ def put_bastion_shareable_link(self, resource_group_name, bastion_host_name, vms
372384
BastionShareableLinkListResult or
373385
ClientRawResponse<BastionShareableLinkListResult> if raw==True
374386
:rtype:
375-
~msrestazure.azure_operation.AzureOperationPoller[~azure.mgmt.network.v2020_06_01.models.BastionShareableLinkListResult]
387+
~msrestazure.azure_operation.AzureOperationPoller[~azure.mgmt.network.v2020_07_01.models.BastionShareableLinkListResult]
376388
or
377-
~msrestazure.azure_operation.AzureOperationPoller[~msrest.pipeline.ClientRawResponse[~azure.mgmt.network.v2020_06_01.models.BastionShareableLinkListResult]]
389+
~msrestazure.azure_operation.AzureOperationPoller[~msrest.pipeline.ClientRawResponse[~azure.mgmt.network.v2020_07_01.models.BastionShareableLinkListResult]]
378390
:raises: :class:`CloudError<msrestazure.azure_exceptions.CloudError>`
379391
380392
"""
@@ -393,6 +405,8 @@ def put_bastion_shareable_link(self, resource_group_name, bastion_host_name, vms
393405
from .v2020_05_01.operations import NetworkManagementClientOperationsMixin as OperationClass
394406
elif api_version == '2020-06-01':
395407
from .v2020_06_01.operations import NetworkManagementClientOperationsMixin as OperationClass
408+
elif api_version == '2020-07-01':
409+
from .v2020_07_01.operations import NetworkManagementClientOperationsMixin as OperationClass
396410
else:
397411
raise NotImplementedError("APIVersion {} is not available".format(api_version))
398412
mixin_instance = OperationClass()
@@ -418,7 +432,7 @@ def supported_security_providers(self, resource_group_name, virtual_wan_name, cu
418432
overrides<msrest:optionsforoperations>`.
419433
:return: VirtualWanSecurityProviders or ClientRawResponse if raw=true
420434
:rtype:
421-
~azure.mgmt.network.v2020_06_01.models.VirtualWanSecurityProviders or
435+
~azure.mgmt.network.v2020_07_01.models.VirtualWanSecurityProviders or
422436
~msrest.pipeline.ClientRawResponse
423437
:raises: :class:`CloudError<msrestazure.azure_exceptions.CloudError>`
424438
@@ -456,6 +470,8 @@ def supported_security_providers(self, resource_group_name, virtual_wan_name, cu
456470
from .v2020_05_01.operations import NetworkManagementClientOperationsMixin as OperationClass
457471
elif api_version == '2020-06-01':
458472
from .v2020_06_01.operations import NetworkManagementClientOperationsMixin as OperationClass
473+
elif api_version == '2020-07-01':
474+
from .v2020_07_01.operations import NetworkManagementClientOperationsMixin as OperationClass
459475
else:
460476
raise NotImplementedError("APIVersion {} is not available".format(api_version))
461477
mixin_instance = OperationClass()

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

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

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

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -114,6 +114,7 @@
114114
from .operations import VirtualHubBgpConnectionsOperations
115115
from .operations import VirtualHubIpConfigurationOperations
116116
from .operations import HubRouteTablesOperations
117+
from .operations import WebApplicationFirewallPoliciesOperations
117118
from . import models
118119

119120

@@ -323,6 +324,8 @@ class NetworkManagementClient(NetworkManagementClientOperationsMixin, SDKClient)
323324
:vartype virtual_hub_ip_configuration: azure.mgmt.network.v2020_05_01.operations.VirtualHubIpConfigurationOperations
324325
:ivar hub_route_tables: HubRouteTables operations
325326
:vartype hub_route_tables: azure.mgmt.network.v2020_05_01.operations.HubRouteTablesOperations
327+
:ivar web_application_firewall_policies: WebApplicationFirewallPolicies operations
328+
:vartype web_application_firewall_policies: azure.mgmt.network.v2020_05_01.operations.WebApplicationFirewallPoliciesOperations
326329
327330
:param credentials: Credentials needed for the client to connect to Azure.
328331
:type credentials: :mod:`A msrestazure Credentials
@@ -544,3 +547,5 @@ def __init__(
544547
self._client, self.config, self._serialize, self._deserialize)
545548
self.hub_route_tables = HubRouteTablesOperations(
546549
self._client, self.config, self._serialize, self._deserialize)
550+
self.web_application_firewall_policies = WebApplicationFirewallPoliciesOperations(
551+
self._client, self.config, self._serialize, self._deserialize)

0 commit comments

Comments
 (0)