Skip to content

[AutoPR azure-mgmt-resource-policy]-generated-from-SDK Generation - Python-6845337 - #49053

Open
azure-sdk-automation[bot] wants to merge 1 commit into
mainfrom
sdkauto/azure-mgmt-resource-policy-6845337
Open

azure-sdk-automation[bot] wants to merge 1 commit into
mainfrom
sdkauto/azure-mgmt-resource-policy-6845337

Conversation

@azure-sdk-automation

@azure-sdk-automation azure-sdk-automation Bot commented Sep 16, 2026

Copy link
Copy Markdown
Contributor

Configurations: 'specification/resources/resource-manager/Microsoft.Authorization/policy/tspconfig.yaml', API Version: 2026-06-01, SDK Release Type: stable, and CommitSHA: '710828f4424a112000ac9a81896a8648f87b7548' in SpecRepo: 'https://github.com/Azure/azure-rest-api-specs' Pipeline run: https://dev.azure.com/azure-sdk/internal/_build/results?buildId=6845337 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://azsdk-releaseplan-dashboard-hveph5aqhhcfhtgu.westus-01.azurewebsites.net/?releaseplan=36570 Submitted by: dunnryan@microsoft.com

Release Plan Details

…uthorization/policy/tspconfig.yaml', API Version: 2026-06-01, SDK Release Type: stable, and CommitSHA: '710828f4424a112000ac9a81896a8648f87b7548' in SpecRepo: 'https://github.com/Azure/azure-rest-api-specs' Pipeline run: https://dev.azure.com/azure-sdk/internal/_build/results?buildId=6845337 Refer to https://eng.ms/docs/products/azure-developer-experience/develop/sdk-release/sdk-release-prerequisites to prepare for SDK release.
Copilot AI balanced review requested due to automatic review settings September 16, 2026 21:22
@azure-sdk-automation azure-sdk-automation Bot added the auto-release When merged to main, release pipelines for this PR's changed packages trigger automatically. label Sep 16, 2026
@azure-pipelines

Copy link
Copy Markdown
Azure Pipelines:
Successfully started running 1 pipeline(s).
9 pipeline(s) were filtered out due to trigger conditions.
There may be pipelines that require an authorized user to comment /azp run to run.

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

🔵 Needs a closer look

Broad generated API changes and breaking removals require final human validation.

Pull request overview

Regenerates the Azure Policy SDK for stable API version 2026-06-01 and package version 1.0.0.

Changes:

  • Adds rollout-percentage selector support.
  • Removes obsolete preview enrollment, exemption, and variable APIs.
  • Regenerates clients, models, metadata, tests, and samples.
  • Updates the changelog and package configuration.
