Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
28 commits
Select commit Hold shift + click to select a range
ab75300
Configurations: 'specification/containerregistry/resource-manager/Mi…
azure-sdk Jan 21, 2026
4cfc4db
Merge branch 'main' into sdkauto/azure-mgmt-containerregistry-5777145
CodeJourneys Jan 21, 2026
4255f86
Merge branch 'main' into sdkauto/azure-mgmt-containerregistry-5777145
CodeJourneys Jan 21, 2026
b491b49
Configurations: 'specification/containerregistry/resource-manager/Mi…
azure-sdk Jan 22, 2026
f35214c
Merge branch 'main' into sdkauto/azure-mgmt-containerregistry-5777145
CodeJourneys Jan 22, 2026
8cc842d
Merge branch 'main' into sdkauto/azure-mgmt-containerregistry-5777145
CodeJourneys Jan 23, 2026
467b4cf
Update CHANGELOG.md
msyyc Jan 26, 2026
245fb76
Merge branch 'main' into sdkauto/azure-mgmt-containerregistry-5777145
CodeJourneys Jan 26, 2026
81b7ac6
Merge branch 'main' into sdkauto/azure-mgmt-containerregistry-5777145
CodeJourneys Jan 27, 2026
681ef46
Merge branch 'main' into sdkauto/azure-mgmt-containerregistry-5777145
CodeJourneys Feb 2, 2026
6a2e8d4
Merge branch 'main' into sdkauto/azure-mgmt-containerregistry-5777145
CodeJourneys Feb 2, 2026
77f5a06
Merge branch 'main' into sdkauto/azure-mgmt-containerregistry-5777145
CodeJourneys Feb 5, 2026
c0811e4
Merge branch 'main' into sdkauto/azure-mgmt-containerregistry-5777145
CodeJourneys Feb 5, 2026
6933253
Merge branch 'main' into sdkauto/azure-mgmt-containerregistry-5777145
CodeJourneys Feb 5, 2026
d08891e
Merge branch 'main' into sdkauto/azure-mgmt-containerregistry-5777145
CodeJourneys Feb 6, 2026
d3e0cc9
Merge branch 'main' into sdkauto/azure-mgmt-containerregistry-5777145
CodeJourneys Feb 7, 2026
94075e8
update
ChenxiJiang333 Feb 10, 2026
d595c16
Create migration guide for azure-mgmt-containerregistry
ChenxiJiang333 Feb 10, 2026
22866cf
Update azure_mgmt_containerregistry_migration.md
ChenxiJiang333 Feb 10, 2026
9317e3d
Update CHANGELOG.md
ChenxiJiang333 Feb 10, 2026
19e0a87
Update CHANGELOG.md: add package link and remove redundant migration …
msyyc Feb 10, 2026
c1a92f2
Merge branch 'main' into sdkauto/azure-mgmt-containerregistry-5777145
CodeJourneys Feb 10, 2026
e48638d
Update CHANGELOG.md
ChenxiJiang333 Mar 4, 2026
43552a3
Update azure_mgmt_containerregistry_migration.md
ChenxiJiang333 Mar 4, 2026
8bd0623
Update azure_mgmt_containerregistry_migration.md
ChenxiJiang333 Mar 4, 2026
14b97b1
Update azure_mgmt_containerregistry_migration.md
ChenxiJiang333 Mar 4, 2026
d1222df
Merge branch 'main' into sdkauto/azure-mgmt-containerregistry-5777145
CodeJourneys Mar 13, 2026
74b9619
Merge branch 'main' into sdkauto/azure-mgmt-containerregistry-5777145
CodeJourneys Mar 16, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
85 changes: 85 additions & 0 deletions doc/dev/mgmt/azure_mgmt_containerregistry_migration.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,85 @@
# Azure SDK Migration Guide: `azure-mgmt-containerregistry`

The direct link to this page can be found at aka.ms/azsdk/python/migrate/azure-mgmt-containerregistry

This guide is for developers using `azure-mgmt-containerregistry` who need to migrate to the latest version.

## Summary of Changes

To improve the user experience, some APIs formerly in `azure-mgmt-containerregistry` have been moved to more focused package:
- `azure-mgmt-containerregistrytasks`

**Most APIs are still available in `azure-mgmt-containerregistry`**. Only a small subset of operations and models related to container registry tasks have been relocated.

This guide covers the two main changes you'll encounter:
1. **Client Instantiation**: Operations that moved now require a client instance from their new package.
2. **Model Imports**: Models that moved must be imported from their new package.

## Detailed Changes

### 1. Operation Changes

Below operations are now accessed through client from `azure-mgmt-containerregistrytasks`:
- AgentPoolsOperations
- RunsOperations
- TaskRunsOperations
- TasksOperations
- RegistriesOperations

**Before**:
Previously, all operations were accessed through `ContainerRegistryManagementClient`.

```python
from azure.mgmt.containerregistry import ContainerRegistryManagementClient

client = ContainerRegistryManagementClient(...)

# Operations about tasks were on the main client
client.agent_pools.list(...)
client.runs.list(...)
client.task_runs.list(...)
client.tasks.list(...)
client.registries.schedule_run(...)
```

**After**:
Now, you'll need to create clients from the new packages for those specific operations.

```python
from azure.mgmt.containerregistrytasks import ContainerRegistryTasksMgmtClient

# Client for task-related operations
tasks_client = ContainerRegistryTasksMgmtClient(...)
tasks_client.agent_pools.list(...)
tasks_client.runs.list(...)
tasks_client.task_runs.list(...)
tasks_client.tasks.list(...)
tasks_client.registries.schedule_run(...)
```

### 2. Model Import Changes

