diff options
Diffstat (limited to 'python-azure-mgmt-containerinstance.spec')
| -rw-r--r-- | python-azure-mgmt-containerinstance.spec | 287 |
1 files changed, 259 insertions, 28 deletions
diff --git a/python-azure-mgmt-containerinstance.spec b/python-azure-mgmt-containerinstance.spec index 0f0332c..e8b5c97 100644 --- a/python-azure-mgmt-containerinstance.spec +++ b/python-azure-mgmt-containerinstance.spec @@ -1,16 +1,13 @@ %global _empty_manifest_terminate_build 0 Name: python-azure-mgmt-containerinstance -Version: 10.0.0 +Version: 10.1.0 Release: 1 Summary: Microsoft Azure Container Instance 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/f1/36/3b656abf3797d730305c11a627e3fda4829cb9cf65ae02629498acddd6ff/azure-mgmt-containerinstance-10.0.0.zip +Source0: https://mirrors.nju.edu.cn/pypi/web/packages/4c/19/cdb22d87560238893f5c014176b4e6868c3befbd6585bb5c44bdb1ddc997/azure-mgmt-containerinstance-10.1.0.zip BuildArch: noarch -Requires: python3-msrest -Requires: python3-azure-common -Requires: python3-azure-mgmt-core %description # Microsoft Azure SDK for Python @@ -23,17 +20,53 @@ For a more complete view of Azure libraries, see the [azure sdk python release]( _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) - -For docs and references, see [Python SDK References](https://docs.microsoft.com/python/api/overview/azure/containerinstance) -Code samples for this package can be found at [Container Instance](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://github.com/Azure-Samples/azure-samples-python-management/tree/main/samples/containerinstance) +- Python 3.7+ is required to use this package. +- [Azure subscription](https://azure.microsoft.com/free/) +### Install the package -# Provide Feedback +```bash +pip install azure-mgmt-containerinstance +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.containerinstance import ContainerInstanceManagementClient +import os + +sub_id = os.getenv("AZURE_SUBSCRIPTION_ID") +client = ContainerInstanceManagementClient(credential=DefaultAzureCredential(), subscription_id=sub_id) +``` + +## Examples + +Code samples for this package can be found at: +- [Search Container Instance](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) @@ -45,6 +78,48 @@ section of the project. # Release History +## 10.1.0 (2023-04-21) + +### Features Added + + - Model Container has a new parameter security_context + - Model ContainerGroup has a new parameter confidential_compute_properties + - Model ContainerGroup has a new parameter extensions + - Model ContainerGroup has a new parameter priority + - Model ContainerGroupProperties has a new parameter confidential_compute_properties + - Model ContainerGroupProperties has a new parameter extensions + - Model ContainerGroupProperties has a new parameter priority + - Model EncryptionProperties has a new parameter identity + - Model InitContainerDefinition has a new parameter security_context + +## 10.1.0b2 (2023-04-20) + +### Features Added + + - Model ContainerGroup has a new parameter is_custom_provisioning_timeout + - Model ContainerGroup has a new parameter provisioning_timeout_in_seconds + - Model ContainerGroupProperties has a new parameter is_custom_provisioning_timeout + - Model ContainerGroupProperties has a new parameter provisioning_timeout_in_seconds + +### Breaking Changes + + - Model ContainerGroup no longer has parameter confidential_compute_properties + - Model ContainerGroup no longer has parameter priority + - Model ContainerGroupProperties no longer has parameter confidential_compute_properties + - Model ContainerGroupProperties no longer has parameter priority + +## 10.1.0b1 (2022-12-26) + +### Features Added + + - Model ContainerGroup has a new parameter confidential_compute_properties + - Model ContainerGroup has a new parameter extensions + - Model ContainerGroup has a new parameter priority + - Model ContainerGroupProperties has a new parameter confidential_compute_properties + - Model ContainerGroupProperties has a new parameter extensions + - Model ContainerGroupProperties has a new parameter priority + - Model EncryptionProperties has a new parameter identity + ## 10.0.0 (2022-08-29) ### Features Added @@ -305,17 +380,53 @@ For a more complete view of Azure libraries, see the [azure sdk python release]( _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-containerinstance +pip install azure-identity +``` +### Authentication -To learn how to use this package, see the [quickstart guide](https://aka.ms/azsdk/python/mgmt) - -For docs and references, see [Python SDK References](https://docs.microsoft.com/python/api/overview/azure/containerinstance) -Code samples for this package can be found at [Container Instance](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://github.com/Azure-Samples/azure-samples-python-management/tree/main/samples/containerinstance) +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. -# Provide Feedback +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.containerinstance import ContainerInstanceManagementClient +import os + +sub_id = os.getenv("AZURE_SUBSCRIPTION_ID") +client = ContainerInstanceManagementClient(credential=DefaultAzureCredential(), subscription_id=sub_id) +``` + +## Examples + +Code samples for this package can be found at: +- [Search Container Instance](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) @@ -327,6 +438,48 @@ section of the project. # Release History +## 10.1.0 (2023-04-21) + +### Features Added + + - Model Container has a new parameter security_context + - Model ContainerGroup has a new parameter confidential_compute_properties + - Model ContainerGroup has a new parameter extensions + - Model ContainerGroup has a new parameter priority + - Model ContainerGroupProperties has a new parameter confidential_compute_properties + - Model ContainerGroupProperties has a new parameter extensions + - Model ContainerGroupProperties has a new parameter priority + - Model EncryptionProperties has a new parameter identity + - Model InitContainerDefinition has a new parameter security_context + +## 10.1.0b2 (2023-04-20) + +### Features Added + + - Model ContainerGroup has a new parameter is_custom_provisioning_timeout + - Model ContainerGroup has a new parameter provisioning_timeout_in_seconds + - Model ContainerGroupProperties has a new parameter is_custom_provisioning_timeout + - Model ContainerGroupProperties has a new parameter provisioning_timeout_in_seconds + +### Breaking Changes + + - Model ContainerGroup no longer has parameter confidential_compute_properties + - Model ContainerGroup no longer has parameter priority + - Model ContainerGroupProperties no longer has parameter confidential_compute_properties + - Model ContainerGroupProperties no longer has parameter priority + +## 10.1.0b1 (2022-12-26) + +### Features Added + + - Model ContainerGroup has a new parameter confidential_compute_properties + - Model ContainerGroup has a new parameter extensions + - Model ContainerGroup has a new parameter priority + - Model ContainerGroupProperties has a new parameter confidential_compute_properties + - Model ContainerGroupProperties has a new parameter extensions + - Model ContainerGroupProperties has a new parameter priority + - Model EncryptionProperties has a new parameter identity + ## 10.0.0 (2022-08-29) ### Features Added @@ -584,17 +737,53 @@ For a more complete view of Azure libraries, see the [azure sdk python release]( _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-containerinstance +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) - -For docs and references, see [Python SDK References](https://docs.microsoft.com/python/api/overview/azure/containerinstance) -Code samples for this package can be found at [Container Instance](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://github.com/Azure-Samples/azure-samples-python-management/tree/main/samples/containerinstance) +With above configuration, client can be authenticated by following code: +```python +from azure.identity import DefaultAzureCredential +from azure.mgmt.containerinstance import ContainerInstanceManagementClient +import os -# Provide Feedback +sub_id = os.getenv("AZURE_SUBSCRIPTION_ID") +client = ContainerInstanceManagementClient(credential=DefaultAzureCredential(), subscription_id=sub_id) +``` + +## Examples + +Code samples for this package can be found at: +- [Search Container Instance](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) @@ -606,6 +795,48 @@ section of the project. # Release History +## 10.1.0 (2023-04-21) + +### Features Added + + - Model Container has a new parameter security_context + - Model ContainerGroup has a new parameter confidential_compute_properties + - Model ContainerGroup has a new parameter extensions + - Model ContainerGroup has a new parameter priority + - Model ContainerGroupProperties has a new parameter confidential_compute_properties + - Model ContainerGroupProperties has a new parameter extensions + - Model ContainerGroupProperties has a new parameter priority + - Model EncryptionProperties has a new parameter identity + - Model InitContainerDefinition has a new parameter security_context + +## 10.1.0b2 (2023-04-20) + +### Features Added + + - Model ContainerGroup has a new parameter is_custom_provisioning_timeout + - Model ContainerGroup has a new parameter provisioning_timeout_in_seconds + - Model ContainerGroupProperties has a new parameter is_custom_provisioning_timeout + - Model ContainerGroupProperties has a new parameter provisioning_timeout_in_seconds + +### Breaking Changes + + - Model ContainerGroup no longer has parameter confidential_compute_properties + - Model ContainerGroup no longer has parameter priority + - Model ContainerGroupProperties no longer has parameter confidential_compute_properties + - Model ContainerGroupProperties no longer has parameter priority + +## 10.1.0b1 (2022-12-26) + +### Features Added + + - Model ContainerGroup has a new parameter confidential_compute_properties + - Model ContainerGroup has a new parameter extensions + - Model ContainerGroup has a new parameter priority + - Model ContainerGroupProperties has a new parameter confidential_compute_properties + - Model ContainerGroupProperties has a new parameter extensions + - Model ContainerGroupProperties has a new parameter priority + - Model EncryptionProperties has a new parameter identity + ## 10.0.0 (2022-08-29) ### Features Added @@ -850,7 +1081,7 @@ API version is now 2018-02-01-preview %prep -%autosetup -n azure-mgmt-containerinstance-10.0.0 +%autosetup -n azure-mgmt-containerinstance-10.1.0 %build %py3_build @@ -890,5 +1121,5 @@ mv %{buildroot}/doclist.lst . %{_docdir}/* %changelog -* Mon Apr 10 2023 Python_Bot <Python_Bot@openeuler.org> - 10.0.0-1 +* Fri Apr 21 2023 Python_Bot <Python_Bot@openeuler.org> - 10.1.0-1 - Package Spec generated |
