@azure/arm-policyinsights 6.0.0-beta.2 → 6.0.0-beta.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +54 -1
- package/LICENSE +1 -1
- package/README.md +1 -1
- package/dist/index.js +1809 -831
- package/dist/index.js.map +1 -1
- package/dist/index.min.js +1 -1
- package/dist/index.min.js.map +1 -1
- package/dist-esm/samples-dev/attestationsCreateOrUpdateAtResourceGroupSample.js +11 -3
- package/dist-esm/samples-dev/attestationsCreateOrUpdateAtResourceGroupSample.js.map +1 -1
- package/dist-esm/samples-dev/attestationsCreateOrUpdateAtResourceSample.js +10 -2
- package/dist-esm/samples-dev/attestationsCreateOrUpdateAtResourceSample.js.map +1 -1
- package/dist-esm/samples-dev/attestationsCreateOrUpdateAtSubscriptionSample.js +13 -4
- package/dist-esm/samples-dev/attestationsCreateOrUpdateAtSubscriptionSample.js.map +1 -1
- package/dist-esm/samples-dev/attestationsDeleteAtResourceGroupSample.js +11 -3
- package/dist-esm/samples-dev/attestationsDeleteAtResourceGroupSample.js.map +1 -1
- package/dist-esm/samples-dev/attestationsDeleteAtResourceSample.js +10 -2
- package/dist-esm/samples-dev/attestationsDeleteAtResourceSample.js.map +1 -1
- package/dist-esm/samples-dev/attestationsDeleteAtSubscriptionSample.js +10 -2
- package/dist-esm/samples-dev/attestationsDeleteAtSubscriptionSample.js.map +1 -1
- package/dist-esm/samples-dev/attestationsGetAtResourceGroupSample.js +11 -3
- package/dist-esm/samples-dev/attestationsGetAtResourceGroupSample.js.map +1 -1
- package/dist-esm/samples-dev/attestationsGetAtResourceSample.js +10 -2
- package/dist-esm/samples-dev/attestationsGetAtResourceSample.js.map +1 -1
- package/dist-esm/samples-dev/attestationsGetAtSubscriptionSample.js +10 -2
- package/dist-esm/samples-dev/attestationsGetAtSubscriptionSample.js.map +1 -1
- package/dist-esm/samples-dev/attestationsListForResourceGroupSample.js +15 -6
- package/dist-esm/samples-dev/attestationsListForResourceGroupSample.js.map +1 -1
- package/dist-esm/samples-dev/attestationsListForResourceSample.js +13 -4
- package/dist-esm/samples-dev/attestationsListForResourceSample.js.map +1 -1
- package/dist-esm/samples-dev/attestationsListForSubscriptionSample.js +13 -4
- package/dist-esm/samples-dev/attestationsListForSubscriptionSample.js.map +1 -1
- package/dist-esm/samples-dev/componentPolicyStatesListQueryResultsForPolicyDefinitionSample.d.ts +2 -0
- package/dist-esm/samples-dev/componentPolicyStatesListQueryResultsForPolicyDefinitionSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/componentPolicyStatesListQueryResultsForPolicyDefinitionSample.js +39 -0
- package/dist-esm/samples-dev/componentPolicyStatesListQueryResultsForPolicyDefinitionSample.js.map +1 -0
- package/dist-esm/samples-dev/componentPolicyStatesListQueryResultsForResourceGroupLevelPolicyAssignmentSample.d.ts +2 -0
- package/dist-esm/samples-dev/componentPolicyStatesListQueryResultsForResourceGroupLevelPolicyAssignmentSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/componentPolicyStatesListQueryResultsForResourceGroupLevelPolicyAssignmentSample.js +40 -0
- package/dist-esm/samples-dev/componentPolicyStatesListQueryResultsForResourceGroupLevelPolicyAssignmentSample.js.map +1 -0
- package/dist-esm/samples-dev/componentPolicyStatesListQueryResultsForResourceGroupSample.d.ts +2 -0
- package/dist-esm/samples-dev/componentPolicyStatesListQueryResultsForResourceGroupSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/componentPolicyStatesListQueryResultsForResourceGroupSample.js +64 -0
- package/dist-esm/samples-dev/componentPolicyStatesListQueryResultsForResourceGroupSample.js.map +1 -0
- package/dist-esm/samples-dev/componentPolicyStatesListQueryResultsForResourceSample.d.ts +2 -0
- package/dist-esm/samples-dev/componentPolicyStatesListQueryResultsForResourceSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/componentPolicyStatesListQueryResultsForResourceSample.js +131 -0
- package/dist-esm/samples-dev/componentPolicyStatesListQueryResultsForResourceSample.js.map +1 -0
- package/dist-esm/samples-dev/componentPolicyStatesListQueryResultsForSubscriptionLevelPolicyAssignmentSample.d.ts +2 -0
- package/dist-esm/samples-dev/componentPolicyStatesListQueryResultsForSubscriptionLevelPolicyAssignmentSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/componentPolicyStatesListQueryResultsForSubscriptionLevelPolicyAssignmentSample.js +39 -0
- package/dist-esm/samples-dev/componentPolicyStatesListQueryResultsForSubscriptionLevelPolicyAssignmentSample.js.map +1 -0
- package/dist-esm/samples-dev/componentPolicyStatesListQueryResultsForSubscriptionSample.d.ts +2 -0
- package/dist-esm/samples-dev/componentPolicyStatesListQueryResultsForSubscriptionSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/componentPolicyStatesListQueryResultsForSubscriptionSample.js +62 -0
- package/dist-esm/samples-dev/componentPolicyStatesListQueryResultsForSubscriptionSample.js.map +1 -0
- package/dist-esm/samples-dev/operationsListSample.js +11 -3
- package/dist-esm/samples-dev/operationsListSample.js.map +1 -1
- package/dist-esm/samples-dev/policyEventsListQueryResultsForManagementGroupSample.js +13 -4
- package/dist-esm/samples-dev/policyEventsListQueryResultsForManagementGroupSample.js.map +1 -1
- package/dist-esm/samples-dev/policyEventsListQueryResultsForPolicyDefinitionSample.js +13 -4
- package/dist-esm/samples-dev/policyEventsListQueryResultsForPolicyDefinitionSample.js.map +1 -1
- package/dist-esm/samples-dev/policyEventsListQueryResultsForPolicySetDefinitionSample.js +13 -4
- package/dist-esm/samples-dev/policyEventsListQueryResultsForPolicySetDefinitionSample.js.map +1 -1
- package/dist-esm/samples-dev/policyEventsListQueryResultsForResourceGroupLevelPolicyAssignmentSample.js +15 -6
- package/dist-esm/samples-dev/policyEventsListQueryResultsForResourceGroupLevelPolicyAssignmentSample.js.map +1 -1
- package/dist-esm/samples-dev/policyEventsListQueryResultsForResourceGroupSample.js +15 -6
- package/dist-esm/samples-dev/policyEventsListQueryResultsForResourceGroupSample.js.map +1 -1
- package/dist-esm/samples-dev/policyEventsListQueryResultsForResourceSample.js +28 -14
- package/dist-esm/samples-dev/policyEventsListQueryResultsForResourceSample.js.map +1 -1
- package/dist-esm/samples-dev/policyEventsListQueryResultsForSubscriptionLevelPolicyAssignmentSample.js +13 -4
- package/dist-esm/samples-dev/policyEventsListQueryResultsForSubscriptionLevelPolicyAssignmentSample.js.map +1 -1
- package/dist-esm/samples-dev/policyEventsListQueryResultsForSubscriptionSample.js +28 -14
- package/dist-esm/samples-dev/policyEventsListQueryResultsForSubscriptionSample.js.map +1 -1
- package/dist-esm/samples-dev/policyMetadataGetResourceSample.js +10 -2
- package/dist-esm/samples-dev/policyMetadataGetResourceSample.js.map +1 -1
- package/dist-esm/samples-dev/policyMetadataListSample.js +13 -4
- package/dist-esm/samples-dev/policyMetadataListSample.js.map +1 -1
- package/dist-esm/samples-dev/policyRestrictionsCheckAtManagementGroupScopeSample.js +10 -2
- package/dist-esm/samples-dev/policyRestrictionsCheckAtManagementGroupScopeSample.js.map +1 -1
- package/dist-esm/samples-dev/policyRestrictionsCheckAtResourceGroupScopeSample.js +11 -3
- package/dist-esm/samples-dev/policyRestrictionsCheckAtResourceGroupScopeSample.js.map +1 -1
- package/dist-esm/samples-dev/policyRestrictionsCheckAtSubscriptionScopeSample.js +10 -2
- package/dist-esm/samples-dev/policyRestrictionsCheckAtSubscriptionScopeSample.js.map +1 -1
- package/dist-esm/samples-dev/policyStatesListQueryResultsForManagementGroupSample.js +13 -4
- package/dist-esm/samples-dev/policyStatesListQueryResultsForManagementGroupSample.js.map +1 -1
- package/dist-esm/samples-dev/policyStatesListQueryResultsForPolicyDefinitionSample.js +13 -4
- package/dist-esm/samples-dev/policyStatesListQueryResultsForPolicyDefinitionSample.js.map +1 -1
- package/dist-esm/samples-dev/policyStatesListQueryResultsForPolicySetDefinitionSample.js +13 -4
- package/dist-esm/samples-dev/policyStatesListQueryResultsForPolicySetDefinitionSample.js.map +1 -1
- package/dist-esm/samples-dev/policyStatesListQueryResultsForResourceGroupLevelPolicyAssignmentSample.js +15 -6
- package/dist-esm/samples-dev/policyStatesListQueryResultsForResourceGroupLevelPolicyAssignmentSample.js.map +1 -1
- package/dist-esm/samples-dev/policyStatesListQueryResultsForResourceGroupSample.js +15 -6
- package/dist-esm/samples-dev/policyStatesListQueryResultsForResourceGroupSample.js.map +1 -1
- package/dist-esm/samples-dev/policyStatesListQueryResultsForResourceSample.js +31 -16
- package/dist-esm/samples-dev/policyStatesListQueryResultsForResourceSample.js.map +1 -1
- package/dist-esm/samples-dev/policyStatesListQueryResultsForSubscriptionLevelPolicyAssignmentSample.js +13 -4
- package/dist-esm/samples-dev/policyStatesListQueryResultsForSubscriptionLevelPolicyAssignmentSample.js.map +1 -1
- package/dist-esm/samples-dev/policyStatesListQueryResultsForSubscriptionSample.js +28 -14
- package/dist-esm/samples-dev/policyStatesListQueryResultsForSubscriptionSample.js.map +1 -1
- package/dist-esm/samples-dev/policyStatesSummarizeForManagementGroupSample.js +10 -2
- package/dist-esm/samples-dev/policyStatesSummarizeForManagementGroupSample.js.map +1 -1
- package/dist-esm/samples-dev/policyStatesSummarizeForPolicyDefinitionSample.js +10 -2
- package/dist-esm/samples-dev/policyStatesSummarizeForPolicyDefinitionSample.js.map +1 -1
- package/dist-esm/samples-dev/policyStatesSummarizeForPolicySetDefinitionSample.js +10 -2
- package/dist-esm/samples-dev/policyStatesSummarizeForPolicySetDefinitionSample.js.map +1 -1
- package/dist-esm/samples-dev/policyStatesSummarizeForResourceGroupLevelPolicyAssignmentSample.js +11 -3
- package/dist-esm/samples-dev/policyStatesSummarizeForResourceGroupLevelPolicyAssignmentSample.js.map +1 -1
- package/dist-esm/samples-dev/policyStatesSummarizeForResourceGroupSample.js +11 -3
- package/dist-esm/samples-dev/policyStatesSummarizeForResourceGroupSample.js.map +1 -1
- package/dist-esm/samples-dev/policyStatesSummarizeForResourceSample.js +10 -2
- package/dist-esm/samples-dev/policyStatesSummarizeForResourceSample.js.map +1 -1
- package/dist-esm/samples-dev/policyStatesSummarizeForSubscriptionLevelPolicyAssignmentSample.js +10 -2
- package/dist-esm/samples-dev/policyStatesSummarizeForSubscriptionLevelPolicyAssignmentSample.js.map +1 -1
- package/dist-esm/samples-dev/policyStatesSummarizeForSubscriptionSample.js +13 -4
- package/dist-esm/samples-dev/policyStatesSummarizeForSubscriptionSample.js.map +1 -1
- package/dist-esm/samples-dev/policyStatesTriggerResourceGroupEvaluationSample.js +11 -3
- package/dist-esm/samples-dev/policyStatesTriggerResourceGroupEvaluationSample.js.map +1 -1
- package/dist-esm/samples-dev/policyStatesTriggerSubscriptionEvaluationSample.js +10 -2
- package/dist-esm/samples-dev/policyStatesTriggerSubscriptionEvaluationSample.js.map +1 -1
- package/dist-esm/samples-dev/policyTrackedResourcesListQueryResultsForManagementGroupSample.js +13 -4
- package/dist-esm/samples-dev/policyTrackedResourcesListQueryResultsForManagementGroupSample.js.map +1 -1
- package/dist-esm/samples-dev/policyTrackedResourcesListQueryResultsForResourceGroupSample.js +15 -6
- package/dist-esm/samples-dev/policyTrackedResourcesListQueryResultsForResourceGroupSample.js.map +1 -1
- package/dist-esm/samples-dev/policyTrackedResourcesListQueryResultsForResourceSample.js +13 -4
- package/dist-esm/samples-dev/policyTrackedResourcesListQueryResultsForResourceSample.js.map +1 -1
- package/dist-esm/samples-dev/policyTrackedResourcesListQueryResultsForSubscriptionSample.js +13 -4
- package/dist-esm/samples-dev/policyTrackedResourcesListQueryResultsForSubscriptionSample.js.map +1 -1
- package/dist-esm/samples-dev/remediationsCancelAtManagementGroupSample.js +10 -2
- package/dist-esm/samples-dev/remediationsCancelAtManagementGroupSample.js.map +1 -1
- package/dist-esm/samples-dev/remediationsCancelAtResourceGroupSample.js +11 -3
- package/dist-esm/samples-dev/remediationsCancelAtResourceGroupSample.js.map +1 -1
- package/dist-esm/samples-dev/remediationsCancelAtResourceSample.js +10 -2
- package/dist-esm/samples-dev/remediationsCancelAtResourceSample.js.map +1 -1
- package/dist-esm/samples-dev/remediationsCancelAtSubscriptionSample.js +10 -2
- package/dist-esm/samples-dev/remediationsCancelAtSubscriptionSample.js.map +1 -1
- package/dist-esm/samples-dev/remediationsCreateOrUpdateAtManagementGroupSample.js +10 -2
- package/dist-esm/samples-dev/remediationsCreateOrUpdateAtManagementGroupSample.js.map +1 -1
- package/dist-esm/samples-dev/remediationsCreateOrUpdateAtResourceGroupSample.js +11 -3
- package/dist-esm/samples-dev/remediationsCreateOrUpdateAtResourceGroupSample.js.map +1 -1
- package/dist-esm/samples-dev/remediationsCreateOrUpdateAtResourceSample.js +10 -2
- package/dist-esm/samples-dev/remediationsCreateOrUpdateAtResourceSample.js.map +1 -1
- package/dist-esm/samples-dev/remediationsCreateOrUpdateAtSubscriptionSample.js +13 -4
- package/dist-esm/samples-dev/remediationsCreateOrUpdateAtSubscriptionSample.js.map +1 -1
- package/dist-esm/samples-dev/remediationsDeleteAtManagementGroupSample.js +10 -2
- package/dist-esm/samples-dev/remediationsDeleteAtManagementGroupSample.js.map +1 -1
- package/dist-esm/samples-dev/remediationsDeleteAtResourceGroupSample.js +11 -3
- package/dist-esm/samples-dev/remediationsDeleteAtResourceGroupSample.js.map +1 -1
- package/dist-esm/samples-dev/remediationsDeleteAtResourceSample.js +10 -2
- package/dist-esm/samples-dev/remediationsDeleteAtResourceSample.js.map +1 -1
- package/dist-esm/samples-dev/remediationsDeleteAtSubscriptionSample.js +10 -2
- package/dist-esm/samples-dev/remediationsDeleteAtSubscriptionSample.js.map +1 -1
- package/dist-esm/samples-dev/remediationsGetAtManagementGroupSample.js +10 -2
- package/dist-esm/samples-dev/remediationsGetAtManagementGroupSample.js.map +1 -1
- package/dist-esm/samples-dev/remediationsGetAtResourceGroupSample.js +11 -3
- package/dist-esm/samples-dev/remediationsGetAtResourceGroupSample.js.map +1 -1
- package/dist-esm/samples-dev/remediationsGetAtResourceSample.js +10 -2
- package/dist-esm/samples-dev/remediationsGetAtResourceSample.js.map +1 -1
- package/dist-esm/samples-dev/remediationsGetAtSubscriptionSample.js +10 -2
- package/dist-esm/samples-dev/remediationsGetAtSubscriptionSample.js.map +1 -1
- package/dist-esm/samples-dev/remediationsListDeploymentsAtManagementGroupSample.js +10 -2
- package/dist-esm/samples-dev/remediationsListDeploymentsAtManagementGroupSample.js.map +1 -1
- package/dist-esm/samples-dev/remediationsListDeploymentsAtResourceGroupSample.js +11 -3
- package/dist-esm/samples-dev/remediationsListDeploymentsAtResourceGroupSample.js.map +1 -1
- package/dist-esm/samples-dev/remediationsListDeploymentsAtResourceSample.js +10 -2
- package/dist-esm/samples-dev/remediationsListDeploymentsAtResourceSample.js.map +1 -1
- package/dist-esm/samples-dev/remediationsListDeploymentsAtSubscriptionSample.js +10 -2
- package/dist-esm/samples-dev/remediationsListDeploymentsAtSubscriptionSample.js.map +1 -1
- package/dist-esm/samples-dev/remediationsListForManagementGroupSample.js +13 -4
- package/dist-esm/samples-dev/remediationsListForManagementGroupSample.js.map +1 -1
- package/dist-esm/samples-dev/remediationsListForResourceGroupSample.js +15 -6
- package/dist-esm/samples-dev/remediationsListForResourceGroupSample.js.map +1 -1
- package/dist-esm/samples-dev/remediationsListForResourceSample.js +13 -4
- package/dist-esm/samples-dev/remediationsListForResourceSample.js.map +1 -1
- package/dist-esm/samples-dev/remediationsListForSubscriptionSample.js +13 -4
- package/dist-esm/samples-dev/remediationsListForSubscriptionSample.js.map +1 -1
- package/dist-esm/src/index.d.ts +1 -0
- package/dist-esm/src/index.d.ts.map +1 -1
- package/dist-esm/src/index.js +1 -0
- package/dist-esm/src/index.js.map +1 -1
- package/dist-esm/src/models/index.d.ts +377 -94
- package/dist-esm/src/models/index.d.ts.map +1 -1
- package/dist-esm/src/models/index.js +6 -0
- package/dist-esm/src/models/index.js.map +1 -1
- package/dist-esm/src/models/mappers.d.ts +7 -3
- package/dist-esm/src/models/mappers.d.ts.map +1 -1
- package/dist-esm/src/models/mappers.js +446 -82
- package/dist-esm/src/models/mappers.js.map +1 -1
- package/dist-esm/src/models/parameters.d.ts +13 -1
- package/dist-esm/src/models/parameters.d.ts.map +1 -1
- package/dist-esm/src/models/parameters.js +127 -1
- package/dist-esm/src/models/parameters.js.map +1 -1
- package/dist-esm/src/operations/attestations.d.ts.map +1 -1
- package/dist-esm/src/operations/attestations.js +67 -36
- package/dist-esm/src/operations/attestations.js.map +1 -1
- package/dist-esm/src/operations/componentPolicyStates.d.ts +66 -0
- package/dist-esm/src/operations/componentPolicyStates.d.ts.map +1 -0
- package/dist-esm/src/operations/componentPolicyStates.js +292 -0
- package/dist-esm/src/operations/componentPolicyStates.js.map +1 -0
- package/dist-esm/src/operations/index.d.ts +2 -1
- package/dist-esm/src/operations/index.d.ts.map +1 -1
- package/dist-esm/src/operations/index.js +2 -1
- package/dist-esm/src/operations/index.js.map +1 -1
- package/dist-esm/src/operations/operations.js +1 -1
- package/dist-esm/src/operations/policyEvents.d.ts.map +1 -1
- package/dist-esm/src/operations/policyEvents.js +153 -153
- package/dist-esm/src/operations/policyEvents.js.map +1 -1
- package/dist-esm/src/operations/policyMetadataOperations.d.ts.map +1 -1
- package/dist-esm/src/operations/policyMetadataOperations.js +19 -8
- package/dist-esm/src/operations/policyMetadataOperations.js.map +1 -1
- package/dist-esm/src/operations/policyStates.d.ts.map +1 -1
- package/dist-esm/src/operations/policyStates.js +161 -161
- package/dist-esm/src/operations/policyStates.js.map +1 -1
- package/dist-esm/src/operations/policyTrackedResources.d.ts.map +1 -1
- package/dist-esm/src/operations/policyTrackedResources.js +73 -32
- package/dist-esm/src/operations/policyTrackedResources.js.map +1 -1
- package/dist-esm/src/operations/remediations.d.ts.map +1 -1
- package/dist-esm/src/operations/remediations.js +145 -64
- package/dist-esm/src/operations/remediations.js.map +1 -1
- package/dist-esm/src/operationsInterfaces/componentPolicyStates.d.ts +58 -0
- package/dist-esm/src/operationsInterfaces/componentPolicyStates.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/componentPolicyStates.js +9 -0
- package/dist-esm/src/operationsInterfaces/componentPolicyStates.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/index.d.ts +2 -1
- package/dist-esm/src/operationsInterfaces/index.d.ts.map +1 -1
- package/dist-esm/src/operationsInterfaces/index.js +2 -1
- package/dist-esm/src/operationsInterfaces/index.js.map +1 -1
- package/dist-esm/src/pagingHelper.d.ts +13 -0
- package/dist-esm/src/pagingHelper.d.ts.map +1 -0
- package/dist-esm/src/pagingHelper.js +32 -0
- package/dist-esm/src/pagingHelper.js.map +1 -0
- package/dist-esm/src/policyInsightsClient.d.ts +3 -2
- package/dist-esm/src/policyInsightsClient.d.ts.map +1 -1
- package/dist-esm/src/policyInsightsClient.js +7 -9
- package/dist-esm/src/policyInsightsClient.js.map +1 -1
- package/package.json +5 -4
- package/review/arm-policyinsights.api.md +170 -32
- package/src/index.ts +1 -0
- package/src/models/index.ts +438 -163
- package/src/models/mappers.ts +453 -85
- package/src/models/parameters.ts +139 -1
- package/src/operations/attestations.ts +78 -40
- package/src/operations/componentPolicyStates.ts +376 -0
- package/src/operations/index.ts +2 -1
- package/src/operations/operations.ts +1 -1
- package/src/operations/policyEvents.ts +215 -199
- package/src/operations/policyMetadataOperations.ts +22 -10
- package/src/operations/policyStates.ts +224 -208
- package/src/operations/policyTrackedResources.ts +100 -51
- package/src/operations/remediations.ts +186 -88
- package/src/operationsInterfaces/componentPolicyStates.ts +113 -0
- package/src/operationsInterfaces/index.ts +2 -1
- package/src/pagingHelper.ts +39 -0
- package/src/policyInsightsClient.ts +13 -10
- package/types/arm-policyinsights.d.ts +433 -65
- package/types/tsdoc-metadata.json +1 -1
|
@@ -0,0 +1,292 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Copyright (c) Microsoft Corporation.
|
|
3
|
+
* Licensed under the MIT License.
|
|
4
|
+
*
|
|
5
|
+
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
6
|
+
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
7
|
+
*/
|
|
8
|
+
import * as coreClient from "@azure/core-client";
|
|
9
|
+
import * as Mappers from "../models/mappers";
|
|
10
|
+
import * as Parameters from "../models/parameters";
|
|
11
|
+
/** Class containing ComponentPolicyStates operations. */
|
|
12
|
+
export class ComponentPolicyStatesImpl {
|
|
13
|
+
/**
|
|
14
|
+
* Initialize a new instance of the class ComponentPolicyStates class.
|
|
15
|
+
* @param client Reference to the service client
|
|
16
|
+
*/
|
|
17
|
+
constructor(client) {
|
|
18
|
+
this.client = client;
|
|
19
|
+
}
|
|
20
|
+
/**
|
|
21
|
+
* Queries component policy states under subscription scope.
|
|
22
|
+
* @param subscriptionId Microsoft Azure subscription ID.
|
|
23
|
+
* @param componentPolicyStatesResource The virtual resource under ComponentPolicyStates resource type.
|
|
24
|
+
* In a given time range, 'latest' represents the latest component policy state(s).
|
|
25
|
+
* @param options The options parameters.
|
|
26
|
+
*/
|
|
27
|
+
listQueryResultsForSubscription(subscriptionId, componentPolicyStatesResource, options) {
|
|
28
|
+
return this.client.sendOperationRequest({ subscriptionId, componentPolicyStatesResource, options }, listQueryResultsForSubscriptionOperationSpec);
|
|
29
|
+
}
|
|
30
|
+
/**
|
|
31
|
+
* Queries component policy states under resource group scope.
|
|
32
|
+
* @param subscriptionId Microsoft Azure subscription ID.
|
|
33
|
+
* @param resourceGroupName Resource group name.
|
|
34
|
+
* @param componentPolicyStatesResource The virtual resource under ComponentPolicyStates resource type.
|
|
35
|
+
* In a given time range, 'latest' represents the latest component policy state(s).
|
|
36
|
+
* @param options The options parameters.
|
|
37
|
+
*/
|
|
38
|
+
listQueryResultsForResourceGroup(subscriptionId, resourceGroupName, componentPolicyStatesResource, options) {
|
|
39
|
+
return this.client.sendOperationRequest({
|
|
40
|
+
subscriptionId,
|
|
41
|
+
resourceGroupName,
|
|
42
|
+
componentPolicyStatesResource,
|
|
43
|
+
options
|
|
44
|
+
}, listQueryResultsForResourceGroupOperationSpec);
|
|
45
|
+
}
|
|
46
|
+
/**
|
|
47
|
+
* Queries component policy states for the resource.
|
|
48
|
+
* @param resourceId Resource ID.
|
|
49
|
+
* @param componentPolicyStatesResource The virtual resource under ComponentPolicyStates resource type.
|
|
50
|
+
* In a given time range, 'latest' represents the latest component policy state(s).
|
|
51
|
+
* @param options The options parameters.
|
|
52
|
+
*/
|
|
53
|
+
listQueryResultsForResource(resourceId, componentPolicyStatesResource, options) {
|
|
54
|
+
return this.client.sendOperationRequest({ resourceId, componentPolicyStatesResource, options }, listQueryResultsForResourceOperationSpec);
|
|
55
|
+
}
|
|
56
|
+
/**
|
|
57
|
+
* Queries component policy states for the subscription level policy definition.
|
|
58
|
+
* @param subscriptionId Microsoft Azure subscription ID.
|
|
59
|
+
* @param policyDefinitionName Policy definition name.
|
|
60
|
+
* @param componentPolicyStatesResource The virtual resource under ComponentPolicyStates resource type.
|
|
61
|
+
* In a given time range, 'latest' represents the latest component policy state(s).
|
|
62
|
+
* @param options The options parameters.
|
|
63
|
+
*/
|
|
64
|
+
listQueryResultsForPolicyDefinition(subscriptionId, policyDefinitionName, componentPolicyStatesResource, options) {
|
|
65
|
+
return this.client.sendOperationRequest({
|
|
66
|
+
subscriptionId,
|
|
67
|
+
policyDefinitionName,
|
|
68
|
+
componentPolicyStatesResource,
|
|
69
|
+
options
|
|
70
|
+
}, listQueryResultsForPolicyDefinitionOperationSpec);
|
|
71
|
+
}
|
|
72
|
+
/**
|
|
73
|
+
* Queries component policy states for the subscription level policy assignment.
|
|
74
|
+
* @param subscriptionId Microsoft Azure subscription ID.
|
|
75
|
+
* @param policyAssignmentName Policy assignment name.
|
|
76
|
+
* @param componentPolicyStatesResource The virtual resource under ComponentPolicyStates resource type.
|
|
77
|
+
* In a given time range, 'latest' represents the latest component policy state(s).
|
|
78
|
+
* @param options The options parameters.
|
|
79
|
+
*/
|
|
80
|
+
listQueryResultsForSubscriptionLevelPolicyAssignment(subscriptionId, policyAssignmentName, componentPolicyStatesResource, options) {
|
|
81
|
+
return this.client.sendOperationRequest({
|
|
82
|
+
subscriptionId,
|
|
83
|
+
policyAssignmentName,
|
|
84
|
+
componentPolicyStatesResource,
|
|
85
|
+
options
|
|
86
|
+
}, listQueryResultsForSubscriptionLevelPolicyAssignmentOperationSpec);
|
|
87
|
+
}
|
|
88
|
+
/**
|
|
89
|
+
* Queries component policy states for the resource group level policy assignment.
|
|
90
|
+
* @param subscriptionId Microsoft Azure subscription ID.
|
|
91
|
+
* @param resourceGroupName Resource group name.
|
|
92
|
+
* @param policyAssignmentName Policy assignment name.
|
|
93
|
+
* @param componentPolicyStatesResource The virtual resource under ComponentPolicyStates resource type.
|
|
94
|
+
* In a given time range, 'latest' represents the latest component policy state(s).
|
|
95
|
+
* @param options The options parameters.
|
|
96
|
+
*/
|
|
97
|
+
listQueryResultsForResourceGroupLevelPolicyAssignment(subscriptionId, resourceGroupName, policyAssignmentName, componentPolicyStatesResource, options) {
|
|
98
|
+
return this.client.sendOperationRequest({
|
|
99
|
+
subscriptionId,
|
|
100
|
+
resourceGroupName,
|
|
101
|
+
policyAssignmentName,
|
|
102
|
+
componentPolicyStatesResource,
|
|
103
|
+
options
|
|
104
|
+
}, listQueryResultsForResourceGroupLevelPolicyAssignmentOperationSpec);
|
|
105
|
+
}
|
|
106
|
+
}
|
|
107
|
+
// Operation Specifications
|
|
108
|
+
const serializer = coreClient.createSerializer(Mappers, /* isXml */ false);
|
|
109
|
+
const listQueryResultsForSubscriptionOperationSpec = {
|
|
110
|
+
path: "/subscriptions/{subscriptionId}/providers/Microsoft.PolicyInsights/componentPolicyStates/{componentPolicyStatesResource}/queryResults",
|
|
111
|
+
httpMethod: "POST",
|
|
112
|
+
responses: {
|
|
113
|
+
200: {
|
|
114
|
+
bodyMapper: Mappers.ComponentPolicyStatesQueryResults
|
|
115
|
+
},
|
|
116
|
+
default: {
|
|
117
|
+
bodyMapper: Mappers.ErrorResponseAutoGenerated
|
|
118
|
+
}
|
|
119
|
+
},
|
|
120
|
+
queryParameters: [
|
|
121
|
+
Parameters.apiVersion4,
|
|
122
|
+
Parameters.top1,
|
|
123
|
+
Parameters.orderBy1,
|
|
124
|
+
Parameters.select1,
|
|
125
|
+
Parameters.from1,
|
|
126
|
+
Parameters.to1,
|
|
127
|
+
Parameters.filter1,
|
|
128
|
+
Parameters.apply1
|
|
129
|
+
],
|
|
130
|
+
urlParameters: [
|
|
131
|
+
Parameters.$host,
|
|
132
|
+
Parameters.subscriptionId1,
|
|
133
|
+
Parameters.componentPolicyStatesResource
|
|
134
|
+
],
|
|
135
|
+
headerParameters: [Parameters.accept],
|
|
136
|
+
serializer
|
|
137
|
+
};
|
|
138
|
+
const listQueryResultsForResourceGroupOperationSpec = {
|
|
139
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.PolicyInsights/componentPolicyStates/{componentPolicyStatesResource}/queryResults",
|
|
140
|
+
httpMethod: "POST",
|
|
141
|
+
responses: {
|
|
142
|
+
200: {
|
|
143
|
+
bodyMapper: Mappers.ComponentPolicyStatesQueryResults
|
|
144
|
+
},
|
|
145
|
+
default: {
|
|
146
|
+
bodyMapper: Mappers.ErrorResponseAutoGenerated
|
|
147
|
+
}
|
|
148
|
+
},
|
|
149
|
+
queryParameters: [
|
|
150
|
+
Parameters.apiVersion4,
|
|
151
|
+
Parameters.top1,
|
|
152
|
+
Parameters.orderBy1,
|
|
153
|
+
Parameters.select1,
|
|
154
|
+
Parameters.from1,
|
|
155
|
+
Parameters.to1,
|
|
156
|
+
Parameters.filter1,
|
|
157
|
+
Parameters.apply1
|
|
158
|
+
],
|
|
159
|
+
urlParameters: [
|
|
160
|
+
Parameters.$host,
|
|
161
|
+
Parameters.resourceGroupName,
|
|
162
|
+
Parameters.subscriptionId1,
|
|
163
|
+
Parameters.componentPolicyStatesResource
|
|
164
|
+
],
|
|
165
|
+
headerParameters: [Parameters.accept],
|
|
166
|
+
serializer
|
|
167
|
+
};
|
|
168
|
+
const listQueryResultsForResourceOperationSpec = {
|
|
169
|
+
path: "/{resourceId}/providers/Microsoft.PolicyInsights/componentPolicyStates/{componentPolicyStatesResource}/queryResults",
|
|
170
|
+
httpMethod: "POST",
|
|
171
|
+
responses: {
|
|
172
|
+
200: {
|
|
173
|
+
bodyMapper: Mappers.ComponentPolicyStatesQueryResults
|
|
174
|
+
},
|
|
175
|
+
default: {
|
|
176
|
+
bodyMapper: Mappers.ErrorResponseAutoGenerated
|
|
177
|
+
}
|
|
178
|
+
},
|
|
179
|
+
queryParameters: [
|
|
180
|
+
Parameters.apiVersion4,
|
|
181
|
+
Parameters.top1,
|
|
182
|
+
Parameters.orderBy1,
|
|
183
|
+
Parameters.select1,
|
|
184
|
+
Parameters.from1,
|
|
185
|
+
Parameters.to1,
|
|
186
|
+
Parameters.filter1,
|
|
187
|
+
Parameters.apply1,
|
|
188
|
+
Parameters.expand1
|
|
189
|
+
],
|
|
190
|
+
urlParameters: [
|
|
191
|
+
Parameters.$host,
|
|
192
|
+
Parameters.resourceId,
|
|
193
|
+
Parameters.componentPolicyStatesResource
|
|
194
|
+
],
|
|
195
|
+
headerParameters: [Parameters.accept],
|
|
196
|
+
serializer
|
|
197
|
+
};
|
|
198
|
+
const listQueryResultsForPolicyDefinitionOperationSpec = {
|
|
199
|
+
path: "/subscriptions/{subscriptionId}/providers/{authorizationNamespace}/policyDefinitions/{policyDefinitionName}/providers/Microsoft.PolicyInsights/componentPolicyStates/{componentPolicyStatesResource}/queryResults",
|
|
200
|
+
httpMethod: "POST",
|
|
201
|
+
responses: {
|
|
202
|
+
200: {
|
|
203
|
+
bodyMapper: Mappers.ComponentPolicyStatesQueryResults
|
|
204
|
+
},
|
|
205
|
+
default: {
|
|
206
|
+
bodyMapper: Mappers.ErrorResponseAutoGenerated
|
|
207
|
+
}
|
|
208
|
+
},
|
|
209
|
+
queryParameters: [
|
|
210
|
+
Parameters.apiVersion4,
|
|
211
|
+
Parameters.top1,
|
|
212
|
+
Parameters.orderBy1,
|
|
213
|
+
Parameters.select1,
|
|
214
|
+
Parameters.from1,
|
|
215
|
+
Parameters.to1,
|
|
216
|
+
Parameters.filter1,
|
|
217
|
+
Parameters.apply1
|
|
218
|
+
],
|
|
219
|
+
urlParameters: [
|
|
220
|
+
Parameters.$host,
|
|
221
|
+
Parameters.subscriptionId1,
|
|
222
|
+
Parameters.authorizationNamespace,
|
|
223
|
+
Parameters.componentPolicyStatesResource,
|
|
224
|
+
Parameters.policyDefinitionName1
|
|
225
|
+
],
|
|
226
|
+
headerParameters: [Parameters.accept],
|
|
227
|
+
serializer
|
|
228
|
+
};
|
|
229
|
+
const listQueryResultsForSubscriptionLevelPolicyAssignmentOperationSpec = {
|
|
230
|
+
path: "/subscriptions/{subscriptionId}/providers/{authorizationNamespace}/policyAssignments/{policyAssignmentName}/providers/Microsoft.PolicyInsights/componentPolicyStates/{componentPolicyStatesResource}/queryResults",
|
|
231
|
+
httpMethod: "POST",
|
|
232
|
+
responses: {
|
|
233
|
+
200: {
|
|
234
|
+
bodyMapper: Mappers.ComponentPolicyStatesQueryResults
|
|
235
|
+
},
|
|
236
|
+
default: {
|
|
237
|
+
bodyMapper: Mappers.ErrorResponseAutoGenerated
|
|
238
|
+
}
|
|
239
|
+
},
|
|
240
|
+
queryParameters: [
|
|
241
|
+
Parameters.apiVersion4,
|
|
242
|
+
Parameters.top1,
|
|
243
|
+
Parameters.orderBy1,
|
|
244
|
+
Parameters.select1,
|
|
245
|
+
Parameters.from1,
|
|
246
|
+
Parameters.to1,
|
|
247
|
+
Parameters.filter1,
|
|
248
|
+
Parameters.apply1
|
|
249
|
+
],
|
|
250
|
+
urlParameters: [
|
|
251
|
+
Parameters.$host,
|
|
252
|
+
Parameters.subscriptionId1,
|
|
253
|
+
Parameters.authorizationNamespace,
|
|
254
|
+
Parameters.componentPolicyStatesResource,
|
|
255
|
+
Parameters.policyAssignmentName1
|
|
256
|
+
],
|
|
257
|
+
headerParameters: [Parameters.accept],
|
|
258
|
+
serializer
|
|
259
|
+
};
|
|
260
|
+
const listQueryResultsForResourceGroupLevelPolicyAssignmentOperationSpec = {
|
|
261
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{authorizationNamespace}/policyAssignments/{policyAssignmentName}/providers/Microsoft.PolicyInsights/componentPolicyStates/{componentPolicyStatesResource}/queryResults",
|
|
262
|
+
httpMethod: "POST",
|
|
263
|
+
responses: {
|
|
264
|
+
200: {
|
|
265
|
+
bodyMapper: Mappers.ComponentPolicyStatesQueryResults
|
|
266
|
+
},
|
|
267
|
+
default: {
|
|
268
|
+
bodyMapper: Mappers.ErrorResponseAutoGenerated
|
|
269
|
+
}
|
|
270
|
+
},
|
|
271
|
+
queryParameters: [
|
|
272
|
+
Parameters.apiVersion4,
|
|
273
|
+
Parameters.top1,
|
|
274
|
+
Parameters.orderBy1,
|
|
275
|
+
Parameters.select1,
|
|
276
|
+
Parameters.from1,
|
|
277
|
+
Parameters.to1,
|
|
278
|
+
Parameters.filter1,
|
|
279
|
+
Parameters.apply1
|
|
280
|
+
],
|
|
281
|
+
urlParameters: [
|
|
282
|
+
Parameters.$host,
|
|
283
|
+
Parameters.resourceGroupName,
|
|
284
|
+
Parameters.subscriptionId1,
|
|
285
|
+
Parameters.authorizationNamespace,
|
|
286
|
+
Parameters.componentPolicyStatesResource,
|
|
287
|
+
Parameters.policyAssignmentName1
|
|
288
|
+
],
|
|
289
|
+
headerParameters: [Parameters.accept],
|
|
290
|
+
serializer
|
|
291
|
+
};
|
|
292
|
+
//# sourceMappingURL=componentPolicyStates.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"componentPolicyStates.js","sourceRoot":"","sources":["../../../src/operations/componentPolicyStates.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAGH,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AACjD,OAAO,KAAK,OAAO,MAAM,mBAAmB,CAAC;AAC7C,OAAO,KAAK,UAAU,MAAM,sBAAsB,CAAC;AAkBnD,yDAAyD;AACzD,MAAM,OAAO,yBAAyB;IAGpC;;;OAGG;IACH,YAAY,MAA4B;QACtC,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IAC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AU,CAAC,WAAW;QACtB,UAAU,CAAC,IAAI;QACf,UAAU,CAAC,QAAQ;QACnB,UAAU,CAAC,OAAO;QAClB,UAAU,CAAC,KAAK;QAChB,UAAU,CAAC,GAAG;QACd,UAAU,CAAC,OAAO;QAClB,UAAU,CAAC,MAAM;KAClB;IACD,aAAa,EAAE;QACb,UAAU,CAAC,KAAK;QAChB,UAAU,CAAC,iBAAiB;QAC5B,UAAU,CAAC,eAAe;QAC1B,UAAU,CAAC,sBAAsB;QACjC,UAAU,CAAC,6BAA6B;QACxC,UAAU,CAAC,qBAAqB;KACjC;IACD,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC"}
|
|
@@ -2,8 +2,9 @@ export * from "./policyTrackedResources";
|
|
|
2
2
|
export * from "./remediations";
|
|
3
3
|
export * from "./policyEvents";
|
|
4
4
|
export * from "./policyStates";
|
|
5
|
-
export * from "./operations";
|
|
6
5
|
export * from "./policyMetadataOperations";
|
|
7
6
|
export * from "./policyRestrictions";
|
|
7
|
+
export * from "./componentPolicyStates";
|
|
8
|
+
export * from "./operations";
|
|
8
9
|
export * from "./attestations";
|
|
9
10
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/operations/index.ts"],"names":[],"mappings":"AAQA,cAAc,0BAA0B,CAAC;AACzC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,cAAc,CAAC;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/operations/index.ts"],"names":[],"mappings":"AAQA,cAAc,0BAA0B,CAAC;AACzC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,4BAA4B,CAAC;AAC3C,cAAc,sBAAsB,CAAC;AACrC,cAAc,yBAAyB,CAAC;AACxC,cAAc,cAAc,CAAC;AAC7B,cAAc,gBAAgB,CAAC"}
|
|
@@ -9,8 +9,9 @@ export * from "./policyTrackedResources";
|
|
|
9
9
|
export * from "./remediations";
|
|
10
10
|
export * from "./policyEvents";
|
|
11
11
|
export * from "./policyStates";
|
|
12
|
-
export * from "./operations";
|
|
13
12
|
export * from "./policyMetadataOperations";
|
|
14
13
|
export * from "./policyRestrictions";
|
|
14
|
+
export * from "./componentPolicyStates";
|
|
15
|
+
export * from "./operations";
|
|
15
16
|
export * from "./attestations";
|
|
16
17
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/operations/index.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,cAAc,0BAA0B,CAAC;AACzC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,cAAc,CAAC;
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/operations/index.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,cAAc,0BAA0B,CAAC;AACzC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,4BAA4B,CAAC;AAC3C,cAAc,sBAAsB,CAAC;AACrC,cAAc,yBAAyB,CAAC;AACxC,cAAc,cAAc,CAAC;AAC7B,cAAc,gBAAgB,CAAC"}
|
|
@@ -38,7 +38,7 @@ const listOperationSpec = {
|
|
|
38
38
|
bodyMapper: Mappers.QueryFailure
|
|
39
39
|
}
|
|
40
40
|
},
|
|
41
|
-
queryParameters: [Parameters.
|
|
41
|
+
queryParameters: [Parameters.apiVersion4],
|
|
42
42
|
urlParameters: [Parameters.$host],
|
|
43
43
|
headerParameters: [Parameters.accept],
|
|
44
44
|
serializer
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"policyEvents.d.ts","sourceRoot":"","sources":["../../../src/operations/policyEvents.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,0BAA0B,
|
|
1
|
+
{"version":3,"file":"policyEvents.d.ts","sourceRoot":"","sources":["../../../src/operations/policyEvents.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,0BAA0B,EAAgB,MAAM,oBAAoB,CAAC;AAE9E,OAAO,EAAE,YAAY,EAAE,MAAM,yBAAyB,CAAC;AAIvD,OAAO,EAAE,oBAAoB,EAAE,MAAM,yBAAyB,CAAC;AAC/D,OAAO,EACL,WAAW,EACX,wBAAwB,EAExB,4DAA4D,EAG5D,yDAAyD,EAGzD,0DAA0D,EAG1D,qDAAqD,EAGrD,gEAAgE,EAGhE,6DAA6D,EAG7D,8EAA8E,EAG9E,+EAA+E,EAUhF,MAAM,WAAW,CAAC;AAGnB,gDAAgD;AAChD,qBAAa,gBAAiB,YAAW,YAAY;IACnD,OAAO,CAAC,QAAQ,CAAC,MAAM,CAAuB;IAE9C;;;OAGG;gBACS,MAAM,EAAE,oBAAoB;IAIxC;;;;;;OAMG;IACI,kCAAkC,CACvC,oBAAoB,EAAE,wBAAwB,EAC9C,mBAAmB,EAAE,MAAM,EAC3B,OAAO,CAAC,EAAE,4DAA4D,GACrE,0BAA0B,CAAC,WAAW,CAAC;YA2B3B,4CAA4C;YAiC5C,2CAA2C;IAc1D;;;;;;OAMG;IACI,+BAA+B,CACpC,oBAAoB,EAAE,wBAAwB,EAC9C,cAAc,EAAE,MAAM,EACtB,OAAO,CAAC,EAAE,yDAAyD,GAClE,0BAA0B,CAAC,WAAW,CAAC;YA2B3B,yCAAyC;YAiCzC,wCAAwC;IAcvD;;;;;;;OAOG;IACI,gCAAgC,CACrC,oBAAoB,EAAE,wBAAwB,EAC9C,cAAc,EAAE,MAAM,EACtB,iBAAiB,EAAE,MAAM,EACzB,OAAO,CAAC,EAAE,0DAA0D,GACnE,0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