File summaries
File Reviewed change
sdk/resources/azure-mgmt-resource-policy/tsp-location.yaml Updates the pinned specification commit.
sdk/resources/azure-mgmt-resource-policy/pyproject.toml Promotes package metadata to stable.
sdk/resources/azure-mgmt-resource-policy/generated_tests/test_policy_variables_operations.py Removes obsolete variable operation tests.
sdk/resources/azure-mgmt-resource-policy/generated_tests/test_policy_variables_operations_async.py Removes obsolete asynchronous variable tests.
sdk/resources/azure-mgmt-resource-policy/generated_tests/test_policy_variable_values_operations.py Removes obsolete variable-value tests.
sdk/resources/azure-mgmt-resource-policy/generated_tests/test_policy_variable_values_operations_async.py Removes obsolete asynchronous variable-value tests.
sdk/resources/azure-mgmt-resource-policy/generated_tests/test_policy_policy_exemptions_operations.py Removes obsolete exemption tests.
sdk/resources/azure-mgmt-resource-policy/generated_tests/test_policy_policy_exemptions_operations_async.py Removes obsolete asynchronous exemption tests.
sdk/resources/azure-mgmt-resource-policy/generated_tests/test_policy_policy_enrollments_operations.py Removes obsolete enrollment tests.
sdk/resources/azure-mgmt-resource-policy/generated_tests/test_policy_policy_enrollments_operations_async.py Removes obsolete asynchronous enrollment tests.
sdk/resources/azure-mgmt-resource-policy/generated_tests/test_policy_policy_assignments_operations.py Updates selector test payloads.
sdk/resources/azure-mgmt-resource-policy/generated_tests/test_policy_policy_assignments_operations_async.py Updates asynchronous selector test payloads.
sdk/resources/azure-mgmt-resource-policy/generated_samples/update_policy_exemption_with_resource_selectors.py Removes an obsolete exemption sample.
sdk/resources/azure-mgmt-resource-policy/generated_samples/update_policy_exemption_with_exemption_management_mode.py Removes an obsolete exemption sample.
sdk/resources/azure-mgmt-resource-policy/generated_samples/update_policy_enrollment_with_resource_selectors.py Removes an obsolete enrollment sample.
sdk/resources/azure-mgmt-resource-policy/generated_samples/update_policy_assignment_with_user_assigned_identity.py Updates the assignment sample.
sdk/resources/azure-mgmt-resource-policy/generated_samples/update_policy_assignment_with_selfserve_exemption_settings.py Updates the assignment sample.
sdk/resources/azure-mgmt-resource-policy/generated_samples/update_policy_assignment_with_resource_selectors.py Updates the assignment sample.
sdk/resources/azure-mgmt-resource-policy/generated_samples/update_policy_assignment_with_resource_rollout_percentage_selector.py Updates the rollout-percentage selector sample.
sdk/resources/azure-mgmt-resource-policy/generated_samples/update_policy_assignment_with_overrides.py Updates the assignment sample.
sdk/resources/azure-mgmt-resource-policy/generated_samples/update_policy_assignment_with_identity.py Updates the assignment sample.
sdk/resources/azure-mgmt-resource-policy/generated_samples/list_variables_for_subscription.py Removes an obsolete variable sample.
sdk/resources/azure-mgmt-resource-policy/generated_samples/list_variables_for_management_group.py Removes an obsolete variable sample.
sdk/resources/azure-mgmt-resource-policy/generated_samples/list_variable_values_for_subscription.py Removes an obsolete variable-value sample.
sdk/resources/azure-mgmt-resource-policy/generated_samples/list_variable_values_for_management_group.py Removes an obsolete variable-value sample.
sdk/resources/azure-mgmt-resource-policy/generated_samples/list_policy_set_definitions.py Updates the generated sample.
sdk/resources/azure-mgmt-resource-policy/generated_samples/list_policy_set_definitions_by_management_group.py Updates the generated sample.
sdk/resources/azure-mgmt-resource-policy/generated_samples/list_policy_set_definition_versions.py Updates the generated sample.
sdk/resources/azure-mgmt-resource-policy/generated_samples/list_policy_set_definition_versions_by_management_group.py Updates the generated sample.
sdk/resources/azure-mgmt-resource-policy/generated_samples/list_policy_exemptions_for_subscription.py Removes an obsolete exemption sample.
sdk/resources/azure-mgmt-resource-policy/generated_samples/list_policy_exemptions_for_resource.py Removes an obsolete exemption sample.
sdk/resources/azure-mgmt-resource-policy/generated_samples/list_policy_exemptions_for_resource_group.py Removes an obsolete exemption sample.
sdk/resources/azure-mgmt-resource-policy/generated_samples/list_policy_exemptions_for_management_group.py Removes an obsolete exemption sample.
sdk/resources/azure-mgmt-resource-policy/generated_samples/list_policy_enrollments_for_subscription.py Removes an obsolete enrollment sample.
sdk/resources/azure-mgmt-resource-policy/generated_samples/list_policy_enrollments_for_resource.py Removes an obsolete enrollment sample.
sdk/resources/azure-mgmt-resource-policy/generated_samples/list_policy_enrollments_for_resource_group.py Removes an obsolete enrollment sample.
sdk/resources/azure-mgmt-resource-policy/generated_samples/list_policy_enrollments_for_management_group.py Removes an obsolete enrollment sample.
sdk/resources/azure-mgmt-resource-policy/generated_samples/list_policy_definitions.py Updates the generated sample.
sdk/resources/azure-mgmt-resource-policy/generated_samples/list_policy_definitions_by_management_group.py Updates the generated sample.
sdk/resources/azure-mgmt-resource-policy/generated_samples/list_policy_definition_versions.py Updates the generated sample.
sdk/resources/azure-mgmt-resource-policy/generated_samples/list_policy_definition_versions_by_management_group.py Updates the generated sample.
sdk/resources/azure-mgmt-resource-policy/generated_samples/list_policy_assignments.py Updates the generated sample.
sdk/resources/azure-mgmt-resource-policy/generated_samples/list_policy_assignments_for_resource.py Updates the generated sample.
sdk/resources/azure-mgmt-resource-policy/generated_samples/list_policy_assignments_for_resource_group.py Updates the generated sample.
sdk/resources/azure-mgmt-resource-policy/generated_samples/list_policy_assignments_for_management_group.py Updates the generated sample.
sdk/resources/azure-mgmt-resource-policy/generated_samples/list_data_policy_manifests.py Updates the generated sample.
sdk/resources/azure-mgmt-resource-policy/generated_samples/list_data_policy_manifests_namespace_filter.py Updates the generated sample.
sdk/resources/azure-mgmt-resource-policy/generated_samples/list_built_in_policy_set_definitions.py Updates the generated sample.
sdk/resources/azure-mgmt-resource-policy/generated_samples/list_built_in_policy_set_definition_versions.py Updates the generated sample.
sdk/resources/azure-mgmt-resource-policy/generated_samples/list_built_in_policy_definitions.py Updates the generated sample.
sdk/resources/azure-mgmt-resource-policy/generated_samples/list_built_in_policy_definition_versions.py Updates the generated sample.
sdk/resources/azure-mgmt-resource-policy/generated_samples/list_all_policy_set_definition_versions.py Updates the generated sample.
sdk/resources/azure-mgmt-resource-policy/generated_samples/list_all_policy_set_definition_versions_by_management_group.py Updates the generated sample.
sdk/resources/azure-mgmt-resource-policy/generated_samples/list_all_policy_definition_versions.py Updates the generated sample.
sdk/resources/azure-mgmt-resource-policy/generated_samples/list_all_policy_definition_versions_by_management_group.py Updates the generated sample.
sdk/resources/azure-mgmt-resource-policy/generated_samples/list_all_built_in_policy_set_definition_versions.py Updates the generated sample.
sdk/resources/azure-mgmt-resource-policy/generated_samples/list_all_built_in_policy_definition_versions.py Updates the generated sample.
sdk/resources/azure-mgmt-resource-policy/generated_samples/get_variable.py Removes an obsolete variable sample.
sdk/resources/azure-mgmt-resource-policy/generated_samples/get_variable_value.py Removes an obsolete variable-value sample.
sdk/resources/azure-mgmt-resource-policy/generated_samples/get_variable_value_at_management_group.py Removes an obsolete variable-value sample.
sdk/resources/azure-mgmt-resource-policy/generated_samples/get_variable_at_management_group.py Removes an obsolete variable sample.
sdk/resources/azure-mgmt-resource-policy/generated_samples/get_policy_set_definition.py Updates the generated sample.
sdk/resources/azure-mgmt-resource-policy/generated_samples/get_policy_set_definition_version.py Updates the generated sample.
sdk/resources/azure-mgmt-resource-policy/generated_samples/get_policy_set_definition_version_at_management_group.py Updates the generated sample.
sdk/resources/azure-mgmt-resource-policy/generated_samples/get_policy_set_definition_at_management_group.py Updates the generated sample.
sdk/resources/azure-mgmt-resource-policy/generated_samples/get_policy_exemption_with_resource_selectors.py Removes an obsolete exemption sample.
sdk/resources/azure-mgmt-resource-policy/generated_samples/get_policy_enrollment.py Removes an obsolete enrollment sample.
sdk/resources/azure-mgmt-resource-policy/generated_samples/get_policy_enrollment_with_resource_selectors.py Removes an obsolete enrollment sample.
sdk/resources/azure-mgmt-resource-policy/generated_samples/get_policy_definition.py Updates the generated sample.
sdk/resources/azure-mgmt-resource-policy/generated_samples/get_policy_definition_version.py Updates the generated sample.
sdk/resources/azure-mgmt-resource-policy/generated_samples/get_policy_definition_version_at_management_group.py Updates the generated sample.
sdk/resources/azure-mgmt-resource-policy/generated_samples/get_policy_definition_at_management_group.py Updates the generated sample.
sdk/resources/azure-mgmt-resource-policy/generated_samples/get_policy_assignment.py Updates the generated sample.
sdk/resources/azure-mgmt-resource-policy/generated_samples/get_policy_assignment_with_user_assigned_identity.py Updates the generated sample.
sdk/resources/azure-mgmt-resource-policy/generated_samples/get_policy_assignment_with_resource_selectors.py Updates the generated sample.
sdk/resources/azure-mgmt-resource-policy/generated_samples/get_policy_assignment_with_resource_rollout_percentage_selector.py Updates the rollout-percentage selector sample.
sdk/resources/azure-mgmt-resource-policy/generated_samples/get_policy_assignment_with_overrides.py Updates the generated sample.
sdk/resources/azure-mgmt-resource-policy/generated_samples/get_policy_assignment_with_identity.py Updates the generated sample.
sdk/resources/azure-mgmt-resource-policy/generated_samples/get_data_policy_manifest.py Updates the generated sample.
sdk/resources/azure-mgmt-resource-policy/generated_samples/get_builtin_policy_definition.py Updates the generated sample.
sdk/resources/azure-mgmt-resource-policy/generated_samples/get_builtin_policy_definition_version.py Updates the generated sample.
sdk/resources/azure-mgmt-resource-policy/generated_samples/get_built_in_policy_set_definition.py Updates the generated sample.
sdk/resources/azure-mgmt-resource-policy/generated_samples/get_built_in_policy_set_definition_version.py Updates the generated sample.
sdk/resources/azure-mgmt-resource-policy/generated_samples/delete_variable.py Removes an obsolete variable sample.
sdk/resources/azure-mgmt-resource-policy/generated_samples/delete_variable_value.py Removes an obsolete variable-value sample.
sdk/resources/azure-mgmt-resource-policy/generated_samples/delete_variable_value_at_management_group.py Removes an obsolete variable-value sample.
sdk/resources/azure-mgmt-resource-policy/generated_samples/delete_variable_at_management_group.py Removes an obsolete variable sample.
sdk/resources/azure-mgmt-resource-policy/generated_samples/delete_policy_set_definition.py Updates the generated sample.
sdk/resources/azure-mgmt-resource-policy/generated_samples/delete_policy_set_definition_version.py Updates the generated sample.
sdk/resources/azure-mgmt-resource-policy/generated_samples/delete_policy_set_definition_version_at_management_group.py Updates the generated sample.
sdk/resources/azure-mgmt-resource-policy/generated_samples/delete_policy_set_definition_at_management_group.py Updates the generated sample.
sdk/resources/azure-mgmt-resource-policy/generated_samples/delete_policy_exemption.py Removes an obsolete exemption sample.
sdk/resources/azure-mgmt-resource-policy/generated_samples/delete_policy_enrollment.py Removes an obsolete enrollment sample.
sdk/resources/azure-mgmt-resource-policy/generated_samples/delete_policy_definition.py Updates the generated sample.
sdk/resources/azure-mgmt-resource-policy/generated_samples/delete_policy_definition_version.py Updates the generated sample.
sdk/resources/azure-mgmt-resource-policy/generated_samples/delete_policy_definition_version_at_management_group.py Updates the generated sample.
sdk/resources/azure-mgmt-resource-policy/generated_samples/delete_policy_definition_at_management_group.py Updates the generated sample.
sdk/resources/azure-mgmt-resource-policy/generated_samples/delete_policy_assignment.py Updates the generated sample.
sdk/resources/azure-mgmt-resource-policy/generated_samples/create_policy_assignment.py Updates the generated sample.
sdk/resources/azure-mgmt-resource-policy/generated_samples/create_policy_assignment_without_enforcement.py Updates the generated sample.
sdk/resources/azure-mgmt-resource-policy/generated_samples/create_policy_assignment_with_user_assigned_identity.py Updates the generated sample.
sdk/resources/azure-mgmt-resource-policy/generated_samples/create_policy_assignment_with_selfserve_exemption_settings.py Updates the generated sample.
sdk/resources/azure-mgmt-resource-policy/generated_samples/create_policy_assignment_with_resource_selectors.py Updates the generated sample.
sdk/resources/azure-mgmt-resource-policy/generated_samples/create_policy_assignment_with_resource_rollout_percentage_selector.py Adds rollout-percentage selector usage.
sdk/resources/azure-mgmt-resource-policy/generated_samples/create_policy_assignment_with_overrides.py Updates the generated sample.
sdk/resources/azure-mgmt-resource-policy/generated_samples/create_policy_assignment_with_identity.py Updates the generated sample.
sdk/resources/azure-mgmt-resource-policy/generated_samples/create_policy_assignment_with_enroll_enforcement.py Updates the generated sample.
sdk/resources/azure-mgmt-resource-policy/generated_samples/create_policy_assignment_non_compliance_messages.py Updates the generated sample.
sdk/resources/azure-mgmt-resource-policy/generated_samples/create_or_update_variable.py Removes an obsolete variable sample.
sdk/resources/azure-mgmt-resource-policy/generated_samples/create_or_update_variable_value_at_management_group.py Removes an obsolete variable-value sample.
sdk/resources/azure-mgmt-resource-policy/generated_samples/create_or_update_variable_at_management_group.py Removes an obsolete variable sample.
sdk/resources/azure-mgmt-resource-policy/generated_samples/create_or_update_policy_set_definition.py Updates the generated sample.
sdk/resources/azure-mgmt-resource-policy/generated_samples/create_or_update_policy_set_definition_with_groups.py Updates the generated sample.
sdk/resources/azure-mgmt-resource-policy/generated_samples/create_or_update_policy_set_definition_with_groups_at_management_group.py Updates the generated sample.
sdk/resources/azure-mgmt-resource-policy/generated_samples/create_or_update_policy_set_definition_version.py Updates the generated sample.
sdk/resources/azure-mgmt-resource-policy/generated_samples/create_or_update_policy_set_definition_version_at_management_group.py Updates the generated sample.
sdk/resources/azure-mgmt-resource-policy/generated_samples/create_or_update_policy_set_definition_at_management_group.py Updates the generated sample.
sdk/resources/azure-mgmt-resource-policy/generated_samples/create_or_update_policy_exemption.py Removes an obsolete exemption sample.
sdk/resources/azure-mgmt-resource-policy/generated_samples/create_or_update_policy_exemption_with_resource_selectors.py Removes an obsolete exemption sample.
sdk/resources/azure-mgmt-resource-policy/generated_samples/create_or_update_policy_exemption_with_exemption_management_mode.py Removes an obsolete exemption sample.
sdk/resources/azure-mgmt-resource-policy/generated_samples/create_or_update_policy_enrollment_with_resource_selectors.py Removes an obsolete enrollment sample.
sdk/resources/azure-mgmt-resource-policy/generated_samples/create_or_update_policy_definition.py Updates the generated sample.
sdk/resources/azure-mgmt-resource-policy/generated_samples/create_or_update_policy_definition_version.py Updates the generated sample.
sdk/resources/azure-mgmt-resource-policy/generated_samples/create_or_update_policy_definition_version_at_management_group.py Updates the generated sample.
sdk/resources/azure-mgmt-resource-policy/generated_samples/create_or_update_policy_definition_external_evaluation_enforcement_settings.py Updates the generated sample.
sdk/resources/azure-mgmt-resource-policy/generated_samples/create_or_update_policy_definition_at_management_group.py Updates the generated sample.
sdk/resources/azure-mgmt-resource-policy/generated_samples/create_or_update_policy_definition_advanced_params.py Updates the generated sample.
sdk/resources/azure-mgmt-resource-policy/generated_samples/acquire_policy_token.py Updates the generated sample.
sdk/resources/azure-mgmt-resource-policy/generated_samples/acquire_policy_token_at_management_group.py Updates the generated sample.
sdk/resources/azure-mgmt-resource-policy/CHANGELOG.md Documents the release and breaking changes. Nit: classify the four removed operation-group symbols as deleted or renamed operation groups rather than model removals.
sdk/resources/azure-mgmt-resource-policy/azure/mgmt/resource/policy/types.py Updates typed dictionary definitions.
sdk/resources/azure-mgmt-resource-policy/azure/mgmt/resource/policy/operations/__init__.py Updates synchronous operation exports.
sdk/resources/azure-mgmt-resource-policy/azure/mgmt/resource/policy/models/_models.py Adds selector progress and removes obsolete models.
sdk/resources/azure-mgmt-resource-policy/azure/mgmt/resource/policy/models/_enums.py Adds rollout selector definitions and removes obsolete enums.
sdk/resources/azure-mgmt-resource-policy/azure/mgmt/resource/policy/models/__init__.py Updates model exports.
sdk/resources/azure-mgmt-resource-policy/azure/mgmt/resource/policy/aio/operations/__init__.py Updates asynchronous operation exports.
sdk/resources/azure-mgmt-resource-policy/azure/mgmt/resource/policy/aio/_configuration.py Updates the asynchronous API version configuration.
sdk/resources/azure-mgmt-resource-policy/azure/mgmt/resource/policy/aio/_client.py Regenerates the asynchronous client.
sdk/resources/azure-mgmt-resource-policy/azure/mgmt/resource/policy/_version.py Sets the package version to 1.0.0.
sdk/resources/azure-mgmt-resource-policy/azure/mgmt/resource/policy/_utils/model_base.py Regenerates model infrastructure.
sdk/resources/azure-mgmt-resource-policy/azure/mgmt/resource/policy/_configuration.py Updates the default API version configuration.
sdk/resources/azure-mgmt-resource-policy/azure/mgmt/resource/policy/_client.py Regenerates the client and operation groups.
sdk/resources/azure-mgmt-resource-policy/apiview-properties.json Updates API mappings.
sdk/resources/azure-mgmt-resource-policy/api.metadata.yml Updates API metadata.
sdk/resources/azure-mgmt-resource-policy/_metadata.json Updates API and generator metadata.
Review details

