-
Notifications
You must be signed in to change notification settings - Fork 5.1k
Release Azure.ResourceManager.ContainerRegistry for RegistryTasks 2025-03-01-preview #54341
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull request overview
This PR upgrades the Azure.ResourceManager.ContainerRegistry SDK to use the RegistryTasks 2025-03-01-preview API version, replacing the previous 2019-06-01-preview version. The changes align with the latest Azure Container Registry Tasks API specifications.
Key changes include:
- API version upgrade from 2019-06-01-preview to 2025-03-01-preview for RegistryTasks
- Removal of long-running operation (LRO) patterns for certain operations (Update, Cancel, ScheduleRun) that now return synchronous responses
- Addition of Identity property to SourceRegistryCredentials for Entra identity-based authentication
- Model visibility changes to support new authentication patterns
- Backward compatibility maintained through obsolete method overloads
Reviewed changes
Copilot reviewed 10 out of 43 changed files in this pull request and generated no comments.
Show a summary per file
| File | Description |
|---|---|
| autorest.md | Updated API specification references to use new 2025-03-01-preview version |
| ContainerRegistryTests.cs | Updated test code to remove WaitUntil parameters from Update, Cancel, and ScheduleRun operations |
| Sample_*.cs | Regenerated sample files with updated API version references and method signatures |
| TasksRestOperations.cs | Updated API version, method return types (Create/Update now return data directly) |
| TaskRunsRestOperations.cs | Reordered methods, updated API version and return types |
| SchedulesRestOperations.cs | Updated ScheduleRun to return data directly instead of LRO |
| RunsRestOperations.cs | Updated Update and Cancel to return data/void instead of LRO patterns |
| SourceRegistryCredentials.cs | Made class public, added Identity property for Entra authentication |
| ContainerRegistryCredentials.cs | Exposed SourceRegistry property, moved SourceRegistryLoginMode to custom code |
| Resource classes | Updated to use synchronous return types, removed LRO operation sources |
| Custom/*.cs | Added obsolete method overloads for backward compatibility |
| API surface | Updated to include new synchronous methods alongside obsolete LRO methods |
| CHANGELOG.md | Documented the RegistryTasks API version upgrade |
API Change CheckAPIView identified API level changes in this PR and created the following API reviews |
Fixes https://github.com/Azure/sdk-release-request/issues/6771
Contributing to the Azure SDK
Please see our CONTRIBUTING.md if you are not familiar with contributing to this repository or have questions.
For specific information about pull request etiquette and best practices, see this section.