@azure/arm-policyinsights 6.0.0-beta.1 → 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 +56 -1
- package/LICENSE +1 -1
- package/README.md +2 -2
- package/dist/index.js +1847 -826
- 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 +14 -4
- package/dist-esm/samples-dev/attestationsCreateOrUpdateAtResourceGroupSample.js.map +1 -1
- package/dist-esm/samples-dev/attestationsCreateOrUpdateAtResourceSample.js +13 -3
- package/dist-esm/samples-dev/attestationsCreateOrUpdateAtResourceSample.js.map +1 -1
- package/dist-esm/samples-dev/attestationsCreateOrUpdateAtSubscriptionSample.js +17 -6
- package/dist-esm/samples-dev/attestationsCreateOrUpdateAtSubscriptionSample.js.map +1 -1
- package/dist-esm/samples-dev/attestationsDeleteAtResourceGroupSample.js +12 -4
- package/dist-esm/samples-dev/attestationsDeleteAtResourceGroupSample.js.map +1 -1
- package/dist-esm/samples-dev/attestationsDeleteAtResourceSample.js +11 -3
- package/dist-esm/samples-dev/attestationsDeleteAtResourceSample.js.map +1 -1
- package/dist-esm/samples-dev/attestationsDeleteAtSubscriptionSample.js +11 -3
- package/dist-esm/samples-dev/attestationsDeleteAtSubscriptionSample.js.map +1 -1
- package/dist-esm/samples-dev/attestationsGetAtResourceGroupSample.js +12 -4
- package/dist-esm/samples-dev/attestationsGetAtResourceGroupSample.js.map +1 -1
- package/dist-esm/samples-dev/attestationsGetAtResourceSample.js +11 -3
- package/dist-esm/samples-dev/attestationsGetAtResourceSample.js.map +1 -1
- package/dist-esm/samples-dev/attestationsGetAtSubscriptionSample.js +11 -3
- package/dist-esm/samples-dev/attestationsGetAtSubscriptionSample.js.map +1 -1
- package/dist-esm/samples-dev/attestationsListForResourceGroupSample.js +17 -8
- package/dist-esm/samples-dev/attestationsListForResourceGroupSample.js.map +1 -1
- package/dist-esm/samples-dev/attestationsListForResourceSample.js +15 -6
- package/dist-esm/samples-dev/attestationsListForResourceSample.js.map +1 -1
- package/dist-esm/samples-dev/attestationsListForSubscriptionSample.js +15 -6
- 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 +14 -7
- package/dist-esm/samples-dev/policyEventsListQueryResultsForPolicyDefinitionSample.js.map +1 -1
- package/dist-esm/samples-dev/policyEventsListQueryResultsForPolicySetDefinitionSample.js +14 -7
- package/dist-esm/samples-dev/policyEventsListQueryResultsForPolicySetDefinitionSample.js.map +1 -1
- package/dist-esm/samples-dev/policyEventsListQueryResultsForResourceGroupLevelPolicyAssignmentSample.js +17 -10
- package/dist-esm/samples-dev/policyEventsListQueryResultsForResourceGroupLevelPolicyAssignmentSample.js.map +1 -1
- package/dist-esm/samples-dev/policyEventsListQueryResultsForResourceGroupSample.js +17 -10
- 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 +15 -8
- package/dist-esm/samples-dev/policyEventsListQueryResultsForSubscriptionLevelPolicyAssignmentSample.js.map +1 -1
- package/dist-esm/samples-dev/policyEventsListQueryResultsForSubscriptionSample.js +34 -27
- 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 +14 -7
- package/dist-esm/samples-dev/policyStatesListQueryResultsForPolicyDefinitionSample.js.map +1 -1
- package/dist-esm/samples-dev/policyStatesListQueryResultsForPolicySetDefinitionSample.js +15 -8
- package/dist-esm/samples-dev/policyStatesListQueryResultsForPolicySetDefinitionSample.js.map +1 -1
- package/dist-esm/samples-dev/policyStatesListQueryResultsForResourceGroupLevelPolicyAssignmentSample.js +17 -10
- package/dist-esm/samples-dev/policyStatesListQueryResultsForResourceGroupLevelPolicyAssignmentSample.js.map +1 -1
- package/dist-esm/samples-dev/policyStatesListQueryResultsForResourceGroupSample.js +16 -9
- 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 +14 -7
- package/dist-esm/samples-dev/policyStatesListQueryResultsForSubscriptionLevelPolicyAssignmentSample.js.map +1 -1
- package/dist-esm/samples-dev/policyStatesListQueryResultsForSubscriptionSample.js +32 -25
- 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 +11 -4
- package/dist-esm/samples-dev/policyStatesSummarizeForPolicyDefinitionSample.js.map +1 -1
- package/dist-esm/samples-dev/policyStatesSummarizeForPolicySetDefinitionSample.js +11 -4
- package/dist-esm/samples-dev/policyStatesSummarizeForPolicySetDefinitionSample.js.map +1 -1
- package/dist-esm/samples-dev/policyStatesSummarizeForResourceGroupLevelPolicyAssignmentSample.js +12 -5
- package/dist-esm/samples-dev/policyStatesSummarizeForResourceGroupLevelPolicyAssignmentSample.js.map +1 -1
- package/dist-esm/samples-dev/policyStatesSummarizeForResourceGroupSample.js +12 -5
- 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 +11 -4
- package/dist-esm/samples-dev/policyStatesSummarizeForSubscriptionLevelPolicyAssignmentSample.js.map +1 -1
- package/dist-esm/samples-dev/policyStatesSummarizeForSubscriptionSample.js +14 -7
- package/dist-esm/samples-dev/policyStatesSummarizeForSubscriptionSample.js.map +1 -1
- package/dist-esm/samples-dev/policyStatesTriggerResourceGroupEvaluationSample.js +12 -5
- package/dist-esm/samples-dev/policyStatesTriggerResourceGroupEvaluationSample.js.map +1 -1
- package/dist-esm/samples-dev/policyStatesTriggerSubscriptionEvaluationSample.js +11 -4
- 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 +394 -98
- package/dist-esm/src/models/index.d.ts.map +1 -1
- package/dist-esm/src/models/index.js +15 -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 +566 -191
- 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 +128 -2
- 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 +28 -8
- package/dist-esm/src/policyInsightsClient.js.map +1 -1
- package/dist-esm/test/policyinsights_example.spec.d.ts +4 -0
- package/dist-esm/test/policyinsights_example.spec.d.ts.map +1 -0
- package/dist-esm/test/policyinsights_example.spec.js +71 -0
- package/dist-esm/test/policyinsights_example.spec.js.map +1 -0
- package/package.json +17 -12
- package/review/arm-policyinsights.api.md +182 -51
- package/src/index.ts +1 -0
- package/src/models/index.ts +455 -167
- package/src/models/mappers.ts +589 -208
- package/src/models/parameters.ts +140 -2
- 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 +43 -9
- package/types/arm-policyinsights.d.ts +450 -69
- package/types/tsdoc-metadata.json +1 -1
- package/dist-esm/samples-dev/cancelARemediationAtIndividualResourceScope.d.ts +0 -2
- package/dist-esm/samples-dev/cancelARemediationAtIndividualResourceScope.d.ts.map +0 -1
- package/dist-esm/samples-dev/cancelARemediationAtIndividualResourceScope.js +0 -31
- package/dist-esm/samples-dev/cancelARemediationAtIndividualResourceScope.js.map +0 -1
- package/dist-esm/samples-dev/cancelARemediationAtManagementGroupScope.d.ts +0 -2
- package/dist-esm/samples-dev/cancelARemediationAtManagementGroupScope.d.ts.map +0 -1
- package/dist-esm/samples-dev/cancelARemediationAtManagementGroupScope.js +0 -31
- package/dist-esm/samples-dev/cancelARemediationAtManagementGroupScope.js.map +0 -1
- package/dist-esm/samples-dev/cancelARemediationAtResourceGroupScope.d.ts +0 -2
- package/dist-esm/samples-dev/cancelARemediationAtResourceGroupScope.d.ts.map +0 -1
- package/dist-esm/samples-dev/cancelARemediationAtResourceGroupScope.js +0 -31
- package/dist-esm/samples-dev/cancelARemediationAtResourceGroupScope.js.map +0 -1
- package/dist-esm/samples-dev/cancelARemediationAtSubscriptionScope.d.ts +0 -2
- package/dist-esm/samples-dev/cancelARemediationAtSubscriptionScope.d.ts.map +0 -1
- package/dist-esm/samples-dev/cancelARemediationAtSubscriptionScope.js +0 -30
- package/dist-esm/samples-dev/cancelARemediationAtSubscriptionScope.js.map +0 -1
- package/dist-esm/samples-dev/checkPolicyRestrictionsAtResourceGroupScope.d.ts +0 -2
- package/dist-esm/samples-dev/checkPolicyRestrictionsAtResourceGroupScope.d.ts.map +0 -1
- package/dist-esm/samples-dev/checkPolicyRestrictionsAtResourceGroupScope.js +0 -47
- package/dist-esm/samples-dev/checkPolicyRestrictionsAtResourceGroupScope.js.map +0 -1
- package/dist-esm/samples-dev/checkPolicyRestrictionsAtSubscriptionScope.d.ts +0 -2
- package/dist-esm/samples-dev/checkPolicyRestrictionsAtSubscriptionScope.d.ts.map +0 -1
- package/dist-esm/samples-dev/checkPolicyRestrictionsAtSubscriptionScope.js +0 -46
- package/dist-esm/samples-dev/checkPolicyRestrictionsAtSubscriptionScope.js.map +0 -1
- package/dist-esm/samples-dev/createAttestationAtIndividualResourceScope.d.ts +0 -2
- package/dist-esm/samples-dev/createAttestationAtIndividualResourceScope.d.ts.map +0 -1
- package/dist-esm/samples-dev/createAttestationAtIndividualResourceScope.js +0 -45
- package/dist-esm/samples-dev/createAttestationAtIndividualResourceScope.js.map +0 -1
- package/dist-esm/samples-dev/createAttestationAtResourceGroupScope.d.ts +0 -2
- package/dist-esm/samples-dev/createAttestationAtResourceGroupScope.d.ts.map +0 -1
- package/dist-esm/samples-dev/createAttestationAtResourceGroupScope.js +0 -45
- package/dist-esm/samples-dev/createAttestationAtResourceGroupScope.js.map +0 -1
- package/dist-esm/samples-dev/createAttestationAtSubscriptionScope.d.ts +0 -2
- package/dist-esm/samples-dev/createAttestationAtSubscriptionScope.d.ts.map +0 -1
- package/dist-esm/samples-dev/createAttestationAtSubscriptionScope.js +0 -34
- package/dist-esm/samples-dev/createAttestationAtSubscriptionScope.js.map +0 -1
- package/dist-esm/samples-dev/createAttestationAtSubscriptionScopeWithAllProperties.d.ts +0 -2
- package/dist-esm/samples-dev/createAttestationAtSubscriptionScopeWithAllProperties.d.ts.map +0 -1
- package/dist-esm/samples-dev/createAttestationAtSubscriptionScopeWithAllProperties.js +0 -44
- package/dist-esm/samples-dev/createAttestationAtSubscriptionScopeWithAllProperties.js.map +0 -1
- package/dist-esm/samples-dev/createRemediationAtIndividualResourceScope.d.ts +0 -2
- package/dist-esm/samples-dev/createRemediationAtIndividualResourceScope.d.ts.map +0 -1
- package/dist-esm/samples-dev/createRemediationAtIndividualResourceScope.js +0 -34
- package/dist-esm/samples-dev/createRemediationAtIndividualResourceScope.js.map +0 -1
- package/dist-esm/samples-dev/createRemediationAtManagementGroupScope.d.ts +0 -2
- package/dist-esm/samples-dev/createRemediationAtManagementGroupScope.d.ts.map +0 -1
- package/dist-esm/samples-dev/createRemediationAtManagementGroupScope.js +0 -34
- package/dist-esm/samples-dev/createRemediationAtManagementGroupScope.js.map +0 -1
- package/dist-esm/samples-dev/createRemediationAtResourceGroupScope.d.ts +0 -2
- package/dist-esm/samples-dev/createRemediationAtResourceGroupScope.d.ts.map +0 -1
- package/dist-esm/samples-dev/createRemediationAtResourceGroupScope.js +0 -34
- package/dist-esm/samples-dev/createRemediationAtResourceGroupScope.js.map +0 -1
- package/dist-esm/samples-dev/createRemediationAtSubscriptionScope.d.ts +0 -2
- package/dist-esm/samples-dev/createRemediationAtSubscriptionScope.d.ts.map +0 -1
- package/dist-esm/samples-dev/createRemediationAtSubscriptionScope.js +0 -33
- package/dist-esm/samples-dev/createRemediationAtSubscriptionScope.js.map +0 -1
- package/dist-esm/samples-dev/createRemediationAtSubscriptionScopeWithAllProperties.d.ts +0 -2
- package/dist-esm/samples-dev/createRemediationAtSubscriptionScopeWithAllProperties.d.ts.map +0 -1
- package/dist-esm/samples-dev/createRemediationAtSubscriptionScopeWithAllProperties.js +0 -39
- package/dist-esm/samples-dev/createRemediationAtSubscriptionScopeWithAllProperties.js.map +0 -1
- package/dist-esm/samples-dev/deleteAttestationAtIndividualResourceScope.d.ts +0 -2
- package/dist-esm/samples-dev/deleteAttestationAtIndividualResourceScope.d.ts.map +0 -1
- package/dist-esm/samples-dev/deleteAttestationAtIndividualResourceScope.js +0 -31
- package/dist-esm/samples-dev/deleteAttestationAtIndividualResourceScope.js.map +0 -1
- package/dist-esm/samples-dev/deleteAttestationAtResourceGroupScope.d.ts +0 -2
- package/dist-esm/samples-dev/deleteAttestationAtResourceGroupScope.d.ts.map +0 -1
- package/dist-esm/samples-dev/deleteAttestationAtResourceGroupScope.js +0 -31
- package/dist-esm/samples-dev/deleteAttestationAtResourceGroupScope.js.map +0 -1
- package/dist-esm/samples-dev/deleteAttestationAtSubscriptionScope.d.ts +0 -2
- package/dist-esm/samples-dev/deleteAttestationAtSubscriptionScope.d.ts.map +0 -1
- package/dist-esm/samples-dev/deleteAttestationAtSubscriptionScope.js +0 -30
- package/dist-esm/samples-dev/deleteAttestationAtSubscriptionScope.js.map +0 -1
- package/dist-esm/samples-dev/deleteRemediationAtIndividualResourceScope.d.ts +0 -2
- package/dist-esm/samples-dev/deleteRemediationAtIndividualResourceScope.d.ts.map +0 -1
- package/dist-esm/samples-dev/deleteRemediationAtIndividualResourceScope.js +0 -31
- package/dist-esm/samples-dev/deleteRemediationAtIndividualResourceScope.js.map +0 -1
- package/dist-esm/samples-dev/deleteRemediationAtManagementGroupScope.d.ts +0 -2
- package/dist-esm/samples-dev/deleteRemediationAtManagementGroupScope.d.ts.map +0 -1
- package/dist-esm/samples-dev/deleteRemediationAtManagementGroupScope.js +0 -31
- package/dist-esm/samples-dev/deleteRemediationAtManagementGroupScope.js.map +0 -1
- package/dist-esm/samples-dev/deleteRemediationAtResourceGroupScope.d.ts +0 -2
- package/dist-esm/samples-dev/deleteRemediationAtResourceGroupScope.d.ts.map +0 -1
- package/dist-esm/samples-dev/deleteRemediationAtResourceGroupScope.js +0 -31
- package/dist-esm/samples-dev/deleteRemediationAtResourceGroupScope.js.map +0 -1
- package/dist-esm/samples-dev/deleteRemediationAtSubscriptionScope.d.ts +0 -2
- package/dist-esm/samples-dev/deleteRemediationAtSubscriptionScope.d.ts.map +0 -1
- package/dist-esm/samples-dev/deleteRemediationAtSubscriptionScope.js +0 -30
- package/dist-esm/samples-dev/deleteRemediationAtSubscriptionScope.js.map +0 -1
- package/dist-esm/samples-dev/filterAndAggregateOnly.d.ts +0 -2
- package/dist-esm/samples-dev/filterAndAggregateOnly.d.ts.map +0 -1
- package/dist-esm/samples-dev/filterAndAggregateOnly.js +0 -49
- package/dist-esm/samples-dev/filterAndAggregateOnly.js.map +0 -1
- package/dist-esm/samples-dev/filterAndGroupWithAggregate.d.ts +0 -2
- package/dist-esm/samples-dev/filterAndGroupWithAggregate.d.ts.map +0 -1
- package/dist-esm/samples-dev/filterAndGroupWithAggregate.js +0 -57
- package/dist-esm/samples-dev/filterAndGroupWithAggregate.js.map +0 -1
- package/dist-esm/samples-dev/filterAndGroupWithoutAggregate.d.ts +0 -2
- package/dist-esm/samples-dev/filterAndGroupWithoutAggregate.d.ts.map +0 -1
- package/dist-esm/samples-dev/filterAndGroupWithoutAggregate.js +0 -50
- package/dist-esm/samples-dev/filterAndGroupWithoutAggregate.js.map +0 -1
- package/dist-esm/samples-dev/filterAndMultipleGroups.d.ts +0 -2
- package/dist-esm/samples-dev/filterAndMultipleGroups.d.ts.map +0 -1
- package/dist-esm/samples-dev/filterAndMultipleGroups.js +0 -50
- package/dist-esm/samples-dev/filterAndMultipleGroups.js.map +0 -1
- package/dist-esm/samples-dev/getASinglePolicyMetadataResource.d.ts +0 -2
- package/dist-esm/samples-dev/getASinglePolicyMetadataResource.d.ts.map +0 -1
- package/dist-esm/samples-dev/getASinglePolicyMetadataResource.js +0 -30
- package/dist-esm/samples-dev/getASinglePolicyMetadataResource.js.map +0 -1
- package/dist-esm/samples-dev/getAttestationAtIndividualResourceScope.d.ts +0 -2
- package/dist-esm/samples-dev/getAttestationAtIndividualResourceScope.d.ts.map +0 -1
- package/dist-esm/samples-dev/getAttestationAtIndividualResourceScope.js +0 -31
- package/dist-esm/samples-dev/getAttestationAtIndividualResourceScope.js.map +0 -1
- package/dist-esm/samples-dev/getAttestationAtResourceGroupScope.d.ts +0 -2
- package/dist-esm/samples-dev/getAttestationAtResourceGroupScope.d.ts.map +0 -1
- package/dist-esm/samples-dev/getAttestationAtResourceGroupScope.js +0 -31
- package/dist-esm/samples-dev/getAttestationAtResourceGroupScope.js.map +0 -1
- package/dist-esm/samples-dev/getAttestationAtSubscriptionScope.d.ts +0 -2
- package/dist-esm/samples-dev/getAttestationAtSubscriptionScope.d.ts.map +0 -1
- package/dist-esm/samples-dev/getAttestationAtSubscriptionScope.js +0 -30
- package/dist-esm/samples-dev/getAttestationAtSubscriptionScope.js.map +0 -1
- package/dist-esm/samples-dev/getCollectionOfPolicyMetadataResources.d.ts +0 -2
- package/dist-esm/samples-dev/getCollectionOfPolicyMetadataResources.d.ts.map +0 -1
- package/dist-esm/samples-dev/getCollectionOfPolicyMetadataResources.js +0 -43
- package/dist-esm/samples-dev/getCollectionOfPolicyMetadataResources.js.map +0 -1
- package/dist-esm/samples-dev/getCollectionOfPolicyMetadataResourcesUsingTopQueryParameter.d.ts +0 -2
- package/dist-esm/samples-dev/getCollectionOfPolicyMetadataResourcesUsingTopQueryParameter.d.ts.map +0 -1
- package/dist-esm/samples-dev/getCollectionOfPolicyMetadataResourcesUsingTopQueryParameter.js +0 -45
- package/dist-esm/samples-dev/getCollectionOfPolicyMetadataResourcesUsingTopQueryParameter.js.map +0 -1
- package/dist-esm/samples-dev/getRemediationAtIndividualResourceScope.d.ts +0 -2
- package/dist-esm/samples-dev/getRemediationAtIndividualResourceScope.d.ts.map +0 -1
- package/dist-esm/samples-dev/getRemediationAtIndividualResourceScope.js +0 -31
- package/dist-esm/samples-dev/getRemediationAtIndividualResourceScope.js.map +0 -1
- package/dist-esm/samples-dev/getRemediationAtManagementGroupScope.d.ts +0 -2
- package/dist-esm/samples-dev/getRemediationAtManagementGroupScope.d.ts.map +0 -1
- package/dist-esm/samples-dev/getRemediationAtManagementGroupScope.js +0 -31
- package/dist-esm/samples-dev/getRemediationAtManagementGroupScope.js.map +0 -1
- package/dist-esm/samples-dev/getRemediationAtResourceGroupScope.d.ts +0 -2
- package/dist-esm/samples-dev/getRemediationAtResourceGroupScope.d.ts.map +0 -1
- package/dist-esm/samples-dev/getRemediationAtResourceGroupScope.js +0 -31
- package/dist-esm/samples-dev/getRemediationAtResourceGroupScope.js.map +0 -1
- package/dist-esm/samples-dev/getRemediationAtSubscriptionScope.d.ts +0 -2
- package/dist-esm/samples-dev/getRemediationAtSubscriptionScope.d.ts.map +0 -1
- package/dist-esm/samples-dev/getRemediationAtSubscriptionScope.js +0 -30
- package/dist-esm/samples-dev/getRemediationAtSubscriptionScope.js.map +0 -1
- package/dist-esm/samples-dev/listAttestationsAtIndividualResourceScope.d.ts +0 -2
- package/dist-esm/samples-dev/listAttestationsAtIndividualResourceScope.d.ts.map +0 -1
- package/dist-esm/samples-dev/listAttestationsAtIndividualResourceScope.js +0 -44
- package/dist-esm/samples-dev/listAttestationsAtIndividualResourceScope.js.map +0 -1
- package/dist-esm/samples-dev/listAttestationsAtIndividualResourceScopeWithQueryParameters.d.ts +0 -2
- package/dist-esm/samples-dev/listAttestationsAtIndividualResourceScopeWithQueryParameters.d.ts.map +0 -1
- package/dist-esm/samples-dev/listAttestationsAtIndividualResourceScopeWithQueryParameters.js +0 -47
- package/dist-esm/samples-dev/listAttestationsAtIndividualResourceScopeWithQueryParameters.js.map +0 -1
- package/dist-esm/samples-dev/listAttestationsAtResourceGroupScope.d.ts +0 -2
- package/dist-esm/samples-dev/listAttestationsAtResourceGroupScope.d.ts.map +0 -1
- package/dist-esm/samples-dev/listAttestationsAtResourceGroupScope.js +0 -44
- package/dist-esm/samples-dev/listAttestationsAtResourceGroupScope.js.map +0 -1
- package/dist-esm/samples-dev/listAttestationsAtResourceGroupScopeWithQueryParameters.d.ts +0 -2
- package/dist-esm/samples-dev/listAttestationsAtResourceGroupScopeWithQueryParameters.d.ts.map +0 -1
- package/dist-esm/samples-dev/listAttestationsAtResourceGroupScopeWithQueryParameters.js +0 -47
- package/dist-esm/samples-dev/listAttestationsAtResourceGroupScopeWithQueryParameters.js.map +0 -1
- package/dist-esm/samples-dev/listAttestationsAtSubscriptionScope.d.ts +0 -2
- package/dist-esm/samples-dev/listAttestationsAtSubscriptionScope.d.ts.map +0 -1
- package/dist-esm/samples-dev/listAttestationsAtSubscriptionScope.js +0 -43
- package/dist-esm/samples-dev/listAttestationsAtSubscriptionScope.js.map +0 -1
- package/dist-esm/samples-dev/listAttestationsAtSubscriptionScopeWithQueryParameters.d.ts +0 -2
- package/dist-esm/samples-dev/listAttestationsAtSubscriptionScopeWithQueryParameters.d.ts.map +0 -1
- package/dist-esm/samples-dev/listAttestationsAtSubscriptionScopeWithQueryParameters.js +0 -46
- package/dist-esm/samples-dev/listAttestationsAtSubscriptionScopeWithQueryParameters.js.map +0 -1
- package/dist-esm/samples-dev/listDeploymentsForARemediationAtIndividualResourceScope.d.ts +0 -2
- package/dist-esm/samples-dev/listDeploymentsForARemediationAtIndividualResourceScope.d.ts.map +0 -1
- package/dist-esm/samples-dev/listDeploymentsForARemediationAtIndividualResourceScope.js +0 -45
- package/dist-esm/samples-dev/listDeploymentsForARemediationAtIndividualResourceScope.js.map +0 -1
- package/dist-esm/samples-dev/listDeploymentsForARemediationAtManagementGroupScope.d.ts +0 -2
- package/dist-esm/samples-dev/listDeploymentsForARemediationAtManagementGroupScope.d.ts.map +0 -1
- package/dist-esm/samples-dev/listDeploymentsForARemediationAtManagementGroupScope.js +0 -45
- package/dist-esm/samples-dev/listDeploymentsForARemediationAtManagementGroupScope.js.map +0 -1
- package/dist-esm/samples-dev/listDeploymentsForARemediationAtResourceGroupScope.d.ts +0 -2
- package/dist-esm/samples-dev/listDeploymentsForARemediationAtResourceGroupScope.d.ts.map +0 -1
- package/dist-esm/samples-dev/listDeploymentsForARemediationAtResourceGroupScope.js +0 -45
- package/dist-esm/samples-dev/listDeploymentsForARemediationAtResourceGroupScope.js.map +0 -1
- package/dist-esm/samples-dev/listDeploymentsForARemediationAtSubscriptionScope.d.ts +0 -2
- package/dist-esm/samples-dev/listDeploymentsForARemediationAtSubscriptionScope.d.ts.map +0 -1
- package/dist-esm/samples-dev/listDeploymentsForARemediationAtSubscriptionScope.js +0 -44
- package/dist-esm/samples-dev/listDeploymentsForARemediationAtSubscriptionScope.js.map +0 -1
- package/dist-esm/samples-dev/listOperations.d.ts +0 -2
- package/dist-esm/samples-dev/listOperations.d.ts.map +0 -1
- package/dist-esm/samples-dev/listOperations.js +0 -29
- package/dist-esm/samples-dev/listOperations.js.map +0 -1
- package/dist-esm/samples-dev/listRemediationsAtIndividualResourceScope.d.ts +0 -2
- package/dist-esm/samples-dev/listRemediationsAtIndividualResourceScope.d.ts.map +0 -1
- package/dist-esm/samples-dev/listRemediationsAtIndividualResourceScope.js +0 -44
- package/dist-esm/samples-dev/listRemediationsAtIndividualResourceScope.js.map +0 -1
- package/dist-esm/samples-dev/listRemediationsAtIndividualResourceScopeWithQueryParameters.d.ts +0 -2
- package/dist-esm/samples-dev/listRemediationsAtIndividualResourceScopeWithQueryParameters.d.ts.map +0 -1
- package/dist-esm/samples-dev/listRemediationsAtIndividualResourceScopeWithQueryParameters.js +0 -47
- package/dist-esm/samples-dev/listRemediationsAtIndividualResourceScopeWithQueryParameters.js.map +0 -1
- package/dist-esm/samples-dev/listRemediationsAtManagementGroupScope.d.ts +0 -2
- package/dist-esm/samples-dev/listRemediationsAtManagementGroupScope.d.ts.map +0 -1
- package/dist-esm/samples-dev/listRemediationsAtManagementGroupScope.js +0 -44
- package/dist-esm/samples-dev/listRemediationsAtManagementGroupScope.js.map +0 -1
- package/dist-esm/samples-dev/listRemediationsAtManagementGroupScopeWithQueryParameters.d.ts +0 -2
- package/dist-esm/samples-dev/listRemediationsAtManagementGroupScopeWithQueryParameters.d.ts.map +0 -1
- package/dist-esm/samples-dev/listRemediationsAtManagementGroupScopeWithQueryParameters.js +0 -47
- package/dist-esm/samples-dev/listRemediationsAtManagementGroupScopeWithQueryParameters.js.map +0 -1
- package/dist-esm/samples-dev/listRemediationsAtResourceGroupScope.d.ts +0 -2
- package/dist-esm/samples-dev/listRemediationsAtResourceGroupScope.d.ts.map +0 -1
- package/dist-esm/samples-dev/listRemediationsAtResourceGroupScope.js +0 -44
- package/dist-esm/samples-dev/listRemediationsAtResourceGroupScope.js.map +0 -1
- package/dist-esm/samples-dev/listRemediationsAtResourceGroupScopeWithQueryParameters.d.ts +0 -2
- package/dist-esm/samples-dev/listRemediationsAtResourceGroupScopeWithQueryParameters.d.ts.map +0 -1
- package/dist-esm/samples-dev/listRemediationsAtResourceGroupScopeWithQueryParameters.js +0 -47
- package/dist-esm/samples-dev/listRemediationsAtResourceGroupScopeWithQueryParameters.js.map +0 -1
- package/dist-esm/samples-dev/listRemediationsAtSubscriptionScope.d.ts +0 -2
- package/dist-esm/samples-dev/listRemediationsAtSubscriptionScope.d.ts.map +0 -1
- package/dist-esm/samples-dev/listRemediationsAtSubscriptionScope.js +0 -43
- package/dist-esm/samples-dev/listRemediationsAtSubscriptionScope.js.map +0 -1
- package/dist-esm/samples-dev/listRemediationsAtSubscriptionScopeWithQueryParameters.d.ts +0 -2
- package/dist-esm/samples-dev/listRemediationsAtSubscriptionScopeWithQueryParameters.d.ts.map +0 -1
- package/dist-esm/samples-dev/listRemediationsAtSubscriptionScopeWithQueryParameters.js +0 -46
- package/dist-esm/samples-dev/listRemediationsAtSubscriptionScopeWithQueryParameters.js.map +0 -1
- package/dist-esm/samples-dev/queryAllPolicyStatesAtNestedResourceScope.d.ts +0 -2
- package/dist-esm/samples-dev/queryAllPolicyStatesAtNestedResourceScope.d.ts.map +0 -1
- package/dist-esm/samples-dev/queryAllPolicyStatesAtNestedResourceScope.js +0 -45
- package/dist-esm/samples-dev/queryAllPolicyStatesAtNestedResourceScope.js.map +0 -1
- package/dist-esm/samples-dev/queryAllPolicyStatesAtResourceScope.d.ts +0 -2
- package/dist-esm/samples-dev/queryAllPolicyStatesAtResourceScope.d.ts.map +0 -1
- package/dist-esm/samples-dev/queryAllPolicyStatesAtResourceScope.js +0 -45
- package/dist-esm/samples-dev/queryAllPolicyStatesAtResourceScope.js.map +0 -1
- package/dist-esm/samples-dev/queryAllPolicyStatesAtResourceScopeAndExpandPolicyEvaluationDetails.d.ts +0 -2
- package/dist-esm/samples-dev/queryAllPolicyStatesAtResourceScopeAndExpandPolicyEvaluationDetails.d.ts.map +0 -1
- package/dist-esm/samples-dev/queryAllPolicyStatesAtResourceScopeAndExpandPolicyEvaluationDetails.js +0 -47
- package/dist-esm/samples-dev/queryAllPolicyStatesAtResourceScopeAndExpandPolicyEvaluationDetails.js.map +0 -1
- package/dist-esm/samples-dev/queryAllPolicyStatesAtResourceScopeWithNextLink.d.ts +0 -2
- package/dist-esm/samples-dev/queryAllPolicyStatesAtResourceScopeWithNextLink.d.ts.map +0 -1
- package/dist-esm/samples-dev/queryAllPolicyStatesAtResourceScopeWithNextLink.js +0 -47
- package/dist-esm/samples-dev/queryAllPolicyStatesAtResourceScopeWithNextLink.js.map +0 -1
- package/dist-esm/samples-dev/queryAllPolicyStatesAtSubscriptionLevelNestedResourceScope.d.ts +0 -2
- package/dist-esm/samples-dev/queryAllPolicyStatesAtSubscriptionLevelNestedResourceScope.d.ts.map +0 -1
- package/dist-esm/samples-dev/queryAllPolicyStatesAtSubscriptionLevelNestedResourceScope.js +0 -45
- package/dist-esm/samples-dev/queryAllPolicyStatesAtSubscriptionLevelNestedResourceScope.js.map +0 -1
- package/dist-esm/samples-dev/queryAllPolicyStatesAtSubscriptionLevelResourceScope.d.ts +0 -2
- package/dist-esm/samples-dev/queryAllPolicyStatesAtSubscriptionLevelResourceScope.d.ts.map +0 -1
- package/dist-esm/samples-dev/queryAllPolicyStatesAtSubscriptionLevelResourceScope.js +0 -45
- package/dist-esm/samples-dev/queryAllPolicyStatesAtSubscriptionLevelResourceScope.js.map +0 -1
- package/dist-esm/samples-dev/queryAtManagementGroupScope.d.ts +0 -2
- package/dist-esm/samples-dev/queryAtManagementGroupScope.d.ts.map +0 -1
- package/dist-esm/samples-dev/queryAtManagementGroupScope.js +0 -44
- package/dist-esm/samples-dev/queryAtManagementGroupScope.js.map +0 -1
- package/dist-esm/samples-dev/queryAtManagementGroupScopeUsingQueryParameters.d.ts +0 -2
- package/dist-esm/samples-dev/queryAtManagementGroupScopeUsingQueryParameters.d.ts.map +0 -1
- package/dist-esm/samples-dev/queryAtManagementGroupScopeUsingQueryParameters.js +0 -47
- package/dist-esm/samples-dev/queryAtManagementGroupScopeUsingQueryParameters.js.map +0 -1
- package/dist-esm/samples-dev/queryAtManagementGroupScopeWithNextLink.d.ts +0 -2
- package/dist-esm/samples-dev/queryAtManagementGroupScopeWithNextLink.d.ts.map +0 -1
- package/dist-esm/samples-dev/queryAtManagementGroupScopeWithNextLink.js +0 -46
- package/dist-esm/samples-dev/queryAtManagementGroupScopeWithNextLink.js.map +0 -1
- package/dist-esm/samples-dev/queryAtNestedResourceScope.d.ts +0 -2
- package/dist-esm/samples-dev/queryAtNestedResourceScope.d.ts.map +0 -1
- package/dist-esm/samples-dev/queryAtNestedResourceScope.js +0 -44
- package/dist-esm/samples-dev/queryAtNestedResourceScope.js.map +0 -1
- package/dist-esm/samples-dev/queryAtResourceGroupLevelPolicyAssignmentScope.d.ts +0 -2
- package/dist-esm/samples-dev/queryAtResourceGroupLevelPolicyAssignmentScope.d.ts.map +0 -1
- package/dist-esm/samples-dev/queryAtResourceGroupLevelPolicyAssignmentScope.js +0 -46
- package/dist-esm/samples-dev/queryAtResourceGroupLevelPolicyAssignmentScope.js.map +0 -1
- package/dist-esm/samples-dev/queryAtResourceGroupLevelPolicyAssignmentScopeWithNextLink.d.ts +0 -2
- package/dist-esm/samples-dev/queryAtResourceGroupLevelPolicyAssignmentScopeWithNextLink.d.ts.map +0 -1
- package/dist-esm/samples-dev/queryAtResourceGroupLevelPolicyAssignmentScopeWithNextLink.js +0 -48
- package/dist-esm/samples-dev/queryAtResourceGroupLevelPolicyAssignmentScopeWithNextLink.js.map +0 -1
- package/dist-esm/samples-dev/queryAtResourceGroupScope.d.ts +0 -2
- package/dist-esm/samples-dev/queryAtResourceGroupScope.d.ts.map +0 -1
- package/dist-esm/samples-dev/queryAtResourceGroupScope.js +0 -45
- package/dist-esm/samples-dev/queryAtResourceGroupScope.js.map +0 -1
- package/dist-esm/samples-dev/queryAtResourceGroupScopeUsingQueryParameters.d.ts +0 -2
- package/dist-esm/samples-dev/queryAtResourceGroupScopeUsingQueryParameters.d.ts.map +0 -1
- package/dist-esm/samples-dev/queryAtResourceGroupScopeUsingQueryParameters.js +0 -47
- package/dist-esm/samples-dev/queryAtResourceGroupScopeUsingQueryParameters.js.map +0 -1
- package/dist-esm/samples-dev/queryAtResourceGroupScopeWithNextLink.d.ts +0 -2
- package/dist-esm/samples-dev/queryAtResourceGroupScopeWithNextLink.d.ts.map +0 -1
- package/dist-esm/samples-dev/queryAtResourceGroupScopeWithNextLink.js +0 -47
- package/dist-esm/samples-dev/queryAtResourceGroupScopeWithNextLink.js.map +0 -1
- package/dist-esm/samples-dev/queryAtResourceScope.d.ts +0 -2
- package/dist-esm/samples-dev/queryAtResourceScope.d.ts.map +0 -1
- package/dist-esm/samples-dev/queryAtResourceScope.js +0 -44
- package/dist-esm/samples-dev/queryAtResourceScope.js.map +0 -1
- package/dist-esm/samples-dev/queryAtResourceScopeUsingQueryParameters.d.ts +0 -2
- package/dist-esm/samples-dev/queryAtResourceScopeUsingQueryParameters.d.ts.map +0 -1
- package/dist-esm/samples-dev/queryAtResourceScopeUsingQueryParameters.js +0 -47
- package/dist-esm/samples-dev/queryAtResourceScopeUsingQueryParameters.js.map +0 -1
- package/dist-esm/samples-dev/queryAtResourceScopeWithNextLink.d.ts +0 -2
- package/dist-esm/samples-dev/queryAtResourceScopeWithNextLink.d.ts.map +0 -1
- package/dist-esm/samples-dev/queryAtResourceScopeWithNextLink.js +0 -46
- package/dist-esm/samples-dev/queryAtResourceScopeWithNextLink.js.map +0 -1
- package/dist-esm/samples-dev/queryAtSubscriptionLevelNestedResourceScope.d.ts +0 -2
- package/dist-esm/samples-dev/queryAtSubscriptionLevelNestedResourceScope.d.ts.map +0 -1
- package/dist-esm/samples-dev/queryAtSubscriptionLevelNestedResourceScope.js +0 -44
- package/dist-esm/samples-dev/queryAtSubscriptionLevelNestedResourceScope.js.map +0 -1
- package/dist-esm/samples-dev/queryAtSubscriptionLevelPolicyAssignmentScope.d.ts +0 -2
- package/dist-esm/samples-dev/queryAtSubscriptionLevelPolicyAssignmentScope.d.ts.map +0 -1
- package/dist-esm/samples-dev/queryAtSubscriptionLevelPolicyAssignmentScope.js +0 -45
- package/dist-esm/samples-dev/queryAtSubscriptionLevelPolicyAssignmentScope.js.map +0 -1
- package/dist-esm/samples-dev/queryAtSubscriptionLevelPolicyAssignmentScopeWithNextLink.d.ts +0 -2
- package/dist-esm/samples-dev/queryAtSubscriptionLevelPolicyAssignmentScopeWithNextLink.d.ts.map +0 -1
- package/dist-esm/samples-dev/queryAtSubscriptionLevelPolicyAssignmentScopeWithNextLink.js +0 -47
- package/dist-esm/samples-dev/queryAtSubscriptionLevelPolicyAssignmentScopeWithNextLink.js.map +0 -1
- package/dist-esm/samples-dev/queryAtSubscriptionLevelPolicyDefinitionScope.d.ts +0 -2
- package/dist-esm/samples-dev/queryAtSubscriptionLevelPolicyDefinitionScope.d.ts.map +0 -1
- package/dist-esm/samples-dev/queryAtSubscriptionLevelPolicyDefinitionScope.js +0 -45
- package/dist-esm/samples-dev/queryAtSubscriptionLevelPolicyDefinitionScope.js.map +0 -1
- package/dist-esm/samples-dev/queryAtSubscriptionLevelPolicyDefinitionScopeWithNextLink.d.ts +0 -2
- package/dist-esm/samples-dev/queryAtSubscriptionLevelPolicyDefinitionScopeWithNextLink.d.ts.map +0 -1
- package/dist-esm/samples-dev/queryAtSubscriptionLevelPolicyDefinitionScopeWithNextLink.js +0 -47
- package/dist-esm/samples-dev/queryAtSubscriptionLevelPolicyDefinitionScopeWithNextLink.js.map +0 -1
- package/dist-esm/samples-dev/queryAtSubscriptionLevelPolicySetDefinitionScope.d.ts +0 -2
- package/dist-esm/samples-dev/queryAtSubscriptionLevelPolicySetDefinitionScope.d.ts.map +0 -1
- package/dist-esm/samples-dev/queryAtSubscriptionLevelPolicySetDefinitionScope.js +0 -45
- package/dist-esm/samples-dev/queryAtSubscriptionLevelPolicySetDefinitionScope.js.map +0 -1
- package/dist-esm/samples-dev/queryAtSubscriptionLevelPolicySetDefinitionScopeWithNextLink.d.ts +0 -2
- package/dist-esm/samples-dev/queryAtSubscriptionLevelPolicySetDefinitionScopeWithNextLink.d.ts.map +0 -1
- package/dist-esm/samples-dev/queryAtSubscriptionLevelPolicySetDefinitionScopeWithNextLink.js +0 -47
- package/dist-esm/samples-dev/queryAtSubscriptionLevelPolicySetDefinitionScopeWithNextLink.js.map +0 -1
- package/dist-esm/samples-dev/queryAtSubscriptionLevelResourceScope.d.ts +0 -2
- package/dist-esm/samples-dev/queryAtSubscriptionLevelResourceScope.d.ts.map +0 -1
- package/dist-esm/samples-dev/queryAtSubscriptionLevelResourceScope.js +0 -44
- package/dist-esm/samples-dev/queryAtSubscriptionLevelResourceScope.js.map +0 -1
- package/dist-esm/samples-dev/queryAtSubscriptionScope.d.ts +0 -2
- package/dist-esm/samples-dev/queryAtSubscriptionScope.d.ts.map +0 -1
- package/dist-esm/samples-dev/queryAtSubscriptionScope.js +0 -44
- package/dist-esm/samples-dev/queryAtSubscriptionScope.js.map +0 -1
- package/dist-esm/samples-dev/queryAtSubscriptionScopeUsingQueryParameters.d.ts +0 -2
- package/dist-esm/samples-dev/queryAtSubscriptionScopeUsingQueryParameters.d.ts.map +0 -1
- package/dist-esm/samples-dev/queryAtSubscriptionScopeUsingQueryParameters.js +0 -46
- package/dist-esm/samples-dev/queryAtSubscriptionScopeUsingQueryParameters.js.map +0 -1
- package/dist-esm/samples-dev/queryAtSubscriptionScopeWithNextLink.d.ts +0 -2
- package/dist-esm/samples-dev/queryAtSubscriptionScopeWithNextLink.d.ts.map +0 -1
- package/dist-esm/samples-dev/queryAtSubscriptionScopeWithNextLink.js +0 -46
- package/dist-esm/samples-dev/queryAtSubscriptionScopeWithNextLink.js.map +0 -1
- package/dist-esm/samples-dev/queryComponentPolicyComplianceStateAtResourceScopeFilteredByGivenAssignment.d.ts +0 -2
- package/dist-esm/samples-dev/queryComponentPolicyComplianceStateAtResourceScopeFilteredByGivenAssignment.d.ts.map +0 -1
- package/dist-esm/samples-dev/queryComponentPolicyComplianceStateAtResourceScopeFilteredByGivenAssignment.js +0 -48
- package/dist-esm/samples-dev/queryComponentPolicyComplianceStateAtResourceScopeFilteredByGivenAssignment.js.map +0 -1
- package/dist-esm/samples-dev/queryComponentPolicyComplianceStateCountGroupedByStateTypeAtResourceScopeFilteredByGivenAssignment.d.ts +0 -2
- package/dist-esm/samples-dev/queryComponentPolicyComplianceStateCountGroupedByStateTypeAtResourceScopeFilteredByGivenAssignment.d.ts.map +0 -1
- package/dist-esm/samples-dev/queryComponentPolicyComplianceStateCountGroupedByStateTypeAtResourceScopeFilteredByGivenAssignment.js +0 -48
- package/dist-esm/samples-dev/queryComponentPolicyComplianceStateCountGroupedByStateTypeAtResourceScopeFilteredByGivenAssignment.js.map +0 -1
- package/dist-esm/samples-dev/queryComponentsPolicyEventsCountGroupedByUserAndActionTypeForResourceScopeFilteredByGivenAssignment.d.ts +0 -2
- package/dist-esm/samples-dev/queryComponentsPolicyEventsCountGroupedByUserAndActionTypeForResourceScopeFilteredByGivenAssignment.d.ts.map +0 -1
- package/dist-esm/samples-dev/queryComponentsPolicyEventsCountGroupedByUserAndActionTypeForResourceScopeFilteredByGivenAssignment.js +0 -47
- package/dist-esm/samples-dev/queryComponentsPolicyEventsCountGroupedByUserAndActionTypeForResourceScopeFilteredByGivenAssignment.js.map +0 -1
- package/dist-esm/samples-dev/queryComponentsPolicyEventsForResourceScopeFilteredByGivenAssignment.d.ts +0 -2
- package/dist-esm/samples-dev/queryComponentsPolicyEventsForResourceScopeFilteredByGivenAssignment.d.ts.map +0 -1
- package/dist-esm/samples-dev/queryComponentsPolicyEventsForResourceScopeFilteredByGivenAssignment.js +0 -47
- package/dist-esm/samples-dev/queryComponentsPolicyEventsForResourceScopeFilteredByGivenAssignment.js.map +0 -1
- package/dist-esm/samples-dev/queryLatestAtManagementGroupScope.d.ts +0 -2
- package/dist-esm/samples-dev/queryLatestAtManagementGroupScope.d.ts.map +0 -1
- package/dist-esm/samples-dev/queryLatestAtManagementGroupScope.js +0 -45
- package/dist-esm/samples-dev/queryLatestAtManagementGroupScope.js.map +0 -1
- package/dist-esm/samples-dev/queryLatestAtManagementGroupScopeWithNextLink.d.ts +0 -2
- package/dist-esm/samples-dev/queryLatestAtManagementGroupScopeWithNextLink.d.ts.map +0 -1
- package/dist-esm/samples-dev/queryLatestAtManagementGroupScopeWithNextLink.js +0 -47
- package/dist-esm/samples-dev/queryLatestAtManagementGroupScopeWithNextLink.js.map +0 -1
- package/dist-esm/samples-dev/queryLatestAtResourceGroupLevelPolicyAssignmentScope.d.ts +0 -2
- package/dist-esm/samples-dev/queryLatestAtResourceGroupLevelPolicyAssignmentScope.d.ts.map +0 -1
- package/dist-esm/samples-dev/queryLatestAtResourceGroupLevelPolicyAssignmentScope.js +0 -47
- package/dist-esm/samples-dev/queryLatestAtResourceGroupLevelPolicyAssignmentScope.js.map +0 -1
- package/dist-esm/samples-dev/queryLatestAtResourceGroupLevelPolicyAssignmentScopeWithNextLink.d.ts +0 -2
- package/dist-esm/samples-dev/queryLatestAtResourceGroupLevelPolicyAssignmentScopeWithNextLink.d.ts.map +0 -1
- package/dist-esm/samples-dev/queryLatestAtResourceGroupLevelPolicyAssignmentScopeWithNextLink.js +0 -49
- package/dist-esm/samples-dev/queryLatestAtResourceGroupLevelPolicyAssignmentScopeWithNextLink.js.map +0 -1
- package/dist-esm/samples-dev/queryLatestAtResourceGroupScope.d.ts +0 -2
- package/dist-esm/samples-dev/queryLatestAtResourceGroupScope.d.ts.map +0 -1
- package/dist-esm/samples-dev/queryLatestAtResourceGroupScope.js +0 -46
- package/dist-esm/samples-dev/queryLatestAtResourceGroupScope.js.map +0 -1
- package/dist-esm/samples-dev/queryLatestAtResourceGroupScopeWithNextLink.d.ts +0 -2
- package/dist-esm/samples-dev/queryLatestAtResourceGroupScopeWithNextLink.d.ts.map +0 -1
- package/dist-esm/samples-dev/queryLatestAtResourceGroupScopeWithNextLink.js +0 -48
- package/dist-esm/samples-dev/queryLatestAtResourceGroupScopeWithNextLink.js.map +0 -1
- package/dist-esm/samples-dev/queryLatestAtSubscriptionLevelPolicyAssignmentScope.d.ts +0 -2
- package/dist-esm/samples-dev/queryLatestAtSubscriptionLevelPolicyAssignmentScope.d.ts.map +0 -1
- package/dist-esm/samples-dev/queryLatestAtSubscriptionLevelPolicyAssignmentScope.js +0 -46
- package/dist-esm/samples-dev/queryLatestAtSubscriptionLevelPolicyAssignmentScope.js.map +0 -1
- package/dist-esm/samples-dev/queryLatestAtSubscriptionLevelPolicyAssignmentScopeWithNextLink.d.ts +0 -2
- package/dist-esm/samples-dev/queryLatestAtSubscriptionLevelPolicyAssignmentScopeWithNextLink.d.ts.map +0 -1
- package/dist-esm/samples-dev/queryLatestAtSubscriptionLevelPolicyAssignmentScopeWithNextLink.js +0 -48
- package/dist-esm/samples-dev/queryLatestAtSubscriptionLevelPolicyAssignmentScopeWithNextLink.js.map +0 -1
- package/dist-esm/samples-dev/queryLatestAtSubscriptionLevelPolicyDefinitionScope.d.ts +0 -2
- package/dist-esm/samples-dev/queryLatestAtSubscriptionLevelPolicyDefinitionScope.d.ts.map +0 -1
- package/dist-esm/samples-dev/queryLatestAtSubscriptionLevelPolicyDefinitionScope.js +0 -46
- package/dist-esm/samples-dev/queryLatestAtSubscriptionLevelPolicyDefinitionScope.js.map +0 -1
- package/dist-esm/samples-dev/queryLatestAtSubscriptionLevelPolicyDefinitionScopeWithNextLink.d.ts +0 -2
- package/dist-esm/samples-dev/queryLatestAtSubscriptionLevelPolicyDefinitionScopeWithNextLink.d.ts.map +0 -1
- package/dist-esm/samples-dev/queryLatestAtSubscriptionLevelPolicyDefinitionScopeWithNextLink.js +0 -48
- package/dist-esm/samples-dev/queryLatestAtSubscriptionLevelPolicyDefinitionScopeWithNextLink.js.map +0 -1
- package/dist-esm/samples-dev/queryLatestAtSubscriptionLevelPolicySetDefinitionScope.d.ts +0 -2
- package/dist-esm/samples-dev/queryLatestAtSubscriptionLevelPolicySetDefinitionScope.d.ts.map +0 -1
- package/dist-esm/samples-dev/queryLatestAtSubscriptionLevelPolicySetDefinitionScope.js +0 -46
- package/dist-esm/samples-dev/queryLatestAtSubscriptionLevelPolicySetDefinitionScope.js.map +0 -1
- package/dist-esm/samples-dev/queryLatestAtSubscriptionLevelPolicySetDefinitionScopeWithNextLink.d.ts +0 -2
- package/dist-esm/samples-dev/queryLatestAtSubscriptionLevelPolicySetDefinitionScopeWithNextLink.d.ts.map +0 -1
- package/dist-esm/samples-dev/queryLatestAtSubscriptionLevelPolicySetDefinitionScopeWithNextLink.js +0 -48
- package/dist-esm/samples-dev/queryLatestAtSubscriptionLevelPolicySetDefinitionScopeWithNextLink.js.map +0 -1
- package/dist-esm/samples-dev/queryLatestAtSubscriptionScope.d.ts +0 -2
- package/dist-esm/samples-dev/queryLatestAtSubscriptionScope.d.ts.map +0 -1
- package/dist-esm/samples-dev/queryLatestAtSubscriptionScope.js +0 -45
- package/dist-esm/samples-dev/queryLatestAtSubscriptionScope.js.map +0 -1
- package/dist-esm/samples-dev/queryLatestAtSubscriptionScopeWithNextLink.d.ts +0 -2
- package/dist-esm/samples-dev/queryLatestAtSubscriptionScopeWithNextLink.d.ts.map +0 -1
- package/dist-esm/samples-dev/queryLatestAtSubscriptionScopeWithNextLink.js +0 -47
- package/dist-esm/samples-dev/queryLatestAtSubscriptionScopeWithNextLink.js.map +0 -1
- package/dist-esm/samples-dev/summarizeAtManagementGroupScope.d.ts +0 -2
- package/dist-esm/samples-dev/summarizeAtManagementGroupScope.d.ts.map +0 -1
- package/dist-esm/samples-dev/summarizeAtManagementGroupScope.js +0 -35
- package/dist-esm/samples-dev/summarizeAtManagementGroupScope.js.map +0 -1
- package/dist-esm/samples-dev/summarizeAtPolicyAssignmentScope.d.ts +0 -2
- package/dist-esm/samples-dev/summarizeAtPolicyAssignmentScope.d.ts.map +0 -1
- package/dist-esm/samples-dev/summarizeAtPolicyAssignmentScope.js +0 -32
- package/dist-esm/samples-dev/summarizeAtPolicyAssignmentScope.js.map +0 -1
- package/dist-esm/samples-dev/summarizeAtPolicyDefinitionScope.d.ts +0 -2
- package/dist-esm/samples-dev/summarizeAtPolicyDefinitionScope.d.ts.map +0 -1
- package/dist-esm/samples-dev/summarizeAtPolicyDefinitionScope.js +0 -31
- package/dist-esm/samples-dev/summarizeAtPolicyDefinitionScope.js.map +0 -1
- package/dist-esm/samples-dev/summarizeAtPolicySetDefinitionScope.d.ts +0 -2
- package/dist-esm/samples-dev/summarizeAtPolicySetDefinitionScope.d.ts.map +0 -1
- package/dist-esm/samples-dev/summarizeAtPolicySetDefinitionScope.js +0 -36
- package/dist-esm/samples-dev/summarizeAtPolicySetDefinitionScope.js.map +0 -1
- package/dist-esm/samples-dev/summarizeAtResourceGroupScope.d.ts +0 -2
- package/dist-esm/samples-dev/summarizeAtResourceGroupScope.d.ts.map +0 -1
- package/dist-esm/samples-dev/summarizeAtResourceGroupScope.js +0 -31
- package/dist-esm/samples-dev/summarizeAtResourceGroupScope.js.map +0 -1
- package/dist-esm/samples-dev/summarizeAtResourceScope.d.ts +0 -2
- package/dist-esm/samples-dev/summarizeAtResourceScope.d.ts.map +0 -1
- package/dist-esm/samples-dev/summarizeAtResourceScope.js +0 -32
- package/dist-esm/samples-dev/summarizeAtResourceScope.js.map +0 -1
- package/dist-esm/samples-dev/summarizeAtSubscriptionScope.d.ts +0 -2
- package/dist-esm/samples-dev/summarizeAtSubscriptionScope.d.ts.map +0 -1
- package/dist-esm/samples-dev/summarizeAtSubscriptionScope.js +0 -32
- package/dist-esm/samples-dev/summarizeAtSubscriptionScope.js.map +0 -1
- package/dist-esm/samples-dev/summarizeAtSubscriptionScopeForAPolicyDefinitionGroup.d.ts +0 -2
- package/dist-esm/samples-dev/summarizeAtSubscriptionScopeForAPolicyDefinitionGroup.d.ts.map +0 -1
- package/dist-esm/samples-dev/summarizeAtSubscriptionScopeForAPolicyDefinitionGroup.js +0 -33
- package/dist-esm/samples-dev/summarizeAtSubscriptionScopeForAPolicyDefinitionGroup.js.map +0 -1
- package/dist-esm/samples-dev/timeRangeSortSelectAndLimit.d.ts +0 -2
- package/dist-esm/samples-dev/timeRangeSortSelectAndLimit.d.ts.map +0 -1
- package/dist-esm/samples-dev/timeRangeSortSelectAndLimit.js +0 -57
- package/dist-esm/samples-dev/timeRangeSortSelectAndLimit.js.map +0 -1
- package/dist-esm/samples-dev/triggerEvaluationsForAllResourcesInAResourceGroup.d.ts +0 -2
- package/dist-esm/samples-dev/triggerEvaluationsForAllResourcesInAResourceGroup.d.ts.map +0 -1
- package/dist-esm/samples-dev/triggerEvaluationsForAllResourcesInAResourceGroup.js +0 -31
- package/dist-esm/samples-dev/triggerEvaluationsForAllResourcesInAResourceGroup.js.map +0 -1
- package/dist-esm/samples-dev/triggerEvaluationsForAllResourcesInASubscription.d.ts +0 -2
- package/dist-esm/samples-dev/triggerEvaluationsForAllResourcesInASubscription.d.ts.map +0 -1
- package/dist-esm/samples-dev/triggerEvaluationsForAllResourcesInASubscription.js +0 -30
- package/dist-esm/samples-dev/triggerEvaluationsForAllResourcesInASubscription.js.map +0 -1
- package/dist-esm/test/sampleTest.d.ts +0 -2
- package/dist-esm/test/sampleTest.d.ts.map +0 -1
- package/dist-esm/test/sampleTest.js +0 -40
- package/dist-esm/test/sampleTest.js.map +0 -1
package/dist/index.js
CHANGED
|
@@ -3,6 +3,7 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
5
|
var coreClient = require('@azure/core-client');
|
|
6
|
+
var coreRestPipeline = require('@azure/core-rest-pipeline');
|
|
6
7
|
var tslib = require('tslib');
|
|
7
8
|
var coreLro = require('@azure/core-lro');
|
|
8
9
|
|
|
@@ -25,6 +26,39 @@ function _interopNamespace(e) {
|
|
|
25
26
|
}
|
|
26
27
|
|
|
27
28
|
var coreClient__namespace = /*#__PURE__*/_interopNamespace(coreClient);
|
|
29
|
+
var coreRestPipeline__namespace = /*#__PURE__*/_interopNamespace(coreRestPipeline);
|
|
30
|
+
|
|
31
|
+
/*
|
|
32
|
+
* Copyright (c) Microsoft Corporation.
|
|
33
|
+
* Licensed under the MIT License.
|
|
34
|
+
*
|
|
35
|
+
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
36
|
+
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
37
|
+
*/
|
|
38
|
+
const pageMap = new WeakMap();
|
|
39
|
+
/**
|
|
40
|
+
* Given the last `.value` produced by the `byPage` iterator,
|
|
41
|
+
* returns a continuation token that can be used to begin paging from
|
|
42
|
+
* that point later.
|
|
43
|
+
* @param page An object from accessing `value` on the IteratorResult from a `byPage` iterator.
|
|
44
|
+
* @returns The continuation token that can be passed into byPage() during future calls.
|
|
45
|
+
*/
|
|
46
|
+
function getContinuationToken(page) {
|
|
47
|
+
var _a;
|
|
48
|
+
if (typeof page !== "object" || page === null) {
|
|
49
|
+
return undefined;
|
|
50
|
+
}
|
|
51
|
+
return (_a = pageMap.get(page)) === null || _a === void 0 ? void 0 : _a.continuationToken;
|
|
52
|
+
}
|
|
53
|
+
function setContinuationToken(page, continuationToken) {
|
|
54
|
+
var _a;
|
|
55
|
+
if (typeof page !== "object" || page === null || !continuationToken) {
|
|
56
|
+
return;
|
|
57
|
+
}
|
|
58
|
+
const pageInfo = (_a = pageMap.get(page)) !== null && _a !== void 0 ? _a : {};
|
|
59
|
+
pageInfo.continuationToken = continuationToken;
|
|
60
|
+
pageMap.set(page, pageInfo);
|
|
61
|
+
}
|
|
28
62
|
|
|
29
63
|
/*
|
|
30
64
|
* Copyright (c) Microsoft Corporation.
|
|
@@ -36,6 +70,7 @@ var coreClient__namespace = /*#__PURE__*/_interopNamespace(coreClient);
|
|
|
36
70
|
/** Known values of {@link PolicyTrackedResourcesResourceType} that the service accepts. */
|
|
37
71
|
exports.KnownPolicyTrackedResourcesResourceType = void 0;
|
|
38
72
|
(function (KnownPolicyTrackedResourcesResourceType) {
|
|
73
|
+
/** Default */
|
|
39
74
|
KnownPolicyTrackedResourcesResourceType["Default"] = "default";
|
|
40
75
|
})(exports.KnownPolicyTrackedResourcesResourceType || (exports.KnownPolicyTrackedResourcesResourceType = {}));
|
|
41
76
|
/** Known values of {@link ResourceDiscoveryMode} that the service accepts. */
|
|
@@ -49,25 +84,33 @@ exports.KnownResourceDiscoveryMode = void 0;
|
|
|
49
84
|
/** Known values of {@link CreatedByType} that the service accepts. */
|
|
50
85
|
exports.KnownCreatedByType = void 0;
|
|
51
86
|
(function (KnownCreatedByType) {
|
|
87
|
+
/** User */
|
|
52
88
|
KnownCreatedByType["User"] = "User";
|
|
89
|
+
/** Application */
|
|
53
90
|
KnownCreatedByType["Application"] = "Application";
|
|
91
|
+
/** ManagedIdentity */
|
|
54
92
|
KnownCreatedByType["ManagedIdentity"] = "ManagedIdentity";
|
|
93
|
+
/** Key */
|
|
55
94
|
KnownCreatedByType["Key"] = "Key";
|
|
56
95
|
})(exports.KnownCreatedByType || (exports.KnownCreatedByType = {}));
|
|
57
96
|
/** Known values of {@link PolicyEventsResourceType} that the service accepts. */
|
|
58
97
|
exports.KnownPolicyEventsResourceType = void 0;
|
|
59
98
|
(function (KnownPolicyEventsResourceType) {
|
|
99
|
+
/** Default */
|
|
60
100
|
KnownPolicyEventsResourceType["Default"] = "default";
|
|
61
101
|
})(exports.KnownPolicyEventsResourceType || (exports.KnownPolicyEventsResourceType = {}));
|
|
62
102
|
/** Known values of {@link PolicyStatesResource} that the service accepts. */
|
|
63
103
|
exports.KnownPolicyStatesResource = void 0;
|
|
64
104
|
(function (KnownPolicyStatesResource) {
|
|
105
|
+
/** Default */
|
|
65
106
|
KnownPolicyStatesResource["Default"] = "default";
|
|
107
|
+
/** Latest */
|
|
66
108
|
KnownPolicyStatesResource["Latest"] = "latest";
|
|
67
109
|
})(exports.KnownPolicyStatesResource || (exports.KnownPolicyStatesResource = {}));
|
|
68
110
|
/** Known values of {@link PolicyStatesSummaryResourceType} that the service accepts. */
|
|
69
111
|
exports.KnownPolicyStatesSummaryResourceType = void 0;
|
|
70
112
|
(function (KnownPolicyStatesSummaryResourceType) {
|
|
113
|
+
/** Latest */
|
|
71
114
|
KnownPolicyStatesSummaryResourceType["Latest"] = "latest";
|
|
72
115
|
})(exports.KnownPolicyStatesSummaryResourceType || (exports.KnownPolicyStatesSummaryResourceType = {}));
|
|
73
116
|
/** Known values of {@link FieldRestrictionResult} that the service accepts. */
|
|
@@ -80,6 +123,12 @@ exports.KnownFieldRestrictionResult = void 0;
|
|
|
80
123
|
/** The field and/or values will be denied by policy. */
|
|
81
124
|
KnownFieldRestrictionResult["Deny"] = "Deny";
|
|
82
125
|
})(exports.KnownFieldRestrictionResult || (exports.KnownFieldRestrictionResult = {}));
|
|
126
|
+
/** Known values of {@link ComponentPolicyStatesResource} that the service accepts. */
|
|
127
|
+
exports.KnownComponentPolicyStatesResource = void 0;
|
|
128
|
+
(function (KnownComponentPolicyStatesResource) {
|
|
129
|
+
/** Latest */
|
|
130
|
+
KnownComponentPolicyStatesResource["Latest"] = "latest";
|
|
131
|
+
})(exports.KnownComponentPolicyStatesResource || (exports.KnownComponentPolicyStatesResource = {}));
|
|
83
132
|
/** Known values of {@link ComplianceState} that the service accepts. */
|
|
84
133
|
exports.KnownComplianceState = void 0;
|
|
85
134
|
(function (KnownComplianceState) {
|
|
@@ -1698,88 +1747,6 @@ const PolicyGroupSummary = {
|
|
|
1698
1747
|
}
|
|
1699
1748
|
}
|
|
1700
1749
|
};
|
|
1701
|
-
const OperationsListResults = {
|
|
1702
|
-
type: {
|
|
1703
|
-
name: "Composite",
|
|
1704
|
-
className: "OperationsListResults",
|
|
1705
|
-
modelProperties: {
|
|
1706
|
-
odataCount: {
|
|
1707
|
-
constraints: {
|
|
1708
|
-
InclusiveMinimum: 1
|
|
1709
|
-
},
|
|
1710
|
-
serializedName: "@odata\\.count",
|
|
1711
|
-
type: {
|
|
1712
|
-
name: "Number"
|
|
1713
|
-
}
|
|
1714
|
-
},
|
|
1715
|
-
value: {
|
|
1716
|
-
serializedName: "value",
|
|
1717
|
-
type: {
|
|
1718
|
-
name: "Sequence",
|
|
1719
|
-
element: {
|
|
1720
|
-
type: {
|
|
1721
|
-
name: "Composite",
|
|
1722
|
-
className: "Operation"
|
|
1723
|
-
}
|
|
1724
|
-
}
|
|
1725
|
-
}
|
|
1726
|
-
}
|
|
1727
|
-
}
|
|
1728
|
-
}
|
|
1729
|
-
};
|
|
1730
|
-
const Operation = {
|
|
1731
|
-
type: {
|
|
1732
|
-
name: "Composite",
|
|
1733
|
-
className: "Operation",
|
|
1734
|
-
modelProperties: {
|
|
1735
|
-
name: {
|
|
1736
|
-
serializedName: "name",
|
|
1737
|
-
type: {
|
|
1738
|
-
name: "String"
|
|
1739
|
-
}
|
|
1740
|
-
},
|
|
1741
|
-
display: {
|
|
1742
|
-
serializedName: "display",
|
|
1743
|
-
type: {
|
|
1744
|
-
name: "Composite",
|
|
1745
|
-
className: "OperationDisplay"
|
|
1746
|
-
}
|
|
1747
|
-
}
|
|
1748
|
-
}
|
|
1749
|
-
}
|
|
1750
|
-
};
|
|
1751
|
-
const OperationDisplay = {
|
|
1752
|
-
type: {
|
|
1753
|
-
name: "Composite",
|
|
1754
|
-
className: "OperationDisplay",
|
|
1755
|
-
modelProperties: {
|
|
1756
|
-
provider: {
|
|
1757
|
-
serializedName: "provider",
|
|
1758
|
-
type: {
|
|
1759
|
-
name: "String"
|
|
1760
|
-
}
|
|
1761
|
-
},
|
|
1762
|
-
resource: {
|
|
1763
|
-
serializedName: "resource",
|
|
1764
|
-
type: {
|
|
1765
|
-
name: "String"
|
|
1766
|
-
}
|
|
1767
|
-
},
|
|
1768
|
-
operation: {
|
|
1769
|
-
serializedName: "operation",
|
|
1770
|
-
type: {
|
|
1771
|
-
name: "String"
|
|
1772
|
-
}
|
|
1773
|
-
},
|
|
1774
|
-
description: {
|
|
1775
|
-
serializedName: "description",
|
|
1776
|
-
type: {
|
|
1777
|
-
name: "String"
|
|
1778
|
-
}
|
|
1779
|
-
}
|
|
1780
|
-
}
|
|
1781
|
-
}
|
|
1782
|
-
};
|
|
1783
1750
|
const PolicyMetadata = {
|
|
1784
1751
|
type: {
|
|
1785
1752
|
name: "Composite",
|
|
@@ -2376,185 +2343,631 @@ const CheckManagementGroupRestrictionsRequest = {
|
|
|
2376
2343
|
}
|
|
2377
2344
|
}
|
|
2378
2345
|
};
|
|
2379
|
-
const
|
|
2346
|
+
const ComponentPolicyStatesQueryResults = {
|
|
2380
2347
|
type: {
|
|
2381
2348
|
name: "Composite",
|
|
2382
|
-
className: "
|
|
2349
|
+
className: "ComponentPolicyStatesQueryResults",
|
|
2383
2350
|
modelProperties: {
|
|
2351
|
+
odataContext: {
|
|
2352
|
+
serializedName: "@odata\\.context",
|
|
2353
|
+
type: {
|
|
2354
|
+
name: "String"
|
|
2355
|
+
}
|
|
2356
|
+
},
|
|
2357
|
+
odataCount: {
|
|
2358
|
+
constraints: {
|
|
2359
|
+
InclusiveMinimum: 0
|
|
2360
|
+
},
|
|
2361
|
+
serializedName: "@odata\\.count",
|
|
2362
|
+
type: {
|
|
2363
|
+
name: "Number"
|
|
2364
|
+
}
|
|
2365
|
+
},
|
|
2384
2366
|
value: {
|
|
2385
2367
|
serializedName: "value",
|
|
2386
|
-
readOnly: true,
|
|
2387
2368
|
type: {
|
|
2388
2369
|
name: "Sequence",
|
|
2389
2370
|
element: {
|
|
2390
2371
|
type: {
|
|
2391
2372
|
name: "Composite",
|
|
2392
|
-
className: "
|
|
2373
|
+
className: "ComponentPolicyState"
|
|
2393
2374
|
}
|
|
2394
2375
|
}
|
|
2395
2376
|
}
|
|
2396
|
-
},
|
|
2397
|
-
nextLink: {
|
|
2398
|
-
serializedName: "nextLink",
|
|
2399
|
-
readOnly: true,
|
|
2400
|
-
type: {
|
|
2401
|
-
name: "String"
|
|
2402
|
-
}
|
|
2403
2377
|
}
|
|
2404
2378
|
}
|
|
2405
2379
|
}
|
|
2406
2380
|
};
|
|
2407
|
-
const
|
|
2381
|
+
const ComponentPolicyState = {
|
|
2408
2382
|
type: {
|
|
2409
2383
|
name: "Composite",
|
|
2410
|
-
className: "
|
|
2384
|
+
className: "ComponentPolicyState",
|
|
2385
|
+
additionalProperties: { type: { name: "Object" } },
|
|
2411
2386
|
modelProperties: {
|
|
2412
|
-
|
|
2413
|
-
serializedName: "
|
|
2387
|
+
odataId: {
|
|
2388
|
+
serializedName: "@odata\\.id",
|
|
2389
|
+
readOnly: true,
|
|
2414
2390
|
type: {
|
|
2415
2391
|
name: "String"
|
|
2416
2392
|
}
|
|
2417
2393
|
},
|
|
2418
|
-
|
|
2419
|
-
serializedName: "
|
|
2394
|
+
odataContext: {
|
|
2395
|
+
serializedName: "@odata\\.context",
|
|
2396
|
+
readOnly: true,
|
|
2420
2397
|
type: {
|
|
2421
2398
|
name: "String"
|
|
2422
2399
|
}
|
|
2423
|
-
}
|
|
2424
|
-
|
|
2425
|
-
|
|
2426
|
-
};
|
|
2427
|
-
const Resource = {
|
|
2428
|
-
type: {
|
|
2429
|
-
name: "Composite",
|
|
2430
|
-
className: "Resource",
|
|
2431
|
-
modelProperties: {
|
|
2432
|
-
id: {
|
|
2433
|
-
serializedName: "id",
|
|
2400
|
+
},
|
|
2401
|
+
timestamp: {
|
|
2402
|
+
serializedName: "timestamp",
|
|
2434
2403
|
readOnly: true,
|
|
2435
2404
|
type: {
|
|
2436
|
-
name: "
|
|
2405
|
+
name: "DateTime"
|
|
2437
2406
|
}
|
|
2438
2407
|
},
|
|
2439
|
-
|
|
2440
|
-
serializedName: "
|
|
2408
|
+
componentId: {
|
|
2409
|
+
serializedName: "componentId",
|
|
2441
2410
|
readOnly: true,
|
|
2442
2411
|
type: {
|
|
2443
2412
|
name: "String"
|
|
2444
2413
|
}
|
|
2445
2414
|
},
|
|
2446
|
-
|
|
2447
|
-
serializedName: "
|
|
2415
|
+
componentType: {
|
|
2416
|
+
serializedName: "componentType",
|
|
2448
2417
|
readOnly: true,
|
|
2449
2418
|
type: {
|
|
2450
2419
|
name: "String"
|
|
2451
2420
|
}
|
|
2452
|
-
}
|
|
2453
|
-
|
|
2454
|
-
|
|
2455
|
-
|
|
2456
|
-
const ErrorResponseAutoGenerated2 = {
|
|
2457
|
-
type: {
|
|
2458
|
-
name: "Composite",
|
|
2459
|
-
className: "ErrorResponseAutoGenerated2",
|
|
2460
|
-
modelProperties: {
|
|
2461
|
-
error: {
|
|
2462
|
-
serializedName: "error",
|
|
2421
|
+
},
|
|
2422
|
+
componentName: {
|
|
2423
|
+
serializedName: "componentName",
|
|
2424
|
+
readOnly: true,
|
|
2463
2425
|
type: {
|
|
2464
|
-
name: "
|
|
2465
|
-
className: "ErrorDefinitionAutoGenerated2"
|
|
2426
|
+
name: "String"
|
|
2466
2427
|
}
|
|
2467
|
-
}
|
|
2468
|
-
|
|
2469
|
-
|
|
2470
|
-
};
|
|
2471
|
-
const ErrorDefinitionAutoGenerated2 = {
|
|
2472
|
-
type: {
|
|
2473
|
-
name: "Composite",
|
|
2474
|
-
className: "ErrorDefinitionAutoGenerated2",
|
|
2475
|
-
modelProperties: {
|
|
2476
|
-
code: {
|
|
2477
|
-
serializedName: "code",
|
|
2428
|
+
},
|
|
2429
|
+
resourceId: {
|
|
2430
|
+
serializedName: "resourceId",
|
|
2478
2431
|
readOnly: true,
|
|
2479
2432
|
type: {
|
|
2480
2433
|
name: "String"
|
|
2481
2434
|
}
|
|
2482
2435
|
},
|
|
2483
|
-
|
|
2484
|
-
serializedName: "
|
|
2436
|
+
policyAssignmentId: {
|
|
2437
|
+
serializedName: "policyAssignmentId",
|
|
2485
2438
|
readOnly: true,
|
|
2486
2439
|
type: {
|
|
2487
2440
|
name: "String"
|
|
2488
2441
|
}
|
|
2489
2442
|
},
|
|
2490
|
-
|
|
2491
|
-
serializedName: "
|
|
2443
|
+
policyDefinitionId: {
|
|
2444
|
+
serializedName: "policyDefinitionId",
|
|
2492
2445
|
readOnly: true,
|
|
2493
2446
|
type: {
|
|
2494
2447
|
name: "String"
|
|
2495
2448
|
}
|
|
2496
2449
|
},
|
|
2497
|
-
|
|
2498
|
-
serializedName: "
|
|
2450
|
+
subscriptionId: {
|
|
2451
|
+
serializedName: "subscriptionId",
|
|
2499
2452
|
readOnly: true,
|
|
2500
2453
|
type: {
|
|
2501
|
-
name: "
|
|
2502
|
-
element: {
|
|
2503
|
-
type: {
|
|
2504
|
-
name: "Composite",
|
|
2505
|
-
className: "ErrorDefinitionAutoGenerated2"
|
|
2506
|
-
}
|
|
2507
|
-
}
|
|
2454
|
+
name: "String"
|
|
2508
2455
|
}
|
|
2509
2456
|
},
|
|
2510
|
-
|
|
2511
|
-
serializedName: "
|
|
2457
|
+
resourceType: {
|
|
2458
|
+
serializedName: "resourceType",
|
|
2512
2459
|
readOnly: true,
|
|
2513
2460
|
type: {
|
|
2514
|
-
name: "
|
|
2515
|
-
element: {
|
|
2516
|
-
type: {
|
|
2517
|
-
name: "Composite",
|
|
2518
|
-
className: "TypedErrorInfo"
|
|
2519
|
-
}
|
|
2520
|
-
}
|
|
2461
|
+
name: "String"
|
|
2521
2462
|
}
|
|
2522
|
-
}
|
|
2523
|
-
|
|
2524
|
-
|
|
2525
|
-
};
|
|
2526
|
-
const PolicyMetadataProperties = {
|
|
2527
|
-
type: {
|
|
2528
|
-
name: "Composite",
|
|
2529
|
-
className: "PolicyMetadataProperties",
|
|
2530
|
-
modelProperties: Object.assign(Object.assign({}, PolicyMetadataSlimProperties.type.modelProperties), { description: {
|
|
2531
|
-
serializedName: "description",
|
|
2463
|
+
},
|
|
2464
|
+
resourceLocation: {
|
|
2465
|
+
serializedName: "resourceLocation",
|
|
2532
2466
|
readOnly: true,
|
|
2533
2467
|
type: {
|
|
2534
2468
|
name: "String"
|
|
2535
2469
|
}
|
|
2536
|
-
},
|
|
2537
|
-
|
|
2470
|
+
},
|
|
2471
|
+
resourceGroup: {
|
|
2472
|
+
serializedName: "resourceGroup",
|
|
2538
2473
|
readOnly: true,
|
|
2539
2474
|
type: {
|
|
2540
2475
|
name: "String"
|
|
2541
2476
|
}
|
|
2542
|
-
}
|
|
2543
|
-
|
|
2544
|
-
|
|
2545
|
-
|
|
2546
|
-
type: {
|
|
2547
|
-
name: "Composite",
|
|
2548
|
-
className: "Attestation",
|
|
2549
|
-
modelProperties: Object.assign(Object.assign({}, Resource.type.modelProperties), { systemData: {
|
|
2550
|
-
serializedName: "systemData",
|
|
2477
|
+
},
|
|
2478
|
+
policyAssignmentName: {
|
|
2479
|
+
serializedName: "policyAssignmentName",
|
|
2480
|
+
readOnly: true,
|
|
2551
2481
|
type: {
|
|
2552
|
-
name: "
|
|
2553
|
-
className: "SystemData"
|
|
2482
|
+
name: "String"
|
|
2554
2483
|
}
|
|
2555
|
-
},
|
|
2556
|
-
|
|
2557
|
-
|
|
2484
|
+
},
|
|
2485
|
+
policyAssignmentOwner: {
|
|
2486
|
+
serializedName: "policyAssignmentOwner",
|
|
2487
|
+
readOnly: true,
|
|
2488
|
+
type: {
|
|
2489
|
+
name: "String"
|
|
2490
|
+
}
|
|
2491
|
+
},
|
|
2492
|
+
policyAssignmentParameters: {
|
|
2493
|
+
serializedName: "policyAssignmentParameters",
|
|
2494
|
+
readOnly: true,
|
|
2495
|
+
type: {
|
|
2496
|
+
name: "String"
|
|
2497
|
+
}
|
|
2498
|
+
},
|
|
2499
|
+
policyAssignmentScope: {
|
|
2500
|
+
serializedName: "policyAssignmentScope",
|
|
2501
|
+
readOnly: true,
|
|
2502
|
+
type: {
|
|
2503
|
+
name: "String"
|
|
2504
|
+
}
|
|
2505
|
+
},
|
|
2506
|
+
policyDefinitionName: {
|
|
2507
|
+
serializedName: "policyDefinitionName",
|
|
2508
|
+
readOnly: true,
|
|
2509
|
+
type: {
|
|
2510
|
+
name: "String"
|
|
2511
|
+
}
|
|
2512
|
+
},
|
|
2513
|
+
policyDefinitionAction: {
|
|
2514
|
+
serializedName: "policyDefinitionAction",
|
|
2515
|
+
readOnly: true,
|
|
2516
|
+
type: {
|
|
2517
|
+
name: "String"
|
|
2518
|
+
}
|
|
2519
|
+
},
|
|
2520
|
+
policyDefinitionCategory: {
|
|
2521
|
+
serializedName: "policyDefinitionCategory",
|
|
2522
|
+
readOnly: true,
|
|
2523
|
+
type: {
|
|
2524
|
+
name: "String"
|
|
2525
|
+
}
|
|
2526
|
+
},
|
|
2527
|
+
policySetDefinitionId: {
|
|
2528
|
+
serializedName: "policySetDefinitionId",
|
|
2529
|
+
readOnly: true,
|
|
2530
|
+
type: {
|
|
2531
|
+
name: "String"
|
|
2532
|
+
}
|
|
2533
|
+
},
|
|
2534
|
+
policySetDefinitionName: {
|
|
2535
|
+
serializedName: "policySetDefinitionName",
|
|
2536
|
+
readOnly: true,
|
|
2537
|
+
type: {
|
|
2538
|
+
name: "String"
|
|
2539
|
+
}
|
|
2540
|
+
},
|
|
2541
|
+
policySetDefinitionOwner: {
|
|
2542
|
+
serializedName: "policySetDefinitionOwner",
|
|
2543
|
+
readOnly: true,
|
|
2544
|
+
type: {
|
|
2545
|
+
name: "String"
|
|
2546
|
+
}
|
|
2547
|
+
},
|
|
2548
|
+
policySetDefinitionCategory: {
|
|
2549
|
+
serializedName: "policySetDefinitionCategory",
|
|
2550
|
+
readOnly: true,
|
|
2551
|
+
type: {
|
|
2552
|
+
name: "String"
|
|
2553
|
+
}
|
|
2554
|
+
},
|
|
2555
|
+
policySetDefinitionParameters: {
|
|
2556
|
+
serializedName: "policySetDefinitionParameters",
|
|
2557
|
+
readOnly: true,
|
|
2558
|
+
type: {
|
|
2559
|
+
name: "String"
|
|
2560
|
+
}
|
|
2561
|
+
},
|
|
2562
|
+
policyDefinitionReferenceId: {
|
|
2563
|
+
serializedName: "policyDefinitionReferenceId",
|
|
2564
|
+
readOnly: true,
|
|
2565
|
+
type: {
|
|
2566
|
+
name: "String"
|
|
2567
|
+
}
|
|
2568
|
+
},
|
|
2569
|
+
complianceState: {
|
|
2570
|
+
serializedName: "complianceState",
|
|
2571
|
+
readOnly: true,
|
|
2572
|
+
type: {
|
|
2573
|
+
name: "String"
|
|
2574
|
+
}
|
|
2575
|
+
},
|
|
2576
|
+
policyEvaluationDetails: {
|
|
2577
|
+
serializedName: "policyEvaluationDetails",
|
|
2578
|
+
type: {
|
|
2579
|
+
name: "Composite",
|
|
2580
|
+
className: "ComponentPolicyEvaluationDetails"
|
|
2581
|
+
}
|
|
2582
|
+
},
|
|
2583
|
+
policyDefinitionGroupNames: {
|
|
2584
|
+
serializedName: "policyDefinitionGroupNames",
|
|
2585
|
+
readOnly: true,
|
|
2586
|
+
type: {
|
|
2587
|
+
name: "Sequence",
|
|
2588
|
+
element: {
|
|
2589
|
+
type: {
|
|
2590
|
+
name: "String"
|
|
2591
|
+
}
|
|
2592
|
+
}
|
|
2593
|
+
}
|
|
2594
|
+
},
|
|
2595
|
+
policyDefinitionVersion: {
|
|
2596
|
+
serializedName: "policyDefinitionVersion",
|
|
2597
|
+
readOnly: true,
|
|
2598
|
+
type: {
|
|
2599
|
+
name: "String"
|
|
2600
|
+
}
|
|
2601
|
+
},
|
|
2602
|
+
policySetDefinitionVersion: {
|
|
2603
|
+
serializedName: "policySetDefinitionVersion",
|
|
2604
|
+
readOnly: true,
|
|
2605
|
+
type: {
|
|
2606
|
+
name: "String"
|
|
2607
|
+
}
|
|
2608
|
+
},
|
|
2609
|
+
policyAssignmentVersion: {
|
|
2610
|
+
serializedName: "policyAssignmentVersion",
|
|
2611
|
+
readOnly: true,
|
|
2612
|
+
type: {
|
|
2613
|
+
name: "String"
|
|
2614
|
+
}
|
|
2615
|
+
}
|
|
2616
|
+
}
|
|
2617
|
+
}
|
|
2618
|
+
};
|
|
2619
|
+
const ComponentPolicyEvaluationDetails = {
|
|
2620
|
+
type: {
|
|
2621
|
+
name: "Composite",
|
|
2622
|
+
className: "ComponentPolicyEvaluationDetails",
|
|
2623
|
+
modelProperties: {
|
|
2624
|
+
evaluatedExpressions: {
|
|
2625
|
+
serializedName: "evaluatedExpressions",
|
|
2626
|
+
readOnly: true,
|
|
2627
|
+
type: {
|
|
2628
|
+
name: "Sequence",
|
|
2629
|
+
element: {
|
|
2630
|
+
type: {
|
|
2631
|
+
name: "Composite",
|
|
2632
|
+
className: "ComponentExpressionEvaluationDetails"
|
|
2633
|
+
}
|
|
2634
|
+
}
|
|
2635
|
+
}
|
|
2636
|
+
},
|
|
2637
|
+
reason: {
|
|
2638
|
+
serializedName: "reason",
|
|
2639
|
+
type: {
|
|
2640
|
+
name: "String"
|
|
2641
|
+
}
|
|
2642
|
+
}
|
|
2643
|
+
}
|
|
2644
|
+
}
|
|
2645
|
+
};
|
|
2646
|
+
const ComponentExpressionEvaluationDetails = {
|
|
2647
|
+
type: {
|
|
2648
|
+
name: "Composite",
|
|
2649
|
+
className: "ComponentExpressionEvaluationDetails",
|
|
2650
|
+
modelProperties: {
|
|
2651
|
+
result: {
|
|
2652
|
+
serializedName: "result",
|
|
2653
|
+
type: {
|
|
2654
|
+
name: "String"
|
|
2655
|
+
}
|
|
2656
|
+
},
|
|
2657
|
+
expression: {
|
|
2658
|
+
serializedName: "expression",
|
|
2659
|
+
readOnly: true,
|
|
2660
|
+
type: {
|
|
2661
|
+
name: "String"
|
|
2662
|
+
}
|
|
2663
|
+
},
|
|
2664
|
+
expressionKind: {
|
|
2665
|
+
serializedName: "expressionKind",
|
|
2666
|
+
readOnly: true,
|
|
2667
|
+
type: {
|
|
2668
|
+
name: "String"
|
|
2669
|
+
}
|
|
2670
|
+
},
|
|
2671
|
+
path: {
|
|
2672
|
+
serializedName: "path",
|
|
2673
|
+
readOnly: true,
|
|
2674
|
+
type: {
|
|
2675
|
+
name: "String"
|
|
2676
|
+
}
|
|
2677
|
+
},
|
|
2678
|
+
expressionValue: {
|
|
2679
|
+
serializedName: "expressionValue",
|
|
2680
|
+
readOnly: true,
|
|
2681
|
+
type: {
|
|
2682
|
+
name: "Dictionary",
|
|
2683
|
+
value: { type: { name: "any" } }
|
|
2684
|
+
}
|
|
2685
|
+
},
|
|
2686
|
+
targetValue: {
|
|
2687
|
+
serializedName: "targetValue",
|
|
2688
|
+
readOnly: true,
|
|
2689
|
+
type: {
|
|
2690
|
+
name: "Dictionary",
|
|
2691
|
+
value: { type: { name: "any" } }
|
|
2692
|
+
}
|
|
2693
|
+
},
|
|
2694
|
+
operator: {
|
|
2695
|
+
serializedName: "operator",
|
|
2696
|
+
readOnly: true,
|
|
2697
|
+
type: {
|
|
2698
|
+
name: "String"
|
|
2699
|
+
}
|
|
2700
|
+
}
|
|
2701
|
+
}
|
|
2702
|
+
}
|
|
2703
|
+
};
|
|
2704
|
+
const OperationsListResults = {
|
|
2705
|
+
type: {
|
|
2706
|
+
name: "Composite",
|
|
2707
|
+
className: "OperationsListResults",
|
|
2708
|
+
modelProperties: {
|
|
2709
|
+
odataCount: {
|
|
2710
|
+
constraints: {
|
|
2711
|
+
InclusiveMinimum: 1
|
|
2712
|
+
},
|
|
2713
|
+
serializedName: "@odata\\.count",
|
|
2714
|
+
type: {
|
|
2715
|
+
name: "Number"
|
|
2716
|
+
}
|
|
2717
|
+
},
|
|
2718
|
+
value: {
|
|
2719
|
+
serializedName: "value",
|
|
2720
|
+
type: {
|
|
2721
|
+
name: "Sequence",
|
|
2722
|
+
element: {
|
|
2723
|
+
type: {
|
|
2724
|
+
name: "Composite",
|
|
2725
|
+
className: "Operation"
|
|
2726
|
+
}
|
|
2727
|
+
}
|
|
2728
|
+
}
|
|
2729
|
+
}
|
|
2730
|
+
}
|
|
2731
|
+
}
|
|
2732
|
+
};
|
|
2733
|
+
const Operation = {
|
|
2734
|
+
type: {
|
|
2735
|
+
name: "Composite",
|
|
2736
|
+
className: "Operation",
|
|
2737
|
+
modelProperties: {
|
|
2738
|
+
name: {
|
|
2739
|
+
serializedName: "name",
|
|
2740
|
+
type: {
|
|
2741
|
+
name: "String"
|
|
2742
|
+
}
|
|
2743
|
+
},
|
|
2744
|
+
isDataAction: {
|
|
2745
|
+
serializedName: "isDataAction",
|
|
2746
|
+
type: {
|
|
2747
|
+
name: "Boolean"
|
|
2748
|
+
}
|
|
2749
|
+
},
|
|
2750
|
+
display: {
|
|
2751
|
+
serializedName: "display",
|
|
2752
|
+
type: {
|
|
2753
|
+
name: "Composite",
|
|
2754
|
+
className: "OperationDisplay"
|
|
2755
|
+
}
|
|
2756
|
+
}
|
|
2757
|
+
}
|
|
2758
|
+
}
|
|
2759
|
+
};
|
|
2760
|
+
const OperationDisplay = {
|
|
2761
|
+
type: {
|
|
2762
|
+
name: "Composite",
|
|
2763
|
+
className: "OperationDisplay",
|
|
2764
|
+
modelProperties: {
|
|
2765
|
+
provider: {
|
|
2766
|
+
serializedName: "provider",
|
|
2767
|
+
type: {
|
|
2768
|
+
name: "String"
|
|
2769
|
+
}
|
|
2770
|
+
},
|
|
2771
|
+
resource: {
|
|
2772
|
+
serializedName: "resource",
|
|
2773
|
+
type: {
|
|
2774
|
+
name: "String"
|
|
2775
|
+
}
|
|
2776
|
+
},
|
|
2777
|
+
operation: {
|
|
2778
|
+
serializedName: "operation",
|
|
2779
|
+
type: {
|
|
2780
|
+
name: "String"
|
|
2781
|
+
}
|
|
2782
|
+
},
|
|
2783
|
+
description: {
|
|
2784
|
+
serializedName: "description",
|
|
2785
|
+
type: {
|
|
2786
|
+
name: "String"
|
|
2787
|
+
}
|
|
2788
|
+
}
|
|
2789
|
+
}
|
|
2790
|
+
}
|
|
2791
|
+
};
|
|
2792
|
+
const AttestationListResult = {
|
|
2793
|
+
type: {
|
|
2794
|
+
name: "Composite",
|
|
2795
|
+
className: "AttestationListResult",
|
|
2796
|
+
modelProperties: {
|
|
2797
|
+
value: {
|
|
2798
|
+
serializedName: "value",
|
|
2799
|
+
readOnly: true,
|
|
2800
|
+
type: {
|
|
2801
|
+
name: "Sequence",
|
|
2802
|
+
element: {
|
|
2803
|
+
type: {
|
|
2804
|
+
name: "Composite",
|
|
2805
|
+
className: "Attestation"
|
|
2806
|
+
}
|
|
2807
|
+
}
|
|
2808
|
+
}
|
|
2809
|
+
},
|
|
2810
|
+
nextLink: {
|
|
2811
|
+
serializedName: "nextLink",
|
|
2812
|
+
readOnly: true,
|
|
2813
|
+
type: {
|
|
2814
|
+
name: "String"
|
|
2815
|
+
}
|
|
2816
|
+
}
|
|
2817
|
+
}
|
|
2818
|
+
}
|
|
2819
|
+
};
|
|
2820
|
+
const AttestationEvidence = {
|
|
2821
|
+
type: {
|
|
2822
|
+
name: "Composite",
|
|
2823
|
+
className: "AttestationEvidence",
|
|
2824
|
+
modelProperties: {
|
|
2825
|
+
description: {
|
|
2826
|
+
serializedName: "description",
|
|
2827
|
+
type: {
|
|
2828
|
+
name: "String"
|
|
2829
|
+
}
|
|
2830
|
+
},
|
|
2831
|
+
sourceUri: {
|
|
2832
|
+
serializedName: "sourceUri",
|
|
2833
|
+
type: {
|
|
2834
|
+
name: "String"
|
|
2835
|
+
}
|
|
2836
|
+
}
|
|
2837
|
+
}
|
|
2838
|
+
}
|
|
2839
|
+
};
|
|
2840
|
+
const Resource = {
|
|
2841
|
+
type: {
|
|
2842
|
+
name: "Composite",
|
|
2843
|
+
className: "Resource",
|
|
2844
|
+
modelProperties: {
|
|
2845
|
+
id: {
|
|
2846
|
+
serializedName: "id",
|
|
2847
|
+
readOnly: true,
|
|
2848
|
+
type: {
|
|
2849
|
+
name: "String"
|
|
2850
|
+
}
|
|
2851
|
+
},
|
|
2852
|
+
name: {
|
|
2853
|
+
serializedName: "name",
|
|
2854
|
+
readOnly: true,
|
|
2855
|
+
type: {
|
|
2856
|
+
name: "String"
|
|
2857
|
+
}
|
|
2858
|
+
},
|
|
2859
|
+
type: {
|
|
2860
|
+
serializedName: "type",
|
|
2861
|
+
readOnly: true,
|
|
2862
|
+
type: {
|
|
2863
|
+
name: "String"
|
|
2864
|
+
}
|
|
2865
|
+
}
|
|
2866
|
+
}
|
|
2867
|
+
}
|
|
2868
|
+
};
|
|
2869
|
+
const ErrorResponseAutoGenerated2 = {
|
|
2870
|
+
type: {
|
|
2871
|
+
name: "Composite",
|
|
2872
|
+
className: "ErrorResponseAutoGenerated2",
|
|
2873
|
+
modelProperties: {
|
|
2874
|
+
error: {
|
|
2875
|
+
serializedName: "error",
|
|
2876
|
+
type: {
|
|
2877
|
+
name: "Composite",
|
|
2878
|
+
className: "ErrorDefinitionAutoGenerated2"
|
|
2879
|
+
}
|
|
2880
|
+
}
|
|
2881
|
+
}
|
|
2882
|
+
}
|
|
2883
|
+
};
|
|
2884
|
+
const ErrorDefinitionAutoGenerated2 = {
|
|
2885
|
+
type: {
|
|
2886
|
+
name: "Composite",
|
|
2887
|
+
className: "ErrorDefinitionAutoGenerated2",
|
|
2888
|
+
modelProperties: {
|
|
2889
|
+
code: {
|
|
2890
|
+
serializedName: "code",
|
|
2891
|
+
readOnly: true,
|
|
2892
|
+
type: {
|
|
2893
|
+
name: "String"
|
|
2894
|
+
}
|
|
2895
|
+
},
|
|
2896
|
+
message: {
|
|
2897
|
+
serializedName: "message",
|
|
2898
|
+
readOnly: true,
|
|
2899
|
+
type: {
|
|
2900
|
+
name: "String"
|
|
2901
|
+
}
|
|
2902
|
+
},
|
|
2903
|
+
target: {
|
|
2904
|
+
serializedName: "target",
|
|
2905
|
+
readOnly: true,
|
|
2906
|
+
type: {
|
|
2907
|
+
name: "String"
|
|
2908
|
+
}
|
|
2909
|
+
},
|
|
2910
|
+
details: {
|
|
2911
|
+
serializedName: "details",
|
|
2912
|
+
readOnly: true,
|
|
2913
|
+
type: {
|
|
2914
|
+
name: "Sequence",
|
|
2915
|
+
element: {
|
|
2916
|
+
type: {
|
|
2917
|
+
name: "Composite",
|
|
2918
|
+
className: "ErrorDefinitionAutoGenerated2"
|
|
2919
|
+
}
|
|
2920
|
+
}
|
|
2921
|
+
}
|
|
2922
|
+
},
|
|
2923
|
+
additionalInfo: {
|
|
2924
|
+
serializedName: "additionalInfo",
|
|
2925
|
+
readOnly: true,
|
|
2926
|
+
type: {
|
|
2927
|
+
name: "Sequence",
|
|
2928
|
+
element: {
|
|
2929
|
+
type: {
|
|
2930
|
+
name: "Composite",
|
|
2931
|
+
className: "TypedErrorInfo"
|
|
2932
|
+
}
|
|
2933
|
+
}
|
|
2934
|
+
}
|
|
2935
|
+
}
|
|
2936
|
+
}
|
|
2937
|
+
}
|
|
2938
|
+
};
|
|
2939
|
+
const PolicyMetadataProperties = {
|
|
2940
|
+
type: {
|
|
2941
|
+
name: "Composite",
|
|
2942
|
+
className: "PolicyMetadataProperties",
|
|
2943
|
+
modelProperties: Object.assign(Object.assign({}, PolicyMetadataSlimProperties.type.modelProperties), { description: {
|
|
2944
|
+
serializedName: "description",
|
|
2945
|
+
readOnly: true,
|
|
2946
|
+
type: {
|
|
2947
|
+
name: "String"
|
|
2948
|
+
}
|
|
2949
|
+
}, requirements: {
|
|
2950
|
+
serializedName: "requirements",
|
|
2951
|
+
readOnly: true,
|
|
2952
|
+
type: {
|
|
2953
|
+
name: "String"
|
|
2954
|
+
}
|
|
2955
|
+
} })
|
|
2956
|
+
}
|
|
2957
|
+
};
|
|
2958
|
+
const Attestation = {
|
|
2959
|
+
type: {
|
|
2960
|
+
name: "Composite",
|
|
2961
|
+
className: "Attestation",
|
|
2962
|
+
modelProperties: Object.assign(Object.assign({}, Resource.type.modelProperties), { systemData: {
|
|
2963
|
+
serializedName: "systemData",
|
|
2964
|
+
type: {
|
|
2965
|
+
name: "Composite",
|
|
2966
|
+
className: "SystemData"
|
|
2967
|
+
}
|
|
2968
|
+
}, policyAssignmentId: {
|
|
2969
|
+
serializedName: "properties.policyAssignmentId",
|
|
2970
|
+
required: true,
|
|
2558
2971
|
type: {
|
|
2559
2972
|
name: "String"
|
|
2560
2973
|
}
|
|
@@ -2606,6 +3019,17 @@ const Attestation = {
|
|
|
2606
3019
|
type: {
|
|
2607
3020
|
name: "DateTime"
|
|
2608
3021
|
}
|
|
3022
|
+
}, assessmentDate: {
|
|
3023
|
+
serializedName: "properties.assessmentDate",
|
|
3024
|
+
type: {
|
|
3025
|
+
name: "DateTime"
|
|
3026
|
+
}
|
|
3027
|
+
}, metadata: {
|
|
3028
|
+
serializedName: "properties.metadata",
|
|
3029
|
+
type: {
|
|
3030
|
+
name: "Dictionary",
|
|
3031
|
+
value: { type: { name: "any" } }
|
|
3032
|
+
}
|
|
2609
3033
|
} })
|
|
2610
3034
|
}
|
|
2611
3035
|
};
|
|
@@ -2645,9 +3069,6 @@ var Mappers = /*#__PURE__*/Object.freeze({
|
|
|
2645
3069
|
PolicyAssignmentSummary: PolicyAssignmentSummary,
|
|
2646
3070
|
PolicyDefinitionSummary: PolicyDefinitionSummary,
|
|
2647
3071
|
PolicyGroupSummary: PolicyGroupSummary,
|
|
2648
|
-
OperationsListResults: OperationsListResults,
|
|
2649
|
-
Operation: Operation,
|
|
2650
|
-
OperationDisplay: OperationDisplay,
|
|
2651
3072
|
PolicyMetadata: PolicyMetadata,
|
|
2652
3073
|
PolicyMetadataSlimProperties: PolicyMetadataSlimProperties,
|
|
2653
3074
|
ErrorResponseAutoGenerated: ErrorResponseAutoGenerated,
|
|
@@ -2664,6 +3085,13 @@ var Mappers = /*#__PURE__*/Object.freeze({
|
|
|
2664
3085
|
CheckRestrictionsResultContentEvaluationResult: CheckRestrictionsResultContentEvaluationResult,
|
|
2665
3086
|
PolicyEvaluationResult: PolicyEvaluationResult,
|
|
2666
3087
|
CheckManagementGroupRestrictionsRequest: CheckManagementGroupRestrictionsRequest,
|
|
3088
|
+
ComponentPolicyStatesQueryResults: ComponentPolicyStatesQueryResults,
|
|
3089
|
+
ComponentPolicyState: ComponentPolicyState,
|
|
3090
|
+
ComponentPolicyEvaluationDetails: ComponentPolicyEvaluationDetails,
|
|
3091
|
+
ComponentExpressionEvaluationDetails: ComponentExpressionEvaluationDetails,
|
|
3092
|
+
OperationsListResults: OperationsListResults,
|
|
3093
|
+
Operation: Operation,
|
|
3094
|
+
OperationDisplay: OperationDisplay,
|
|
2667
3095
|
AttestationListResult: AttestationListResult,
|
|
2668
3096
|
AttestationEvidence: AttestationEvidence,
|
|
2669
3097
|
Resource: Resource,
|
|
@@ -2892,7 +3320,7 @@ const select = {
|
|
|
2892
3320
|
}
|
|
2893
3321
|
}
|
|
2894
3322
|
};
|
|
2895
|
-
const
|
|
3323
|
+
const from = {
|
|
2896
3324
|
parameterPath: ["options", "queryOptions", "from"],
|
|
2897
3325
|
mapper: {
|
|
2898
3326
|
serializedName: "$from",
|
|
@@ -3048,14 +3476,140 @@ const resourceGroupName1 = {
|
|
|
3048
3476
|
}
|
|
3049
3477
|
}
|
|
3050
3478
|
};
|
|
3051
|
-
const parameters2 = {
|
|
3052
|
-
parameterPath: "parameters",
|
|
3053
|
-
mapper: CheckManagementGroupRestrictionsRequest
|
|
3054
|
-
};
|
|
3055
|
-
const
|
|
3479
|
+
const parameters2 = {
|
|
3480
|
+
parameterPath: "parameters",
|
|
3481
|
+
mapper: CheckManagementGroupRestrictionsRequest
|
|
3482
|
+
};
|
|
3483
|
+
const componentPolicyStatesResource = {
|
|
3484
|
+
parameterPath: "componentPolicyStatesResource",
|
|
3485
|
+
mapper: {
|
|
3486
|
+
serializedName: "componentPolicyStatesResource",
|
|
3487
|
+
required: true,
|
|
3488
|
+
type: {
|
|
3489
|
+
name: "String"
|
|
3490
|
+
}
|
|
3491
|
+
}
|
|
3492
|
+
};
|
|
3493
|
+
const apiVersion4 = {
|
|
3494
|
+
parameterPath: "apiVersion",
|
|
3495
|
+
mapper: {
|
|
3496
|
+
defaultValue: "2022-04-01",
|
|
3497
|
+
isConstant: true,
|
|
3498
|
+
serializedName: "api-version",
|
|
3499
|
+
type: {
|
|
3500
|
+
name: "String"
|
|
3501
|
+
}
|
|
3502
|
+
}
|
|
3503
|
+
};
|
|
3504
|
+
const top1 = {
|
|
3505
|
+
parameterPath: ["options", "top"],
|
|
3506
|
+
mapper: {
|
|
3507
|
+
constraints: {
|
|
3508
|
+
InclusiveMinimum: 0
|
|
3509
|
+
},
|
|
3510
|
+
serializedName: "$top",
|
|
3511
|
+
type: {
|
|
3512
|
+
name: "Number"
|
|
3513
|
+
}
|
|
3514
|
+
}
|
|
3515
|
+
};
|
|
3516
|
+
const orderBy1 = {
|
|
3517
|
+
parameterPath: ["options", "orderBy"],
|
|
3518
|
+
mapper: {
|
|
3519
|
+
serializedName: "$orderby",
|
|
3520
|
+
type: {
|
|
3521
|
+
name: "String"
|
|
3522
|
+
}
|
|
3523
|
+
}
|
|
3524
|
+
};
|
|
3525
|
+
const select1 = {
|
|
3526
|
+
parameterPath: ["options", "select"],
|
|
3527
|
+
mapper: {
|
|
3528
|
+
serializedName: "$select",
|
|
3529
|
+
type: {
|
|
3530
|
+
name: "String"
|
|
3531
|
+
}
|
|
3532
|
+
}
|
|
3533
|
+
};
|
|
3534
|
+
const from1 = {
|
|
3535
|
+
parameterPath: ["options", "from"],
|
|
3536
|
+
mapper: {
|
|
3537
|
+
serializedName: "$from",
|
|
3538
|
+
type: {
|
|
3539
|
+
name: "DateTime"
|
|
3540
|
+
}
|
|
3541
|
+
}
|
|
3542
|
+
};
|
|
3543
|
+
const to1 = {
|
|
3544
|
+
parameterPath: ["options", "to"],
|
|
3545
|
+
mapper: {
|
|
3546
|
+
serializedName: "$to",
|
|
3547
|
+
type: {
|
|
3548
|
+
name: "DateTime"
|
|
3549
|
+
}
|
|
3550
|
+
}
|
|
3551
|
+
};
|
|
3552
|
+
const filter1 = {
|
|
3553
|
+
parameterPath: ["options", "filter"],
|
|
3554
|
+
mapper: {
|
|
3555
|
+
serializedName: "$filter",
|
|
3556
|
+
type: {
|
|
3557
|
+
name: "String"
|
|
3558
|
+
}
|
|
3559
|
+
}
|
|
3560
|
+
};
|
|
3561
|
+
const apply1 = {
|
|
3562
|
+
parameterPath: ["options", "apply"],
|
|
3563
|
+
mapper: {
|
|
3564
|
+
serializedName: "$apply",
|
|
3565
|
+
type: {
|
|
3566
|
+
name: "String"
|
|
3567
|
+
}
|
|
3568
|
+
}
|
|
3569
|
+
};
|
|
3570
|
+
const expand1 = {
|
|
3571
|
+
parameterPath: ["options", "expand"],
|
|
3572
|
+
mapper: {
|
|
3573
|
+
serializedName: "$expand",
|
|
3574
|
+
type: {
|
|
3575
|
+
name: "String"
|
|
3576
|
+
}
|
|
3577
|
+
}
|
|
3578
|
+
};
|
|
3579
|
+
const policyDefinitionName1 = {
|
|
3580
|
+
parameterPath: "policyDefinitionName",
|
|
3581
|
+
mapper: {
|
|
3582
|
+
constraints: {
|
|
3583
|
+
Pattern: new RegExp("^[^<>%&:\\\\?/#]*$"),
|
|
3584
|
+
MaxLength: 64,
|
|
3585
|
+
MinLength: 1
|
|
3586
|
+
},
|
|
3587
|
+
serializedName: "policyDefinitionName",
|
|
3588
|
+
required: true,
|
|
3589
|
+
type: {
|
|
3590
|
+
name: "String"
|
|
3591
|
+
}
|
|
3592
|
+
}
|
|
3593
|
+
};
|
|
3594
|
+
const policyAssignmentName1 = {
|
|
3595
|
+
parameterPath: "policyAssignmentName",
|
|
3596
|
+
mapper: {
|
|
3597
|
+
constraints: {
|
|
3598
|
+
Pattern: new RegExp("^[^<>%&:\\\\?/#]*$"),
|
|
3599
|
+
MaxLength: 64,
|
|
3600
|
+
MinLength: 1
|
|
3601
|
+
},
|
|
3602
|
+
serializedName: "policyAssignmentName",
|
|
3603
|
+
required: true,
|
|
3604
|
+
type: {
|
|
3605
|
+
name: "String"
|
|
3606
|
+
}
|
|
3607
|
+
}
|
|
3608
|
+
};
|
|
3609
|
+
const apiVersion5 = {
|
|
3056
3610
|
parameterPath: "apiVersion",
|
|
3057
3611
|
mapper: {
|
|
3058
|
-
defaultValue: "
|
|
3612
|
+
defaultValue: "2022-09-01",
|
|
3059
3613
|
isConstant: true,
|
|
3060
3614
|
serializedName: "api-version",
|
|
3061
3615
|
type: {
|
|
@@ -3111,20 +3665,31 @@ class PolicyTrackedResourcesImpl {
|
|
|
3111
3665
|
[Symbol.asyncIterator]() {
|
|
3112
3666
|
return this;
|
|
3113
3667
|
},
|
|
3114
|
-
byPage: () => {
|
|
3115
|
-
|
|
3668
|
+
byPage: (settings) => {
|
|
3669
|
+
if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
|
|
3670
|
+
throw new Error("maxPageSize is not supported by this operation.");
|
|
3671
|
+
}
|
|
3672
|
+
return this.listQueryResultsForManagementGroupPagingPage(managementGroupName, policyTrackedResourcesResource, options, settings);
|
|
3116
3673
|
}
|
|
3117
3674
|
};
|
|
3118
3675
|
}
|
|
3119
|
-
listQueryResultsForManagementGroupPagingPage(managementGroupName, policyTrackedResourcesResource, options) {
|
|
3676
|
+
listQueryResultsForManagementGroupPagingPage(managementGroupName, policyTrackedResourcesResource, options, settings) {
|
|
3120
3677
|
return tslib.__asyncGenerator(this, arguments, function* listQueryResultsForManagementGroupPagingPage_1() {
|
|
3121
|
-
let result
|
|
3122
|
-
|
|
3123
|
-
|
|
3678
|
+
let result;
|
|
3679
|
+
let continuationToken = settings === null || settings === void 0 ? void 0 : settings.continuationToken;
|
|
3680
|
+
if (!continuationToken) {
|
|
3681
|
+
result = yield tslib.__await(this._listQueryResultsForManagementGroup(managementGroupName, policyTrackedResourcesResource, options));
|
|
3682
|
+
let page = result.value || [];
|
|
3683
|
+
continuationToken = result.nextLink;
|
|
3684
|
+
setContinuationToken(page, continuationToken);
|
|
3685
|
+
yield yield tslib.__await(page);
|
|
3686
|
+
}
|
|
3124
3687
|
while (continuationToken) {
|
|
3125
3688
|
result = yield tslib.__await(this._listQueryResultsForManagementGroupNext(managementGroupName, policyTrackedResourcesResource, continuationToken, options));
|
|
3126
3689
|
continuationToken = result.nextLink;
|
|
3127
|
-
|
|
3690
|
+
let page = result.value || [];
|
|
3691
|
+
setContinuationToken(page, continuationToken);
|
|
3692
|
+
yield yield tslib.__await(page);
|
|
3128
3693
|
}
|
|
3129
3694
|
});
|
|
3130
3695
|
}
|
|
@@ -3161,20 +3726,31 @@ class PolicyTrackedResourcesImpl {
|
|
|
3161
3726
|
[Symbol.asyncIterator]() {
|
|
3162
3727
|
return this;
|
|
3163
3728
|
},
|
|
3164
|
-
byPage: () => {
|
|
3165
|
-
|
|
3729
|
+
byPage: (settings) => {
|
|
3730
|
+
if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
|
|
3731
|
+
throw new Error("maxPageSize is not supported by this operation.");
|
|
3732
|
+
}
|
|
3733
|
+
return this.listQueryResultsForSubscriptionPagingPage(policyTrackedResourcesResource, options, settings);
|
|
3166
3734
|
}
|
|
3167
3735
|
};
|
|
3168
3736
|
}
|
|
3169
|
-
listQueryResultsForSubscriptionPagingPage(policyTrackedResourcesResource, options) {
|
|
3737
|
+
listQueryResultsForSubscriptionPagingPage(policyTrackedResourcesResource, options, settings) {
|
|
3170
3738
|
return tslib.__asyncGenerator(this, arguments, function* listQueryResultsForSubscriptionPagingPage_1() {
|
|
3171
|
-
let result
|
|
3172
|
-
|
|
3173
|
-
|
|
3739
|
+
let result;
|
|
3740
|
+
let continuationToken = settings === null || settings === void 0 ? void 0 : settings.continuationToken;
|
|
3741
|
+
if (!continuationToken) {
|
|
3742
|
+
result = yield tslib.__await(this._listQueryResultsForSubscription(policyTrackedResourcesResource, options));
|
|
3743
|
+
let page = result.value || [];
|
|
3744
|
+
continuationToken = result.nextLink;
|
|
3745
|
+
setContinuationToken(page, continuationToken);
|
|
3746
|
+
yield yield tslib.__await(page);
|
|
3747
|
+
}
|
|
3174
3748
|
while (continuationToken) {
|
|
3175
3749
|
result = yield tslib.__await(this._listQueryResultsForSubscriptionNext(policyTrackedResourcesResource, continuationToken, options));
|
|
3176
3750
|
continuationToken = result.nextLink;
|
|
3177
|
-
|
|
3751
|
+
let page = result.value || [];
|
|
3752
|
+
setContinuationToken(page, continuationToken);
|
|
3753
|
+
yield yield tslib.__await(page);
|
|
3178
3754
|
}
|
|
3179
3755
|
});
|
|
3180
3756
|
}
|
|
@@ -3212,20 +3788,31 @@ class PolicyTrackedResourcesImpl {
|
|
|
3212
3788
|
[Symbol.asyncIterator]() {
|
|
3213
3789
|
return this;
|
|
3214
3790
|
},
|
|
3215
|
-
byPage: () => {
|
|
3216
|
-
|
|
3791
|
+
byPage: (settings) => {
|
|
3792
|
+
if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
|
|
3793
|
+
throw new Error("maxPageSize is not supported by this operation.");
|
|
3794
|
+
}
|
|
3795
|
+
return this.listQueryResultsForResourceGroupPagingPage(resourceGroupName, policyTrackedResourcesResource, options, settings);
|
|
3217
3796
|
}
|
|
3218
3797
|
};
|
|
3219
3798
|
}
|
|
3220
|
-
listQueryResultsForResourceGroupPagingPage(resourceGroupName, policyTrackedResourcesResource, options) {
|
|
3799
|
+
listQueryResultsForResourceGroupPagingPage(resourceGroupName, policyTrackedResourcesResource, options, settings) {
|
|
3221
3800
|
return tslib.__asyncGenerator(this, arguments, function* listQueryResultsForResourceGroupPagingPage_1() {
|
|
3222
|
-
let result
|
|
3223
|
-
|
|
3224
|
-
|
|
3801
|
+
let result;
|
|
3802
|
+
let continuationToken = settings === null || settings === void 0 ? void 0 : settings.continuationToken;
|
|
3803
|
+
if (!continuationToken) {
|
|
3804
|
+
result = yield tslib.__await(this._listQueryResultsForResourceGroup(resourceGroupName, policyTrackedResourcesResource, options));
|
|
3805
|
+
let page = result.value || [];
|
|
3806
|
+
continuationToken = result.nextLink;
|
|
3807
|
+
setContinuationToken(page, continuationToken);
|
|
3808
|
+
yield yield tslib.__await(page);
|
|
3809
|
+
}
|
|
3225
3810
|
while (continuationToken) {
|
|
3226
3811
|
result = yield tslib.__await(this._listQueryResultsForResourceGroupNext(resourceGroupName, policyTrackedResourcesResource, continuationToken, options));
|
|
3227
3812
|
continuationToken = result.nextLink;
|
|
3228
|
-
|
|
3813
|
+
let page = result.value || [];
|
|
3814
|
+
setContinuationToken(page, continuationToken);
|
|
3815
|
+
yield yield tslib.__await(page);
|
|
3229
3816
|
}
|
|
3230
3817
|
});
|
|
3231
3818
|
}
|
|
@@ -3263,20 +3850,31 @@ class PolicyTrackedResourcesImpl {
|
|
|
3263
3850
|
[Symbol.asyncIterator]() {
|
|
3264
3851
|
return this;
|
|
3265
3852
|
},
|
|
3266
|
-
byPage: () => {
|
|
3267
|
-
|
|
3853
|
+
byPage: (settings) => {
|
|
3854
|
+
if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
|
|
3855
|
+
throw new Error("maxPageSize is not supported by this operation.");
|
|
3856
|
+
}
|
|
3857
|
+
return this.listQueryResultsForResourcePagingPage(resourceId, policyTrackedResourcesResource, options, settings);
|
|
3268
3858
|
}
|
|
3269
3859
|
};
|
|
3270
3860
|
}
|
|
3271
|
-
listQueryResultsForResourcePagingPage(resourceId, policyTrackedResourcesResource, options) {
|
|
3861
|
+
listQueryResultsForResourcePagingPage(resourceId, policyTrackedResourcesResource, options, settings) {
|
|
3272
3862
|
return tslib.__asyncGenerator(this, arguments, function* listQueryResultsForResourcePagingPage_1() {
|
|
3273
|
-
let result
|
|
3274
|
-
|
|
3275
|
-
|
|
3863
|
+
let result;
|
|
3864
|
+
let continuationToken = settings === null || settings === void 0 ? void 0 : settings.continuationToken;
|
|
3865
|
+
if (!continuationToken) {
|
|
3866
|
+
result = yield tslib.__await(this._listQueryResultsForResource(resourceId, policyTrackedResourcesResource, options));
|
|
3867
|
+
let page = result.value || [];
|
|
3868
|
+
continuationToken = result.nextLink;
|
|
3869
|
+
setContinuationToken(page, continuationToken);
|
|
3870
|
+
yield yield tslib.__await(page);
|
|
3871
|
+
}
|
|
3276
3872
|
while (continuationToken) {
|
|
3277
3873
|
result = yield tslib.__await(this._listQueryResultsForResourceNext(resourceId, policyTrackedResourcesResource, continuationToken, options));
|
|
3278
3874
|
continuationToken = result.nextLink;
|
|
3279
|
-
|
|
3875
|
+
let page = result.value || [];
|
|
3876
|
+
setContinuationToken(page, continuationToken);
|
|
3877
|
+
yield yield tslib.__await(page);
|
|
3280
3878
|
}
|
|
3281
3879
|
});
|
|
3282
3880
|
}
|
|
@@ -3315,7 +3913,7 @@ class PolicyTrackedResourcesImpl {
|
|
|
3315
3913
|
* @param options The options parameters.
|
|
3316
3914
|
*/
|
|
3317
3915
|
_listQueryResultsForSubscription(policyTrackedResourcesResource, options) {
|
|
3318
|
-
return this.client.sendOperationRequest({ policyTrackedResourcesResource, options }, listQueryResultsForSubscriptionOperationSpec$
|
|
3916
|
+
return this.client.sendOperationRequest({ policyTrackedResourcesResource, options }, listQueryResultsForSubscriptionOperationSpec$3);
|
|
3319
3917
|
}
|
|
3320
3918
|
/**
|
|
3321
3919
|
* Queries policy tracked resources under the resource group.
|
|
@@ -3325,7 +3923,7 @@ class PolicyTrackedResourcesImpl {
|
|
|
3325
3923
|
* @param options The options parameters.
|
|
3326
3924
|
*/
|
|
3327
3925
|
_listQueryResultsForResourceGroup(resourceGroupName, policyTrackedResourcesResource, options) {
|
|
3328
|
-
return this.client.sendOperationRequest({ resourceGroupName, policyTrackedResourcesResource, options }, listQueryResultsForResourceGroupOperationSpec$
|
|
3926
|
+
return this.client.sendOperationRequest({ resourceGroupName, policyTrackedResourcesResource, options }, listQueryResultsForResourceGroupOperationSpec$3);
|
|
3329
3927
|
}
|
|
3330
3928
|
/**
|
|
3331
3929
|
* Queries policy tracked resources under the resource.
|
|
@@ -3335,7 +3933,7 @@ class PolicyTrackedResourcesImpl {
|
|
|
3335
3933
|
* @param options The options parameters.
|
|
3336
3934
|
*/
|
|
3337
3935
|
_listQueryResultsForResource(resourceId, policyTrackedResourcesResource, options) {
|
|
3338
|
-
return this.client.sendOperationRequest({ resourceId, policyTrackedResourcesResource, options }, listQueryResultsForResourceOperationSpec$
|
|
3936
|
+
return this.client.sendOperationRequest({ resourceId, policyTrackedResourcesResource, options }, listQueryResultsForResourceOperationSpec$3);
|
|
3339
3937
|
}
|
|
3340
3938
|
/**
|
|
3341
3939
|
* ListQueryResultsForManagementGroupNext
|
|
@@ -3391,7 +3989,7 @@ class PolicyTrackedResourcesImpl {
|
|
|
3391
3989
|
}
|
|
3392
3990
|
}
|
|
3393
3991
|
// Operation Specifications
|
|
3394
|
-
const serializer$
|
|
3992
|
+
const serializer$8 = coreClient__namespace.createSerializer(Mappers, /* isXml */ false);
|
|
3395
3993
|
const listQueryResultsForManagementGroupOperationSpec$2 = {
|
|
3396
3994
|
path: "/providers/{managementGroupsNamespace}/managementGroups/{managementGroupName}/providers/Microsoft.PolicyInsights/policyTrackedResources/{policyTrackedResourcesResource}/queryResults",
|
|
3397
3995
|
httpMethod: "POST",
|
|
@@ -3411,9 +4009,9 @@ const listQueryResultsForManagementGroupOperationSpec$2 = {
|
|
|
3411
4009
|
policyTrackedResourcesResource
|
|
3412
4010
|
],
|
|
3413
4011
|
headerParameters: [accept],
|
|
3414
|
-
serializer: serializer$
|
|
4012
|
+
serializer: serializer$8
|
|
3415
4013
|
};
|
|
3416
|
-
const listQueryResultsForSubscriptionOperationSpec$
|
|
4014
|
+
const listQueryResultsForSubscriptionOperationSpec$3 = {
|
|
3417
4015
|
path: "/subscriptions/{subscriptionId}/providers/Microsoft.PolicyInsights/policyTrackedResources/{policyTrackedResourcesResource}/queryResults",
|
|
3418
4016
|
httpMethod: "POST",
|
|
3419
4017
|
responses: {
|
|
@@ -3431,9 +4029,9 @@ const listQueryResultsForSubscriptionOperationSpec$2 = {
|
|
|
3431
4029
|
subscriptionId
|
|
3432
4030
|
],
|
|
3433
4031
|
headerParameters: [accept],
|
|
3434
|
-
serializer: serializer$
|
|
4032
|
+
serializer: serializer$8
|
|
3435
4033
|
};
|
|
3436
|
-
const listQueryResultsForResourceGroupOperationSpec$
|
|
4034
|
+
const listQueryResultsForResourceGroupOperationSpec$3 = {
|
|
3437
4035
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.PolicyInsights/policyTrackedResources/{policyTrackedResourcesResource}/queryResults",
|
|
3438
4036
|
httpMethod: "POST",
|
|
3439
4037
|
responses: {
|
|
@@ -3452,9 +4050,9 @@ const listQueryResultsForResourceGroupOperationSpec$2 = {
|
|
|
3452
4050
|
resourceGroupName
|
|
3453
4051
|
],
|
|
3454
4052
|
headerParameters: [accept],
|
|
3455
|
-
serializer: serializer$
|
|
4053
|
+
serializer: serializer$8
|
|
3456
4054
|
};
|
|
3457
|
-
const listQueryResultsForResourceOperationSpec$
|
|
4055
|
+
const listQueryResultsForResourceOperationSpec$3 = {
|
|
3458
4056
|
path: "/{resourceId}/providers/Microsoft.PolicyInsights/policyTrackedResources/{policyTrackedResourcesResource}/queryResults",
|
|
3459
4057
|
httpMethod: "POST",
|
|
3460
4058
|
responses: {
|
|
@@ -3472,7 +4070,7 @@ const listQueryResultsForResourceOperationSpec$2 = {
|
|
|
3472
4070
|
resourceId
|
|
3473
4071
|
],
|
|
3474
4072
|
headerParameters: [accept],
|
|
3475
|
-
serializer: serializer$
|
|
4073
|
+
serializer: serializer$8
|
|
3476
4074
|
};
|
|
3477
4075
|
const listQueryResultsForManagementGroupNextOperationSpec$2 = {
|
|
3478
4076
|
path: "{nextLink}",
|
|
@@ -3485,7 +4083,6 @@ const listQueryResultsForManagementGroupNextOperationSpec$2 = {
|
|
|
3485
4083
|
bodyMapper: QueryFailure
|
|
3486
4084
|
}
|
|
3487
4085
|
},
|
|
3488
|
-
queryParameters: [top, filter, apiVersion],
|
|
3489
4086
|
urlParameters: [
|
|
3490
4087
|
$host,
|
|
3491
4088
|
managementGroupsNamespace,
|
|
@@ -3494,7 +4091,7 @@ const listQueryResultsForManagementGroupNextOperationSpec$2 = {
|
|
|
3494
4091
|
nextLink
|
|
3495
4092
|
],
|
|
3496
4093
|
headerParameters: [accept],
|
|
3497
|
-
serializer: serializer$
|
|
4094
|
+
serializer: serializer$8
|
|
3498
4095
|
};
|
|
3499
4096
|
const listQueryResultsForSubscriptionNextOperationSpec$2 = {
|
|
3500
4097
|
path: "{nextLink}",
|
|
@@ -3507,7 +4104,6 @@ const listQueryResultsForSubscriptionNextOperationSpec$2 = {
|
|
|
3507
4104
|
bodyMapper: QueryFailure
|
|
3508
4105
|
}
|
|
3509
4106
|
},
|
|
3510
|
-
queryParameters: [top, filter, apiVersion],
|
|
3511
4107
|
urlParameters: [
|
|
3512
4108
|
$host,
|
|
3513
4109
|
policyTrackedResourcesResource,
|
|
@@ -3515,7 +4111,7 @@ const listQueryResultsForSubscriptionNextOperationSpec$2 = {
|
|
|
3515
4111
|
nextLink
|
|
3516
4112
|
],
|
|
3517
4113
|
headerParameters: [accept],
|
|
3518
|
-
serializer: serializer$
|
|
4114
|
+
serializer: serializer$8
|
|
3519
4115
|
};
|
|
3520
4116
|
const listQueryResultsForResourceGroupNextOperationSpec$2 = {
|
|
3521
4117
|
path: "{nextLink}",
|
|
@@ -3528,7 +4124,6 @@ const listQueryResultsForResourceGroupNextOperationSpec$2 = {
|
|
|
3528
4124
|
bodyMapper: QueryFailure
|
|
3529
4125
|
}
|
|
3530
4126
|
},
|
|
3531
|
-
queryParameters: [top, filter, apiVersion],
|
|
3532
4127
|
urlParameters: [
|
|
3533
4128
|
$host,
|
|
3534
4129
|
policyTrackedResourcesResource,
|
|
@@ -3537,7 +4132,7 @@ const listQueryResultsForResourceGroupNextOperationSpec$2 = {
|
|
|
3537
4132
|
nextLink
|
|
3538
4133
|
],
|
|
3539
4134
|
headerParameters: [accept],
|
|
3540
|
-
serializer: serializer$
|
|
4135
|
+
serializer: serializer$8
|
|
3541
4136
|
};
|
|
3542
4137
|
const listQueryResultsForResourceNextOperationSpec$2 = {
|
|
3543
4138
|
path: "{nextLink}",
|
|
@@ -3550,7 +4145,6 @@ const listQueryResultsForResourceNextOperationSpec$2 = {
|
|
|
3550
4145
|
bodyMapper: QueryFailure
|
|
3551
4146
|
}
|
|
3552
4147
|
},
|
|
3553
|
-
queryParameters: [top, filter, apiVersion],
|
|
3554
4148
|
urlParameters: [
|
|
3555
4149
|
$host,
|
|
3556
4150
|
policyTrackedResourcesResource,
|
|
@@ -3558,7 +4152,7 @@ const listQueryResultsForResourceNextOperationSpec$2 = {
|
|
|
3558
4152
|
nextLink
|
|
3559
4153
|
],
|
|
3560
4154
|
headerParameters: [accept],
|
|
3561
|
-
serializer: serializer$
|
|
4155
|
+
serializer: serializer$8
|
|
3562
4156
|
};
|
|
3563
4157
|
|
|
3564
4158
|
/*
|
|
@@ -3593,20 +4187,31 @@ class RemediationsImpl {
|
|
|
3593
4187
|
[Symbol.asyncIterator]() {
|
|
3594
4188
|
return this;
|
|
3595
4189
|
},
|
|
3596
|
-
byPage: () => {
|
|
3597
|
-
|
|
4190
|
+
byPage: (settings) => {
|
|
4191
|
+
if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
|
|
4192
|
+
throw new Error("maxPageSize is not supported by this operation.");
|
|
4193
|
+
}
|
|
4194
|
+
return this.listDeploymentsAtManagementGroupPagingPage(managementGroupId, remediationName, options, settings);
|
|
3598
4195
|
}
|
|
3599
4196
|
};
|
|
3600
4197
|
}
|
|
3601
|
-
listDeploymentsAtManagementGroupPagingPage(managementGroupId, remediationName, options) {
|
|
4198
|
+
listDeploymentsAtManagementGroupPagingPage(managementGroupId, remediationName, options, settings) {
|
|
3602
4199
|
return tslib.__asyncGenerator(this, arguments, function* listDeploymentsAtManagementGroupPagingPage_1() {
|
|
3603
|
-
let result
|
|
3604
|
-
|
|
3605
|
-
|
|
4200
|
+
let result;
|
|
4201
|
+
let continuationToken = settings === null || settings === void 0 ? void 0 : settings.continuationToken;
|
|
4202
|
+
if (!continuationToken) {
|
|
4203
|
+
result = yield tslib.__await(this._listDeploymentsAtManagementGroup(managementGroupId, remediationName, options));
|
|
4204
|
+
let page = result.value || [];
|
|
4205
|
+
continuationToken = result.nextLink;
|
|
4206
|
+
setContinuationToken(page, continuationToken);
|
|
4207
|
+
yield yield tslib.__await(page);
|
|
4208
|
+
}
|
|
3606
4209
|
while (continuationToken) {
|
|
3607
4210
|
result = yield tslib.__await(this._listDeploymentsAtManagementGroupNext(managementGroupId, remediationName, continuationToken, options));
|
|
3608
4211
|
continuationToken = result.nextLink;
|
|
3609
|
-
|
|
4212
|
+
let page = result.value || [];
|
|
4213
|
+
setContinuationToken(page, continuationToken);
|
|
4214
|
+
yield yield tslib.__await(page);
|
|
3610
4215
|
}
|
|
3611
4216
|
});
|
|
3612
4217
|
}
|
|
@@ -3642,20 +4247,31 @@ class RemediationsImpl {
|
|
|
3642
4247
|
[Symbol.asyncIterator]() {
|
|
3643
4248
|
return this;
|
|
3644
4249
|
},
|
|
3645
|
-
byPage: () => {
|
|
3646
|
-
|
|
4250
|
+
byPage: (settings) => {
|
|
4251
|
+
if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
|
|
4252
|
+
throw new Error("maxPageSize is not supported by this operation.");
|
|
4253
|
+
}
|
|
4254
|
+
return this.listForManagementGroupPagingPage(managementGroupId, options, settings);
|
|
3647
4255
|
}
|
|
3648
4256
|
};
|
|
3649
4257
|
}
|
|
3650
|
-
listForManagementGroupPagingPage(managementGroupId, options) {
|
|
4258
|
+
listForManagementGroupPagingPage(managementGroupId, options, settings) {
|
|
3651
4259
|
return tslib.__asyncGenerator(this, arguments, function* listForManagementGroupPagingPage_1() {
|
|
3652
|
-
let result
|
|
3653
|
-
|
|
3654
|
-
|
|
4260
|
+
let result;
|
|
4261
|
+
let continuationToken = settings === null || settings === void 0 ? void 0 : settings.continuationToken;
|
|
4262
|
+
if (!continuationToken) {
|
|
4263
|
+
result = yield tslib.__await(this._listForManagementGroup(managementGroupId, options));
|
|
4264
|
+
let page = result.value || [];
|
|
4265
|
+
continuationToken = result.nextLink;
|
|
4266
|
+
setContinuationToken(page, continuationToken);
|
|
4267
|
+
yield yield tslib.__await(page);
|
|
4268
|
+
}
|
|
3655
4269
|
while (continuationToken) {
|
|
3656
4270
|
result = yield tslib.__await(this._listForManagementGroupNext(managementGroupId, continuationToken, options));
|
|
3657
4271
|
continuationToken = result.nextLink;
|
|
3658
|
-
|
|
4272
|
+
let page = result.value || [];
|
|
4273
|
+
setContinuationToken(page, continuationToken);
|
|
4274
|
+
yield yield tslib.__await(page);
|
|
3659
4275
|
}
|
|
3660
4276
|
});
|
|
3661
4277
|
}
|
|
@@ -3691,20 +4307,31 @@ class RemediationsImpl {
|
|
|
3691
4307
|
[Symbol.asyncIterator]() {
|
|
3692
4308
|
return this;
|
|
3693
4309
|
},
|
|
3694
|
-
byPage: () => {
|
|
3695
|
-
|
|
4310
|
+
byPage: (settings) => {
|
|
4311
|
+
if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
|
|
4312
|
+
throw new Error("maxPageSize is not supported by this operation.");
|
|
4313
|
+
}
|
|
4314
|
+
return this.listDeploymentsAtSubscriptionPagingPage(remediationName, options, settings);
|
|
3696
4315
|
}
|
|
3697
4316
|
};
|
|
3698
4317
|
}
|
|
3699
|
-
listDeploymentsAtSubscriptionPagingPage(remediationName, options) {
|
|
4318
|
+
listDeploymentsAtSubscriptionPagingPage(remediationName, options, settings) {
|
|
3700
4319
|
return tslib.__asyncGenerator(this, arguments, function* listDeploymentsAtSubscriptionPagingPage_1() {
|
|
3701
|
-
let result
|
|
3702
|
-
|
|
3703
|
-
|
|
4320
|
+
let result;
|
|
4321
|
+
let continuationToken = settings === null || settings === void 0 ? void 0 : settings.continuationToken;
|
|
4322
|
+
if (!continuationToken) {
|
|
4323
|
+
result = yield tslib.__await(this._listDeploymentsAtSubscription(remediationName, options));
|
|
4324
|
+
let page = result.value || [];
|
|
4325
|
+
continuationToken = result.nextLink;
|
|
4326
|
+
setContinuationToken(page, continuationToken);
|
|
4327
|
+
yield yield tslib.__await(page);
|
|
4328
|
+
}
|
|
3704
4329
|
while (continuationToken) {
|
|
3705
4330
|
result = yield tslib.__await(this._listDeploymentsAtSubscriptionNext(remediationName, continuationToken, options));
|
|
3706
4331
|
continuationToken = result.nextLink;
|
|
3707
|
-
|
|
4332
|
+
let page = result.value || [];
|
|
4333
|
+
setContinuationToken(page, continuationToken);
|
|
4334
|
+
yield yield tslib.__await(page);
|
|
3708
4335
|
}
|
|
3709
4336
|
});
|
|
3710
4337
|
}
|
|
@@ -3739,20 +4366,31 @@ class RemediationsImpl {
|
|
|
3739
4366
|
[Symbol.asyncIterator]() {
|
|
3740
4367
|
return this;
|
|
3741
4368
|
},
|
|
3742
|
-
byPage: () => {
|
|
3743
|
-
|
|
4369
|
+
byPage: (settings) => {
|
|
4370
|
+
if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
|
|
4371
|
+
throw new Error("maxPageSize is not supported by this operation.");
|
|
4372
|
+
}
|
|
4373
|
+
return this.listForSubscriptionPagingPage(options, settings);
|
|
3744
4374
|
}
|
|
3745
4375
|
};
|
|
3746
4376
|
}
|
|
3747
|
-
listForSubscriptionPagingPage(options) {
|
|
4377
|
+
listForSubscriptionPagingPage(options, settings) {
|
|
3748
4378
|
return tslib.__asyncGenerator(this, arguments, function* listForSubscriptionPagingPage_1() {
|
|
3749
|
-
let result
|
|
3750
|
-
|
|
3751
|
-
|
|
4379
|
+
let result;
|
|
4380
|
+
let continuationToken = settings === null || settings === void 0 ? void 0 : settings.continuationToken;
|
|
4381
|
+
if (!continuationToken) {
|
|
4382
|
+
result = yield tslib.__await(this._listForSubscription(options));
|
|
4383
|
+
let page = result.value || [];
|
|
4384
|
+
continuationToken = result.nextLink;
|
|
4385
|
+
setContinuationToken(page, continuationToken);
|
|
4386
|
+
yield yield tslib.__await(page);
|
|
4387
|
+
}
|
|
3752
4388
|
while (continuationToken) {
|
|
3753
4389
|
result = yield tslib.__await(this._listForSubscriptionNext(continuationToken, options));
|
|
3754
4390
|
continuationToken = result.nextLink;
|
|
3755
|
-
|
|
4391
|
+
let page = result.value || [];
|
|
4392
|
+
setContinuationToken(page, continuationToken);
|
|
4393
|
+
yield yield tslib.__await(page);
|
|
3756
4394
|
}
|
|
3757
4395
|
});
|
|
3758
4396
|
}
|
|
@@ -3789,20 +4427,31 @@ class RemediationsImpl {
|
|
|
3789
4427
|
[Symbol.asyncIterator]() {
|
|
3790
4428
|
return this;
|
|
3791
4429
|
},
|
|
3792
|
-
byPage: () => {
|
|
3793
|
-
|
|
4430
|
+
byPage: (settings) => {
|
|
4431
|
+
if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
|
|
4432
|
+
throw new Error("maxPageSize is not supported by this operation.");
|
|
4433
|
+
}
|
|
4434
|
+
return this.listDeploymentsAtResourceGroupPagingPage(resourceGroupName, remediationName, options, settings);
|
|
3794
4435
|
}
|
|
3795
4436
|
};
|
|
3796
4437
|
}
|
|
3797
|
-
listDeploymentsAtResourceGroupPagingPage(resourceGroupName, remediationName, options) {
|
|
4438
|
+
listDeploymentsAtResourceGroupPagingPage(resourceGroupName, remediationName, options, settings) {
|
|
3798
4439
|
return tslib.__asyncGenerator(this, arguments, function* listDeploymentsAtResourceGroupPagingPage_1() {
|
|
3799
|
-
let result
|
|
3800
|
-
|
|
3801
|
-
|
|
4440
|
+
let result;
|
|
4441
|
+
let continuationToken = settings === null || settings === void 0 ? void 0 : settings.continuationToken;
|
|
4442
|
+
if (!continuationToken) {
|
|
4443
|
+
result = yield tslib.__await(this._listDeploymentsAtResourceGroup(resourceGroupName, remediationName, options));
|
|
4444
|
+
let page = result.value || [];
|
|
4445
|
+
continuationToken = result.nextLink;
|
|
4446
|
+
setContinuationToken(page, continuationToken);
|
|
4447
|
+
yield yield tslib.__await(page);
|
|
4448
|
+
}
|
|
3802
4449
|
while (continuationToken) {
|
|
3803
4450
|
result = yield tslib.__await(this._listDeploymentsAtResourceGroupNext(resourceGroupName, remediationName, continuationToken, options));
|
|
3804
4451
|
continuationToken = result.nextLink;
|
|
3805
|
-
|
|
4452
|
+
let page = result.value || [];
|
|
4453
|
+
setContinuationToken(page, continuationToken);
|
|
4454
|
+
yield yield tslib.__await(page);
|
|
3806
4455
|
}
|
|
3807
4456
|
});
|
|
3808
4457
|
}
|
|
@@ -3838,20 +4487,31 @@ class RemediationsImpl {
|
|
|
3838
4487
|
[Symbol.asyncIterator]() {
|
|
3839
4488
|
return this;
|
|
3840
4489
|
},
|
|
3841
|
-
byPage: () => {
|
|
3842
|
-
|
|
4490
|
+
byPage: (settings) => {
|
|
4491
|
+
if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
|
|
4492
|
+
throw new Error("maxPageSize is not supported by this operation.");
|
|
4493
|
+
}
|
|
4494
|
+
return this.listForResourceGroupPagingPage(resourceGroupName, options, settings);
|
|
3843
4495
|
}
|
|
3844
4496
|
};
|
|
3845
4497
|
}
|
|
3846
|
-
listForResourceGroupPagingPage(resourceGroupName, options) {
|
|
4498
|
+
listForResourceGroupPagingPage(resourceGroupName, options, settings) {
|
|
3847
4499
|
return tslib.__asyncGenerator(this, arguments, function* listForResourceGroupPagingPage_1() {
|
|
3848
|
-
let result
|
|
3849
|
-
|
|
3850
|
-
|
|
4500
|
+
let result;
|
|
4501
|
+
let continuationToken = settings === null || settings === void 0 ? void 0 : settings.continuationToken;
|
|
4502
|
+
if (!continuationToken) {
|
|
4503
|
+
result = yield tslib.__await(this._listForResourceGroup(resourceGroupName, options));
|
|
4504
|
+
let page = result.value || [];
|
|
4505
|
+
continuationToken = result.nextLink;
|
|
4506
|
+
setContinuationToken(page, continuationToken);
|
|
4507
|
+
yield yield tslib.__await(page);
|
|
4508
|
+
}
|
|
3851
4509
|
while (continuationToken) {
|
|
3852
4510
|
result = yield tslib.__await(this._listForResourceGroupNext(resourceGroupName, continuationToken, options));
|
|
3853
4511
|
continuationToken = result.nextLink;
|
|
3854
|
-
|
|
4512
|
+
let page = result.value || [];
|
|
4513
|
+
setContinuationToken(page, continuationToken);
|
|
4514
|
+
yield yield tslib.__await(page);
|
|
3855
4515
|
}
|
|
3856
4516
|
});
|
|
3857
4517
|
}
|
|
@@ -3888,20 +4548,31 @@ class RemediationsImpl {
|
|
|
3888
4548
|
[Symbol.asyncIterator]() {
|
|
3889
4549
|
return this;
|
|
3890
4550
|
},
|
|
3891
|
-
byPage: () => {
|
|
3892
|
-
|
|
4551
|
+
byPage: (settings) => {
|
|
4552
|
+
if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
|
|
4553
|
+
throw new Error("maxPageSize is not supported by this operation.");
|
|
4554
|
+
}
|
|
4555
|
+
return this.listDeploymentsAtResourcePagingPage(resourceId, remediationName, options, settings);
|
|
3893
4556
|
}
|
|
3894
4557
|
};
|
|
3895
4558
|
}
|
|
3896
|
-
listDeploymentsAtResourcePagingPage(resourceId, remediationName, options) {
|
|
4559
|
+
listDeploymentsAtResourcePagingPage(resourceId, remediationName, options, settings) {
|
|
3897
4560
|
return tslib.__asyncGenerator(this, arguments, function* listDeploymentsAtResourcePagingPage_1() {
|
|
3898
|
-
let result
|
|
3899
|
-
|
|
3900
|
-
|
|
4561
|
+
let result;
|
|
4562
|
+
let continuationToken = settings === null || settings === void 0 ? void 0 : settings.continuationToken;
|
|
4563
|
+
if (!continuationToken) {
|
|
4564
|
+
result = yield tslib.__await(this._listDeploymentsAtResource(resourceId, remediationName, options));
|
|
4565
|
+
let page = result.value || [];
|
|
4566
|
+
continuationToken = result.nextLink;
|
|
4567
|
+
setContinuationToken(page, continuationToken);
|
|
4568
|
+
yield yield tslib.__await(page);
|
|
4569
|
+
}
|
|
3901
4570
|
while (continuationToken) {
|
|
3902
4571
|
result = yield tslib.__await(this._listDeploymentsAtResourceNext(resourceId, remediationName, continuationToken, options));
|
|
3903
4572
|
continuationToken = result.nextLink;
|
|
3904
|
-
|
|
4573
|
+
let page = result.value || [];
|
|
4574
|
+
setContinuationToken(page, continuationToken);
|
|
4575
|
+
yield yield tslib.__await(page);
|
|
3905
4576
|
}
|
|
3906
4577
|
});
|
|
3907
4578
|
}
|
|
@@ -3937,20 +4608,31 @@ class RemediationsImpl {
|
|
|
3937
4608
|
[Symbol.asyncIterator]() {
|
|
3938
4609
|
return this;
|
|
3939
4610
|
},
|
|
3940
|
-
byPage: () => {
|
|
3941
|
-
|
|
4611
|
+
byPage: (settings) => {
|
|
4612
|
+
if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
|
|
4613
|
+
throw new Error("maxPageSize is not supported by this operation.");
|
|
4614
|
+
}
|
|
4615
|
+
return this.listForResourcePagingPage(resourceId, options, settings);
|
|
3942
4616
|
}
|
|
3943
4617
|
};
|
|
3944
4618
|
}
|
|
3945
|
-
listForResourcePagingPage(resourceId, options) {
|
|
4619
|
+
listForResourcePagingPage(resourceId, options, settings) {
|
|
3946
4620
|
return tslib.__asyncGenerator(this, arguments, function* listForResourcePagingPage_1() {
|
|
3947
|
-
let result
|
|
3948
|
-
|
|
3949
|
-
|
|
4621
|
+
let result;
|
|
4622
|
+
let continuationToken = settings === null || settings === void 0 ? void 0 : settings.continuationToken;
|
|
4623
|
+
if (!continuationToken) {
|
|
4624
|
+
result = yield tslib.__await(this._listForResource(resourceId, options));
|
|
4625
|
+
let page = result.value || [];
|
|
4626
|
+
continuationToken = result.nextLink;
|
|
4627
|
+
setContinuationToken(page, continuationToken);
|
|
4628
|
+
yield yield tslib.__await(page);
|
|
4629
|
+
}
|
|
3950
4630
|
while (continuationToken) {
|
|
3951
4631
|
result = yield tslib.__await(this._listForResourceNext(resourceId, continuationToken, options));
|
|
3952
4632
|
continuationToken = result.nextLink;
|
|
3953
|
-
|
|
4633
|
+
let page = result.value || [];
|
|
4634
|
+
setContinuationToken(page, continuationToken);
|
|
4635
|
+
yield yield tslib.__await(page);
|
|
3954
4636
|
}
|
|
3955
4637
|
});
|
|
3956
4638
|
}
|
|
@@ -4262,7 +4944,7 @@ class RemediationsImpl {
|
|
|
4262
4944
|
}
|
|
4263
4945
|
}
|
|
4264
4946
|
// Operation Specifications
|
|
4265
|
-
const serializer$
|
|
4947
|
+
const serializer$7 = coreClient__namespace.createSerializer(Mappers, /* isXml */ false);
|
|
4266
4948
|
const listDeploymentsAtManagementGroupOperationSpec = {
|
|
4267
4949
|
path: "/providers/{managementGroupsNamespace}/managementGroups/{managementGroupId}/providers/Microsoft.PolicyInsights/remediations/{remediationName}/listDeployments",
|
|
4268
4950
|
httpMethod: "POST",
|
|
@@ -4282,7 +4964,7 @@ const listDeploymentsAtManagementGroupOperationSpec = {
|
|
|
4282
4964
|
remediationName
|
|
4283
4965
|
],
|
|
4284
4966
|
headerParameters: [accept],
|
|
4285
|
-
serializer: serializer$
|
|
4967
|
+
serializer: serializer$7
|
|
4286
4968
|
};
|
|
4287
4969
|
const cancelAtManagementGroupOperationSpec = {
|
|
4288
4970
|
path: "/providers/{managementGroupsNamespace}/managementGroups/{managementGroupId}/providers/Microsoft.PolicyInsights/remediations/{remediationName}/cancel",
|
|
@@ -4303,7 +4985,7 @@ const cancelAtManagementGroupOperationSpec = {
|
|
|
4303
4985
|
remediationName
|
|
4304
4986
|
],
|
|
4305
4987
|
headerParameters: [accept],
|
|
4306
|
-
serializer: serializer$
|
|
4988
|
+
serializer: serializer$7
|
|
4307
4989
|
};
|
|
4308
4990
|
const listForManagementGroupOperationSpec = {
|
|
4309
4991
|
path: "/providers/{managementGroupsNamespace}/managementGroups/{managementGroupId}/providers/Microsoft.PolicyInsights/remediations",
|
|
@@ -4323,7 +5005,7 @@ const listForManagementGroupOperationSpec = {
|
|
|
4323
5005
|
managementGroupId
|
|
4324
5006
|
],
|
|
4325
5007
|
headerParameters: [accept],
|
|
4326
|
-
serializer: serializer$
|
|
5008
|
+
serializer: serializer$7
|
|
4327
5009
|
};
|
|
4328
5010
|
const createOrUpdateAtManagementGroupOperationSpec = {
|
|
4329
5011
|
path: "/providers/{managementGroupsNamespace}/managementGroups/{managementGroupId}/providers/Microsoft.PolicyInsights/remediations/{remediationName}",
|
|
@@ -4349,7 +5031,7 @@ const createOrUpdateAtManagementGroupOperationSpec = {
|
|
|
4349
5031
|
],
|
|
4350
5032
|
headerParameters: [accept, contentType],
|
|
4351
5033
|
mediaType: "json",
|
|
4352
|
-
serializer: serializer$
|
|
5034
|
+
serializer: serializer$7
|
|
4353
5035
|
};
|
|
4354
5036
|
const getAtManagementGroupOperationSpec = {
|
|
4355
5037
|
path: "/providers/{managementGroupsNamespace}/managementGroups/{managementGroupId}/providers/Microsoft.PolicyInsights/remediations/{remediationName}",
|
|
@@ -4370,7 +5052,7 @@ const getAtManagementGroupOperationSpec = {
|
|
|
4370
5052
|
remediationName
|
|
4371
5053
|
],
|
|
4372
5054
|
headerParameters: [accept],
|
|
4373
|
-
serializer: serializer$
|
|
5055
|
+
serializer: serializer$7
|
|
4374
5056
|
};
|
|
4375
5057
|
const deleteAtManagementGroupOperationSpec = {
|
|
4376
5058
|
path: "/providers/{managementGroupsNamespace}/managementGroups/{managementGroupId}/providers/Microsoft.PolicyInsights/remediations/{remediationName}",
|
|
@@ -4392,7 +5074,7 @@ const deleteAtManagementGroupOperationSpec = {
|
|
|
4392
5074
|
remediationName
|
|
4393
5075
|
],
|
|
4394
5076
|
headerParameters: [accept],
|
|
4395
|
-
serializer: serializer$
|
|
5077
|
+
serializer: serializer$7
|
|
4396
5078
|
};
|
|
4397
5079
|
const listDeploymentsAtSubscriptionOperationSpec = {
|
|
4398
5080
|
path: "/subscriptions/{subscriptionId}/providers/Microsoft.PolicyInsights/remediations/{remediationName}/listDeployments",
|
|
@@ -4412,7 +5094,7 @@ const listDeploymentsAtSubscriptionOperationSpec = {
|
|
|
4412
5094
|
remediationName
|
|
4413
5095
|
],
|
|
4414
5096
|
headerParameters: [accept],
|
|
4415
|
-
serializer: serializer$
|
|
5097
|
+
serializer: serializer$7
|
|
4416
5098
|
};
|
|
4417
5099
|
const cancelAtSubscriptionOperationSpec = {
|
|
4418
5100
|
path: "/subscriptions/{subscriptionId}/providers/Microsoft.PolicyInsights/remediations/{remediationName}/cancel",
|
|
@@ -4432,7 +5114,7 @@ const cancelAtSubscriptionOperationSpec = {
|
|
|
4432
5114
|
remediationName
|
|
4433
5115
|
],
|
|
4434
5116
|
headerParameters: [accept],
|
|
4435
|
-
serializer: serializer$
|
|
5117
|
+
serializer: serializer$7
|
|
4436
5118
|
};
|
|
4437
5119
|
const listForSubscriptionOperationSpec$1 = {
|
|
4438
5120
|
path: "/subscriptions/{subscriptionId}/providers/Microsoft.PolicyInsights/remediations",
|
|
@@ -4448,7 +5130,7 @@ const listForSubscriptionOperationSpec$1 = {
|
|
|
4448
5130
|
queryParameters: [top, filter, apiVersion1],
|
|
4449
5131
|
urlParameters: [$host, subscriptionId],
|
|
4450
5132
|
headerParameters: [accept],
|
|
4451
|
-
serializer: serializer$
|
|
5133
|
+
serializer: serializer$7
|
|
4452
5134
|
};
|
|
4453
5135
|
const createOrUpdateAtSubscriptionOperationSpec$1 = {
|
|
4454
5136
|
path: "/subscriptions/{subscriptionId}/providers/Microsoft.PolicyInsights/remediations/{remediationName}",
|
|
@@ -4473,7 +5155,7 @@ const createOrUpdateAtSubscriptionOperationSpec$1 = {
|
|
|
4473
5155
|
],
|
|
4474
5156
|
headerParameters: [accept, contentType],
|
|
4475
5157
|
mediaType: "json",
|
|
4476
|
-
serializer: serializer$
|
|
5158
|
+
serializer: serializer$7
|
|
4477
5159
|
};
|
|
4478
5160
|
const getAtSubscriptionOperationSpec$1 = {
|
|
4479
5161
|
path: "/subscriptions/{subscriptionId}/providers/Microsoft.PolicyInsights/remediations/{remediationName}",
|
|
@@ -4493,7 +5175,7 @@ const getAtSubscriptionOperationSpec$1 = {
|
|
|
4493
5175
|
remediationName
|
|
4494
5176
|
],
|
|
4495
5177
|
headerParameters: [accept],
|
|
4496
|
-
serializer: serializer$
|
|
5178
|
+
serializer: serializer$7
|
|
4497
5179
|
};
|
|
4498
5180
|
const deleteAtSubscriptionOperationSpec$1 = {
|
|
4499
5181
|
path: "/subscriptions/{subscriptionId}/providers/Microsoft.PolicyInsights/remediations/{remediationName}",
|
|
@@ -4514,7 +5196,7 @@ const deleteAtSubscriptionOperationSpec$1 = {
|
|
|
4514
5196
|
remediationName
|
|
4515
5197
|
],
|
|
4516
5198
|
headerParameters: [accept],
|
|
4517
|
-
serializer: serializer$
|
|
5199
|
+
serializer: serializer$7
|
|
4518
5200
|
};
|
|
4519
5201
|
const listDeploymentsAtResourceGroupOperationSpec = {
|
|
4520
5202
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.PolicyInsights/remediations/{remediationName}/listDeployments",
|
|
@@ -4535,7 +5217,7 @@ const listDeploymentsAtResourceGroupOperationSpec = {
|
|
|
4535
5217
|
remediationName
|
|
4536
5218
|
],
|
|
4537
5219
|
headerParameters: [accept],
|
|
4538
|
-
serializer: serializer$
|
|
5220
|
+
serializer: serializer$7
|
|
4539
5221
|
};
|
|
4540
5222
|
const cancelAtResourceGroupOperationSpec = {
|
|
4541
5223
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.PolicyInsights/remediations/{remediationName}/cancel",
|
|
@@ -4556,7 +5238,7 @@ const cancelAtResourceGroupOperationSpec = {
|
|
|
4556
5238
|
remediationName
|
|
4557
5239
|
],
|
|
4558
5240
|
headerParameters: [accept],
|
|
4559
|
-
serializer: serializer$
|
|
5241
|
+
serializer: serializer$7
|
|
4560
5242
|
};
|
|
4561
5243
|
const listForResourceGroupOperationSpec$1 = {
|
|
4562
5244
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.PolicyInsights/remediations",
|
|
@@ -4576,7 +5258,7 @@ const listForResourceGroupOperationSpec$1 = {
|
|
|
4576
5258
|
resourceGroupName
|
|
4577
5259
|
],
|
|
4578
5260
|
headerParameters: [accept],
|
|
4579
|
-
serializer: serializer$
|
|
5261
|
+
serializer: serializer$7
|
|
4580
5262
|
};
|
|
4581
5263
|
const createOrUpdateAtResourceGroupOperationSpec$1 = {
|
|
4582
5264
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.PolicyInsights/remediations/{remediationName}",
|
|
@@ -4602,7 +5284,7 @@ const createOrUpdateAtResourceGroupOperationSpec$1 = {
|
|
|
4602
5284
|
],
|
|
4603
5285
|
headerParameters: [accept, contentType],
|
|
4604
5286
|
mediaType: "json",
|
|
4605
|
-
serializer: serializer$
|
|
5287
|
+
serializer: serializer$7
|
|
4606
5288
|
};
|
|
4607
5289
|
const getAtResourceGroupOperationSpec$1 = {
|
|
4608
5290
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.PolicyInsights/remediations/{remediationName}",
|
|
@@ -4623,7 +5305,7 @@ const getAtResourceGroupOperationSpec$1 = {
|
|
|
4623
5305
|
remediationName
|
|
4624
5306
|
],
|
|
4625
5307
|
headerParameters: [accept],
|
|
4626
|
-
serializer: serializer$
|
|
5308
|
+
serializer: serializer$7
|
|
4627
5309
|
};
|
|
4628
5310
|
const deleteAtResourceGroupOperationSpec$1 = {
|
|
4629
5311
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.PolicyInsights/remediations/{remediationName}",
|
|
@@ -4645,7 +5327,7 @@ const deleteAtResourceGroupOperationSpec$1 = {
|
|
|
4645
5327
|
remediationName
|
|
4646
5328
|
],
|
|
4647
5329
|
headerParameters: [accept],
|
|
4648
|
-
serializer: serializer$
|
|
5330
|
+
serializer: serializer$7
|
|
4649
5331
|
};
|
|
4650
5332
|
const listDeploymentsAtResourceOperationSpec = {
|
|
4651
5333
|
path: "/{resourceId}/providers/Microsoft.PolicyInsights/remediations/{remediationName}/listDeployments",
|
|
@@ -4665,7 +5347,7 @@ const listDeploymentsAtResourceOperationSpec = {
|
|
|
4665
5347
|
remediationName
|
|
4666
5348
|
],
|
|
4667
5349
|
headerParameters: [accept],
|
|
4668
|
-
serializer: serializer$
|
|
5350
|
+
serializer: serializer$7
|
|
4669
5351
|
};
|
|
4670
5352
|
const cancelAtResourceOperationSpec = {
|
|
4671
5353
|
path: "/{resourceId}/providers/Microsoft.PolicyInsights/remediations/{remediationName}/cancel",
|
|
@@ -4685,7 +5367,7 @@ const cancelAtResourceOperationSpec = {
|
|
|
4685
5367
|
remediationName
|
|
4686
5368
|
],
|
|
4687
5369
|
headerParameters: [accept],
|
|
4688
|
-
serializer: serializer$
|
|
5370
|
+
serializer: serializer$7
|
|
4689
5371
|
};
|
|
4690
5372
|
const listForResourceOperationSpec$1 = {
|
|
4691
5373
|
path: "/{resourceId}/providers/Microsoft.PolicyInsights/remediations",
|
|
@@ -4701,7 +5383,7 @@ const listForResourceOperationSpec$1 = {
|
|
|
4701
5383
|
queryParameters: [top, filter, apiVersion1],
|
|
4702
5384
|
urlParameters: [$host, resourceId],
|
|
4703
5385
|
headerParameters: [accept],
|
|
4704
|
-
serializer: serializer$
|
|
5386
|
+
serializer: serializer$7
|
|
4705
5387
|
};
|
|
4706
5388
|
const createOrUpdateAtResourceOperationSpec$1 = {
|
|
4707
5389
|
path: "/{resourceId}/providers/Microsoft.PolicyInsights/remediations/{remediationName}",
|
|
@@ -4726,7 +5408,7 @@ const createOrUpdateAtResourceOperationSpec$1 = {
|
|
|
4726
5408
|
],
|
|
4727
5409
|
headerParameters: [accept, contentType],
|
|
4728
5410
|
mediaType: "json",
|
|
4729
|
-
serializer: serializer$
|
|
5411
|
+
serializer: serializer$7
|
|
4730
5412
|
};
|
|
4731
5413
|
const getAtResourceOperationSpec$1 = {
|
|
4732
5414
|
path: "/{resourceId}/providers/Microsoft.PolicyInsights/remediations/{remediationName}",
|
|
@@ -4746,7 +5428,7 @@ const getAtResourceOperationSpec$1 = {
|
|
|
4746
5428
|
remediationName
|
|
4747
5429
|
],
|
|
4748
5430
|
headerParameters: [accept],
|
|
4749
|
-
serializer: serializer$
|
|
5431
|
+
serializer: serializer$7
|
|
4750
5432
|
};
|
|
4751
5433
|
const deleteAtResourceOperationSpec$1 = {
|
|
4752
5434
|
path: "/{resourceId}/providers/Microsoft.PolicyInsights/remediations/{remediationName}",
|
|
@@ -4767,7 +5449,7 @@ const deleteAtResourceOperationSpec$1 = {
|
|
|
4767
5449
|
remediationName
|
|
4768
5450
|
],
|
|
4769
5451
|
headerParameters: [accept],
|
|
4770
|
-
serializer: serializer$
|
|
5452
|
+
serializer: serializer$7
|
|
4771
5453
|
};
|
|
4772
5454
|
const listDeploymentsAtManagementGroupNextOperationSpec = {
|
|
4773
5455
|
path: "{nextLink}",
|
|
@@ -4780,7 +5462,6 @@ const listDeploymentsAtManagementGroupNextOperationSpec = {
|
|
|
4780
5462
|
bodyMapper: ErrorResponse
|
|
4781
5463
|
}
|
|
4782
5464
|
},
|
|
4783
|
-
queryParameters: [top, apiVersion1],
|
|
4784
5465
|
urlParameters: [
|
|
4785
5466
|
$host,
|
|
4786
5467
|
managementGroupsNamespace,
|
|
@@ -4789,7 +5470,7 @@ const listDeploymentsAtManagementGroupNextOperationSpec = {
|
|
|
4789
5470
|
remediationName
|
|
4790
5471
|
],
|
|
4791
5472
|
headerParameters: [accept],
|
|
4792
|
-
serializer: serializer$
|
|
5473
|
+
serializer: serializer$7
|
|
4793
5474
|
};
|
|
4794
5475
|
const listForManagementGroupNextOperationSpec = {
|
|
4795
5476
|
path: "{nextLink}",
|
|
@@ -4802,7 +5483,6 @@ const listForManagementGroupNextOperationSpec = {
|
|
|
4802
5483
|
bodyMapper: ErrorResponse
|
|
4803
5484
|
}
|
|
4804
5485
|
},
|
|
4805
|
-
queryParameters: [top, filter, apiVersion1],
|
|
4806
5486
|
urlParameters: [
|
|
4807
5487
|
$host,
|
|
4808
5488
|
managementGroupsNamespace,
|
|
@@ -4810,7 +5490,7 @@ const listForManagementGroupNextOperationSpec = {
|
|
|
4810
5490
|
managementGroupId
|
|
4811
5491
|
],
|
|
4812
5492
|
headerParameters: [accept],
|
|
4813
|
-
serializer: serializer$
|
|
5493
|
+
serializer: serializer$7
|
|
4814
5494
|
};
|
|
4815
5495
|
const listDeploymentsAtSubscriptionNextOperationSpec = {
|
|
4816
5496
|
path: "{nextLink}",
|
|
@@ -4823,7 +5503,6 @@ const listDeploymentsAtSubscriptionNextOperationSpec = {
|
|
|
4823
5503
|
bodyMapper: ErrorResponse
|
|
4824
5504
|
}
|
|
4825
5505
|
},
|
|
4826
|
-
queryParameters: [top, apiVersion1],
|
|
4827
5506
|
urlParameters: [
|
|
4828
5507
|
$host,
|
|
4829
5508
|
subscriptionId,
|
|
@@ -4831,7 +5510,7 @@ const listDeploymentsAtSubscriptionNextOperationSpec = {
|
|
|
4831
5510
|
remediationName
|
|
4832
5511
|
],
|
|
4833
5512
|
headerParameters: [accept],
|
|
4834
|
-
serializer: serializer$
|
|
5513
|
+
serializer: serializer$7
|
|
4835
5514
|
};
|
|
4836
5515
|
const listForSubscriptionNextOperationSpec$1 = {
|
|
4837
5516
|
path: "{nextLink}",
|
|
@@ -4844,14 +5523,13 @@ const listForSubscriptionNextOperationSpec$1 = {
|
|
|
4844
5523
|
bodyMapper: ErrorResponse
|
|
4845
5524
|
}
|
|
4846
5525
|
},
|
|
4847
|
-
queryParameters: [top, filter, apiVersion1],
|
|
4848
5526
|
urlParameters: [
|
|
4849
5527
|
$host,
|
|
4850
5528
|
subscriptionId,
|
|
4851
5529
|
nextLink
|
|
4852
5530
|
],
|
|
4853
5531
|
headerParameters: [accept],
|
|
4854
|
-
serializer: serializer$
|
|
5532
|
+
serializer: serializer$7
|
|
4855
5533
|
};
|
|
4856
5534
|
const listDeploymentsAtResourceGroupNextOperationSpec = {
|
|
4857
5535
|
path: "{nextLink}",
|
|
@@ -4864,7 +5542,6 @@ const listDeploymentsAtResourceGroupNextOperationSpec = {
|
|
|
4864
5542
|
bodyMapper: ErrorResponse
|
|
4865
5543
|
}
|
|
4866
5544
|
},
|
|
4867
|
-
queryParameters: [top, apiVersion1],
|
|
4868
5545
|
urlParameters: [
|
|
4869
5546
|
$host,
|
|
4870
5547
|
subscriptionId,
|
|
@@ -4873,7 +5550,7 @@ const listDeploymentsAtResourceGroupNextOperationSpec = {
|
|
|
4873
5550
|
remediationName
|
|
4874
5551
|
],
|
|
4875
5552
|
headerParameters: [accept],
|
|
4876
|
-
serializer: serializer$
|
|
5553
|
+
serializer: serializer$7
|
|
4877
5554
|
};
|
|
4878
5555
|
const listForResourceGroupNextOperationSpec$1 = {
|
|
4879
5556
|
path: "{nextLink}",
|
|
@@ -4886,7 +5563,6 @@ const listForResourceGroupNextOperationSpec$1 = {
|
|
|
4886
5563
|
bodyMapper: ErrorResponse
|
|
4887
5564
|
}
|
|
4888
5565
|
},
|
|
4889
|
-
queryParameters: [top, filter, apiVersion1],
|
|
4890
5566
|
urlParameters: [
|
|
4891
5567
|
$host,
|
|
4892
5568
|
subscriptionId,
|
|
@@ -4894,7 +5570,7 @@ const listForResourceGroupNextOperationSpec$1 = {
|
|
|
4894
5570
|
nextLink
|
|
4895
5571
|
],
|
|
4896
5572
|
headerParameters: [accept],
|
|
4897
|
-
serializer: serializer$
|
|
5573
|
+
serializer: serializer$7
|
|
4898
5574
|
};
|
|
4899
5575
|
const listDeploymentsAtResourceNextOperationSpec = {
|
|
4900
5576
|
path: "{nextLink}",
|
|
@@ -4907,7 +5583,6 @@ const listDeploymentsAtResourceNextOperationSpec = {
|
|
|
4907
5583
|
bodyMapper: ErrorResponse
|
|
4908
5584
|
}
|
|
4909
5585
|
},
|
|
4910
|
-
queryParameters: [top, apiVersion1],
|
|
4911
5586
|
urlParameters: [
|
|
4912
5587
|
$host,
|
|
4913
5588
|
resourceId,
|
|
@@ -4915,7 +5590,7 @@ const listDeploymentsAtResourceNextOperationSpec = {
|
|
|
4915
5590
|
remediationName
|
|
4916
5591
|
],
|
|
4917
5592
|
headerParameters: [accept],
|
|
4918
|
-
serializer: serializer$
|
|
5593
|
+
serializer: serializer$7
|
|
4919
5594
|
};
|
|
4920
5595
|
const listForResourceNextOperationSpec$1 = {
|
|
4921
5596
|
path: "{nextLink}",
|
|
@@ -4928,10 +5603,9 @@ const listForResourceNextOperationSpec$1 = {
|
|
|
4928
5603
|
bodyMapper: ErrorResponse
|
|
4929
5604
|
}
|
|
4930
5605
|
},
|
|
4931
|
-
queryParameters: [top, filter, apiVersion1],
|
|
4932
5606
|
urlParameters: [$host, resourceId, nextLink],
|
|
4933
5607
|
headerParameters: [accept],
|
|
4934
|
-
serializer: serializer$
|
|
5608
|
+
serializer: serializer$7
|
|
4935
5609
|
};
|
|
4936
5610
|
|
|
4937
5611
|
/*
|
|
@@ -4967,20 +5641,31 @@ class PolicyEventsImpl {
|
|
|
4967
5641
|
[Symbol.asyncIterator]() {
|
|
4968
5642
|
return this;
|
|
4969
5643
|
},
|
|
4970
|
-
byPage: () => {
|
|
4971
|
-
|
|
5644
|
+
byPage: (settings) => {
|
|
5645
|
+
if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
|
|
5646
|
+
throw new Error("maxPageSize is not supported by this operation.");
|
|
5647
|
+
}
|
|
5648
|
+
return this.listQueryResultsForManagementGroupPagingPage(policyEventsResource, managementGroupName, options, settings);
|
|
4972
5649
|
}
|
|
4973
5650
|
};
|
|
4974
5651
|
}
|
|
4975
|
-
listQueryResultsForManagementGroupPagingPage(policyEventsResource, managementGroupName, options) {
|
|
5652
|
+
listQueryResultsForManagementGroupPagingPage(policyEventsResource, managementGroupName, options, settings) {
|
|
4976
5653
|
return tslib.__asyncGenerator(this, arguments, function* listQueryResultsForManagementGroupPagingPage_1() {
|
|
4977
|
-
let result
|
|
4978
|
-
|
|
4979
|
-
|
|
5654
|
+
let result;
|
|
5655
|
+
let continuationToken = settings === null || settings === void 0 ? void 0 : settings.continuationToken;
|
|
5656
|
+
if (!continuationToken) {
|
|
5657
|
+
result = yield tslib.__await(this._listQueryResultsForManagementGroup(policyEventsResource, managementGroupName, options));
|
|
5658
|
+
let page = result.value || [];
|
|
5659
|
+
continuationToken = result.odataNextLink;
|
|
5660
|
+
setContinuationToken(page, continuationToken);
|
|
5661
|
+
yield yield tslib.__await(page);
|
|
5662
|
+
}
|
|
4980
5663
|
while (continuationToken) {
|
|
4981
5664
|
result = yield tslib.__await(this._listQueryResultsForManagementGroupNext(policyEventsResource, managementGroupName, continuationToken, options));
|
|
4982
5665
|
continuationToken = result.odataNextLink;
|
|
4983
|
-
|
|
5666
|
+
let page = result.value || [];
|
|
5667
|
+
setContinuationToken(page, continuationToken);
|
|
5668
|
+
yield yield tslib.__await(page);
|
|
4984
5669
|
}
|
|
4985
5670
|
});
|
|
4986
5671
|
}
|
|
@@ -5018,20 +5703,31 @@ class PolicyEventsImpl {
|
|
|
5018
5703
|
[Symbol.asyncIterator]() {
|
|
5019
5704
|
return this;
|
|
5020
5705
|
},
|
|
5021
|
-
byPage: () => {
|
|
5022
|
-
|
|
5706
|
+
byPage: (settings) => {
|
|
5707
|
+
if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
|
|
5708
|
+
throw new Error("maxPageSize is not supported by this operation.");
|
|
5709
|
+
}
|
|
5710
|
+
return this.listQueryResultsForSubscriptionPagingPage(policyEventsResource, subscriptionId, options, settings);
|
|
5023
5711
|
}
|
|
5024
5712
|
};
|
|
5025
5713
|
}
|
|
5026
|
-
listQueryResultsForSubscriptionPagingPage(policyEventsResource, subscriptionId, options) {
|
|
5714
|
+
listQueryResultsForSubscriptionPagingPage(policyEventsResource, subscriptionId, options, settings) {
|
|
5027
5715
|
return tslib.__asyncGenerator(this, arguments, function* listQueryResultsForSubscriptionPagingPage_1() {
|
|
5028
|
-
let result
|
|
5029
|
-
|
|
5030
|
-
|
|
5716
|
+
let result;
|
|
5717
|
+
let continuationToken = settings === null || settings === void 0 ? void 0 : settings.continuationToken;
|
|
5718
|
+
if (!continuationToken) {
|
|
5719
|
+
result = yield tslib.__await(this._listQueryResultsForSubscription(policyEventsResource, subscriptionId, options));
|
|
5720
|
+
let page = result.value || [];
|
|
5721
|
+
continuationToken = result.odataNextLink;
|
|
5722
|
+
setContinuationToken(page, continuationToken);
|
|
5723
|
+
yield yield tslib.__await(page);
|
|
5724
|
+
}
|
|
5031
5725
|
while (continuationToken) {
|
|
5032
5726
|
result = yield tslib.__await(this._listQueryResultsForSubscriptionNext(policyEventsResource, subscriptionId, continuationToken, options));
|
|
5033
5727
|
continuationToken = result.odataNextLink;
|
|
5034
|
-
|
|
5728
|
+
let page = result.value || [];
|
|
5729
|
+
setContinuationToken(page, continuationToken);
|
|
5730
|
+
yield yield tslib.__await(page);
|
|
5035
5731
|
}
|
|
5036
5732
|
});
|
|
5037
5733
|
}
|
|
@@ -5070,20 +5766,31 @@ class PolicyEventsImpl {
|
|
|
5070
5766
|
[Symbol.asyncIterator]() {
|
|
5071
5767
|
return this;
|
|
5072
5768
|
},
|
|
5073
|
-
byPage: () => {
|
|
5074
|
-
|
|
5769
|
+
byPage: (settings) => {
|
|
5770
|
+
if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
|
|
5771
|
+
throw new Error("maxPageSize is not supported by this operation.");
|
|
5772
|
+
}
|
|
5773
|
+
return this.listQueryResultsForResourceGroupPagingPage(policyEventsResource, subscriptionId, resourceGroupName, options, settings);
|
|
5075
5774
|
}
|
|
5076
5775
|
};
|
|
5077
5776
|
}
|
|
5078
|
-
listQueryResultsForResourceGroupPagingPage(policyEventsResource, subscriptionId, resourceGroupName, options) {
|
|
5777
|
+
listQueryResultsForResourceGroupPagingPage(policyEventsResource, subscriptionId, resourceGroupName, options, settings) {
|
|
5079
5778
|
return tslib.__asyncGenerator(this, arguments, function* listQueryResultsForResourceGroupPagingPage_1() {
|
|
5080
|
-
let result
|
|
5081
|
-
|
|
5082
|
-
|
|
5779
|
+
let result;
|
|
5780
|
+
let continuationToken = settings === null || settings === void 0 ? void 0 : settings.continuationToken;
|
|
5781
|
+
if (!continuationToken) {
|
|
5782
|
+
result = yield tslib.__await(this._listQueryResultsForResourceGroup(policyEventsResource, subscriptionId, resourceGroupName, options));
|
|
5783
|
+
let page = result.value || [];
|
|
5784
|
+
continuationToken = result.odataNextLink;
|
|
5785
|
+
setContinuationToken(page, continuationToken);
|
|
5786
|
+
yield yield tslib.__await(page);
|
|
5787
|
+
}
|
|
5083
5788
|
while (continuationToken) {
|
|
5084
5789
|
result = yield tslib.__await(this._listQueryResultsForResourceGroupNext(policyEventsResource, subscriptionId, resourceGroupName, continuationToken, options));
|
|
5085
5790
|
continuationToken = result.odataNextLink;
|
|
5086
|
-
|
|
5791
|
+
let page = result.value || [];
|
|
5792
|
+
setContinuationToken(page, continuationToken);
|
|
5793
|
+
yield yield tslib.__await(page);
|
|
5087
5794
|
}
|
|
5088
5795
|
});
|
|
5089
5796
|
}
|
|
@@ -5121,20 +5828,31 @@ class PolicyEventsImpl {
|
|
|
5121
5828
|
[Symbol.asyncIterator]() {
|
|
5122
5829
|
return this;
|
|
5123
5830
|
},
|
|
5124
|
-
byPage: () => {
|
|
5125
|
-
|
|
5831
|
+
byPage: (settings) => {
|
|
5832
|
+
if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
|
|
5833
|
+
throw new Error("maxPageSize is not supported by this operation.");
|
|
5834
|
+
}
|
|
5835
|
+
return this.listQueryResultsForResourcePagingPage(policyEventsResource, resourceId, options, settings);
|
|
5126
5836
|
}
|
|
5127
5837
|
};
|
|
5128
5838
|
}
|
|
5129
|
-
listQueryResultsForResourcePagingPage(policyEventsResource, resourceId, options) {
|
|
5839
|
+
listQueryResultsForResourcePagingPage(policyEventsResource, resourceId, options, settings) {
|
|
5130
5840
|
return tslib.__asyncGenerator(this, arguments, function* listQueryResultsForResourcePagingPage_1() {
|
|
5131
|
-
let result
|
|
5132
|
-
|
|
5133
|
-
|
|
5841
|
+
let result;
|
|
5842
|
+
let continuationToken = settings === null || settings === void 0 ? void 0 : settings.continuationToken;
|
|
5843
|
+
if (!continuationToken) {
|
|
5844
|
+
result = yield tslib.__await(this._listQueryResultsForResource(policyEventsResource, resourceId, options));
|
|
5845
|
+
let page = result.value || [];
|
|
5846
|
+
continuationToken = result.odataNextLink;
|
|
5847
|
+
setContinuationToken(page, continuationToken);
|
|
5848
|
+
yield yield tslib.__await(page);
|
|
5849
|
+
}
|
|
5134
5850
|
while (continuationToken) {
|
|
5135
5851
|
result = yield tslib.__await(this._listQueryResultsForResourceNext(policyEventsResource, resourceId, continuationToken, options));
|
|
5136
5852
|
continuationToken = result.odataNextLink;
|
|
5137
|
-
|
|
5853
|
+
let page = result.value || [];
|
|
5854
|
+
setContinuationToken(page, continuationToken);
|
|
5855
|
+
yield yield tslib.__await(page);
|
|
5138
5856
|
}
|
|
5139
5857
|
});
|
|
5140
5858
|
}
|
|
@@ -5173,20 +5891,31 @@ class PolicyEventsImpl {
|
|
|
5173
5891
|
[Symbol.asyncIterator]() {
|
|
5174
5892
|
return this;
|
|
5175
5893
|
},
|
|
5176
|
-
byPage: () => {
|
|
5177
|
-
|
|
5894
|
+
byPage: (settings) => {
|
|
5895
|
+
if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
|
|
5896
|
+
throw new Error("maxPageSize is not supported by this operation.");
|
|
5897
|
+
}
|
|
5898
|
+
return this.listQueryResultsForPolicySetDefinitionPagingPage(policyEventsResource, subscriptionId, policySetDefinitionName, options, settings);
|
|
5178
5899
|
}
|
|
5179
5900
|
};
|
|
5180
5901
|
}
|
|
5181
|
-
listQueryResultsForPolicySetDefinitionPagingPage(policyEventsResource, subscriptionId, policySetDefinitionName, options) {
|
|
5902
|
+
listQueryResultsForPolicySetDefinitionPagingPage(policyEventsResource, subscriptionId, policySetDefinitionName, options, settings) {
|
|
5182
5903
|
return tslib.__asyncGenerator(this, arguments, function* listQueryResultsForPolicySetDefinitionPagingPage_1() {
|
|
5183
|
-
let result
|
|
5184
|
-
|
|
5185
|
-
|
|
5904
|
+
let result;
|
|
5905
|
+
let continuationToken = settings === null || settings === void 0 ? void 0 : settings.continuationToken;
|
|
5906
|
+
if (!continuationToken) {
|
|
5907
|
+
result = yield tslib.__await(this._listQueryResultsForPolicySetDefinition(policyEventsResource, subscriptionId, policySetDefinitionName, options));
|
|
5908
|
+
let page = result.value || [];
|
|
5909
|
+
continuationToken = result.odataNextLink;
|
|
5910
|
+
setContinuationToken(page, continuationToken);
|
|
5911
|
+
yield yield tslib.__await(page);
|
|
5912
|
+
}
|
|
5186
5913
|
while (continuationToken) {
|
|
5187
5914
|
result = yield tslib.__await(this._listQueryResultsForPolicySetDefinitionNext(policyEventsResource, subscriptionId, policySetDefinitionName, continuationToken, options));
|
|
5188
5915
|
continuationToken = result.odataNextLink;
|
|
5189
|
-
|
|
5916
|
+
let page = result.value || [];
|
|
5917
|
+
setContinuationToken(page, continuationToken);
|
|
5918
|
+
yield yield tslib.__await(page);
|
|
5190
5919
|
}
|
|
5191
5920
|
});
|
|
5192
5921
|
}
|
|
@@ -5225,20 +5954,31 @@ class PolicyEventsImpl {
|
|
|
5225
5954
|
[Symbol.asyncIterator]() {
|
|
5226
5955
|
return this;
|
|
5227
5956
|
},
|
|
5228
|
-
byPage: () => {
|
|
5229
|
-
|
|
5957
|
+
byPage: (settings) => {
|
|
5958
|
+
if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
|
|
5959
|
+
throw new Error("maxPageSize is not supported by this operation.");
|
|
5960
|
+
}
|
|
5961
|
+
return this.listQueryResultsForPolicyDefinitionPagingPage(policyEventsResource, subscriptionId, policyDefinitionName, options, settings);
|
|
5230
5962
|
}
|
|
5231
5963
|
};
|
|
5232
5964
|
}
|
|
5233
|
-
listQueryResultsForPolicyDefinitionPagingPage(policyEventsResource, subscriptionId, policyDefinitionName, options) {
|
|
5965
|
+
listQueryResultsForPolicyDefinitionPagingPage(policyEventsResource, subscriptionId, policyDefinitionName, options, settings) {
|
|
5234
5966
|
return tslib.__asyncGenerator(this, arguments, function* listQueryResultsForPolicyDefinitionPagingPage_1() {
|
|
5235
|
-
let result
|
|
5236
|
-
|
|
5237
|
-
|
|
5967
|
+
let result;
|
|
5968
|
+
let continuationToken = settings === null || settings === void 0 ? void 0 : settings.continuationToken;
|
|
5969
|
+
if (!continuationToken) {
|
|
5970
|
+
result = yield tslib.__await(this._listQueryResultsForPolicyDefinition(policyEventsResource, subscriptionId, policyDefinitionName, options));
|
|
5971
|
+
let page = result.value || [];
|
|
5972
|
+
continuationToken = result.odataNextLink;
|
|
5973
|
+
setContinuationToken(page, continuationToken);
|
|
5974
|
+
yield yield tslib.__await(page);
|
|
5975
|
+
}
|
|
5238
5976
|
while (continuationToken) {
|
|
5239
5977
|
result = yield tslib.__await(this._listQueryResultsForPolicyDefinitionNext(policyEventsResource, subscriptionId, policyDefinitionName, continuationToken, options));
|
|
5240
5978
|
continuationToken = result.odataNextLink;
|
|
5241
|
-
|
|
5979
|
+
let page = result.value || [];
|
|
5980
|
+
setContinuationToken(page, continuationToken);
|
|
5981
|
+
yield yield tslib.__await(page);
|
|
5242
5982
|
}
|
|
5243
5983
|
});
|
|
5244
5984
|
}
|
|
@@ -5277,20 +6017,31 @@ class PolicyEventsImpl {
|
|
|
5277
6017
|
[Symbol.asyncIterator]() {
|
|
5278
6018
|
return this;
|
|
5279
6019
|
},
|
|
5280
|
-
byPage: () => {
|
|
5281
|
-
|
|
6020
|
+
byPage: (settings) => {
|
|
6021
|
+
if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
|
|
6022
|
+
throw new Error("maxPageSize is not supported by this operation.");
|
|
6023
|
+
}
|
|
6024
|
+
return this.listQueryResultsForSubscriptionLevelPolicyAssignmentPagingPage(policyEventsResource, subscriptionId, policyAssignmentName, options, settings);
|
|
5282
6025
|
}
|
|
5283
6026
|
};
|
|
5284
6027
|
}
|
|
5285
|
-
listQueryResultsForSubscriptionLevelPolicyAssignmentPagingPage(policyEventsResource, subscriptionId, policyAssignmentName, options) {
|
|
6028
|
+
listQueryResultsForSubscriptionLevelPolicyAssignmentPagingPage(policyEventsResource, subscriptionId, policyAssignmentName, options, settings) {
|
|
5286
6029
|
return tslib.__asyncGenerator(this, arguments, function* listQueryResultsForSubscriptionLevelPolicyAssignmentPagingPage_1() {
|
|
5287
|
-
let result
|
|
5288
|
-
|
|
5289
|
-
|
|
6030
|
+
let result;
|
|
6031
|
+
let continuationToken = settings === null || settings === void 0 ? void 0 : settings.continuationToken;
|
|
6032
|
+
if (!continuationToken) {
|
|
6033
|
+
result = yield tslib.__await(this._listQueryResultsForSubscriptionLevelPolicyAssignment(policyEventsResource, subscriptionId, policyAssignmentName, options));
|
|
6034
|
+
let page = result.value || [];
|
|
6035
|
+
continuationToken = result.odataNextLink;
|
|
6036
|
+
setContinuationToken(page, continuationToken);
|
|
6037
|
+
yield yield tslib.__await(page);
|
|
6038
|
+
}
|
|
5290
6039
|
while (continuationToken) {
|
|
5291
6040
|
result = yield tslib.__await(this._listQueryResultsForSubscriptionLevelPolicyAssignmentNext(policyEventsResource, subscriptionId, policyAssignmentName, continuationToken, options));
|
|
5292
6041
|
continuationToken = result.odataNextLink;
|
|
5293
|
-
|
|
6042
|
+
let page = result.value || [];
|
|
6043
|
+
setContinuationToken(page, continuationToken);
|
|
6044
|
+
yield yield tslib.__await(page);
|
|
5294
6045
|
}
|
|
5295
6046
|
});
|
|
5296
6047
|
}
|
|
@@ -5330,20 +6081,31 @@ class PolicyEventsImpl {
|
|
|
5330
6081
|
[Symbol.asyncIterator]() {
|
|
5331
6082
|
return this;
|
|
5332
6083
|
},
|
|
5333
|
-
byPage: () => {
|
|
5334
|
-
|
|
6084
|
+
byPage: (settings) => {
|
|
6085
|
+
if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
|
|
6086
|
+
throw new Error("maxPageSize is not supported by this operation.");
|
|
6087
|
+
}
|
|
6088
|
+
return this.listQueryResultsForResourceGroupLevelPolicyAssignmentPagingPage(policyEventsResource, subscriptionId, resourceGroupName, policyAssignmentName, options, settings);
|
|
5335
6089
|
}
|
|
5336
6090
|
};
|
|
5337
6091
|
}
|
|
5338
|
-
listQueryResultsForResourceGroupLevelPolicyAssignmentPagingPage(policyEventsResource, subscriptionId, resourceGroupName, policyAssignmentName, options) {
|
|
6092
|
+
listQueryResultsForResourceGroupLevelPolicyAssignmentPagingPage(policyEventsResource, subscriptionId, resourceGroupName, policyAssignmentName, options, settings) {
|
|
5339
6093
|
return tslib.__asyncGenerator(this, arguments, function* listQueryResultsForResourceGroupLevelPolicyAssignmentPagingPage_1() {
|
|
5340
|
-
let result
|
|
5341
|
-
|
|
5342
|
-
|
|
6094
|
+
let result;
|
|
6095
|
+
let continuationToken = settings === null || settings === void 0 ? void 0 : settings.continuationToken;
|
|
6096
|
+
if (!continuationToken) {
|
|
6097
|
+
result = yield tslib.__await(this._listQueryResultsForResourceGroupLevelPolicyAssignment(policyEventsResource, subscriptionId, resourceGroupName, policyAssignmentName, options));
|
|
6098
|
+
let page = result.value || [];
|
|
6099
|
+
continuationToken = result.odataNextLink;
|
|
6100
|
+
setContinuationToken(page, continuationToken);
|
|
6101
|
+
yield yield tslib.__await(page);
|
|
6102
|
+
}
|
|
5343
6103
|
while (continuationToken) {
|
|
5344
6104
|
result = yield tslib.__await(this._listQueryResultsForResourceGroupLevelPolicyAssignmentNext(policyEventsResource, subscriptionId, resourceGroupName, policyAssignmentName, continuationToken, options));
|
|
5345
6105
|
continuationToken = result.odataNextLink;
|
|
5346
|
-
|
|
6106
|
+
let page = result.value || [];
|
|
6107
|
+
setContinuationToken(page, continuationToken);
|
|
6108
|
+
yield yield tslib.__await(page);
|
|
5347
6109
|
}
|
|
5348
6110
|
});
|
|
5349
6111
|
}
|
|
@@ -5383,7 +6145,7 @@ class PolicyEventsImpl {
|
|
|
5383
6145
|
* @param options The options parameters.
|
|
5384
6146
|
*/
|
|
5385
6147
|
_listQueryResultsForSubscription(policyEventsResource, subscriptionId, options) {
|
|
5386
|
-
return this.client.sendOperationRequest({ policyEventsResource, subscriptionId, options }, listQueryResultsForSubscriptionOperationSpec$
|
|
6148
|
+
return this.client.sendOperationRequest({ policyEventsResource, subscriptionId, options }, listQueryResultsForSubscriptionOperationSpec$2);
|
|
5387
6149
|
}
|
|
5388
6150
|
/**
|
|
5389
6151
|
* Queries policy events for the resources under the resource group.
|
|
@@ -5394,7 +6156,7 @@ class PolicyEventsImpl {
|
|
|
5394
6156
|
* @param options The options parameters.
|
|
5395
6157
|
*/
|
|
5396
6158
|
_listQueryResultsForResourceGroup(policyEventsResource, subscriptionId, resourceGroupName, options) {
|
|
5397
|
-
return this.client.sendOperationRequest({ policyEventsResource, subscriptionId, resourceGroupName, options }, listQueryResultsForResourceGroupOperationSpec$
|
|
6159
|
+
return this.client.sendOperationRequest({ policyEventsResource, subscriptionId, resourceGroupName, options }, listQueryResultsForResourceGroupOperationSpec$2);
|
|
5398
6160
|
}
|
|
5399
6161
|
/**
|
|
5400
6162
|
* Queries policy events for the resource.
|
|
@@ -5404,7 +6166,7 @@ class PolicyEventsImpl {
|
|
|
5404
6166
|
* @param options The options parameters.
|
|
5405
6167
|
*/
|
|
5406
6168
|
_listQueryResultsForResource(policyEventsResource, resourceId, options) {
|
|
5407
|
-
return this.client.sendOperationRequest({ policyEventsResource, resourceId, options }, listQueryResultsForResourceOperationSpec$
|
|
6169
|
+
return this.client.sendOperationRequest({ policyEventsResource, resourceId, options }, listQueryResultsForResourceOperationSpec$2);
|
|
5408
6170
|
}
|
|
5409
6171
|
/**
|
|
5410
6172
|
* Queries policy events for the subscription level policy set definition.
|
|
@@ -5431,7 +6193,7 @@ class PolicyEventsImpl {
|
|
|
5431
6193
|
* @param options The options parameters.
|
|
5432
6194
|
*/
|
|
5433
6195
|
_listQueryResultsForPolicyDefinition(policyEventsResource, subscriptionId, policyDefinitionName, options) {
|
|
5434
|
-
return this.client.sendOperationRequest({ policyEventsResource, subscriptionId, policyDefinitionName, options }, listQueryResultsForPolicyDefinitionOperationSpec$
|
|
6196
|
+
return this.client.sendOperationRequest({ policyEventsResource, subscriptionId, policyDefinitionName, options }, listQueryResultsForPolicyDefinitionOperationSpec$2);
|
|
5435
6197
|
}
|
|
5436
6198
|
/**
|
|
5437
6199
|
* Queries policy events for the subscription level policy assignment.
|
|
@@ -5442,7 +6204,7 @@ class PolicyEventsImpl {
|
|
|
5442
6204
|
* @param options The options parameters.
|
|
5443
6205
|
*/
|
|
5444
6206
|
_listQueryResultsForSubscriptionLevelPolicyAssignment(policyEventsResource, subscriptionId, policyAssignmentName, options) {
|
|
5445
|
-
return this.client.sendOperationRequest({ policyEventsResource, subscriptionId, policyAssignmentName, options }, listQueryResultsForSubscriptionLevelPolicyAssignmentOperationSpec$
|
|
6207
|
+
return this.client.sendOperationRequest({ policyEventsResource, subscriptionId, policyAssignmentName, options }, listQueryResultsForSubscriptionLevelPolicyAssignmentOperationSpec$2);
|
|
5446
6208
|
}
|
|
5447
6209
|
/**
|
|
5448
6210
|
* Queries policy events for the resource group level policy assignment.
|
|
@@ -5460,7 +6222,7 @@ class PolicyEventsImpl {
|
|
|
5460
6222
|
resourceGroupName,
|
|
5461
6223
|
policyAssignmentName,
|
|
5462
6224
|
options
|
|
5463
|
-
}, listQueryResultsForResourceGroupLevelPolicyAssignmentOperationSpec$
|
|
6225
|
+
}, listQueryResultsForResourceGroupLevelPolicyAssignmentOperationSpec$2);
|
|
5464
6226
|
}
|
|
5465
6227
|
/**
|
|
5466
6228
|
* ListQueryResultsForManagementGroupNext
|
|
@@ -5597,7 +6359,7 @@ class PolicyEventsImpl {
|
|
|
5597
6359
|
}
|
|
5598
6360
|
}
|
|
5599
6361
|
// Operation Specifications
|
|
5600
|
-
const serializer$
|
|
6362
|
+
const serializer$6 = coreClient__namespace.createSerializer(Mappers, /* isXml */ false);
|
|
5601
6363
|
const listQueryResultsForManagementGroupOperationSpec$1 = {
|
|
5602
6364
|
path: "/providers/{managementGroupsNamespace}/managementGroups/{managementGroupName}/providers/Microsoft.PolicyInsights/policyEvents/{policyEventsResource}/queryResults",
|
|
5603
6365
|
httpMethod: "POST",
|
|
@@ -5615,7 +6377,7 @@ const listQueryResultsForManagementGroupOperationSpec$1 = {
|
|
|
5615
6377
|
apiVersion2,
|
|
5616
6378
|
orderBy,
|
|
5617
6379
|
select,
|
|
5618
|
-
|
|
6380
|
+
from,
|
|
5619
6381
|
to,
|
|
5620
6382
|
apply,
|
|
5621
6383
|
skipToken
|
|
@@ -5627,9 +6389,9 @@ const listQueryResultsForManagementGroupOperationSpec$1 = {
|
|
|
5627
6389
|
policyEventsResource
|
|
5628
6390
|
],
|
|
5629
6391
|
headerParameters: [accept],
|
|
5630
|
-
serializer: serializer$
|
|
6392
|
+
serializer: serializer$6
|
|
5631
6393
|
};
|
|
5632
|
-
const listQueryResultsForSubscriptionOperationSpec$
|
|
6394
|
+
const listQueryResultsForSubscriptionOperationSpec$2 = {
|
|
5633
6395
|
path: "/subscriptions/{subscriptionId}/providers/Microsoft.PolicyInsights/policyEvents/{policyEventsResource}/queryResults",
|
|
5634
6396
|
httpMethod: "POST",
|
|
5635
6397
|
responses: {
|
|
@@ -5646,7 +6408,7 @@ const listQueryResultsForSubscriptionOperationSpec$1 = {
|
|
|
5646
6408
|
apiVersion2,
|
|
5647
6409
|
orderBy,
|
|
5648
6410
|
select,
|
|
5649
|
-
|
|
6411
|
+
from,
|
|
5650
6412
|
to,
|
|
5651
6413
|
apply,
|
|
5652
6414
|
skipToken
|
|
@@ -5657,9 +6419,9 @@ const listQueryResultsForSubscriptionOperationSpec$1 = {
|
|
|
5657
6419
|
subscriptionId1
|
|
5658
6420
|
],
|
|
5659
6421
|
headerParameters: [accept],
|
|
5660
|
-
serializer: serializer$
|
|
6422
|
+
serializer: serializer$6
|
|
5661
6423
|
};
|
|
5662
|
-
const listQueryResultsForResourceGroupOperationSpec$
|
|
6424
|
+
const listQueryResultsForResourceGroupOperationSpec$2 = {
|
|
5663
6425
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.PolicyInsights/policyEvents/{policyEventsResource}/queryResults",
|
|
5664
6426
|
httpMethod: "POST",
|
|
5665
6427
|
responses: {
|
|
@@ -5676,7 +6438,7 @@ const listQueryResultsForResourceGroupOperationSpec$1 = {
|
|
|
5676
6438
|
apiVersion2,
|
|
5677
6439
|
orderBy,
|
|
5678
6440
|
select,
|
|
5679
|
-
|
|
6441
|
+
from,
|
|
5680
6442
|
to,
|
|
5681
6443
|
apply,
|
|
5682
6444
|
skipToken
|
|
@@ -5688,9 +6450,9 @@ const listQueryResultsForResourceGroupOperationSpec$1 = {
|
|
|
5688
6450
|
subscriptionId1
|
|
5689
6451
|
],
|
|
5690
6452
|
headerParameters: [accept],
|
|
5691
|
-
serializer: serializer$
|
|
6453
|
+
serializer: serializer$6
|
|
5692
6454
|
};
|
|
5693
|
-
const listQueryResultsForResourceOperationSpec$
|
|
6455
|
+
const listQueryResultsForResourceOperationSpec$2 = {
|
|
5694
6456
|
path: "/{resourceId}/providers/Microsoft.PolicyInsights/policyEvents/{policyEventsResource}/queryResults",
|
|
5695
6457
|
httpMethod: "POST",
|
|
5696
6458
|
responses: {
|
|
@@ -5707,7 +6469,7 @@ const listQueryResultsForResourceOperationSpec$1 = {
|
|
|
5707
6469
|
apiVersion2,
|
|
5708
6470
|
orderBy,
|
|
5709
6471
|
select,
|
|
5710
|
-
|
|
6472
|
+
from,
|
|
5711
6473
|
to,
|
|
5712
6474
|
apply,
|
|
5713
6475
|
skipToken,
|
|
@@ -5719,7 +6481,7 @@ const listQueryResultsForResourceOperationSpec$1 = {
|
|
|
5719
6481
|
policyEventsResource
|
|
5720
6482
|
],
|
|
5721
6483
|
headerParameters: [accept],
|
|
5722
|
-
serializer: serializer$
|
|
6484
|
+
serializer: serializer$6
|
|
5723
6485
|
};
|
|
5724
6486
|
const listQueryResultsForPolicySetDefinitionOperationSpec$1 = {
|
|
5725
6487
|
path: "/subscriptions/{subscriptionId}/providers/{authorizationNamespace}/policySetDefinitions/{policySetDefinitionName}/providers/Microsoft.PolicyInsights/policyEvents/{policyEventsResource}/queryResults",
|
|
@@ -5738,7 +6500,7 @@ const listQueryResultsForPolicySetDefinitionOperationSpec$1 = {
|
|
|
5738
6500
|
apiVersion2,
|
|
5739
6501
|
orderBy,
|
|
5740
6502
|
select,
|
|
5741
|
-
|
|
6503
|
+
from,
|
|
5742
6504
|
to,
|
|
5743
6505
|
apply,
|
|
5744
6506
|
skipToken
|
|
@@ -5751,9 +6513,9 @@ const listQueryResultsForPolicySetDefinitionOperationSpec$1 = {
|
|
|
5751
6513
|
policySetDefinitionName
|
|
5752
6514
|
],
|
|
5753
6515
|
headerParameters: [accept],
|
|
5754
|
-
serializer: serializer$
|
|
6516
|
+
serializer: serializer$6
|
|
5755
6517
|
};
|
|
5756
|
-
const listQueryResultsForPolicyDefinitionOperationSpec$
|
|
6518
|
+
const listQueryResultsForPolicyDefinitionOperationSpec$2 = {
|
|
5757
6519
|
path: "/subscriptions/{subscriptionId}/providers/{authorizationNamespace}/policyDefinitions/{policyDefinitionName}/providers/Microsoft.PolicyInsights/policyEvents/{policyEventsResource}/queryResults",
|
|
5758
6520
|
httpMethod: "POST",
|
|
5759
6521
|
responses: {
|
|
@@ -5770,7 +6532,7 @@ const listQueryResultsForPolicyDefinitionOperationSpec$1 = {
|
|
|
5770
6532
|
apiVersion2,
|
|
5771
6533
|
orderBy,
|
|
5772
6534
|
select,
|
|
5773
|
-
|
|
6535
|
+
from,
|
|
5774
6536
|
to,
|
|
5775
6537
|
apply,
|
|
5776
6538
|
skipToken
|
|
@@ -5783,9 +6545,9 @@ const listQueryResultsForPolicyDefinitionOperationSpec$1 = {
|
|
|
5783
6545
|
policyDefinitionName
|
|
5784
6546
|
],
|
|
5785
6547
|
headerParameters: [accept],
|
|
5786
|
-
serializer: serializer$
|
|
6548
|
+
serializer: serializer$6
|
|
5787
6549
|
};
|
|
5788
|
-
const listQueryResultsForSubscriptionLevelPolicyAssignmentOperationSpec$
|
|
6550
|
+
const listQueryResultsForSubscriptionLevelPolicyAssignmentOperationSpec$2 = {
|
|
5789
6551
|
path: "/subscriptions/{subscriptionId}/providers/{authorizationNamespace}/policyAssignments/{policyAssignmentName}/providers/Microsoft.PolicyInsights/policyEvents/{policyEventsResource}/queryResults",
|
|
5790
6552
|
httpMethod: "POST",
|
|
5791
6553
|
responses: {
|
|
@@ -5802,7 +6564,7 @@ const listQueryResultsForSubscriptionLevelPolicyAssignmentOperationSpec$1 = {
|
|
|
5802
6564
|
apiVersion2,
|
|
5803
6565
|
orderBy,
|
|
5804
6566
|
select,
|
|
5805
|
-
|
|
6567
|
+
from,
|
|
5806
6568
|
to,
|
|
5807
6569
|
apply,
|
|
5808
6570
|
skipToken
|
|
@@ -5815,9 +6577,9 @@ const listQueryResultsForSubscriptionLevelPolicyAssignmentOperationSpec$1 = {
|
|
|
5815
6577
|
policyAssignmentName
|
|
5816
6578
|
],
|
|
5817
6579
|
headerParameters: [accept],
|
|
5818
|
-
serializer: serializer$
|
|
6580
|
+
serializer: serializer$6
|
|
5819
6581
|
};
|
|
5820
|
-
const listQueryResultsForResourceGroupLevelPolicyAssignmentOperationSpec$
|
|
6582
|
+
const listQueryResultsForResourceGroupLevelPolicyAssignmentOperationSpec$2 = {
|
|
5821
6583
|
path: "/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/{authorizationNamespace}/policyAssignments/{policyAssignmentName}/providers/Microsoft.PolicyInsights/policyEvents/{policyEventsResource}/queryResults",
|
|
5822
6584
|
httpMethod: "POST",
|
|
5823
6585
|
responses: {
|
|
@@ -5834,7 +6596,7 @@ const listQueryResultsForResourceGroupLevelPolicyAssignmentOperationSpec$1 = {
|
|
|
5834
6596
|
apiVersion2,
|
|
5835
6597
|
orderBy,
|
|
5836
6598
|
select,
|
|
5837
|
-
|
|
6599
|
+
from,
|
|
5838
6600
|
to,
|
|
5839
6601
|
apply,
|
|
5840
6602
|
skipToken
|
|
@@ -5848,7 +6610,7 @@ const listQueryResultsForResourceGroupLevelPolicyAssignmentOperationSpec$1 = {
|
|
|
5848
6610
|
policyAssignmentName
|
|
5849
6611
|
],
|
|
5850
6612
|
headerParameters: [accept],
|
|
5851
|
-
serializer: serializer$
|
|
6613
|
+
serializer: serializer$6
|
|
5852
6614
|
};
|
|
5853
6615
|
const listQueryResultsForManagementGroupNextOperationSpec$1 = {
|
|
5854
6616
|
path: "{nextLink}",
|
|
@@ -5861,17 +6623,6 @@ const listQueryResultsForManagementGroupNextOperationSpec$1 = {
|
|
|
5861
6623
|
bodyMapper: QueryFailure
|
|
5862
6624
|
}
|
|
5863
6625
|
},
|
|
5864
|
-
queryParameters: [
|
|
5865
|
-
top,
|
|
5866
|
-
filter,
|
|
5867
|
-
apiVersion2,
|
|
5868
|
-
orderBy,
|
|
5869
|
-
select,
|
|
5870
|
-
fromParam,
|
|
5871
|
-
to,
|
|
5872
|
-
apply,
|
|
5873
|
-
skipToken
|
|
5874
|
-
],
|
|
5875
6626
|
urlParameters: [
|
|
5876
6627
|
$host,
|
|
5877
6628
|
managementGroupsNamespace,
|
|
@@ -5880,7 +6631,7 @@ const listQueryResultsForManagementGroupNextOperationSpec$1 = {
|
|
|
5880
6631
|
policyEventsResource
|
|
5881
6632
|
],
|
|
5882
6633
|
headerParameters: [accept],
|
|
5883
|
-
serializer: serializer$
|
|
6634
|
+
serializer: serializer$6
|
|
5884
6635
|
};
|
|
5885
6636
|
const listQueryResultsForSubscriptionNextOperationSpec$1 = {
|
|
5886
6637
|
path: "{nextLink}",
|
|
@@ -5893,17 +6644,6 @@ const listQueryResultsForSubscriptionNextOperationSpec$1 = {
|
|
|
5893
6644
|
bodyMapper: QueryFailure
|
|
5894
6645
|
}
|
|
5895
6646
|
},
|
|
5896
|
-
queryParameters: [
|
|
5897
|
-
top,
|
|
5898
|
-
filter,
|
|
5899
|
-
apiVersion2,
|
|
5900
|
-
orderBy,
|
|
5901
|
-
select,
|
|
5902
|
-
fromParam,
|
|
5903
|
-
to,
|
|
5904
|
-
apply,
|
|
5905
|
-
skipToken
|
|
5906
|
-
],
|
|
5907
6647
|
urlParameters: [
|
|
5908
6648
|
$host,
|
|
5909
6649
|
nextLink,
|
|
@@ -5911,7 +6651,7 @@ const listQueryResultsForSubscriptionNextOperationSpec$1 = {
|
|
|
5911
6651
|
subscriptionId1
|
|
5912
6652
|
],
|
|
5913
6653
|
headerParameters: [accept],
|
|
5914
|
-
serializer: serializer$
|
|
6654
|
+
serializer: serializer$6
|
|
5915
6655
|
};
|
|
5916
6656
|
const listQueryResultsForResourceGroupNextOperationSpec$1 = {
|
|
5917
6657
|
path: "{nextLink}",
|
|
@@ -5924,17 +6664,6 @@ const listQueryResultsForResourceGroupNextOperationSpec$1 = {
|
|
|
5924
6664
|
bodyMapper: QueryFailure
|
|
5925
6665
|
}
|
|
5926
6666
|
},
|
|
5927
|
-
queryParameters: [
|
|
5928
|
-
top,
|
|
5929
|
-
filter,
|
|
5930
|
-
apiVersion2,
|
|
5931
|
-
orderBy,
|
|
5932
|
-
select,
|
|
5933
|
-
fromParam,
|
|
5934
|
-
to,
|
|
5935
|
-
apply,
|
|
5936
|
-
skipToken
|
|
5937
|
-
],
|
|
5938
6667
|
urlParameters: [
|
|
5939
6668
|
$host,
|
|
5940
6669
|
resourceGroupName,
|
|
@@ -5943,7 +6672,7 @@ const listQueryResultsForResourceGroupNextOperationSpec$1 = {
|
|
|
5943
6672
|
subscriptionId1
|
|
5944
6673
|
],
|
|
5945
6674
|
headerParameters: [accept],
|
|
5946
|
-
serializer: serializer$
|
|
6675
|
+
serializer: serializer$6
|
|
5947
6676
|
};
|
|
5948
6677
|
const listQueryResultsForResourceNextOperationSpec$1 = {
|
|
5949
6678
|
path: "{nextLink}",
|
|
@@ -5956,18 +6685,6 @@ const listQueryResultsForResourceNextOperationSpec$1 = {
|
|
|
5956
6685
|
bodyMapper: QueryFailure
|
|
5957
6686
|
}
|
|
5958
6687
|
},
|
|
5959
|
-
queryParameters: [
|
|
5960
|
-
top,
|
|
5961
|
-
filter,
|
|
5962
|
-
apiVersion2,
|
|
5963
|
-
orderBy,
|
|
5964
|
-
select,
|
|
5965
|
-
fromParam,
|
|
5966
|
-
to,
|
|
5967
|
-
apply,
|
|
5968
|
-
skipToken,
|
|
5969
|
-
expand
|
|
5970
|
-
],
|
|
5971
6688
|
urlParameters: [
|
|
5972
6689
|
$host,
|
|
5973
6690
|
resourceId,
|
|
@@ -5975,7 +6692,7 @@ const listQueryResultsForResourceNextOperationSpec$1 = {
|
|
|
5975
6692
|
policyEventsResource
|
|
5976
6693
|
],
|
|
5977
6694
|
headerParameters: [accept],
|
|
5978
|
-
serializer: serializer$
|
|
6695
|
+
serializer: serializer$6
|
|
5979
6696
|
};
|
|
5980
6697
|
const listQueryResultsForPolicySetDefinitionNextOperationSpec$1 = {
|
|
5981
6698
|
path: "{nextLink}",
|
|
@@ -5988,17 +6705,6 @@ const listQueryResultsForPolicySetDefinitionNextOperationSpec$1 = {
|
|
|
5988
6705
|
bodyMapper: QueryFailure
|
|
5989
6706
|
}
|
|
5990
6707
|
},
|
|
5991
|
-
queryParameters: [
|
|
5992
|
-
top,
|
|
5993
|
-
filter,
|
|
5994
|
-
apiVersion2,
|
|
5995
|
-
orderBy,
|
|
5996
|
-
select,
|
|
5997
|
-
fromParam,
|
|
5998
|
-
to,
|
|
5999
|
-
apply,
|
|
6000
|
-
skipToken
|
|
6001
|
-
],
|
|
6002
6708
|
urlParameters: [
|
|
6003
6709
|
$host,
|
|
6004
6710
|
nextLink,
|
|
@@ -6008,7 +6714,7 @@ const listQueryResultsForPolicySetDefinitionNextOperationSpec$1 = {
|
|
|
6008
6714
|
policySetDefinitionName
|
|
6009
6715
|
],
|
|
6010
6716
|
headerParameters: [accept],
|
|
6011
|
-
serializer: serializer$
|
|
6717
|
+
serializer: serializer$6
|
|
6012
6718
|
};
|
|
6013
6719
|
const listQueryResultsForPolicyDefinitionNextOperationSpec$1 = {
|
|
6014
6720
|
path: "{nextLink}",
|
|
@@ -6021,17 +6727,6 @@ const listQueryResultsForPolicyDefinitionNextOperationSpec$1 = {
|
|
|
6021
6727
|
bodyMapper: QueryFailure
|
|
6022
6728
|
}
|
|
6023
6729
|
},
|
|
6024
|
-
queryParameters: [
|
|
6025
|
-
top,
|
|
6026
|
-
filter,
|
|
6027
|
-
apiVersion2,
|
|
6028
|
-
orderBy,
|
|
6029
|
-
select,
|
|
6030
|
-
fromParam,
|
|
6031
|
-
to,
|
|
6032
|
-
apply,
|
|
6033
|
-
skipToken
|
|
6034
|
-
],
|
|
6035
6730
|
urlParameters: [
|
|
6036
6731
|
$host,
|
|
6037
6732
|
nextLink,
|
|
@@ -6041,7 +6736,7 @@ const listQueryResultsForPolicyDefinitionNextOperationSpec$1 = {
|
|
|
6041
6736
|
policyDefinitionName
|
|
6042
6737
|
],
|
|
6043
6738
|
headerParameters: [accept],
|
|
6044
|
-
serializer: serializer$
|
|
6739
|
+
serializer: serializer$6
|
|
6045
6740
|
};
|
|
6046
6741
|
const listQueryResultsForSubscriptionLevelPolicyAssignmentNextOperationSpec$1 = {
|
|
6047
6742
|
path: "{nextLink}",
|
|
@@ -6054,17 +6749,6 @@ const listQueryResultsForSubscriptionLevelPolicyAssignmentNextOperationSpec$1 =
|
|
|
6054
6749
|
bodyMapper: QueryFailure
|
|
6055
6750
|
}
|
|
6056
6751
|
},
|
|
6057
|
-
queryParameters: [
|
|
6058
|
-
top,
|
|
6059
|
-
filter,
|
|
6060
|
-
apiVersion2,
|
|
6061
|
-
orderBy,
|
|
6062
|
-
select,
|
|
6063
|
-
fromParam,
|
|
6064
|
-
to,
|
|
6065
|
-
apply,
|
|
6066
|
-
skipToken
|
|
6067
|
-
],
|
|
6068
6752
|
urlParameters: [
|
|
6069
6753
|
$host,
|
|
6070
6754
|
nextLink,
|
|
@@ -6074,7 +6758,7 @@ const listQueryResultsForSubscriptionLevelPolicyAssignmentNextOperationSpec$1 =
|
|
|
6074
6758
|
policyAssignmentName
|
|
6075
6759
|
],
|
|
6076
6760
|
headerParameters: [accept],
|
|
6077
|
-
serializer: serializer$
|
|
6761
|
+
serializer: serializer$6
|
|
6078
6762
|
};
|
|
6079
6763
|
const listQueryResultsForResourceGroupLevelPolicyAssignmentNextOperationSpec$1 = {
|
|
6080
6764
|
path: "{nextLink}",
|
|
@@ -6087,17 +6771,6 @@ const listQueryResultsForResourceGroupLevelPolicyAssignmentNextOperationSpec$1 =
|
|
|
6087
6771
|
bodyMapper: QueryFailure
|
|
6088
6772
|
}
|
|
6089
6773
|
},
|
|
6090
|
-
queryParameters: [
|
|
6091
|
-
top,
|
|
6092
|
-
filter,
|
|
6093
|
-
apiVersion2,
|
|
6094
|
-
orderBy,
|
|
6095
|
-
select,
|
|
6096
|
-
fromParam,
|
|
6097
|
-
to,
|
|
6098
|
-
apply,
|
|
6099
|
-
skipToken
|
|
6100
|
-
],
|
|
6101
6774
|
urlParameters: [
|
|
6102
6775
|
$host,
|
|
6103
6776
|
resourceGroupName,
|
|
@@ -6108,7 +6781,7 @@ const listQueryResultsForResourceGroupLevelPolicyAssignmentNextOperationSpec$1 =
|
|
|
6108
6781
|
policyAssignmentName
|
|
6109
6782
|
],
|
|
6110
6783
|
headerParameters: [accept],
|
|
6111
|
-
serializer: serializer$
|
|
6784
|
+
serializer: serializer$6
|
|
6112
6785
|
};
|
|
6113
6786
|
|
|
6114
6787
|
/*
|
|
@@ -6173,20 +6846,31 @@ class PolicyStatesImpl {
|
|
|
6173
6846
|
[Symbol.asyncIterator]() {
|
|
6174
6847
|
return this;
|
|
6175
6848
|
},
|
|
6176
|
-
byPage: () => {
|
|
6177
|
-
|
|
6849
|
+
byPage: (settings) => {
|
|
6850
|
+
if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
|
|
6851
|
+
throw new Error("maxPageSize is not supported by this operation.");
|
|
6852
|
+
}
|
|
6853
|
+
return this.listQueryResultsForManagementGroupPagingPage(policyStatesResource, managementGroupName, options, settings);
|
|
6178
6854
|
}
|
|
6179
6855
|
};
|
|
6180
6856
|
}
|
|
6181
|
-
listQueryResultsForManagementGroupPagingPage(policyStatesResource, managementGroupName, options) {
|
|
6857
|
+
listQueryResultsForManagementGroupPagingPage(policyStatesResource, managementGroupName, options, settings) {
|
|
6182
6858
|
return tslib.__asyncGenerator(this, arguments, function* listQueryResultsForManagementGroupPagingPage_1() {
|
|
6183
|
-
let result
|
|
6184
|
-
|
|
6185
|
-
|
|
6859
|
+
let result;
|
|
6860
|
+
let continuationToken = settings === null || settings === void 0 ? void 0 : settings.continuationToken;
|
|
6861
|
+
if (!continuationToken) {
|
|
6862
|
+
result = yield tslib.__await(this._listQueryResultsForManagementGroup(policyStatesResource, managementGroupName, options));
|
|
6863
|
+
let page = result.value || [];
|
|
6864
|
+
continuationToken = result.odataNextLink;
|
|
6865
|
+
setContinuationToken(page, continuationToken);
|
|
6866
|
+
yield yield tslib.__await(page);
|
|
6867
|
+
}
|
|
6186
6868
|
while (continuationToken) {
|
|
6187
6869
|
result = yield tslib.__await(this._listQueryResultsForManagementGroupNext(policyStatesResource, managementGroupName, continuationToken, options));
|
|
6188
6870
|
continuationToken = result.odataNextLink;
|
|
6189
|
-
|
|
6871
|
+
let page = result.value || [];
|
|
6872
|
+
setContinuationToken(page, continuationToken);
|
|
6873
|
+
yield yield tslib.__await(page);
|
|
6190
6874
|
}
|
|
6191
6875
|
});
|
|
6192
6876
|
}
|
|
@@ -6225,20 +6909,31 @@ class PolicyStatesImpl {
|
|
|
6225
6909
|
[Symbol.asyncIterator]() {
|
|
6226
6910
|
return this;
|
|
6227
6911
|
},
|
|
6228
|
-
byPage: () => {
|
|
6229
|
-
|
|
6912
|
+
byPage: (settings) => {
|
|
6913
|
+
if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
|
|
6914
|
+
throw new Error("maxPageSize is not supported by this operation.");
|
|
6915
|
+
}
|
|
6916
|
+
return this.listQueryResultsForSubscriptionPagingPage(policyStatesResource, subscriptionId, options, settings);
|
|
6230
6917
|
}
|
|
6231
6918
|
};
|
|
6232
6919
|
}
|
|
6233
|
-
listQueryResultsForSubscriptionPagingPage(policyStatesResource, subscriptionId, options) {
|
|
6920
|
+
listQueryResultsForSubscriptionPagingPage(policyStatesResource, subscriptionId, options, settings) {
|
|
6234
6921
|
return tslib.__asyncGenerator(this, arguments, function* listQueryResultsForSubscriptionPagingPage_1() {
|
|
6235
|
-
let result
|
|
6236
|
-
|
|
6237
|
-
|
|
6922
|
+
let result;
|
|
6923
|
+
let continuationToken = settings === null || settings === void 0 ? void 0 : settings.continuationToken;
|
|
6924
|
+
if (!continuationToken) {
|
|
6925
|
+
result = yield tslib.__await(this._listQueryResultsForSubscription(policyStatesResource, subscriptionId, options));
|
|
6926
|
+
let page = result.value || [];
|
|
6927
|
+
continuationToken = result.odataNextLink;
|
|
6928
|
+
setContinuationToken(page, continuationToken);
|
|
6929
|
+
yield yield tslib.__await(page);
|
|
6930
|
+
}
|
|
6238
6931
|
while (continuationToken) {
|
|
6239
6932
|
result = yield tslib.__await(this._listQueryResultsForSubscriptionNext(policyStatesResource, subscriptionId, continuationToken, options));
|
|
6240
6933
|
continuationToken = result.odataNextLink;
|
|
6241
|
-
|
|
6934
|
+
let page = result.value || [];
|
|
6935
|
+
setContinuationToken(page, continuationToken);
|
|
6936
|
+
yield yield tslib.__await(page);
|
|
6242
6937
|
}
|
|
6243
6938
|
});
|
|
6244
6939
|
}
|
|
@@ -6278,20 +6973,31 @@ class PolicyStatesImpl {
|
|
|
6278
6973
|
[Symbol.asyncIterator]() {
|
|
6279
6974
|
return this;
|
|
6280
6975
|
},
|
|
6281
|
-
byPage: () => {
|
|
6282
|
-
|
|
6976
|
+
byPage: (settings) => {
|
|
6977
|
+
if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
|
|
6978
|
+
throw new Error("maxPageSize is not supported by this operation.");
|
|
6979
|
+
}
|
|
6980
|
+
return this.listQueryResultsForResourceGroupPagingPage(policyStatesResource, subscriptionId, resourceGroupName, options, settings);
|
|
6283
6981
|
}
|
|
6284
6982
|
};
|
|
6285
6983
|
}
|
|
6286
|
-
listQueryResultsForResourceGroupPagingPage(policyStatesResource, subscriptionId, resourceGroupName, options) {
|
|
6984
|
+
listQueryResultsForResourceGroupPagingPage(policyStatesResource, subscriptionId, resourceGroupName, options, settings) {
|
|
6287
6985
|
return tslib.__asyncGenerator(this, arguments, function* listQueryResultsForResourceGroupPagingPage_1() {
|
|
6288
|
-
let result
|
|
6289
|
-
|
|
6290
|
-
|
|
6986
|
+
let result;
|
|
6987
|
+
let continuationToken = settings === null || settings === void 0 ? void 0 : settings.continuationToken;
|
|
6988
|
+
if (!continuationToken) {
|
|
6989
|
+
result = yield tslib.__await(this._listQueryResultsForResourceGroup(policyStatesResource, subscriptionId, resourceGroupName, options));
|
|
6990
|
+
let page = result.value || [];
|
|
6991
|
+
continuationToken = result.odataNextLink;
|
|
6992
|
+
setContinuationToken(page, continuationToken);
|
|
6993
|
+
yield yield tslib.__await(page);
|
|
6994
|
+
}
|
|
6291
6995
|
while (continuationToken) {
|
|
6292
6996
|
result = yield tslib.__await(this._listQueryResultsForResourceGroupNext(policyStatesResource, subscriptionId, resourceGroupName, continuationToken, options));
|
|
6293
6997
|
continuationToken = result.odataNextLink;
|
|
6294
|
-
|
|
6998
|
+
let page = result.value || [];
|
|
6999
|
+
setContinuationToken(page, continuationToken);
|
|
7000
|
+
yield yield tslib.__await(page);
|
|
6295
7001
|
}
|
|
6296
7002
|
});
|
|
6297
7003
|
}
|
|
@@ -6330,20 +7036,31 @@ class PolicyStatesImpl {
|
|
|
6330
7036
|
[Symbol.asyncIterator]() {
|
|
6331
7037
|
return this;
|
|
6332
7038
|
},
|
|
6333
|
-
byPage: () => {
|
|
6334
|
-
|
|
7039
|
+
byPage: (settings) => {
|
|
7040
|
+
if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
|
|
7041
|
+
throw new Error("maxPageSize is not supported by this operation.");
|
|
7042
|
+
}
|
|
7043
|
+
return this.listQueryResultsForResourcePagingPage(policyStatesResource, resourceId, options, settings);
|
|
6335
7044
|
}
|
|
6336
7045
|
};
|
|
6337
7046
|
}
|
|
6338
|
-
listQueryResultsForResourcePagingPage(policyStatesResource, resourceId, options) {
|
|
7047
|
+
listQueryResultsForResourcePagingPage(policyStatesResource, resourceId, options, settings) {
|
|
6339
7048
|
return tslib.__asyncGenerator(this, arguments, function* listQueryResultsForResourcePagingPage_1() {
|
|
6340
|
-
let result
|
|
6341
|
-
|
|
6342
|
-
|
|
7049
|
+
let result;
|
|
7050
|
+
let continuationToken = settings === null || settings === void 0 ? void 0 : settings.continuationToken;
|
|
7051
|
+
if (!continuationToken) {
|
|
7052
|
+
result = yield tslib.__await(this._listQueryResultsForResource(policyStatesResource, resourceId, options));
|
|
7053
|
+
let page = result.value || [];
|
|
7054
|
+
continuationToken = result.odataNextLink;
|
|
7055
|
+
setContinuationToken(page, continuationToken);
|
|
7056
|
+
yield yield tslib.__await(page);
|
|
7057
|
+
}
|
|
6343
7058
|
while (continuationToken) {
|
|
6344
7059
|
result = yield tslib.__await(this._listQueryResultsForResourceNext(policyStatesResource, resourceId, continuationToken, options));
|
|
6345
7060
|
continuationToken = result.odataNextLink;
|
|
6346
|
-
|
|
7061
|
+
let page = result.value || [];
|
|
7062
|
+
setContinuationToken(page, continuationToken);
|
|
7063
|
+
yield yield tslib.__await(page);
|
|
6347
7064
|
}
|
|
6348
7065
|
});
|
|
6349
7066
|
}
|
|
@@ -6383,20 +7100,31 @@ class PolicyStatesImpl {
|
|
|
6383
7100
|
[Symbol.asyncIterator]() {
|
|
6384
7101
|
return this;
|
|
6385
7102
|
},
|
|
6386
|
-
byPage: () => {
|
|
6387
|
-
|
|
7103
|
+
byPage: (settings) => {
|
|
7104
|
+
if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
|
|
7105
|
+
throw new Error("maxPageSize is not supported by this operation.");
|
|
7106
|
+
}
|
|
7107
|
+
return this.listQueryResultsForPolicySetDefinitionPagingPage(policyStatesResource, subscriptionId, policySetDefinitionName, options, settings);
|
|
6388
7108
|
}
|
|
6389
7109
|
};
|
|
6390
7110
|
}
|
|
6391
|
-
listQueryResultsForPolicySetDefinitionPagingPage(policyStatesResource, subscriptionId, policySetDefinitionName, options) {
|
|
7111
|
+
listQueryResultsForPolicySetDefinitionPagingPage(policyStatesResource, subscriptionId, policySetDefinitionName, options, settings) {
|
|
6392
7112
|
return tslib.__asyncGenerator(this, arguments, function* listQueryResultsForPolicySetDefinitionPagingPage_1() {
|
|
6393
|
-
let result
|
|
6394
|
-
|
|
6395
|
-
|
|
7113
|
+
let result;
|
|
7114
|
+
let continuationToken = settings === null || settings === void 0 ? void 0 : settings.continuationToken;
|
|
7115
|
+
if (!continuationToken) {
|
|
7116
|
+
result = yield tslib.__await(this._listQueryResultsForPolicySetDefinition(policyStatesResource, subscriptionId, policySetDefinitionName, options));
|
|
7117
|
+
let page = result.value || [];
|
|
7118
|
+
continuationToken = result.odataNextLink;
|
|
7119
|
+
setContinuationToken(page, continuationToken);
|
|
7120
|
+
yield yield tslib.__await(page);
|
|
7121
|
+
}
|
|
6396
7122
|
while (continuationToken) {
|
|
6397
7123
|
result = yield tslib.__await(this._listQueryResultsForPolicySetDefinitionNext(policyStatesResource, subscriptionId, policySetDefinitionName, continuationToken, options));
|
|
6398
7124
|
continuationToken = result.odataNextLink;
|
|
6399
|
-
|
|
7125
|
+
let page = result.value || [];
|
|
7126
|
+
setContinuationToken(page, continuationToken);
|
|
7127
|
+
yield yield tslib.__await(page);
|
|
6400
7128
|
}
|
|
6401
7129
|
});
|
|
6402
7130
|
}
|
|
@@ -6436,20 +7164,31 @@ class PolicyStatesImpl {
|
|
|
6436
7164
|
[Symbol.asyncIterator]() {
|
|
6437
7165
|
return this;
|
|
6438
7166
|
},
|
|
6439
|
-
byPage: () => {
|
|
6440
|
-
|
|
7167
|
+
byPage: (settings) => {
|
|
7168
|
+
if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
|
|
7169
|
+
throw new Error("maxPageSize is not supported by this operation.");
|
|
7170
|
+
}
|
|
7171
|
+
return this.listQueryResultsForPolicyDefinitionPagingPage(policyStatesResource, subscriptionId, policyDefinitionName, options, settings);
|
|
6441
7172
|
}
|
|
6442
7173
|
};
|
|
6443
7174
|
}
|
|
6444
|
-
listQueryResultsForPolicyDefinitionPagingPage(policyStatesResource, subscriptionId, policyDefinitionName, options) {
|
|
7175
|
+
listQueryResultsForPolicyDefinitionPagingPage(policyStatesResource, subscriptionId, policyDefinitionName, options, settings) {
|
|
6445
7176
|
return tslib.__asyncGenerator(this, arguments, function* listQueryResultsForPolicyDefinitionPagingPage_1() {
|
|
6446
|
-
let result
|
|
6447
|
-
|
|
6448
|
-
|
|
7177
|
+
let result;
|
|
7178
|
+
let continuationToken = settings === null || settings === void 0 ? void 0 : settings.continuationToken;
|
|
7179
|
+
if (!continuationToken) {
|
|
7180
|
+
result = yield tslib.__await(this._listQueryResultsForPolicyDefinition(policyStatesResource, subscriptionId, policyDefinitionName, options));
|
|
7181
|
+
let page = result.value || [];
|
|
7182
|
+
continuationToken = result.odataNextLink;
|
|
7183
|
+
setContinuationToken(page, continuationToken);
|
|
7184
|
+
yield yield tslib.__await(page);
|
|
7185
|
+
}
|
|
6449
7186
|
while (continuationToken) {
|
|
6450
7187
|
result = yield tslib.__await(this._listQueryResultsForPolicyDefinitionNext(policyStatesResource, subscriptionId, policyDefinitionName, continuationToken, options));
|
|
6451
7188
|
continuationToken = result.odataNextLink;
|
|
6452
|
-
|
|
7189
|
+
let page = result.value || [];
|
|
7190
|
+
setContinuationToken(page, continuationToken);
|
|
7191
|
+
yield yield tslib.__await(page);
|
|
6453
7192
|
}
|
|
6454
7193
|
});
|
|
6455
7194
|
}
|
|
@@ -6489,20 +7228,31 @@ class PolicyStatesImpl {
|
|
|
6489
7228
|
[Symbol.asyncIterator]() {
|
|
6490
7229
|
return this;
|
|
6491
7230
|
},
|
|
6492
|
-
byPage: () => {
|
|
6493
|
-
|
|
7231
|
+
byPage: (settings) => {
|
|
7232
|
+
if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
|
|
7233
|
+
throw new Error("maxPageSize is not supported by this operation.");
|
|
7234
|
+
}
|
|
7235
|
+
return this.listQueryResultsForSubscriptionLevelPolicyAssignmentPagingPage(policyStatesResource, subscriptionId, policyAssignmentName, options, settings);
|
|
6494
7236
|
}
|
|
6495
7237
|
};
|
|
6496
7238
|
}
|
|
6497
|
-
listQueryResultsForSubscriptionLevelPolicyAssignmentPagingPage(policyStatesResource, subscriptionId, policyAssignmentName, options) {
|
|
7239
|
+
listQueryResultsForSubscriptionLevelPolicyAssignmentPagingPage(policyStatesResource, subscriptionId, policyAssignmentName, options, settings) {
|
|
6498
7240
|
return tslib.__asyncGenerator(this, arguments, function* listQueryResultsForSubscriptionLevelPolicyAssignmentPagingPage_1() {
|
|
6499
|
-
let result
|
|
6500
|
-
|
|
6501
|
-
|
|
7241
|
+
let result;
|
|
7242
|
+
let continuationToken = settings === null || settings === void 0 ? void 0 : settings.continuationToken;
|
|
7243
|
+
if (!continuationToken) {
|
|
7244
|
+
result = yield tslib.__await(this._listQueryResultsForSubscriptionLevelPolicyAssignment(policyStatesResource, subscriptionId, policyAssignmentName, options));
|
|
7245
|
+
let page = result.value || [];
|
|
7246
|
+
continuationToken = result.odataNextLink;
|
|
7247
|
+
setContinuationToken(page, continuationToken);
|
|
7248
|
+
yield yield tslib.__await(page);
|
|
7249
|
+
}
|
|
6502
7250
|
while (continuationToken) {
|
|
6503
7251
|
result = yield tslib.__await(this._listQueryResultsForSubscriptionLevelPolicyAssignmentNext(policyStatesResource, subscriptionId, policyAssignmentName, continuationToken, options));
|
|
6504
7252
|
continuationToken = result.odataNextLink;
|
|
6505
|
-
|
|
7253
|
+
let page = result.value || [];
|
|
7254
|
+
setContinuationToken(page, continuationToken);
|
|
7255
|
+
yield yield tslib.__await(page);
|
|
6506
7256
|
}
|
|
6507
7257
|
});
|
|
6508
7258
|
}
|
|
@@ -6543,20 +7293,31 @@ class PolicyStatesImpl {
|
|
|
6543
7293
|
[Symbol.asyncIterator]() {
|
|
6544
7294
|
return this;
|
|
6545
7295
|
},
|
|
6546
|
-
byPage: () => {
|
|
6547
|
-
|
|
7296
|
+
byPage: (settings) => {
|
|
7297
|
+
if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
|
|
7298
|
+
throw new Error("maxPageSize is not supported by this operation.");
|
|
7299
|
+
}
|
|
7300
|
+
return this.listQueryResultsForResourceGroupLevelPolicyAssignmentPagingPage(policyStatesResource, subscriptionId, resourceGroupName, policyAssignmentName, options, settings);
|
|
6548
7301
|
}
|
|
6549
7302
|
};
|
|
6550
7303
|
}
|
|
6551
|
-
listQueryResultsForResourceGroupLevelPolicyAssignmentPagingPage(policyStatesResource, subscriptionId, resourceGroupName, policyAssignmentName, options) {
|
|
7304
|
+
listQueryResultsForResourceGroupLevelPolicyAssignmentPagingPage(policyStatesResource, subscriptionId, resourceGroupName, policyAssignmentName, options, settings) {
|
|
6552
7305
|
return tslib.__asyncGenerator(this, arguments, function* listQueryResultsForResourceGroupLevelPolicyAssignmentPagingPage_1() {
|
|
6553
|
-
let result
|
|
6554
|
-
|
|
6555
|
-
|
|
7306
|
+
let result;
|
|
7307
|
+
let continuationToken = settings === null || settings === void 0 ? void 0 : settings.continuationToken;
|
|
7308
|
+
if (!continuationToken) {
|
|
7309
|
+
result = yield tslib.__await(this._listQueryResultsForResourceGroupLevelPolicyAssignment(policyStatesResource, subscriptionId, resourceGroupName, policyAssignmentName, options));
|
|
7310
|
+
let page = result.value || [];
|
|
7311
|
+
continuationToken = result.odataNextLink;
|
|
7312
|
+
setContinuationToken(page, continuationToken);
|
|
7313
|
+
yield yield tslib.__await(page);
|
|
7314
|
+
}
|
|
6556
7315
|
while (continuationToken) {
|
|
6557
7316
|
result = yield tslib.__await(this._listQueryResultsForResourceGroupLevelPolicyAssignmentNext(policyStatesResource, subscriptionId, resourceGroupName, policyAssignmentName, continuationToken, options));
|
|
6558
7317
|
continuationToken = result.odataNextLink;
|
|
6559
|
-
|
|
7318
|
+
let page = result.value || [];
|
|
7319
|
+
setContinuationToken(page, continuationToken);
|
|
7320
|
+
yield yield tslib.__await(page);
|
|
6560
7321
|
}
|
|
6561
7322
|
});
|
|
6562
7323
|
}
|
|
@@ -6609,7 +7370,7 @@ class PolicyStatesImpl {
|
|
|
6609
7370
|
* @param options The options parameters.
|
|
6610
7371
|
*/
|
|
6611
7372
|
_listQueryResultsForSubscription(policyStatesResource, subscriptionId, options) {
|
|
6612
|
-
return this.client.sendOperationRequest({ policyStatesResource, subscriptionId, options }, listQueryResultsForSubscriptionOperationSpec);
|
|
7373
|
+
return this.client.sendOperationRequest({ policyStatesResource, subscriptionId, options }, listQueryResultsForSubscriptionOperationSpec$1);
|
|
6613
7374
|
}
|
|
6614
7375
|
/**
|
|
6615
7376
|
* Summarizes policy states for the resources under the subscription.
|
|
@@ -6632,7 +7393,7 @@ class PolicyStatesImpl {
|
|
|
6632
7393
|
* @param options The options parameters.
|
|
6633
7394
|
*/
|
|
6634
7395
|
_listQueryResultsForResourceGroup(policyStatesResource, subscriptionId, resourceGroupName, options) {
|
|
6635
|
-
return this.client.sendOperationRequest({ policyStatesResource, subscriptionId, resourceGroupName, options }, listQueryResultsForResourceGroupOperationSpec);
|
|
7396
|
+
return this.client.sendOperationRequest({ policyStatesResource, subscriptionId, resourceGroupName, options }, listQueryResultsForResourceGroupOperationSpec$1);
|
|
6636
7397
|
}
|
|
6637
7398
|
/**
|
|
6638
7399
|
* Summarizes policy states for the resources under the resource group.
|
|
@@ -6660,7 +7421,7 @@ class PolicyStatesImpl {
|
|
|
6660
7421
|
* @param options The options parameters.
|
|
6661
7422
|
*/
|
|
6662
7423
|
_listQueryResultsForResource(policyStatesResource, resourceId, options) {
|
|
6663
|
-
return this.client.sendOperationRequest({ policyStatesResource, resourceId, options }, listQueryResultsForResourceOperationSpec);
|
|
7424
|
+
return this.client.sendOperationRequest({ policyStatesResource, resourceId, options }, listQueryResultsForResourceOperationSpec$1);
|
|
6664
7425
|
}
|
|
6665
7426
|
/**
|
|
6666
7427
|
* Summarizes policy states for the resource.
|
|
@@ -6819,7 +7580,7 @@ class PolicyStatesImpl {
|
|
|
6819
7580
|
* @param options The options parameters.
|
|
6820
7581
|
*/
|
|
6821
7582
|
_listQueryResultsForPolicyDefinition(policyStatesResource, subscriptionId, policyDefinitionName, options) {
|
|
6822
|
-
return this.client.sendOperationRequest({ policyStatesResource, subscriptionId, policyDefinitionName, options }, listQueryResultsForPolicyDefinitionOperationSpec);
|
|
7583
|
+
return this.client.sendOperationRequest({ policyStatesResource, subscriptionId, policyDefinitionName, options }, listQueryResultsForPolicyDefinitionOperationSpec$1);
|
|
6823
7584
|
}
|
|
6824
7585
|
/**
|
|
6825
7586
|
* Summarizes policy states for the subscription level policy definition.
|
|
@@ -6848,7 +7609,7 @@ class PolicyStatesImpl {
|
|
|
6848
7609
|
* @param options The options parameters.
|
|
6849
7610
|
*/
|
|
6850
7611
|
_listQueryResultsForSubscriptionLevelPolicyAssignment(policyStatesResource, subscriptionId, policyAssignmentName, options) {
|
|
6851
|
-
return this.client.sendOperationRequest({ policyStatesResource, subscriptionId, policyAssignmentName, options }, listQueryResultsForSubscriptionLevelPolicyAssignmentOperationSpec);
|
|
7612
|
+
return this.client.sendOperationRequest({ policyStatesResource, subscriptionId, policyAssignmentName, options }, listQueryResultsForSubscriptionLevelPolicyAssignmentOperationSpec$1);
|
|
6852
7613
|
}
|
|
6853
7614
|
/**
|
|
6854
7615
|
* Summarizes policy states for the subscription level policy assignment.
|
|
@@ -6884,7 +7645,7 @@ class PolicyStatesImpl {
|
|
|
6884
7645
|
resourceGroupName,
|
|
6885
7646
|
policyAssignmentName,
|
|
6886
7647
|
options
|
|
6887
|
-
}, listQueryResultsForResourceGroupLevelPolicyAssignmentOperationSpec);
|
|
7648
|
+
}, listQueryResultsForResourceGroupLevelPolicyAssignmentOperationSpec$1);
|
|
6888
7649
|
}
|
|
6889
7650
|
/**
|
|
6890
7651
|
* Summarizes policy states for the resource group level policy assignment.
|
|
@@ -7048,7 +7809,7 @@ class PolicyStatesImpl {
|
|
|
7048
7809
|
}
|
|
7049
7810
|
}
|
|
7050
7811
|
// Operation Specifications
|
|
7051
|
-
const serializer$
|
|
7812
|
+
const serializer$5 = coreClient__namespace.createSerializer(Mappers, /* isXml */ false);
|
|
7052
7813
|
const listQueryResultsForManagementGroupOperationSpec = {
|
|
7053
7814
|
path: "/providers/{managementGroupsNamespace}/managementGroups/{managementGroupName}/providers/Microsoft.PolicyInsights/policyStates/{policyStatesResource}/queryResults",
|
|
7054
7815
|
httpMethod: "POST",
|
|
@@ -7066,7 +7827,7 @@ const listQueryResultsForManagementGroupOperationSpec = {
|
|
|
7066
7827
|
apiVersion2,
|
|
7067
7828
|
orderBy,
|
|
7068
7829
|
select,
|
|
7069
|
-
|
|
7830
|
+
from,
|
|
7070
7831
|
to,
|
|
7071
7832
|
apply,
|
|
7072
7833
|
skipToken
|
|
@@ -7078,7 +7839,7 @@ const listQueryResultsForManagementGroupOperationSpec = {
|
|
|
7078
7839
|
policyStatesResource
|
|
7079
7840
|
],
|
|
7080
7841
|
headerParameters: [accept],
|
|
7081
|
-
serializer: serializer$
|
|
7842
|
+
serializer: serializer$5
|
|
7082
7843
|
};
|
|
7083
7844
|
const summarizeForManagementGroupOperationSpec = {
|
|
7084
7845
|
path: "/providers/{managementGroupsNamespace}/managementGroups/{managementGroupName}/providers/Microsoft.PolicyInsights/policyStates/{policyStatesSummaryResource}/summarize",
|
|
@@ -7095,7 +7856,7 @@ const summarizeForManagementGroupOperationSpec = {
|
|
|
7095
7856
|
top,
|
|
7096
7857
|
filter,
|
|
7097
7858
|
apiVersion2,
|
|
7098
|
-
|
|
7859
|
+
from,
|
|
7099
7860
|
to
|
|
7100
7861
|
],
|
|
7101
7862
|
urlParameters: [
|
|
@@ -7105,9 +7866,9 @@ const summarizeForManagementGroupOperationSpec = {
|
|
|
7105
7866
|
policyStatesSummaryResource
|
|
7106
7867
|
],
|
|
7107
7868
|
headerParameters: [accept],
|
|
7108
|
-
serializer: serializer$
|
|
7869
|
+
serializer: serializer$5
|
|
7109
7870
|
};
|
|
7110
|
-
const listQueryResultsForSubscriptionOperationSpec = {
|
|
7871
|
+
const listQueryResultsForSubscriptionOperationSpec$1 = {
|
|
7111
7872
|
path: "/subscriptions/{subscriptionId}/providers/Microsoft.PolicyInsights/policyStates/{policyStatesResource}/queryResults",
|
|
7112
7873
|
httpMethod: "POST",
|
|
7113
7874
|
responses: {
|
|
@@ -7124,7 +7885,7 @@ const listQueryResultsForSubscriptionOperationSpec = {
|
|
|
7124
7885
|
apiVersion2,
|
|
7125
7886
|
orderBy,
|
|
7126
7887
|
select,
|
|
7127
|
-
|
|
7888
|
+
from,
|
|
7128
7889
|
to,
|
|
7129
7890
|
apply,
|
|
7130
7891
|
skipToken
|
|
@@ -7135,7 +7896,7 @@ const listQueryResultsForSubscriptionOperationSpec = {
|
|
|
7135
7896
|
policyStatesResource
|
|
7136
7897
|
],
|
|
7137
7898
|
headerParameters: [accept],
|
|
7138
|
-
serializer: serializer$
|
|
7899
|
+
serializer: serializer$5
|
|
7139
7900
|
};
|
|
7140
7901
|
const summarizeForSubscriptionOperationSpec = {
|
|
7141
7902
|
path: "/subscriptions/{subscriptionId}/providers/Microsoft.PolicyInsights/policyStates/{policyStatesSummaryResource}/summarize",
|
|
@@ -7152,7 +7913,7 @@ const summarizeForSubscriptionOperationSpec = {
|
|
|
7152
7913
|
top,
|
|
7153
7914
|
filter,
|
|
7154
7915
|
apiVersion2,
|
|
7155
|
-
|
|
7916
|
+
from,
|
|
7156
7917
|
to
|
|
7157
7918
|
],
|
|
7158
7919
|
urlParameters: [
|
|
@@ -7161,9 +7922,9 @@ const summarizeForSubscriptionOperationSpec = {
|
|
|
7161
7922
|
policyStatesSummaryResource
|
|
7162
7923
|
],
|
|
7163
7924
|
headerParameters: [accept],
|
|
7164
|
-
serializer: serializer$
|
|
7925
|
+
serializer: serializer$5
|
|
7165
7926
|
};
|
|
7166
|
-
const listQueryResultsForResourceGroupOperationSpec = {
|
|
7927
|
+
const listQueryResultsForResourceGroupOperationSpec$1 = {
|
|
7167
7928
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.PolicyInsights/policyStates/{policyStatesResource}/queryResults",
|
|
7168
7929
|
httpMethod: "POST",
|
|
7169
7930
|
responses: {
|
|
@@ -7180,7 +7941,7 @@ const listQueryResultsForResourceGroupOperationSpec = {
|
|
|
7180
7941
|
apiVersion2,
|
|
7181
7942
|
orderBy,
|
|
7182
7943
|
select,
|
|
7183
|
-
|
|
7944
|
+
from,
|
|
7184
7945
|
to,
|
|
7185
7946
|
apply,
|
|
7186
7947
|
skipToken
|
|
@@ -7192,7 +7953,7 @@ const listQueryResultsForResourceGroupOperationSpec = {
|
|
|
7192
7953
|
policyStatesResource
|
|
7193
7954
|
],
|
|
7194
7955
|
headerParameters: [accept],
|
|
7195
|
-
serializer: serializer$
|
|
7956
|
+
serializer: serializer$5
|
|
7196
7957
|
};
|
|
7197
7958
|
const summarizeForResourceGroupOperationSpec = {
|
|
7198
7959
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.PolicyInsights/policyStates/{policyStatesSummaryResource}/summarize",
|
|
@@ -7209,7 +7970,7 @@ const summarizeForResourceGroupOperationSpec = {
|
|
|
7209
7970
|
top,
|
|
7210
7971
|
filter,
|
|
7211
7972
|
apiVersion2,
|
|
7212
|
-
|
|
7973
|
+
from,
|
|
7213
7974
|
to
|
|
7214
7975
|
],
|
|
7215
7976
|
urlParameters: [
|
|
@@ -7219,9 +7980,9 @@ const summarizeForResourceGroupOperationSpec = {
|
|
|
7219
7980
|
policyStatesSummaryResource
|
|
7220
7981
|
],
|
|
7221
7982
|
headerParameters: [accept],
|
|
7222
|
-
serializer: serializer$
|
|
7983
|
+
serializer: serializer$5
|
|
7223
7984
|
};
|
|
7224
|
-
const listQueryResultsForResourceOperationSpec = {
|
|
7985
|
+
const listQueryResultsForResourceOperationSpec$1 = {
|
|
7225
7986
|
path: "/{resourceId}/providers/Microsoft.PolicyInsights/policyStates/{policyStatesResource}/queryResults",
|
|
7226
7987
|
httpMethod: "POST",
|
|
7227
7988
|
responses: {
|
|
@@ -7238,7 +7999,7 @@ const listQueryResultsForResourceOperationSpec = {
|
|
|
7238
7999
|
apiVersion2,
|
|
7239
8000
|
orderBy,
|
|
7240
8001
|
select,
|
|
7241
|
-
|
|
8002
|
+
from,
|
|
7242
8003
|
to,
|
|
7243
8004
|
apply,
|
|
7244
8005
|
skipToken,
|
|
@@ -7250,7 +8011,7 @@ const listQueryResultsForResourceOperationSpec = {
|
|
|
7250
8011
|
policyStatesResource
|
|
7251
8012
|
],
|
|
7252
8013
|
headerParameters: [accept],
|
|
7253
|
-
serializer: serializer$
|
|
8014
|
+
serializer: serializer$5
|
|
7254
8015
|
};
|
|
7255
8016
|
const summarizeForResourceOperationSpec = {
|
|
7256
8017
|
path: "/{resourceId}/providers/Microsoft.PolicyInsights/policyStates/{policyStatesSummaryResource}/summarize",
|
|
@@ -7267,7 +8028,7 @@ const summarizeForResourceOperationSpec = {
|
|
|
7267
8028
|
top,
|
|
7268
8029
|
filter,
|
|
7269
8030
|
apiVersion2,
|
|
7270
|
-
|
|
8031
|
+
from,
|
|
7271
8032
|
to
|
|
7272
8033
|
],
|
|
7273
8034
|
urlParameters: [
|
|
@@ -7276,7 +8037,7 @@ const summarizeForResourceOperationSpec = {
|
|
|
7276
8037
|
policyStatesSummaryResource
|
|
7277
8038
|
],
|
|
7278
8039
|
headerParameters: [accept],
|
|
7279
|
-
serializer: serializer$
|
|
8040
|
+
serializer: serializer$5
|
|
7280
8041
|
};
|
|
7281
8042
|
const triggerSubscriptionEvaluationOperationSpec = {
|
|
7282
8043
|
path: "/subscriptions/{subscriptionId}/providers/Microsoft.PolicyInsights/policyStates/latest/triggerEvaluation",
|
|
@@ -7293,7 +8054,7 @@ const triggerSubscriptionEvaluationOperationSpec = {
|
|
|
7293
8054
|
queryParameters: [apiVersion2],
|
|
7294
8055
|
urlParameters: [$host, subscriptionId1],
|
|
7295
8056
|
headerParameters: [accept],
|
|
7296
|
-
serializer: serializer$
|
|
8057
|
+
serializer: serializer$5
|
|
7297
8058
|
};
|
|
7298
8059
|
const triggerResourceGroupEvaluationOperationSpec = {
|
|
7299
8060
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.PolicyInsights/policyStates/latest/triggerEvaluation",
|
|
@@ -7314,7 +8075,7 @@ const triggerResourceGroupEvaluationOperationSpec = {
|
|
|
7314
8075
|
subscriptionId1
|
|
7315
8076
|
],
|
|
7316
8077
|
headerParameters: [accept],
|
|
7317
|
-
serializer: serializer$
|
|
8078
|
+
serializer: serializer$5
|
|
7318
8079
|
};
|
|
7319
8080
|
const listQueryResultsForPolicySetDefinitionOperationSpec = {
|
|
7320
8081
|
path: "/subscriptions/{subscriptionId}/providers/{authorizationNamespace}/policySetDefinitions/{policySetDefinitionName}/providers/Microsoft.PolicyInsights/policyStates/{policyStatesResource}/queryResults",
|
|
@@ -7333,7 +8094,7 @@ const listQueryResultsForPolicySetDefinitionOperationSpec = {
|
|
|
7333
8094
|
apiVersion2,
|
|
7334
8095
|
orderBy,
|
|
7335
8096
|
select,
|
|
7336
|
-
|
|
8097
|
+
from,
|
|
7337
8098
|
to,
|
|
7338
8099
|
apply,
|
|
7339
8100
|
skipToken
|
|
@@ -7346,7 +8107,7 @@ const listQueryResultsForPolicySetDefinitionOperationSpec = {
|
|
|
7346
8107
|
policyStatesResource
|
|
7347
8108
|
],
|
|
7348
8109
|
headerParameters: [accept],
|
|
7349
|
-
serializer: serializer$
|
|
8110
|
+
serializer: serializer$5
|
|
7350
8111
|
};
|
|
7351
8112
|
const summarizeForPolicySetDefinitionOperationSpec = {
|
|
7352
8113
|
path: "/subscriptions/{subscriptionId}/providers/{authorizationNamespace}/policySetDefinitions/{policySetDefinitionName}/providers/Microsoft.PolicyInsights/policyStates/{policyStatesSummaryResource}/summarize",
|
|
@@ -7363,7 +8124,7 @@ const summarizeForPolicySetDefinitionOperationSpec = {
|
|
|
7363
8124
|
top,
|
|
7364
8125
|
filter,
|
|
7365
8126
|
apiVersion2,
|
|
7366
|
-
|
|
8127
|
+
from,
|
|
7367
8128
|
to
|
|
7368
8129
|
],
|
|
7369
8130
|
urlParameters: [
|
|
@@ -7374,9 +8135,9 @@ const summarizeForPolicySetDefinitionOperationSpec = {
|
|
|
7374
8135
|
policyStatesSummaryResource
|
|
7375
8136
|
],
|
|
7376
8137
|
headerParameters: [accept],
|
|
7377
|
-
serializer: serializer$
|
|
8138
|
+
serializer: serializer$5
|
|
7378
8139
|
};
|
|
7379
|
-
const listQueryResultsForPolicyDefinitionOperationSpec = {
|
|
8140
|
+
const listQueryResultsForPolicyDefinitionOperationSpec$1 = {
|
|
7380
8141
|
path: "/subscriptions/{subscriptionId}/providers/{authorizationNamespace}/policyDefinitions/{policyDefinitionName}/providers/Microsoft.PolicyInsights/policyStates/{policyStatesResource}/queryResults",
|
|
7381
8142
|
httpMethod: "POST",
|
|
7382
8143
|
responses: {
|
|
@@ -7393,7 +8154,7 @@ const listQueryResultsForPolicyDefinitionOperationSpec = {
|
|
|
7393
8154
|
apiVersion2,
|
|
7394
8155
|
orderBy,
|
|
7395
8156
|
select,
|
|
7396
|
-
|
|
8157
|
+
from,
|
|
7397
8158
|
to,
|
|
7398
8159
|
apply,
|
|
7399
8160
|
skipToken
|
|
@@ -7406,7 +8167,7 @@ const listQueryResultsForPolicyDefinitionOperationSpec = {
|
|
|
7406
8167
|
policyStatesResource
|
|
7407
8168
|
],
|
|
7408
8169
|
headerParameters: [accept],
|
|
7409
|
-
serializer: serializer$
|
|
8170
|
+
serializer: serializer$5
|
|
7410
8171
|
};
|
|
7411
8172
|
const summarizeForPolicyDefinitionOperationSpec = {
|
|
7412
8173
|
path: "/subscriptions/{subscriptionId}/providers/{authorizationNamespace}/policyDefinitions/{policyDefinitionName}/providers/Microsoft.PolicyInsights/policyStates/{policyStatesSummaryResource}/summarize",
|
|
@@ -7423,7 +8184,7 @@ const summarizeForPolicyDefinitionOperationSpec = {
|
|
|
7423
8184
|
top,
|
|
7424
8185
|
filter,
|
|
7425
8186
|
apiVersion2,
|
|
7426
|
-
|
|
8187
|
+
from,
|
|
7427
8188
|
to
|
|
7428
8189
|
],
|
|
7429
8190
|
urlParameters: [
|
|
@@ -7434,9 +8195,9 @@ const summarizeForPolicyDefinitionOperationSpec = {
|
|
|
7434
8195
|
policyStatesSummaryResource
|
|
7435
8196
|
],
|
|
7436
8197
|
headerParameters: [accept],
|
|
7437
|
-
serializer: serializer$
|
|
8198
|
+
serializer: serializer$5
|
|
7438
8199
|
};
|
|
7439
|
-
const listQueryResultsForSubscriptionLevelPolicyAssignmentOperationSpec = {
|
|
8200
|
+
const listQueryResultsForSubscriptionLevelPolicyAssignmentOperationSpec$1 = {
|
|
7440
8201
|
path: "/subscriptions/{subscriptionId}/providers/{authorizationNamespace}/policyAssignments/{policyAssignmentName}/providers/Microsoft.PolicyInsights/policyStates/{policyStatesResource}/queryResults",
|
|
7441
8202
|
httpMethod: "POST",
|
|
7442
8203
|
responses: {
|
|
@@ -7453,7 +8214,7 @@ const listQueryResultsForSubscriptionLevelPolicyAssignmentOperationSpec = {
|
|
|
7453
8214
|
apiVersion2,
|
|
7454
8215
|
orderBy,
|
|
7455
8216
|
select,
|
|
7456
|
-
|
|
8217
|
+
from,
|
|
7457
8218
|
to,
|
|
7458
8219
|
apply,
|
|
7459
8220
|
skipToken
|
|
@@ -7466,7 +8227,7 @@ const listQueryResultsForSubscriptionLevelPolicyAssignmentOperationSpec = {
|
|
|
7466
8227
|
policyStatesResource
|
|
7467
8228
|
],
|
|
7468
8229
|
headerParameters: [accept],
|
|
7469
|
-
serializer: serializer$
|
|
8230
|
+
serializer: serializer$5
|
|
7470
8231
|
};
|
|
7471
8232
|
const summarizeForSubscriptionLevelPolicyAssignmentOperationSpec = {
|
|
7472
8233
|
path: "/subscriptions/{subscriptionId}/providers/{authorizationNamespace}/policyAssignments/{policyAssignmentName}/providers/Microsoft.PolicyInsights/policyStates/{policyStatesSummaryResource}/summarize",
|
|
@@ -7483,7 +8244,7 @@ const summarizeForSubscriptionLevelPolicyAssignmentOperationSpec = {
|
|
|
7483
8244
|
top,
|
|
7484
8245
|
filter,
|
|
7485
8246
|
apiVersion2,
|
|
7486
|
-
|
|
8247
|
+
from,
|
|
7487
8248
|
to
|
|
7488
8249
|
],
|
|
7489
8250
|
urlParameters: [
|
|
@@ -7494,9 +8255,9 @@ const summarizeForSubscriptionLevelPolicyAssignmentOperationSpec = {
|
|
|
7494
8255
|
policyStatesSummaryResource
|
|
7495
8256
|
],
|
|
7496
8257
|
headerParameters: [accept],
|
|
7497
|
-
serializer: serializer$
|
|
8258
|
+
serializer: serializer$5
|
|
7498
8259
|
};
|
|
7499
|
-
const listQueryResultsForResourceGroupLevelPolicyAssignmentOperationSpec = {
|
|
8260
|
+
const listQueryResultsForResourceGroupLevelPolicyAssignmentOperationSpec$1 = {
|
|
7500
8261
|
path: "/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/{authorizationNamespace}/policyAssignments/{policyAssignmentName}/providers/Microsoft.PolicyInsights/policyStates/{policyStatesResource}/queryResults",
|
|
7501
8262
|
httpMethod: "POST",
|
|
7502
8263
|
responses: {
|
|
@@ -7513,7 +8274,7 @@ const listQueryResultsForResourceGroupLevelPolicyAssignmentOperationSpec = {
|
|
|
7513
8274
|
apiVersion2,
|
|
7514
8275
|
orderBy,
|
|
7515
8276
|
select,
|
|
7516
|
-
|
|
8277
|
+
from,
|
|
7517
8278
|
to,
|
|
7518
8279
|
apply,
|
|
7519
8280
|
skipToken
|
|
@@ -7527,7 +8288,7 @@ const listQueryResultsForResourceGroupLevelPolicyAssignmentOperationSpec = {
|
|
|
7527
8288
|
policyStatesResource
|
|
7528
8289
|
],
|
|
7529
8290
|
headerParameters: [accept],
|
|
7530
|
-
serializer: serializer$
|
|
8291
|
+
serializer: serializer$5
|
|
7531
8292
|
};
|
|
7532
8293
|
const summarizeForResourceGroupLevelPolicyAssignmentOperationSpec = {
|
|
7533
8294
|
path: "/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/{authorizationNamespace}/policyAssignments/{policyAssignmentName}/providers/Microsoft.PolicyInsights/policyStates/{policyStatesSummaryResource}/summarize",
|
|
@@ -7544,7 +8305,7 @@ const summarizeForResourceGroupLevelPolicyAssignmentOperationSpec = {
|
|
|
7544
8305
|
top,
|
|
7545
8306
|
filter,
|
|
7546
8307
|
apiVersion2,
|
|
7547
|
-
|
|
8308
|
+
from,
|
|
7548
8309
|
to
|
|
7549
8310
|
],
|
|
7550
8311
|
urlParameters: [
|
|
@@ -7556,7 +8317,7 @@ const summarizeForResourceGroupLevelPolicyAssignmentOperationSpec = {
|
|
|
7556
8317
|
policyStatesSummaryResource
|
|
7557
8318
|
],
|
|
7558
8319
|
headerParameters: [accept],
|
|
7559
|
-
serializer: serializer$
|
|
8320
|
+
serializer: serializer$5
|
|
7560
8321
|
};
|
|
7561
8322
|
const listQueryResultsForManagementGroupNextOperationSpec = {
|
|
7562
8323
|
path: "{nextLink}",
|
|
@@ -7569,17 +8330,6 @@ const listQueryResultsForManagementGroupNextOperationSpec = {
|
|
|
7569
8330
|
bodyMapper: QueryFailure
|
|
7570
8331
|
}
|
|
7571
8332
|
},
|
|
7572
|
-
queryParameters: [
|
|
7573
|
-
top,
|
|
7574
|
-
filter,
|
|
7575
|
-
apiVersion2,
|
|
7576
|
-
orderBy,
|
|
7577
|
-
select,
|
|
7578
|
-
fromParam,
|
|
7579
|
-
to,
|
|
7580
|
-
apply,
|
|
7581
|
-
skipToken
|
|
7582
|
-
],
|
|
7583
8333
|
urlParameters: [
|
|
7584
8334
|
$host,
|
|
7585
8335
|
managementGroupsNamespace,
|
|
@@ -7588,7 +8338,7 @@ const listQueryResultsForManagementGroupNextOperationSpec = {
|
|
|
7588
8338
|
policyStatesResource
|
|
7589
8339
|
],
|
|
7590
8340
|
headerParameters: [accept],
|
|
7591
|
-
serializer: serializer$
|
|
8341
|
+
serializer: serializer$5
|
|
7592
8342
|
};
|
|
7593
8343
|
const listQueryResultsForSubscriptionNextOperationSpec = {
|
|
7594
8344
|
path: "{nextLink}",
|
|
@@ -7601,17 +8351,6 @@ const listQueryResultsForSubscriptionNextOperationSpec = {
|
|
|
7601
8351
|
bodyMapper: QueryFailure
|
|
7602
8352
|
}
|
|
7603
8353
|
},
|
|
7604
|
-
queryParameters: [
|
|
7605
|
-
top,
|
|
7606
|
-
filter,
|
|
7607
|
-
apiVersion2,
|
|
7608
|
-
orderBy,
|
|
7609
|
-
select,
|
|
7610
|
-
fromParam,
|
|
7611
|
-
to,
|
|
7612
|
-
apply,
|
|
7613
|
-
skipToken
|
|
7614
|
-
],
|
|
7615
8354
|
urlParameters: [
|
|
7616
8355
|
$host,
|
|
7617
8356
|
nextLink,
|
|
@@ -7619,7 +8358,7 @@ const listQueryResultsForSubscriptionNextOperationSpec = {
|
|
|
7619
8358
|
policyStatesResource
|
|
7620
8359
|
],
|
|
7621
8360
|
headerParameters: [accept],
|
|
7622
|
-
serializer: serializer$
|
|
8361
|
+
serializer: serializer$5
|
|
7623
8362
|
};
|
|
7624
8363
|
const listQueryResultsForResourceGroupNextOperationSpec = {
|
|
7625
8364
|
path: "{nextLink}",
|
|
@@ -7632,17 +8371,6 @@ const listQueryResultsForResourceGroupNextOperationSpec = {
|
|
|
7632
8371
|
bodyMapper: QueryFailure
|
|
7633
8372
|
}
|
|
7634
8373
|
},
|
|
7635
|
-
queryParameters: [
|
|
7636
|
-
top,
|
|
7637
|
-
filter,
|
|
7638
|
-
apiVersion2,
|
|
7639
|
-
orderBy,
|
|
7640
|
-
select,
|
|
7641
|
-
fromParam,
|
|
7642
|
-
to,
|
|
7643
|
-
apply,
|
|
7644
|
-
skipToken
|
|
7645
|
-
],
|
|
7646
8374
|
urlParameters: [
|
|
7647
8375
|
$host,
|
|
7648
8376
|
resourceGroupName,
|
|
@@ -7651,7 +8379,7 @@ const listQueryResultsForResourceGroupNextOperationSpec = {
|
|
|
7651
8379
|
policyStatesResource
|
|
7652
8380
|
],
|
|
7653
8381
|
headerParameters: [accept],
|
|
7654
|
-
serializer: serializer$
|
|
8382
|
+
serializer: serializer$5
|
|
7655
8383
|
};
|
|
7656
8384
|
const listQueryResultsForResourceNextOperationSpec = {
|
|
7657
8385
|
path: "{nextLink}",
|
|
@@ -7664,18 +8392,6 @@ const listQueryResultsForResourceNextOperationSpec = {
|
|
|
7664
8392
|
bodyMapper: QueryFailure
|
|
7665
8393
|
}
|
|
7666
8394
|
},
|
|
7667
|
-
queryParameters: [
|
|
7668
|
-
top,
|
|
7669
|
-
filter,
|
|
7670
|
-
apiVersion2,
|
|
7671
|
-
orderBy,
|
|
7672
|
-
select,
|
|
7673
|
-
fromParam,
|
|
7674
|
-
to,
|
|
7675
|
-
apply,
|
|
7676
|
-
skipToken,
|
|
7677
|
-
expand
|
|
7678
|
-
],
|
|
7679
8395
|
urlParameters: [
|
|
7680
8396
|
$host,
|
|
7681
8397
|
resourceId,
|
|
@@ -7683,7 +8399,7 @@ const listQueryResultsForResourceNextOperationSpec = {
|
|
|
7683
8399
|
policyStatesResource
|
|
7684
8400
|
],
|
|
7685
8401
|
headerParameters: [accept],
|
|
7686
|
-
serializer: serializer$
|
|
8402
|
+
serializer: serializer$5
|
|
7687
8403
|
};
|
|
7688
8404
|
const listQueryResultsForPolicySetDefinitionNextOperationSpec = {
|
|
7689
8405
|
path: "{nextLink}",
|
|
@@ -7696,17 +8412,6 @@ const listQueryResultsForPolicySetDefinitionNextOperationSpec = {
|
|
|
7696
8412
|
bodyMapper: QueryFailure
|
|
7697
8413
|
}
|
|
7698
8414
|
},
|
|
7699
|
-
queryParameters: [
|
|
7700
|
-
top,
|
|
7701
|
-
filter,
|
|
7702
|
-
apiVersion2,
|
|
7703
|
-
orderBy,
|
|
7704
|
-
select,
|
|
7705
|
-
fromParam,
|
|
7706
|
-
to,
|
|
7707
|
-
apply,
|
|
7708
|
-
skipToken
|
|
7709
|
-
],
|
|
7710
8415
|
urlParameters: [
|
|
7711
8416
|
$host,
|
|
7712
8417
|
nextLink,
|
|
@@ -7716,7 +8421,7 @@ const listQueryResultsForPolicySetDefinitionNextOperationSpec = {
|
|
|
7716
8421
|
policyStatesResource
|
|
7717
8422
|
],
|
|
7718
8423
|
headerParameters: [accept],
|
|
7719
|
-
serializer: serializer$
|
|
8424
|
+
serializer: serializer$5
|
|
7720
8425
|
};
|
|
7721
8426
|
const listQueryResultsForPolicyDefinitionNextOperationSpec = {
|
|
7722
8427
|
path: "{nextLink}",
|
|
@@ -7729,17 +8434,6 @@ const listQueryResultsForPolicyDefinitionNextOperationSpec = {
|
|
|
7729
8434
|
bodyMapper: QueryFailure
|
|
7730
8435
|
}
|
|
7731
8436
|
},
|
|
7732
|
-
queryParameters: [
|
|
7733
|
-
top,
|
|
7734
|
-
filter,
|
|
7735
|
-
apiVersion2,
|
|
7736
|
-
orderBy,
|
|
7737
|
-
select,
|
|
7738
|
-
fromParam,
|
|
7739
|
-
to,
|
|
7740
|
-
apply,
|
|
7741
|
-
skipToken
|
|
7742
|
-
],
|
|
7743
8437
|
urlParameters: [
|
|
7744
8438
|
$host,
|
|
7745
8439
|
nextLink,
|
|
@@ -7749,7 +8443,7 @@ const listQueryResultsForPolicyDefinitionNextOperationSpec = {
|
|
|
7749
8443
|
policyStatesResource
|
|
7750
8444
|
],
|
|
7751
8445
|
headerParameters: [accept],
|
|
7752
|
-
serializer: serializer$
|
|
8446
|
+
serializer: serializer$5
|
|
7753
8447
|
};
|
|
7754
8448
|
const listQueryResultsForSubscriptionLevelPolicyAssignmentNextOperationSpec = {
|
|
7755
8449
|
path: "{nextLink}",
|
|
@@ -7762,17 +8456,6 @@ const listQueryResultsForSubscriptionLevelPolicyAssignmentNextOperationSpec = {
|
|
|
7762
8456
|
bodyMapper: QueryFailure
|
|
7763
8457
|
}
|
|
7764
8458
|
},
|
|
7765
|
-
queryParameters: [
|
|
7766
|
-
top,
|
|
7767
|
-
filter,
|
|
7768
|
-
apiVersion2,
|
|
7769
|
-
orderBy,
|
|
7770
|
-
select,
|
|
7771
|
-
fromParam,
|
|
7772
|
-
to,
|
|
7773
|
-
apply,
|
|
7774
|
-
skipToken
|
|
7775
|
-
],
|
|
7776
8459
|
urlParameters: [
|
|
7777
8460
|
$host,
|
|
7778
8461
|
nextLink,
|
|
@@ -7782,7 +8465,7 @@ const listQueryResultsForSubscriptionLevelPolicyAssignmentNextOperationSpec = {
|
|
|
7782
8465
|
policyStatesResource
|
|
7783
8466
|
],
|
|
7784
8467
|
headerParameters: [accept],
|
|
7785
|
-
serializer: serializer$
|
|
8468
|
+
serializer: serializer$5
|
|
7786
8469
|
};
|
|
7787
8470
|
const listQueryResultsForResourceGroupLevelPolicyAssignmentNextOperationSpec = {
|
|
7788
8471
|
path: "{nextLink}",
|
|
@@ -7795,17 +8478,6 @@ const listQueryResultsForResourceGroupLevelPolicyAssignmentNextOperationSpec = {
|
|
|
7795
8478
|
bodyMapper: QueryFailure
|
|
7796
8479
|
}
|
|
7797
8480
|
},
|
|
7798
|
-
queryParameters: [
|
|
7799
|
-
top,
|
|
7800
|
-
filter,
|
|
7801
|
-
apiVersion2,
|
|
7802
|
-
orderBy,
|
|
7803
|
-
select,
|
|
7804
|
-
fromParam,
|
|
7805
|
-
to,
|
|
7806
|
-
apply,
|
|
7807
|
-
skipToken
|
|
7808
|
-
],
|
|
7809
8481
|
urlParameters: [
|
|
7810
8482
|
$host,
|
|
7811
8483
|
resourceGroupName,
|
|
@@ -7816,50 +8488,7 @@ const listQueryResultsForResourceGroupLevelPolicyAssignmentNextOperationSpec = {
|
|
|
7816
8488
|
policyStatesResource
|
|
7817
8489
|
],
|
|
7818
8490
|
headerParameters: [accept],
|
|
7819
|
-
serializer: serializer$
|
|
7820
|
-
};
|
|
7821
|
-
|
|
7822
|
-
/*
|
|
7823
|
-
* Copyright (c) Microsoft Corporation.
|
|
7824
|
-
* Licensed under the MIT License.
|
|
7825
|
-
*
|
|
7826
|
-
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
7827
|
-
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
7828
|
-
*/
|
|
7829
|
-
/** Class containing Operations operations. */
|
|
7830
|
-
class OperationsImpl {
|
|
7831
|
-
/**
|
|
7832
|
-
* Initialize a new instance of the class Operations class.
|
|
7833
|
-
* @param client Reference to the service client
|
|
7834
|
-
*/
|
|
7835
|
-
constructor(client) {
|
|
7836
|
-
this.client = client;
|
|
7837
|
-
}
|
|
7838
|
-
/**
|
|
7839
|
-
* Lists available operations.
|
|
7840
|
-
* @param options The options parameters.
|
|
7841
|
-
*/
|
|
7842
|
-
list(options) {
|
|
7843
|
-
return this.client.sendOperationRequest({ options }, listOperationSpec$1);
|
|
7844
|
-
}
|
|
7845
|
-
}
|
|
7846
|
-
// Operation Specifications
|
|
7847
|
-
const serializer$3 = coreClient__namespace.createSerializer(Mappers, /* isXml */ false);
|
|
7848
|
-
const listOperationSpec$1 = {
|
|
7849
|
-
path: "/providers/Microsoft.PolicyInsights/operations",
|
|
7850
|
-
httpMethod: "GET",
|
|
7851
|
-
responses: {
|
|
7852
|
-
200: {
|
|
7853
|
-
bodyMapper: OperationsListResults
|
|
7854
|
-
},
|
|
7855
|
-
default: {
|
|
7856
|
-
bodyMapper: QueryFailure
|
|
7857
|
-
}
|
|
7858
|
-
},
|
|
7859
|
-
queryParameters: [apiVersion2],
|
|
7860
|
-
urlParameters: [$host],
|
|
7861
|
-
headerParameters: [accept],
|
|
7862
|
-
serializer: serializer$3
|
|
8491
|
+
serializer: serializer$5
|
|
7863
8492
|
};
|
|
7864
8493
|
|
|
7865
8494
|
/*
|
|
@@ -7892,20 +8521,31 @@ class PolicyMetadataOperationsImpl {
|
|
|
7892
8521
|
[Symbol.asyncIterator]() {
|
|
7893
8522
|
return this;
|
|
7894
8523
|
},
|
|
7895
|
-
byPage: () => {
|
|
7896
|
-
|
|
8524
|
+
byPage: (settings) => {
|
|
8525
|
+
if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
|
|
8526
|
+
throw new Error("maxPageSize is not supported by this operation.");
|
|
8527
|
+
}
|
|
8528
|
+
return this.listPagingPage(options, settings);
|
|
7897
8529
|
}
|
|
7898
8530
|
};
|
|
7899
8531
|
}
|
|
7900
|
-
listPagingPage(options) {
|
|
8532
|
+
listPagingPage(options, settings) {
|
|
7901
8533
|
return tslib.__asyncGenerator(this, arguments, function* listPagingPage_1() {
|
|
7902
|
-
let result
|
|
7903
|
-
|
|
7904
|
-
|
|
8534
|
+
let result;
|
|
8535
|
+
let continuationToken = settings === null || settings === void 0 ? void 0 : settings.continuationToken;
|
|
8536
|
+
if (!continuationToken) {
|
|
8537
|
+
result = yield tslib.__await(this._list(options));
|
|
8538
|
+
let page = result.value || [];
|
|
8539
|
+
continuationToken = result.nextLink;
|
|
8540
|
+
setContinuationToken(page, continuationToken);
|
|
8541
|
+
yield yield tslib.__await(page);
|
|
8542
|
+
}
|
|
7905
8543
|
while (continuationToken) {
|
|
7906
8544
|
result = yield tslib.__await(this._listNext(continuationToken, options));
|
|
7907
8545
|
continuationToken = result.nextLink;
|
|
7908
|
-
|
|
8546
|
+
let page = result.value || [];
|
|
8547
|
+
setContinuationToken(page, continuationToken);
|
|
8548
|
+
yield yield tslib.__await(page);
|
|
7909
8549
|
}
|
|
7910
8550
|
});
|
|
7911
8551
|
}
|
|
@@ -7940,7 +8580,7 @@ class PolicyMetadataOperationsImpl {
|
|
|
7940
8580
|
* @param options The options parameters.
|
|
7941
8581
|
*/
|
|
7942
8582
|
_list(options) {
|
|
7943
|
-
return this.client.sendOperationRequest({ options }, listOperationSpec);
|
|
8583
|
+
return this.client.sendOperationRequest({ options }, listOperationSpec$1);
|
|
7944
8584
|
}
|
|
7945
8585
|
/**
|
|
7946
8586
|
* ListNext
|
|
@@ -7952,7 +8592,7 @@ class PolicyMetadataOperationsImpl {
|
|
|
7952
8592
|
}
|
|
7953
8593
|
}
|
|
7954
8594
|
// Operation Specifications
|
|
7955
|
-
const serializer$
|
|
8595
|
+
const serializer$4 = coreClient__namespace.createSerializer(Mappers, /* isXml */ false);
|
|
7956
8596
|
const getResourceOperationSpec = {
|
|
7957
8597
|
path: "/providers/Microsoft.PolicyInsights/policyMetadata/{resourceName}",
|
|
7958
8598
|
httpMethod: "GET",
|
|
@@ -7967,9 +8607,9 @@ const getResourceOperationSpec = {
|
|
|
7967
8607
|
queryParameters: [apiVersion2],
|
|
7968
8608
|
urlParameters: [$host, resourceName],
|
|
7969
8609
|
headerParameters: [accept],
|
|
7970
|
-
serializer: serializer$
|
|
8610
|
+
serializer: serializer$4
|
|
7971
8611
|
};
|
|
7972
|
-
const listOperationSpec = {
|
|
8612
|
+
const listOperationSpec$1 = {
|
|
7973
8613
|
path: "/providers/Microsoft.PolicyInsights/policyMetadata",
|
|
7974
8614
|
httpMethod: "GET",
|
|
7975
8615
|
responses: {
|
|
@@ -7983,7 +8623,7 @@ const listOperationSpec = {
|
|
|
7983
8623
|
queryParameters: [top, apiVersion2],
|
|
7984
8624
|
urlParameters: [$host],
|
|
7985
8625
|
headerParameters: [accept],
|
|
7986
|
-
serializer: serializer$
|
|
8626
|
+
serializer: serializer$4
|
|
7987
8627
|
};
|
|
7988
8628
|
const listNextOperationSpec = {
|
|
7989
8629
|
path: "{nextLink}",
|
|
@@ -7996,10 +8636,9 @@ const listNextOperationSpec = {
|
|
|
7996
8636
|
bodyMapper: ErrorResponseAutoGenerated
|
|
7997
8637
|
}
|
|
7998
8638
|
},
|
|
7999
|
-
queryParameters: [top, apiVersion2],
|
|
8000
8639
|
urlParameters: [$host, nextLink],
|
|
8001
8640
|
headerParameters: [accept],
|
|
8002
|
-
serializer: serializer$
|
|
8641
|
+
serializer: serializer$4
|
|
8003
8642
|
};
|
|
8004
8643
|
|
|
8005
8644
|
/*
|
|
@@ -8047,7 +8686,7 @@ class PolicyRestrictionsImpl {
|
|
|
8047
8686
|
}
|
|
8048
8687
|
}
|
|
8049
8688
|
// Operation Specifications
|
|
8050
|
-
const serializer$
|
|
8689
|
+
const serializer$3 = coreClient__namespace.createSerializer(Mappers, /* isXml */ false);
|
|
8051
8690
|
const checkAtSubscriptionScopeOperationSpec = {
|
|
8052
8691
|
path: "/subscriptions/{subscriptionId}/providers/Microsoft.PolicyInsights/checkPolicyRestrictions",
|
|
8053
8692
|
httpMethod: "POST",
|
|
@@ -8064,7 +8703,7 @@ const checkAtSubscriptionScopeOperationSpec = {
|
|
|
8064
8703
|
urlParameters: [$host, subscriptionId],
|
|
8065
8704
|
headerParameters: [accept, contentType],
|
|
8066
8705
|
mediaType: "json",
|
|
8067
|
-
serializer: serializer$
|
|
8706
|
+
serializer: serializer$3
|
|
8068
8707
|
};
|
|
8069
8708
|
const checkAtResourceGroupScopeOperationSpec = {
|
|
8070
8709
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.PolicyInsights/checkPolicyRestrictions",
|
|
@@ -8086,7 +8725,7 @@ const checkAtResourceGroupScopeOperationSpec = {
|
|
|
8086
8725
|
],
|
|
8087
8726
|
headerParameters: [accept, contentType],
|
|
8088
8727
|
mediaType: "json",
|
|
8089
|
-
serializer: serializer$
|
|
8728
|
+
serializer: serializer$3
|
|
8090
8729
|
};
|
|
8091
8730
|
const checkAtManagementGroupScopeOperationSpec = {
|
|
8092
8731
|
path: "/providers/{managementGroupsNamespace}/managementGroups/{managementGroupId}/providers/Microsoft.PolicyInsights/checkPolicyRestrictions",
|
|
@@ -8108,6 +8747,338 @@ const checkAtManagementGroupScopeOperationSpec = {
|
|
|
8108
8747
|
],
|
|
8109
8748
|
headerParameters: [accept, contentType],
|
|
8110
8749
|
mediaType: "json",
|
|
8750
|
+
serializer: serializer$3
|
|
8751
|
+
};
|
|
8752
|
+
|
|
8753
|
+
/*
|
|
8754
|
+
* Copyright (c) Microsoft Corporation.
|
|
8755
|
+
* Licensed under the MIT License.
|
|
8756
|
+
*
|
|
8757
|
+
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
8758
|
+
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
8759
|
+
*/
|
|
8760
|
+
/** Class containing ComponentPolicyStates operations. */
|
|
8761
|
+
class ComponentPolicyStatesImpl {
|
|
8762
|
+
/**
|
|
8763
|
+
* Initialize a new instance of the class ComponentPolicyStates class.
|
|
8764
|
+
* @param client Reference to the service client
|
|
8765
|
+
*/
|
|
8766
|
+
constructor(client) {
|
|
8767
|
+
this.client = client;
|
|
8768
|
+
}
|
|
8769
|
+
/**
|
|
8770
|
+
* Queries component policy states under subscription scope.
|
|
8771
|
+
* @param subscriptionId Microsoft Azure subscription ID.
|
|
8772
|
+
* @param componentPolicyStatesResource The virtual resource under ComponentPolicyStates resource type.
|
|
8773
|
+
* In a given time range, 'latest' represents the latest component policy state(s).
|
|
8774
|
+
* @param options The options parameters.
|
|
8775
|
+
*/
|
|
8776
|
+
listQueryResultsForSubscription(subscriptionId, componentPolicyStatesResource, options) {
|
|
8777
|
+
return this.client.sendOperationRequest({ subscriptionId, componentPolicyStatesResource, options }, listQueryResultsForSubscriptionOperationSpec);
|
|
8778
|
+
}
|
|
8779
|
+
/**
|
|
8780
|
+
* Queries component policy states under resource group scope.
|
|
8781
|
+
* @param subscriptionId Microsoft Azure subscription ID.
|
|
8782
|
+
* @param resourceGroupName Resource group name.
|
|
8783
|
+
* @param componentPolicyStatesResource The virtual resource under ComponentPolicyStates resource type.
|
|
8784
|
+
* In a given time range, 'latest' represents the latest component policy state(s).
|
|
8785
|
+
* @param options The options parameters.
|
|
8786
|
+
*/
|
|
8787
|
+
listQueryResultsForResourceGroup(subscriptionId, resourceGroupName, componentPolicyStatesResource, options) {
|
|
8788
|
+
return this.client.sendOperationRequest({
|
|
8789
|
+
subscriptionId,
|
|
8790
|
+
resourceGroupName,
|
|
8791
|
+
componentPolicyStatesResource,
|
|
8792
|
+
options
|
|
8793
|
+
}, listQueryResultsForResourceGroupOperationSpec);
|
|
8794
|
+
}
|
|
8795
|
+
/**
|
|
8796
|
+
* Queries component policy states for the resource.
|
|
8797
|
+
* @param resourceId Resource ID.
|
|
8798
|
+
* @param componentPolicyStatesResource The virtual resource under ComponentPolicyStates resource type.
|
|
8799
|
+
* In a given time range, 'latest' represents the latest component policy state(s).
|
|
8800
|
+
* @param options The options parameters.
|
|
8801
|
+
*/
|
|
8802
|
+
listQueryResultsForResource(resourceId, componentPolicyStatesResource, options) {
|
|
8803
|
+
return this.client.sendOperationRequest({ resourceId, componentPolicyStatesResource, options }, listQueryResultsForResourceOperationSpec);
|
|
8804
|
+
}
|
|
8805
|
+
/**
|
|
8806
|
+
* Queries component policy states for the subscription level policy definition.
|
|
8807
|
+
* @param subscriptionId Microsoft Azure subscription ID.
|
|
8808
|
+
* @param policyDefinitionName Policy definition name.
|
|
8809
|
+
* @param componentPolicyStatesResource The virtual resource under ComponentPolicyStates resource type.
|
|
8810
|
+
* In a given time range, 'latest' represents the latest component policy state(s).
|
|
8811
|
+
* @param options The options parameters.
|
|
8812
|
+
*/
|
|
8813
|
+
listQueryResultsForPolicyDefinition(subscriptionId, policyDefinitionName, componentPolicyStatesResource, options) {
|
|
8814
|
+
return this.client.sendOperationRequest({
|
|
8815
|
+
subscriptionId,
|
|
8816
|
+
policyDefinitionName,
|
|
8817
|
+
componentPolicyStatesResource,
|
|
8818
|
+
options
|
|
8819
|
+
}, listQueryResultsForPolicyDefinitionOperationSpec);
|
|
8820
|
+
}
|
|
8821
|
+
/**
|
|
8822
|
+
* Queries component policy states for the subscription level policy assignment.
|
|
8823
|
+
* @param subscriptionId Microsoft Azure subscription ID.
|
|
8824
|
+
* @param policyAssignmentName Policy assignment name.
|
|
8825
|
+
* @param componentPolicyStatesResource The virtual resource under ComponentPolicyStates resource type.
|
|
8826
|
+
* In a given time range, 'latest' represents the latest component policy state(s).
|
|
8827
|
+
* @param options The options parameters.
|
|
8828
|
+
*/
|
|
8829
|
+
listQueryResultsForSubscriptionLevelPolicyAssignment(subscriptionId, policyAssignmentName, componentPolicyStatesResource, options) {
|
|
8830
|
+
return this.client.sendOperationRequest({
|
|
8831
|
+
subscriptionId,
|
|
8832
|
+
policyAssignmentName,
|
|
8833
|
+
componentPolicyStatesResource,
|
|
8834
|
+
options
|
|
8835
|
+
}, listQueryResultsForSubscriptionLevelPolicyAssignmentOperationSpec);
|
|
8836
|
+
}
|
|
8837
|
+
/**
|
|
8838
|
+
* Queries component policy states for the resource group level policy assignment.
|
|
8839
|
+
* @param subscriptionId Microsoft Azure subscription ID.
|
|
8840
|
+
* @param resourceGroupName Resource group name.
|
|
8841
|
+
* @param policyAssignmentName Policy assignment name.
|
|
8842
|
+
* @param componentPolicyStatesResource The virtual resource under ComponentPolicyStates resource type.
|
|
8843
|
+
* In a given time range, 'latest' represents the latest component policy state(s).
|
|
8844
|
+
* @param options The options parameters.
|
|
8845
|
+
*/
|
|
8846
|
+
listQueryResultsForResourceGroupLevelPolicyAssignment(subscriptionId, resourceGroupName, policyAssignmentName, componentPolicyStatesResource, options) {
|
|
8847
|
+
return this.client.sendOperationRequest({
|
|
8848
|
+
subscriptionId,
|
|
8849
|
+
resourceGroupName,
|
|
8850
|
+
policyAssignmentName,
|
|
8851
|
+
componentPolicyStatesResource,
|
|
8852
|
+
options
|
|
8853
|
+
}, listQueryResultsForResourceGroupLevelPolicyAssignmentOperationSpec);
|
|
8854
|
+
}
|
|
8855
|
+
}
|
|
8856
|
+
// Operation Specifications
|
|
8857
|
+
const serializer$2 = coreClient__namespace.createSerializer(Mappers, /* isXml */ false);
|
|
8858
|
+
const listQueryResultsForSubscriptionOperationSpec = {
|
|
8859
|
+
path: "/subscriptions/{subscriptionId}/providers/Microsoft.PolicyInsights/componentPolicyStates/{componentPolicyStatesResource}/queryResults",
|
|
8860
|
+
httpMethod: "POST",
|
|
8861
|
+
responses: {
|
|
8862
|
+
200: {
|
|
8863
|
+
bodyMapper: ComponentPolicyStatesQueryResults
|
|
8864
|
+
},
|
|
8865
|
+
default: {
|
|
8866
|
+
bodyMapper: ErrorResponseAutoGenerated
|
|
8867
|
+
}
|
|
8868
|
+
},
|
|
8869
|
+
queryParameters: [
|
|
8870
|
+
apiVersion4,
|
|
8871
|
+
top1,
|
|
8872
|
+
orderBy1,
|
|
8873
|
+
select1,
|
|
8874
|
+
from1,
|
|
8875
|
+
to1,
|
|
8876
|
+
filter1,
|
|
8877
|
+
apply1
|
|
8878
|
+
],
|
|
8879
|
+
urlParameters: [
|
|
8880
|
+
$host,
|
|
8881
|
+
subscriptionId1,
|
|
8882
|
+
componentPolicyStatesResource
|
|
8883
|
+
],
|
|
8884
|
+
headerParameters: [accept],
|
|
8885
|
+
serializer: serializer$2
|
|
8886
|
+
};
|
|
8887
|
+
const listQueryResultsForResourceGroupOperationSpec = {
|
|
8888
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.PolicyInsights/componentPolicyStates/{componentPolicyStatesResource}/queryResults",
|
|
8889
|
+
httpMethod: "POST",
|
|
8890
|
+
responses: {
|
|
8891
|
+
200: {
|
|
8892
|
+
bodyMapper: ComponentPolicyStatesQueryResults
|
|
8893
|
+
},
|
|
8894
|
+
default: {
|
|
8895
|
+
bodyMapper: ErrorResponseAutoGenerated
|
|
8896
|
+
}
|
|
8897
|
+
},
|
|
8898
|
+
queryParameters: [
|
|
8899
|
+
apiVersion4,
|
|
8900
|
+
top1,
|
|
8901
|
+
orderBy1,
|
|
8902
|
+
select1,
|
|
8903
|
+
from1,
|
|
8904
|
+
to1,
|
|
8905
|
+
filter1,
|
|
8906
|
+
apply1
|
|
8907
|
+
],
|
|
8908
|
+
urlParameters: [
|
|
8909
|
+
$host,
|
|
8910
|
+
resourceGroupName,
|
|
8911
|
+
subscriptionId1,
|
|
8912
|
+
componentPolicyStatesResource
|
|
8913
|
+
],
|
|
8914
|
+
headerParameters: [accept],
|
|
8915
|
+
serializer: serializer$2
|
|
8916
|
+
};
|
|
8917
|
+
const listQueryResultsForResourceOperationSpec = {
|
|
8918
|
+
path: "/{resourceId}/providers/Microsoft.PolicyInsights/componentPolicyStates/{componentPolicyStatesResource}/queryResults",
|
|
8919
|
+
httpMethod: "POST",
|
|
8920
|
+
responses: {
|
|
8921
|
+
200: {
|
|
8922
|
+
bodyMapper: ComponentPolicyStatesQueryResults
|
|
8923
|
+
},
|
|
8924
|
+
default: {
|
|
8925
|
+
bodyMapper: ErrorResponseAutoGenerated
|
|
8926
|
+
}
|
|
8927
|
+
},
|
|
8928
|
+
queryParameters: [
|
|
8929
|
+
apiVersion4,
|
|
8930
|
+
top1,
|
|
8931
|
+
orderBy1,
|
|
8932
|
+
select1,
|
|
8933
|
+
from1,
|
|
8934
|
+
to1,
|
|
8935
|
+
filter1,
|
|
8936
|
+
apply1,
|
|
8937
|
+
expand1
|
|
8938
|
+
],
|
|
8939
|
+
urlParameters: [
|
|
8940
|
+
$host,
|
|
8941
|
+
resourceId,
|
|
8942
|
+
componentPolicyStatesResource
|
|
8943
|
+
],
|
|
8944
|
+
headerParameters: [accept],
|
|
8945
|
+
serializer: serializer$2
|
|
8946
|
+
};
|
|
8947
|
+
const listQueryResultsForPolicyDefinitionOperationSpec = {
|
|
8948
|
+
path: "/subscriptions/{subscriptionId}/providers/{authorizationNamespace}/policyDefinitions/{policyDefinitionName}/providers/Microsoft.PolicyInsights/componentPolicyStates/{componentPolicyStatesResource}/queryResults",
|
|
8949
|
+
httpMethod: "POST",
|
|
8950
|
+
responses: {
|
|
8951
|
+
200: {
|
|
8952
|
+
bodyMapper: ComponentPolicyStatesQueryResults
|
|
8953
|
+
},
|
|
8954
|
+
default: {
|
|
8955
|
+
bodyMapper: ErrorResponseAutoGenerated
|
|
8956
|
+
}
|
|
8957
|
+
},
|
|
8958
|
+
queryParameters: [
|
|
8959
|
+
apiVersion4,
|
|
8960
|
+
top1,
|
|
8961
|
+
orderBy1,
|
|
8962
|
+
select1,
|
|
8963
|
+
from1,
|
|
8964
|
+
to1,
|
|
8965
|
+
filter1,
|
|
8966
|
+
apply1
|
|
8967
|
+
],
|
|
8968
|
+
urlParameters: [
|
|
8969
|
+
$host,
|
|
8970
|
+
subscriptionId1,
|
|
8971
|
+
authorizationNamespace,
|
|
8972
|
+
componentPolicyStatesResource,
|
|
8973
|
+
policyDefinitionName1
|
|
8974
|
+
],
|
|
8975
|
+
headerParameters: [accept],
|
|
8976
|
+
serializer: serializer$2
|
|
8977
|
+
};
|
|
8978
|
+
const listQueryResultsForSubscriptionLevelPolicyAssignmentOperationSpec = {
|
|
8979
|
+
path: "/subscriptions/{subscriptionId}/providers/{authorizationNamespace}/policyAssignments/{policyAssignmentName}/providers/Microsoft.PolicyInsights/componentPolicyStates/{componentPolicyStatesResource}/queryResults",
|
|
8980
|
+
httpMethod: "POST",
|
|
8981
|
+
responses: {
|
|
8982
|
+
200: {
|
|
8983
|
+
bodyMapper: ComponentPolicyStatesQueryResults
|
|
8984
|
+
},
|
|
8985
|
+
default: {
|
|
8986
|
+
bodyMapper: ErrorResponseAutoGenerated
|
|
8987
|
+
}
|
|
8988
|
+
},
|
|
8989
|
+
queryParameters: [
|
|
8990
|
+
apiVersion4,
|
|
8991
|
+
top1,
|
|
8992
|
+
orderBy1,
|
|
8993
|
+
select1,
|
|
8994
|
+
from1,
|
|
8995
|
+
to1,
|
|
8996
|
+
filter1,
|
|
8997
|
+
apply1
|
|
8998
|
+
],
|
|
8999
|
+
urlParameters: [
|
|
9000
|
+
$host,
|
|
9001
|
+
subscriptionId1,
|
|
9002
|
+
authorizationNamespace,
|
|
9003
|
+
componentPolicyStatesResource,
|
|
9004
|
+
policyAssignmentName1
|
|
9005
|
+
],
|
|
9006
|
+
headerParameters: [accept],
|
|
9007
|
+
serializer: serializer$2
|
|
9008
|
+
};
|
|
9009
|
+
const listQueryResultsForResourceGroupLevelPolicyAssignmentOperationSpec = {
|
|
9010
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{authorizationNamespace}/policyAssignments/{policyAssignmentName}/providers/Microsoft.PolicyInsights/componentPolicyStates/{componentPolicyStatesResource}/queryResults",
|
|
9011
|
+
httpMethod: "POST",
|
|
9012
|
+
responses: {
|
|
9013
|
+
200: {
|
|
9014
|
+
bodyMapper: ComponentPolicyStatesQueryResults
|
|
9015
|
+
},
|
|
9016
|
+
default: {
|
|
9017
|
+
bodyMapper: ErrorResponseAutoGenerated
|
|
9018
|
+
}
|
|
9019
|
+
},
|
|
9020
|
+
queryParameters: [
|
|
9021
|
+
apiVersion4,
|
|
9022
|
+
top1,
|
|
9023
|
+
orderBy1,
|
|
9024
|
+
select1,
|
|
9025
|
+
from1,
|
|
9026
|
+
to1,
|
|
9027
|
+
filter1,
|
|
9028
|
+
apply1
|
|
9029
|
+
],
|
|
9030
|
+
urlParameters: [
|
|
9031
|
+
$host,
|
|
9032
|
+
resourceGroupName,
|
|
9033
|
+
subscriptionId1,
|
|
9034
|
+
authorizationNamespace,
|
|
9035
|
+
componentPolicyStatesResource,
|
|
9036
|
+
policyAssignmentName1
|
|
9037
|
+
],
|
|
9038
|
+
headerParameters: [accept],
|
|
9039
|
+
serializer: serializer$2
|
|
9040
|
+
};
|
|
9041
|
+
|
|
9042
|
+
/*
|
|
9043
|
+
* Copyright (c) Microsoft Corporation.
|
|
9044
|
+
* Licensed under the MIT License.
|
|
9045
|
+
*
|
|
9046
|
+
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
9047
|
+
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
9048
|
+
*/
|
|
9049
|
+
/** Class containing Operations operations. */
|
|
9050
|
+
class OperationsImpl {
|
|
9051
|
+
/**
|
|
9052
|
+
* Initialize a new instance of the class Operations class.
|
|
9053
|
+
* @param client Reference to the service client
|
|
9054
|
+
*/
|
|
9055
|
+
constructor(client) {
|
|
9056
|
+
this.client = client;
|
|
9057
|
+
}
|
|
9058
|
+
/**
|
|
9059
|
+
* Lists available operations.
|
|
9060
|
+
* @param options The options parameters.
|
|
9061
|
+
*/
|
|
9062
|
+
list(options) {
|
|
9063
|
+
return this.client.sendOperationRequest({ options }, listOperationSpec);
|
|
9064
|
+
}
|
|
9065
|
+
}
|
|
9066
|
+
// Operation Specifications
|
|
9067
|
+
const serializer$1 = coreClient__namespace.createSerializer(Mappers, /* isXml */ false);
|
|
9068
|
+
const listOperationSpec = {
|
|
9069
|
+
path: "/providers/Microsoft.PolicyInsights/operations",
|
|
9070
|
+
httpMethod: "GET",
|
|
9071
|
+
responses: {
|
|
9072
|
+
200: {
|
|
9073
|
+
bodyMapper: OperationsListResults
|
|
9074
|
+
},
|
|
9075
|
+
default: {
|
|
9076
|
+
bodyMapper: QueryFailure
|
|
9077
|
+
}
|
|
9078
|
+
},
|
|
9079
|
+
queryParameters: [apiVersion4],
|
|
9080
|
+
urlParameters: [$host],
|
|
9081
|
+
headerParameters: [accept],
|
|
8111
9082
|
serializer: serializer$1
|
|
8112
9083
|
};
|
|
8113
9084
|
|
|
@@ -8141,20 +9112,31 @@ class AttestationsImpl {
|
|
|
8141
9112
|
[Symbol.asyncIterator]() {
|
|
8142
9113
|
return this;
|
|
8143
9114
|
},
|
|
8144
|
-
byPage: () => {
|
|
8145
|
-
|
|
9115
|
+
byPage: (settings) => {
|
|
9116
|
+
if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
|
|
9117
|
+
throw new Error("maxPageSize is not supported by this operation.");
|
|
9118
|
+
}
|
|
9119
|
+
return this.listForSubscriptionPagingPage(options, settings);
|
|
8146
9120
|
}
|
|
8147
9121
|
};
|
|
8148
9122
|
}
|
|
8149
|
-
listForSubscriptionPagingPage(options) {
|
|
9123
|
+
listForSubscriptionPagingPage(options, settings) {
|
|
8150
9124
|
return tslib.__asyncGenerator(this, arguments, function* listForSubscriptionPagingPage_1() {
|
|
8151
|
-
let result
|
|
8152
|
-
|
|
8153
|
-
|
|
9125
|
+
let result;
|
|
9126
|
+
let continuationToken = settings === null || settings === void 0 ? void 0 : settings.continuationToken;
|
|
9127
|
+
if (!continuationToken) {
|
|
9128
|
+
result = yield tslib.__await(this._listForSubscription(options));
|
|
9129
|
+
let page = result.value || [];
|
|
9130
|
+
continuationToken = result.nextLink;
|
|
9131
|
+
setContinuationToken(page, continuationToken);
|
|
9132
|
+
yield yield tslib.__await(page);
|
|
9133
|
+
}
|
|
8154
9134
|
while (continuationToken) {
|
|
8155
9135
|
result = yield tslib.__await(this._listForSubscriptionNext(continuationToken, options));
|
|
8156
9136
|
continuationToken = result.nextLink;
|
|
8157
|
-
|
|
9137
|
+
let page = result.value || [];
|
|
9138
|
+
setContinuationToken(page, continuationToken);
|
|
9139
|
+
yield yield tslib.__await(page);
|
|
8158
9140
|
}
|
|
8159
9141
|
});
|
|
8160
9142
|
}
|
|
@@ -8190,20 +9172,31 @@ class AttestationsImpl {
|
|
|
8190
9172
|
[Symbol.asyncIterator]() {
|
|
8191
9173
|
return this;
|
|
8192
9174
|
},
|
|
8193
|
-
byPage: () => {
|
|
8194
|
-
|
|
9175
|
+
byPage: (settings) => {
|
|
9176
|
+
if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
|
|
9177
|
+
throw new Error("maxPageSize is not supported by this operation.");
|
|
9178
|
+
}
|
|
9179
|
+
return this.listForResourceGroupPagingPage(resourceGroupName, options, settings);
|
|
8195
9180
|
}
|
|
8196
9181
|
};
|
|
8197
9182
|
}
|
|
8198
|
-
listForResourceGroupPagingPage(resourceGroupName, options) {
|
|
9183
|
+
listForResourceGroupPagingPage(resourceGroupName, options, settings) {
|
|
8199
9184
|
return tslib.__asyncGenerator(this, arguments, function* listForResourceGroupPagingPage_1() {
|
|
8200
|
-
let result
|
|
8201
|
-
|
|
8202
|
-
|
|
9185
|
+
let result;
|
|
9186
|
+
let continuationToken = settings === null || settings === void 0 ? void 0 : settings.continuationToken;
|
|
9187
|
+
if (!continuationToken) {
|
|
9188
|
+
result = yield tslib.__await(this._listForResourceGroup(resourceGroupName, options));
|
|
9189
|
+
let page = result.value || [];
|
|
9190
|
+
continuationToken = result.nextLink;
|
|
9191
|
+
setContinuationToken(page, continuationToken);
|
|
9192
|
+
yield yield tslib.__await(page);
|
|
9193
|
+
}
|
|
8203
9194
|
while (continuationToken) {
|
|
8204
9195
|
result = yield tslib.__await(this._listForResourceGroupNext(resourceGroupName, continuationToken, options));
|
|
8205
9196
|
continuationToken = result.nextLink;
|
|
8206
|
-
|
|
9197
|
+
let page = result.value || [];
|
|
9198
|
+
setContinuationToken(page, continuationToken);
|
|
9199
|
+
yield yield tslib.__await(page);
|
|
8207
9200
|
}
|
|
8208
9201
|
});
|
|
8209
9202
|
}
|
|
@@ -8239,20 +9232,31 @@ class AttestationsImpl {
|
|
|
8239
9232
|
[Symbol.asyncIterator]() {
|
|
8240
9233
|
return this;
|
|
8241
9234
|
},
|
|
8242
|
-
byPage: () => {
|
|
8243
|
-
|
|
9235
|
+
byPage: (settings) => {
|
|
9236
|
+
if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
|
|
9237
|
+
throw new Error("maxPageSize is not supported by this operation.");
|
|
9238
|
+
}
|
|
9239
|
+
return this.listForResourcePagingPage(resourceId, options, settings);
|
|
8244
9240
|
}
|
|
8245
9241
|
};
|
|
8246
9242
|
}
|
|
8247
|
-
listForResourcePagingPage(resourceId, options) {
|
|
9243
|
+
listForResourcePagingPage(resourceId, options, settings) {
|
|
8248
9244
|
return tslib.__asyncGenerator(this, arguments, function* listForResourcePagingPage_1() {
|
|
8249
|
-
let result
|
|
8250
|
-
|
|
8251
|
-
|
|
9245
|
+
let result;
|
|
9246
|
+
let continuationToken = settings === null || settings === void 0 ? void 0 : settings.continuationToken;
|
|
9247
|
+
if (!continuationToken) {
|
|
9248
|
+
result = yield tslib.__await(this._listForResource(resourceId, options));
|
|
9249
|
+
let page = result.value || [];
|
|
9250
|
+
continuationToken = result.nextLink;
|
|
9251
|
+
setContinuationToken(page, continuationToken);
|
|
9252
|
+
yield yield tslib.__await(page);
|
|
9253
|
+
}
|
|
8252
9254
|
while (continuationToken) {
|
|
8253
9255
|
result = yield tslib.__await(this._listForResourceNext(resourceId, continuationToken, options));
|
|
8254
9256
|
continuationToken = result.nextLink;
|
|
8255
|
-
|
|
9257
|
+
let page = result.value || [];
|
|
9258
|
+
setContinuationToken(page, continuationToken);
|
|
9259
|
+
yield yield tslib.__await(page);
|
|
8256
9260
|
}
|
|
8257
9261
|
});
|
|
8258
9262
|
}
|
|
@@ -8546,7 +9550,7 @@ const listForSubscriptionOperationSpec = {
|
|
|
8546
9550
|
bodyMapper: ErrorResponseAutoGenerated2
|
|
8547
9551
|
}
|
|
8548
9552
|
},
|
|
8549
|
-
queryParameters: [top, filter,
|
|
9553
|
+
queryParameters: [top, filter, apiVersion5],
|
|
8550
9554
|
urlParameters: [$host, subscriptionId],
|
|
8551
9555
|
headerParameters: [accept],
|
|
8552
9556
|
serializer
|
|
@@ -8572,7 +9576,7 @@ const createOrUpdateAtSubscriptionOperationSpec = {
|
|
|
8572
9576
|
}
|
|
8573
9577
|
},
|
|
8574
9578
|
requestBody: parameters3,
|
|
8575
|
-
queryParameters: [
|
|
9579
|
+
queryParameters: [apiVersion5],
|
|
8576
9580
|
urlParameters: [
|
|
8577
9581
|
$host,
|
|
8578
9582
|
subscriptionId,
|
|
@@ -8593,7 +9597,7 @@ const getAtSubscriptionOperationSpec = {
|
|
|
8593
9597
|
bodyMapper: ErrorResponseAutoGenerated2
|
|
8594
9598
|
}
|
|
8595
9599
|
},
|
|
8596
|
-
queryParameters: [
|
|
9600
|
+
queryParameters: [apiVersion5],
|
|
8597
9601
|
urlParameters: [
|
|
8598
9602
|
$host,
|
|
8599
9603
|
subscriptionId,
|
|
@@ -8612,7 +9616,7 @@ const deleteAtSubscriptionOperationSpec = {
|
|
|
8612
9616
|
bodyMapper: ErrorResponseAutoGenerated2
|
|
8613
9617
|
}
|
|
8614
9618
|
},
|
|
8615
|
-
queryParameters: [
|
|
9619
|
+
queryParameters: [apiVersion5],
|
|
8616
9620
|
urlParameters: [
|
|
8617
9621
|
$host,
|
|
8618
9622
|
subscriptionId,
|
|
@@ -8632,7 +9636,7 @@ const listForResourceGroupOperationSpec = {
|
|
|
8632
9636
|
bodyMapper: ErrorResponseAutoGenerated2
|
|
8633
9637
|
}
|
|
8634
9638
|
},
|
|
8635
|
-
queryParameters: [top, filter,
|
|
9639
|
+
queryParameters: [top, filter, apiVersion5],
|
|
8636
9640
|
urlParameters: [
|
|
8637
9641
|
$host,
|
|
8638
9642
|
subscriptionId,
|
|
@@ -8662,7 +9666,7 @@ const createOrUpdateAtResourceGroupOperationSpec = {
|
|
|
8662
9666
|
}
|
|
8663
9667
|
},
|
|
8664
9668
|
requestBody: parameters3,
|
|
8665
|
-
queryParameters: [
|
|
9669
|
+
queryParameters: [apiVersion5],
|
|
8666
9670
|
urlParameters: [
|
|
8667
9671
|
$host,
|
|
8668
9672
|
subscriptionId,
|
|
@@ -8684,7 +9688,7 @@ const getAtResourceGroupOperationSpec = {
|
|
|
8684
9688
|
bodyMapper: ErrorResponseAutoGenerated2
|
|
8685
9689
|
}
|
|
8686
9690
|
},
|
|
8687
|
-
queryParameters: [
|
|
9691
|
+
queryParameters: [apiVersion5],
|
|
8688
9692
|
urlParameters: [
|
|
8689
9693
|
$host,
|
|
8690
9694
|
subscriptionId,
|
|
@@ -8704,7 +9708,7 @@ const deleteAtResourceGroupOperationSpec = {
|
|
|
8704
9708
|
bodyMapper: ErrorResponseAutoGenerated2
|
|
8705
9709
|
}
|
|
8706
9710
|
},
|
|
8707
|
-
queryParameters: [
|
|
9711
|
+
queryParameters: [apiVersion5],
|
|
8708
9712
|
urlParameters: [
|
|
8709
9713
|
$host,
|
|
8710
9714
|
subscriptionId,
|
|
@@ -8725,7 +9729,7 @@ const listForResourceOperationSpec = {
|
|
|
8725
9729
|
bodyMapper: ErrorResponseAutoGenerated2
|
|
8726
9730
|
}
|
|
8727
9731
|
},
|
|
8728
|
-
queryParameters: [top, filter,
|
|
9732
|
+
queryParameters: [top, filter, apiVersion5],
|
|
8729
9733
|
urlParameters: [$host, resourceId],
|
|
8730
9734
|
headerParameters: [accept],
|
|
8731
9735
|
serializer
|
|
@@ -8751,7 +9755,7 @@ const createOrUpdateAtResourceOperationSpec = {
|
|
|
8751
9755
|
}
|
|
8752
9756
|
},
|
|
8753
9757
|
requestBody: parameters3,
|
|
8754
|
-
queryParameters: [
|
|
9758
|
+
queryParameters: [apiVersion5],
|
|
8755
9759
|
urlParameters: [
|
|
8756
9760
|
$host,
|
|
8757
9761
|
resourceId,
|
|
@@ -8772,7 +9776,7 @@ const getAtResourceOperationSpec = {
|
|
|
8772
9776
|
bodyMapper: ErrorResponseAutoGenerated2
|
|
8773
9777
|
}
|
|
8774
9778
|
},
|
|
8775
|
-
queryParameters: [
|
|
9779
|
+
queryParameters: [apiVersion5],
|
|
8776
9780
|
urlParameters: [
|
|
8777
9781
|
$host,
|
|
8778
9782
|
resourceId,
|
|
@@ -8791,7 +9795,7 @@ const deleteAtResourceOperationSpec = {
|
|
|
8791
9795
|
bodyMapper: ErrorResponseAutoGenerated2
|
|
8792
9796
|
}
|
|
8793
9797
|
},
|
|
8794
|
-
queryParameters: [
|
|
9798
|
+
queryParameters: [apiVersion5],
|
|
8795
9799
|
urlParameters: [
|
|
8796
9800
|
$host,
|
|
8797
9801
|
resourceId,
|
|
@@ -8811,7 +9815,6 @@ const listForSubscriptionNextOperationSpec = {
|
|
|
8811
9815
|
bodyMapper: ErrorResponseAutoGenerated2
|
|
8812
9816
|
}
|
|
8813
9817
|
},
|
|
8814
|
-
queryParameters: [top, filter, apiVersion4],
|
|
8815
9818
|
urlParameters: [
|
|
8816
9819
|
$host,
|
|
8817
9820
|
subscriptionId,
|
|
@@ -8831,7 +9834,6 @@ const listForResourceGroupNextOperationSpec = {
|
|
|
8831
9834
|
bodyMapper: ErrorResponseAutoGenerated2
|
|
8832
9835
|
}
|
|
8833
9836
|
},
|
|
8834
|
-
queryParameters: [top, filter, apiVersion4],
|
|
8835
9837
|
urlParameters: [
|
|
8836
9838
|
$host,
|
|
8837
9839
|
subscriptionId,
|
|
@@ -8852,7 +9854,6 @@ const listForResourceNextOperationSpec = {
|
|
|
8852
9854
|
bodyMapper: ErrorResponseAutoGenerated2
|
|
8853
9855
|
}
|
|
8854
9856
|
},
|
|
8855
|
-
queryParameters: [top, filter, apiVersion4],
|
|
8856
9857
|
urlParameters: [$host, resourceId, nextLink],
|
|
8857
9858
|
headerParameters: [accept],
|
|
8858
9859
|
serializer
|
|
@@ -8873,7 +9874,7 @@ class PolicyInsightsClient extends coreClient__namespace.ServiceClient {
|
|
|
8873
9874
|
* @param options The parameter options
|
|
8874
9875
|
*/
|
|
8875
9876
|
constructor(credentials, subscriptionId, options) {
|
|
8876
|
-
var _a, _b;
|
|
9877
|
+
var _a, _b, _c;
|
|
8877
9878
|
if (credentials === undefined) {
|
|
8878
9879
|
throw new Error("'credentials' cannot be null");
|
|
8879
9880
|
}
|
|
@@ -8888,17 +9889,35 @@ class PolicyInsightsClient extends coreClient__namespace.ServiceClient {
|
|
|
8888
9889
|
requestContentType: "application/json; charset=utf-8",
|
|
8889
9890
|
credential: credentials
|
|
8890
9891
|
};
|
|
8891
|
-
const packageDetails = `azsdk-js-arm-policyinsights/6.0.0-beta.
|
|
9892
|
+
const packageDetails = `azsdk-js-arm-policyinsights/6.0.0-beta.3`;
|
|
8892
9893
|
const userAgentPrefix = options.userAgentOptions && options.userAgentOptions.userAgentPrefix
|
|
8893
9894
|
? `${options.userAgentOptions.userAgentPrefix} ${packageDetails}`
|
|
8894
9895
|
: `${packageDetails}`;
|
|
8895
|
-
if (!options.credentialScopes) {
|
|
8896
|
-
options.credentialScopes = ["https://management.azure.com/.default"];
|
|
8897
|
-
}
|
|
8898
9896
|
const optionsWithDefaults = Object.assign(Object.assign(Object.assign({}, defaults), options), { userAgentOptions: {
|
|
8899
9897
|
userAgentPrefix
|
|
8900
|
-
},
|
|
9898
|
+
}, endpoint: (_b = (_a = options.endpoint) !== null && _a !== void 0 ? _a : options.baseUri) !== null && _b !== void 0 ? _b : "https://management.azure.com" });
|
|
8901
9899
|
super(optionsWithDefaults);
|
|
9900
|
+
let bearerTokenAuthenticationPolicyFound = false;
|
|
9901
|
+
if ((options === null || options === void 0 ? void 0 : options.pipeline) && options.pipeline.getOrderedPolicies().length > 0) {
|
|
9902
|
+
const pipelinePolicies = options.pipeline.getOrderedPolicies();
|
|
9903
|
+
bearerTokenAuthenticationPolicyFound = pipelinePolicies.some((pipelinePolicy) => pipelinePolicy.name ===
|
|
9904
|
+
coreRestPipeline__namespace.bearerTokenAuthenticationPolicyName);
|
|
9905
|
+
}
|
|
9906
|
+
if (!options ||
|
|
9907
|
+
!options.pipeline ||
|
|
9908
|
+
options.pipeline.getOrderedPolicies().length == 0 ||
|
|
9909
|
+
!bearerTokenAuthenticationPolicyFound) {
|
|
9910
|
+
this.pipeline.removePolicy({
|
|
9911
|
+
name: coreRestPipeline__namespace.bearerTokenAuthenticationPolicyName
|
|
9912
|
+
});
|
|
9913
|
+
this.pipeline.addPolicy(coreRestPipeline__namespace.bearerTokenAuthenticationPolicy({
|
|
9914
|
+
credential: credentials,
|
|
9915
|
+
scopes: (_c = optionsWithDefaults.credentialScopes) !== null && _c !== void 0 ? _c : `${optionsWithDefaults.endpoint}/.default`,
|
|
9916
|
+
challengeCallbacks: {
|
|
9917
|
+
authorizeRequestOnChallenge: coreClient__namespace.authorizeRequestOnClaimChallenge
|
|
9918
|
+
}
|
|
9919
|
+
}));
|
|
9920
|
+
}
|
|
8902
9921
|
// Parameter assignments
|
|
8903
9922
|
this.subscriptionId = subscriptionId;
|
|
8904
9923
|
// Assigning values to Constant parameters
|
|
@@ -8907,12 +9926,14 @@ class PolicyInsightsClient extends coreClient__namespace.ServiceClient {
|
|
|
8907
9926
|
this.remediations = new RemediationsImpl(this);
|
|
8908
9927
|
this.policyEvents = new PolicyEventsImpl(this);
|
|
8909
9928
|
this.policyStates = new PolicyStatesImpl(this);
|
|
8910
|
-
this.operations = new OperationsImpl(this);
|
|
8911
9929
|
this.policyMetadataOperations = new PolicyMetadataOperationsImpl(this);
|
|
8912
9930
|
this.policyRestrictions = new PolicyRestrictionsImpl(this);
|
|
9931
|
+
this.componentPolicyStates = new ComponentPolicyStatesImpl(this);
|
|
9932
|
+
this.operations = new OperationsImpl(this);
|
|
8913
9933
|
this.attestations = new AttestationsImpl(this);
|
|
8914
9934
|
}
|
|
8915
9935
|
}
|
|
8916
9936
|
|
|
8917
9937
|
exports.PolicyInsightsClient = PolicyInsightsClient;
|
|
9938
|
+
exports.getContinuationToken = getContinuationToken;
|
|
8918
9939
|
//# sourceMappingURL=index.js.map
|