Skip to content

Conversation

@ArthurMa1978
Copy link
Member

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.

Copilot AI review requested due to automatic review settings December 5, 2025 10:21
@github-actions github-actions bot added the Mgmt This issue is related to a management package. label Dec 5, 2025
Copilot finished reviewing on behalf of ArthurMa1978 December 5, 2025 10:22
Copy link
Contributor

Copilot AI left a 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

@github-actions
Copy link

github-actions bot commented Dec 5, 2025

API Change Check

APIView identified API level changes in this PR and created the following API reviews

Azure.ResourceManager.ContainerRegistry

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Mgmt This issue is related to a management package.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants