summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.gitignore1
-rw-r--r--python-azure-mgmt-imagebuilder.spec215
-rw-r--r--sources2
3 files changed, 183 insertions, 35 deletions
diff --git a/.gitignore b/.gitignore
index 384de3a..9e6692a 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1,2 @@
/azure-mgmt-imagebuilder-1.1.0.zip
+/azure-mgmt-imagebuilder-1.2.0.zip
diff --git a/python-azure-mgmt-imagebuilder.spec b/python-azure-mgmt-imagebuilder.spec
index bd25809..dd4ef06 100644
--- a/python-azure-mgmt-imagebuilder.spec
+++ b/python-azure-mgmt-imagebuilder.spec
@@ -1,41 +1,72 @@
%global _empty_manifest_terminate_build 0
Name: python-azure-mgmt-imagebuilder
-Version: 1.1.0
+Version: 1.2.0
Release: 1
Summary: Microsoft Azure Image Builder 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/98/1e/0308326188b9a5b1d5a88f7edbec375d48f550f5c26515789fcc6117fca7/azure-mgmt-imagebuilder-1.1.0.zip
+Source0: https://mirrors.nju.edu.cn/pypi/web/packages/6a/c9/dc0a9f1631cf3e62be90acc3cd6311faa08904d58136f1bdd5847802bb66/azure-mgmt-imagebuilder-1.2.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 Image Builder 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-imagebuilder
+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 [Image Builder](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.imagebuilder import ImageBuilderClient
+import os
+
+sub_id = os.getenv("AZURE_SUBSCRIPTION_ID")
+client = ImageBuilderClient(credential=DefaultAzureCredential(), subscription_id=sub_id)
+```
+
+## Examples
+
+Code samples for this package can be found at:
+- [Search Image Builder](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,24 @@ section of the project.
# Release History
+## 1.2.0 (2023-04-20)
+
+### Features Added
+
+ - Added operation group TriggersOperations
+ - Model ImageTemplate has a new parameter optimize
+ - Model ImageTemplateSharedImageDistributor has a new parameter target_regions
+ - Model ImageTemplateSharedImageDistributor has a new parameter versioning
+ - Model ImageTemplateSharedImageVersionSource has a new parameter exact_version
+ - Model ImageTemplateVhdDistributor has a new parameter uri
+
+## 1.2.0b1 (2022-11-28)
+
+### Other Changes
+
+ - Added generated samples in github repo
+ - Drop support for python<3.7.0
+
## 1.1.0 (2022-06-07)
**Features**
@@ -174,8 +223,6 @@ use no more than one client per process.
- Initial Release
-
-
%package -n python3-azure-mgmt-imagebuilder
Summary: Microsoft Azure Image Builder Client Library for Python
Provides: python-azure-mgmt-imagebuilder
@@ -186,26 +233,60 @@ BuildRequires: python3-pip
# Microsoft Azure SDK for Python
This is the Microsoft Azure Image Builder 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-imagebuilder
+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.imagebuilder import ImageBuilderClient
+import os
-To learn how to use this package, see the [quickstart guide](https://aka.ms/azsdk/python/mgmt)
+sub_id = os.getenv("AZURE_SUBSCRIPTION_ID")
+client = ImageBuilderClient(credential=DefaultAzureCredential(), subscription_id=sub_id)
+```
+## Examples
+Code samples for this package can be found at:
+- [Search Image Builder](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 [Image Builder](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
-# Provide Feedback
+## 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)
@@ -217,6 +298,24 @@ section of the project.
# Release History
+## 1.2.0 (2023-04-20)
+
+### Features Added
+
+ - Added operation group TriggersOperations
+ - Model ImageTemplate has a new parameter optimize
+ - Model ImageTemplateSharedImageDistributor has a new parameter target_regions
+ - Model ImageTemplateSharedImageDistributor has a new parameter versioning
+ - Model ImageTemplateSharedImageVersionSource has a new parameter exact_version
+ - Model ImageTemplateVhdDistributor has a new parameter uri
+
+## 1.2.0b1 (2022-11-28)
+
+### Other Changes
+
+ - Added generated samples in github repo
+ - Drop support for python<3.7.0
+
## 1.1.0 (2022-06-07)
**Features**
@@ -344,8 +443,6 @@ use no more than one client per process.
- Initial Release
-
-
%package help
Summary: Development documents and examples for azure-mgmt-imagebuilder
Provides: python3-azure-mgmt-imagebuilder-doc
@@ -353,26 +450,60 @@ Provides: python3-azure-mgmt-imagebuilder-doc
# Microsoft Azure SDK for Python
This is the Microsoft Azure Image Builder 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-imagebuilder
+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.
-To learn how to use this package, see the [quickstart guide](https://aka.ms/azsdk/python/mgmt)
+- `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:
-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 [Image Builder](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)
+```python
+from azure.identity import DefaultAzureCredential
+from azure.mgmt.imagebuilder import ImageBuilderClient
+import os
+sub_id = os.getenv("AZURE_SUBSCRIPTION_ID")
+client = ImageBuilderClient(credential=DefaultAzureCredential(), subscription_id=sub_id)
+```
-# Provide Feedback
+## Examples
+
+Code samples for this package can be found at:
+- [Search Image Builder](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)
@@ -384,6 +515,24 @@ section of the project.
# Release History
+## 1.2.0 (2023-04-20)
+
+### Features Added
+
+ - Added operation group TriggersOperations
+ - Model ImageTemplate has a new parameter optimize
+ - Model ImageTemplateSharedImageDistributor has a new parameter target_regions
+ - Model ImageTemplateSharedImageDistributor has a new parameter versioning
+ - Model ImageTemplateSharedImageVersionSource has a new parameter exact_version
+ - Model ImageTemplateVhdDistributor has a new parameter uri
+
+## 1.2.0b1 (2022-11-28)
+
+### Other Changes
+
+ - Added generated samples in github repo
+ - Drop support for python<3.7.0
+
## 1.1.0 (2022-06-07)
**Features**
@@ -511,10 +660,8 @@ use no more than one client per process.
- Initial Release
-
-
%prep
-%autosetup -n azure-mgmt-imagebuilder-1.1.0
+%autosetup -n azure-mgmt-imagebuilder-1.2.0
%build
%py3_build
@@ -554,5 +701,5 @@ mv %{buildroot}/doclist.lst .
%{_docdir}/*
%changelog
-* Mon Apr 10 2023 Python_Bot <Python_Bot@openeuler.org> - 1.1.0-1
+* Fri Apr 21 2023 Python_Bot <Python_Bot@openeuler.org> - 1.2.0-1
- Package Spec generated
diff --git a/sources b/sources
index 653483b..44c4565 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-182549118ddaae18e76896696d48d023 azure-mgmt-imagebuilder-1.1.0.zip
+e7b808c40921ef98fbaf95de9dec8765 azure-mgmt-imagebuilder-1.2.0.zip