Skip to content

[AutoPR azure-resourcemanager-resources-policy]-generated-from-SDK Generation - Java-5839825#47902

Open
azure-sdk wants to merge 16 commits intoAzure:mainfrom
azure-sdk:sdkauto/azure-resourcemanager-resources-policy-5839825
Open

[AutoPR azure-resourcemanager-resources-policy]-generated-from-SDK Generation - Java-5839825#47902
azure-sdk wants to merge 16 commits intoAzure:mainfrom
azure-sdk:sdkauto/azure-resourcemanager-resources-policy-5839825

Conversation

@azure-sdk
Copy link
Collaborator

@azure-sdk azure-sdk commented Feb 5, 2026

Configurations: 'specification/resources/resource-manager/Microsoft.Authorization/policy/tspconfig.yaml', API Version: 2025-03-01, SDK Release Type: stable, and CommitSHA: '93edc09ba3d879875fe0fcca6db36a61ff27b2d6' in SpecRepo: 'https://github.com/Azure/azure-rest-api-specs' Pipeline run: https://dev.azure.com/azure-sdk/internal/_build/results?buildId=5839825 Refer to https://eng.ms/docs/products/azure-developer-experience/develop/sdk-release/sdk-release-prerequisites to prepare for SDK release. Release plan link: https://web.powerapps.com/apps/821ab569-ae60-420d-8264-d7b5d5ef734c?release-plan-id=20361282-2e02-f111-8406-000d3a3ac981 Submitted by: xiangyan@microsoft.com

Release Plan Details

@github-actions github-actions bot added the Mgmt This issue is related to a management-plane library. label Feb 5, 2026
@github-actions
Copy link
Contributor

github-actions bot commented Feb 5, 2026

API Change Check

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

com.azure.resourcemanager:azure-resourcemanager-resources

@weidongxu-microsoft weidongxu-microsoft force-pushed the sdkauto/azure-resourcemanager-resources-policy-5839825 branch from ac4899e to 6a52d2a Compare February 5, 2026 04:09
Comment on lines +31 to +32
@ServiceMethod(returns = ReturnType.SINGLE)
Mono<Response<PolicyTokenResponseInner>> acquireWithResponseAsync(PolicyTokenRequest parameters);
Copy link
Member

@weidongxu-microsoft weidongxu-microsoft Feb 5, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This should be the new API Xiang wanted

@weidongxu-microsoft weidongxu-microsoft marked this pull request as ready for review February 5, 2026 05:53
Copilot AI review requested due to automatic review settings February 5, 2026 05:53
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 updates the Azure SDK for Java's Resource Manager resources-policy package to use API version 2025-03-01, generated from the Azure REST API specifications. The changes are auto-generated as part of the SDK release process.

Changes:

  • Updated policy API version from 2023-04-01 to 2025-03-01 (stable release)
  • Added new policy token acquisition functionality and external evaluation features
  • Enhanced policy assignment and definition models with new properties
  • Updated sample code paths to reflect reorganized specification structure
  • Version bumped from 2.53.6 to 2.54.0 (stable release)

Reviewed changes

Copilot reviewed 60 out of 181 changed files in this pull request and generated no comments.

Show a summary per file
File Description
pom.xml Version updated from 2.54.0-beta.1 to 2.54.0
CHANGELOG.md Added entry for API version update to 2025-03-01
README.md Updated version reference to 2.54.0
PolicyToken*.java New models for policy token acquisition functionality
ExternalEvaluation*.java New models for external evaluation enforcement
AssignmentType.java New enum for policy assignment types
PolicyAssignment*.java Added assignmentType and instanceId properties
PolicyDefinition*.java Added externalEvaluationEnforcementSettings property
EnforcementMode.java Added ENROLL mode for enrollment-based enforcement
OverrideKind.java Added DEFINITION_VERSION for version-specific overrides
PolicyClientImpl.java Reordered client initialization
*ClientImpl.java Updated service interface names for clarity
PolicyAssignmentsClient.java Simplified getByIdWithResponse method signature
proxy-config.json Added PolicyTokensService to native image configuration
Sample files Updated file paths to reflect spec reorganization
api-specs.json Updated source paths and generation arguments
version_client.txt Updated version tracking

@weidongxu-microsoft
Copy link
Member

/check-enforcer evaluate

@weidongxu-microsoft
Copy link
Member

/check-enforcer override

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-plane library.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants