diff options
Diffstat (limited to 'python-azure-mgmt-web.spec')
| -rw-r--r-- | python-azure-mgmt-web.spec | 287 |
1 files changed, 253 insertions, 34 deletions
diff --git a/python-azure-mgmt-web.spec b/python-azure-mgmt-web.spec index 77bcd46..2484426 100644 --- a/python-azure-mgmt-web.spec +++ b/python-azure-mgmt-web.spec @@ -1,41 +1,72 @@ %global _empty_manifest_terminate_build 0 Name: python-azure-mgmt-web -Version: 7.0.0 +Version: 7.1.0 Release: 1 Summary: Microsoft Azure Web Apps Management Client Library for Python License: MIT License URL: https://github.com/Azure/azure-sdk-for-python -Source0: https://mirrors.nju.edu.cn/pypi/web/packages/49/40/8866f35ca9cacf7f9991bccb8fc470a1728d1445716f510d0031dbb3557c/azure-mgmt-web-7.0.0.zip +Source0: https://mirrors.nju.edu.cn/pypi/web/packages/87/c5/1f1322cf8cbb8b05531c49877a753f9de03ed3caa84d14a3f9c1c32a50f2/azure-mgmt-web-7.1.0.zip BuildArch: noarch -Requires: python3-msrest -Requires: python3-azure-common -Requires: python3-azure-mgmt-core %description # Microsoft Azure SDK for Python This is the Microsoft Azure Web Apps Management Client Library. -This package has been tested with Python 3.6+. +This package has been tested with Python 3.7+. For a more complete view of Azure libraries, see the [azure sdk python release](https://aka.ms/azsdk/python/all). ## _Disclaimer_ _Azure SDK Python packages support for Python 2.7 has ended 01 January 2022. For more information and questions, please refer to https://github.com/Azure/azure-sdk-for-python/issues/20691_ -# Usage +## Getting started +### Prerequisites -To learn how to use this package, see the [quickstart guide](https://aka.ms/azsdk/python/mgmt) +- Python 3.7+ is required to use this package. +- [Azure subscription](https://azure.microsoft.com/free/) +### Install the package +```bash +pip install azure-mgmt-web +pip install azure-identity +``` -For docs and references, see [Python SDK References](https://docs.microsoft.com/python/api/overview/azure/webapps) -Code samples for this package can be found at [Web Apps Management](https://docs.microsoft.com/samples/browse/?languages=python&term=Getting%20started%20-%20Managing&terms=Getting%20started%20-%20Managing) on docs.microsoft.com. -Additional code samples for different Azure services are available at [Samples Repo](https://aka.ms/azsdk/python/mgmt/samples) +### Authentication +By default, [Azure Active Directory](https://aka.ms/awps/aad) token authentication depends on correct configure of following environment variables. -# Provide Feedback +- `AZURE_CLIENT_ID` for Azure client ID. +- `AZURE_TENANT_ID` for Azure tenant ID. +- `AZURE_CLIENT_SECRET` for Azure client secret. + +In addition, Azure subscription ID can be configured via environment variable `AZURE_SUBSCRIPTION_ID`. + +With above configuration, client can be authenticated by following code: + +```python +from azure.identity import DefaultAzureCredential +from azure.mgmt.web import WebSiteManagementClient +import os + +sub_id = os.getenv("AZURE_SUBSCRIPTION_ID") +client = WebSiteManagementClient(credential=DefaultAzureCredential(), subscription_id=sub_id) +``` + +## Examples + +Code samples for this package can be found at: +- [Search Web Apps Management](https://docs.microsoft.com/samples/browse/?languages=python&term=Getting%20started%20-%20Managing&terms=Getting%20started%20-%20Managing) on docs.microsoft.com +- [Azure Python Mgmt SDK Samples Repo](https://aka.ms/azsdk/python/mgmt/samples) + + +## Troubleshooting + +## Next steps + +## Provide Feedback If you encounter any bugs or have suggestions, please file an issue in the [Issues](https://github.com/Azure/azure-sdk-for-python/issues) @@ -47,6 +78,48 @@ section of the project. # Release History +## 7.1.0 (2023-04-20) + +### Features Added + + - Added operation StaticSitesOperations.create_or_update_basic_auth + - Added operation StaticSitesOperations.create_or_update_build_database_connection + - Added operation StaticSitesOperations.create_or_update_database_connection + - Added operation StaticSitesOperations.delete_build_database_connection + - Added operation StaticSitesOperations.delete_database_connection + - Added operation StaticSitesOperations.get_basic_auth + - Added operation StaticSitesOperations.get_build_database_connection + - Added operation StaticSitesOperations.get_build_database_connection_with_details + - Added operation StaticSitesOperations.get_build_database_connections + - Added operation StaticSitesOperations.get_build_database_connections_with_details + - Added operation StaticSitesOperations.get_database_connection + - Added operation StaticSitesOperations.get_database_connection_with_details + - Added operation StaticSitesOperations.get_database_connections + - Added operation StaticSitesOperations.get_database_connections_with_details + - Added operation StaticSitesOperations.list_basic_auth + - Added operation StaticSitesOperations.update_build_database_connection + - Added operation StaticSitesOperations.update_database_connection + - Added operation WebAppsOperations.deploy_workflow_artifacts + - Added operation WebAppsOperations.deploy_workflow_artifacts_slot + - Added operation WebAppsOperations.get_instance_workflow_slot + - Added operation WebAppsOperations.get_workflow + - Added operation WebAppsOperations.list_instance_workflows_slot + - Added operation WebAppsOperations.list_workflows + - Added operation WebAppsOperations.list_workflows_connections + - Added operation WebAppsOperations.list_workflows_connections_slot + - Model Site has a new parameter managed_environment_id + - Model SiteConfig has a new parameter elastic_web_app_scale_limit + - Model SiteConfig has a new parameter ip_security_restrictions_default_action + - Model SiteConfig has a new parameter metadata + - Model SiteConfig has a new parameter scm_ip_security_restrictions_default_action + - Model SiteConfigResource has a new parameter elastic_web_app_scale_limit + - Model SiteConfigResource has a new parameter ip_security_restrictions_default_action + - Model SiteConfigResource has a new parameter metadata + - Model SiteConfigResource has a new parameter scm_ip_security_restrictions_default_action + - Model StaticSiteARMResource has a new parameter database_connections + - Model StaticSiteBuildARMResource has a new parameter database_connections + - Model StaticSitePatchResource has a new parameter database_connections + ## 7.0.0 (2022-07-04) **Features** @@ -1542,8 +1615,6 @@ This wheel package is now built with the azure wheel extension - Initial release - - %package -n python3-azure-mgmt-web Summary: Microsoft Azure Web Apps Management Client Library for Python Provides: python-azure-mgmt-web @@ -1554,26 +1625,60 @@ BuildRequires: python3-pip # Microsoft Azure SDK for Python This is the Microsoft Azure Web Apps Management Client Library. -This package has been tested with Python 3.6+. +This package has been tested with Python 3.7+. For a more complete view of Azure libraries, see the [azure sdk python release](https://aka.ms/azsdk/python/all). ## _Disclaimer_ _Azure SDK Python packages support for Python 2.7 has ended 01 January 2022. For more information and questions, please refer to https://github.com/Azure/azure-sdk-for-python/issues/20691_ -# Usage +## Getting started + +### Prerequisites + +- Python 3.7+ is required to use this package. +- [Azure subscription](https://azure.microsoft.com/free/) + +### Install the package + +```bash +pip install azure-mgmt-web +pip install azure-identity +``` + +### Authentication + +By default, [Azure Active Directory](https://aka.ms/awps/aad) token authentication depends on correct configure of following environment variables. + +- `AZURE_CLIENT_ID` for Azure client ID. +- `AZURE_TENANT_ID` for Azure tenant ID. +- `AZURE_CLIENT_SECRET` for Azure client secret. +In addition, Azure subscription ID can be configured via environment variable `AZURE_SUBSCRIPTION_ID`. -To learn how to use this package, see the [quickstart guide](https://aka.ms/azsdk/python/mgmt) +With above configuration, client can be authenticated by following code: +```python +from azure.identity import DefaultAzureCredential +from azure.mgmt.web import WebSiteManagementClient +import os +sub_id = os.getenv("AZURE_SUBSCRIPTION_ID") +client = WebSiteManagementClient(credential=DefaultAzureCredential(), subscription_id=sub_id) +``` -For docs and references, see [Python SDK References](https://docs.microsoft.com/python/api/overview/azure/webapps) -Code samples for this package can be found at [Web Apps Management](https://docs.microsoft.com/samples/browse/?languages=python&term=Getting%20started%20-%20Managing&terms=Getting%20started%20-%20Managing) on docs.microsoft.com. -Additional code samples for different Azure services are available at [Samples Repo](https://aka.ms/azsdk/python/mgmt/samples) +## Examples +Code samples for this package can be found at: +- [Search Web Apps Management](https://docs.microsoft.com/samples/browse/?languages=python&term=Getting%20started%20-%20Managing&terms=Getting%20started%20-%20Managing) on docs.microsoft.com +- [Azure Python Mgmt SDK Samples Repo](https://aka.ms/azsdk/python/mgmt/samples) -# Provide Feedback + +## Troubleshooting + +## Next steps + +## Provide Feedback If you encounter any bugs or have suggestions, please file an issue in the [Issues](https://github.com/Azure/azure-sdk-for-python/issues) @@ -1585,6 +1690,48 @@ section of the project. # Release History +## 7.1.0 (2023-04-20) + +### Features Added + + - Added operation StaticSitesOperations.create_or_update_basic_auth + - Added operation StaticSitesOperations.create_or_update_build_database_connection + - Added operation StaticSitesOperations.create_or_update_database_connection + - Added operation StaticSitesOperations.delete_build_database_connection + - Added operation StaticSitesOperations.delete_database_connection + - Added operation StaticSitesOperations.get_basic_auth + - Added operation StaticSitesOperations.get_build_database_connection + - Added operation StaticSitesOperations.get_build_database_connection_with_details + - Added operation StaticSitesOperations.get_build_database_connections + - Added operation StaticSitesOperations.get_build_database_connections_with_details + - Added operation StaticSitesOperations.get_database_connection + - Added operation StaticSitesOperations.get_database_connection_with_details + - Added operation StaticSitesOperations.get_database_connections + - Added operation StaticSitesOperations.get_database_connections_with_details + - Added operation StaticSitesOperations.list_basic_auth + - Added operation StaticSitesOperations.update_build_database_connection + - Added operation StaticSitesOperations.update_database_connection + - Added operation WebAppsOperations.deploy_workflow_artifacts + - Added operation WebAppsOperations.deploy_workflow_artifacts_slot + - Added operation WebAppsOperations.get_instance_workflow_slot + - Added operation WebAppsOperations.get_workflow + - Added operation WebAppsOperations.list_instance_workflows_slot + - Added operation WebAppsOperations.list_workflows + - Added operation WebAppsOperations.list_workflows_connections + - Added operation WebAppsOperations.list_workflows_connections_slot + - Model Site has a new parameter managed_environment_id + - Model SiteConfig has a new parameter elastic_web_app_scale_limit + - Model SiteConfig has a new parameter ip_security_restrictions_default_action + - Model SiteConfig has a new parameter metadata + - Model SiteConfig has a new parameter scm_ip_security_restrictions_default_action + - Model SiteConfigResource has a new parameter elastic_web_app_scale_limit + - Model SiteConfigResource has a new parameter ip_security_restrictions_default_action + - Model SiteConfigResource has a new parameter metadata + - Model SiteConfigResource has a new parameter scm_ip_security_restrictions_default_action + - Model StaticSiteARMResource has a new parameter database_connections + - Model StaticSiteBuildARMResource has a new parameter database_connections + - Model StaticSitePatchResource has a new parameter database_connections + ## 7.0.0 (2022-07-04) **Features** @@ -3080,8 +3227,6 @@ This wheel package is now built with the azure wheel extension - Initial release - - %package help Summary: Development documents and examples for azure-mgmt-web Provides: python3-azure-mgmt-web-doc @@ -3089,26 +3234,60 @@ Provides: python3-azure-mgmt-web-doc # Microsoft Azure SDK for Python This is the Microsoft Azure Web Apps Management Client Library. -This package has been tested with Python 3.6+. +This package has been tested with Python 3.7+. For a more complete view of Azure libraries, see the [azure sdk python release](https://aka.ms/azsdk/python/all). ## _Disclaimer_ _Azure SDK Python packages support for Python 2.7 has ended 01 January 2022. For more information and questions, please refer to https://github.com/Azure/azure-sdk-for-python/issues/20691_ -# Usage +## Getting started + +### Prerequisites + +- Python 3.7+ is required to use this package. +- [Azure subscription](https://azure.microsoft.com/free/) + +### Install the package + +```bash +pip install azure-mgmt-web +pip install azure-identity +``` +### Authentication -To learn how to use this package, see the [quickstart guide](https://aka.ms/azsdk/python/mgmt) +By default, [Azure Active Directory](https://aka.ms/awps/aad) token authentication depends on correct configure of following environment variables. +- `AZURE_CLIENT_ID` for Azure client ID. +- `AZURE_TENANT_ID` for Azure tenant ID. +- `AZURE_CLIENT_SECRET` for Azure client secret. +In addition, Azure subscription ID can be configured via environment variable `AZURE_SUBSCRIPTION_ID`. -For docs and references, see [Python SDK References](https://docs.microsoft.com/python/api/overview/azure/webapps) -Code samples for this package can be found at [Web Apps Management](https://docs.microsoft.com/samples/browse/?languages=python&term=Getting%20started%20-%20Managing&terms=Getting%20started%20-%20Managing) on docs.microsoft.com. -Additional code samples for different Azure services are available at [Samples Repo](https://aka.ms/azsdk/python/mgmt/samples) +With above configuration, client can be authenticated by following code: +```python +from azure.identity import DefaultAzureCredential +from azure.mgmt.web import WebSiteManagementClient +import os -# Provide Feedback +sub_id = os.getenv("AZURE_SUBSCRIPTION_ID") +client = WebSiteManagementClient(credential=DefaultAzureCredential(), subscription_id=sub_id) +``` + +## Examples + +Code samples for this package can be found at: +- [Search Web Apps Management](https://docs.microsoft.com/samples/browse/?languages=python&term=Getting%20started%20-%20Managing&terms=Getting%20started%20-%20Managing) on docs.microsoft.com +- [Azure Python Mgmt SDK Samples Repo](https://aka.ms/azsdk/python/mgmt/samples) + + +## Troubleshooting + +## Next steps + +## Provide Feedback If you encounter any bugs or have suggestions, please file an issue in the [Issues](https://github.com/Azure/azure-sdk-for-python/issues) @@ -3120,6 +3299,48 @@ section of the project. # Release History +## 7.1.0 (2023-04-20) + +### Features Added + + - Added operation StaticSitesOperations.create_or_update_basic_auth + - Added operation StaticSitesOperations.create_or_update_build_database_connection + - Added operation StaticSitesOperations.create_or_update_database_connection + - Added operation StaticSitesOperations.delete_build_database_connection + - Added operation StaticSitesOperations.delete_database_connection + - Added operation StaticSitesOperations.get_basic_auth + - Added operation StaticSitesOperations.get_build_database_connection + - Added operation StaticSitesOperations.get_build_database_connection_with_details + - Added operation StaticSitesOperations.get_build_database_connections + - Added operation StaticSitesOperations.get_build_database_connections_with_details + - Added operation StaticSitesOperations.get_database_connection + - Added operation StaticSitesOperations.get_database_connection_with_details + - Added operation StaticSitesOperations.get_database_connections + - Added operation StaticSitesOperations.get_database_connections_with_details + - Added operation StaticSitesOperations.list_basic_auth + - Added operation StaticSitesOperations.update_build_database_connection + - Added operation StaticSitesOperations.update_database_connection + - Added operation WebAppsOperations.deploy_workflow_artifacts + - Added operation WebAppsOperations.deploy_workflow_artifacts_slot + - Added operation WebAppsOperations.get_instance_workflow_slot + - Added operation WebAppsOperations.get_workflow + - Added operation WebAppsOperations.list_instance_workflows_slot + - Added operation WebAppsOperations.list_workflows + - Added operation WebAppsOperations.list_workflows_connections + - Added operation WebAppsOperations.list_workflows_connections_slot + - Model Site has a new parameter managed_environment_id + - Model SiteConfig has a new parameter elastic_web_app_scale_limit + - Model SiteConfig has a new parameter ip_security_restrictions_default_action + - Model SiteConfig has a new parameter metadata + - Model SiteConfig has a new parameter scm_ip_security_restrictions_default_action + - Model SiteConfigResource has a new parameter elastic_web_app_scale_limit + - Model SiteConfigResource has a new parameter ip_security_restrictions_default_action + - Model SiteConfigResource has a new parameter metadata + - Model SiteConfigResource has a new parameter scm_ip_security_restrictions_default_action + - Model StaticSiteARMResource has a new parameter database_connections + - Model StaticSiteBuildARMResource has a new parameter database_connections + - Model StaticSitePatchResource has a new parameter database_connections + ## 7.0.0 (2022-07-04) **Features** @@ -4615,10 +4836,8 @@ This wheel package is now built with the azure wheel extension - Initial release - - %prep -%autosetup -n azure-mgmt-web-7.0.0 +%autosetup -n azure-mgmt-web-7.1.0 %build %py3_build @@ -4658,5 +4877,5 @@ mv %{buildroot}/doclist.lst . %{_docdir}/* %changelog -* Mon Apr 10 2023 Python_Bot <Python_Bot@openeuler.org> - 7.0.0-1 +* Fri Apr 21 2023 Python_Bot <Python_Bot@openeuler.org> - 7.1.0-1 - Package Spec generated |
