diff options
author | CoprDistGit <infra@openeuler.org> | 2023-04-21 13:58:50 +0000 |
---|---|---|
committer | CoprDistGit <infra@openeuler.org> | 2023-04-21 13:58:50 +0000 |
commit | 93fee429c95edee412f73f0907ff696d26acfa17 (patch) | |
tree | 118bcd37936e8f36343ecac5002604ec0b71dde8 | |
parent | 36ac5fb87b38d67b569c611b169ba51ea05a9783 (diff) |
automatic import of python-azure-mgmt-apimanagementopeneuler20.03
-rw-r--r-- | .gitignore | 1 | ||||
-rw-r--r-- | python-azure-mgmt-apimanagement.spec | 362 | ||||
-rw-r--r-- | sources | 2 |
3 files changed, 327 insertions, 38 deletions
@@ -1 +1,2 @@ /azure-mgmt-apimanagement-3.0.0.zip +/azure-mgmt-apimanagement-4.0.0.zip diff --git a/python-azure-mgmt-apimanagement.spec b/python-azure-mgmt-apimanagement.spec index 80b24c9..a3cd158 100644 --- a/python-azure-mgmt-apimanagement.spec +++ b/python-azure-mgmt-apimanagement.spec @@ -1,42 +1,72 @@ %global _empty_manifest_terminate_build 0 Name: python-azure-mgmt-apimanagement -Version: 3.0.0 +Version: 4.0.0 Release: 1 Summary: Microsoft Azure API 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/39/91/b46486cd5e74e19028f4cde54aba6c2e150d92d13963b5f9944e5171eef9/azure-mgmt-apimanagement-3.0.0.zip +Source0: https://mirrors.nju.edu.cn/pypi/web/packages/55/41/18982d29dceae7d2cca0e03513e30d65229a6785a0ab0d6b05e942ea6f6c/azure-mgmt-apimanagement-4.0.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 API Management Client Library. -This package has been tested with Python 2.7, 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-apimanagement +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`. + +With above configuration, client can be authenticated by following code: + +```python +from azure.identity import DefaultAzureCredential +from azure.mgmt.apimanagement import ApiManagementClient +import os +sub_id = os.getenv("AZURE_SUBSCRIPTION_ID") +client = ApiManagementClient(credential=DefaultAzureCredential(), subscription_id=sub_id) +``` -To learn how to use this package, see the [quickstart guide](https://aka.ms/azsdk/python/mgmt) +## Examples +Code samples for this package can be found at: +- [Search API 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) -For docs and references, see [Python SDK References](https://docs.microsoft.com/python/api/overview/azure/) -Code samples for this package can be found at [API 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) +## Troubleshooting +## Next steps -# Provide Feedback +## 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) @@ -48,6 +78,72 @@ section of the project. # Release History +## 4.0.0 (2023-04-20) + +### Features Added + + - Added operation ApiManagementServiceOperations.begin_migrate_to_stv2 + - Added operation group ApiWikiOperations + - Added operation group ApiWikisOperations + - Added operation group AuthorizationAccessPolicyOperations + - Added operation group AuthorizationLoginLinksOperations + - Added operation group AuthorizationOperations + - Added operation group AuthorizationProviderOperations + - Added operation group DocumentationOperations + - Added operation group GraphQLApiResolverOperations + - Added operation group GraphQLApiResolverPolicyOperations + - Added operation group PolicyFragmentOperations + - Added operation group PortalConfigOperations + - Added operation group ProductWikiOperations + - Added operation group ProductWikisOperations + - Model AdditionalLocation has a new parameter nat_gateway_state + - Model AdditionalLocation has a new parameter outbound_public_ip_addresses + - Model ApiCreateOrUpdateParameter has a new parameter translate_required_query_parameters_conduct + - Model ApiCreateOrUpdateProperties has a new parameter translate_required_query_parameters_conduct + - Model ApiManagementServiceBaseProperties has a new parameter nat_gateway_state + - Model ApiManagementServiceBaseProperties has a new parameter outbound_public_ip_addresses + - Model ApiManagementServiceProperties has a new parameter nat_gateway_state + - Model ApiManagementServiceProperties has a new parameter outbound_public_ip_addresses + - Model ApiManagementServiceResource has a new parameter nat_gateway_state + - Model ApiManagementServiceResource has a new parameter outbound_public_ip_addresses + - Model ApiManagementServiceUpdateParameters has a new parameter nat_gateway_state + - Model ApiManagementServiceUpdateParameters has a new parameter outbound_public_ip_addresses + - Model ApiManagementServiceUpdateProperties has a new parameter nat_gateway_state + - Model ApiManagementServiceUpdateProperties has a new parameter outbound_public_ip_addresses + - Model AuthenticationSettingsContract has a new parameter o_auth2_authentication_settings + - Model AuthenticationSettingsContract has a new parameter openid_authentication_settings + - Model AuthorizationServerContract has a new parameter use_in_api_documentation + - Model AuthorizationServerContract has a new parameter use_in_test_console + - Model AuthorizationServerContractProperties has a new parameter use_in_api_documentation + - Model AuthorizationServerContractProperties has a new parameter use_in_test_console + - Model AuthorizationServerUpdateContract has a new parameter use_in_api_documentation + - Model AuthorizationServerUpdateContract has a new parameter use_in_test_console + - Model AuthorizationServerUpdateContractProperties has a new parameter use_in_api_documentation + - Model AuthorizationServerUpdateContractProperties has a new parameter use_in_test_console + - Model DiagnosticContract has a new parameter metrics + - Model IdentityProviderBaseParameters has a new parameter client_library + - Model IdentityProviderContract has a new parameter client_library + - Model IdentityProviderContractProperties has a new parameter client_library + - Model IdentityProviderCreateContract has a new parameter client_library + - Model IdentityProviderCreateContractProperties has a new parameter client_library + - Model IdentityProviderUpdateParameters has a new parameter client_library + - Model IdentityProviderUpdateProperties has a new parameter client_library + - Model OpenidConnectProviderContract has a new parameter use_in_api_documentation + - Model OpenidConnectProviderContract has a new parameter use_in_test_console + - Model OpenidConnectProviderUpdateContract has a new parameter use_in_api_documentation + - Model OpenidConnectProviderUpdateContract has a new parameter use_in_test_console + +### Breaking Changes + + - Operation ContentItemOperations.create_or_update has a new required parameter parameters + - Operation ContentTypeOperations.create_or_update has a new required parameter parameters + +## 3.1.0b1 (2022-11-11) + +### Features Added + + - Model DiagnosticContract has a new parameter metrics + ## 3.0.0 (2022-01-13) **Features** @@ -319,8 +415,6 @@ Last but not least, HTTP connection pooling is now enabled by default. You shoul - Initial Release - - %package -n python3-azure-mgmt-apimanagement Summary: Microsoft Azure API Management Client Library for Python Provides: python-azure-mgmt-apimanagement @@ -331,27 +425,60 @@ BuildRequires: python3-pip # Microsoft Azure SDK for Python This is the Microsoft Azure API Management Client Library. -This package has been tested with Python 2.7, 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-apimanagement +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. -To learn how to use this package, see the [quickstart guide](https://aka.ms/azsdk/python/mgmt) +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.apimanagement import ApiManagementClient +import os -For docs and references, see [Python SDK References](https://docs.microsoft.com/python/api/overview/azure/) -Code samples for this package can be found at [API 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) +sub_id = os.getenv("AZURE_SUBSCRIPTION_ID") +client = ApiManagementClient(credential=DefaultAzureCredential(), subscription_id=sub_id) +``` +## Examples -# Provide Feedback +Code samples for this package can be found at: +- [Search API 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) @@ -363,6 +490,72 @@ section of the project. # Release History +## 4.0.0 (2023-04-20) + +### Features Added + + - Added operation ApiManagementServiceOperations.begin_migrate_to_stv2 + - Added operation group ApiWikiOperations + - Added operation group ApiWikisOperations + - Added operation group AuthorizationAccessPolicyOperations + - Added operation group AuthorizationLoginLinksOperations + - Added operation group AuthorizationOperations + - Added operation group AuthorizationProviderOperations + - Added operation group DocumentationOperations + - Added operation group GraphQLApiResolverOperations + - Added operation group GraphQLApiResolverPolicyOperations + - Added operation group PolicyFragmentOperations + - Added operation group PortalConfigOperations + - Added operation group ProductWikiOperations + - Added operation group ProductWikisOperations + - Model AdditionalLocation has a new parameter nat_gateway_state + - Model AdditionalLocation has a new parameter outbound_public_ip_addresses + - Model ApiCreateOrUpdateParameter has a new parameter translate_required_query_parameters_conduct + - Model ApiCreateOrUpdateProperties has a new parameter translate_required_query_parameters_conduct + - Model ApiManagementServiceBaseProperties has a new parameter nat_gateway_state + - Model ApiManagementServiceBaseProperties has a new parameter outbound_public_ip_addresses + - Model ApiManagementServiceProperties has a new parameter nat_gateway_state + - Model ApiManagementServiceProperties has a new parameter outbound_public_ip_addresses + - Model ApiManagementServiceResource has a new parameter nat_gateway_state + - Model ApiManagementServiceResource has a new parameter outbound_public_ip_addresses + - Model ApiManagementServiceUpdateParameters has a new parameter nat_gateway_state + - Model ApiManagementServiceUpdateParameters has a new parameter outbound_public_ip_addresses + - Model ApiManagementServiceUpdateProperties has a new parameter nat_gateway_state + - Model ApiManagementServiceUpdateProperties has a new parameter outbound_public_ip_addresses + - Model AuthenticationSettingsContract has a new parameter o_auth2_authentication_settings + - Model AuthenticationSettingsContract has a new parameter openid_authentication_settings + - Model AuthorizationServerContract has a new parameter use_in_api_documentation + - Model AuthorizationServerContract has a new parameter use_in_test_console + - Model AuthorizationServerContractProperties has a new parameter use_in_api_documentation + - Model AuthorizationServerContractProperties has a new parameter use_in_test_console + - Model AuthorizationServerUpdateContract has a new parameter use_in_api_documentation + - Model AuthorizationServerUpdateContract has a new parameter use_in_test_console + - Model AuthorizationServerUpdateContractProperties has a new parameter use_in_api_documentation + - Model AuthorizationServerUpdateContractProperties has a new parameter use_in_test_console + - Model DiagnosticContract has a new parameter metrics + - Model IdentityProviderBaseParameters has a new parameter client_library + - Model IdentityProviderContract has a new parameter client_library + - Model IdentityProviderContractProperties has a new parameter client_library + - Model IdentityProviderCreateContract has a new parameter client_library + - Model IdentityProviderCreateContractProperties has a new parameter client_library + - Model IdentityProviderUpdateParameters has a new parameter client_library + - Model IdentityProviderUpdateProperties has a new parameter client_library + - Model OpenidConnectProviderContract has a new parameter use_in_api_documentation + - Model OpenidConnectProviderContract has a new parameter use_in_test_console + - Model OpenidConnectProviderUpdateContract has a new parameter use_in_api_documentation + - Model OpenidConnectProviderUpdateContract has a new parameter use_in_test_console + +### Breaking Changes + + - Operation ContentItemOperations.create_or_update has a new required parameter parameters + - Operation ContentTypeOperations.create_or_update has a new required parameter parameters + +## 3.1.0b1 (2022-11-11) + +### Features Added + + - Model DiagnosticContract has a new parameter metrics + ## 3.0.0 (2022-01-13) **Features** @@ -634,8 +827,6 @@ Last but not least, HTTP connection pooling is now enabled by default. You shoul - Initial Release - - %package help Summary: Development documents and examples for azure-mgmt-apimanagement Provides: python3-azure-mgmt-apimanagement-doc @@ -643,27 +834,60 @@ Provides: python3-azure-mgmt-apimanagement-doc # Microsoft Azure SDK for Python This is the Microsoft Azure API Management Client Library. -This package has been tested with Python 2.7, 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-apimanagement +pip install azure-identity +``` -To learn how to use this package, see the [quickstart guide](https://aka.ms/azsdk/python/mgmt) +### 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. -For docs and references, see [Python SDK References](https://docs.microsoft.com/python/api/overview/azure/) -Code samples for this package can be found at [API 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) +In addition, Azure subscription ID can be configured via environment variable `AZURE_SUBSCRIPTION_ID`. +With above configuration, client can be authenticated by following code: -# Provide Feedback +```python +from azure.identity import DefaultAzureCredential +from azure.mgmt.apimanagement import ApiManagementClient +import os + +sub_id = os.getenv("AZURE_SUBSCRIPTION_ID") +client = ApiManagementClient(credential=DefaultAzureCredential(), subscription_id=sub_id) +``` + +## Examples + +Code samples for this package can be found at: +- [Search API 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) @@ -675,6 +899,72 @@ section of the project. # Release History +## 4.0.0 (2023-04-20) + +### Features Added + + - Added operation ApiManagementServiceOperations.begin_migrate_to_stv2 + - Added operation group ApiWikiOperations + - Added operation group ApiWikisOperations + - Added operation group AuthorizationAccessPolicyOperations + - Added operation group AuthorizationLoginLinksOperations + - Added operation group AuthorizationOperations + - Added operation group AuthorizationProviderOperations + - Added operation group DocumentationOperations + - Added operation group GraphQLApiResolverOperations + - Added operation group GraphQLApiResolverPolicyOperations + - Added operation group PolicyFragmentOperations + - Added operation group PortalConfigOperations + - Added operation group ProductWikiOperations + - Added operation group ProductWikisOperations + - Model AdditionalLocation has a new parameter nat_gateway_state + - Model AdditionalLocation has a new parameter outbound_public_ip_addresses + - Model ApiCreateOrUpdateParameter has a new parameter translate_required_query_parameters_conduct + - Model ApiCreateOrUpdateProperties has a new parameter translate_required_query_parameters_conduct + - Model ApiManagementServiceBaseProperties has a new parameter nat_gateway_state + - Model ApiManagementServiceBaseProperties has a new parameter outbound_public_ip_addresses + - Model ApiManagementServiceProperties has a new parameter nat_gateway_state + - Model ApiManagementServiceProperties has a new parameter outbound_public_ip_addresses + - Model ApiManagementServiceResource has a new parameter nat_gateway_state + - Model ApiManagementServiceResource has a new parameter outbound_public_ip_addresses + - Model ApiManagementServiceUpdateParameters has a new parameter nat_gateway_state + - Model ApiManagementServiceUpdateParameters has a new parameter outbound_public_ip_addresses + - Model ApiManagementServiceUpdateProperties has a new parameter nat_gateway_state + - Model ApiManagementServiceUpdateProperties has a new parameter outbound_public_ip_addresses + - Model AuthenticationSettingsContract has a new parameter o_auth2_authentication_settings + - Model AuthenticationSettingsContract has a new parameter openid_authentication_settings + - Model AuthorizationServerContract has a new parameter use_in_api_documentation + - Model AuthorizationServerContract has a new parameter use_in_test_console + - Model AuthorizationServerContractProperties has a new parameter use_in_api_documentation + - Model AuthorizationServerContractProperties has a new parameter use_in_test_console + - Model AuthorizationServerUpdateContract has a new parameter use_in_api_documentation + - Model AuthorizationServerUpdateContract has a new parameter use_in_test_console + - Model AuthorizationServerUpdateContractProperties has a new parameter use_in_api_documentation + - Model AuthorizationServerUpdateContractProperties has a new parameter use_in_test_console + - Model DiagnosticContract has a new parameter metrics + - Model IdentityProviderBaseParameters has a new parameter client_library + - Model IdentityProviderContract has a new parameter client_library + - Model IdentityProviderContractProperties has a new parameter client_library + - Model IdentityProviderCreateContract has a new parameter client_library + - Model IdentityProviderCreateContractProperties has a new parameter client_library + - Model IdentityProviderUpdateParameters has a new parameter client_library + - Model IdentityProviderUpdateProperties has a new parameter client_library + - Model OpenidConnectProviderContract has a new parameter use_in_api_documentation + - Model OpenidConnectProviderContract has a new parameter use_in_test_console + - Model OpenidConnectProviderUpdateContract has a new parameter use_in_api_documentation + - Model OpenidConnectProviderUpdateContract has a new parameter use_in_test_console + +### Breaking Changes + + - Operation ContentItemOperations.create_or_update has a new required parameter parameters + - Operation ContentTypeOperations.create_or_update has a new required parameter parameters + +## 3.1.0b1 (2022-11-11) + +### Features Added + + - Model DiagnosticContract has a new parameter metrics + ## 3.0.0 (2022-01-13) **Features** @@ -946,10 +1236,8 @@ Last but not least, HTTP connection pooling is now enabled by default. You shoul - Initial Release - - %prep -%autosetup -n azure-mgmt-apimanagement-3.0.0 +%autosetup -n azure-mgmt-apimanagement-4.0.0 %build %py3_build @@ -989,5 +1277,5 @@ mv %{buildroot}/doclist.lst . %{_docdir}/* %changelog -* Mon Apr 10 2023 Python_Bot <Python_Bot@openeuler.org> - 3.0.0-1 +* Fri Apr 21 2023 Python_Bot <Python_Bot@openeuler.org> - 4.0.0-1 - Package Spec generated @@ -1 +1 @@ -0718e2f56828cdac081e82367f8c0dfe azure-mgmt-apimanagement-3.0.0.zip +0ca80b0e5fb0d57a7debc8b75b902f97 azure-mgmt-apimanagement-4.0.0.zip |