Suppressed comments (1)

sdk/resources/azure-mgmt-resource-policy/CHANGELOG.md:36

  • These four symbols are operation-group classes, not models, so documenting them under the model removals is inaccurate and makes migration guidance harder to follow. Please label them as deleted or renamed operation groups, consistent with the PolicyClient.* entries above.
  - Deleted or renamed model `PolicyEnrollmentsOperations`
  - Deleted or renamed model `PolicyExemptionsOperations`
  - Deleted or renamed model `VariableValuesOperations`
  - Deleted or renamed model `VariablesOperations`
  • Files reviewed: 146/148 changed files
  • Comments generated: 0
  • Review effort level: Lite (auto)

Note

Copilot is running an experiment and ran this review at Lite.


💡 Add a code-review agent skill for context-aware, tailored reviews. Learn more in the docs.

@ChenxiJiang333 ChenxiJiang333 added the mgmt-review-needed PR for Mgmt SDK is ready to review label Sep 18, 2026
@github-actions

Copy link
Copy Markdown
Contributor

Management SDK PR review

Findings: None.

Unverified checks

Unverified checks: None.

Breaking-change attribution

Package: sdk/resources/azure-mgmt-resource-policy | Release: 1.0.0 (2026-09-16)

Changelog entry Cause Evidence and explanation Confidence
Deleted or renamed client operation group PolicyClient.policy_enrollments TypeSpec/API PolicyEnrollments interface and PolicyEnrollment model are annotated removed(Versions.v2026_06_01) (decorator) in the spec at the latest revision (PolicyEnrollment.tsp#L20, interface at L162), matching the SDK's 2026-06-01 API version selection. The operation group existed at the merge-base _client.py (merge base file) and is absent from the latest _client.py (latest file). High — direct removal decorator scoped to the exact latest API version
Deleted or renamed client operation group PolicyClient.policy_exemptions TypeSpec/API PolicyExemptions interface and PolicyExemption model are annotated removed(Versions.v2026_06_01) (decorator) (PolicyExemption.tsp#L20). Operation group present at merge base, absent at latest _client.py. High
Deleted or renamed client operation group PolicyClient.variable_values TypeSpec/API VariableValues interface and VariableValue model are annotated removed(Versions.v2026_06_01) (decorator) (VariableValue.tsp#L21). High
Deleted or renamed client operation group PolicyClient.variables TypeSpec/API Variables interface and Variable model are annotated removed(Versions.v2026_06_01) (decorator) (Variable.tsp#L20). High
Deleted or renamed model PolicyEnrollment
Deleted or renamed model PolicyEnrollmentProperties
Deleted or renamed model PolicyEnrollmentUpdate
Deleted or renamed model PolicyEnrollmentUpdateProperties
TypeSpec/API model PolicyEnrollment carries removed(Versions.v2026_06_01) (decorator) at PolicyEnrollment.tsp#L21. Its dependent Properties/Update/UpdateProperties models in models.tsp become unreachable once the resource and its operations are removed for this API version, even though they are not individually annotated as removed (they remain used only by the removed resource). High for PolicyEnrollment model removal; the dependent Properties/Update models follow the same resource lifecycle
Deleted or renamed model PolicyExemption
Deleted or renamed model PolicyExemptionProperties
Deleted or renamed model PolicyExemptionUpdate
Deleted or renamed model PolicyExemptionUpdateProperties
TypeSpec/API model PolicyExemption carries removed(Versions.v2026_06_01) (decorator) at PolicyExemption.tsp#L21. Dependent Properties/Update models are only referenced by this removed resource type. High
Deleted or renamed model Variable
Deleted or renamed model PolicyVariableColumn
Deleted or renamed model PolicyVariableProperties
TypeSpec/API model Variable carries removed(Versions.v2026_06_01) (decorator) at Variable.tsp#L22. High
Deleted or renamed model VariableValue
Deleted or renamed model PolicyVariableValueColumnValue
Deleted or renamed model PolicyVariableValueProperties
TypeSpec/API model VariableValue carries removed(Versions.v2026_06_01) (decorator) at VariableValue.tsp#L24. High
Deleted or renamed model AssignmentScopeValidation
Deleted or renamed model ExemptionCategory
Deleted or renamed model ExemptionManagementMode
Human review These unions remain defined in models.tsp at the latest spec revision without a removal decorator (still referenced by PolicyExemptionProperties, which itself is not individually marked as removed). No direct TypeSpec evidence connects their SDK-level removal to a specific spec change; the removal appears to follow from the enclosing PolicyExemption/PolicyEnrollment resource types being pruned for this API version, but the generator's exact reachability analysis was not verified. Needs human review to confirm these enums have no other API-version-reachable consumer. N/A
Deleted or renamed model PolicyEnrollmentsOperations
Deleted or renamed model PolicyExemptionsOperations
Deleted or renamed model VariableValuesOperations
Deleted or renamed model VariablesOperations
TypeSpec/API These are the generated operation-group classes for the four removed interfaces (PolicyEnrollments, PolicyExemptions, VariableValues, Variables), all annotated removed(Versions.v2026_06_01) (decorator) in the spec, consistent with their removal from _client.py. High

Review summary

Reviewed sdk/resources/azure-mgmt-resource-policy (the only affected package). Checks completed: API-version drift (unchanged, 2026-06-01 at both first and latest revision), version/CHANGELOG consistency (_version.py = 1.0.0 matches latest CHANGELOG heading), pyproject.toml stability flags (is_stable=true + Production/Stable classifier, consistent with non-preview version), client signature (credential, subscription_id, base_url in _client.py.__init__), client name consistency (PolicyClient in _client.py, README, and pyproject.toml title), README code snippet correctness, and CHANGELOG release date (2026-09-16, not more than 3 weeks in the future). All 25 introduced Breaking Changes entries for this release were traced against the TypeSpec source at the pinned merge-base/latest commits; the four removed resource types (PolicyEnrollment, PolicyExemption, Variable, VariableValue) and their operation groups have direct @removed(Versions.v2026_06_01) evidence, while three exemption-related enum removals are left to human review due to lack of a direct removal annotation on those specific unions.

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

Labels

auto-release When merged to main, release pipelines for this PR's changed packages trigger automatically. mgmt-review-needed PR for Mgmt SDK is ready to review

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants