Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Network] generate code by autorest.python 5.13.0 #24354

Closed
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -10,19 +10,10 @@
# --------------------------------------------------------------------------
from msrest import Serializer, Deserializer
from typing import TYPE_CHECKING
import warnings

from azure.core.exceptions import ClientAuthenticationError, HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error
from azure.core.paging import ItemPaged
from azure.core.pipeline import PipelineResponse
from azure.core.pipeline.transport import HttpRequest, HttpResponse
from azure.core.polling import LROPoller, NoPolling, PollingMethod
from azure.mgmt.core.exceptions import ARMErrorFormat
from azure.mgmt.core.polling.arm_polling import ARMPolling

if TYPE_CHECKING:
# pylint: disable=unused-import,ungrouped-imports
from typing import Any, Callable, Dict, Generic, Iterable, Optional, TypeVar, Union
from typing import Any, Iterable, Optional

from azure.core.paging import ItemPaged
from azure.core.polling import LROPoller
Expand Down Expand Up @@ -84,8 +75,6 @@ def begin_delete_bastion_shareable_link( # pylint: disable=inconsistent-return-
from .v2020_11_01.operations import NetworkManagementClientOperationsMixin as OperationClass
elif api_version == '2021-02-01':
from .v2021_02_01.operations import NetworkManagementClientOperationsMixin as OperationClass
elif api_version == '2021-05-01':
from .v2021_05_01.operations import NetworkManagementClientOperationsMixin as OperationClass
elif api_version == '2021-08-01':
from .v2021_08_01.operations import NetworkManagementClientOperationsMixin as OperationClass
else:
Expand Down Expand Up @@ -159,8 +148,6 @@ def begin_generatevirtualwanvpnserverconfigurationvpnprofile(
from .v2020_11_01.operations import NetworkManagementClientOperationsMixin as OperationClass
elif api_version == '2021-02-01':
from .v2021_02_01.operations import NetworkManagementClientOperationsMixin as OperationClass
elif api_version == '2021-05-01':
from .v2021_05_01.operations import NetworkManagementClientOperationsMixin as OperationClass
elif api_version == '2021-08-01':
from .v2021_08_01.operations import NetworkManagementClientOperationsMixin as OperationClass
else:
Expand Down Expand Up @@ -226,8 +213,6 @@ def begin_get_active_sessions(
from .v2020_11_01.operations import NetworkManagementClientOperationsMixin as OperationClass
elif api_version == '2021-02-01':
from .v2021_02_01.operations import NetworkManagementClientOperationsMixin as OperationClass
elif api_version == '2021-05-01':
from .v2021_05_01.operations import NetworkManagementClientOperationsMixin as OperationClass
elif api_version == '2021-08-01':
from .v2021_08_01.operations import NetworkManagementClientOperationsMixin as OperationClass
else:
Expand Down Expand Up @@ -296,8 +281,6 @@ def begin_put_bastion_shareable_link(
from .v2020_11_01.operations import NetworkManagementClientOperationsMixin as OperationClass
elif api_version == '2021-02-01':
from .v2021_02_01.operations import NetworkManagementClientOperationsMixin as OperationClass
elif api_version == '2021-05-01':
from .v2021_05_01.operations import NetworkManagementClientOperationsMixin as OperationClass
elif api_version == '2021-08-01':
from .v2021_08_01.operations import NetworkManagementClientOperationsMixin as OperationClass
else:
Expand Down Expand Up @@ -395,8 +378,6 @@ def check_dns_name_availability(
from .v2020_11_01.operations import NetworkManagementClientOperationsMixin as OperationClass
elif api_version == '2021-02-01':
from .v2021_02_01.operations import NetworkManagementClientOperationsMixin as OperationClass
elif api_version == '2021-05-01':
from .v2021_05_01.operations import NetworkManagementClientOperationsMixin as OperationClass
elif api_version == '2021-08-01':
from .v2021_08_01.operations import NetworkManagementClientOperationsMixin as OperationClass
else:
Expand Down Expand Up @@ -458,8 +439,6 @@ def disconnect_active_sessions(
from .v2020_11_01.operations import NetworkManagementClientOperationsMixin as OperationClass
elif api_version == '2021-02-01':
from .v2021_02_01.operations import NetworkManagementClientOperationsMixin as OperationClass
elif api_version == '2021-05-01':
from .v2021_05_01.operations import NetworkManagementClientOperationsMixin as OperationClass
elif api_version == '2021-08-01':
from .v2021_08_01.operations import NetworkManagementClientOperationsMixin as OperationClass
else:
Expand Down Expand Up @@ -521,8 +500,6 @@ def get_bastion_shareable_link(
from .v2020_11_01.operations import NetworkManagementClientOperationsMixin as OperationClass
elif api_version == '2021-02-01':
from .v2021_02_01.operations import NetworkManagementClientOperationsMixin as OperationClass
elif api_version == '2021-05-01':
from .v2021_05_01.operations import NetworkManagementClientOperationsMixin as OperationClass
elif api_version == '2021-08-01':
from .v2021_08_01.operations import NetworkManagementClientOperationsMixin as OperationClass
else:
Expand Down Expand Up @@ -598,8 +575,6 @@ def supported_security_providers(
from .v2020_11_01.operations import NetworkManagementClientOperationsMixin as OperationClass
elif api_version == '2021-02-01':
from .v2021_02_01.operations import NetworkManagementClientOperationsMixin as OperationClass
elif api_version == '2021-05-01':
from .v2021_05_01.operations import NetworkManagementClientOperationsMixin as OperationClass
elif api_version == '2021-08-01':
from .v2021_08_01.operations import NetworkManagementClientOperationsMixin as OperationClass
else:
Expand Down
Loading