[AutoPR azure-resourcemanager-resources-policy]-generated-from-SDK Generation - Java-5839825#47902
Open
azure-sdk wants to merge 16 commits intoAzure:mainfrom
Open
Conversation
Contributor
API Change CheckAPIView identified API level changes in this PR and created the following API reviews |
ac4899e to
6a52d2a
Compare
3 tasks
Comment on lines
+31
to
+32
| @ServiceMethod(returns = ReturnType.SINGLE) | ||
| Mono<Response<PolicyTokenResponseInner>> acquireWithResponseAsync(PolicyTokenRequest parameters); |
Member
There was a problem hiding this comment.
This should be the new API Xiang wanted
Contributor
There was a problem hiding this comment.
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 |
XiaofeiCao
approved these changes
Feb 5, 2026
Member
|
/check-enforcer evaluate |
Member
|
/check-enforcer override |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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
Spec pull request: [resources] update python configuration azure-rest-api-specs#40082
Spec API version: