diff --git a/sdk/appservice/azure-mgmt-web/_meta.json b/sdk/appservice/azure-mgmt-web/_meta.json index 382148367bff1..65272bbb8c7fb 100644 --- a/sdk/appservice/azure-mgmt-web/_meta.json +++ b/sdk/appservice/azure-mgmt-web/_meta.json @@ -4,8 +4,8 @@ "@autorest/python@5.16.0", "@autorest/modelerfour@4.19.3" ], - "commit": "fbe071bba84e3e724573b3fc4efdeb041174d547", + "commit": "ba4bd66f513ccd4963cf3d8367f18539761c4cce", "repository_url": "https://github.com/Azure/azure-rest-api-specs", - "autorest_command": "autorest specification/web/resource-manager/readme.md --python --python-sdks-folder=/home/vsts/work/1/azure-sdk-for-python/sdk --python3-only --use=@autorest/python@5.16.0 --use=@autorest/modelerfour@4.19.3 --version=3.7.2", + "autorest_command": "autorest specification/web/resource-manager/readme.md --python --python-sdks-folder=/mnt/vss/_work/1/s/azure-sdk-for-python/sdk --python3-only --use=@autorest/python@5.16.0 --use=@autorest/modelerfour@4.19.3 --version=3.7.2", "readme": "specification/web/resource-manager/readme.md" } \ No newline at end of file diff --git a/sdk/appservice/azure-mgmt-web/azure/mgmt/web/_operations_mixin.py b/sdk/appservice/azure-mgmt-web/azure/mgmt/web/_operations_mixin.py index f97433e2e6412..213342a4790b0 100644 --- a/sdk/appservice/azure-mgmt-web/azure/mgmt/web/_operations_mixin.py +++ b/sdk/appservice/azure-mgmt-web/azure/mgmt/web/_operations_mixin.py @@ -62,8 +62,6 @@ def check_name_availability( from .v2021_01_01.operations import WebSiteManagementClientOperationsMixin as OperationClass elif api_version == '2021-01-15': from .v2021_01_15.operations import WebSiteManagementClientOperationsMixin as OperationClass - elif api_version == '2021-03-01': - from .v2021_03_01.operations import WebSiteManagementClientOperationsMixin as OperationClass elif api_version == '2022-03-01': from .v2022_03_01.operations import WebSiteManagementClientOperationsMixin as OperationClass else: @@ -107,8 +105,6 @@ def get_publishing_user( from .v2021_01_01.operations import WebSiteManagementClientOperationsMixin as OperationClass elif api_version == '2021-01-15': from .v2021_01_15.operations import WebSiteManagementClientOperationsMixin as OperationClass - elif api_version == '2021-03-01': - from .v2021_03_01.operations import WebSiteManagementClientOperationsMixin as OperationClass elif api_version == '2022-03-01': from .v2022_03_01.operations import WebSiteManagementClientOperationsMixin as OperationClass else: @@ -155,8 +151,6 @@ def get_source_control( from .v2021_01_01.operations import WebSiteManagementClientOperationsMixin as OperationClass elif api_version == '2021-01-15': from .v2021_01_15.operations import WebSiteManagementClientOperationsMixin as OperationClass - elif api_version == '2021-03-01': - from .v2021_03_01.operations import WebSiteManagementClientOperationsMixin as OperationClass elif api_version == '2022-03-01': from .v2022_03_01.operations import WebSiteManagementClientOperationsMixin as OperationClass else: @@ -200,8 +194,6 @@ def get_subscription_deployment_locations( from .v2021_01_01.operations import WebSiteManagementClientOperationsMixin as OperationClass elif api_version == '2021-01-15': from .v2021_01_15.operations import WebSiteManagementClientOperationsMixin as OperationClass - elif api_version == '2021-03-01': - from .v2021_03_01.operations import WebSiteManagementClientOperationsMixin as OperationClass elif api_version == '2022-03-01': from .v2022_03_01.operations import WebSiteManagementClientOperationsMixin as OperationClass else: @@ -250,8 +242,6 @@ def list_billing_meters( from .v2021_01_01.operations import WebSiteManagementClientOperationsMixin as OperationClass elif api_version == '2021-01-15': from .v2021_01_15.operations import WebSiteManagementClientOperationsMixin as OperationClass - elif api_version == '2021-03-01': - from .v2021_03_01.operations import WebSiteManagementClientOperationsMixin as OperationClass elif api_version == '2022-03-01': from .v2022_03_01.operations import WebSiteManagementClientOperationsMixin as OperationClass else: @@ -284,9 +274,7 @@ def list_custom_host_name_sites( :raises: ~azure.core.exceptions.HttpResponseError """ api_version = self._get_api_version('list_custom_host_name_sites') - if api_version == '2021-03-01': - from .v2021_03_01.operations import WebSiteManagementClientOperationsMixin as OperationClass - elif api_version == '2022-03-01': + if api_version == '2022-03-01': from .v2022_03_01.operations import WebSiteManagementClientOperationsMixin as OperationClass else: raise ValueError("API version {} does not have operation 'list_custom_host_name_sites'".format(api_version)) @@ -344,8 +332,6 @@ def list_geo_regions( from .v2021_01_01.operations import WebSiteManagementClientOperationsMixin as OperationClass elif api_version == '2021-01-15': from .v2021_01_15.operations import WebSiteManagementClientOperationsMixin as OperationClass - elif api_version == '2021-03-01': - from .v2021_03_01.operations import WebSiteManagementClientOperationsMixin as OperationClass elif api_version == '2022-03-01': from .v2022_03_01.operations import WebSiteManagementClientOperationsMixin as OperationClass else: @@ -391,8 +377,6 @@ def list_premier_add_on_offers( from .v2021_01_01.operations import WebSiteManagementClientOperationsMixin as OperationClass elif api_version == '2021-01-15': from .v2021_01_15.operations import WebSiteManagementClientOperationsMixin as OperationClass - elif api_version == '2021-03-01': - from .v2021_03_01.operations import WebSiteManagementClientOperationsMixin as OperationClass elif api_version == '2022-03-01': from .v2022_03_01.operations import WebSiteManagementClientOperationsMixin as OperationClass else: @@ -440,8 +424,6 @@ def list_site_identifiers_assigned_to_host_name( from .v2021_01_01.operations import WebSiteManagementClientOperationsMixin as OperationClass elif api_version == '2021-01-15': from .v2021_01_15.operations import WebSiteManagementClientOperationsMixin as OperationClass - elif api_version == '2021-03-01': - from .v2021_03_01.operations import WebSiteManagementClientOperationsMixin as OperationClass elif api_version == '2022-03-01': from .v2022_03_01.operations import WebSiteManagementClientOperationsMixin as OperationClass else: @@ -485,8 +467,6 @@ def list_skus( from .v2021_01_01.operations import WebSiteManagementClientOperationsMixin as OperationClass elif api_version == '2021-01-15': from .v2021_01_15.operations import WebSiteManagementClientOperationsMixin as OperationClass - elif api_version == '2021-03-01': - from .v2021_03_01.operations import WebSiteManagementClientOperationsMixin as OperationClass elif api_version == '2022-03-01': from .v2022_03_01.operations import WebSiteManagementClientOperationsMixin as OperationClass else: @@ -532,8 +512,6 @@ def list_source_controls( from .v2021_01_01.operations import WebSiteManagementClientOperationsMixin as OperationClass elif api_version == '2021-01-15': from .v2021_01_15.operations import WebSiteManagementClientOperationsMixin as OperationClass - elif api_version == '2021-03-01': - from .v2021_03_01.operations import WebSiteManagementClientOperationsMixin as OperationClass elif api_version == '2022-03-01': from .v2022_03_01.operations import WebSiteManagementClientOperationsMixin as OperationClass else: @@ -583,8 +561,6 @@ def move( # pylint: disable=inconsistent-return-statements from .v2021_01_01.operations import WebSiteManagementClientOperationsMixin as OperationClass elif api_version == '2021-01-15': from .v2021_01_15.operations import WebSiteManagementClientOperationsMixin as OperationClass - elif api_version == '2021-03-01': - from .v2021_03_01.operations import WebSiteManagementClientOperationsMixin as OperationClass elif api_version == '2022-03-01': from .v2022_03_01.operations import WebSiteManagementClientOperationsMixin as OperationClass else: @@ -631,8 +607,6 @@ def update_publishing_user( from .v2021_01_01.operations import WebSiteManagementClientOperationsMixin as OperationClass elif api_version == '2021-01-15': from .v2021_01_15.operations import WebSiteManagementClientOperationsMixin as OperationClass - elif api_version == '2021-03-01': - from .v2021_03_01.operations import WebSiteManagementClientOperationsMixin as OperationClass elif api_version == '2022-03-01': from .v2022_03_01.operations import WebSiteManagementClientOperationsMixin as OperationClass else: @@ -682,8 +656,6 @@ def update_source_control( from .v2021_01_01.operations import WebSiteManagementClientOperationsMixin as OperationClass elif api_version == '2021-01-15': from .v2021_01_15.operations import WebSiteManagementClientOperationsMixin as OperationClass - elif api_version == '2021-03-01': - from .v2021_03_01.operations import WebSiteManagementClientOperationsMixin as OperationClass elif api_version == '2022-03-01': from .v2022_03_01.operations import WebSiteManagementClientOperationsMixin as OperationClass else: @@ -733,8 +705,6 @@ def validate( from .v2021_01_01.operations import WebSiteManagementClientOperationsMixin as OperationClass elif api_version == '2021-01-15': from .v2021_01_15.operations import WebSiteManagementClientOperationsMixin as OperationClass - elif api_version == '2021-03-01': - from .v2021_03_01.operations import WebSiteManagementClientOperationsMixin as OperationClass elif api_version == '2022-03-01': from .v2022_03_01.operations import WebSiteManagementClientOperationsMixin as OperationClass else: @@ -818,8 +788,6 @@ def validate_move( # pylint: disable=inconsistent-return-statements from .v2021_01_01.operations import WebSiteManagementClientOperationsMixin as OperationClass elif api_version == '2021-01-15': from .v2021_01_15.operations import WebSiteManagementClientOperationsMixin as OperationClass - elif api_version == '2021-03-01': - from .v2021_03_01.operations import WebSiteManagementClientOperationsMixin as OperationClass elif api_version == '2022-03-01': from .v2022_03_01.operations import WebSiteManagementClientOperationsMixin as OperationClass else: @@ -868,8 +836,6 @@ def verify_hosting_environment_vnet( from .v2021_01_01.operations import WebSiteManagementClientOperationsMixin as OperationClass elif api_version == '2021-01-15': from .v2021_01_15.operations import WebSiteManagementClientOperationsMixin as OperationClass - elif api_version == '2021-03-01': - from .v2021_03_01.operations import WebSiteManagementClientOperationsMixin as OperationClass elif api_version == '2022-03-01': from .v2022_03_01.operations import WebSiteManagementClientOperationsMixin as OperationClass else: diff --git a/sdk/appservice/azure-mgmt-web/azure/mgmt/web/_web_site_management_client.py b/sdk/appservice/azure-mgmt-web/azure/mgmt/web/_web_site_management_client.py index 629ea43791aa5..18905a5229df3 100644 --- a/sdk/appservice/azure-mgmt-web/azure/mgmt/web/_web_site_management_client.py +++ b/sdk/appservice/azure-mgmt-web/azure/mgmt/web/_web_site_management_client.py @@ -105,7 +105,6 @@ def models(cls, api_version=DEFAULT_API_VERSION): * 2020-12-01: :mod:`v2020_12_01.models` * 2021-01-01: :mod:`v2021_01_01.models` * 2021-01-15: :mod:`v2021_01_15.models` - * 2021-03-01: :mod:`v2021_03_01.models` * 2022-03-01: :mod:`v2022_03_01.models` """ if api_version == '2015-04-01': @@ -147,9 +146,6 @@ def models(cls, api_version=DEFAULT_API_VERSION): elif api_version == '2021-01-15': from .v2021_01_15 import models return models - elif api_version == '2021-03-01': - from .v2021_03_01 import models - return models elif api_version == '2022-03-01': from .v2022_03_01 import models return models @@ -167,7 +163,6 @@ def app_service_certificate_orders(self): * 2020-12-01: :class:`AppServiceCertificateOrdersOperations` * 2021-01-01: :class:`AppServiceCertificateOrdersOperations` * 2021-01-15: :class:`AppServiceCertificateOrdersOperations` - * 2021-03-01: :class:`AppServiceCertificateOrdersOperations` * 2022-03-01: :class:`AppServiceCertificateOrdersOperations` """ api_version = self._get_api_version('app_service_certificate_orders') @@ -187,8 +182,6 @@ def app_service_certificate_orders(self): from .v2021_01_01.operations import AppServiceCertificateOrdersOperations as OperationClass elif api_version == '2021-01-15': from .v2021_01_15.operations import AppServiceCertificateOrdersOperations as OperationClass - elif api_version == '2021-03-01': - from .v2021_03_01.operations import AppServiceCertificateOrdersOperations as OperationClass elif api_version == '2022-03-01': from .v2022_03_01.operations import AppServiceCertificateOrdersOperations as OperationClass else: @@ -207,7 +200,6 @@ def app_service_environments(self): * 2020-12-01: :class:`AppServiceEnvironmentsOperations` * 2021-01-01: :class:`AppServiceEnvironmentsOperations` * 2021-01-15: :class:`AppServiceEnvironmentsOperations` - * 2021-03-01: :class:`AppServiceEnvironmentsOperations` * 2022-03-01: :class:`AppServiceEnvironmentsOperations` """ api_version = self._get_api_version('app_service_environments') @@ -227,8 +219,6 @@ def app_service_environments(self): from .v2021_01_01.operations import AppServiceEnvironmentsOperations as OperationClass elif api_version == '2021-01-15': from .v2021_01_15.operations import AppServiceEnvironmentsOperations as OperationClass - elif api_version == '2021-03-01': - from .v2021_03_01.operations import AppServiceEnvironmentsOperations as OperationClass elif api_version == '2022-03-01': from .v2022_03_01.operations import AppServiceEnvironmentsOperations as OperationClass else: @@ -247,7 +237,6 @@ def app_service_plans(self): * 2020-12-01: :class:`AppServicePlansOperations` * 2021-01-01: :class:`AppServicePlansOperations` * 2021-01-15: :class:`AppServicePlansOperations` - * 2021-03-01: :class:`AppServicePlansOperations` * 2022-03-01: :class:`AppServicePlansOperations` """ api_version = self._get_api_version('app_service_plans') @@ -267,8 +256,6 @@ def app_service_plans(self): from .v2021_01_01.operations import AppServicePlansOperations as OperationClass elif api_version == '2021-01-15': from .v2021_01_15.operations import AppServicePlansOperations as OperationClass - elif api_version == '2021-03-01': - from .v2021_03_01.operations import AppServicePlansOperations as OperationClass elif api_version == '2022-03-01': from .v2022_03_01.operations import AppServicePlansOperations as OperationClass else: @@ -295,7 +282,6 @@ def certificate_orders_diagnostics(self): * 2020-12-01: :class:`CertificateOrdersDiagnosticsOperations` * 2021-01-01: :class:`CertificateOrdersDiagnosticsOperations` * 2021-01-15: :class:`CertificateOrdersDiagnosticsOperations` - * 2021-03-01: :class:`CertificateOrdersDiagnosticsOperations` * 2022-03-01: :class:`CertificateOrdersDiagnosticsOperations` """ api_version = self._get_api_version('certificate_orders_diagnostics') @@ -305,8 +291,6 @@ def certificate_orders_diagnostics(self): from .v2021_01_01.operations import CertificateOrdersDiagnosticsOperations as OperationClass elif api_version == '2021-01-15': from .v2021_01_15.operations import CertificateOrdersDiagnosticsOperations as OperationClass - elif api_version == '2021-03-01': - from .v2021_03_01.operations import CertificateOrdersDiagnosticsOperations as OperationClass elif api_version == '2022-03-01': from .v2022_03_01.operations import CertificateOrdersDiagnosticsOperations as OperationClass else: @@ -325,7 +309,6 @@ def certificate_registration_provider(self): * 2020-12-01: :class:`CertificateRegistrationProviderOperations` * 2021-01-01: :class:`CertificateRegistrationProviderOperations` * 2021-01-15: :class:`CertificateRegistrationProviderOperations` - * 2021-03-01: :class:`CertificateRegistrationProviderOperations` * 2022-03-01: :class:`CertificateRegistrationProviderOperations` """ api_version = self._get_api_version('certificate_registration_provider') @@ -345,8 +328,6 @@ def certificate_registration_provider(self): from .v2021_01_01.operations import CertificateRegistrationProviderOperations as OperationClass elif api_version == '2021-01-15': from .v2021_01_15.operations import CertificateRegistrationProviderOperations as OperationClass - elif api_version == '2021-03-01': - from .v2021_03_01.operations import CertificateRegistrationProviderOperations as OperationClass elif api_version == '2022-03-01': from .v2022_03_01.operations import CertificateRegistrationProviderOperations as OperationClass else: @@ -366,7 +347,6 @@ def certificates(self): * 2020-12-01: :class:`CertificatesOperations` * 2021-01-01: :class:`CertificatesOperations` * 2021-01-15: :class:`CertificatesOperations` - * 2021-03-01: :class:`CertificatesOperations` * 2022-03-01: :class:`CertificatesOperations` """ api_version = self._get_api_version('certificates') @@ -388,8 +368,6 @@ def certificates(self): from .v2021_01_01.operations import CertificatesOperations as OperationClass elif api_version == '2021-01-15': from .v2021_01_15.operations import CertificatesOperations as OperationClass - elif api_version == '2021-03-01': - from .v2021_03_01.operations import CertificatesOperations as OperationClass elif api_version == '2022-03-01': from .v2022_03_01.operations import CertificatesOperations as OperationClass else: @@ -400,13 +378,10 @@ def certificates(self): def container_apps(self): """Instance depends on the API version: - * 2021-03-01: :class:`ContainerAppsOperations` * 2022-03-01: :class:`ContainerAppsOperations` """ api_version = self._get_api_version('container_apps') - if api_version == '2021-03-01': - from .v2021_03_01.operations import ContainerAppsOperations as OperationClass - elif api_version == '2022-03-01': + if api_version == '2022-03-01': from .v2022_03_01.operations import ContainerAppsOperations as OperationClass else: raise ValueError("API version {} does not have operation group 'container_apps'".format(api_version)) @@ -416,13 +391,10 @@ def container_apps(self): def container_apps_revisions(self): """Instance depends on the API version: - * 2021-03-01: :class:`ContainerAppsRevisionsOperations` * 2022-03-01: :class:`ContainerAppsRevisionsOperations` """ api_version = self._get_api_version('container_apps_revisions') - if api_version == '2021-03-01': - from .v2021_03_01.operations import ContainerAppsRevisionsOperations as OperationClass - elif api_version == '2022-03-01': + if api_version == '2022-03-01': from .v2022_03_01.operations import ContainerAppsRevisionsOperations as OperationClass else: raise ValueError("API version {} does not have operation group 'container_apps_revisions'".format(api_version)) @@ -440,7 +412,6 @@ def deleted_web_apps(self): * 2020-12-01: :class:`DeletedWebAppsOperations` * 2021-01-01: :class:`DeletedWebAppsOperations` * 2021-01-15: :class:`DeletedWebAppsOperations` - * 2021-03-01: :class:`DeletedWebAppsOperations` * 2022-03-01: :class:`DeletedWebAppsOperations` """ api_version = self._get_api_version('deleted_web_apps') @@ -460,8 +431,6 @@ def deleted_web_apps(self): from .v2021_01_01.operations import DeletedWebAppsOperations as OperationClass elif api_version == '2021-01-15': from .v2021_01_15.operations import DeletedWebAppsOperations as OperationClass - elif api_version == '2021-03-01': - from .v2021_03_01.operations import DeletedWebAppsOperations as OperationClass elif api_version == '2022-03-01': from .v2022_03_01.operations import DeletedWebAppsOperations as OperationClass else: @@ -480,7 +449,6 @@ def diagnostics(self): * 2020-12-01: :class:`DiagnosticsOperations` * 2021-01-01: :class:`DiagnosticsOperations` * 2021-01-15: :class:`DiagnosticsOperations` - * 2021-03-01: :class:`DiagnosticsOperations` * 2022-03-01: :class:`DiagnosticsOperations` """ api_version = self._get_api_version('diagnostics') @@ -500,8 +468,6 @@ def diagnostics(self): from .v2021_01_01.operations import DiagnosticsOperations as OperationClass elif api_version == '2021-01-15': from .v2021_01_15.operations import DiagnosticsOperations as OperationClass - elif api_version == '2021-03-01': - from .v2021_03_01.operations import DiagnosticsOperations as OperationClass elif api_version == '2022-03-01': from .v2022_03_01.operations import DiagnosticsOperations as OperationClass else: @@ -520,7 +486,6 @@ def domain_registration_provider(self): * 2020-12-01: :class:`DomainRegistrationProviderOperations` * 2021-01-01: :class:`DomainRegistrationProviderOperations` * 2021-01-15: :class:`DomainRegistrationProviderOperations` - * 2021-03-01: :class:`DomainRegistrationProviderOperations` * 2022-03-01: :class:`DomainRegistrationProviderOperations` """ api_version = self._get_api_version('domain_registration_provider') @@ -540,8 +505,6 @@ def domain_registration_provider(self): from .v2021_01_01.operations import DomainRegistrationProviderOperations as OperationClass elif api_version == '2021-01-15': from .v2021_01_15.operations import DomainRegistrationProviderOperations as OperationClass - elif api_version == '2021-03-01': - from .v2021_03_01.operations import DomainRegistrationProviderOperations as OperationClass elif api_version == '2022-03-01': from .v2022_03_01.operations import DomainRegistrationProviderOperations as OperationClass else: @@ -560,7 +523,6 @@ def domains(self): * 2020-12-01: :class:`DomainsOperations` * 2021-01-01: :class:`DomainsOperations` * 2021-01-15: :class:`DomainsOperations` - * 2021-03-01: :class:`DomainsOperations` * 2022-03-01: :class:`DomainsOperations` """ api_version = self._get_api_version('domains') @@ -580,8 +542,6 @@ def domains(self): from .v2021_01_01.operations import DomainsOperations as OperationClass elif api_version == '2021-01-15': from .v2021_01_15.operations import DomainsOperations as OperationClass - elif api_version == '2021-03-01': - from .v2021_03_01.operations import DomainsOperations as OperationClass elif api_version == '2022-03-01': from .v2022_03_01.operations import DomainsOperations as OperationClass else: @@ -595,7 +555,6 @@ def global_operations(self): * 2020-12-01: :class:`GlobalOperations` * 2021-01-01: :class:`GlobalOperations` * 2021-01-15: :class:`GlobalOperations` - * 2021-03-01: :class:`GlobalOperations` * 2022-03-01: :class:`GlobalOperations` """ api_version = self._get_api_version('global_operations') @@ -605,8 +564,6 @@ def global_operations(self): from .v2021_01_01.operations import GlobalOperations as OperationClass elif api_version == '2021-01-15': from .v2021_01_15.operations import GlobalOperations as OperationClass - elif api_version == '2021-03-01': - from .v2021_03_01.operations import GlobalOperations as OperationClass elif api_version == '2022-03-01': from .v2022_03_01.operations import GlobalOperations as OperationClass else: @@ -619,7 +576,6 @@ def kube_environments(self): * 2021-01-01: :class:`KubeEnvironmentsOperations` * 2021-01-15: :class:`KubeEnvironmentsOperations` - * 2021-03-01: :class:`KubeEnvironmentsOperations` * 2022-03-01: :class:`KubeEnvironmentsOperations` """ api_version = self._get_api_version('kube_environments') @@ -627,8 +583,6 @@ def kube_environments(self): from .v2021_01_01.operations import KubeEnvironmentsOperations as OperationClass elif api_version == '2021-01-15': from .v2021_01_15.operations import KubeEnvironmentsOperations as OperationClass - elif api_version == '2021-03-01': - from .v2021_03_01.operations import KubeEnvironmentsOperations as OperationClass elif api_version == '2022-03-01': from .v2022_03_01.operations import KubeEnvironmentsOperations as OperationClass else: @@ -647,7 +601,6 @@ def provider(self): * 2020-12-01: :class:`ProviderOperations` * 2021-01-01: :class:`ProviderOperations` * 2021-01-15: :class:`ProviderOperations` - * 2021-03-01: :class:`ProviderOperations` * 2022-03-01: :class:`ProviderOperations` """ api_version = self._get_api_version('provider') @@ -667,8 +620,6 @@ def provider(self): from .v2021_01_01.operations import ProviderOperations as OperationClass elif api_version == '2021-01-15': from .v2021_01_15.operations import ProviderOperations as OperationClass - elif api_version == '2021-03-01': - from .v2021_03_01.operations import ProviderOperations as OperationClass elif api_version == '2022-03-01': from .v2022_03_01.operations import ProviderOperations as OperationClass else: @@ -687,7 +638,6 @@ def recommendations(self): * 2020-12-01: :class:`RecommendationsOperations` * 2021-01-01: :class:`RecommendationsOperations` * 2021-01-15: :class:`RecommendationsOperations` - * 2021-03-01: :class:`RecommendationsOperations` * 2022-03-01: :class:`RecommendationsOperations` """ api_version = self._get_api_version('recommendations') @@ -707,8 +657,6 @@ def recommendations(self): from .v2021_01_01.operations import RecommendationsOperations as OperationClass elif api_version == '2021-01-15': from .v2021_01_15.operations import RecommendationsOperations as OperationClass - elif api_version == '2021-03-01': - from .v2021_03_01.operations import RecommendationsOperations as OperationClass elif api_version == '2022-03-01': from .v2022_03_01.operations import RecommendationsOperations as OperationClass else: @@ -727,7 +675,6 @@ def resource_health_metadata(self): * 2020-12-01: :class:`ResourceHealthMetadataOperations` * 2021-01-01: :class:`ResourceHealthMetadataOperations` * 2021-01-15: :class:`ResourceHealthMetadataOperations` - * 2021-03-01: :class:`ResourceHealthMetadataOperations` * 2022-03-01: :class:`ResourceHealthMetadataOperations` """ api_version = self._get_api_version('resource_health_metadata') @@ -747,8 +694,6 @@ def resource_health_metadata(self): from .v2021_01_01.operations import ResourceHealthMetadataOperations as OperationClass elif api_version == '2021-01-15': from .v2021_01_15.operations import ResourceHealthMetadataOperations as OperationClass - elif api_version == '2021-03-01': - from .v2021_03_01.operations import ResourceHealthMetadataOperations as OperationClass elif api_version == '2022-03-01': from .v2022_03_01.operations import ResourceHealthMetadataOperations as OperationClass else: @@ -765,7 +710,6 @@ def static_sites(self): * 2020-12-01: :class:`StaticSitesOperations` * 2021-01-01: :class:`StaticSitesOperations` * 2021-01-15: :class:`StaticSitesOperations` - * 2021-03-01: :class:`StaticSitesOperations` * 2022-03-01: :class:`StaticSitesOperations` """ api_version = self._get_api_version('static_sites') @@ -781,8 +725,6 @@ def static_sites(self): from .v2021_01_01.operations import StaticSitesOperations as OperationClass elif api_version == '2021-01-15': from .v2021_01_15.operations import StaticSitesOperations as OperationClass - elif api_version == '2021-03-01': - from .v2021_03_01.operations import StaticSitesOperations as OperationClass elif api_version == '2022-03-01': from .v2022_03_01.operations import StaticSitesOperations as OperationClass else: @@ -801,7 +743,6 @@ def top_level_domains(self): * 2020-12-01: :class:`TopLevelDomainsOperations` * 2021-01-01: :class:`TopLevelDomainsOperations` * 2021-01-15: :class:`TopLevelDomainsOperations` - * 2021-03-01: :class:`TopLevelDomainsOperations` * 2022-03-01: :class:`TopLevelDomainsOperations` """ api_version = self._get_api_version('top_level_domains') @@ -821,8 +762,6 @@ def top_level_domains(self): from .v2021_01_01.operations import TopLevelDomainsOperations as OperationClass elif api_version == '2021-01-15': from .v2021_01_15.operations import TopLevelDomainsOperations as OperationClass - elif api_version == '2021-03-01': - from .v2021_03_01.operations import TopLevelDomainsOperations as OperationClass elif api_version == '2022-03-01': from .v2022_03_01.operations import TopLevelDomainsOperations as OperationClass else: @@ -841,7 +780,6 @@ def web_apps(self): * 2020-12-01: :class:`WebAppsOperations` * 2021-01-01: :class:`WebAppsOperations` * 2021-01-15: :class:`WebAppsOperations` - * 2021-03-01: :class:`WebAppsOperations` * 2022-03-01: :class:`WebAppsOperations` """ api_version = self._get_api_version('web_apps') @@ -861,8 +799,6 @@ def web_apps(self): from .v2021_01_01.operations import WebAppsOperations as OperationClass elif api_version == '2021-01-15': from .v2021_01_15.operations import WebAppsOperations as OperationClass - elif api_version == '2021-03-01': - from .v2021_03_01.operations import WebAppsOperations as OperationClass elif api_version == '2022-03-01': from .v2022_03_01.operations import WebAppsOperations as OperationClass else: diff --git a/sdk/appservice/azure-mgmt-web/azure/mgmt/web/aio/_operations_mixin.py b/sdk/appservice/azure-mgmt-web/azure/mgmt/web/aio/_operations_mixin.py index 7c9f1a05b2046..fe118229d53c5 100644 --- a/sdk/appservice/azure-mgmt-web/azure/mgmt/web/aio/_operations_mixin.py +++ b/sdk/appservice/azure-mgmt-web/azure/mgmt/web/aio/_operations_mixin.py @@ -57,8 +57,6 @@ async def check_name_availability( from ..v2021_01_01.aio.operations import WebSiteManagementClientOperationsMixin as OperationClass elif api_version == '2021-01-15': from ..v2021_01_15.aio.operations import WebSiteManagementClientOperationsMixin as OperationClass - elif api_version == '2021-03-01': - from ..v2021_03_01.aio.operations import WebSiteManagementClientOperationsMixin as OperationClass elif api_version == '2022-03-01': from ..v2022_03_01.aio.operations import WebSiteManagementClientOperationsMixin as OperationClass else: @@ -101,8 +99,6 @@ async def get_publishing_user( from ..v2021_01_01.aio.operations import WebSiteManagementClientOperationsMixin as OperationClass elif api_version == '2021-01-15': from ..v2021_01_15.aio.operations import WebSiteManagementClientOperationsMixin as OperationClass - elif api_version == '2021-03-01': - from ..v2021_03_01.aio.operations import WebSiteManagementClientOperationsMixin as OperationClass elif api_version == '2022-03-01': from ..v2022_03_01.aio.operations import WebSiteManagementClientOperationsMixin as OperationClass else: @@ -148,8 +144,6 @@ async def get_source_control( from ..v2021_01_01.aio.operations import WebSiteManagementClientOperationsMixin as OperationClass elif api_version == '2021-01-15': from ..v2021_01_15.aio.operations import WebSiteManagementClientOperationsMixin as OperationClass - elif api_version == '2021-03-01': - from ..v2021_03_01.aio.operations import WebSiteManagementClientOperationsMixin as OperationClass elif api_version == '2022-03-01': from ..v2022_03_01.aio.operations import WebSiteManagementClientOperationsMixin as OperationClass else: @@ -192,8 +186,6 @@ async def get_subscription_deployment_locations( from ..v2021_01_01.aio.operations import WebSiteManagementClientOperationsMixin as OperationClass elif api_version == '2021-01-15': from ..v2021_01_15.aio.operations import WebSiteManagementClientOperationsMixin as OperationClass - elif api_version == '2021-03-01': - from ..v2021_03_01.aio.operations import WebSiteManagementClientOperationsMixin as OperationClass elif api_version == '2022-03-01': from ..v2022_03_01.aio.operations import WebSiteManagementClientOperationsMixin as OperationClass else: @@ -242,8 +234,6 @@ def list_billing_meters( from ..v2021_01_01.aio.operations import WebSiteManagementClientOperationsMixin as OperationClass elif api_version == '2021-01-15': from ..v2021_01_15.aio.operations import WebSiteManagementClientOperationsMixin as OperationClass - elif api_version == '2021-03-01': - from ..v2021_03_01.aio.operations import WebSiteManagementClientOperationsMixin as OperationClass elif api_version == '2022-03-01': from ..v2022_03_01.aio.operations import WebSiteManagementClientOperationsMixin as OperationClass else: @@ -275,9 +265,7 @@ def list_custom_host_name_sites( :raises: ~azure.core.exceptions.HttpResponseError """ api_version = self._get_api_version('list_custom_host_name_sites') - if api_version == '2021-03-01': - from ..v2021_03_01.aio.operations import WebSiteManagementClientOperationsMixin as OperationClass - elif api_version == '2022-03-01': + if api_version == '2022-03-01': from ..v2022_03_01.aio.operations import WebSiteManagementClientOperationsMixin as OperationClass else: raise ValueError("API version {} does not have operation 'list_custom_host_name_sites'".format(api_version)) @@ -335,8 +323,6 @@ def list_geo_regions( from ..v2021_01_01.aio.operations import WebSiteManagementClientOperationsMixin as OperationClass elif api_version == '2021-01-15': from ..v2021_01_15.aio.operations import WebSiteManagementClientOperationsMixin as OperationClass - elif api_version == '2021-03-01': - from ..v2021_03_01.aio.operations import WebSiteManagementClientOperationsMixin as OperationClass elif api_version == '2022-03-01': from ..v2022_03_01.aio.operations import WebSiteManagementClientOperationsMixin as OperationClass else: @@ -381,8 +367,6 @@ def list_premier_add_on_offers( from ..v2021_01_01.aio.operations import WebSiteManagementClientOperationsMixin as OperationClass elif api_version == '2021-01-15': from ..v2021_01_15.aio.operations import WebSiteManagementClientOperationsMixin as OperationClass - elif api_version == '2021-03-01': - from ..v2021_03_01.aio.operations import WebSiteManagementClientOperationsMixin as OperationClass elif api_version == '2022-03-01': from ..v2022_03_01.aio.operations import WebSiteManagementClientOperationsMixin as OperationClass else: @@ -430,8 +414,6 @@ def list_site_identifiers_assigned_to_host_name( from ..v2021_01_01.aio.operations import WebSiteManagementClientOperationsMixin as OperationClass elif api_version == '2021-01-15': from ..v2021_01_15.aio.operations import WebSiteManagementClientOperationsMixin as OperationClass - elif api_version == '2021-03-01': - from ..v2021_03_01.aio.operations import WebSiteManagementClientOperationsMixin as OperationClass elif api_version == '2022-03-01': from ..v2022_03_01.aio.operations import WebSiteManagementClientOperationsMixin as OperationClass else: @@ -474,8 +456,6 @@ async def list_skus( from ..v2021_01_01.aio.operations import WebSiteManagementClientOperationsMixin as OperationClass elif api_version == '2021-01-15': from ..v2021_01_15.aio.operations import WebSiteManagementClientOperationsMixin as OperationClass - elif api_version == '2021-03-01': - from ..v2021_03_01.aio.operations import WebSiteManagementClientOperationsMixin as OperationClass elif api_version == '2022-03-01': from ..v2022_03_01.aio.operations import WebSiteManagementClientOperationsMixin as OperationClass else: @@ -520,8 +500,6 @@ def list_source_controls( from ..v2021_01_01.aio.operations import WebSiteManagementClientOperationsMixin as OperationClass elif api_version == '2021-01-15': from ..v2021_01_15.aio.operations import WebSiteManagementClientOperationsMixin as OperationClass - elif api_version == '2021-03-01': - from ..v2021_03_01.aio.operations import WebSiteManagementClientOperationsMixin as OperationClass elif api_version == '2022-03-01': from ..v2022_03_01.aio.operations import WebSiteManagementClientOperationsMixin as OperationClass else: @@ -570,8 +548,6 @@ async def move( # pylint: disable=inconsistent-return-statements from ..v2021_01_01.aio.operations import WebSiteManagementClientOperationsMixin as OperationClass elif api_version == '2021-01-15': from ..v2021_01_15.aio.operations import WebSiteManagementClientOperationsMixin as OperationClass - elif api_version == '2021-03-01': - from ..v2021_03_01.aio.operations import WebSiteManagementClientOperationsMixin as OperationClass elif api_version == '2022-03-01': from ..v2022_03_01.aio.operations import WebSiteManagementClientOperationsMixin as OperationClass else: @@ -617,8 +593,6 @@ async def update_publishing_user( from ..v2021_01_01.aio.operations import WebSiteManagementClientOperationsMixin as OperationClass elif api_version == '2021-01-15': from ..v2021_01_15.aio.operations import WebSiteManagementClientOperationsMixin as OperationClass - elif api_version == '2021-03-01': - from ..v2021_03_01.aio.operations import WebSiteManagementClientOperationsMixin as OperationClass elif api_version == '2022-03-01': from ..v2022_03_01.aio.operations import WebSiteManagementClientOperationsMixin as OperationClass else: @@ -667,8 +641,6 @@ async def update_source_control( from ..v2021_01_01.aio.operations import WebSiteManagementClientOperationsMixin as OperationClass elif api_version == '2021-01-15': from ..v2021_01_15.aio.operations import WebSiteManagementClientOperationsMixin as OperationClass - elif api_version == '2021-03-01': - from ..v2021_03_01.aio.operations import WebSiteManagementClientOperationsMixin as OperationClass elif api_version == '2022-03-01': from ..v2022_03_01.aio.operations import WebSiteManagementClientOperationsMixin as OperationClass else: @@ -717,8 +689,6 @@ async def validate( from ..v2021_01_01.aio.operations import WebSiteManagementClientOperationsMixin as OperationClass elif api_version == '2021-01-15': from ..v2021_01_15.aio.operations import WebSiteManagementClientOperationsMixin as OperationClass - elif api_version == '2021-03-01': - from ..v2021_03_01.aio.operations import WebSiteManagementClientOperationsMixin as OperationClass elif api_version == '2022-03-01': from ..v2022_03_01.aio.operations import WebSiteManagementClientOperationsMixin as OperationClass else: @@ -800,8 +770,6 @@ async def validate_move( # pylint: disable=inconsistent-return-statements from ..v2021_01_01.aio.operations import WebSiteManagementClientOperationsMixin as OperationClass elif api_version == '2021-01-15': from ..v2021_01_15.aio.operations import WebSiteManagementClientOperationsMixin as OperationClass - elif api_version == '2021-03-01': - from ..v2021_03_01.aio.operations import WebSiteManagementClientOperationsMixin as OperationClass elif api_version == '2022-03-01': from ..v2022_03_01.aio.operations import WebSiteManagementClientOperationsMixin as OperationClass else: @@ -849,8 +817,6 @@ async def verify_hosting_environment_vnet( from ..v2021_01_01.aio.operations import WebSiteManagementClientOperationsMixin as OperationClass elif api_version == '2021-01-15': from ..v2021_01_15.aio.operations import WebSiteManagementClientOperationsMixin as OperationClass - elif api_version == '2021-03-01': - from ..v2021_03_01.aio.operations import WebSiteManagementClientOperationsMixin as OperationClass elif api_version == '2022-03-01': from ..v2022_03_01.aio.operations import WebSiteManagementClientOperationsMixin as OperationClass else: diff --git a/sdk/appservice/azure-mgmt-web/azure/mgmt/web/aio/_web_site_management_client.py b/sdk/appservice/azure-mgmt-web/azure/mgmt/web/aio/_web_site_management_client.py index b54b2cdd81ed2..84f3d6b3a2682 100644 --- a/sdk/appservice/azure-mgmt-web/azure/mgmt/web/aio/_web_site_management_client.py +++ b/sdk/appservice/azure-mgmt-web/azure/mgmt/web/aio/_web_site_management_client.py @@ -104,7 +104,6 @@ def models(cls, api_version=DEFAULT_API_VERSION): * 2020-12-01: :mod:`v2020_12_01.models` * 2021-01-01: :mod:`v2021_01_01.models` * 2021-01-15: :mod:`v2021_01_15.models` - * 2021-03-01: :mod:`v2021_03_01.models` * 2022-03-01: :mod:`v2022_03_01.models` """ if api_version == '2015-04-01': @@ -146,9 +145,6 @@ def models(cls, api_version=DEFAULT_API_VERSION): elif api_version == '2021-01-15': from ..v2021_01_15 import models return models - elif api_version == '2021-03-01': - from ..v2021_03_01 import models - return models elif api_version == '2022-03-01': from ..v2022_03_01 import models return models @@ -166,7 +162,6 @@ def app_service_certificate_orders(self): * 2020-12-01: :class:`AppServiceCertificateOrdersOperations` * 2021-01-01: :class:`AppServiceCertificateOrdersOperations` * 2021-01-15: :class:`AppServiceCertificateOrdersOperations` - * 2021-03-01: :class:`AppServiceCertificateOrdersOperations` * 2022-03-01: :class:`AppServiceCertificateOrdersOperations` """ api_version = self._get_api_version('app_service_certificate_orders') @@ -186,8 +181,6 @@ def app_service_certificate_orders(self): from ..v2021_01_01.aio.operations import AppServiceCertificateOrdersOperations as OperationClass elif api_version == '2021-01-15': from ..v2021_01_15.aio.operations import AppServiceCertificateOrdersOperations as OperationClass - elif api_version == '2021-03-01': - from ..v2021_03_01.aio.operations import AppServiceCertificateOrdersOperations as OperationClass elif api_version == '2022-03-01': from ..v2022_03_01.aio.operations import AppServiceCertificateOrdersOperations as OperationClass else: @@ -206,7 +199,6 @@ def app_service_environments(self): * 2020-12-01: :class:`AppServiceEnvironmentsOperations` * 2021-01-01: :class:`AppServiceEnvironmentsOperations` * 2021-01-15: :class:`AppServiceEnvironmentsOperations` - * 2021-03-01: :class:`AppServiceEnvironmentsOperations` * 2022-03-01: :class:`AppServiceEnvironmentsOperations` """ api_version = self._get_api_version('app_service_environments') @@ -226,8 +218,6 @@ def app_service_environments(self): from ..v2021_01_01.aio.operations import AppServiceEnvironmentsOperations as OperationClass elif api_version == '2021-01-15': from ..v2021_01_15.aio.operations import AppServiceEnvironmentsOperations as OperationClass - elif api_version == '2021-03-01': - from ..v2021_03_01.aio.operations import AppServiceEnvironmentsOperations as OperationClass elif api_version == '2022-03-01': from ..v2022_03_01.aio.operations import AppServiceEnvironmentsOperations as OperationClass else: @@ -246,7 +236,6 @@ def app_service_plans(self): * 2020-12-01: :class:`AppServicePlansOperations` * 2021-01-01: :class:`AppServicePlansOperations` * 2021-01-15: :class:`AppServicePlansOperations` - * 2021-03-01: :class:`AppServicePlansOperations` * 2022-03-01: :class:`AppServicePlansOperations` """ api_version = self._get_api_version('app_service_plans') @@ -266,8 +255,6 @@ def app_service_plans(self): from ..v2021_01_01.aio.operations import AppServicePlansOperations as OperationClass elif api_version == '2021-01-15': from ..v2021_01_15.aio.operations import AppServicePlansOperations as OperationClass - elif api_version == '2021-03-01': - from ..v2021_03_01.aio.operations import AppServicePlansOperations as OperationClass elif api_version == '2022-03-01': from ..v2022_03_01.aio.operations import AppServicePlansOperations as OperationClass else: @@ -294,7 +281,6 @@ def certificate_orders_diagnostics(self): * 2020-12-01: :class:`CertificateOrdersDiagnosticsOperations` * 2021-01-01: :class:`CertificateOrdersDiagnosticsOperations` * 2021-01-15: :class:`CertificateOrdersDiagnosticsOperations` - * 2021-03-01: :class:`CertificateOrdersDiagnosticsOperations` * 2022-03-01: :class:`CertificateOrdersDiagnosticsOperations` """ api_version = self._get_api_version('certificate_orders_diagnostics') @@ -304,8 +290,6 @@ def certificate_orders_diagnostics(self): from ..v2021_01_01.aio.operations import CertificateOrdersDiagnosticsOperations as OperationClass elif api_version == '2021-01-15': from ..v2021_01_15.aio.operations import CertificateOrdersDiagnosticsOperations as OperationClass - elif api_version == '2021-03-01': - from ..v2021_03_01.aio.operations import CertificateOrdersDiagnosticsOperations as OperationClass elif api_version == '2022-03-01': from ..v2022_03_01.aio.operations import CertificateOrdersDiagnosticsOperations as OperationClass else: @@ -324,7 +308,6 @@ def certificate_registration_provider(self): * 2020-12-01: :class:`CertificateRegistrationProviderOperations` * 2021-01-01: :class:`CertificateRegistrationProviderOperations` * 2021-01-15: :class:`CertificateRegistrationProviderOperations` - * 2021-03-01: :class:`CertificateRegistrationProviderOperations` * 2022-03-01: :class:`CertificateRegistrationProviderOperations` """ api_version = self._get_api_version('certificate_registration_provider') @@ -344,8 +327,6 @@ def certificate_registration_provider(self): from ..v2021_01_01.aio.operations import CertificateRegistrationProviderOperations as OperationClass elif api_version == '2021-01-15': from ..v2021_01_15.aio.operations import CertificateRegistrationProviderOperations as OperationClass - elif api_version == '2021-03-01': - from ..v2021_03_01.aio.operations import CertificateRegistrationProviderOperations as OperationClass elif api_version == '2022-03-01': from ..v2022_03_01.aio.operations import CertificateRegistrationProviderOperations as OperationClass else: @@ -365,7 +346,6 @@ def certificates(self): * 2020-12-01: :class:`CertificatesOperations` * 2021-01-01: :class:`CertificatesOperations` * 2021-01-15: :class:`CertificatesOperations` - * 2021-03-01: :class:`CertificatesOperations` * 2022-03-01: :class:`CertificatesOperations` """ api_version = self._get_api_version('certificates') @@ -387,8 +367,6 @@ def certificates(self): from ..v2021_01_01.aio.operations import CertificatesOperations as OperationClass elif api_version == '2021-01-15': from ..v2021_01_15.aio.operations import CertificatesOperations as OperationClass - elif api_version == '2021-03-01': - from ..v2021_03_01.aio.operations import CertificatesOperations as OperationClass elif api_version == '2022-03-01': from ..v2022_03_01.aio.operations import CertificatesOperations as OperationClass else: @@ -399,13 +377,10 @@ def certificates(self): def container_apps(self): """Instance depends on the API version: - * 2021-03-01: :class:`ContainerAppsOperations` * 2022-03-01: :class:`ContainerAppsOperations` """ api_version = self._get_api_version('container_apps') - if api_version == '2021-03-01': - from ..v2021_03_01.aio.operations import ContainerAppsOperations as OperationClass - elif api_version == '2022-03-01': + if api_version == '2022-03-01': from ..v2022_03_01.aio.operations import ContainerAppsOperations as OperationClass else: raise ValueError("API version {} does not have operation group 'container_apps'".format(api_version)) @@ -415,13 +390,10 @@ def container_apps(self): def container_apps_revisions(self): """Instance depends on the API version: - * 2021-03-01: :class:`ContainerAppsRevisionsOperations` * 2022-03-01: :class:`ContainerAppsRevisionsOperations` """ api_version = self._get_api_version('container_apps_revisions') - if api_version == '2021-03-01': - from ..v2021_03_01.aio.operations import ContainerAppsRevisionsOperations as OperationClass - elif api_version == '2022-03-01': + if api_version == '2022-03-01': from ..v2022_03_01.aio.operations import ContainerAppsRevisionsOperations as OperationClass else: raise ValueError("API version {} does not have operation group 'container_apps_revisions'".format(api_version)) @@ -439,7 +411,6 @@ def deleted_web_apps(self): * 2020-12-01: :class:`DeletedWebAppsOperations` * 2021-01-01: :class:`DeletedWebAppsOperations` * 2021-01-15: :class:`DeletedWebAppsOperations` - * 2021-03-01: :class:`DeletedWebAppsOperations` * 2022-03-01: :class:`DeletedWebAppsOperations` """ api_version = self._get_api_version('deleted_web_apps') @@ -459,8 +430,6 @@ def deleted_web_apps(self): from ..v2021_01_01.aio.operations import DeletedWebAppsOperations as OperationClass elif api_version == '2021-01-15': from ..v2021_01_15.aio.operations import DeletedWebAppsOperations as OperationClass - elif api_version == '2021-03-01': - from ..v2021_03_01.aio.operations import DeletedWebAppsOperations as OperationClass elif api_version == '2022-03-01': from ..v2022_03_01.aio.operations import DeletedWebAppsOperations as OperationClass else: @@ -479,7 +448,6 @@ def diagnostics(self): * 2020-12-01: :class:`DiagnosticsOperations` * 2021-01-01: :class:`DiagnosticsOperations` * 2021-01-15: :class:`DiagnosticsOperations` - * 2021-03-01: :class:`DiagnosticsOperations` * 2022-03-01: :class:`DiagnosticsOperations` """ api_version = self._get_api_version('diagnostics') @@ -499,8 +467,6 @@ def diagnostics(self): from ..v2021_01_01.aio.operations import DiagnosticsOperations as OperationClass elif api_version == '2021-01-15': from ..v2021_01_15.aio.operations import DiagnosticsOperations as OperationClass - elif api_version == '2021-03-01': - from ..v2021_03_01.aio.operations import DiagnosticsOperations as OperationClass elif api_version == '2022-03-01': from ..v2022_03_01.aio.operations import DiagnosticsOperations as OperationClass else: @@ -519,7 +485,6 @@ def domain_registration_provider(self): * 2020-12-01: :class:`DomainRegistrationProviderOperations` * 2021-01-01: :class:`DomainRegistrationProviderOperations` * 2021-01-15: :class:`DomainRegistrationProviderOperations` - * 2021-03-01: :class:`DomainRegistrationProviderOperations` * 2022-03-01: :class:`DomainRegistrationProviderOperations` """ api_version = self._get_api_version('domain_registration_provider') @@ -539,8 +504,6 @@ def domain_registration_provider(self): from ..v2021_01_01.aio.operations import DomainRegistrationProviderOperations as OperationClass elif api_version == '2021-01-15': from ..v2021_01_15.aio.operations import DomainRegistrationProviderOperations as OperationClass - elif api_version == '2021-03-01': - from ..v2021_03_01.aio.operations import DomainRegistrationProviderOperations as OperationClass elif api_version == '2022-03-01': from ..v2022_03_01.aio.operations import DomainRegistrationProviderOperations as OperationClass else: @@ -559,7 +522,6 @@ def domains(self): * 2020-12-01: :class:`DomainsOperations` * 2021-01-01: :class:`DomainsOperations` * 2021-01-15: :class:`DomainsOperations` - * 2021-03-01: :class:`DomainsOperations` * 2022-03-01: :class:`DomainsOperations` """ api_version = self._get_api_version('domains') @@ -579,8 +541,6 @@ def domains(self): from ..v2021_01_01.aio.operations import DomainsOperations as OperationClass elif api_version == '2021-01-15': from ..v2021_01_15.aio.operations import DomainsOperations as OperationClass - elif api_version == '2021-03-01': - from ..v2021_03_01.aio.operations import DomainsOperations as OperationClass elif api_version == '2022-03-01': from ..v2022_03_01.aio.operations import DomainsOperations as OperationClass else: @@ -594,7 +554,6 @@ def global_operations(self): * 2020-12-01: :class:`GlobalOperations` * 2021-01-01: :class:`GlobalOperations` * 2021-01-15: :class:`GlobalOperations` - * 2021-03-01: :class:`GlobalOperations` * 2022-03-01: :class:`GlobalOperations` """ api_version = self._get_api_version('global_operations') @@ -604,8 +563,6 @@ def global_operations(self): from ..v2021_01_01.aio.operations import GlobalOperations as OperationClass elif api_version == '2021-01-15': from ..v2021_01_15.aio.operations import GlobalOperations as OperationClass - elif api_version == '2021-03-01': - from ..v2021_03_01.aio.operations import GlobalOperations as OperationClass elif api_version == '2022-03-01': from ..v2022_03_01.aio.operations import GlobalOperations as OperationClass else: @@ -618,7 +575,6 @@ def kube_environments(self): * 2021-01-01: :class:`KubeEnvironmentsOperations` * 2021-01-15: :class:`KubeEnvironmentsOperations` - * 2021-03-01: :class:`KubeEnvironmentsOperations` * 2022-03-01: :class:`KubeEnvironmentsOperations` """ api_version = self._get_api_version('kube_environments') @@ -626,8 +582,6 @@ def kube_environments(self): from ..v2021_01_01.aio.operations import KubeEnvironmentsOperations as OperationClass elif api_version == '2021-01-15': from ..v2021_01_15.aio.operations import KubeEnvironmentsOperations as OperationClass - elif api_version == '2021-03-01': - from ..v2021_03_01.aio.operations import KubeEnvironmentsOperations as OperationClass elif api_version == '2022-03-01': from ..v2022_03_01.aio.operations import KubeEnvironmentsOperations as OperationClass else: @@ -646,7 +600,6 @@ def provider(self): * 2020-12-01: :class:`ProviderOperations` * 2021-01-01: :class:`ProviderOperations` * 2021-01-15: :class:`ProviderOperations` - * 2021-03-01: :class:`ProviderOperations` * 2022-03-01: :class:`ProviderOperations` """ api_version = self._get_api_version('provider') @@ -666,8 +619,6 @@ def provider(self): from ..v2021_01_01.aio.operations import ProviderOperations as OperationClass elif api_version == '2021-01-15': from ..v2021_01_15.aio.operations import ProviderOperations as OperationClass - elif api_version == '2021-03-01': - from ..v2021_03_01.aio.operations import ProviderOperations as OperationClass elif api_version == '2022-03-01': from ..v2022_03_01.aio.operations import ProviderOperations as OperationClass else: @@ -686,7 +637,6 @@ def recommendations(self): * 2020-12-01: :class:`RecommendationsOperations` * 2021-01-01: :class:`RecommendationsOperations` * 2021-01-15: :class:`RecommendationsOperations` - * 2021-03-01: :class:`RecommendationsOperations` * 2022-03-01: :class:`RecommendationsOperations` """ api_version = self._get_api_version('recommendations') @@ -706,8 +656,6 @@ def recommendations(self): from ..v2021_01_01.aio.operations import RecommendationsOperations as OperationClass elif api_version == '2021-01-15': from ..v2021_01_15.aio.operations import RecommendationsOperations as OperationClass - elif api_version == '2021-03-01': - from ..v2021_03_01.aio.operations import RecommendationsOperations as OperationClass elif api_version == '2022-03-01': from ..v2022_03_01.aio.operations import RecommendationsOperations as OperationClass else: @@ -726,7 +674,6 @@ def resource_health_metadata(self): * 2020-12-01: :class:`ResourceHealthMetadataOperations` * 2021-01-01: :class:`ResourceHealthMetadataOperations` * 2021-01-15: :class:`ResourceHealthMetadataOperations` - * 2021-03-01: :class:`ResourceHealthMetadataOperations` * 2022-03-01: :class:`ResourceHealthMetadataOperations` """ api_version = self._get_api_version('resource_health_metadata') @@ -746,8 +693,6 @@ def resource_health_metadata(self): from ..v2021_01_01.aio.operations import ResourceHealthMetadataOperations as OperationClass elif api_version == '2021-01-15': from ..v2021_01_15.aio.operations import ResourceHealthMetadataOperations as OperationClass - elif api_version == '2021-03-01': - from ..v2021_03_01.aio.operations import ResourceHealthMetadataOperations as OperationClass elif api_version == '2022-03-01': from ..v2022_03_01.aio.operations import ResourceHealthMetadataOperations as OperationClass else: @@ -764,7 +709,6 @@ def static_sites(self): * 2020-12-01: :class:`StaticSitesOperations` * 2021-01-01: :class:`StaticSitesOperations` * 2021-01-15: :class:`StaticSitesOperations` - * 2021-03-01: :class:`StaticSitesOperations` * 2022-03-01: :class:`StaticSitesOperations` """ api_version = self._get_api_version('static_sites') @@ -780,8 +724,6 @@ def static_sites(self): from ..v2021_01_01.aio.operations import StaticSitesOperations as OperationClass elif api_version == '2021-01-15': from ..v2021_01_15.aio.operations import StaticSitesOperations as OperationClass - elif api_version == '2021-03-01': - from ..v2021_03_01.aio.operations import StaticSitesOperations as OperationClass elif api_version == '2022-03-01': from ..v2022_03_01.aio.operations import StaticSitesOperations as OperationClass else: @@ -800,7 +742,6 @@ def top_level_domains(self): * 2020-12-01: :class:`TopLevelDomainsOperations` * 2021-01-01: :class:`TopLevelDomainsOperations` * 2021-01-15: :class:`TopLevelDomainsOperations` - * 2021-03-01: :class:`TopLevelDomainsOperations` * 2022-03-01: :class:`TopLevelDomainsOperations` """ api_version = self._get_api_version('top_level_domains') @@ -820,8 +761,6 @@ def top_level_domains(self): from ..v2021_01_01.aio.operations import TopLevelDomainsOperations as OperationClass elif api_version == '2021-01-15': from ..v2021_01_15.aio.operations import TopLevelDomainsOperations as OperationClass - elif api_version == '2021-03-01': - from ..v2021_03_01.aio.operations import TopLevelDomainsOperations as OperationClass elif api_version == '2022-03-01': from ..v2022_03_01.aio.operations import TopLevelDomainsOperations as OperationClass else: @@ -840,7 +779,6 @@ def web_apps(self): * 2020-12-01: :class:`WebAppsOperations` * 2021-01-01: :class:`WebAppsOperations` * 2021-01-15: :class:`WebAppsOperations` - * 2021-03-01: :class:`WebAppsOperations` * 2022-03-01: :class:`WebAppsOperations` """ api_version = self._get_api_version('web_apps') @@ -860,8 +798,6 @@ def web_apps(self): from ..v2021_01_01.aio.operations import WebAppsOperations as OperationClass elif api_version == '2021-01-15': from ..v2021_01_15.aio.operations import WebAppsOperations as OperationClass - elif api_version == '2021-03-01': - from ..v2021_03_01.aio.operations import WebAppsOperations as OperationClass elif api_version == '2022-03-01': from ..v2022_03_01.aio.operations import WebAppsOperations as OperationClass else: diff --git a/sdk/appservice/azure-mgmt-web/azure/mgmt/web/v2015_04_01/_version.py b/sdk/appservice/azure-mgmt-web/azure/mgmt/web/v2015_04_01/_version.py index 364f3c906cf92..5c14e0d8303de 100644 --- a/sdk/appservice/azure-mgmt-web/azure/mgmt/web/v2015_04_01/_version.py +++ b/sdk/appservice/azure-mgmt-web/azure/mgmt/web/v2015_04_01/_version.py @@ -6,4 +6,4 @@ # Changes may cause incorrect behavior and will be lost if the code is regenerated. # -------------------------------------------------------------------------- -VERSION = "7.0.0" +VERSION = "0.42.0" diff --git a/sdk/appservice/azure-mgmt-web/azure/mgmt/web/v2015_08_01/_version.py b/sdk/appservice/azure-mgmt-web/azure/mgmt/web/v2015_08_01/_version.py index 364f3c906cf92..5c14e0d8303de 100644 --- a/sdk/appservice/azure-mgmt-web/azure/mgmt/web/v2015_08_01/_version.py +++ b/sdk/appservice/azure-mgmt-web/azure/mgmt/web/v2015_08_01/_version.py @@ -6,4 +6,4 @@ # Changes may cause incorrect behavior and will be lost if the code is regenerated. # -------------------------------------------------------------------------- -VERSION = "7.0.0" +VERSION = "0.42.0" diff --git a/sdk/appservice/azure-mgmt-web/azure/mgmt/web/v2016_03_01/_version.py b/sdk/appservice/azure-mgmt-web/azure/mgmt/web/v2016_03_01/_version.py index 364f3c906cf92..5c14e0d8303de 100644 --- a/sdk/appservice/azure-mgmt-web/azure/mgmt/web/v2016_03_01/_version.py +++ b/sdk/appservice/azure-mgmt-web/azure/mgmt/web/v2016_03_01/_version.py @@ -6,4 +6,4 @@ # Changes may cause incorrect behavior and will be lost if the code is regenerated. # -------------------------------------------------------------------------- -VERSION = "7.0.0" +VERSION = "0.42.0" diff --git a/sdk/appservice/azure-mgmt-web/azure/mgmt/web/v2016_08_01/_version.py b/sdk/appservice/azure-mgmt-web/azure/mgmt/web/v2016_08_01/_version.py index 364f3c906cf92..5c14e0d8303de 100644 --- a/sdk/appservice/azure-mgmt-web/azure/mgmt/web/v2016_08_01/_version.py +++ b/sdk/appservice/azure-mgmt-web/azure/mgmt/web/v2016_08_01/_version.py @@ -6,4 +6,4 @@ # Changes may cause incorrect behavior and will be lost if the code is regenerated. # -------------------------------------------------------------------------- -VERSION = "7.0.0" +VERSION = "0.42.0" diff --git a/sdk/appservice/azure-mgmt-web/azure/mgmt/web/v2016_09_01/_version.py b/sdk/appservice/azure-mgmt-web/azure/mgmt/web/v2016_09_01/_version.py index 364f3c906cf92..5c14e0d8303de 100644 --- a/sdk/appservice/azure-mgmt-web/azure/mgmt/web/v2016_09_01/_version.py +++ b/sdk/appservice/azure-mgmt-web/azure/mgmt/web/v2016_09_01/_version.py @@ -6,4 +6,4 @@ # Changes may cause incorrect behavior and will be lost if the code is regenerated. # -------------------------------------------------------------------------- -VERSION = "7.0.0" +VERSION = "0.42.0" diff --git a/sdk/appservice/azure-mgmt-web/azure/mgmt/web/v2018_02_01/_version.py b/sdk/appservice/azure-mgmt-web/azure/mgmt/web/v2018_02_01/_version.py index 364f3c906cf92..5c14e0d8303de 100644 --- a/sdk/appservice/azure-mgmt-web/azure/mgmt/web/v2018_02_01/_version.py +++ b/sdk/appservice/azure-mgmt-web/azure/mgmt/web/v2018_02_01/_version.py @@ -6,4 +6,4 @@ # Changes may cause incorrect behavior and will be lost if the code is regenerated. # -------------------------------------------------------------------------- -VERSION = "7.0.0" +VERSION = "0.42.0" diff --git a/sdk/appservice/azure-mgmt-web/azure/mgmt/web/v2018_11_01/_version.py b/sdk/appservice/azure-mgmt-web/azure/mgmt/web/v2018_11_01/_version.py index 364f3c906cf92..5c14e0d8303de 100644 --- a/sdk/appservice/azure-mgmt-web/azure/mgmt/web/v2018_11_01/_version.py +++ b/sdk/appservice/azure-mgmt-web/azure/mgmt/web/v2018_11_01/_version.py @@ -6,4 +6,4 @@ # Changes may cause incorrect behavior and will be lost if the code is regenerated. # -------------------------------------------------------------------------- -VERSION = "7.0.0" +VERSION = "0.42.0" diff --git a/sdk/appservice/azure-mgmt-web/azure/mgmt/web/v2019_08_01/_version.py b/sdk/appservice/azure-mgmt-web/azure/mgmt/web/v2019_08_01/_version.py index 364f3c906cf92..5c14e0d8303de 100644 --- a/sdk/appservice/azure-mgmt-web/azure/mgmt/web/v2019_08_01/_version.py +++ b/sdk/appservice/azure-mgmt-web/azure/mgmt/web/v2019_08_01/_version.py @@ -6,4 +6,4 @@ # Changes may cause incorrect behavior and will be lost if the code is regenerated. # -------------------------------------------------------------------------- -VERSION = "7.0.0" +VERSION = "0.42.0" diff --git a/sdk/appservice/azure-mgmt-web/azure/mgmt/web/v2020_06_01/_version.py b/sdk/appservice/azure-mgmt-web/azure/mgmt/web/v2020_06_01/_version.py index 364f3c906cf92..5c14e0d8303de 100644 --- a/sdk/appservice/azure-mgmt-web/azure/mgmt/web/v2020_06_01/_version.py +++ b/sdk/appservice/azure-mgmt-web/azure/mgmt/web/v2020_06_01/_version.py @@ -6,4 +6,4 @@ # Changes may cause incorrect behavior and will be lost if the code is regenerated. # -------------------------------------------------------------------------- -VERSION = "7.0.0" +VERSION = "0.42.0" diff --git a/sdk/appservice/azure-mgmt-web/azure/mgmt/web/v2020_09_01/_version.py b/sdk/appservice/azure-mgmt-web/azure/mgmt/web/v2020_09_01/_version.py index 364f3c906cf92..5c14e0d8303de 100644 --- a/sdk/appservice/azure-mgmt-web/azure/mgmt/web/v2020_09_01/_version.py +++ b/sdk/appservice/azure-mgmt-web/azure/mgmt/web/v2020_09_01/_version.py @@ -6,4 +6,4 @@ # Changes may cause incorrect behavior and will be lost if the code is regenerated. # -------------------------------------------------------------------------- -VERSION = "7.0.0" +VERSION = "0.42.0" diff --git a/sdk/appservice/azure-mgmt-web/azure/mgmt/web/v2020_12_01/_version.py b/sdk/appservice/azure-mgmt-web/azure/mgmt/web/v2020_12_01/_version.py index 364f3c906cf92..5c14e0d8303de 100644 --- a/sdk/appservice/azure-mgmt-web/azure/mgmt/web/v2020_12_01/_version.py +++ b/sdk/appservice/azure-mgmt-web/azure/mgmt/web/v2020_12_01/_version.py @@ -6,4 +6,4 @@ # Changes may cause incorrect behavior and will be lost if the code is regenerated. # -------------------------------------------------------------------------- -VERSION = "7.0.0" +VERSION = "0.42.0" diff --git a/sdk/appservice/azure-mgmt-web/azure/mgmt/web/v2021_01_01/_version.py b/sdk/appservice/azure-mgmt-web/azure/mgmt/web/v2021_01_01/_version.py index 364f3c906cf92..5c14e0d8303de 100644 --- a/sdk/appservice/azure-mgmt-web/azure/mgmt/web/v2021_01_01/_version.py +++ b/sdk/appservice/azure-mgmt-web/azure/mgmt/web/v2021_01_01/_version.py @@ -6,4 +6,4 @@ # Changes may cause incorrect behavior and will be lost if the code is regenerated. # -------------------------------------------------------------------------- -VERSION = "7.0.0" +VERSION = "0.42.0" diff --git a/sdk/appservice/azure-mgmt-web/azure/mgmt/web/v2021_01_15/_version.py b/sdk/appservice/azure-mgmt-web/azure/mgmt/web/v2021_01_15/_version.py index 364f3c906cf92..5c14e0d8303de 100644 --- a/sdk/appservice/azure-mgmt-web/azure/mgmt/web/v2021_01_15/_version.py +++ b/sdk/appservice/azure-mgmt-web/azure/mgmt/web/v2021_01_15/_version.py @@ -6,4 +6,4 @@ # Changes may cause incorrect behavior and will be lost if the code is regenerated. # -------------------------------------------------------------------------- -VERSION = "7.0.0" +VERSION = "0.42.0" diff --git a/sdk/appservice/azure-mgmt-web/azure/mgmt/web/v2022_03_01/_version.py b/sdk/appservice/azure-mgmt-web/azure/mgmt/web/v2022_03_01/_version.py index 364f3c906cf92..5c14e0d8303de 100644 --- a/sdk/appservice/azure-mgmt-web/azure/mgmt/web/v2022_03_01/_version.py +++ b/sdk/appservice/azure-mgmt-web/azure/mgmt/web/v2022_03_01/_version.py @@ -6,4 +6,4 @@ # Changes may cause incorrect behavior and will be lost if the code is regenerated. # -------------------------------------------------------------------------- -VERSION = "7.0.0" +VERSION = "0.42.0"