Skip to content

Commit 72958a7

Browse files
azure-sdkmsyycCopilotCopilot
authored
Refresh azure-mgmt-resource-policy after migrate to Typespec (#47121)
* Configurations: 'specification/resources/resource-manager/Microsoft.Authorization/policy/tspconfig.yaml', API Version: 2026-01-01-preview, SDK Release Type: beta, and CommitSHA: '090fd0dc3ee03fb63ad7d60b14027c495b7b4b25' in SpecRepo: 'https://github.com/Azure/azure-rest-api-specs' Pipeline run: https://dev.azure.com/azure-sdk/internal/_build/results?buildId=6350359 Refer to https://eng.ms/docs/products/azure-developer-experience/develop/sdk-release/sdk-release-prerequisites to prepare for SDK release. * Optimize changelog for azure-mgmt-resource-policy Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> * Potential fix for pull request finding Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com> * Combine PolicyLogInfo breaking entries in changelog * Update CHANGELOG.md --------- Co-authored-by: Yuchao Yan <yuchaoyan@microsoft.com> Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
1 parent 8c03c97 commit 72958a7

168 files changed

Lines changed: 26880 additions & 11001 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

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

Lines changed: 62 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,67 @@
11
# Release History
22

3+
## 1.0.0b3 (2026-05-26)
4+
5+
### Features Added
6+
7+
- Client `PolicyClient` added method `send_request`
8+
- Client `PolicyClient` added operation group `policy_enrollments`
9+
- Client `PolicyClient` added operation group `policy_exemptions`
10+
- Client `PolicyClient` added operation group `variables`
11+
- Client `PolicyClient` added operation group `variable_values`
12+
- Model `DataPolicyManifest` added property `system_data`
13+
- Model `ExternalEvaluationEndpointInvocationResult` added property `endpoint_kind`
14+
- Model `ExternalEvaluationEndpointInvocationResult` added property `policy_action`
15+
- Model `ExternalEvaluationEndpointInvocationResult` added property `policy_evaluation_details`
16+
- Model `ExternalEvaluationEndpointInvocationResult` added property `additional_info`
17+
- Model `PolicyTokenResponse` added property `request_details`
18+
- Enum `SelectorKind` added member `GROUP_PRINCIPAL_ID`
19+
- Enum `SelectorKind` added member `USER_PRINCIPAL_ID`
20+
- Added enum `AssignmentScopeValidation`
21+
- Added model `DataManifestResourceFunctionsDefinition`
22+
- Added enum `ExemptionCategory`
23+
- Added model `ExtensionResource`
24+
- Added enum `PolicyAction`
25+
- Added model `PolicyEnrollment`
26+
- Added model `PolicyEnrollmentProperties`
27+
- Added model `PolicyEnrollmentUpdate`
28+
- Added model `PolicyEnrollmentUpdateProperties`
29+
- Added model `PolicyExemption`
30+
- Added model `PolicyExemptionProperties`
31+
- Added model `PolicyExemptionUpdate`
32+
- Added model `PolicyExemptionUpdateProperties`
33+
- Added model `PolicyTokenEvaluatedRequestDetails`
34+
- Added model `PolicyVariableColumn`
35+
- Added model `PolicyVariableProperties`
36+
- Added model `PolicyVariableValueColumnValue`
37+
- Added model `PolicyVariableValueProperties`
38+
- Added model `SelfServeExemptionSettings`
39+
- Added model `Variable`
40+
- Added model `VariableValue`
41+
42+
### Breaking Changes
43+
44+
- This version introduces new hybrid models which have dual dictionary and model nature. Please follow https://aka.ms/azsdk/python/migrate/hybrid-models for migration.
45+
- Model `PolicyLogInfo` deleted property `policy_set_definition_display_name`/`policy_set_definition_category`/`policy_definition_display_name`/`policy_definition_group_names`/`policy_assignment_display_name`/`resource_location`/`ancestors`/`compliance_reason_code`/`policy_exemption_ids` to match actual service behavior
46+
- Method `PolicyAssignmentsOperations.get` changed its parameter `expand` from `positional_or_keyword` to `keyword_only`
47+
- Method `PolicyAssignmentsOperations.get_by_id` deleted or renamed its parameter `expand` of kind `positional_or_keyword`
48+
- Method `PolicyAssignmentsOperations.list` changed its parameter `expand` from `positional_or_keyword` to `keyword_only`
49+
- Method `PolicyAssignmentsOperations.list_for_management_group` changed its parameter `expand` from `positional_or_keyword` to `keyword_only`
50+
- Method `PolicyAssignmentsOperations.list_for_resource` changed its parameter `expand` from `positional_or_keyword` to `keyword_only`
51+
- Method `PolicyAssignmentsOperations.list_for_resource_group` changed its parameter `expand` from `positional_or_keyword` to `keyword_only`
52+
- Method `PolicySetDefinitionVersionsOperations.get` changed its parameter `expand` from `positional_or_keyword` to `keyword_only`
53+
- Method `PolicySetDefinitionVersionsOperations.get_at_management_group` changed its parameter `expand` from `positional_or_keyword` to `keyword_only`
54+
- Method `PolicySetDefinitionVersionsOperations.get_built_in` changed its parameter `expand` from `positional_or_keyword` to `keyword_only`
55+
- Method `PolicySetDefinitionVersionsOperations.list` changed its parameter `expand` from `positional_or_keyword` to `keyword_only`
56+
- Method `PolicySetDefinitionVersionsOperations.list_built_in` changed its parameter `expand` from `positional_or_keyword` to `keyword_only`
57+
- Method `PolicySetDefinitionVersionsOperations.list_by_management_group` changed its parameter `expand` from `positional_or_keyword` to `keyword_only`
58+
- Method `PolicySetDefinitionsOperations.get` changed its parameter `expand` from `positional_or_keyword` to `keyword_only`
59+
- Method `PolicySetDefinitionsOperations.get_at_management_group` changed its parameter `expand` from `positional_or_keyword` to `keyword_only`
60+
- Method `PolicySetDefinitionsOperations.get_built_in` changed its parameter `expand` from `positional_or_keyword` to `keyword_only`
61+
- Method `PolicySetDefinitionsOperations.list` changed its parameter `expand` from `positional_or_keyword` to `keyword_only`
62+
- Method `PolicySetDefinitionsOperations.list_built_in` changed its parameter `expand` from `positional_or_keyword` to `keyword_only`
63+
- Method `PolicySetDefinitionsOperations.list_by_management_group` changed its parameter `expand` from `positional_or_keyword` to `keyword_only`
64+
365
## 1.0.0b2 (2026-02-28)
466

567
### Features Added

sdk/resources/azure-mgmt-resource-policy/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# Microsoft Azure SDK for Python
22

33
This is the Microsoft Azure Resource Policy Management Client Library.
4-
This package has been tested with Python 3.9+.
4+
This package has been tested with Python 3.10+.
55
For a more complete view of Azure libraries, see the [azure sdk python release](https://aka.ms/azsdk/python/all).
66

77
## _Disclaimer_
@@ -12,7 +12,7 @@ _Azure SDK Python packages support for Python 2.7 has ended 01 January 2022. For
1212

1313
### Prerequisites
1414

15-
- Python 3.9+ is required to use this package.
15+
- Python 3.10+ is required to use this package.
1616
- [Azure subscription](https://azure.microsoft.com/free/)
1717

1818
### Install the package
Lines changed: 7 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,10 @@
11
{
2-
"commit": "da3e3a42110d96609505c4bcb5b4d768341203a8",
2+
"apiVersion": "2026-01-01-preview",
3+
"apiVersions": {
4+
"Microsoft.Authorization": "2026-01-01-preview"
5+
},
6+
"commit": "090fd0dc3ee03fb63ad7d60b14027c495b7b4b25",
37
"repository_url": "https://github.com/Azure/azure-rest-api-specs",
4-
"autorest": "3.10.2",
5-
"use": [
6-
"@autorest/python@6.48.0",
7-
"@autorest/modelerfour@4.27.0"
8-
],
9-
"autorest_command": "autorest specification/resources/resource-manager/Microsoft.Authorization/policy/readme.md --generate-sample=True --generate-test=True --include-x-ms-examples-original-file=True --package-mode=azure-mgmt --python --python-sdks-folder=/mnt/vss/_work/1/azure-sdk-for-python/sdk --tag=package-policy-python --use=@autorest/python@6.48.0 --use=@autorest/modelerfour@4.27.0 --version=3.10.2 --version-tolerant=False",
10-
"readme": "specification/resources/resource-manager/Microsoft.Authorization/policy/readme.md"
8+
"typespec_src": "specification/resources/resource-manager/Microsoft.Authorization/policy",
9+
"emitterVersion": "0.62.1"
1110
}

0 commit comments

Comments
 (0)