Skip to content

Commit

Permalink
Generated from 91e0f04e0f77f1410b4647c1113fc415b44fd930
Browse files Browse the repository at this point in the history
Fixed pythod.md file
  • Loading branch information
SDK Automation committed Nov 3, 2020
1 parent 197a8e8 commit 752a83d
Show file tree
Hide file tree
Showing 133 changed files with 92,036 additions and 44 deletions.

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ def check_dns_name_availability(self, location, domain_name_label, custom_header
overrides<msrest:optionsforoperations>`.
:return: DnsNameAvailabilityResult or ClientRawResponse if raw=true
:rtype:
~azure.mgmt.network.v2020_06_01.models.DnsNameAvailabilityResult or
~azure.mgmt.network.v2020_07_01.models.DnsNameAvailabilityResult or
~msrest.pipeline.ClientRawResponse
:raises: :class:`CloudError<msrestazure.azure_exceptions.CloudError>`
Expand Down Expand Up @@ -97,6 +97,8 @@ def check_dns_name_availability(self, location, domain_name_label, custom_header
from .v2020_05_01.operations import NetworkManagementClientOperationsMixin as OperationClass
elif api_version == '2020-06-01':
from .v2020_06_01.operations import NetworkManagementClientOperationsMixin as OperationClass
elif api_version == '2020-07-01':
from .v2020_07_01.operations import NetworkManagementClientOperationsMixin as OperationClass
else:
raise NotImplementedError("APIVersion {} is not available".format(api_version))
mixin_instance = OperationClass()
Expand All @@ -117,7 +119,7 @@ def delete_bastion_shareable_link(self, resource_group_name, bastion_host_name,
:type bastion_host_name: str
:param vms: List of VM references.
:type vms:
list[~azure.mgmt.network.v2020_06_01.models.BastionShareableLink]
list[~azure.mgmt.network.v2020_07_01.models.BastionShareableLink]
:param dict custom_headers: headers that will be added to the request
:param bool raw: The poller return type is ClientRawResponse, the
direct response alongside the deserialized response
Expand Down Expand Up @@ -145,6 +147,8 @@ def delete_bastion_shareable_link(self, resource_group_name, bastion_host_name,
from .v2020_05_01.operations import NetworkManagementClientOperationsMixin as OperationClass
elif api_version == '2020-06-01':
from .v2020_06_01.operations import NetworkManagementClientOperationsMixin as OperationClass
elif api_version == '2020-07-01':
from .v2020_07_01.operations import NetworkManagementClientOperationsMixin as OperationClass
else:
raise NotImplementedError("APIVersion {} is not available".format(api_version))
mixin_instance = OperationClass()
Expand All @@ -171,7 +175,7 @@ def disconnect_active_sessions(self, resource_group_name, bastion_host_name, ses
overrides<msrest:optionsforoperations>`.
:return: An iterator like instance of BastionSessionState
:rtype:
~azure.mgmt.network.v2020_06_01.models.BastionSessionStatePaged[~azure.mgmt.network.v2020_06_01.models.BastionSessionState]
~azure.mgmt.network.v2020_07_01.models.BastionSessionStatePaged[~azure.mgmt.network.v2020_07_01.models.BastionSessionState]
:raises: :class:`CloudError<msrestazure.azure_exceptions.CloudError>`
"""
Expand All @@ -190,6 +194,8 @@ def disconnect_active_sessions(self, resource_group_name, bastion_host_name, ses
from .v2020_05_01.operations import NetworkManagementClientOperationsMixin as OperationClass
elif api_version == '2020-06-01':
from .v2020_06_01.operations import NetworkManagementClientOperationsMixin as OperationClass
elif api_version == '2020-07-01':
from .v2020_07_01.operations import NetworkManagementClientOperationsMixin as OperationClass
else:
raise NotImplementedError("APIVersion {} is not available".format(api_version))
mixin_instance = OperationClass()
Expand All @@ -216,7 +222,7 @@ def generatevirtualwanvpnserverconfigurationvpnprofile(self, resource_group_name
:param authentication_method: VPN client authentication method.
Possible values include: 'EAPTLS', 'EAPMSCHAPv2'
:type authentication_method: str or
~azure.mgmt.network.v2020_06_01.models.AuthenticationMethod
~azure.mgmt.network.v2020_07_01.models.AuthenticationMethod
:param dict custom_headers: headers that will be added to the request
:param bool raw: The poller return type is ClientRawResponse, the
direct response alongside the deserialized response
Expand All @@ -225,9 +231,9 @@ def generatevirtualwanvpnserverconfigurationvpnprofile(self, resource_group_name
:return: An instance of LROPoller that returns VpnProfileResponse or
ClientRawResponse<VpnProfileResponse> if raw==True
:rtype:
~msrestazure.azure_operation.AzureOperationPoller[~azure.mgmt.network.v2020_06_01.models.VpnProfileResponse]
~msrestazure.azure_operation.AzureOperationPoller[~azure.mgmt.network.v2020_07_01.models.VpnProfileResponse]
or
~msrestazure.azure_operation.AzureOperationPoller[~msrest.pipeline.ClientRawResponse[~azure.mgmt.network.v2020_06_01.models.VpnProfileResponse]]
~msrestazure.azure_operation.AzureOperationPoller[~msrest.pipeline.ClientRawResponse[~azure.mgmt.network.v2020_07_01.models.VpnProfileResponse]]
:raises: :class:`CloudError<msrestazure.azure_exceptions.CloudError>`
"""
Expand All @@ -248,6 +254,8 @@ def generatevirtualwanvpnserverconfigurationvpnprofile(self, resource_group_name
from .v2020_05_01.operations import NetworkManagementClientOperationsMixin as OperationClass
elif api_version == '2020-06-01':
from .v2020_06_01.operations import NetworkManagementClientOperationsMixin as OperationClass
elif api_version == '2020-07-01':
from .v2020_07_01.operations import NetworkManagementClientOperationsMixin as OperationClass
else:
raise NotImplementedError("APIVersion {} is not available".format(api_version))
mixin_instance = OperationClass()
Expand All @@ -274,9 +282,9 @@ def get_active_sessions(self, resource_group_name, bastion_host_name, custom_hea
BastionActiveSessionListResult or
ClientRawResponse<BastionActiveSessionListResult> if raw==True
:rtype:
~msrestazure.azure_operation.AzureOperationPoller[~azure.mgmt.network.v2020_06_01.models.BastionActiveSessionListResult]
~msrestazure.azure_operation.AzureOperationPoller[~azure.mgmt.network.v2020_07_01.models.BastionActiveSessionListResult]
or
~msrestazure.azure_operation.AzureOperationPoller[~msrest.pipeline.ClientRawResponse[~azure.mgmt.network.v2020_06_01.models.BastionActiveSessionListResult]]
~msrestazure.azure_operation.AzureOperationPoller[~msrest.pipeline.ClientRawResponse[~azure.mgmt.network.v2020_07_01.models.BastionActiveSessionListResult]]
:raises: :class:`CloudError<msrestazure.azure_exceptions.CloudError>`
"""
Expand All @@ -295,6 +303,8 @@ def get_active_sessions(self, resource_group_name, bastion_host_name, custom_hea
from .v2020_05_01.operations import NetworkManagementClientOperationsMixin as OperationClass
elif api_version == '2020-06-01':
from .v2020_06_01.operations import NetworkManagementClientOperationsMixin as OperationClass
elif api_version == '2020-07-01':
from .v2020_07_01.operations import NetworkManagementClientOperationsMixin as OperationClass
else:
raise NotImplementedError("APIVersion {} is not available".format(api_version))
mixin_instance = OperationClass()
Expand All @@ -315,15 +325,15 @@ def get_bastion_shareable_link(self, resource_group_name, bastion_host_name, vms
:type bastion_host_name: str
:param vms: List of VM references.
:type vms:
list[~azure.mgmt.network.v2020_06_01.models.BastionShareableLink]
list[~azure.mgmt.network.v2020_07_01.models.BastionShareableLink]
:param dict custom_headers: headers that will be added to the request
:param bool raw: returns the direct response alongside the
deserialized response
:param operation_config: :ref:`Operation configuration
overrides<msrest:optionsforoperations>`.
:return: An iterator like instance of BastionShareableLink
:rtype:
~azure.mgmt.network.v2020_06_01.models.BastionShareableLinkPaged[~azure.mgmt.network.v2020_06_01.models.BastionShareableLink]
~azure.mgmt.network.v2020_07_01.models.BastionShareableLinkPaged[~azure.mgmt.network.v2020_07_01.models.BastionShareableLink]
:raises: :class:`CloudError<msrestazure.azure_exceptions.CloudError>`
"""
Expand All @@ -342,6 +352,8 @@ def get_bastion_shareable_link(self, resource_group_name, bastion_host_name, vms
from .v2020_05_01.operations import NetworkManagementClientOperationsMixin as OperationClass
elif api_version == '2020-06-01':
from .v2020_06_01.operations import NetworkManagementClientOperationsMixin as OperationClass
elif api_version == '2020-07-01':
from .v2020_07_01.operations import NetworkManagementClientOperationsMixin as OperationClass
else:
raise NotImplementedError("APIVersion {} is not available".format(api_version))
mixin_instance = OperationClass()
Expand All @@ -362,7 +374,7 @@ def put_bastion_shareable_link(self, resource_group_name, bastion_host_name, vms
:type bastion_host_name: str
:param vms: List of VM references.
:type vms:
list[~azure.mgmt.network.v2020_06_01.models.BastionShareableLink]
list[~azure.mgmt.network.v2020_07_01.models.BastionShareableLink]
:param dict custom_headers: headers that will be added to the request
:param bool raw: The poller return type is ClientRawResponse, the
direct response alongside the deserialized response
Expand All @@ -372,9 +384,9 @@ def put_bastion_shareable_link(self, resource_group_name, bastion_host_name, vms
BastionShareableLinkListResult or
ClientRawResponse<BastionShareableLinkListResult> if raw==True
:rtype:
~msrestazure.azure_operation.AzureOperationPoller[~azure.mgmt.network.v2020_06_01.models.BastionShareableLinkListResult]
~msrestazure.azure_operation.AzureOperationPoller[~azure.mgmt.network.v2020_07_01.models.BastionShareableLinkListResult]
or
~msrestazure.azure_operation.AzureOperationPoller[~msrest.pipeline.ClientRawResponse[~azure.mgmt.network.v2020_06_01.models.BastionShareableLinkListResult]]
~msrestazure.azure_operation.AzureOperationPoller[~msrest.pipeline.ClientRawResponse[~azure.mgmt.network.v2020_07_01.models.BastionShareableLinkListResult]]
:raises: :class:`CloudError<msrestazure.azure_exceptions.CloudError>`
"""
Expand All @@ -393,6 +405,8 @@ def put_bastion_shareable_link(self, resource_group_name, bastion_host_name, vms
from .v2020_05_01.operations import NetworkManagementClientOperationsMixin as OperationClass
elif api_version == '2020-06-01':
from .v2020_06_01.operations import NetworkManagementClientOperationsMixin as OperationClass
elif api_version == '2020-07-01':
from .v2020_07_01.operations import NetworkManagementClientOperationsMixin as OperationClass
else:
raise NotImplementedError("APIVersion {} is not available".format(api_version))
mixin_instance = OperationClass()
Expand All @@ -418,7 +432,7 @@ def supported_security_providers(self, resource_group_name, virtual_wan_name, cu
overrides<msrest:optionsforoperations>`.
:return: VirtualWanSecurityProviders or ClientRawResponse if raw=true
:rtype:
~azure.mgmt.network.v2020_06_01.models.VirtualWanSecurityProviders or
~azure.mgmt.network.v2020_07_01.models.VirtualWanSecurityProviders or
~msrest.pipeline.ClientRawResponse
:raises: :class:`CloudError<msrestazure.azure_exceptions.CloudError>`
Expand Down Expand Up @@ -456,6 +470,8 @@ def supported_security_providers(self, resource_group_name, virtual_wan_name, cu
from .v2020_05_01.operations import NetworkManagementClientOperationsMixin as OperationClass
elif api_version == '2020-06-01':
from .v2020_06_01.operations import NetworkManagementClientOperationsMixin as OperationClass
elif api_version == '2020-07-01':
from .v2020_07_01.operations import NetworkManagementClientOperationsMixin as OperationClass
else:
raise NotImplementedError("APIVersion {} is not available".format(api_version))
mixin_instance = OperationClass()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,4 @@
from .v2019_02_01.models import *
from .v2019_07_01.models import *
from .v2020_04_01.models import *
from .v2020_06_01.models import *
from .v2020_07_01.models import *
Original file line number Diff line number Diff line change
Expand Up @@ -114,6 +114,7 @@
from .operations import VirtualHubBgpConnectionsOperations
from .operations import VirtualHubIpConfigurationOperations
from .operations import HubRouteTablesOperations
from .operations import WebApplicationFirewallPoliciesOperations
from . import models


Expand Down Expand Up @@ -323,6 +324,8 @@ class NetworkManagementClient(NetworkManagementClientOperationsMixin, SDKClient)
:vartype virtual_hub_ip_configuration: azure.mgmt.network.v2020_05_01.operations.VirtualHubIpConfigurationOperations
:ivar hub_route_tables: HubRouteTables operations
:vartype hub_route_tables: azure.mgmt.network.v2020_05_01.operations.HubRouteTablesOperations
:ivar web_application_firewall_policies: WebApplicationFirewallPolicies operations
:vartype web_application_firewall_policies: azure.mgmt.network.v2020_05_01.operations.WebApplicationFirewallPoliciesOperations
:param credentials: Credentials needed for the client to connect to Azure.
:type credentials: :mod:`A msrestazure Credentials
Expand Down Expand Up @@ -544,3 +547,5 @@ def __init__(
self._client, self.config, self._serialize, self._deserialize)
self.hub_route_tables = HubRouteTablesOperations(
self._client, self.config, self._serialize, self._deserialize)
self.web_application_firewall_policies = WebApplicationFirewallPoliciesOperations(
self._client, self.config, self._serialize, self._deserialize)
Loading

0 comments on commit 752a83d

Please sign in to comment.