[AutoRelease] t2-resource-policy-2026-02-06-15526(can only be merged by SDK owner)#45054
Open
azure-sdk wants to merge 1 commit intoAzure:mainfrom
Open
[AutoRelease] t2-resource-policy-2026-02-06-15526(can only be merged by SDK owner)#45054azure-sdk wants to merge 1 commit intoAzure:mainfrom
azure-sdk wants to merge 1 commit intoAzure:mainfrom
Conversation
Collaborator
Author
Contributor
There was a problem hiding this comment.
Pull request overview
This is an auto-release PR that promotes the azure-mgmt-resource-policy package from beta (1.0.0b1) to stable (1.0.0) with a major API update from 2023-04-01 to 2025-03-01.
Changes:
- Updated package stability from Beta to Production/Stable in pyproject.toml
- Upgraded version from 1.0.0b1 to 1.0.0 with breaking API changes
- Removed deprecated features (policy exemptions, variables, variable values) and added policy tokens functionality
- Regenerated all test files and samples with new API version 2025-03-01
Reviewed changes
Copilot reviewed 127 out of 129 changed files in this pull request and generated no comments.
Show a summary per file
| File | Description |
|---|---|
| pyproject.toml | Updated Development Status classifier to Production/Stable and set is_stable=true |
| _version.py | Bumped version from 1.0.0b1 to 1.0.0 |
| CHANGELOG.md | Documents breaking changes, new features, and removed functionality |
| generated_tests/* | Regenerated test files with updated API versions and new operations |
| generated_samples/* | Updated/removed samples to align with new API surface |
| Client code | Updated operations - removed exemptions/variables, added policy_tokens |
| Models | Added new models for external evaluation and policy tokens, removed exemption/variable models |
Comments suppressed due to low confidence (3)
sdk/resources/azure-mgmt-resource-policy/generated_samples/create_policy_assignment_with_enroll_enforcement.py:19
- The USAGE comment references the wrong script name. It should reference "create_policy_assignment_with_enroll_enforcement.py" but the docstring header at line 19 shows "python create_policy_assignment_with_enroll_enforcement.py" which is correct. However, looking at the original file, it was incorrectly named "create_or_update_policy_exemption.py" which has been fixed.
sdk/resources/azure-mgmt-resource-policy/generated_samples/acquire_policy_token_at_management_group.py:19 - The USAGE comment references the wrong script name. It should reference "acquire_policy_token_at_management_group.py" but the docstring header at line 19 shows "python acquire_policy_token_at_management_group.py" which is correct. The original incorrectly referenced "create_or_update_variable_value_at_management_group.py" which has been fixed.
sdk/resources/azure-mgmt-resource-policy/generated_samples/acquire_policy_token.py:19 - The USAGE comment references the wrong script name. It should reference "acquire_policy_token.py" but the docstring header at line 19 shows "python acquire_policy_token.py" which is correct. The original incorrectly referenced "get_variable.py" which has been fixed.
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.
PR for release issue https://github.com/Azure/sdk-release-request/issues/2048
After PR merged, trigger release pipeline to release
BuildTargetingString
azure-mgmt-resource-policy
Skip.CreateApiReview
(Just to record: this PR was created by this pipeline)