diff options
author | CoprDistGit <infra@openeuler.org> | 2023-04-21 11:32:20 +0000 |
---|---|---|
committer | CoprDistGit <infra@openeuler.org> | 2023-04-21 11:32:20 +0000 |
commit | e3e7723ce6f93a936ba539b078d15b1301df14db (patch) | |
tree | fdedfd58f1bc132e0d45a85f179f63af59be2602 | |
parent | d695b38edd116b2d1c65db8b467548469bcb949f (diff) |
automatic import of python-azure-mgmt-applicationinsightsopeneuler20.03
-rw-r--r-- | .gitignore | 1 | ||||
-rw-r--r-- | python-azure-mgmt-applicationinsights.spec | 227 | ||||
-rw-r--r-- | sources | 2 |
3 files changed, 195 insertions, 35 deletions
@@ -1 +1,2 @@ /azure-mgmt-applicationinsights-3.1.0.zip +/azure-mgmt-applicationinsights-4.0.0.zip diff --git a/python-azure-mgmt-applicationinsights.spec b/python-azure-mgmt-applicationinsights.spec index 3070bdd..9b75167 100644 --- a/python-azure-mgmt-applicationinsights.spec +++ b/python-azure-mgmt-applicationinsights.spec @@ -1,41 +1,72 @@ %global _empty_manifest_terminate_build 0 Name: python-azure-mgmt-applicationinsights -Version: 3.1.0 +Version: 4.0.0 Release: 1 Summary: Microsoft Azure Application Insights 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/01/52/612773d5557d4c07909c4dae62e6f0a20d68826d4f2e78e277ff67cb153d/azure-mgmt-applicationinsights-3.1.0.zip +Source0: https://mirrors.nju.edu.cn/pypi/web/packages/89/37/65811225c0611bedc784f8fd954eeb5a0e4cf58dc9f46860b33444391589/azure-mgmt-applicationinsights-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 Application Insights 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-applicationinsights +pip install azure-identity +``` -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 [Application Insights 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.applicationinsights import ApplicationInsightsManagementClient +import os + +sub_id = os.getenv("AZURE_SUBSCRIPTION_ID") +client = ApplicationInsightsManagementClient(credential=DefaultAzureCredential(), subscription_id=sub_id) +``` + +## Examples + +Code samples for this package can be found at: +- [Search Application Insights 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,28 @@ section of the project. # Release History +## 4.0.0 (2023-04-20) + +### Features Added + + - Model WebTestPropertiesValidationRules has a new parameter ignore_http_status_code + - Model WorkbookErrorDefinition has a new parameter innererror + +### Breaking Changes + + - Model WebTestPropertiesValidationRules no longer has parameter ignore_https_status_code + - Model WorkbookErrorDefinition no longer has parameter inner_error + +## 4.0.0b1 (2023-02-14) + +### Features Added + + - Model WorkbookErrorDefinition has a new parameter innererror + +### Breaking Changes + + - Model WorkbookErrorDefinition no longer has parameter inner_error + ## 3.1.0 (2022-06-02) **Features** @@ -301,8 +354,6 @@ introduce breaking changes. - Initial Release - - %package -n python3-azure-mgmt-applicationinsights Summary: Microsoft Azure Application Insights Management Client Library for Python Provides: python-azure-mgmt-applicationinsights @@ -313,26 +364,60 @@ BuildRequires: python3-pip # Microsoft Azure SDK for Python This is the Microsoft Azure Application Insights 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-applicationinsights +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 [Application Insights 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.applicationinsights import ApplicationInsightsManagementClient +import os + +sub_id = os.getenv("AZURE_SUBSCRIPTION_ID") +client = ApplicationInsightsManagementClient(credential=DefaultAzureCredential(), subscription_id=sub_id) +``` + +## Examples + +Code samples for this package can be found at: +- [Search Application Insights 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) @@ -344,6 +429,28 @@ section of the project. # Release History +## 4.0.0 (2023-04-20) + +### Features Added + + - Model WebTestPropertiesValidationRules has a new parameter ignore_http_status_code + - Model WorkbookErrorDefinition has a new parameter innererror + +### Breaking Changes + + - Model WebTestPropertiesValidationRules no longer has parameter ignore_https_status_code + - Model WorkbookErrorDefinition no longer has parameter inner_error + +## 4.0.0b1 (2023-02-14) + +### Features Added + + - Model WorkbookErrorDefinition has a new parameter innererror + +### Breaking Changes + + - Model WorkbookErrorDefinition no longer has parameter inner_error + ## 3.1.0 (2022-06-02) **Features** @@ -598,8 +705,6 @@ introduce breaking changes. - Initial Release - - %package help Summary: Development documents and examples for azure-mgmt-applicationinsights Provides: python3-azure-mgmt-applicationinsights-doc @@ -607,26 +712,60 @@ Provides: python3-azure-mgmt-applicationinsights-doc # Microsoft Azure SDK for Python This is the Microsoft Azure Application Insights 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-applicationinsights +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.applicationinsights import ApplicationInsightsManagementClient +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 [Application Insights 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 = ApplicationInsightsManagementClient(credential=DefaultAzureCredential(), subscription_id=sub_id) +``` +## Examples -# Provide Feedback +Code samples for this package can be found at: +- [Search Application Insights 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) @@ -638,6 +777,28 @@ section of the project. # Release History +## 4.0.0 (2023-04-20) + +### Features Added + + - Model WebTestPropertiesValidationRules has a new parameter ignore_http_status_code + - Model WorkbookErrorDefinition has a new parameter innererror + +### Breaking Changes + + - Model WebTestPropertiesValidationRules no longer has parameter ignore_https_status_code + - Model WorkbookErrorDefinition no longer has parameter inner_error + +## 4.0.0b1 (2023-02-14) + +### Features Added + + - Model WorkbookErrorDefinition has a new parameter innererror + +### Breaking Changes + + - Model WorkbookErrorDefinition no longer has parameter inner_error + ## 3.1.0 (2022-06-02) **Features** @@ -892,10 +1053,8 @@ introduce breaking changes. - Initial Release - - %prep -%autosetup -n azure-mgmt-applicationinsights-3.1.0 +%autosetup -n azure-mgmt-applicationinsights-4.0.0 %build %py3_build @@ -935,5 +1094,5 @@ mv %{buildroot}/doclist.lst . %{_docdir}/* %changelog -* Mon Apr 10 2023 Python_Bot <Python_Bot@openeuler.org> - 3.1.0-1 +* Fri Apr 21 2023 Python_Bot <Python_Bot@openeuler.org> - 4.0.0-1 - Package Spec generated @@ -1 +1 @@ -1e8c771d7c8857fa0ecce54a2004d20d azure-mgmt-applicationinsights-3.1.0.zip +e67fb7469b1ec1514da2c14560cbe7b3 azure-mgmt-applicationinsights-4.0.0.zip |