Similarly, models used by the moved operations must be imported from their new packages.

**Before**:
All models were imported from `azure.mgmt.containerregistry.models`.

```python
from azure.mgmt.containerregistry.models import AgentPool, Run, TaskRun, Task
```

**After**:
Import the moved models from their new locations.

```python
from azure.mgmt.containerregistrytasks.models import AgentPool, Run, TaskRun, Task
```

## Why These Changes?

These changes were made to create a more intuitive and organized SDK. By separating distinct functionalities into their own packages, we aim to:
- Make it easier to find the APIs you need.
- Reduce the size of the `azure-mgmt-containerregistry` package.
- Align with the principle of having smaller, service-focused packages.

If you have any questions or feedback, please open an issue on [GitHub](https://github.com/Azure/azure-sdk-for-python/issues).
50 changes: 50 additions & 0 deletions sdk/containerregistry/azure-mgmt-containerregistry/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,55 @@
# Release History

## 15.0.0 (2026-03-04)

### Features Added

- Model `ContainerRegistryManagementClient` added parameter `cloud_setting` in method `__init__`
- Client `ContainerRegistryManagementClient` added method `send_request`
- Model `ConnectedRegistry` added property `properties`
- Model `CredentialSetUpdateParameters` added property `properties`
- Model `OperationDefinition` added property `properties`
- Model `PrivateLinkResource` added property `system_data`
- Model `RegistryNameCheckRequest` added property `type`
- Model `RegistryUpdateParameters` added property `properties`
- Model `WebhookCreateParameters` added property `properties`
- Model `WebhookUpdateParameters` added property `properties`
- Added model `CacheRuleUpdateProperties`
- Added enum `ContainerRegistryResourceType`
- Added model `CredentialSetUpdateProperties`
- Added model `OperationPropertiesDefinition`
- Added model `RegistryPropertiesUpdateParameters`
- Added enum `RoleAssignmentMode`
- Added model `ScopeMapPropertiesUpdateParameters`
- Added model `TokenUpdateProperties`
- Added model `TrackedResource`
- Added model `WebhookPropertiesCreateParameters`
- Added model `WebhookPropertiesUpdateParameters`

### Breaking Changes

- This version moved some APIs to a more focused package [azure-mgmt-containerregistrytasks](https://pypi.org/project/azure-mgmt-containerregistrytasks). Please follow https://aka.ms/azsdk/python/migrate/azure-mgmt-containerregistry for migration.
- 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.
- Model `Resource` deleted or renamed its instance variable `location`
- Model `Resource` deleted or renamed its instance variable `tags`
- Deleted or renamed model `ActiveDirectoryObject`
- Deleted or renamed model `ConnectedRegistryPropertiesActivation`
- Deleted or renamed model `ConnectedRegistryPropertiesAutoGenerated`
- Deleted or renamed model `ConnectedRegistryUpdateParametersProperties`
- Deleted or renamed model `LastModifiedByType`
- Deleted or renamed model `PackageType`
- Deleted or renamed model `StorageAccountProperties`
- Model `CacheRuleUpdateParameters` moved instance variable `credential_set_resource_id` under property `properties`
- Model `ConnectedRegistry` moved instance variable `provisioning_state`, `mode`, `version`, `connection_state`, `last_activity_time`, `activation`, `parent`, `client_token_ids`, `login_server`, `logging`, `status_details`, `notifications_list` and `garbage_collection` under property `properties`
- Model `ConnectedRegistryUpdateParameters` moved instance variable `sync_properties`, `logging`, `client_token_ids`, `notifications_list` and `garbage_collection` under property `properties`
- Model `CredentialSetUpdateParameters` moved instance variable `auth_credentials` under property `properties`
- Model `OperationDefinition` moved instance variable `service_specification` under property `properties`
- Model `RegistryUpdateParameters` moved instance variable `admin_user_enabled`, `network_rule_set`, `policies`, `encryption`, `data_endpoint_enabled`, `public_network_access`, `network_rule_bypass_options` and `anonymous_pull_enabled` under property `properties`
- Model `ScopeMapUpdateParameters` moved instance variable `description` and `actions` under property `properties`
- Model `TokenUpdateParameters` moved instance variable `scope_map_id`, `status` and `credentials` under property `properties`
- Model `WebhookCreateParameters` moved instance variable `service_uri`, `custom_headers`, `status`, `scope` and `actions` under property `properties`
- Model `WebhookUpdateParameters` moved instance variable `service_uri`, `custom_headers`, `status`, `scope` and `actions` under property `properties`

## 14.1.0b4 (2025-12-05)

### Other Changes
Expand Down
Original file line number Diff line number Diff line change
@@ -1,11 +1,7 @@
{
"commit": "57c07d09696b4cffb1d23a6c9b6f4ff9212113f1",
"apiVersion": "2025-11-01",
"commit": "9e837dc0b9ac5fa4a798367b6560336cb7ca28d3",
"repository_url": "https://github.com/Azure/azure-rest-api-specs",
"autorest": "3.10.2",
"use": [
"@autorest/python@6.43.0",
"@autorest/modelerfour@4.27.0"
],
"autorest_command": "autorest specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/readme.md --generate-sample=True --generate-test=True --include-x-ms-examples-original-file=True --package-mode=azure-mgmt --python --python-sdks-folder=/mnt/vss/_work/1/azure-sdk-for-python/sdk --tag=package-2025-11-python --use=@autorest/python@6.43.0 --use=@autorest/modelerfour@4.27.0 --version=3.10.2 --version-tolerant=False",
"readme": "specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/readme.md"
"typespec_src": "specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry",
"emitterVersion": "0.57.1"
}
Loading
Loading