diff --git a/sdk/appservice/azure-mgmt-web/_meta.json b/sdk/appservice/azure-mgmt-web/_meta.json index 382148367bff..3e126fcc9e92 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": "a5a62b704c7336371ea6fd5789bdc21618dc621e", "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 f97433e2e641..213342a4790b 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 629ea43791aa..18905a5229df 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 7c9f1a05b204..fe118229d53c 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 b54b2cdd81ed..84f3d6b3a268 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 364f3c906cf9..5c14e0d8303d 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 364f3c906cf9..5c14e0d8303d 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/v2015_08_01/models/__init__.py b/sdk/appservice/azure-mgmt-web/azure/mgmt/web/v2015_08_01/models/__init__.py index 1d71c96ca2e3..d5c6400c99ec 100644 --- a/sdk/appservice/azure-mgmt-web/azure/mgmt/web/v2015_08_01/models/__init__.py +++ b/sdk/appservice/azure-mgmt-web/azure/mgmt/web/v2015_08_01/models/__init__.py @@ -34,13 +34,12 @@ from ._web_site_management_client_enums import ( - AppServiceCertificateOrderPatchResourcePropertiesAppServiceCertificateNotRenewableReasonsItem, - AppServiceCertificateOrderPropertiesAppServiceCertificateNotRenewableReasonsItem, CertificateOrderActionType, CertificateOrderStatus, CertificateProductType, KeyVaultSecretStatus, ProvisioningState, + ResourceNotRenewableReason, ) from ._patch import __all__ as _patch_all from ._patch import * # type: ignore # pylint: disable=unused-wildcard-import @@ -71,13 +70,12 @@ 'ServiceSpecification', 'SiteSeal', 'SiteSealRequest', - 'AppServiceCertificateOrderPatchResourcePropertiesAppServiceCertificateNotRenewableReasonsItem', - 'AppServiceCertificateOrderPropertiesAppServiceCertificateNotRenewableReasonsItem', 'CertificateOrderActionType', 'CertificateOrderStatus', 'CertificateProductType', 'KeyVaultSecretStatus', 'ProvisioningState', + 'ResourceNotRenewableReason', ] __all__.extend([p for p in _patch_all if p not in __all__]) _patch_sdk() \ No newline at end of file diff --git a/sdk/appservice/azure-mgmt-web/azure/mgmt/web/v2015_08_01/models/_models_py3.py b/sdk/appservice/azure-mgmt-web/azure/mgmt/web/v2015_08_01/models/_models_py3.py index 6effa1963fe9..812f30beae8e 100644 --- a/sdk/appservice/azure-mgmt-web/azure/mgmt/web/v2015_08_01/models/_models_py3.py +++ b/sdk/appservice/azure-mgmt-web/azure/mgmt/web/v2015_08_01/models/_models_py3.py @@ -223,7 +223,7 @@ class AppServiceCertificateOrder(Resource): :ivar app_service_certificate_not_renewable_reasons: Reasons why App Service Certificate is not renewable at the current moment. :vartype app_service_certificate_not_renewable_reasons: list[str or - ~azure.mgmt.web.v2015_08_01.models.AppServiceCertificateOrderPropertiesAppServiceCertificateNotRenewableReasonsItem] + ~azure.mgmt.web.v2015_08_01.models.ResourceNotRenewableReason] :ivar next_auto_renewal_time_stamp: Time stamp when the certificate would be auto renewed next. :vartype next_auto_renewal_time_stamp: ~datetime.datetime """ @@ -475,7 +475,7 @@ class AppServiceCertificateOrderPatchResource(ProxyOnlyResource): :ivar app_service_certificate_not_renewable_reasons: Reasons why App Service Certificate is not renewable at the current moment. :vartype app_service_certificate_not_renewable_reasons: list[str or - ~azure.mgmt.web.v2015_08_01.models.AppServiceCertificateOrderPatchResourcePropertiesAppServiceCertificateNotRenewableReasonsItem] + ~azure.mgmt.web.v2015_08_01.models.ResourceNotRenewableReason] :ivar next_auto_renewal_time_stamp: Time stamp when the certificate would be auto renewed next. :vartype next_auto_renewal_time_stamp: ~datetime.datetime """ diff --git a/sdk/appservice/azure-mgmt-web/azure/mgmt/web/v2015_08_01/models/_web_site_management_client_enums.py b/sdk/appservice/azure-mgmt-web/azure/mgmt/web/v2015_08_01/models/_web_site_management_client_enums.py index a384f84b79b0..307e90dd044d 100644 --- a/sdk/appservice/azure-mgmt-web/azure/mgmt/web/v2015_08_01/models/_web_site_management_client_enums.py +++ b/sdk/appservice/azure-mgmt-web/azure/mgmt/web/v2015_08_01/models/_web_site_management_client_enums.py @@ -10,18 +10,6 @@ from azure.core import CaseInsensitiveEnumMeta -class AppServiceCertificateOrderPatchResourcePropertiesAppServiceCertificateNotRenewableReasonsItem(str, Enum, metaclass=CaseInsensitiveEnumMeta): - - REGISTRATION_STATUS_NOT_SUPPORTED_FOR_RENEWAL = "RegistrationStatusNotSupportedForRenewal" - EXPIRATION_NOT_IN_RENEWAL_TIME_RANGE = "ExpirationNotInRenewalTimeRange" - SUBSCRIPTION_NOT_ACTIVE = "SubscriptionNotActive" - -class AppServiceCertificateOrderPropertiesAppServiceCertificateNotRenewableReasonsItem(str, Enum, metaclass=CaseInsensitiveEnumMeta): - - REGISTRATION_STATUS_NOT_SUPPORTED_FOR_RENEWAL = "RegistrationStatusNotSupportedForRenewal" - EXPIRATION_NOT_IN_RENEWAL_TIME_RANGE = "ExpirationNotInRenewalTimeRange" - SUBSCRIPTION_NOT_ACTIVE = "SubscriptionNotActive" - class CertificateOrderActionType(str, Enum, metaclass=CaseInsensitiveEnumMeta): """Action type. """ @@ -88,3 +76,9 @@ class ProvisioningState(str, Enum, metaclass=CaseInsensitiveEnumMeta): CANCELED = "Canceled" IN_PROGRESS = "InProgress" DELETING = "Deleting" + +class ResourceNotRenewableReason(str, Enum, metaclass=CaseInsensitiveEnumMeta): + + REGISTRATION_STATUS_NOT_SUPPORTED_FOR_RENEWAL = "RegistrationStatusNotSupportedForRenewal" + EXPIRATION_NOT_IN_RENEWAL_TIME_RANGE = "ExpirationNotInRenewalTimeRange" + SUBSCRIPTION_NOT_ACTIVE = "SubscriptionNotActive" 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 364f3c906cf9..5c14e0d8303d 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 364f3c906cf9..5c14e0d8303d 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 364f3c906cf9..5c14e0d8303d 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 364f3c906cf9..5c14e0d8303d 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_02_01/aio/operations/_provider_operations.py b/sdk/appservice/azure-mgmt-web/azure/mgmt/web/v2018_02_01/aio/operations/_provider_operations.py index b495a46e7606..3b99fb251340 100644 --- a/sdk/appservice/azure-mgmt-web/azure/mgmt/web/v2018_02_01/aio/operations/_provider_operations.py +++ b/sdk/appservice/azure-mgmt-web/azure/mgmt/web/v2018_02_01/aio/operations/_provider_operations.py @@ -47,7 +47,7 @@ def __init__(self, *args, **kwargs) -> None: @distributed_trace def get_available_stacks( self, - os_type_selected: Optional[Union[str, "_models.Enum4"]] = None, + os_type_selected: Optional[Union[str, "_models.Enum3"]] = None, **kwargs: Any ) -> AsyncIterable[_models.ApplicationStackCollection]: """Get available application frameworks and their versions. @@ -55,7 +55,7 @@ def get_available_stacks( Get available application frameworks and their versions. :param os_type_selected: Default value is None. - :type os_type_selected: str or ~azure.mgmt.web.v2018_02_01.models.Enum4 + :type os_type_selected: str or ~azure.mgmt.web.v2018_02_01.models.Enum3 :keyword callable cls: A custom type or function that will be passed the direct response :return: An iterator like instance of either ApplicationStackCollection or the result of cls(response) @@ -216,7 +216,7 @@ async def get_next(next_link=None): @distributed_trace def get_available_stacks_on_prem( self, - os_type_selected: Optional[Union[str, "_models.Enum5"]] = None, + os_type_selected: Optional[Union[str, "_models.Enum4"]] = None, **kwargs: Any ) -> AsyncIterable[_models.ApplicationStackCollection]: """Get available application frameworks and their versions. @@ -224,7 +224,7 @@ def get_available_stacks_on_prem( Get available application frameworks and their versions. :param os_type_selected: Default value is None. - :type os_type_selected: str or ~azure.mgmt.web.v2018_02_01.models.Enum5 + :type os_type_selected: str or ~azure.mgmt.web.v2018_02_01.models.Enum4 :keyword callable cls: A custom type or function that will be passed the direct response :return: An iterator like instance of either ApplicationStackCollection or the result of cls(response) diff --git a/sdk/appservice/azure-mgmt-web/azure/mgmt/web/v2018_02_01/models/__init__.py b/sdk/appservice/azure-mgmt-web/azure/mgmt/web/v2018_02_01/models/__init__.py index f9d5fcb7f8a9..8053c7b3d519 100644 --- a/sdk/appservice/azure-mgmt-web/azure/mgmt/web/v2018_02_01/models/__init__.py +++ b/sdk/appservice/azure-mgmt-web/azure/mgmt/web/v2018_02_01/models/__init__.py @@ -294,8 +294,6 @@ from ._web_site_management_client_enums import ( AccessControlEntryAction, - AppServiceCertificateOrderPatchResourcePropertiesAppServiceCertificateNotRenewableReasonsItem, - AppServiceCertificateOrderPropertiesAppServiceCertificateNotRenewableReasonsItem, AppServicePlanRestrictions, AutoHealActionType, AzureResourceType, @@ -321,8 +319,8 @@ DomainPropertiesDomainNotRenewableReasonsItem, DomainStatus, DomainType, + Enum3, Enum4, - Enum5, FrequencyUnit, FtpsState, HostNameType, @@ -346,6 +344,7 @@ PublishingProfileFormat, RedundancyMode, RenderingType, + ResourceNotRenewableReason, ResourceScopeType, RouteType, ScmType, @@ -653,8 +652,6 @@ 'WorkerPoolCollection', 'WorkerPoolResource', 'AccessControlEntryAction', - 'AppServiceCertificateOrderPatchResourcePropertiesAppServiceCertificateNotRenewableReasonsItem', - 'AppServiceCertificateOrderPropertiesAppServiceCertificateNotRenewableReasonsItem', 'AppServicePlanRestrictions', 'AutoHealActionType', 'AzureResourceType', @@ -680,8 +677,8 @@ 'DomainPropertiesDomainNotRenewableReasonsItem', 'DomainStatus', 'DomainType', + 'Enum3', 'Enum4', - 'Enum5', 'FrequencyUnit', 'FtpsState', 'HostNameType', @@ -705,6 +702,7 @@ 'PublishingProfileFormat', 'RedundancyMode', 'RenderingType', + 'ResourceNotRenewableReason', 'ResourceScopeType', 'RouteType', 'ScmType', diff --git a/sdk/appservice/azure-mgmt-web/azure/mgmt/web/v2018_02_01/models/_models_py3.py b/sdk/appservice/azure-mgmt-web/azure/mgmt/web/v2018_02_01/models/_models_py3.py index 95c58656c3da..20fbd6c78541 100644 --- a/sdk/appservice/azure-mgmt-web/azure/mgmt/web/v2018_02_01/models/_models_py3.py +++ b/sdk/appservice/azure-mgmt-web/azure/mgmt/web/v2018_02_01/models/_models_py3.py @@ -691,7 +691,7 @@ class AppServiceCertificateOrder(Resource): :ivar app_service_certificate_not_renewable_reasons: Reasons why App Service Certificate is not renewable at the current moment. :vartype app_service_certificate_not_renewable_reasons: list[str or - ~azure.mgmt.web.v2018_02_01.models.AppServiceCertificateOrderPropertiesAppServiceCertificateNotRenewableReasonsItem] + ~azure.mgmt.web.v2018_02_01.models.ResourceNotRenewableReason] :ivar next_auto_renewal_time_stamp: Time stamp when the certificate would be auto renewed next. :vartype next_auto_renewal_time_stamp: ~datetime.datetime """ @@ -898,7 +898,7 @@ class AppServiceCertificateOrderPatchResource(ProxyOnlyResource): :ivar app_service_certificate_not_renewable_reasons: Reasons why App Service Certificate is not renewable at the current moment. :vartype app_service_certificate_not_renewable_reasons: list[str or - ~azure.mgmt.web.v2018_02_01.models.AppServiceCertificateOrderPatchResourcePropertiesAppServiceCertificateNotRenewableReasonsItem] + ~azure.mgmt.web.v2018_02_01.models.ResourceNotRenewableReason] :ivar next_auto_renewal_time_stamp: Time stamp when the certificate would be auto renewed next. :vartype next_auto_renewal_time_stamp: ~datetime.datetime """ diff --git a/sdk/appservice/azure-mgmt-web/azure/mgmt/web/v2018_02_01/models/_web_site_management_client_enums.py b/sdk/appservice/azure-mgmt-web/azure/mgmt/web/v2018_02_01/models/_web_site_management_client_enums.py index 125e4d4c7c39..a1b4c09e70bd 100644 --- a/sdk/appservice/azure-mgmt-web/azure/mgmt/web/v2018_02_01/models/_web_site_management_client_enums.py +++ b/sdk/appservice/azure-mgmt-web/azure/mgmt/web/v2018_02_01/models/_web_site_management_client_enums.py @@ -17,18 +17,6 @@ class AccessControlEntryAction(str, Enum, metaclass=CaseInsensitiveEnumMeta): PERMIT = "Permit" DENY = "Deny" -class AppServiceCertificateOrderPatchResourcePropertiesAppServiceCertificateNotRenewableReasonsItem(str, Enum, metaclass=CaseInsensitiveEnumMeta): - - REGISTRATION_STATUS_NOT_SUPPORTED_FOR_RENEWAL = "RegistrationStatusNotSupportedForRenewal" - EXPIRATION_NOT_IN_RENEWAL_TIME_RANGE = "ExpirationNotInRenewalTimeRange" - SUBSCRIPTION_NOT_ACTIVE = "SubscriptionNotActive" - -class AppServiceCertificateOrderPropertiesAppServiceCertificateNotRenewableReasonsItem(str, Enum, metaclass=CaseInsensitiveEnumMeta): - - REGISTRATION_STATUS_NOT_SUPPORTED_FOR_RENEWAL = "RegistrationStatusNotSupportedForRenewal" - EXPIRATION_NOT_IN_RENEWAL_TIME_RANGE = "ExpirationNotInRenewalTimeRange" - SUBSCRIPTION_NOT_ACTIVE = "SubscriptionNotActive" - class AppServicePlanRestrictions(str, Enum, metaclass=CaseInsensitiveEnumMeta): """App Service plans this offer is restricted to. """ @@ -291,14 +279,14 @@ class DomainType(str, Enum, metaclass=CaseInsensitiveEnumMeta): REGULAR = "Regular" SOFT_DELETED = "SoftDeleted" -class Enum4(str, Enum, metaclass=CaseInsensitiveEnumMeta): +class Enum3(str, Enum, metaclass=CaseInsensitiveEnumMeta): WINDOWS = "Windows" LINUX = "Linux" WINDOWS_FUNCTIONS = "WindowsFunctions" LINUX_FUNCTIONS = "LinuxFunctions" -class Enum5(str, Enum, metaclass=CaseInsensitiveEnumMeta): +class Enum4(str, Enum, metaclass=CaseInsensitiveEnumMeta): WINDOWS = "Windows" LINUX = "Linux" @@ -516,6 +504,12 @@ class RenderingType(str, Enum, metaclass=CaseInsensitiveEnumMeta): TIME_SERIES = "TimeSeries" TIME_SERIES_PER_INSTANCE = "TimeSeriesPerInstance" +class ResourceNotRenewableReason(str, Enum, metaclass=CaseInsensitiveEnumMeta): + + REGISTRATION_STATUS_NOT_SUPPORTED_FOR_RENEWAL = "RegistrationStatusNotSupportedForRenewal" + EXPIRATION_NOT_IN_RENEWAL_TIME_RANGE = "ExpirationNotInRenewalTimeRange" + SUBSCRIPTION_NOT_ACTIVE = "SubscriptionNotActive" + class ResourceScopeType(str, Enum, metaclass=CaseInsensitiveEnumMeta): """Name of a resource type this recommendation applies, e.g. Subscription, ServerFarm, Site. """ diff --git a/sdk/appservice/azure-mgmt-web/azure/mgmt/web/v2018_02_01/operations/_provider_operations.py b/sdk/appservice/azure-mgmt-web/azure/mgmt/web/v2018_02_01/operations/_provider_operations.py index 59e0ef948aba..17023a42027e 100644 --- a/sdk/appservice/azure-mgmt-web/azure/mgmt/web/v2018_02_01/operations/_provider_operations.py +++ b/sdk/appservice/azure-mgmt-web/azure/mgmt/web/v2018_02_01/operations/_provider_operations.py @@ -29,7 +29,7 @@ def build_get_available_stacks_request( *, - os_type_selected: Optional[Union[str, "_models.Enum4"]] = None, + os_type_selected: Optional[Union[str, "_models.Enum3"]] = None, **kwargs: Any ) -> HttpRequest: _headers = case_insensitive_dict(kwargs.pop("headers", {}) or {}) @@ -88,7 +88,7 @@ def build_list_operations_request( def build_get_available_stacks_on_prem_request( subscription_id: str, *, - os_type_selected: Optional[Union[str, "_models.Enum5"]] = None, + os_type_selected: Optional[Union[str, "_models.Enum4"]] = None, **kwargs: Any ) -> HttpRequest: _headers = case_insensitive_dict(kwargs.pop("headers", {}) or {}) @@ -144,7 +144,7 @@ def __init__(self, *args, **kwargs): @distributed_trace def get_available_stacks( self, - os_type_selected: Optional[Union[str, "_models.Enum4"]] = None, + os_type_selected: Optional[Union[str, "_models.Enum3"]] = None, **kwargs: Any ) -> Iterable[_models.ApplicationStackCollection]: """Get available application frameworks and their versions. @@ -152,7 +152,7 @@ def get_available_stacks( Get available application frameworks and their versions. :param os_type_selected: Default value is None. - :type os_type_selected: str or ~azure.mgmt.web.v2018_02_01.models.Enum4 + :type os_type_selected: str or ~azure.mgmt.web.v2018_02_01.models.Enum3 :keyword callable cls: A custom type or function that will be passed the direct response :return: An iterator like instance of either ApplicationStackCollection or the result of cls(response) @@ -312,7 +312,7 @@ def get_next(next_link=None): @distributed_trace def get_available_stacks_on_prem( self, - os_type_selected: Optional[Union[str, "_models.Enum5"]] = None, + os_type_selected: Optional[Union[str, "_models.Enum4"]] = None, **kwargs: Any ) -> Iterable[_models.ApplicationStackCollection]: """Get available application frameworks and their versions. @@ -320,7 +320,7 @@ def get_available_stacks_on_prem( Get available application frameworks and their versions. :param os_type_selected: Default value is None. - :type os_type_selected: str or ~azure.mgmt.web.v2018_02_01.models.Enum5 + :type os_type_selected: str or ~azure.mgmt.web.v2018_02_01.models.Enum4 :keyword callable cls: A custom type or function that will be passed the direct response :return: An iterator like instance of either ApplicationStackCollection or the result of cls(response) 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 364f3c906cf9..5c14e0d8303d 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 364f3c906cf9..5c14e0d8303d 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/v2019_08_01/aio/operations/_provider_operations.py b/sdk/appservice/azure-mgmt-web/azure/mgmt/web/v2019_08_01/aio/operations/_provider_operations.py index 6b442e1c37e3..a5edf1863928 100644 --- a/sdk/appservice/azure-mgmt-web/azure/mgmt/web/v2019_08_01/aio/operations/_provider_operations.py +++ b/sdk/appservice/azure-mgmt-web/azure/mgmt/web/v2019_08_01/aio/operations/_provider_operations.py @@ -47,7 +47,7 @@ def __init__(self, *args, **kwargs) -> None: @distributed_trace def get_available_stacks( self, - os_type_selected: Optional[Union[str, "_models.Enum4"]] = None, + os_type_selected: Optional[Union[str, "_models.Enum3"]] = None, **kwargs: Any ) -> AsyncIterable[_models.ApplicationStackCollection]: """Get available application frameworks and their versions. @@ -55,7 +55,7 @@ def get_available_stacks( Get available application frameworks and their versions. :param os_type_selected: Default value is None. - :type os_type_selected: str or ~azure.mgmt.web.v2019_08_01.models.Enum4 + :type os_type_selected: str or ~azure.mgmt.web.v2019_08_01.models.Enum3 :keyword callable cls: A custom type or function that will be passed the direct response :return: An iterator like instance of either ApplicationStackCollection or the result of cls(response) @@ -216,7 +216,7 @@ async def get_next(next_link=None): @distributed_trace def get_available_stacks_on_prem( self, - os_type_selected: Optional[Union[str, "_models.Enum5"]] = None, + os_type_selected: Optional[Union[str, "_models.Enum4"]] = None, **kwargs: Any ) -> AsyncIterable[_models.ApplicationStackCollection]: """Get available application frameworks and their versions. @@ -224,7 +224,7 @@ def get_available_stacks_on_prem( Get available application frameworks and their versions. :param os_type_selected: Default value is None. - :type os_type_selected: str or ~azure.mgmt.web.v2019_08_01.models.Enum5 + :type os_type_selected: str or ~azure.mgmt.web.v2019_08_01.models.Enum4 :keyword callable cls: A custom type or function that will be passed the direct response :return: An iterator like instance of either ApplicationStackCollection or the result of cls(response) diff --git a/sdk/appservice/azure-mgmt-web/azure/mgmt/web/v2019_08_01/models/__init__.py b/sdk/appservice/azure-mgmt-web/azure/mgmt/web/v2019_08_01/models/__init__.py index 1e022bd18349..78b52265e9a4 100644 --- a/sdk/appservice/azure-mgmt-web/azure/mgmt/web/v2019_08_01/models/__init__.py +++ b/sdk/appservice/azure-mgmt-web/azure/mgmt/web/v2019_08_01/models/__init__.py @@ -322,8 +322,6 @@ from ._web_site_management_client_enums import ( AccessControlEntryAction, - AppServiceCertificateOrderPatchResourcePropertiesAppServiceCertificateNotRenewableReasonsItem, - AppServiceCertificateOrderPropertiesAppServiceCertificateNotRenewableReasonsItem, AppServicePlanRestrictions, AutoHealActionType, AzureResourceType, @@ -350,8 +348,8 @@ DomainPropertiesDomainNotRenewableReasonsItem, DomainStatus, DomainType, + Enum3, Enum4, - Enum5, FrequencyUnit, FtpsState, HostNameType, @@ -376,6 +374,7 @@ RedundancyMode, RenderingType, ResolveStatus, + ResourceNotRenewableReason, ResourceScopeType, RouteType, ScmType, @@ -713,8 +712,6 @@ 'WorkerPoolCollection', 'WorkerPoolResource', 'AccessControlEntryAction', - 'AppServiceCertificateOrderPatchResourcePropertiesAppServiceCertificateNotRenewableReasonsItem', - 'AppServiceCertificateOrderPropertiesAppServiceCertificateNotRenewableReasonsItem', 'AppServicePlanRestrictions', 'AutoHealActionType', 'AzureResourceType', @@ -741,8 +738,8 @@ 'DomainPropertiesDomainNotRenewableReasonsItem', 'DomainStatus', 'DomainType', + 'Enum3', 'Enum4', - 'Enum5', 'FrequencyUnit', 'FtpsState', 'HostNameType', @@ -767,6 +764,7 @@ 'RedundancyMode', 'RenderingType', 'ResolveStatus', + 'ResourceNotRenewableReason', 'ResourceScopeType', 'RouteType', 'ScmType', diff --git a/sdk/appservice/azure-mgmt-web/azure/mgmt/web/v2019_08_01/models/_models_py3.py b/sdk/appservice/azure-mgmt-web/azure/mgmt/web/v2019_08_01/models/_models_py3.py index 35a3b6c956d6..a639e5a95520 100644 --- a/sdk/appservice/azure-mgmt-web/azure/mgmt/web/v2019_08_01/models/_models_py3.py +++ b/sdk/appservice/azure-mgmt-web/azure/mgmt/web/v2019_08_01/models/_models_py3.py @@ -906,7 +906,7 @@ class AppServiceCertificateOrder(Resource): :ivar app_service_certificate_not_renewable_reasons: Reasons why App Service Certificate is not renewable at the current moment. :vartype app_service_certificate_not_renewable_reasons: list[str or - ~azure.mgmt.web.v2019_08_01.models.AppServiceCertificateOrderPropertiesAppServiceCertificateNotRenewableReasonsItem] + ~azure.mgmt.web.v2019_08_01.models.ResourceNotRenewableReason] :ivar next_auto_renewal_time_stamp: Time stamp when the certificate would be auto renewed next. :vartype next_auto_renewal_time_stamp: ~datetime.datetime """ @@ -1113,7 +1113,7 @@ class AppServiceCertificateOrderPatchResource(ProxyOnlyResource): :ivar app_service_certificate_not_renewable_reasons: Reasons why App Service Certificate is not renewable at the current moment. :vartype app_service_certificate_not_renewable_reasons: list[str or - ~azure.mgmt.web.v2019_08_01.models.AppServiceCertificateOrderPatchResourcePropertiesAppServiceCertificateNotRenewableReasonsItem] + ~azure.mgmt.web.v2019_08_01.models.ResourceNotRenewableReason] :ivar next_auto_renewal_time_stamp: Time stamp when the certificate would be auto renewed next. :vartype next_auto_renewal_time_stamp: ~datetime.datetime """ diff --git a/sdk/appservice/azure-mgmt-web/azure/mgmt/web/v2019_08_01/models/_web_site_management_client_enums.py b/sdk/appservice/azure-mgmt-web/azure/mgmt/web/v2019_08_01/models/_web_site_management_client_enums.py index 0d5b78e00211..2ab2736e6a57 100644 --- a/sdk/appservice/azure-mgmt-web/azure/mgmt/web/v2019_08_01/models/_web_site_management_client_enums.py +++ b/sdk/appservice/azure-mgmt-web/azure/mgmt/web/v2019_08_01/models/_web_site_management_client_enums.py @@ -17,18 +17,6 @@ class AccessControlEntryAction(str, Enum, metaclass=CaseInsensitiveEnumMeta): PERMIT = "Permit" DENY = "Deny" -class AppServiceCertificateOrderPatchResourcePropertiesAppServiceCertificateNotRenewableReasonsItem(str, Enum, metaclass=CaseInsensitiveEnumMeta): - - REGISTRATION_STATUS_NOT_SUPPORTED_FOR_RENEWAL = "RegistrationStatusNotSupportedForRenewal" - EXPIRATION_NOT_IN_RENEWAL_TIME_RANGE = "ExpirationNotInRenewalTimeRange" - SUBSCRIPTION_NOT_ACTIVE = "SubscriptionNotActive" - -class AppServiceCertificateOrderPropertiesAppServiceCertificateNotRenewableReasonsItem(str, Enum, metaclass=CaseInsensitiveEnumMeta): - - REGISTRATION_STATUS_NOT_SUPPORTED_FOR_RENEWAL = "RegistrationStatusNotSupportedForRenewal" - EXPIRATION_NOT_IN_RENEWAL_TIME_RANGE = "ExpirationNotInRenewalTimeRange" - SUBSCRIPTION_NOT_ACTIVE = "SubscriptionNotActive" - class AppServicePlanRestrictions(str, Enum, metaclass=CaseInsensitiveEnumMeta): """App Service plans this offer is restricted to. """ @@ -303,14 +291,14 @@ class DomainType(str, Enum, metaclass=CaseInsensitiveEnumMeta): REGULAR = "Regular" SOFT_DELETED = "SoftDeleted" -class Enum4(str, Enum, metaclass=CaseInsensitiveEnumMeta): +class Enum3(str, Enum, metaclass=CaseInsensitiveEnumMeta): WINDOWS = "Windows" LINUX = "Linux" WINDOWS_FUNCTIONS = "WindowsFunctions" LINUX_FUNCTIONS = "LinuxFunctions" -class Enum5(str, Enum, metaclass=CaseInsensitiveEnumMeta): +class Enum4(str, Enum, metaclass=CaseInsensitiveEnumMeta): WINDOWS = "Windows" LINUX = "Linux" @@ -540,6 +528,12 @@ class ResolveStatus(str, Enum, metaclass=CaseInsensitiveEnumMeta): ACCESS_TO_KEY_VAULT_DENIED = "AccessToKeyVaultDenied" OTHER_REASONS = "OtherReasons" +class ResourceNotRenewableReason(str, Enum, metaclass=CaseInsensitiveEnumMeta): + + REGISTRATION_STATUS_NOT_SUPPORTED_FOR_RENEWAL = "RegistrationStatusNotSupportedForRenewal" + EXPIRATION_NOT_IN_RENEWAL_TIME_RANGE = "ExpirationNotInRenewalTimeRange" + SUBSCRIPTION_NOT_ACTIVE = "SubscriptionNotActive" + class ResourceScopeType(str, Enum, metaclass=CaseInsensitiveEnumMeta): """Name of a resource type this recommendation applies, e.g. Subscription, ServerFarm, Site. """ diff --git a/sdk/appservice/azure-mgmt-web/azure/mgmt/web/v2019_08_01/operations/_provider_operations.py b/sdk/appservice/azure-mgmt-web/azure/mgmt/web/v2019_08_01/operations/_provider_operations.py index 91a7d62fe1d3..2e94db3aeff2 100644 --- a/sdk/appservice/azure-mgmt-web/azure/mgmt/web/v2019_08_01/operations/_provider_operations.py +++ b/sdk/appservice/azure-mgmt-web/azure/mgmt/web/v2019_08_01/operations/_provider_operations.py @@ -29,7 +29,7 @@ def build_get_available_stacks_request( *, - os_type_selected: Optional[Union[str, "_models.Enum4"]] = None, + os_type_selected: Optional[Union[str, "_models.Enum3"]] = None, **kwargs: Any ) -> HttpRequest: _headers = case_insensitive_dict(kwargs.pop("headers", {}) or {}) @@ -88,7 +88,7 @@ def build_list_operations_request( def build_get_available_stacks_on_prem_request( subscription_id: str, *, - os_type_selected: Optional[Union[str, "_models.Enum5"]] = None, + os_type_selected: Optional[Union[str, "_models.Enum4"]] = None, **kwargs: Any ) -> HttpRequest: _headers = case_insensitive_dict(kwargs.pop("headers", {}) or {}) @@ -144,7 +144,7 @@ def __init__(self, *args, **kwargs): @distributed_trace def get_available_stacks( self, - os_type_selected: Optional[Union[str, "_models.Enum4"]] = None, + os_type_selected: Optional[Union[str, "_models.Enum3"]] = None, **kwargs: Any ) -> Iterable[_models.ApplicationStackCollection]: """Get available application frameworks and their versions. @@ -152,7 +152,7 @@ def get_available_stacks( Get available application frameworks and their versions. :param os_type_selected: Default value is None. - :type os_type_selected: str or ~azure.mgmt.web.v2019_08_01.models.Enum4 + :type os_type_selected: str or ~azure.mgmt.web.v2019_08_01.models.Enum3 :keyword callable cls: A custom type or function that will be passed the direct response :return: An iterator like instance of either ApplicationStackCollection or the result of cls(response) @@ -312,7 +312,7 @@ def get_next(next_link=None): @distributed_trace def get_available_stacks_on_prem( self, - os_type_selected: Optional[Union[str, "_models.Enum5"]] = None, + os_type_selected: Optional[Union[str, "_models.Enum4"]] = None, **kwargs: Any ) -> Iterable[_models.ApplicationStackCollection]: """Get available application frameworks and their versions. @@ -320,7 +320,7 @@ def get_available_stacks_on_prem( Get available application frameworks and their versions. :param os_type_selected: Default value is None. - :type os_type_selected: str or ~azure.mgmt.web.v2019_08_01.models.Enum5 + :type os_type_selected: str or ~azure.mgmt.web.v2019_08_01.models.Enum4 :keyword callable cls: A custom type or function that will be passed the direct response :return: An iterator like instance of either ApplicationStackCollection or the result of cls(response) 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 364f3c906cf9..5c14e0d8303d 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_06_01/aio/operations/_provider_operations.py b/sdk/appservice/azure-mgmt-web/azure/mgmt/web/v2020_06_01/aio/operations/_provider_operations.py index 5ebafcb9c74d..9951df981cd9 100644 --- a/sdk/appservice/azure-mgmt-web/azure/mgmt/web/v2020_06_01/aio/operations/_provider_operations.py +++ b/sdk/appservice/azure-mgmt-web/azure/mgmt/web/v2020_06_01/aio/operations/_provider_operations.py @@ -47,7 +47,7 @@ def __init__(self, *args, **kwargs) -> None: @distributed_trace def get_available_stacks( self, - os_type_selected: Optional[Union[str, "_models.Enum4"]] = None, + os_type_selected: Optional[Union[str, "_models.Enum3"]] = None, **kwargs: Any ) -> AsyncIterable[_models.ApplicationStackCollection]: """Get available application frameworks and their versions. @@ -55,7 +55,7 @@ def get_available_stacks( Get available application frameworks and their versions. :param os_type_selected: Default value is None. - :type os_type_selected: str or ~azure.mgmt.web.v2020_06_01.models.Enum4 + :type os_type_selected: str or ~azure.mgmt.web.v2020_06_01.models.Enum3 :keyword callable cls: A custom type or function that will be passed the direct response :return: An iterator like instance of either ApplicationStackCollection or the result of cls(response) @@ -216,7 +216,7 @@ async def get_next(next_link=None): @distributed_trace def get_available_stacks_on_prem( self, - os_type_selected: Optional[Union[str, "_models.Enum5"]] = None, + os_type_selected: Optional[Union[str, "_models.Enum4"]] = None, **kwargs: Any ) -> AsyncIterable[_models.ApplicationStackCollection]: """Get available application frameworks and their versions. @@ -224,7 +224,7 @@ def get_available_stacks_on_prem( Get available application frameworks and their versions. :param os_type_selected: Default value is None. - :type os_type_selected: str or ~azure.mgmt.web.v2020_06_01.models.Enum5 + :type os_type_selected: str or ~azure.mgmt.web.v2020_06_01.models.Enum4 :keyword callable cls: A custom type or function that will be passed the direct response :return: An iterator like instance of either ApplicationStackCollection or the result of cls(response) diff --git a/sdk/appservice/azure-mgmt-web/azure/mgmt/web/v2020_06_01/models/__init__.py b/sdk/appservice/azure-mgmt-web/azure/mgmt/web/v2020_06_01/models/__init__.py index d06aa45756f9..71d9ce03104f 100644 --- a/sdk/appservice/azure-mgmt-web/azure/mgmt/web/v2020_06_01/models/__init__.py +++ b/sdk/appservice/azure-mgmt-web/azure/mgmt/web/v2020_06_01/models/__init__.py @@ -353,8 +353,6 @@ from ._web_site_management_client_enums import ( AccessControlEntryAction, - AppServiceCertificateOrderPatchResourcePropertiesAppServiceCertificateNotRenewableReasonsItem, - AppServiceCertificateOrderPropertiesAppServiceCertificateNotRenewableReasonsItem, AppServicePlanRestrictions, AutoHealActionType, AzureResourceType, @@ -383,8 +381,8 @@ DomainPropertiesDomainNotRenewableReasonsItem, DomainStatus, DomainType, + Enum3, Enum4, - Enum5, ForwardProxyConvention, FrequencyUnit, FtpsState, @@ -409,6 +407,7 @@ PublishingProfileFormat, RedundancyMode, RenderingType, + ResourceNotRenewableReason, ResourceScopeType, RouteType, ScmType, @@ -778,8 +777,6 @@ 'WorkerPoolCollection', 'WorkerPoolResource', 'AccessControlEntryAction', - 'AppServiceCertificateOrderPatchResourcePropertiesAppServiceCertificateNotRenewableReasonsItem', - 'AppServiceCertificateOrderPropertiesAppServiceCertificateNotRenewableReasonsItem', 'AppServicePlanRestrictions', 'AutoHealActionType', 'AzureResourceType', @@ -808,8 +805,8 @@ 'DomainPropertiesDomainNotRenewableReasonsItem', 'DomainStatus', 'DomainType', + 'Enum3', 'Enum4', - 'Enum5', 'ForwardProxyConvention', 'FrequencyUnit', 'FtpsState', @@ -834,6 +831,7 @@ 'PublishingProfileFormat', 'RedundancyMode', 'RenderingType', + 'ResourceNotRenewableReason', 'ResourceScopeType', 'RouteType', 'ScmType', diff --git a/sdk/appservice/azure-mgmt-web/azure/mgmt/web/v2020_06_01/models/_models_py3.py b/sdk/appservice/azure-mgmt-web/azure/mgmt/web/v2020_06_01/models/_models_py3.py index 09fa1c10acda..1949f42edf27 100644 --- a/sdk/appservice/azure-mgmt-web/azure/mgmt/web/v2020_06_01/models/_models_py3.py +++ b/sdk/appservice/azure-mgmt-web/azure/mgmt/web/v2020_06_01/models/_models_py3.py @@ -918,7 +918,7 @@ class AppServiceCertificateOrder(Resource): :ivar app_service_certificate_not_renewable_reasons: Reasons why App Service Certificate is not renewable at the current moment. :vartype app_service_certificate_not_renewable_reasons: list[str or - ~azure.mgmt.web.v2020_06_01.models.AppServiceCertificateOrderPropertiesAppServiceCertificateNotRenewableReasonsItem] + ~azure.mgmt.web.v2020_06_01.models.ResourceNotRenewableReason] :ivar next_auto_renewal_time_stamp: Time stamp when the certificate would be auto renewed next. :vartype next_auto_renewal_time_stamp: ~datetime.datetime """ @@ -1125,7 +1125,7 @@ class AppServiceCertificateOrderPatchResource(ProxyOnlyResource): :ivar app_service_certificate_not_renewable_reasons: Reasons why App Service Certificate is not renewable at the current moment. :vartype app_service_certificate_not_renewable_reasons: list[str or - ~azure.mgmt.web.v2020_06_01.models.AppServiceCertificateOrderPatchResourcePropertiesAppServiceCertificateNotRenewableReasonsItem] + ~azure.mgmt.web.v2020_06_01.models.ResourceNotRenewableReason] :ivar next_auto_renewal_time_stamp: Time stamp when the certificate would be auto renewed next. :vartype next_auto_renewal_time_stamp: ~datetime.datetime """ diff --git a/sdk/appservice/azure-mgmt-web/azure/mgmt/web/v2020_06_01/models/_web_site_management_client_enums.py b/sdk/appservice/azure-mgmt-web/azure/mgmt/web/v2020_06_01/models/_web_site_management_client_enums.py index 670864deb157..ee504339a1c6 100644 --- a/sdk/appservice/azure-mgmt-web/azure/mgmt/web/v2020_06_01/models/_web_site_management_client_enums.py +++ b/sdk/appservice/azure-mgmt-web/azure/mgmt/web/v2020_06_01/models/_web_site_management_client_enums.py @@ -17,18 +17,6 @@ class AccessControlEntryAction(str, Enum, metaclass=CaseInsensitiveEnumMeta): PERMIT = "Permit" DENY = "Deny" -class AppServiceCertificateOrderPatchResourcePropertiesAppServiceCertificateNotRenewableReasonsItem(str, Enum, metaclass=CaseInsensitiveEnumMeta): - - REGISTRATION_STATUS_NOT_SUPPORTED_FOR_RENEWAL = "RegistrationStatusNotSupportedForRenewal" - EXPIRATION_NOT_IN_RENEWAL_TIME_RANGE = "ExpirationNotInRenewalTimeRange" - SUBSCRIPTION_NOT_ACTIVE = "SubscriptionNotActive" - -class AppServiceCertificateOrderPropertiesAppServiceCertificateNotRenewableReasonsItem(str, Enum, metaclass=CaseInsensitiveEnumMeta): - - REGISTRATION_STATUS_NOT_SUPPORTED_FOR_RENEWAL = "RegistrationStatusNotSupportedForRenewal" - EXPIRATION_NOT_IN_RENEWAL_TIME_RANGE = "ExpirationNotInRenewalTimeRange" - SUBSCRIPTION_NOT_ACTIVE = "SubscriptionNotActive" - class AppServicePlanRestrictions(str, Enum, metaclass=CaseInsensitiveEnumMeta): """App Service plans this offer is restricted to. """ @@ -322,14 +310,14 @@ class DomainType(str, Enum, metaclass=CaseInsensitiveEnumMeta): REGULAR = "Regular" SOFT_DELETED = "SoftDeleted" -class Enum4(str, Enum, metaclass=CaseInsensitiveEnumMeta): +class Enum3(str, Enum, metaclass=CaseInsensitiveEnumMeta): WINDOWS = "Windows" LINUX = "Linux" WINDOWS_FUNCTIONS = "WindowsFunctions" LINUX_FUNCTIONS = "LinuxFunctions" -class Enum5(str, Enum, metaclass=CaseInsensitiveEnumMeta): +class Enum4(str, Enum, metaclass=CaseInsensitiveEnumMeta): WINDOWS = "Windows" LINUX = "Linux" @@ -555,6 +543,12 @@ class RenderingType(str, Enum, metaclass=CaseInsensitiveEnumMeta): TIME_SERIES = "TimeSeries" TIME_SERIES_PER_INSTANCE = "TimeSeriesPerInstance" +class ResourceNotRenewableReason(str, Enum, metaclass=CaseInsensitiveEnumMeta): + + REGISTRATION_STATUS_NOT_SUPPORTED_FOR_RENEWAL = "RegistrationStatusNotSupportedForRenewal" + EXPIRATION_NOT_IN_RENEWAL_TIME_RANGE = "ExpirationNotInRenewalTimeRange" + SUBSCRIPTION_NOT_ACTIVE = "SubscriptionNotActive" + class ResourceScopeType(str, Enum, metaclass=CaseInsensitiveEnumMeta): """Name of a resource type this recommendation applies, e.g. Subscription, ServerFarm, Site. """ diff --git a/sdk/appservice/azure-mgmt-web/azure/mgmt/web/v2020_06_01/operations/_provider_operations.py b/sdk/appservice/azure-mgmt-web/azure/mgmt/web/v2020_06_01/operations/_provider_operations.py index 4bb1e879df53..3b2ae4f8417d 100644 --- a/sdk/appservice/azure-mgmt-web/azure/mgmt/web/v2020_06_01/operations/_provider_operations.py +++ b/sdk/appservice/azure-mgmt-web/azure/mgmt/web/v2020_06_01/operations/_provider_operations.py @@ -29,7 +29,7 @@ def build_get_available_stacks_request( *, - os_type_selected: Optional[Union[str, "_models.Enum4"]] = None, + os_type_selected: Optional[Union[str, "_models.Enum3"]] = None, **kwargs: Any ) -> HttpRequest: _headers = case_insensitive_dict(kwargs.pop("headers", {}) or {}) @@ -88,7 +88,7 @@ def build_list_operations_request( def build_get_available_stacks_on_prem_request( subscription_id: str, *, - os_type_selected: Optional[Union[str, "_models.Enum5"]] = None, + os_type_selected: Optional[Union[str, "_models.Enum4"]] = None, **kwargs: Any ) -> HttpRequest: _headers = case_insensitive_dict(kwargs.pop("headers", {}) or {}) @@ -144,7 +144,7 @@ def __init__(self, *args, **kwargs): @distributed_trace def get_available_stacks( self, - os_type_selected: Optional[Union[str, "_models.Enum4"]] = None, + os_type_selected: Optional[Union[str, "_models.Enum3"]] = None, **kwargs: Any ) -> Iterable[_models.ApplicationStackCollection]: """Get available application frameworks and their versions. @@ -152,7 +152,7 @@ def get_available_stacks( Get available application frameworks and their versions. :param os_type_selected: Default value is None. - :type os_type_selected: str or ~azure.mgmt.web.v2020_06_01.models.Enum4 + :type os_type_selected: str or ~azure.mgmt.web.v2020_06_01.models.Enum3 :keyword callable cls: A custom type or function that will be passed the direct response :return: An iterator like instance of either ApplicationStackCollection or the result of cls(response) @@ -312,7 +312,7 @@ def get_next(next_link=None): @distributed_trace def get_available_stacks_on_prem( self, - os_type_selected: Optional[Union[str, "_models.Enum5"]] = None, + os_type_selected: Optional[Union[str, "_models.Enum4"]] = None, **kwargs: Any ) -> Iterable[_models.ApplicationStackCollection]: """Get available application frameworks and their versions. @@ -320,7 +320,7 @@ def get_available_stacks_on_prem( Get available application frameworks and their versions. :param os_type_selected: Default value is None. - :type os_type_selected: str or ~azure.mgmt.web.v2020_06_01.models.Enum5 + :type os_type_selected: str or ~azure.mgmt.web.v2020_06_01.models.Enum4 :keyword callable cls: A custom type or function that will be passed the direct response :return: An iterator like instance of either ApplicationStackCollection or the result of cls(response) 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 364f3c906cf9..5c14e0d8303d 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_09_01/aio/operations/_provider_operations.py b/sdk/appservice/azure-mgmt-web/azure/mgmt/web/v2020_09_01/aio/operations/_provider_operations.py index 268ccbf91eb1..6522c446f2a8 100644 --- a/sdk/appservice/azure-mgmt-web/azure/mgmt/web/v2020_09_01/aio/operations/_provider_operations.py +++ b/sdk/appservice/azure-mgmt-web/azure/mgmt/web/v2020_09_01/aio/operations/_provider_operations.py @@ -47,7 +47,7 @@ def __init__(self, *args, **kwargs) -> None: @distributed_trace def get_available_stacks( self, - os_type_selected: Optional[Union[str, "_models.Enum5"]] = None, + os_type_selected: Optional[Union[str, "_models.Enum4"]] = None, **kwargs: Any ) -> AsyncIterable[_models.ApplicationStackCollection]: """Get available application frameworks and their versions. @@ -55,7 +55,7 @@ def get_available_stacks( Get available application frameworks and their versions. :param os_type_selected: Default value is None. - :type os_type_selected: str or ~azure.mgmt.web.v2020_09_01.models.Enum5 + :type os_type_selected: str or ~azure.mgmt.web.v2020_09_01.models.Enum4 :keyword callable cls: A custom type or function that will be passed the direct response :return: An iterator like instance of either ApplicationStackCollection or the result of cls(response) @@ -216,7 +216,7 @@ async def get_next(next_link=None): @distributed_trace def get_available_stacks_on_prem( self, - os_type_selected: Optional[Union[str, "_models.Enum6"]] = None, + os_type_selected: Optional[Union[str, "_models.Enum5"]] = None, **kwargs: Any ) -> AsyncIterable[_models.ApplicationStackCollection]: """Get available application frameworks and their versions. @@ -224,7 +224,7 @@ def get_available_stacks_on_prem( Get available application frameworks and their versions. :param os_type_selected: Default value is None. - :type os_type_selected: str or ~azure.mgmt.web.v2020_09_01.models.Enum6 + :type os_type_selected: str or ~azure.mgmt.web.v2020_09_01.models.Enum5 :keyword callable cls: A custom type or function that will be passed the direct response :return: An iterator like instance of either ApplicationStackCollection or the result of cls(response) diff --git a/sdk/appservice/azure-mgmt-web/azure/mgmt/web/v2020_09_01/models/__init__.py b/sdk/appservice/azure-mgmt-web/azure/mgmt/web/v2020_09_01/models/__init__.py index ce48f7495167..2d73fc8565f4 100644 --- a/sdk/appservice/azure-mgmt-web/azure/mgmt/web/v2020_09_01/models/__init__.py +++ b/sdk/appservice/azure-mgmt-web/azure/mgmt/web/v2020_09_01/models/__init__.py @@ -356,8 +356,6 @@ from ._web_site_management_client_enums import ( AccessControlEntryAction, - AppServiceCertificateOrderPatchResourcePropertiesAppServiceCertificateNotRenewableReasonsItem, - AppServiceCertificateOrderPropertiesAppServiceCertificateNotRenewableReasonsItem, AppServicePlanRestrictions, AutoHealActionType, AzureResourceType, @@ -387,8 +385,8 @@ DomainPropertiesDomainNotRenewableReasonsItem, DomainStatus, DomainType, + Enum4, Enum5, - Enum6, ForwardProxyConvention, FrequencyUnit, FtpsState, @@ -413,6 +411,7 @@ PublishingProfileFormat, RedundancyMode, RenderingType, + ResourceNotRenewableReason, ResourceScopeType, RouteType, ScmType, @@ -785,8 +784,6 @@ 'WorkerPoolCollection', 'WorkerPoolResource', 'AccessControlEntryAction', - 'AppServiceCertificateOrderPatchResourcePropertiesAppServiceCertificateNotRenewableReasonsItem', - 'AppServiceCertificateOrderPropertiesAppServiceCertificateNotRenewableReasonsItem', 'AppServicePlanRestrictions', 'AutoHealActionType', 'AzureResourceType', @@ -816,8 +813,8 @@ 'DomainPropertiesDomainNotRenewableReasonsItem', 'DomainStatus', 'DomainType', + 'Enum4', 'Enum5', - 'Enum6', 'ForwardProxyConvention', 'FrequencyUnit', 'FtpsState', @@ -842,6 +839,7 @@ 'PublishingProfileFormat', 'RedundancyMode', 'RenderingType', + 'ResourceNotRenewableReason', 'ResourceScopeType', 'RouteType', 'ScmType', diff --git a/sdk/appservice/azure-mgmt-web/azure/mgmt/web/v2020_09_01/models/_models_py3.py b/sdk/appservice/azure-mgmt-web/azure/mgmt/web/v2020_09_01/models/_models_py3.py index aa419a0859fa..e356ffcf862e 100644 --- a/sdk/appservice/azure-mgmt-web/azure/mgmt/web/v2020_09_01/models/_models_py3.py +++ b/sdk/appservice/azure-mgmt-web/azure/mgmt/web/v2020_09_01/models/_models_py3.py @@ -950,7 +950,7 @@ class AppServiceCertificateOrder(Resource): :ivar app_service_certificate_not_renewable_reasons: Reasons why App Service Certificate is not renewable at the current moment. :vartype app_service_certificate_not_renewable_reasons: list[str or - ~azure.mgmt.web.v2020_09_01.models.AppServiceCertificateOrderPropertiesAppServiceCertificateNotRenewableReasonsItem] + ~azure.mgmt.web.v2020_09_01.models.ResourceNotRenewableReason] :ivar next_auto_renewal_time_stamp: Time stamp when the certificate would be auto renewed next. :vartype next_auto_renewal_time_stamp: ~datetime.datetime """ @@ -1161,7 +1161,7 @@ class AppServiceCertificateOrderPatchResource(ProxyOnlyResource): :ivar app_service_certificate_not_renewable_reasons: Reasons why App Service Certificate is not renewable at the current moment. :vartype app_service_certificate_not_renewable_reasons: list[str or - ~azure.mgmt.web.v2020_09_01.models.AppServiceCertificateOrderPatchResourcePropertiesAppServiceCertificateNotRenewableReasonsItem] + ~azure.mgmt.web.v2020_09_01.models.ResourceNotRenewableReason] :ivar next_auto_renewal_time_stamp: Time stamp when the certificate would be auto renewed next. :vartype next_auto_renewal_time_stamp: ~datetime.datetime """ diff --git a/sdk/appservice/azure-mgmt-web/azure/mgmt/web/v2020_09_01/models/_web_site_management_client_enums.py b/sdk/appservice/azure-mgmt-web/azure/mgmt/web/v2020_09_01/models/_web_site_management_client_enums.py index a4af9d3e07ac..f84e1a75ece8 100644 --- a/sdk/appservice/azure-mgmt-web/azure/mgmt/web/v2020_09_01/models/_web_site_management_client_enums.py +++ b/sdk/appservice/azure-mgmt-web/azure/mgmt/web/v2020_09_01/models/_web_site_management_client_enums.py @@ -17,18 +17,6 @@ class AccessControlEntryAction(str, Enum, metaclass=CaseInsensitiveEnumMeta): PERMIT = "Permit" DENY = "Deny" -class AppServiceCertificateOrderPatchResourcePropertiesAppServiceCertificateNotRenewableReasonsItem(str, Enum, metaclass=CaseInsensitiveEnumMeta): - - REGISTRATION_STATUS_NOT_SUPPORTED_FOR_RENEWAL = "RegistrationStatusNotSupportedForRenewal" - EXPIRATION_NOT_IN_RENEWAL_TIME_RANGE = "ExpirationNotInRenewalTimeRange" - SUBSCRIPTION_NOT_ACTIVE = "SubscriptionNotActive" - -class AppServiceCertificateOrderPropertiesAppServiceCertificateNotRenewableReasonsItem(str, Enum, metaclass=CaseInsensitiveEnumMeta): - - REGISTRATION_STATUS_NOT_SUPPORTED_FOR_RENEWAL = "RegistrationStatusNotSupportedForRenewal" - EXPIRATION_NOT_IN_RENEWAL_TIME_RANGE = "ExpirationNotInRenewalTimeRange" - SUBSCRIPTION_NOT_ACTIVE = "SubscriptionNotActive" - class AppServicePlanRestrictions(str, Enum, metaclass=CaseInsensitiveEnumMeta): """App Service plans this offer is restricted to. """ @@ -331,14 +319,14 @@ class DomainType(str, Enum, metaclass=CaseInsensitiveEnumMeta): REGULAR = "Regular" SOFT_DELETED = "SoftDeleted" -class Enum5(str, Enum, metaclass=CaseInsensitiveEnumMeta): +class Enum4(str, Enum, metaclass=CaseInsensitiveEnumMeta): WINDOWS = "Windows" LINUX = "Linux" WINDOWS_FUNCTIONS = "WindowsFunctions" LINUX_FUNCTIONS = "LinuxFunctions" -class Enum6(str, Enum, metaclass=CaseInsensitiveEnumMeta): +class Enum5(str, Enum, metaclass=CaseInsensitiveEnumMeta): WINDOWS = "Windows" LINUX = "Linux" @@ -564,6 +552,12 @@ class RenderingType(str, Enum, metaclass=CaseInsensitiveEnumMeta): TIME_SERIES = "TimeSeries" TIME_SERIES_PER_INSTANCE = "TimeSeriesPerInstance" +class ResourceNotRenewableReason(str, Enum, metaclass=CaseInsensitiveEnumMeta): + + REGISTRATION_STATUS_NOT_SUPPORTED_FOR_RENEWAL = "RegistrationStatusNotSupportedForRenewal" + EXPIRATION_NOT_IN_RENEWAL_TIME_RANGE = "ExpirationNotInRenewalTimeRange" + SUBSCRIPTION_NOT_ACTIVE = "SubscriptionNotActive" + class ResourceScopeType(str, Enum, metaclass=CaseInsensitiveEnumMeta): """Name of a resource type this recommendation applies, e.g. Subscription, ServerFarm, Site. """ diff --git a/sdk/appservice/azure-mgmt-web/azure/mgmt/web/v2020_09_01/operations/_provider_operations.py b/sdk/appservice/azure-mgmt-web/azure/mgmt/web/v2020_09_01/operations/_provider_operations.py index ad71eecd80cb..0b102f162970 100644 --- a/sdk/appservice/azure-mgmt-web/azure/mgmt/web/v2020_09_01/operations/_provider_operations.py +++ b/sdk/appservice/azure-mgmt-web/azure/mgmt/web/v2020_09_01/operations/_provider_operations.py @@ -29,7 +29,7 @@ def build_get_available_stacks_request( *, - os_type_selected: Optional[Union[str, "_models.Enum5"]] = None, + os_type_selected: Optional[Union[str, "_models.Enum4"]] = None, **kwargs: Any ) -> HttpRequest: _headers = case_insensitive_dict(kwargs.pop("headers", {}) or {}) @@ -88,7 +88,7 @@ def build_list_operations_request( def build_get_available_stacks_on_prem_request( subscription_id: str, *, - os_type_selected: Optional[Union[str, "_models.Enum6"]] = None, + os_type_selected: Optional[Union[str, "_models.Enum5"]] = None, **kwargs: Any ) -> HttpRequest: _headers = case_insensitive_dict(kwargs.pop("headers", {}) or {}) @@ -144,7 +144,7 @@ def __init__(self, *args, **kwargs): @distributed_trace def get_available_stacks( self, - os_type_selected: Optional[Union[str, "_models.Enum5"]] = None, + os_type_selected: Optional[Union[str, "_models.Enum4"]] = None, **kwargs: Any ) -> Iterable[_models.ApplicationStackCollection]: """Get available application frameworks and their versions. @@ -152,7 +152,7 @@ def get_available_stacks( Get available application frameworks and their versions. :param os_type_selected: Default value is None. - :type os_type_selected: str or ~azure.mgmt.web.v2020_09_01.models.Enum5 + :type os_type_selected: str or ~azure.mgmt.web.v2020_09_01.models.Enum4 :keyword callable cls: A custom type or function that will be passed the direct response :return: An iterator like instance of either ApplicationStackCollection or the result of cls(response) @@ -312,7 +312,7 @@ def get_next(next_link=None): @distributed_trace def get_available_stacks_on_prem( self, - os_type_selected: Optional[Union[str, "_models.Enum6"]] = None, + os_type_selected: Optional[Union[str, "_models.Enum5"]] = None, **kwargs: Any ) -> Iterable[_models.ApplicationStackCollection]: """Get available application frameworks and their versions. @@ -320,7 +320,7 @@ def get_available_stacks_on_prem( Get available application frameworks and their versions. :param os_type_selected: Default value is None. - :type os_type_selected: str or ~azure.mgmt.web.v2020_09_01.models.Enum6 + :type os_type_selected: str or ~azure.mgmt.web.v2020_09_01.models.Enum5 :keyword callable cls: A custom type or function that will be passed the direct response :return: An iterator like instance of either ApplicationStackCollection or the result of cls(response) 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 364f3c906cf9..5c14e0d8303d 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/v2020_12_01/aio/operations/_provider_operations.py b/sdk/appservice/azure-mgmt-web/azure/mgmt/web/v2020_12_01/aio/operations/_provider_operations.py index 7c6fd48fe9e7..dd6ba4270b39 100644 --- a/sdk/appservice/azure-mgmt-web/azure/mgmt/web/v2020_12_01/aio/operations/_provider_operations.py +++ b/sdk/appservice/azure-mgmt-web/azure/mgmt/web/v2020_12_01/aio/operations/_provider_operations.py @@ -47,7 +47,7 @@ def __init__(self, *args, **kwargs) -> None: @distributed_trace def get_available_stacks( self, - os_type_selected: Optional[Union[str, "_models.Enum4"]] = None, + os_type_selected: Optional[Union[str, "_models.Enum3"]] = None, **kwargs: Any ) -> AsyncIterable[_models.ApplicationStackCollection]: """Get available application frameworks and their versions. @@ -55,7 +55,7 @@ def get_available_stacks( Get available application frameworks and their versions. :param os_type_selected: Default value is None. - :type os_type_selected: str or ~azure.mgmt.web.v2020_12_01.models.Enum4 + :type os_type_selected: str or ~azure.mgmt.web.v2020_12_01.models.Enum3 :keyword callable cls: A custom type or function that will be passed the direct response :return: An iterator like instance of either ApplicationStackCollection or the result of cls(response) @@ -133,7 +133,7 @@ async def get_next(next_link=None): @distributed_trace def get_function_app_stacks( self, - stack_os_type: Optional[Union[str, "_models.Enum5"]] = None, + stack_os_type: Optional[Union[str, "_models.Enum4"]] = None, **kwargs: Any ) -> AsyncIterable[_models.FunctionAppStackCollection]: """Get available Function app frameworks and their versions. @@ -141,7 +141,7 @@ def get_function_app_stacks( Get available Function app frameworks and their versions. :param stack_os_type: Stack OS Type. Default value is None. - :type stack_os_type: str or ~azure.mgmt.web.v2020_12_01.models.Enum5 + :type stack_os_type: str or ~azure.mgmt.web.v2020_12_01.models.Enum4 :keyword callable cls: A custom type or function that will be passed the direct response :return: An iterator like instance of either FunctionAppStackCollection or the result of cls(response) @@ -220,7 +220,7 @@ async def get_next(next_link=None): def get_function_app_stacks_for_location( self, location: str, - stack_os_type: Optional[Union[str, "_models.Enum6"]] = None, + stack_os_type: Optional[Union[str, "_models.Enum5"]] = None, **kwargs: Any ) -> AsyncIterable[_models.FunctionAppStackCollection]: """Get available Function app frameworks and their versions for location. @@ -230,7 +230,7 @@ def get_function_app_stacks_for_location( :param location: Function App stack location. :type location: str :param stack_os_type: Stack OS Type. Default value is None. - :type stack_os_type: str or ~azure.mgmt.web.v2020_12_01.models.Enum6 + :type stack_os_type: str or ~azure.mgmt.web.v2020_12_01.models.Enum5 :keyword callable cls: A custom type or function that will be passed the direct response :return: An iterator like instance of either FunctionAppStackCollection or the result of cls(response) @@ -311,7 +311,7 @@ async def get_next(next_link=None): def get_web_app_stacks_for_location( self, location: str, - stack_os_type: Optional[Union[str, "_models.Enum7"]] = None, + stack_os_type: Optional[Union[str, "_models.Enum6"]] = None, **kwargs: Any ) -> AsyncIterable[_models.WebAppStackCollection]: """Get available Web app frameworks and their versions for location. @@ -321,7 +321,7 @@ def get_web_app_stacks_for_location( :param location: Web App stack location. :type location: str :param stack_os_type: Stack OS Type. Default value is None. - :type stack_os_type: str or ~azure.mgmt.web.v2020_12_01.models.Enum7 + :type stack_os_type: str or ~azure.mgmt.web.v2020_12_01.models.Enum6 :keyword callable cls: A custom type or function that will be passed the direct response :return: An iterator like instance of either WebAppStackCollection or the result of cls(response) @@ -484,7 +484,7 @@ async def get_next(next_link=None): @distributed_trace def get_web_app_stacks( self, - stack_os_type: Optional[Union[str, "_models.Enum8"]] = None, + stack_os_type: Optional[Union[str, "_models.Enum7"]] = None, **kwargs: Any ) -> AsyncIterable[_models.WebAppStackCollection]: """Get available Web app frameworks and their versions. @@ -492,7 +492,7 @@ def get_web_app_stacks( Get available Web app frameworks and their versions. :param stack_os_type: Stack OS Type. Default value is None. - :type stack_os_type: str or ~azure.mgmt.web.v2020_12_01.models.Enum8 + :type stack_os_type: str or ~azure.mgmt.web.v2020_12_01.models.Enum7 :keyword callable cls: A custom type or function that will be passed the direct response :return: An iterator like instance of either WebAppStackCollection or the result of cls(response) @@ -570,7 +570,7 @@ async def get_next(next_link=None): @distributed_trace def get_available_stacks_on_prem( self, - os_type_selected: Optional[Union[str, "_models.Enum9"]] = None, + os_type_selected: Optional[Union[str, "_models.Enum8"]] = None, **kwargs: Any ) -> AsyncIterable[_models.ApplicationStackCollection]: """Get available application frameworks and their versions. @@ -578,7 +578,7 @@ def get_available_stacks_on_prem( Get available application frameworks and their versions. :param os_type_selected: Default value is None. - :type os_type_selected: str or ~azure.mgmt.web.v2020_12_01.models.Enum9 + :type os_type_selected: str or ~azure.mgmt.web.v2020_12_01.models.Enum8 :keyword callable cls: A custom type or function that will be passed the direct response :return: An iterator like instance of either ApplicationStackCollection or the result of cls(response) diff --git a/sdk/appservice/azure-mgmt-web/azure/mgmt/web/v2020_12_01/models/__init__.py b/sdk/appservice/azure-mgmt-web/azure/mgmt/web/v2020_12_01/models/__init__.py index d0c08094f7e6..4743123fee0a 100644 --- a/sdk/appservice/azure-mgmt-web/azure/mgmt/web/v2020_12_01/models/__init__.py +++ b/sdk/appservice/azure-mgmt-web/azure/mgmt/web/v2020_12_01/models/__init__.py @@ -400,8 +400,6 @@ from ._web_site_management_client_enums import ( - AppServiceCertificateOrderPatchResourcePropertiesAppServiceCertificateNotRenewableReasonsItem, - AppServiceCertificateOrderPropertiesAppServiceCertificateNotRenewableReasonsItem, AppServicePlanRestrictions, AutoHealActionType, AzureResourceType, @@ -432,12 +430,12 @@ DomainPropertiesDomainNotRenewableReasonsItem, DomainStatus, DomainType, + Enum3, Enum4, Enum5, Enum6, Enum7, Enum8, - Enum9, ForwardProxyConvention, FrequencyUnit, FtpsState, @@ -464,6 +462,7 @@ RedundancyMode, RenderingType, ResolveStatus, + ResourceNotRenewableReason, ResourceScopeType, RouteType, ScmType, @@ -882,8 +881,6 @@ 'WindowsJavaContainerSettings', 'WorkerPoolCollection', 'WorkerPoolResource', - 'AppServiceCertificateOrderPatchResourcePropertiesAppServiceCertificateNotRenewableReasonsItem', - 'AppServiceCertificateOrderPropertiesAppServiceCertificateNotRenewableReasonsItem', 'AppServicePlanRestrictions', 'AutoHealActionType', 'AzureResourceType', @@ -914,12 +911,12 @@ 'DomainPropertiesDomainNotRenewableReasonsItem', 'DomainStatus', 'DomainType', + 'Enum3', 'Enum4', 'Enum5', 'Enum6', 'Enum7', 'Enum8', - 'Enum9', 'ForwardProxyConvention', 'FrequencyUnit', 'FtpsState', @@ -946,6 +943,7 @@ 'RedundancyMode', 'RenderingType', 'ResolveStatus', + 'ResourceNotRenewableReason', 'ResourceScopeType', 'RouteType', 'ScmType', diff --git a/sdk/appservice/azure-mgmt-web/azure/mgmt/web/v2020_12_01/models/_models_py3.py b/sdk/appservice/azure-mgmt-web/azure/mgmt/web/v2020_12_01/models/_models_py3.py index b151bd0170bd..275b1191bdbd 100644 --- a/sdk/appservice/azure-mgmt-web/azure/mgmt/web/v2020_12_01/models/_models_py3.py +++ b/sdk/appservice/azure-mgmt-web/azure/mgmt/web/v2020_12_01/models/_models_py3.py @@ -1147,7 +1147,7 @@ class AppServiceCertificateOrder(Resource): :ivar app_service_certificate_not_renewable_reasons: Reasons why App Service Certificate is not renewable at the current moment. :vartype app_service_certificate_not_renewable_reasons: list[str or - ~azure.mgmt.web.v2020_12_01.models.AppServiceCertificateOrderPropertiesAppServiceCertificateNotRenewableReasonsItem] + ~azure.mgmt.web.v2020_12_01.models.ResourceNotRenewableReason] :ivar next_auto_renewal_time_stamp: Time stamp when the certificate would be auto renewed next. :vartype next_auto_renewal_time_stamp: ~datetime.datetime :ivar contact: Contact info. @@ -1358,7 +1358,7 @@ class AppServiceCertificateOrderPatchResource(ProxyOnlyResource): :ivar app_service_certificate_not_renewable_reasons: Reasons why App Service Certificate is not renewable at the current moment. :vartype app_service_certificate_not_renewable_reasons: list[str or - ~azure.mgmt.web.v2020_12_01.models.AppServiceCertificateOrderPatchResourcePropertiesAppServiceCertificateNotRenewableReasonsItem] + ~azure.mgmt.web.v2020_12_01.models.ResourceNotRenewableReason] :ivar next_auto_renewal_time_stamp: Time stamp when the certificate would be auto renewed next. :vartype next_auto_renewal_time_stamp: ~datetime.datetime :ivar contact: Contact info. diff --git a/sdk/appservice/azure-mgmt-web/azure/mgmt/web/v2020_12_01/models/_web_site_management_client_enums.py b/sdk/appservice/azure-mgmt-web/azure/mgmt/web/v2020_12_01/models/_web_site_management_client_enums.py index 699a6de8a65b..63b2d36f694a 100644 --- a/sdk/appservice/azure-mgmt-web/azure/mgmt/web/v2020_12_01/models/_web_site_management_client_enums.py +++ b/sdk/appservice/azure-mgmt-web/azure/mgmt/web/v2020_12_01/models/_web_site_management_client_enums.py @@ -10,18 +10,6 @@ from azure.core import CaseInsensitiveEnumMeta -class AppServiceCertificateOrderPatchResourcePropertiesAppServiceCertificateNotRenewableReasonsItem(str, Enum, metaclass=CaseInsensitiveEnumMeta): - - REGISTRATION_STATUS_NOT_SUPPORTED_FOR_RENEWAL = "RegistrationStatusNotSupportedForRenewal" - EXPIRATION_NOT_IN_RENEWAL_TIME_RANGE = "ExpirationNotInRenewalTimeRange" - SUBSCRIPTION_NOT_ACTIVE = "SubscriptionNotActive" - -class AppServiceCertificateOrderPropertiesAppServiceCertificateNotRenewableReasonsItem(str, Enum, metaclass=CaseInsensitiveEnumMeta): - - REGISTRATION_STATUS_NOT_SUPPORTED_FOR_RENEWAL = "RegistrationStatusNotSupportedForRenewal" - EXPIRATION_NOT_IN_RENEWAL_TIME_RANGE = "ExpirationNotInRenewalTimeRange" - SUBSCRIPTION_NOT_ACTIVE = "SubscriptionNotActive" - class AppServicePlanRestrictions(str, Enum, metaclass=CaseInsensitiveEnumMeta): """App Service plans this offer is restricted to. """ @@ -338,7 +326,7 @@ class DomainType(str, Enum, metaclass=CaseInsensitiveEnumMeta): REGULAR = "Regular" SOFT_DELETED = "SoftDeleted" -class Enum4(str, Enum, metaclass=CaseInsensitiveEnumMeta): +class Enum3(str, Enum, metaclass=CaseInsensitiveEnumMeta): WINDOWS = "Windows" LINUX = "Linux" @@ -346,31 +334,31 @@ class Enum4(str, Enum, metaclass=CaseInsensitiveEnumMeta): LINUX_FUNCTIONS = "LinuxFunctions" ALL = "All" -class Enum5(str, Enum, metaclass=CaseInsensitiveEnumMeta): +class Enum4(str, Enum, metaclass=CaseInsensitiveEnumMeta): WINDOWS = "Windows" LINUX = "Linux" ALL = "All" -class Enum6(str, Enum, metaclass=CaseInsensitiveEnumMeta): +class Enum5(str, Enum, metaclass=CaseInsensitiveEnumMeta): WINDOWS = "Windows" LINUX = "Linux" ALL = "All" -class Enum7(str, Enum, metaclass=CaseInsensitiveEnumMeta): +class Enum6(str, Enum, metaclass=CaseInsensitiveEnumMeta): WINDOWS = "Windows" LINUX = "Linux" ALL = "All" -class Enum8(str, Enum, metaclass=CaseInsensitiveEnumMeta): +class Enum7(str, Enum, metaclass=CaseInsensitiveEnumMeta): WINDOWS = "Windows" LINUX = "Linux" ALL = "All" -class Enum9(str, Enum, metaclass=CaseInsensitiveEnumMeta): +class Enum8(str, Enum, metaclass=CaseInsensitiveEnumMeta): WINDOWS = "Windows" LINUX = "Linux" @@ -644,6 +632,12 @@ class ResolveStatus(str, Enum, metaclass=CaseInsensitiveEnumMeta): FETCH_TIMED_OUT = "FetchTimedOut" UNAUTHORIZED_CLIENT = "UnauthorizedClient" +class ResourceNotRenewableReason(str, Enum, metaclass=CaseInsensitiveEnumMeta): + + REGISTRATION_STATUS_NOT_SUPPORTED_FOR_RENEWAL = "RegistrationStatusNotSupportedForRenewal" + EXPIRATION_NOT_IN_RENEWAL_TIME_RANGE = "ExpirationNotInRenewalTimeRange" + SUBSCRIPTION_NOT_ACTIVE = "SubscriptionNotActive" + class ResourceScopeType(str, Enum, metaclass=CaseInsensitiveEnumMeta): """Name of a resource type this recommendation applies, e.g. Subscription, ServerFarm, Site. """ diff --git a/sdk/appservice/azure-mgmt-web/azure/mgmt/web/v2020_12_01/operations/_provider_operations.py b/sdk/appservice/azure-mgmt-web/azure/mgmt/web/v2020_12_01/operations/_provider_operations.py index cd7b7e3a3482..b57968a8a28f 100644 --- a/sdk/appservice/azure-mgmt-web/azure/mgmt/web/v2020_12_01/operations/_provider_operations.py +++ b/sdk/appservice/azure-mgmt-web/azure/mgmt/web/v2020_12_01/operations/_provider_operations.py @@ -29,7 +29,7 @@ def build_get_available_stacks_request( *, - os_type_selected: Optional[Union[str, "_models.Enum4"]] = None, + os_type_selected: Optional[Union[str, "_models.Enum3"]] = None, **kwargs: Any ) -> HttpRequest: _headers = case_insensitive_dict(kwargs.pop("headers", {}) or {}) @@ -60,7 +60,7 @@ def build_get_available_stacks_request( def build_get_function_app_stacks_request( *, - stack_os_type: Optional[Union[str, "_models.Enum5"]] = None, + stack_os_type: Optional[Union[str, "_models.Enum4"]] = None, **kwargs: Any ) -> HttpRequest: _headers = case_insensitive_dict(kwargs.pop("headers", {}) or {}) @@ -92,7 +92,7 @@ def build_get_function_app_stacks_request( def build_get_function_app_stacks_for_location_request( location: str, *, - stack_os_type: Optional[Union[str, "_models.Enum6"]] = None, + stack_os_type: Optional[Union[str, "_models.Enum5"]] = None, **kwargs: Any ) -> HttpRequest: _headers = case_insensitive_dict(kwargs.pop("headers", {}) or {}) @@ -129,7 +129,7 @@ def build_get_function_app_stacks_for_location_request( def build_get_web_app_stacks_for_location_request( location: str, *, - stack_os_type: Optional[Union[str, "_models.Enum7"]] = None, + stack_os_type: Optional[Union[str, "_models.Enum6"]] = None, **kwargs: Any ) -> HttpRequest: _headers = case_insensitive_dict(kwargs.pop("headers", {}) or {}) @@ -192,7 +192,7 @@ def build_list_operations_request( def build_get_web_app_stacks_request( *, - stack_os_type: Optional[Union[str, "_models.Enum8"]] = None, + stack_os_type: Optional[Union[str, "_models.Enum7"]] = None, **kwargs: Any ) -> HttpRequest: _headers = case_insensitive_dict(kwargs.pop("headers", {}) or {}) @@ -224,7 +224,7 @@ def build_get_web_app_stacks_request( def build_get_available_stacks_on_prem_request( subscription_id: str, *, - os_type_selected: Optional[Union[str, "_models.Enum9"]] = None, + os_type_selected: Optional[Union[str, "_models.Enum8"]] = None, **kwargs: Any ) -> HttpRequest: _headers = case_insensitive_dict(kwargs.pop("headers", {}) or {}) @@ -280,7 +280,7 @@ def __init__(self, *args, **kwargs): @distributed_trace def get_available_stacks( self, - os_type_selected: Optional[Union[str, "_models.Enum4"]] = None, + os_type_selected: Optional[Union[str, "_models.Enum3"]] = None, **kwargs: Any ) -> Iterable[_models.ApplicationStackCollection]: """Get available application frameworks and their versions. @@ -288,7 +288,7 @@ def get_available_stacks( Get available application frameworks and their versions. :param os_type_selected: Default value is None. - :type os_type_selected: str or ~azure.mgmt.web.v2020_12_01.models.Enum4 + :type os_type_selected: str or ~azure.mgmt.web.v2020_12_01.models.Enum3 :keyword callable cls: A custom type or function that will be passed the direct response :return: An iterator like instance of either ApplicationStackCollection or the result of cls(response) @@ -366,7 +366,7 @@ def get_next(next_link=None): @distributed_trace def get_function_app_stacks( self, - stack_os_type: Optional[Union[str, "_models.Enum5"]] = None, + stack_os_type: Optional[Union[str, "_models.Enum4"]] = None, **kwargs: Any ) -> Iterable[_models.FunctionAppStackCollection]: """Get available Function app frameworks and their versions. @@ -374,7 +374,7 @@ def get_function_app_stacks( Get available Function app frameworks and their versions. :param stack_os_type: Stack OS Type. Default value is None. - :type stack_os_type: str or ~azure.mgmt.web.v2020_12_01.models.Enum5 + :type stack_os_type: str or ~azure.mgmt.web.v2020_12_01.models.Enum4 :keyword callable cls: A custom type or function that will be passed the direct response :return: An iterator like instance of either FunctionAppStackCollection or the result of cls(response) @@ -453,7 +453,7 @@ def get_next(next_link=None): def get_function_app_stacks_for_location( self, location: str, - stack_os_type: Optional[Union[str, "_models.Enum6"]] = None, + stack_os_type: Optional[Union[str, "_models.Enum5"]] = None, **kwargs: Any ) -> Iterable[_models.FunctionAppStackCollection]: """Get available Function app frameworks and their versions for location. @@ -463,7 +463,7 @@ def get_function_app_stacks_for_location( :param location: Function App stack location. :type location: str :param stack_os_type: Stack OS Type. Default value is None. - :type stack_os_type: str or ~azure.mgmt.web.v2020_12_01.models.Enum6 + :type stack_os_type: str or ~azure.mgmt.web.v2020_12_01.models.Enum5 :keyword callable cls: A custom type or function that will be passed the direct response :return: An iterator like instance of either FunctionAppStackCollection or the result of cls(response) @@ -544,7 +544,7 @@ def get_next(next_link=None): def get_web_app_stacks_for_location( self, location: str, - stack_os_type: Optional[Union[str, "_models.Enum7"]] = None, + stack_os_type: Optional[Union[str, "_models.Enum6"]] = None, **kwargs: Any ) -> Iterable[_models.WebAppStackCollection]: """Get available Web app frameworks and their versions for location. @@ -554,7 +554,7 @@ def get_web_app_stacks_for_location( :param location: Web App stack location. :type location: str :param stack_os_type: Stack OS Type. Default value is None. - :type stack_os_type: str or ~azure.mgmt.web.v2020_12_01.models.Enum7 + :type stack_os_type: str or ~azure.mgmt.web.v2020_12_01.models.Enum6 :keyword callable cls: A custom type or function that will be passed the direct response :return: An iterator like instance of either WebAppStackCollection or the result of cls(response) @@ -715,7 +715,7 @@ def get_next(next_link=None): @distributed_trace def get_web_app_stacks( self, - stack_os_type: Optional[Union[str, "_models.Enum8"]] = None, + stack_os_type: Optional[Union[str, "_models.Enum7"]] = None, **kwargs: Any ) -> Iterable[_models.WebAppStackCollection]: """Get available Web app frameworks and their versions. @@ -723,7 +723,7 @@ def get_web_app_stacks( Get available Web app frameworks and their versions. :param stack_os_type: Stack OS Type. Default value is None. - :type stack_os_type: str or ~azure.mgmt.web.v2020_12_01.models.Enum8 + :type stack_os_type: str or ~azure.mgmt.web.v2020_12_01.models.Enum7 :keyword callable cls: A custom type or function that will be passed the direct response :return: An iterator like instance of either WebAppStackCollection or the result of cls(response) @@ -800,7 +800,7 @@ def get_next(next_link=None): @distributed_trace def get_available_stacks_on_prem( self, - os_type_selected: Optional[Union[str, "_models.Enum9"]] = None, + os_type_selected: Optional[Union[str, "_models.Enum8"]] = None, **kwargs: Any ) -> Iterable[_models.ApplicationStackCollection]: """Get available application frameworks and their versions. @@ -808,7 +808,7 @@ def get_available_stacks_on_prem( Get available application frameworks and their versions. :param os_type_selected: Default value is None. - :type os_type_selected: str or ~azure.mgmt.web.v2020_12_01.models.Enum9 + :type os_type_selected: str or ~azure.mgmt.web.v2020_12_01.models.Enum8 :keyword callable cls: A custom type or function that will be passed the direct response :return: An iterator like instance of either ApplicationStackCollection or the result of cls(response) 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 364f3c906cf9..5c14e0d8303d 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_01/aio/operations/_provider_operations.py b/sdk/appservice/azure-mgmt-web/azure/mgmt/web/v2021_01_01/aio/operations/_provider_operations.py index f13c68d1ab14..c8899fd1fbed 100644 --- a/sdk/appservice/azure-mgmt-web/azure/mgmt/web/v2021_01_01/aio/operations/_provider_operations.py +++ b/sdk/appservice/azure-mgmt-web/azure/mgmt/web/v2021_01_01/aio/operations/_provider_operations.py @@ -47,7 +47,7 @@ def __init__(self, *args, **kwargs) -> None: @distributed_trace def get_available_stacks( self, - os_type_selected: Optional[Union[str, "_models.Enum10"]] = None, + os_type_selected: Optional[Union[str, "_models.Enum9"]] = None, **kwargs: Any ) -> AsyncIterable[_models.ApplicationStackCollection]: """Get available application frameworks and their versions. @@ -55,7 +55,7 @@ def get_available_stacks( Get available application frameworks and their versions. :param os_type_selected: Default value is None. - :type os_type_selected: str or ~azure.mgmt.web.v2021_01_01.models.Enum10 + :type os_type_selected: str or ~azure.mgmt.web.v2021_01_01.models.Enum9 :keyword callable cls: A custom type or function that will be passed the direct response :return: An iterator like instance of either ApplicationStackCollection or the result of cls(response) @@ -133,7 +133,7 @@ async def get_next(next_link=None): @distributed_trace def get_function_app_stacks( self, - stack_os_type: Optional[Union[str, "_models.Enum11"]] = None, + stack_os_type: Optional[Union[str, "_models.Enum10"]] = None, **kwargs: Any ) -> AsyncIterable[_models.FunctionAppStackCollection]: """Get available Function app frameworks and their versions. @@ -141,7 +141,7 @@ def get_function_app_stacks( Get available Function app frameworks and their versions. :param stack_os_type: Stack OS Type. Default value is None. - :type stack_os_type: str or ~azure.mgmt.web.v2021_01_01.models.Enum11 + :type stack_os_type: str or ~azure.mgmt.web.v2021_01_01.models.Enum10 :keyword callable cls: A custom type or function that will be passed the direct response :return: An iterator like instance of either FunctionAppStackCollection or the result of cls(response) @@ -220,7 +220,7 @@ async def get_next(next_link=None): def get_function_app_stacks_for_location( self, location: str, - stack_os_type: Optional[Union[str, "_models.Enum12"]] = None, + stack_os_type: Optional[Union[str, "_models.Enum11"]] = None, **kwargs: Any ) -> AsyncIterable[_models.FunctionAppStackCollection]: """Get available Function app frameworks and their versions for location. @@ -230,7 +230,7 @@ def get_function_app_stacks_for_location( :param location: Function App stack location. :type location: str :param stack_os_type: Stack OS Type. Default value is None. - :type stack_os_type: str or ~azure.mgmt.web.v2021_01_01.models.Enum12 + :type stack_os_type: str or ~azure.mgmt.web.v2021_01_01.models.Enum11 :keyword callable cls: A custom type or function that will be passed the direct response :return: An iterator like instance of either FunctionAppStackCollection or the result of cls(response) @@ -311,7 +311,7 @@ async def get_next(next_link=None): def get_web_app_stacks_for_location( self, location: str, - stack_os_type: Optional[Union[str, "_models.Enum13"]] = None, + stack_os_type: Optional[Union[str, "_models.Enum12"]] = None, **kwargs: Any ) -> AsyncIterable[_models.WebAppStackCollection]: """Get available Web app frameworks and their versions for location. @@ -321,7 +321,7 @@ def get_web_app_stacks_for_location( :param location: Web App stack location. :type location: str :param stack_os_type: Stack OS Type. Default value is None. - :type stack_os_type: str or ~azure.mgmt.web.v2021_01_01.models.Enum13 + :type stack_os_type: str or ~azure.mgmt.web.v2021_01_01.models.Enum12 :keyword callable cls: A custom type or function that will be passed the direct response :return: An iterator like instance of either WebAppStackCollection or the result of cls(response) @@ -484,7 +484,7 @@ async def get_next(next_link=None): @distributed_trace def get_web_app_stacks( self, - stack_os_type: Optional[Union[str, "_models.Enum14"]] = None, + stack_os_type: Optional[Union[str, "_models.Enum13"]] = None, **kwargs: Any ) -> AsyncIterable[_models.WebAppStackCollection]: """Get available Web app frameworks and their versions. @@ -492,7 +492,7 @@ def get_web_app_stacks( Get available Web app frameworks and their versions. :param stack_os_type: Stack OS Type. Default value is None. - :type stack_os_type: str or ~azure.mgmt.web.v2021_01_01.models.Enum14 + :type stack_os_type: str or ~azure.mgmt.web.v2021_01_01.models.Enum13 :keyword callable cls: A custom type or function that will be passed the direct response :return: An iterator like instance of either WebAppStackCollection or the result of cls(response) @@ -570,7 +570,7 @@ async def get_next(next_link=None): @distributed_trace def get_available_stacks_on_prem( self, - os_type_selected: Optional[Union[str, "_models.Enum15"]] = None, + os_type_selected: Optional[Union[str, "_models.Enum14"]] = None, **kwargs: Any ) -> AsyncIterable[_models.ApplicationStackCollection]: """Get available application frameworks and their versions. @@ -578,7 +578,7 @@ def get_available_stacks_on_prem( Get available application frameworks and their versions. :param os_type_selected: Default value is None. - :type os_type_selected: str or ~azure.mgmt.web.v2021_01_01.models.Enum15 + :type os_type_selected: str or ~azure.mgmt.web.v2021_01_01.models.Enum14 :keyword callable cls: A custom type or function that will be passed the direct response :return: An iterator like instance of either ApplicationStackCollection or the result of cls(response) diff --git a/sdk/appservice/azure-mgmt-web/azure/mgmt/web/v2021_01_01/models/__init__.py b/sdk/appservice/azure-mgmt-web/azure/mgmt/web/v2021_01_01/models/__init__.py index aac099d34338..c9c7ebf21855 100644 --- a/sdk/appservice/azure-mgmt-web/azure/mgmt/web/v2021_01_01/models/__init__.py +++ b/sdk/appservice/azure-mgmt-web/azure/mgmt/web/v2021_01_01/models/__init__.py @@ -408,8 +408,6 @@ from ._web_site_management_client_enums import ( - AppServiceCertificateOrderPatchResourcePropertiesAppServiceCertificateNotRenewableReasonsItem, - AppServiceCertificateOrderPropertiesAppServiceCertificateNotRenewableReasonsItem, AppServicePlanRestrictions, AutoHealActionType, AzureResourceType, @@ -445,7 +443,7 @@ Enum12, Enum13, Enum14, - Enum15, + Enum9, ForwardProxyConvention, FrequencyUnit, FrontEndServiceType, @@ -474,6 +472,7 @@ RedundancyMode, RenderingType, ResolveStatus, + ResourceNotRenewableReason, ResourceScopeType, RouteType, ScmType, @@ -901,8 +900,6 @@ 'WindowsJavaContainerSettings', 'WorkerPoolCollection', 'WorkerPoolResource', - 'AppServiceCertificateOrderPatchResourcePropertiesAppServiceCertificateNotRenewableReasonsItem', - 'AppServiceCertificateOrderPropertiesAppServiceCertificateNotRenewableReasonsItem', 'AppServicePlanRestrictions', 'AutoHealActionType', 'AzureResourceType', @@ -938,7 +935,7 @@ 'Enum12', 'Enum13', 'Enum14', - 'Enum15', + 'Enum9', 'ForwardProxyConvention', 'FrequencyUnit', 'FrontEndServiceType', @@ -967,6 +964,7 @@ 'RedundancyMode', 'RenderingType', 'ResolveStatus', + 'ResourceNotRenewableReason', 'ResourceScopeType', 'RouteType', 'ScmType', diff --git a/sdk/appservice/azure-mgmt-web/azure/mgmt/web/v2021_01_01/models/_models_py3.py b/sdk/appservice/azure-mgmt-web/azure/mgmt/web/v2021_01_01/models/_models_py3.py index 71b037fad08a..d2f2e2cd3221 100644 --- a/sdk/appservice/azure-mgmt-web/azure/mgmt/web/v2021_01_01/models/_models_py3.py +++ b/sdk/appservice/azure-mgmt-web/azure/mgmt/web/v2021_01_01/models/_models_py3.py @@ -1181,7 +1181,7 @@ class AppServiceCertificateOrder(Resource): :ivar app_service_certificate_not_renewable_reasons: Reasons why App Service Certificate is not renewable at the current moment. :vartype app_service_certificate_not_renewable_reasons: list[str or - ~azure.mgmt.web.v2021_01_01.models.AppServiceCertificateOrderPropertiesAppServiceCertificateNotRenewableReasonsItem] + ~azure.mgmt.web.v2021_01_01.models.ResourceNotRenewableReason] :ivar next_auto_renewal_time_stamp: Time stamp when the certificate would be auto renewed next. :vartype next_auto_renewal_time_stamp: ~datetime.datetime :ivar contact: Contact info. @@ -1392,7 +1392,7 @@ class AppServiceCertificateOrderPatchResource(ProxyOnlyResource): :ivar app_service_certificate_not_renewable_reasons: Reasons why App Service Certificate is not renewable at the current moment. :vartype app_service_certificate_not_renewable_reasons: list[str or - ~azure.mgmt.web.v2021_01_01.models.AppServiceCertificateOrderPatchResourcePropertiesAppServiceCertificateNotRenewableReasonsItem] + ~azure.mgmt.web.v2021_01_01.models.ResourceNotRenewableReason] :ivar next_auto_renewal_time_stamp: Time stamp when the certificate would be auto renewed next. :vartype next_auto_renewal_time_stamp: ~datetime.datetime :ivar contact: Contact info. diff --git a/sdk/appservice/azure-mgmt-web/azure/mgmt/web/v2021_01_01/models/_web_site_management_client_enums.py b/sdk/appservice/azure-mgmt-web/azure/mgmt/web/v2021_01_01/models/_web_site_management_client_enums.py index 1874abdb73fa..2588bb302d39 100644 --- a/sdk/appservice/azure-mgmt-web/azure/mgmt/web/v2021_01_01/models/_web_site_management_client_enums.py +++ b/sdk/appservice/azure-mgmt-web/azure/mgmt/web/v2021_01_01/models/_web_site_management_client_enums.py @@ -10,18 +10,6 @@ from azure.core import CaseInsensitiveEnumMeta -class AppServiceCertificateOrderPatchResourcePropertiesAppServiceCertificateNotRenewableReasonsItem(str, Enum, metaclass=CaseInsensitiveEnumMeta): - - REGISTRATION_STATUS_NOT_SUPPORTED_FOR_RENEWAL = "RegistrationStatusNotSupportedForRenewal" - EXPIRATION_NOT_IN_RENEWAL_TIME_RANGE = "ExpirationNotInRenewalTimeRange" - SUBSCRIPTION_NOT_ACTIVE = "SubscriptionNotActive" - -class AppServiceCertificateOrderPropertiesAppServiceCertificateNotRenewableReasonsItem(str, Enum, metaclass=CaseInsensitiveEnumMeta): - - REGISTRATION_STATUS_NOT_SUPPORTED_FOR_RENEWAL = "RegistrationStatusNotSupportedForRenewal" - EXPIRATION_NOT_IN_RENEWAL_TIME_RANGE = "ExpirationNotInRenewalTimeRange" - SUBSCRIPTION_NOT_ACTIVE = "SubscriptionNotActive" - class AppServicePlanRestrictions(str, Enum, metaclass=CaseInsensitiveEnumMeta): """App Service plans this offer is restricted to. """ @@ -342,8 +330,6 @@ class Enum10(str, Enum, metaclass=CaseInsensitiveEnumMeta): WINDOWS = "Windows" LINUX = "Linux" - WINDOWS_FUNCTIONS = "WindowsFunctions" - LINUX_FUNCTIONS = "LinuxFunctions" ALL = "All" class Enum11(str, Enum, metaclass=CaseInsensitiveEnumMeta): @@ -368,9 +354,11 @@ class Enum14(str, Enum, metaclass=CaseInsensitiveEnumMeta): WINDOWS = "Windows" LINUX = "Linux" + WINDOWS_FUNCTIONS = "WindowsFunctions" + LINUX_FUNCTIONS = "LinuxFunctions" ALL = "All" -class Enum15(str, Enum, metaclass=CaseInsensitiveEnumMeta): +class Enum9(str, Enum, metaclass=CaseInsensitiveEnumMeta): WINDOWS = "Windows" LINUX = "Linux" @@ -664,6 +652,12 @@ class ResolveStatus(str, Enum, metaclass=CaseInsensitiveEnumMeta): FETCH_TIMED_OUT = "FetchTimedOut" UNAUTHORIZED_CLIENT = "UnauthorizedClient" +class ResourceNotRenewableReason(str, Enum, metaclass=CaseInsensitiveEnumMeta): + + REGISTRATION_STATUS_NOT_SUPPORTED_FOR_RENEWAL = "RegistrationStatusNotSupportedForRenewal" + EXPIRATION_NOT_IN_RENEWAL_TIME_RANGE = "ExpirationNotInRenewalTimeRange" + SUBSCRIPTION_NOT_ACTIVE = "SubscriptionNotActive" + class ResourceScopeType(str, Enum, metaclass=CaseInsensitiveEnumMeta): """Name of a resource type this recommendation applies, e.g. Subscription, ServerFarm, Site. """ diff --git a/sdk/appservice/azure-mgmt-web/azure/mgmt/web/v2021_01_01/operations/_provider_operations.py b/sdk/appservice/azure-mgmt-web/azure/mgmt/web/v2021_01_01/operations/_provider_operations.py index a7ad1c1dd3a9..197ce9acc97b 100644 --- a/sdk/appservice/azure-mgmt-web/azure/mgmt/web/v2021_01_01/operations/_provider_operations.py +++ b/sdk/appservice/azure-mgmt-web/azure/mgmt/web/v2021_01_01/operations/_provider_operations.py @@ -29,7 +29,7 @@ def build_get_available_stacks_request( *, - os_type_selected: Optional[Union[str, "_models.Enum10"]] = None, + os_type_selected: Optional[Union[str, "_models.Enum9"]] = None, **kwargs: Any ) -> HttpRequest: _headers = case_insensitive_dict(kwargs.pop("headers", {}) or {}) @@ -60,7 +60,7 @@ def build_get_available_stacks_request( def build_get_function_app_stacks_request( *, - stack_os_type: Optional[Union[str, "_models.Enum11"]] = None, + stack_os_type: Optional[Union[str, "_models.Enum10"]] = None, **kwargs: Any ) -> HttpRequest: _headers = case_insensitive_dict(kwargs.pop("headers", {}) or {}) @@ -92,7 +92,7 @@ def build_get_function_app_stacks_request( def build_get_function_app_stacks_for_location_request( location: str, *, - stack_os_type: Optional[Union[str, "_models.Enum12"]] = None, + stack_os_type: Optional[Union[str, "_models.Enum11"]] = None, **kwargs: Any ) -> HttpRequest: _headers = case_insensitive_dict(kwargs.pop("headers", {}) or {}) @@ -129,7 +129,7 @@ def build_get_function_app_stacks_for_location_request( def build_get_web_app_stacks_for_location_request( location: str, *, - stack_os_type: Optional[Union[str, "_models.Enum13"]] = None, + stack_os_type: Optional[Union[str, "_models.Enum12"]] = None, **kwargs: Any ) -> HttpRequest: _headers = case_insensitive_dict(kwargs.pop("headers", {}) or {}) @@ -192,7 +192,7 @@ def build_list_operations_request( def build_get_web_app_stacks_request( *, - stack_os_type: Optional[Union[str, "_models.Enum14"]] = None, + stack_os_type: Optional[Union[str, "_models.Enum13"]] = None, **kwargs: Any ) -> HttpRequest: _headers = case_insensitive_dict(kwargs.pop("headers", {}) or {}) @@ -224,7 +224,7 @@ def build_get_web_app_stacks_request( def build_get_available_stacks_on_prem_request( subscription_id: str, *, - os_type_selected: Optional[Union[str, "_models.Enum15"]] = None, + os_type_selected: Optional[Union[str, "_models.Enum14"]] = None, **kwargs: Any ) -> HttpRequest: _headers = case_insensitive_dict(kwargs.pop("headers", {}) or {}) @@ -280,7 +280,7 @@ def __init__(self, *args, **kwargs): @distributed_trace def get_available_stacks( self, - os_type_selected: Optional[Union[str, "_models.Enum10"]] = None, + os_type_selected: Optional[Union[str, "_models.Enum9"]] = None, **kwargs: Any ) -> Iterable[_models.ApplicationStackCollection]: """Get available application frameworks and their versions. @@ -288,7 +288,7 @@ def get_available_stacks( Get available application frameworks and their versions. :param os_type_selected: Default value is None. - :type os_type_selected: str or ~azure.mgmt.web.v2021_01_01.models.Enum10 + :type os_type_selected: str or ~azure.mgmt.web.v2021_01_01.models.Enum9 :keyword callable cls: A custom type or function that will be passed the direct response :return: An iterator like instance of either ApplicationStackCollection or the result of cls(response) @@ -366,7 +366,7 @@ def get_next(next_link=None): @distributed_trace def get_function_app_stacks( self, - stack_os_type: Optional[Union[str, "_models.Enum11"]] = None, + stack_os_type: Optional[Union[str, "_models.Enum10"]] = None, **kwargs: Any ) -> Iterable[_models.FunctionAppStackCollection]: """Get available Function app frameworks and their versions. @@ -374,7 +374,7 @@ def get_function_app_stacks( Get available Function app frameworks and their versions. :param stack_os_type: Stack OS Type. Default value is None. - :type stack_os_type: str or ~azure.mgmt.web.v2021_01_01.models.Enum11 + :type stack_os_type: str or ~azure.mgmt.web.v2021_01_01.models.Enum10 :keyword callable cls: A custom type or function that will be passed the direct response :return: An iterator like instance of either FunctionAppStackCollection or the result of cls(response) @@ -453,7 +453,7 @@ def get_next(next_link=None): def get_function_app_stacks_for_location( self, location: str, - stack_os_type: Optional[Union[str, "_models.Enum12"]] = None, + stack_os_type: Optional[Union[str, "_models.Enum11"]] = None, **kwargs: Any ) -> Iterable[_models.FunctionAppStackCollection]: """Get available Function app frameworks and their versions for location. @@ -463,7 +463,7 @@ def get_function_app_stacks_for_location( :param location: Function App stack location. :type location: str :param stack_os_type: Stack OS Type. Default value is None. - :type stack_os_type: str or ~azure.mgmt.web.v2021_01_01.models.Enum12 + :type stack_os_type: str or ~azure.mgmt.web.v2021_01_01.models.Enum11 :keyword callable cls: A custom type or function that will be passed the direct response :return: An iterator like instance of either FunctionAppStackCollection or the result of cls(response) @@ -544,7 +544,7 @@ def get_next(next_link=None): def get_web_app_stacks_for_location( self, location: str, - stack_os_type: Optional[Union[str, "_models.Enum13"]] = None, + stack_os_type: Optional[Union[str, "_models.Enum12"]] = None, **kwargs: Any ) -> Iterable[_models.WebAppStackCollection]: """Get available Web app frameworks and their versions for location. @@ -554,7 +554,7 @@ def get_web_app_stacks_for_location( :param location: Web App stack location. :type location: str :param stack_os_type: Stack OS Type. Default value is None. - :type stack_os_type: str or ~azure.mgmt.web.v2021_01_01.models.Enum13 + :type stack_os_type: str or ~azure.mgmt.web.v2021_01_01.models.Enum12 :keyword callable cls: A custom type or function that will be passed the direct response :return: An iterator like instance of either WebAppStackCollection or the result of cls(response) @@ -715,7 +715,7 @@ def get_next(next_link=None): @distributed_trace def get_web_app_stacks( self, - stack_os_type: Optional[Union[str, "_models.Enum14"]] = None, + stack_os_type: Optional[Union[str, "_models.Enum13"]] = None, **kwargs: Any ) -> Iterable[_models.WebAppStackCollection]: """Get available Web app frameworks and their versions. @@ -723,7 +723,7 @@ def get_web_app_stacks( Get available Web app frameworks and their versions. :param stack_os_type: Stack OS Type. Default value is None. - :type stack_os_type: str or ~azure.mgmt.web.v2021_01_01.models.Enum14 + :type stack_os_type: str or ~azure.mgmt.web.v2021_01_01.models.Enum13 :keyword callable cls: A custom type or function that will be passed the direct response :return: An iterator like instance of either WebAppStackCollection or the result of cls(response) @@ -800,7 +800,7 @@ def get_next(next_link=None): @distributed_trace def get_available_stacks_on_prem( self, - os_type_selected: Optional[Union[str, "_models.Enum15"]] = None, + os_type_selected: Optional[Union[str, "_models.Enum14"]] = None, **kwargs: Any ) -> Iterable[_models.ApplicationStackCollection]: """Get available application frameworks and their versions. @@ -808,7 +808,7 @@ def get_available_stacks_on_prem( Get available application frameworks and their versions. :param os_type_selected: Default value is None. - :type os_type_selected: str or ~azure.mgmt.web.v2021_01_01.models.Enum15 + :type os_type_selected: str or ~azure.mgmt.web.v2021_01_01.models.Enum14 :keyword callable cls: A custom type or function that will be passed the direct response :return: An iterator like instance of either ApplicationStackCollection or the result of cls(response) 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 364f3c906cf9..5c14e0d8303d 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/v2021_01_15/aio/operations/_provider_operations.py b/sdk/appservice/azure-mgmt-web/azure/mgmt/web/v2021_01_15/aio/operations/_provider_operations.py index bab0068c4aa9..ee297c9838c0 100644 --- a/sdk/appservice/azure-mgmt-web/azure/mgmt/web/v2021_01_15/aio/operations/_provider_operations.py +++ b/sdk/appservice/azure-mgmt-web/azure/mgmt/web/v2021_01_15/aio/operations/_provider_operations.py @@ -47,7 +47,7 @@ def __init__(self, *args, **kwargs) -> None: @distributed_trace def get_available_stacks( self, - os_type_selected: Optional[Union[str, "_models.Enum10"]] = None, + os_type_selected: Optional[Union[str, "_models.Enum9"]] = None, **kwargs: Any ) -> AsyncIterable[_models.ApplicationStackCollection]: """Get available application frameworks and their versions. @@ -55,7 +55,7 @@ def get_available_stacks( Get available application frameworks and their versions. :param os_type_selected: Default value is None. - :type os_type_selected: str or ~azure.mgmt.web.v2021_01_15.models.Enum10 + :type os_type_selected: str or ~azure.mgmt.web.v2021_01_15.models.Enum9 :keyword callable cls: A custom type or function that will be passed the direct response :return: An iterator like instance of either ApplicationStackCollection or the result of cls(response) @@ -133,7 +133,7 @@ async def get_next(next_link=None): @distributed_trace def get_function_app_stacks( self, - stack_os_type: Optional[Union[str, "_models.Enum11"]] = None, + stack_os_type: Optional[Union[str, "_models.Enum10"]] = None, **kwargs: Any ) -> AsyncIterable[_models.FunctionAppStackCollection]: """Get available Function app frameworks and their versions. @@ -141,7 +141,7 @@ def get_function_app_stacks( Get available Function app frameworks and their versions. :param stack_os_type: Stack OS Type. Default value is None. - :type stack_os_type: str or ~azure.mgmt.web.v2021_01_15.models.Enum11 + :type stack_os_type: str or ~azure.mgmt.web.v2021_01_15.models.Enum10 :keyword callable cls: A custom type or function that will be passed the direct response :return: An iterator like instance of either FunctionAppStackCollection or the result of cls(response) @@ -220,7 +220,7 @@ async def get_next(next_link=None): def get_function_app_stacks_for_location( self, location: str, - stack_os_type: Optional[Union[str, "_models.Enum12"]] = None, + stack_os_type: Optional[Union[str, "_models.Enum11"]] = None, **kwargs: Any ) -> AsyncIterable[_models.FunctionAppStackCollection]: """Get available Function app frameworks and their versions for location. @@ -230,7 +230,7 @@ def get_function_app_stacks_for_location( :param location: Function App stack location. :type location: str :param stack_os_type: Stack OS Type. Default value is None. - :type stack_os_type: str or ~azure.mgmt.web.v2021_01_15.models.Enum12 + :type stack_os_type: str or ~azure.mgmt.web.v2021_01_15.models.Enum11 :keyword callable cls: A custom type or function that will be passed the direct response :return: An iterator like instance of either FunctionAppStackCollection or the result of cls(response) @@ -311,7 +311,7 @@ async def get_next(next_link=None): def get_web_app_stacks_for_location( self, location: str, - stack_os_type: Optional[Union[str, "_models.Enum13"]] = None, + stack_os_type: Optional[Union[str, "_models.Enum12"]] = None, **kwargs: Any ) -> AsyncIterable[_models.WebAppStackCollection]: """Get available Web app frameworks and their versions for location. @@ -321,7 +321,7 @@ def get_web_app_stacks_for_location( :param location: Web App stack location. :type location: str :param stack_os_type: Stack OS Type. Default value is None. - :type stack_os_type: str or ~azure.mgmt.web.v2021_01_15.models.Enum13 + :type stack_os_type: str or ~azure.mgmt.web.v2021_01_15.models.Enum12 :keyword callable cls: A custom type or function that will be passed the direct response :return: An iterator like instance of either WebAppStackCollection or the result of cls(response) @@ -484,7 +484,7 @@ async def get_next(next_link=None): @distributed_trace def get_web_app_stacks( self, - stack_os_type: Optional[Union[str, "_models.Enum14"]] = None, + stack_os_type: Optional[Union[str, "_models.Enum13"]] = None, **kwargs: Any ) -> AsyncIterable[_models.WebAppStackCollection]: """Get available Web app frameworks and their versions. @@ -492,7 +492,7 @@ def get_web_app_stacks( Get available Web app frameworks and their versions. :param stack_os_type: Stack OS Type. Default value is None. - :type stack_os_type: str or ~azure.mgmt.web.v2021_01_15.models.Enum14 + :type stack_os_type: str or ~azure.mgmt.web.v2021_01_15.models.Enum13 :keyword callable cls: A custom type or function that will be passed the direct response :return: An iterator like instance of either WebAppStackCollection or the result of cls(response) @@ -570,7 +570,7 @@ async def get_next(next_link=None): @distributed_trace def get_available_stacks_on_prem( self, - os_type_selected: Optional[Union[str, "_models.Enum15"]] = None, + os_type_selected: Optional[Union[str, "_models.Enum14"]] = None, **kwargs: Any ) -> AsyncIterable[_models.ApplicationStackCollection]: """Get available application frameworks and their versions. @@ -578,7 +578,7 @@ def get_available_stacks_on_prem( Get available application frameworks and their versions. :param os_type_selected: Default value is None. - :type os_type_selected: str or ~azure.mgmt.web.v2021_01_15.models.Enum15 + :type os_type_selected: str or ~azure.mgmt.web.v2021_01_15.models.Enum14 :keyword callable cls: A custom type or function that will be passed the direct response :return: An iterator like instance of either ApplicationStackCollection or the result of cls(response) diff --git a/sdk/appservice/azure-mgmt-web/azure/mgmt/web/v2021_01_15/models/__init__.py b/sdk/appservice/azure-mgmt-web/azure/mgmt/web/v2021_01_15/models/__init__.py index 0931a8010bb9..6d750a087373 100644 --- a/sdk/appservice/azure-mgmt-web/azure/mgmt/web/v2021_01_15/models/__init__.py +++ b/sdk/appservice/azure-mgmt-web/azure/mgmt/web/v2021_01_15/models/__init__.py @@ -408,8 +408,6 @@ from ._web_site_management_client_enums import ( - AppServiceCertificateOrderPatchResourcePropertiesAppServiceCertificateNotRenewableReasonsItem, - AppServiceCertificateOrderPropertiesAppServiceCertificateNotRenewableReasonsItem, AppServicePlanRestrictions, AutoHealActionType, AzureResourceType, @@ -445,7 +443,7 @@ Enum12, Enum13, Enum14, - Enum15, + Enum9, ForwardProxyConvention, FrequencyUnit, FrontEndServiceType, @@ -474,6 +472,7 @@ RedundancyMode, RenderingType, ResolveStatus, + ResourceNotRenewableReason, ResourceScopeType, RouteType, ScmType, @@ -901,8 +900,6 @@ 'WindowsJavaContainerSettings', 'WorkerPoolCollection', 'WorkerPoolResource', - 'AppServiceCertificateOrderPatchResourcePropertiesAppServiceCertificateNotRenewableReasonsItem', - 'AppServiceCertificateOrderPropertiesAppServiceCertificateNotRenewableReasonsItem', 'AppServicePlanRestrictions', 'AutoHealActionType', 'AzureResourceType', @@ -938,7 +935,7 @@ 'Enum12', 'Enum13', 'Enum14', - 'Enum15', + 'Enum9', 'ForwardProxyConvention', 'FrequencyUnit', 'FrontEndServiceType', @@ -967,6 +964,7 @@ 'RedundancyMode', 'RenderingType', 'ResolveStatus', + 'ResourceNotRenewableReason', 'ResourceScopeType', 'RouteType', 'ScmType', diff --git a/sdk/appservice/azure-mgmt-web/azure/mgmt/web/v2021_01_15/models/_models_py3.py b/sdk/appservice/azure-mgmt-web/azure/mgmt/web/v2021_01_15/models/_models_py3.py index 246d5f60daf3..ba03d7e890c0 100644 --- a/sdk/appservice/azure-mgmt-web/azure/mgmt/web/v2021_01_15/models/_models_py3.py +++ b/sdk/appservice/azure-mgmt-web/azure/mgmt/web/v2021_01_15/models/_models_py3.py @@ -1181,7 +1181,7 @@ class AppServiceCertificateOrder(Resource): :ivar app_service_certificate_not_renewable_reasons: Reasons why App Service Certificate is not renewable at the current moment. :vartype app_service_certificate_not_renewable_reasons: list[str or - ~azure.mgmt.web.v2021_01_15.models.AppServiceCertificateOrderPropertiesAppServiceCertificateNotRenewableReasonsItem] + ~azure.mgmt.web.v2021_01_15.models.ResourceNotRenewableReason] :ivar next_auto_renewal_time_stamp: Time stamp when the certificate would be auto renewed next. :vartype next_auto_renewal_time_stamp: ~datetime.datetime :ivar contact: Contact info. @@ -1392,7 +1392,7 @@ class AppServiceCertificateOrderPatchResource(ProxyOnlyResource): :ivar app_service_certificate_not_renewable_reasons: Reasons why App Service Certificate is not renewable at the current moment. :vartype app_service_certificate_not_renewable_reasons: list[str or - ~azure.mgmt.web.v2021_01_15.models.AppServiceCertificateOrderPatchResourcePropertiesAppServiceCertificateNotRenewableReasonsItem] + ~azure.mgmt.web.v2021_01_15.models.ResourceNotRenewableReason] :ivar next_auto_renewal_time_stamp: Time stamp when the certificate would be auto renewed next. :vartype next_auto_renewal_time_stamp: ~datetime.datetime :ivar contact: Contact info. diff --git a/sdk/appservice/azure-mgmt-web/azure/mgmt/web/v2021_01_15/models/_web_site_management_client_enums.py b/sdk/appservice/azure-mgmt-web/azure/mgmt/web/v2021_01_15/models/_web_site_management_client_enums.py index 1874abdb73fa..2588bb302d39 100644 --- a/sdk/appservice/azure-mgmt-web/azure/mgmt/web/v2021_01_15/models/_web_site_management_client_enums.py +++ b/sdk/appservice/azure-mgmt-web/azure/mgmt/web/v2021_01_15/models/_web_site_management_client_enums.py @@ -10,18 +10,6 @@ from azure.core import CaseInsensitiveEnumMeta -class AppServiceCertificateOrderPatchResourcePropertiesAppServiceCertificateNotRenewableReasonsItem(str, Enum, metaclass=CaseInsensitiveEnumMeta): - - REGISTRATION_STATUS_NOT_SUPPORTED_FOR_RENEWAL = "RegistrationStatusNotSupportedForRenewal" - EXPIRATION_NOT_IN_RENEWAL_TIME_RANGE = "ExpirationNotInRenewalTimeRange" - SUBSCRIPTION_NOT_ACTIVE = "SubscriptionNotActive" - -class AppServiceCertificateOrderPropertiesAppServiceCertificateNotRenewableReasonsItem(str, Enum, metaclass=CaseInsensitiveEnumMeta): - - REGISTRATION_STATUS_NOT_SUPPORTED_FOR_RENEWAL = "RegistrationStatusNotSupportedForRenewal" - EXPIRATION_NOT_IN_RENEWAL_TIME_RANGE = "ExpirationNotInRenewalTimeRange" - SUBSCRIPTION_NOT_ACTIVE = "SubscriptionNotActive" - class AppServicePlanRestrictions(str, Enum, metaclass=CaseInsensitiveEnumMeta): """App Service plans this offer is restricted to. """ @@ -342,8 +330,6 @@ class Enum10(str, Enum, metaclass=CaseInsensitiveEnumMeta): WINDOWS = "Windows" LINUX = "Linux" - WINDOWS_FUNCTIONS = "WindowsFunctions" - LINUX_FUNCTIONS = "LinuxFunctions" ALL = "All" class Enum11(str, Enum, metaclass=CaseInsensitiveEnumMeta): @@ -368,9 +354,11 @@ class Enum14(str, Enum, metaclass=CaseInsensitiveEnumMeta): WINDOWS = "Windows" LINUX = "Linux" + WINDOWS_FUNCTIONS = "WindowsFunctions" + LINUX_FUNCTIONS = "LinuxFunctions" ALL = "All" -class Enum15(str, Enum, metaclass=CaseInsensitiveEnumMeta): +class Enum9(str, Enum, metaclass=CaseInsensitiveEnumMeta): WINDOWS = "Windows" LINUX = "Linux" @@ -664,6 +652,12 @@ class ResolveStatus(str, Enum, metaclass=CaseInsensitiveEnumMeta): FETCH_TIMED_OUT = "FetchTimedOut" UNAUTHORIZED_CLIENT = "UnauthorizedClient" +class ResourceNotRenewableReason(str, Enum, metaclass=CaseInsensitiveEnumMeta): + + REGISTRATION_STATUS_NOT_SUPPORTED_FOR_RENEWAL = "RegistrationStatusNotSupportedForRenewal" + EXPIRATION_NOT_IN_RENEWAL_TIME_RANGE = "ExpirationNotInRenewalTimeRange" + SUBSCRIPTION_NOT_ACTIVE = "SubscriptionNotActive" + class ResourceScopeType(str, Enum, metaclass=CaseInsensitiveEnumMeta): """Name of a resource type this recommendation applies, e.g. Subscription, ServerFarm, Site. """ diff --git a/sdk/appservice/azure-mgmt-web/azure/mgmt/web/v2021_01_15/operations/_provider_operations.py b/sdk/appservice/azure-mgmt-web/azure/mgmt/web/v2021_01_15/operations/_provider_operations.py index d259bc16b2e4..dbca095563fd 100644 --- a/sdk/appservice/azure-mgmt-web/azure/mgmt/web/v2021_01_15/operations/_provider_operations.py +++ b/sdk/appservice/azure-mgmt-web/azure/mgmt/web/v2021_01_15/operations/_provider_operations.py @@ -29,7 +29,7 @@ def build_get_available_stacks_request( *, - os_type_selected: Optional[Union[str, "_models.Enum10"]] = None, + os_type_selected: Optional[Union[str, "_models.Enum9"]] = None, **kwargs: Any ) -> HttpRequest: _headers = case_insensitive_dict(kwargs.pop("headers", {}) or {}) @@ -60,7 +60,7 @@ def build_get_available_stacks_request( def build_get_function_app_stacks_request( *, - stack_os_type: Optional[Union[str, "_models.Enum11"]] = None, + stack_os_type: Optional[Union[str, "_models.Enum10"]] = None, **kwargs: Any ) -> HttpRequest: _headers = case_insensitive_dict(kwargs.pop("headers", {}) or {}) @@ -92,7 +92,7 @@ def build_get_function_app_stacks_request( def build_get_function_app_stacks_for_location_request( location: str, *, - stack_os_type: Optional[Union[str, "_models.Enum12"]] = None, + stack_os_type: Optional[Union[str, "_models.Enum11"]] = None, **kwargs: Any ) -> HttpRequest: _headers = case_insensitive_dict(kwargs.pop("headers", {}) or {}) @@ -129,7 +129,7 @@ def build_get_function_app_stacks_for_location_request( def build_get_web_app_stacks_for_location_request( location: str, *, - stack_os_type: Optional[Union[str, "_models.Enum13"]] = None, + stack_os_type: Optional[Union[str, "_models.Enum12"]] = None, **kwargs: Any ) -> HttpRequest: _headers = case_insensitive_dict(kwargs.pop("headers", {}) or {}) @@ -192,7 +192,7 @@ def build_list_operations_request( def build_get_web_app_stacks_request( *, - stack_os_type: Optional[Union[str, "_models.Enum14"]] = None, + stack_os_type: Optional[Union[str, "_models.Enum13"]] = None, **kwargs: Any ) -> HttpRequest: _headers = case_insensitive_dict(kwargs.pop("headers", {}) or {}) @@ -224,7 +224,7 @@ def build_get_web_app_stacks_request( def build_get_available_stacks_on_prem_request( subscription_id: str, *, - os_type_selected: Optional[Union[str, "_models.Enum15"]] = None, + os_type_selected: Optional[Union[str, "_models.Enum14"]] = None, **kwargs: Any ) -> HttpRequest: _headers = case_insensitive_dict(kwargs.pop("headers", {}) or {}) @@ -280,7 +280,7 @@ def __init__(self, *args, **kwargs): @distributed_trace def get_available_stacks( self, - os_type_selected: Optional[Union[str, "_models.Enum10"]] = None, + os_type_selected: Optional[Union[str, "_models.Enum9"]] = None, **kwargs: Any ) -> Iterable[_models.ApplicationStackCollection]: """Get available application frameworks and their versions. @@ -288,7 +288,7 @@ def get_available_stacks( Get available application frameworks and their versions. :param os_type_selected: Default value is None. - :type os_type_selected: str or ~azure.mgmt.web.v2021_01_15.models.Enum10 + :type os_type_selected: str or ~azure.mgmt.web.v2021_01_15.models.Enum9 :keyword callable cls: A custom type or function that will be passed the direct response :return: An iterator like instance of either ApplicationStackCollection or the result of cls(response) @@ -366,7 +366,7 @@ def get_next(next_link=None): @distributed_trace def get_function_app_stacks( self, - stack_os_type: Optional[Union[str, "_models.Enum11"]] = None, + stack_os_type: Optional[Union[str, "_models.Enum10"]] = None, **kwargs: Any ) -> Iterable[_models.FunctionAppStackCollection]: """Get available Function app frameworks and their versions. @@ -374,7 +374,7 @@ def get_function_app_stacks( Get available Function app frameworks and their versions. :param stack_os_type: Stack OS Type. Default value is None. - :type stack_os_type: str or ~azure.mgmt.web.v2021_01_15.models.Enum11 + :type stack_os_type: str or ~azure.mgmt.web.v2021_01_15.models.Enum10 :keyword callable cls: A custom type or function that will be passed the direct response :return: An iterator like instance of either FunctionAppStackCollection or the result of cls(response) @@ -453,7 +453,7 @@ def get_next(next_link=None): def get_function_app_stacks_for_location( self, location: str, - stack_os_type: Optional[Union[str, "_models.Enum12"]] = None, + stack_os_type: Optional[Union[str, "_models.Enum11"]] = None, **kwargs: Any ) -> Iterable[_models.FunctionAppStackCollection]: """Get available Function app frameworks and their versions for location. @@ -463,7 +463,7 @@ def get_function_app_stacks_for_location( :param location: Function App stack location. :type location: str :param stack_os_type: Stack OS Type. Default value is None. - :type stack_os_type: str or ~azure.mgmt.web.v2021_01_15.models.Enum12 + :type stack_os_type: str or ~azure.mgmt.web.v2021_01_15.models.Enum11 :keyword callable cls: A custom type or function that will be passed the direct response :return: An iterator like instance of either FunctionAppStackCollection or the result of cls(response) @@ -544,7 +544,7 @@ def get_next(next_link=None): def get_web_app_stacks_for_location( self, location: str, - stack_os_type: Optional[Union[str, "_models.Enum13"]] = None, + stack_os_type: Optional[Union[str, "_models.Enum12"]] = None, **kwargs: Any ) -> Iterable[_models.WebAppStackCollection]: """Get available Web app frameworks and their versions for location. @@ -554,7 +554,7 @@ def get_web_app_stacks_for_location( :param location: Web App stack location. :type location: str :param stack_os_type: Stack OS Type. Default value is None. - :type stack_os_type: str or ~azure.mgmt.web.v2021_01_15.models.Enum13 + :type stack_os_type: str or ~azure.mgmt.web.v2021_01_15.models.Enum12 :keyword callable cls: A custom type or function that will be passed the direct response :return: An iterator like instance of either WebAppStackCollection or the result of cls(response) @@ -715,7 +715,7 @@ def get_next(next_link=None): @distributed_trace def get_web_app_stacks( self, - stack_os_type: Optional[Union[str, "_models.Enum14"]] = None, + stack_os_type: Optional[Union[str, "_models.Enum13"]] = None, **kwargs: Any ) -> Iterable[_models.WebAppStackCollection]: """Get available Web app frameworks and their versions. @@ -723,7 +723,7 @@ def get_web_app_stacks( Get available Web app frameworks and their versions. :param stack_os_type: Stack OS Type. Default value is None. - :type stack_os_type: str or ~azure.mgmt.web.v2021_01_15.models.Enum14 + :type stack_os_type: str or ~azure.mgmt.web.v2021_01_15.models.Enum13 :keyword callable cls: A custom type or function that will be passed the direct response :return: An iterator like instance of either WebAppStackCollection or the result of cls(response) @@ -800,7 +800,7 @@ def get_next(next_link=None): @distributed_trace def get_available_stacks_on_prem( self, - os_type_selected: Optional[Union[str, "_models.Enum15"]] = None, + os_type_selected: Optional[Union[str, "_models.Enum14"]] = None, **kwargs: Any ) -> Iterable[_models.ApplicationStackCollection]: """Get available application frameworks and their versions. @@ -808,7 +808,7 @@ def get_available_stacks_on_prem( Get available application frameworks and their versions. :param os_type_selected: Default value is None. - :type os_type_selected: str or ~azure.mgmt.web.v2021_01_15.models.Enum15 + :type os_type_selected: str or ~azure.mgmt.web.v2021_01_15.models.Enum14 :keyword callable cls: A custom type or function that will be passed the direct response :return: An iterator like instance of either ApplicationStackCollection or the result of cls(response) 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 364f3c906cf9..5c14e0d8303d 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" diff --git a/sdk/appservice/azure-mgmt-web/azure/mgmt/web/v2022_03_01/aio/operations/_provider_operations.py b/sdk/appservice/azure-mgmt-web/azure/mgmt/web/v2022_03_01/aio/operations/_provider_operations.py index a5386f53dd5d..0cfd46f1cd21 100644 --- a/sdk/appservice/azure-mgmt-web/azure/mgmt/web/v2022_03_01/aio/operations/_provider_operations.py +++ b/sdk/appservice/azure-mgmt-web/azure/mgmt/web/v2022_03_01/aio/operations/_provider_operations.py @@ -47,7 +47,7 @@ def __init__(self, *args, **kwargs) -> None: @distributed_trace def get_available_stacks( self, - os_type_selected: Optional[Union[str, "_models.Enum14"]] = None, + os_type_selected: Optional[Union[str, "_models.ProviderOsTypeSelected"]] = None, **kwargs: Any ) -> AsyncIterable[_models.ApplicationStackCollection]: """Get available application frameworks and their versions. @@ -55,7 +55,7 @@ def get_available_stacks( Description for Get available application frameworks and their versions. :param os_type_selected: Default value is None. - :type os_type_selected: str or ~azure.mgmt.web.v2022_03_01.models.Enum14 + :type os_type_selected: str or ~azure.mgmt.web.v2022_03_01.models.ProviderOsTypeSelected :keyword callable cls: A custom type or function that will be passed the direct response :return: An iterator like instance of either ApplicationStackCollection or the result of cls(response) @@ -133,7 +133,7 @@ async def get_next(next_link=None): @distributed_trace def get_function_app_stacks( self, - stack_os_type: Optional[Union[str, "_models.Enum15"]] = None, + stack_os_type: Optional[Union[str, "_models.ProviderStackOsType"]] = None, **kwargs: Any ) -> AsyncIterable[_models.FunctionAppStackCollection]: """Get available Function app frameworks and their versions. @@ -141,7 +141,7 @@ def get_function_app_stacks( Description for Get available Function app frameworks and their versions. :param stack_os_type: Stack OS Type. Default value is None. - :type stack_os_type: str or ~azure.mgmt.web.v2022_03_01.models.Enum15 + :type stack_os_type: str or ~azure.mgmt.web.v2022_03_01.models.ProviderStackOsType :keyword callable cls: A custom type or function that will be passed the direct response :return: An iterator like instance of either FunctionAppStackCollection or the result of cls(response) @@ -220,7 +220,7 @@ async def get_next(next_link=None): def get_function_app_stacks_for_location( self, location: str, - stack_os_type: Optional[Union[str, "_models.Enum16"]] = None, + stack_os_type: Optional[Union[str, "_models.ProviderStackOsType"]] = None, **kwargs: Any ) -> AsyncIterable[_models.FunctionAppStackCollection]: """Get available Function app frameworks and their versions for location. @@ -230,7 +230,7 @@ def get_function_app_stacks_for_location( :param location: Function App stack location. :type location: str :param stack_os_type: Stack OS Type. Default value is None. - :type stack_os_type: str or ~azure.mgmt.web.v2022_03_01.models.Enum16 + :type stack_os_type: str or ~azure.mgmt.web.v2022_03_01.models.ProviderStackOsType :keyword callable cls: A custom type or function that will be passed the direct response :return: An iterator like instance of either FunctionAppStackCollection or the result of cls(response) @@ -311,7 +311,7 @@ async def get_next(next_link=None): def get_web_app_stacks_for_location( self, location: str, - stack_os_type: Optional[Union[str, "_models.Enum17"]] = None, + stack_os_type: Optional[Union[str, "_models.ProviderStackOsType"]] = None, **kwargs: Any ) -> AsyncIterable[_models.WebAppStackCollection]: """Get available Web app frameworks and their versions for location. @@ -321,7 +321,7 @@ def get_web_app_stacks_for_location( :param location: Web App stack location. :type location: str :param stack_os_type: Stack OS Type. Default value is None. - :type stack_os_type: str or ~azure.mgmt.web.v2022_03_01.models.Enum17 + :type stack_os_type: str or ~azure.mgmt.web.v2022_03_01.models.ProviderStackOsType :keyword callable cls: A custom type or function that will be passed the direct response :return: An iterator like instance of either WebAppStackCollection or the result of cls(response) @@ -484,7 +484,7 @@ async def get_next(next_link=None): @distributed_trace def get_web_app_stacks( self, - stack_os_type: Optional[Union[str, "_models.Enum18"]] = None, + stack_os_type: Optional[Union[str, "_models.ProviderStackOsType"]] = None, **kwargs: Any ) -> AsyncIterable[_models.WebAppStackCollection]: """Get available Web app frameworks and their versions. @@ -492,7 +492,7 @@ def get_web_app_stacks( Description for Get available Web app frameworks and their versions. :param stack_os_type: Stack OS Type. Default value is None. - :type stack_os_type: str or ~azure.mgmt.web.v2022_03_01.models.Enum18 + :type stack_os_type: str or ~azure.mgmt.web.v2022_03_01.models.ProviderStackOsType :keyword callable cls: A custom type or function that will be passed the direct response :return: An iterator like instance of either WebAppStackCollection or the result of cls(response) @@ -570,7 +570,7 @@ async def get_next(next_link=None): @distributed_trace def get_available_stacks_on_prem( self, - os_type_selected: Optional[Union[str, "_models.Enum19"]] = None, + os_type_selected: Optional[Union[str, "_models.ProviderOsTypeSelected"]] = None, **kwargs: Any ) -> AsyncIterable[_models.ApplicationStackCollection]: """Get available application frameworks and their versions. @@ -578,7 +578,7 @@ def get_available_stacks_on_prem( Description for Get available application frameworks and their versions. :param os_type_selected: Default value is None. - :type os_type_selected: str or ~azure.mgmt.web.v2022_03_01.models.Enum19 + :type os_type_selected: str or ~azure.mgmt.web.v2022_03_01.models.ProviderOsTypeSelected :keyword callable cls: A custom type or function that will be passed the direct response :return: An iterator like instance of either ApplicationStackCollection or the result of cls(response) diff --git a/sdk/appservice/azure-mgmt-web/azure/mgmt/web/v2022_03_01/models/__init__.py b/sdk/appservice/azure-mgmt-web/azure/mgmt/web/v2022_03_01/models/__init__.py index d73aca6de95b..4f9b6661181f 100644 --- a/sdk/appservice/azure-mgmt-web/azure/mgmt/web/v2022_03_01/models/__init__.py +++ b/sdk/appservice/azure-mgmt-web/azure/mgmt/web/v2022_03_01/models/__init__.py @@ -544,12 +544,6 @@ DomainStatus, DomainType, EnterpriseGradeCdnStatus, - Enum14, - Enum15, - Enum16, - Enum17, - Enum18, - Enum19, ForwardProxyConvention, FrequencyUnit, FrontEndServiceType, @@ -577,6 +571,8 @@ OpenAuthenticationProviderType, OperationStatus, ParameterType, + ProviderOsTypeSelected, + ProviderStackOsType, ProvisioningState, PublicCertificateLocation, PublishingProfileFormat, @@ -1157,12 +1153,6 @@ 'DomainStatus', 'DomainType', 'EnterpriseGradeCdnStatus', - 'Enum14', - 'Enum15', - 'Enum16', - 'Enum17', - 'Enum18', - 'Enum19', 'ForwardProxyConvention', 'FrequencyUnit', 'FrontEndServiceType', @@ -1190,6 +1180,8 @@ 'OpenAuthenticationProviderType', 'OperationStatus', 'ParameterType', + 'ProviderOsTypeSelected', + 'ProviderStackOsType', 'ProvisioningState', 'PublicCertificateLocation', 'PublishingProfileFormat', diff --git a/sdk/appservice/azure-mgmt-web/azure/mgmt/web/v2022_03_01/models/_web_site_management_client_enums.py b/sdk/appservice/azure-mgmt-web/azure/mgmt/web/v2022_03_01/models/_web_site_management_client_enums.py index e4a3815c1372..21efecce727d 100644 --- a/sdk/appservice/azure-mgmt-web/azure/mgmt/web/v2022_03_01/models/_web_site_management_client_enums.py +++ b/sdk/appservice/azure-mgmt-web/azure/mgmt/web/v2022_03_01/models/_web_site_management_client_enums.py @@ -394,46 +394,6 @@ class EnterpriseGradeCdnStatus(str, Enum, metaclass=CaseInsensitiveEnumMeta): DISABLED = "Disabled" DISABLING = "Disabling" -class Enum14(str, Enum, metaclass=CaseInsensitiveEnumMeta): - - WINDOWS = "Windows" - LINUX = "Linux" - WINDOWS_FUNCTIONS = "WindowsFunctions" - LINUX_FUNCTIONS = "LinuxFunctions" - ALL = "All" - -class Enum15(str, Enum, metaclass=CaseInsensitiveEnumMeta): - - WINDOWS = "Windows" - LINUX = "Linux" - ALL = "All" - -class Enum16(str, Enum, metaclass=CaseInsensitiveEnumMeta): - - WINDOWS = "Windows" - LINUX = "Linux" - ALL = "All" - -class Enum17(str, Enum, metaclass=CaseInsensitiveEnumMeta): - - WINDOWS = "Windows" - LINUX = "Linux" - ALL = "All" - -class Enum18(str, Enum, metaclass=CaseInsensitiveEnumMeta): - - WINDOWS = "Windows" - LINUX = "Linux" - ALL = "All" - -class Enum19(str, Enum, metaclass=CaseInsensitiveEnumMeta): - - WINDOWS = "Windows" - LINUX = "Linux" - WINDOWS_FUNCTIONS = "WindowsFunctions" - LINUX_FUNCTIONS = "LinuxFunctions" - ALL = "All" - class ForwardProxyConvention(str, Enum, metaclass=CaseInsensitiveEnumMeta): """The convention used to determine the url of the request made. """ @@ -680,6 +640,20 @@ class ParameterType(str, Enum, metaclass=CaseInsensitiveEnumMeta): OBJECT = "Object" SECURE_OBJECT = "SecureObject" +class ProviderOsTypeSelected(str, Enum, metaclass=CaseInsensitiveEnumMeta): + + WINDOWS = "Windows" + LINUX = "Linux" + WINDOWS_FUNCTIONS = "WindowsFunctions" + LINUX_FUNCTIONS = "LinuxFunctions" + ALL = "All" + +class ProviderStackOsType(str, Enum, metaclass=CaseInsensitiveEnumMeta): + + WINDOWS = "Windows" + LINUX = "Linux" + ALL = "All" + class ProvisioningState(str, Enum, metaclass=CaseInsensitiveEnumMeta): """Status of certificate order. """ diff --git a/sdk/appservice/azure-mgmt-web/azure/mgmt/web/v2022_03_01/operations/_provider_operations.py b/sdk/appservice/azure-mgmt-web/azure/mgmt/web/v2022_03_01/operations/_provider_operations.py index f32c107d0a72..8241e933fddd 100644 --- a/sdk/appservice/azure-mgmt-web/azure/mgmt/web/v2022_03_01/operations/_provider_operations.py +++ b/sdk/appservice/azure-mgmt-web/azure/mgmt/web/v2022_03_01/operations/_provider_operations.py @@ -29,7 +29,7 @@ def build_get_available_stacks_request( *, - os_type_selected: Optional[Union[str, "_models.Enum14"]] = None, + os_type_selected: Optional[Union[str, "_models.ProviderOsTypeSelected"]] = None, **kwargs: Any ) -> HttpRequest: _headers = case_insensitive_dict(kwargs.pop("headers", {}) or {}) @@ -60,7 +60,7 @@ def build_get_available_stacks_request( def build_get_function_app_stacks_request( *, - stack_os_type: Optional[Union[str, "_models.Enum15"]] = None, + stack_os_type: Optional[Union[str, "_models.ProviderStackOsType"]] = None, **kwargs: Any ) -> HttpRequest: _headers = case_insensitive_dict(kwargs.pop("headers", {}) or {}) @@ -92,7 +92,7 @@ def build_get_function_app_stacks_request( def build_get_function_app_stacks_for_location_request( location: str, *, - stack_os_type: Optional[Union[str, "_models.Enum16"]] = None, + stack_os_type: Optional[Union[str, "_models.ProviderStackOsType"]] = None, **kwargs: Any ) -> HttpRequest: _headers = case_insensitive_dict(kwargs.pop("headers", {}) or {}) @@ -129,7 +129,7 @@ def build_get_function_app_stacks_for_location_request( def build_get_web_app_stacks_for_location_request( location: str, *, - stack_os_type: Optional[Union[str, "_models.Enum17"]] = None, + stack_os_type: Optional[Union[str, "_models.ProviderStackOsType"]] = None, **kwargs: Any ) -> HttpRequest: _headers = case_insensitive_dict(kwargs.pop("headers", {}) or {}) @@ -192,7 +192,7 @@ def build_list_operations_request( def build_get_web_app_stacks_request( *, - stack_os_type: Optional[Union[str, "_models.Enum18"]] = None, + stack_os_type: Optional[Union[str, "_models.ProviderStackOsType"]] = None, **kwargs: Any ) -> HttpRequest: _headers = case_insensitive_dict(kwargs.pop("headers", {}) or {}) @@ -224,7 +224,7 @@ def build_get_web_app_stacks_request( def build_get_available_stacks_on_prem_request( subscription_id: str, *, - os_type_selected: Optional[Union[str, "_models.Enum19"]] = None, + os_type_selected: Optional[Union[str, "_models.ProviderOsTypeSelected"]] = None, **kwargs: Any ) -> HttpRequest: _headers = case_insensitive_dict(kwargs.pop("headers", {}) or {}) @@ -280,7 +280,7 @@ def __init__(self, *args, **kwargs): @distributed_trace def get_available_stacks( self, - os_type_selected: Optional[Union[str, "_models.Enum14"]] = None, + os_type_selected: Optional[Union[str, "_models.ProviderOsTypeSelected"]] = None, **kwargs: Any ) -> Iterable[_models.ApplicationStackCollection]: """Get available application frameworks and their versions. @@ -288,7 +288,7 @@ def get_available_stacks( Description for Get available application frameworks and their versions. :param os_type_selected: Default value is None. - :type os_type_selected: str or ~azure.mgmt.web.v2022_03_01.models.Enum14 + :type os_type_selected: str or ~azure.mgmt.web.v2022_03_01.models.ProviderOsTypeSelected :keyword callable cls: A custom type or function that will be passed the direct response :return: An iterator like instance of either ApplicationStackCollection or the result of cls(response) @@ -366,7 +366,7 @@ def get_next(next_link=None): @distributed_trace def get_function_app_stacks( self, - stack_os_type: Optional[Union[str, "_models.Enum15"]] = None, + stack_os_type: Optional[Union[str, "_models.ProviderStackOsType"]] = None, **kwargs: Any ) -> Iterable[_models.FunctionAppStackCollection]: """Get available Function app frameworks and their versions. @@ -374,7 +374,7 @@ def get_function_app_stacks( Description for Get available Function app frameworks and their versions. :param stack_os_type: Stack OS Type. Default value is None. - :type stack_os_type: str or ~azure.mgmt.web.v2022_03_01.models.Enum15 + :type stack_os_type: str or ~azure.mgmt.web.v2022_03_01.models.ProviderStackOsType :keyword callable cls: A custom type or function that will be passed the direct response :return: An iterator like instance of either FunctionAppStackCollection or the result of cls(response) @@ -453,7 +453,7 @@ def get_next(next_link=None): def get_function_app_stacks_for_location( self, location: str, - stack_os_type: Optional[Union[str, "_models.Enum16"]] = None, + stack_os_type: Optional[Union[str, "_models.ProviderStackOsType"]] = None, **kwargs: Any ) -> Iterable[_models.FunctionAppStackCollection]: """Get available Function app frameworks and their versions for location. @@ -463,7 +463,7 @@ def get_function_app_stacks_for_location( :param location: Function App stack location. :type location: str :param stack_os_type: Stack OS Type. Default value is None. - :type stack_os_type: str or ~azure.mgmt.web.v2022_03_01.models.Enum16 + :type stack_os_type: str or ~azure.mgmt.web.v2022_03_01.models.ProviderStackOsType :keyword callable cls: A custom type or function that will be passed the direct response :return: An iterator like instance of either FunctionAppStackCollection or the result of cls(response) @@ -544,7 +544,7 @@ def get_next(next_link=None): def get_web_app_stacks_for_location( self, location: str, - stack_os_type: Optional[Union[str, "_models.Enum17"]] = None, + stack_os_type: Optional[Union[str, "_models.ProviderStackOsType"]] = None, **kwargs: Any ) -> Iterable[_models.WebAppStackCollection]: """Get available Web app frameworks and their versions for location. @@ -554,7 +554,7 @@ def get_web_app_stacks_for_location( :param location: Web App stack location. :type location: str :param stack_os_type: Stack OS Type. Default value is None. - :type stack_os_type: str or ~azure.mgmt.web.v2022_03_01.models.Enum17 + :type stack_os_type: str or ~azure.mgmt.web.v2022_03_01.models.ProviderStackOsType :keyword callable cls: A custom type or function that will be passed the direct response :return: An iterator like instance of either WebAppStackCollection or the result of cls(response) @@ -715,7 +715,7 @@ def get_next(next_link=None): @distributed_trace def get_web_app_stacks( self, - stack_os_type: Optional[Union[str, "_models.Enum18"]] = None, + stack_os_type: Optional[Union[str, "_models.ProviderStackOsType"]] = None, **kwargs: Any ) -> Iterable[_models.WebAppStackCollection]: """Get available Web app frameworks and their versions. @@ -723,7 +723,7 @@ def get_web_app_stacks( Description for Get available Web app frameworks and their versions. :param stack_os_type: Stack OS Type. Default value is None. - :type stack_os_type: str or ~azure.mgmt.web.v2022_03_01.models.Enum18 + :type stack_os_type: str or ~azure.mgmt.web.v2022_03_01.models.ProviderStackOsType :keyword callable cls: A custom type or function that will be passed the direct response :return: An iterator like instance of either WebAppStackCollection or the result of cls(response) @@ -800,7 +800,7 @@ def get_next(next_link=None): @distributed_trace def get_available_stacks_on_prem( self, - os_type_selected: Optional[Union[str, "_models.Enum19"]] = None, + os_type_selected: Optional[Union[str, "_models.ProviderOsTypeSelected"]] = None, **kwargs: Any ) -> Iterable[_models.ApplicationStackCollection]: """Get available application frameworks and their versions. @@ -808,7 +808,7 @@ def get_available_stacks_on_prem( Description for Get available application frameworks and their versions. :param os_type_selected: Default value is None. - :type os_type_selected: str or ~azure.mgmt.web.v2022_03_01.models.Enum19 + :type os_type_selected: str or ~azure.mgmt.web.v2022_03_01.models.ProviderOsTypeSelected :keyword callable cls: A custom type or function that will be passed the direct response :return: An iterator like instance of either ApplicationStackCollection or the result of cls(response)