Skip to content

Commit e3887b0

Browse files
azure-sdkCodeJourneysChenxiJiang333
authored
[AutoPR azure-mgmt-containerregistrytasks]-generated-from-SDK Generation - Python-5780621 (Azure#44786)
* Configurations: 'specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/tspconfig.yaml', API Version: 2025-03-01-preview, SDK Release Type: beta, and CommitSHA: '3f223d61b02c0496581dfb71c78104761b448d5e' in SpecRepo: 'https://github.com/Azure/azure-rest-api-specs' Pipeline run: https://dev.azure.com/azure-sdk/internal/_build/results?buildId=5780621 Refer to https://eng.ms/docs/products/azure-developer-experience/develop/sdk-release/sdk-release-prerequisites to prepare for SDK release. * Configurations: 'specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/tspconfig.yaml', API Version: 2025-03-01-preview, SDK Release Type: beta, and CommitSHA: '92a141a5124dc3776424f311fede0a70ac789097' in SpecRepo: 'https://github.com/Azure/azure-rest-api-specs' Pipeline run: https://dev.azure.com/azure-sdk/internal/_build/results?buildId=5782944 Refer to https://eng.ms/docs/products/azure-developer-experience/develop/sdk-release/sdk-release-prerequisites to prepare for SDK release. * Update CHANGELOG.md --------- Co-authored-by: Clark Porter <CaPorter01@gmail.com> Co-authored-by: ChenxiJiang333 <119990644+ChenxiJiang333@users.noreply.github.com>
1 parent bd553e6 commit e3887b0

File tree

87 files changed

+19385
-1
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

87 files changed

+19385
-1
lines changed
Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
# Release History
2+
3+
## 1.0.0b1 (2026-02-09)
4+
5+
### Features Added
6+
7+
- Client `ContainerRegistryTasksMgmtClient` added method `send_request`
8+
- Model `AgentPoolUpdateParameters` added property `properties`
9+
- Model `TaskRunUpdateParameters` added property `properties`
10+
- Model `TaskUpdateParameters` added property `properties`
11+
- Added model `AgentPoolPropertiesUpdateParameters`
12+
- Added model `TaskPropertiesUpdateParameters`
13+
- Added model `TaskRunPropertiesUpdateParameters`
14+
15+
### Breaking Changes
16+
17+
- This version introduces new hybrid models which have dual dictionary and model nature. Please follow https://aka.ms/azsdk/python/migrate/hybrid-models for migration.
18+
- Model `EncodedTaskRunRequest` renamed its instance variable `values` to `values_property`
19+
- Model `EncodedTaskStep` renamed its instance variable `values` to `values_property`
20+
- Model `EncodedTaskStepUpdateParameters` renamed its instance variable `values` to `values_property`
21+
- Model `FileTaskRunRequest` renamed its instance variable `values` to `values_property`
22+
- Model `FileTaskStep` renamed its instance variable `values` to `values_property`
23+
- Model `FileTaskStepUpdateParameters` renamed its instance variable `values` to `values_property`
24+
- Model `OverrideTaskStepProperties` renamed its instance variable `values` to `values_property`
25+
- Model `AgentPoolUpdateParameters` moved instance variable `count` under property `properties`
26+
- Model `TaskRunUpdateParameters` moved instance variables `run_request` and `force_update_tag` under property `properties`
27+
- Model `TaskUpdateParameters` moved instance variables `status`, `platform`, `agent_configuration`, `agent_pool_name`, `timeout`, `step`, `trigger`, `credentials` and `log_template` under property `properties`
28+
29+
### Other Changes
30+
31+
- This package has been separated from [azure-mgmt-containerregistry](https://pypi.org/project/azure-mgmt-containerregistry)
Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
Copyright (c) Microsoft Corporation.
2+
3+
MIT License
4+
5+
Permission is hereby granted, free of charge, to any person obtaining a copy
6+
of this software and associated documentation files (the "Software"), to deal
7+
in the Software without restriction, including without limitation the rights
8+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9+
copies of the Software, and to permit persons to whom the Software is
10+
furnished to do so, subject to the following conditions:
11+
12+
The above copyright notice and this permission notice shall be included in all
13+
copies or substantial portions of the Software.
14+
15+
THE SOFTWARE IS PROVIDED *AS IS*, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21+
SOFTWARE.
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
include *.md
2+
include LICENSE
3+
include azure/mgmt/containerregistrytasks/py.typed
4+
recursive-include tests *.py
5+
recursive-include samples *.py *.md
6+
include azure/__init__.py
7+
include azure/mgmt/__init__.py
Lines changed: 61 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,61 @@
1+
# Microsoft Azure SDK for Python
2+
3+
This is the Microsoft Azure Containerregistrytasks Management Client Library.
4+
This package has been tested with Python 3.9+.
5+
For a more complete view of Azure libraries, see the [azure sdk python release](https://aka.ms/azsdk/python/all).
6+
7+
## _Disclaimer_
8+
9+
_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_
10+
11+
## Getting started
12+
13+
### Prerequisites
14+
15+
- Python 3.9+ is required to use this package.
16+
- [Azure subscription](https://azure.microsoft.com/free/)
17+
18+
### Install the package
19+
20+
```bash
21+
pip install azure-mgmt-containerregistrytasks
22+
pip install azure-identity
23+
```
24+
25+
### Authentication
26+
27+
By default, [Azure Active Directory](https://aka.ms/awps/aad) token authentication depends on correct configuration of the following environment variables.
28+
29+
- `AZURE_CLIENT_ID` for Azure client ID.
30+
- `AZURE_TENANT_ID` for Azure tenant ID.
31+
- `AZURE_CLIENT_SECRET` for Azure client secret.
32+
33+
In addition, Azure subscription ID can be configured via environment variable `AZURE_SUBSCRIPTION_ID`.
34+
35+
With above configuration, client can be authenticated by following code:
36+
37+
```python
38+
from azure.identity import DefaultAzureCredential
39+
from azure.mgmt.containerregistrytasks import ContainerRegistryTasksMgmtClient
40+
import os
41+
42+
sub_id = os.getenv("AZURE_SUBSCRIPTION_ID")
43+
client = ContainerRegistryTasksMgmtClient(credential=DefaultAzureCredential(), subscription_id=sub_id)
44+
```
45+
46+
## Examples
47+
48+
Code samples for this package can be found at:
49+
- [Search Containerregistrytasks Management](https://docs.microsoft.com/samples/browse/?languages=python&term=Getting%20started%20-%20Managing&terms=Getting%20started%20-%20Managing) on docs.microsoft.com
50+
- [Azure Python Mgmt SDK Samples Repo](https://aka.ms/azsdk/python/mgmt/samples)
51+
52+
53+
## Troubleshooting
54+
55+
## Next steps
56+
57+
## Provide Feedback
58+
59+
If you encounter any bugs or have suggestions, please file an issue in the
60+
[Issues](https://github.com/Azure/azure-sdk-for-python/issues)
61+
section of the project.
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
{
2+
"apiVersion": "2025-03-01-preview",
3+
"commit": "92a141a5124dc3776424f311fede0a70ac789097",
4+
"repository_url": "https://github.com/Azure/azure-rest-api-specs",
5+
"typespec_src": "specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks",
6+
"emitterVersion": "0.57.1"
7+
}

0 commit comments

Comments
 (0)