diff --git a/sdk/applicationinsights/azure-mgmt-applicationinsights/azure/mgmt/applicationinsights/_application_insights_management_client.py b/sdk/applicationinsights/azure-mgmt-applicationinsights/azure/mgmt/applicationinsights/_application_insights_management_client.py index fc19f6bb5d5c1..7c5d3106adfb0 100644 --- a/sdk/applicationinsights/azure-mgmt-applicationinsights/azure/mgmt/applicationinsights/_application_insights_management_client.py +++ b/sdk/applicationinsights/azure-mgmt-applicationinsights/azure/mgmt/applicationinsights/_application_insights_management_client.py @@ -101,7 +101,6 @@ def models(cls, api_version=DEFAULT_API_VERSION): * 2017-10-01: :mod:`v2017_10_01.models` * 2018-05-01-preview: :mod:`v2018_05_01_preview.models` * 2018-06-17-preview: :mod:`v2018_06_17_preview.models` - * 2019-09-01-preview: :mod:`v2019_09_01_preview.models` * 2019-10-17-preview: :mod:`v2019_10_17_preview.models` * 2020-02-02-preview: :mod:`v2020_02_02_preview.models` * 2020-03-01-preview: :mod:`v2020_03_01_preview.models` @@ -119,9 +118,6 @@ def models(cls, api_version=DEFAULT_API_VERSION): elif api_version == '2018-06-17-preview': from .v2018_06_17_preview import models return models - elif api_version == '2019-09-01-preview': - from .v2019_09_01_preview import models - return models elif api_version == '2019-10-17-preview': from .v2019_10_17_preview import models return models @@ -368,14 +364,11 @@ def operations(self): """Instance depends on the API version: * 2015-05-01: :class:`Operations` - * 2019-09-01-preview: :class:`Operations` * 2020-06-02-preview: :class:`Operations` """ api_version = self._get_api_version('operations') if api_version == '2015-05-01': from .v2015_05_01.operations import Operations as OperationClass - elif api_version == '2019-09-01-preview': - from .v2019_09_01_preview.operations import Operations as OperationClass elif api_version == '2020-06-02-preview': from .v2020_06_02_preview.operations import Operations as OperationClass else: @@ -398,32 +391,6 @@ def proactive_detection_configurations(self): raise ValueError("API version {} does not have operation group 'proactive_detection_configurations'".format(api_version)) return OperationClass(self._client, self._config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version))) - @property - def queries(self): - """Instance depends on the API version: - - * 2019-09-01-preview: :class:`QueriesOperations` - """ - api_version = self._get_api_version('queries') - if api_version == '2019-09-01-preview': - from .v2019_09_01_preview.operations import QueriesOperations as OperationClass - else: - raise ValueError("API version {} does not have operation group 'queries'".format(api_version)) - return OperationClass(self._client, self._config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version))) - - @property - def query_packs(self): - """Instance depends on the API version: - - * 2019-09-01-preview: :class:`QueryPacksOperations` - """ - api_version = self._get_api_version('query_packs') - if api_version == '2019-09-01-preview': - from .v2019_09_01_preview.operations import QueryPacksOperations as OperationClass - else: - raise ValueError("API version {} does not have operation group 'query_packs'".format(api_version)) - return OperationClass(self._client, self._config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version))) - @property def web_test_locations(self): """Instance depends on the API version: diff --git a/sdk/applicationinsights/azure-mgmt-applicationinsights/azure/mgmt/applicationinsights/aio/_application_insights_management_client.py b/sdk/applicationinsights/azure-mgmt-applicationinsights/azure/mgmt/applicationinsights/aio/_application_insights_management_client.py index 8394c5fa54099..46904a8fbbd73 100644 --- a/sdk/applicationinsights/azure-mgmt-applicationinsights/azure/mgmt/applicationinsights/aio/_application_insights_management_client.py +++ b/sdk/applicationinsights/azure-mgmt-applicationinsights/azure/mgmt/applicationinsights/aio/_application_insights_management_client.py @@ -101,7 +101,6 @@ def models(cls, api_version=DEFAULT_API_VERSION): * 2017-10-01: :mod:`v2017_10_01.models` * 2018-05-01-preview: :mod:`v2018_05_01_preview.models` * 2018-06-17-preview: :mod:`v2018_06_17_preview.models` - * 2019-09-01-preview: :mod:`v2019_09_01_preview.models` * 2019-10-17-preview: :mod:`v2019_10_17_preview.models` * 2020-02-02-preview: :mod:`v2020_02_02_preview.models` * 2020-03-01-preview: :mod:`v2020_03_01_preview.models` @@ -119,9 +118,6 @@ def models(cls, api_version=DEFAULT_API_VERSION): elif api_version == '2018-06-17-preview': from ..v2018_06_17_preview import models return models - elif api_version == '2019-09-01-preview': - from ..v2019_09_01_preview import models - return models elif api_version == '2019-10-17-preview': from ..v2019_10_17_preview import models return models @@ -368,14 +364,11 @@ def operations(self): """Instance depends on the API version: * 2015-05-01: :class:`Operations` - * 2019-09-01-preview: :class:`Operations` * 2020-06-02-preview: :class:`Operations` """ api_version = self._get_api_version('operations') if api_version == '2015-05-01': from ..v2015_05_01.aio.operations import Operations as OperationClass - elif api_version == '2019-09-01-preview': - from ..v2019_09_01_preview.aio.operations import Operations as OperationClass elif api_version == '2020-06-02-preview': from ..v2020_06_02_preview.aio.operations import Operations as OperationClass else: @@ -398,32 +391,6 @@ def proactive_detection_configurations(self): raise ValueError("API version {} does not have operation group 'proactive_detection_configurations'".format(api_version)) return OperationClass(self._client, self._config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version))) - @property - def queries(self): - """Instance depends on the API version: - - * 2019-09-01-preview: :class:`QueriesOperations` - """ - api_version = self._get_api_version('queries') - if api_version == '2019-09-01-preview': - from ..v2019_09_01_preview.aio.operations import QueriesOperations as OperationClass - else: - raise ValueError("API version {} does not have operation group 'queries'".format(api_version)) - return OperationClass(self._client, self._config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version))) - - @property - def query_packs(self): - """Instance depends on the API version: - - * 2019-09-01-preview: :class:`QueryPacksOperations` - """ - api_version = self._get_api_version('query_packs') - if api_version == '2019-09-01-preview': - from ..v2019_09_01_preview.aio.operations import QueryPacksOperations as OperationClass - else: - raise ValueError("API version {} does not have operation group 'query_packs'".format(api_version)) - return OperationClass(self._client, self._config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version))) - @property def web_test_locations(self): """Instance depends on the API version: