Skip to content

Commit eb2aced

Browse files
[AutoPR azure-mgmt-policyinsights]-generated-from-SDK Generation - Python-6362432 (#47190)
* Configurations: 'specification/policyinsights/resource-manager/Microsoft.PolicyInsights/PolicyInsights/tspconfig.yaml', API Version: 2024-10-01, SDK Release Type: beta, and CommitSHA: 'cb62053a18882dd258d9922be9770702b7ef6ac9' in SpecRepo: 'https://github.com/Azure/azure-rest-api-specs' Pipeline run: https://dev.azure.com/azure-sdk/internal/_build/results?buildId=6362432 Refer to https://eng.ms/docs/products/azure-developer-experience/develop/sdk-release/sdk-release-prerequisites to prepare for SDK release. * update * update * Update CHANGELOG.md --------- Co-authored-by: ChenxiJiang333 <119990644+ChenxiJiang333@users.noreply.github.com> Co-authored-by: Chenxi Jiang (WICRESOFT NORTH AMERICA LTD) <v-chenjiang@microsoft.com>
1 parent 9f6cd67 commit eb2aced

198 files changed

Lines changed: 28274 additions & 19020 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/policyinsights/azure-mgmt-policyinsights/CHANGELOG.md

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

3+
## 1.1.0b6 (2026-05-28)
4+
5+
### Features Added
6+
7+
- Client `PolicyInsightsClient` added parameter `cloud_setting` in method `__init__`
8+
- Client `PolicyInsightsClient` added method `send_request`
9+
- Model `PolicyMetadata` added property `system_data`
10+
- Model `Resource` added property `system_data`
11+
- Added model `ProxyResource`
12+
13+
### Breaking Changes
14+
15+
- 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.
16+
- For the method breakings, please refer to https://aka.ms/azsdk/python/migrate/operations for migration.
17+
- Model `FieldRestriction` renamed its instance variable `values` to `values_property`
18+
- Model `PendingField` renamed its instance variable `values` to `values_property`
19+
- Model `PolicyMetadata` moved instance variable `metadata_id`, `category`, `title`, `owner`, `additional_content_url`, `metadata`, `description` and `requirements` under property `properties` whose type is `PolicyMetadataProperties`
20+
- Model `SlimPolicyMetadata` moved instance variable `metadata_id`, `category`, `title`, `owner`, `additional_content_url` and `metadata` under property `properties` whose type is `PolicyMetadataSlimProperties`
21+
- Method `ComponentPolicyStatesOperations.list_query_results_for_policy_definition` changed its parameter `order_by`/`select`/`from_parameter`/`to`/`apply` from `positional_or_keyword` to `keyword_only`
22+
- Method `ComponentPolicyStatesOperations.list_query_results_for_resource` changed its parameter `order_by`/`select`/`from_parameter`/`to`/`apply`/`expand` from `positional_or_keyword` to `keyword_only`
23+
- Method `ComponentPolicyStatesOperations.list_query_results_for_resource_group` changed its parameter `order_by`/`select`/`from_parameter`/`to`/`apply` from `positional_or_keyword` to `keyword_only`
24+
- Method `ComponentPolicyStatesOperations.list_query_results_for_resource_group_level_policy_assignment` changed its parameter `order_by`/`select`/`from_parameter`/`to`/`apply` from `positional_or_keyword` to `keyword_only`
25+
- Method `ComponentPolicyStatesOperations.list_query_results_for_subscription` changed its parameter `order_by`/`select`/`from_parameter`/`to`/`apply` from `positional_or_keyword` to `keyword_only`
26+
- Method `ComponentPolicyStatesOperations.list_query_results_for_subscription_level_policy_assignment` changed its parameter `order_by`/`select`/`from_parameter`/`to`/`apply` from `positional_or_keyword` to `keyword_only`
27+
- Method `AttestationsOperations.list_for_resource` replaced parameter `query_options` with `top`/`filter`
28+
- Method `AttestationsOperations.list_for_resource_group` replaced parameter `query_options` with `top`/`filter`
29+
- Method `AttestationsOperations.list_for_subscription` replaced parameter `query_options` with `top`/`filter`
30+
- Method `PolicyEventsOperations.list_query_results_for_management_group` replaced parameter `query_options` with `top`/`order_by`/`select`/`from_parameter`/`to`/`filter`/`apply`/`skip_token`
31+
- Method `PolicyEventsOperations.list_query_results_for_policy_definition` replaced parameter `query_options` with `top`/`order_by`/`select`/`from_parameter`/`to`/`filter`/`apply`/`skip_token`
32+
- Method `PolicyEventsOperations.list_query_results_for_policy_set_definition` replaced parameter `query_options` with `top`/`order_by`/`select`/`from_parameter`/`to`/`filter`/`apply`/`skip_token`
33+
- Method `PolicyEventsOperations.list_query_results_for_resource` replaced parameter `query_options` with `top`/`order_by`/`select`/`from_parameter`/`to`/`filter`/`apply`/`expand`/`skip_token`
34+
- Method `PolicyEventsOperations.list_query_results_for_resource_group` replaced parameter `query_options` with `top`/`order_by`/`select`/`from_parameter`/`to`/`filter`/`apply`/`skip_token`
35+
- Method `PolicyEventsOperations.list_query_results_for_resource_group_level_policy_assignment` replaced parameter `query_options` with `top`/`order_by`/`select`/`from_parameter`/`to`/`filter`/`apply`/`skip_token`
36+
- Method `PolicyEventsOperations.list_query_results_for_subscription` replaced parameter `query_options` with `top`/`order_by`/`select`/`from_parameter`/`to`/`filter`/`apply`/`skip_token`
37+
- Method `PolicyEventsOperations.list_query_results_for_subscription_level_policy_assignment` replaced parameter `query_options` with `top`/`order_by`/`select`/`from_parameter`/`to`/`filter`/`apply`/`skip_token`
38+
- Method `PolicyMetadataOperations.list` replaced parameter `query_options` with `top`
39+
- Method `PolicyStatesOperations.list_query_results_for_management_group` replaced parameter `query_options` with `top`/`order_by`/`select`/`from_parameter`/`to`/`filter`/`apply`/`skip_token`
40+
- Method `PolicyStatesOperations.list_query_results_for_policy_definition` replaced parameter `query_options` with `top`/`order_by`/`select`/`from_parameter`/`to`/`filter`/`apply`/`skip_token`
41+
- Method `PolicyStatesOperations.list_query_results_for_policy_set_definition` replaced parameter `query_options` with `top`/`order_by`/`select`/`from_parameter`/`to`/`filter`/`apply`/`skip_token`
42+
- Method `PolicyStatesOperations.list_query_results_for_resource` replaced parameter `query_options` with `top`/`order_by`/`select`/`from_parameter`/`to`/`filter`/`apply`/`expand`/`skip_token`
43+
- Method `PolicyStatesOperations.list_query_results_for_resource_group` replaced parameter `query_options` with `top`/`order_by`/`select`/`from_parameter`/`to`/`filter`/`apply`/`skip_token`
44+
- Method `PolicyStatesOperations.list_query_results_for_resource_group_level_policy_assignment` replaced parameter `query_options` with `top`/`order_by`/`select`/`from_parameter`/`to`/`filter`/`apply`/`skip_token`
45+
- Method `PolicyStatesOperations.list_query_results_for_subscription` replaced parameter `query_options` with `top`/`order_by`/`select`/`from_parameter`/`to`/`filter`/`apply`/`skip_token`
46+
- Method `PolicyStatesOperations.list_query_results_for_subscription_level_policy_assignment` replaced parameter `query_options` with `top`/`order_by`/`select`/`from_parameter`/`to`/`filter`/`apply`/`skip_token`
47+
- Method `PolicyStatesOperations.summarize_for_management_group` replaced parameter `query_options` with `top`/`from_parameter`/`to`/`filter`
48+
- Method `PolicyStatesOperations.summarize_for_policy_definition` replaced parameter `query_options` with `top`/`from_parameter`/`to`/`filter`
49+
- Method `PolicyStatesOperations.summarize_for_policy_set_definition` replaced parameter `query_options` with `top`/`from_parameter`/`to`/`filter`
50+
- Method `PolicyStatesOperations.summarize_for_resource` replaced parameter `query_options` with `top`/`from_parameter`/`to`/`filter`
51+
- Method `PolicyStatesOperations.summarize_for_resource_group` replaced parameter `query_options` with `top`/`from_parameter`/`to`/`filter`
52+
- Method `PolicyStatesOperations.summarize_for_resource_group_level_policy_assignment` replaced parameter `query_options` with `top`/`from_parameter`/`to`/`filter`
53+
- Method `PolicyStatesOperations.summarize_for_subscription` replaced parameter `query_options` with `top`/`from_parameter`/`to`/`filter`
54+
- Method `PolicyStatesOperations.summarize_for_subscription_level_policy_assignment` replaced parameter `query_options` with `top`/`from_parameter`/`to`/`filter`
55+
- Method `PolicyTrackedResourcesOperations.list_query_results_for_management_group` replaced parameter `query_options` with `top`/`filter`
56+
- Method `PolicyTrackedResourcesOperations.list_query_results_for_resource` replaced parameter `query_options` with `top`/`filter`
57+
- Method `PolicyTrackedResourcesOperations.list_query_results_for_resource_group` replaced parameter `query_options` with `top`/`filter`
58+
- Method `PolicyTrackedResourcesOperations.list_query_results_for_subscription` replaced parameter `query_options` with `top`/`filter`
59+
- Method `RemediationsOperations.list_deployments_at_management_group` replaced parameter `query_options` with `top`
60+
- Method `RemediationsOperations.list_deployments_at_resource` replaced parameter `query_options` with `top`
61+
- Method `RemediationsOperations.list_deployments_at_resource_group` replaced parameter `query_options` with `top`
62+
- Method `RemediationsOperations.list_deployments_at_subscription` replaced parameter `query_options` with `top`
63+
- Method `RemediationsOperations.list_for_management_group` replaced parameter `query_options` with `top`/`filter`
64+
- Method `RemediationsOperations.list_for_resource` replaced parameter `query_options` with `top`/`filter`
65+
- Method `RemediationsOperations.list_for_resource_group` replaced parameter `query_options` with `top`/`filter`
66+
- Method `RemediationsOperations.list_for_subscription` replaced parameter `query_options` with `top`/`filter`
67+
68+
### Other Changes
69+
70+
- Deleted model `ErrorDefinitionAutoGenerated`/`ErrorDefinitionAutoGenerated2`/`ErrorResponseAutoGenerated`/`ErrorResponseAutoGenerated2`/`PolicyEventsQueryResults`/`PolicyMetadataCollection`/`PolicyStatesQueryResults`/`PolicyTrackedResourcesQueryResults`/`QueryOptions` which actually were not used by SDK users
71+
372
## 1.0.1 (2026-05-19)
473

574
### Other Changes
Lines changed: 7 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,10 @@
11
{
2-
"commit": "6ed455a1fb884a0a8d5c8970d44d4ccee288cf30",
2+
"apiVersions": {
3+
"PolicyInsightsApi": "2024-10-01",
4+
"PolicyTrackedResourcesApi": "2018-07-01-preview"
5+
},
6+
"commit": "cb62053a18882dd258d9922be9770702b7ef6ac9",
37
"repository_url": "https://github.com/Azure/azure-rest-api-specs",
4-
"autorest": "3.10.2",
5-
"use": [
6-
"@autorest/python@6.50.0",
7-
"@autorest/modelerfour@4.27.0"
8-
],
9-
"autorest_command": "autorest specification/policyinsights/resource-manager/readme.md --generate-sample=True --generate-test=True --include-x-ms-examples-original-file=True --package-mode=azure-mgmt --python --python-sdks-folder=C:\\dev\\azure-sdk-for-python\\sdk --tag=package-2020-07 --use=@autorest/python@6.50.0 --use=@autorest/modelerfour@4.27.0 --version=3.10.2 --version-tolerant=False",
10-
"readme": "specification/policyinsights/resource-manager/readme.md"
8+
"typespec_src": "specification/policyinsights/resource-manager/Microsoft.PolicyInsights/PolicyInsights",
9+
"emitterVersion": "0.62.1"
1110
}

0 commit comments

Comments
 (0)