Skip to content

[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
azure-sdk:t2-resource-policy-2026-02-06-15526
Open

[AutoRelease] t2-resource-policy-2026-02-06-15526(can only be merged by SDK owner)#45054
azure-sdk wants to merge 1 commit intoAzure:mainfrom
azure-sdk:t2-resource-policy-2026-02-06-15526

Conversation

@azure-sdk
Copy link
Collaborator

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)

Copilot AI review requested due to automatic review settings February 6, 2026 06:16
@azure-sdk
Copy link
Collaborator Author

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

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant