@azure/arm-policyinsights 6.0.0-beta.3 → 6.0.0
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 +184 -3
- package/LICENSE +1 -1
- package/README.md +3 -4
- package/dist/browser/index.d.ts +5 -0
- package/dist/browser/index.d.ts.map +1 -0
- package/dist/browser/index.js +13 -0
- package/dist/browser/index.js.map +1 -0
- package/dist/browser/lroImpl.d.ts +11 -0
- package/dist/browser/lroImpl.d.ts.map +1 -0
- package/dist/browser/lroImpl.js +21 -0
- package/dist/browser/lroImpl.js.map +1 -0
- package/dist/browser/models/index.d.ts +2256 -0
- package/dist/browser/models/index.d.ts.map +1 -0
- package/dist/browser/models/index.js +82 -0
- package/dist/browser/models/index.js.map +1 -0
- package/dist/browser/models/mappers.d.ts +67 -0
- package/dist/browser/models/mappers.d.ts.map +1 -0
- package/dist/browser/models/mappers.js +2982 -0
- package/dist/browser/models/mappers.js.map +1 -0
- package/dist/browser/models/parameters.d.ts +51 -0
- package/dist/browser/models/parameters.d.ts.map +1 -0
- package/dist/browser/models/parameters.js +488 -0
- package/dist/browser/models/parameters.js.map +1 -0
- package/dist/browser/operations/attestations.d.ts +161 -0
- package/dist/browser/operations/attestations.d.ts.map +1 -0
- package/dist/browser/operations/attestations.js +790 -0
- package/dist/browser/operations/attestations.js.map +1 -0
- package/dist/browser/operations/componentPolicyStates.d.ts +66 -0
- package/dist/browser/operations/componentPolicyStates.d.ts.map +1 -0
- package/dist/browser/operations/componentPolicyStates.js +292 -0
- package/dist/browser/operations/componentPolicyStates.js.map +1 -0
- package/dist/browser/operations/index.d.ts +10 -0
- package/dist/browser/operations/index.d.ts.map +1 -0
- package/dist/browser/operations/index.js +17 -0
- package/dist/browser/operations/index.js.map +1 -0
- package/dist/browser/operations/operations.d.ts +18 -0
- package/dist/browser/operations/operations.d.ts.map +1 -0
- package/dist/browser/operations/operations.js +46 -0
- package/dist/browser/operations/operations.js.map +1 -0
- package/dist/browser/operations/policyEvents.d.ts +256 -0
- package/dist/browser/operations/policyEvents.d.ts.map +1 -0
- package/dist/browser/operations/policyEvents.js +1200 -0
- package/dist/browser/operations/policyEvents.js.map +1 -0
- package/dist/browser/operations/policyMetadataOperations.d.ts +38 -0
- package/dist/browser/operations/policyMetadataOperations.d.ts.map +1 -0
- package/dist/browser/operations/policyMetadataOperations.js +157 -0
- package/dist/browser/operations/policyMetadataOperations.js.map +1 -0
- package/dist/browser/operations/policyRestrictions.d.ts +34 -0
- package/dist/browser/operations/policyRestrictions.d.ts.map +1 -0
- package/dist/browser/operations/policyRestrictions.js +112 -0
- package/dist/browser/operations/policyRestrictions.js.map +1 -0
- package/dist/browser/operations/policyStates.d.ts +385 -0
- package/dist/browser/operations/policyStates.d.ts.map +1 -0
- package/dist/browser/operations/policyStates.js +1705 -0
- package/dist/browser/operations/policyStates.js.map +1 -0
- package/dist/browser/operations/policyTrackedResources.d.ts +123 -0
- package/dist/browser/operations/policyTrackedResources.d.ts.map +1 -0
- package/dist/browser/operations/policyTrackedResources.js +536 -0
- package/dist/browser/operations/policyTrackedResources.js.map +1 -0
- package/dist/browser/operations/remediations.d.ts +304 -0
- package/dist/browser/operations/remediations.d.ts.map +1 -0
- package/dist/browser/operations/remediations.js +1474 -0
- package/dist/browser/operations/remediations.js.map +1 -0
- package/dist/browser/operationsInterfaces/attestations.d.ts +110 -0
- package/dist/browser/operationsInterfaces/attestations.d.ts.map +1 -0
- package/dist/browser/operationsInterfaces/attestations.js.map +1 -0
- package/dist/browser/operationsInterfaces/componentPolicyStates.d.ts +58 -0
- package/dist/browser/operationsInterfaces/componentPolicyStates.d.ts.map +1 -0
- package/dist/browser/operationsInterfaces/componentPolicyStates.js.map +1 -0
- package/dist/browser/operationsInterfaces/index.d.ts +10 -0
- package/dist/browser/operationsInterfaces/index.d.ts.map +1 -0
- package/dist/browser/operationsInterfaces/index.js +17 -0
- package/dist/browser/operationsInterfaces/index.js.map +1 -0
- package/dist/browser/operationsInterfaces/operations.d.ts +10 -0
- package/dist/browser/operationsInterfaces/operations.d.ts.map +1 -0
- package/dist/browser/operationsInterfaces/operations.js.map +1 -0
- package/dist/browser/operationsInterfaces/policyEvents.d.ts +76 -0
- package/dist/browser/operationsInterfaces/policyEvents.d.ts.map +1 -0
- package/dist/browser/operationsInterfaces/policyEvents.js.map +1 -0
- package/dist/browser/operationsInterfaces/policyMetadataOperations.d.ts +17 -0
- package/dist/browser/operationsInterfaces/policyMetadataOperations.d.ts.map +1 -0
- package/dist/browser/operationsInterfaces/policyMetadataOperations.js.map +1 -0
- package/dist/browser/operationsInterfaces/policyRestrictions.d.ts +26 -0
- package/dist/browser/operationsInterfaces/policyRestrictions.d.ts.map +1 -0
- package/dist/browser/operationsInterfaces/policyRestrictions.js.map +1 -0
- package/dist/browser/operationsInterfaces/policyStates.d.ts +189 -0
- package/dist/browser/operationsInterfaces/policyStates.d.ts.map +1 -0
- package/dist/browser/operationsInterfaces/policyStates.js.map +1 -0
- package/dist/browser/operationsInterfaces/policyTrackedResources.d.ts +37 -0
- package/dist/browser/operationsInterfaces/policyTrackedResources.d.ts.map +1 -0
- package/dist/browser/operationsInterfaces/policyTrackedResources.js.map +1 -0
- package/dist/browser/operationsInterfaces/remediations.d.ts +168 -0
- package/dist/browser/operationsInterfaces/remediations.d.ts.map +1 -0
- package/dist/browser/operationsInterfaces/remediations.js.map +1 -0
- package/dist/browser/package.json +3 -0
- package/dist/browser/pagingHelper.js.map +1 -0
- package/dist/browser/policyInsightsClient.d.ts +26 -0
- package/dist/browser/policyInsightsClient.d.ts.map +1 -0
- package/dist/browser/policyInsightsClient.js +76 -0
- package/dist/browser/policyInsightsClient.js.map +1 -0
- package/dist/commonjs/index.d.ts +5 -0
- package/dist/commonjs/index.d.ts.map +1 -0
- package/dist/commonjs/index.js +19 -0
- package/dist/commonjs/index.js.map +1 -0
- package/dist/commonjs/lroImpl.d.ts +11 -0
- package/dist/commonjs/lroImpl.d.ts.map +1 -0
- package/dist/commonjs/lroImpl.js +24 -0
- package/dist/commonjs/lroImpl.js.map +1 -0
- package/dist/commonjs/models/index.d.ts +2256 -0
- package/dist/commonjs/models/index.d.ts.map +1 -0
- package/dist/commonjs/models/index.js +85 -0
- package/dist/commonjs/models/index.js.map +1 -0
- package/dist/commonjs/models/mappers.d.ts +67 -0
- package/dist/commonjs/models/mappers.d.ts.map +1 -0
- package/dist/commonjs/models/mappers.js +2986 -0
- package/dist/commonjs/models/mappers.js.map +1 -0
- package/dist/commonjs/models/parameters.d.ts +51 -0
- package/dist/commonjs/models/parameters.d.ts.map +1 -0
- package/dist/commonjs/models/parameters.js +491 -0
- package/dist/commonjs/models/parameters.js.map +1 -0
- package/dist/commonjs/operations/attestations.d.ts +161 -0
- package/dist/commonjs/operations/attestations.d.ts.map +1 -0
- package/dist/commonjs/operations/attestations.js +794 -0
- package/dist/commonjs/operations/attestations.js.map +1 -0
- package/dist/commonjs/operations/componentPolicyStates.d.ts +66 -0
- package/dist/commonjs/operations/componentPolicyStates.d.ts.map +1 -0
- package/dist/commonjs/operations/componentPolicyStates.js +297 -0
- package/dist/commonjs/operations/componentPolicyStates.js.map +1 -0
- package/dist/commonjs/operations/index.d.ts +10 -0
- package/dist/commonjs/operations/index.d.ts.map +1 -0
- package/dist/commonjs/operations/index.js +20 -0
- package/dist/commonjs/operations/index.js.map +1 -0
- package/dist/commonjs/operations/operations.d.ts +18 -0
- package/dist/commonjs/operations/operations.d.ts.map +1 -0
- package/dist/commonjs/operations/operations.js +51 -0
- package/dist/commonjs/operations/operations.js.map +1 -0
- package/dist/commonjs/operations/policyEvents.d.ts +256 -0
- package/dist/commonjs/operations/policyEvents.d.ts.map +1 -0
- package/dist/commonjs/operations/policyEvents.js +1204 -0
- package/dist/commonjs/operations/policyEvents.js.map +1 -0
- package/dist/commonjs/operations/policyMetadataOperations.d.ts +38 -0
- package/dist/commonjs/operations/policyMetadataOperations.d.ts.map +1 -0
- package/dist/commonjs/operations/policyMetadataOperations.js +161 -0
- package/dist/commonjs/operations/policyMetadataOperations.js.map +1 -0
- package/dist/commonjs/operations/policyRestrictions.d.ts +34 -0
- package/dist/commonjs/operations/policyRestrictions.d.ts.map +1 -0
- package/dist/commonjs/operations/policyRestrictions.js +117 -0
- package/dist/commonjs/operations/policyRestrictions.js.map +1 -0
- package/dist/commonjs/operations/policyStates.d.ts +385 -0
- package/dist/commonjs/operations/policyStates.d.ts.map +1 -0
- package/dist/commonjs/operations/policyStates.js +1709 -0
- package/dist/commonjs/operations/policyStates.js.map +1 -0
- package/dist/commonjs/operations/policyTrackedResources.d.ts +123 -0
- package/dist/commonjs/operations/policyTrackedResources.d.ts.map +1 -0
- package/dist/commonjs/operations/policyTrackedResources.js +540 -0
- package/dist/commonjs/operations/policyTrackedResources.js.map +1 -0
- package/dist/commonjs/operations/remediations.d.ts +304 -0
- package/dist/commonjs/operations/remediations.d.ts.map +1 -0
- package/dist/commonjs/operations/remediations.js +1478 -0
- package/dist/commonjs/operations/remediations.js.map +1 -0
- package/dist/commonjs/operationsInterfaces/attestations.d.ts +110 -0
- package/dist/commonjs/operationsInterfaces/attestations.d.ts.map +1 -0
- package/dist/commonjs/operationsInterfaces/attestations.js +10 -0
- package/dist/commonjs/operationsInterfaces/attestations.js.map +1 -0
- package/dist/commonjs/operationsInterfaces/componentPolicyStates.d.ts +58 -0
- package/dist/commonjs/operationsInterfaces/componentPolicyStates.d.ts.map +1 -0
- package/dist/commonjs/operationsInterfaces/componentPolicyStates.js +10 -0
- package/dist/commonjs/operationsInterfaces/componentPolicyStates.js.map +1 -0
- package/dist/commonjs/operationsInterfaces/index.d.ts +10 -0
- package/dist/commonjs/operationsInterfaces/index.d.ts.map +1 -0
- package/dist/commonjs/operationsInterfaces/index.js +20 -0
- package/dist/commonjs/operationsInterfaces/index.js.map +1 -0
- package/dist/commonjs/operationsInterfaces/operations.d.ts +10 -0
- package/dist/commonjs/operationsInterfaces/operations.d.ts.map +1 -0
- package/dist/commonjs/operationsInterfaces/operations.js +10 -0
- package/dist/commonjs/operationsInterfaces/operations.js.map +1 -0
- package/dist/commonjs/operationsInterfaces/policyEvents.d.ts +76 -0
- package/dist/commonjs/operationsInterfaces/policyEvents.d.ts.map +1 -0
- package/dist/commonjs/operationsInterfaces/policyEvents.js +10 -0
- package/dist/commonjs/operationsInterfaces/policyEvents.js.map +1 -0
- package/dist/commonjs/operationsInterfaces/policyMetadataOperations.d.ts +17 -0
- package/dist/commonjs/operationsInterfaces/policyMetadataOperations.d.ts.map +1 -0
- package/dist/commonjs/operationsInterfaces/policyMetadataOperations.js +10 -0
- package/dist/commonjs/operationsInterfaces/policyMetadataOperations.js.map +1 -0
- package/dist/commonjs/operationsInterfaces/policyRestrictions.d.ts +26 -0
- package/dist/commonjs/operationsInterfaces/policyRestrictions.d.ts.map +1 -0
- package/dist/commonjs/operationsInterfaces/policyRestrictions.js +10 -0
- package/dist/commonjs/operationsInterfaces/policyRestrictions.js.map +1 -0
- package/dist/commonjs/operationsInterfaces/policyStates.d.ts +189 -0
- package/dist/commonjs/operationsInterfaces/policyStates.d.ts.map +1 -0
- package/dist/commonjs/operationsInterfaces/policyStates.js +10 -0
- package/dist/commonjs/operationsInterfaces/policyStates.js.map +1 -0
- package/dist/commonjs/operationsInterfaces/policyTrackedResources.d.ts +37 -0
- package/dist/commonjs/operationsInterfaces/policyTrackedResources.d.ts.map +1 -0
- package/dist/commonjs/operationsInterfaces/policyTrackedResources.js +10 -0
- package/dist/commonjs/operationsInterfaces/policyTrackedResources.js.map +1 -0
- package/dist/commonjs/operationsInterfaces/remediations.d.ts +168 -0
- package/dist/commonjs/operationsInterfaces/remediations.d.ts.map +1 -0
- package/dist/commonjs/operationsInterfaces/remediations.js +10 -0
- package/dist/commonjs/operationsInterfaces/remediations.js.map +1 -0
- package/dist/commonjs/package.json +3 -0
- package/dist/commonjs/pagingHelper.d.ts +13 -0
- package/dist/commonjs/pagingHelper.d.ts.map +1 -0
- package/dist/commonjs/pagingHelper.js +36 -0
- package/dist/commonjs/pagingHelper.js.map +1 -0
- package/dist/commonjs/policyInsightsClient.d.ts +26 -0
- package/dist/commonjs/policyInsightsClient.d.ts.map +1 -0
- package/dist/commonjs/policyInsightsClient.js +81 -0
- package/dist/commonjs/policyInsightsClient.js.map +1 -0
- package/dist/commonjs/tsdoc-metadata.json +11 -0
- package/dist/esm/index.d.ts +5 -0
- package/dist/esm/index.d.ts.map +1 -0
- package/dist/esm/index.js +13 -0
- package/dist/esm/index.js.map +1 -0
- package/dist/esm/lroImpl.d.ts +11 -0
- package/dist/esm/lroImpl.d.ts.map +1 -0
- package/dist/esm/lroImpl.js +21 -0
- package/dist/esm/lroImpl.js.map +1 -0
- package/dist/esm/models/index.d.ts +2256 -0
- package/dist/esm/models/index.d.ts.map +1 -0
- package/dist/esm/models/index.js +82 -0
- package/dist/esm/models/index.js.map +1 -0
- package/dist/esm/models/mappers.d.ts +67 -0
- package/dist/esm/models/mappers.d.ts.map +1 -0
- package/dist/esm/models/mappers.js +2982 -0
- package/dist/esm/models/mappers.js.map +1 -0
- package/dist/esm/models/parameters.d.ts +51 -0
- package/dist/esm/models/parameters.d.ts.map +1 -0
- package/dist/esm/models/parameters.js +488 -0
- package/dist/esm/models/parameters.js.map +1 -0
- package/dist/esm/operations/attestations.d.ts +161 -0
- package/dist/esm/operations/attestations.d.ts.map +1 -0
- package/dist/esm/operations/attestations.js +790 -0
- package/dist/esm/operations/attestations.js.map +1 -0
- package/dist/esm/operations/componentPolicyStates.d.ts +66 -0
- package/dist/esm/operations/componentPolicyStates.d.ts.map +1 -0
- package/dist/esm/operations/componentPolicyStates.js +292 -0
- package/dist/esm/operations/componentPolicyStates.js.map +1 -0
- package/dist/esm/operations/index.d.ts +10 -0
- package/dist/esm/operations/index.d.ts.map +1 -0
- package/dist/esm/operations/index.js +17 -0
- package/dist/esm/operations/index.js.map +1 -0
- package/dist/esm/operations/operations.d.ts +18 -0
- package/dist/esm/operations/operations.d.ts.map +1 -0
- package/dist/esm/operations/operations.js +46 -0
- package/dist/esm/operations/operations.js.map +1 -0
- package/dist/esm/operations/policyEvents.d.ts +256 -0
- package/dist/esm/operations/policyEvents.d.ts.map +1 -0
- package/dist/esm/operations/policyEvents.js +1200 -0
- package/dist/esm/operations/policyEvents.js.map +1 -0
- package/dist/esm/operations/policyMetadataOperations.d.ts +38 -0
- package/dist/esm/operations/policyMetadataOperations.d.ts.map +1 -0
- package/dist/esm/operations/policyMetadataOperations.js +157 -0
- package/dist/esm/operations/policyMetadataOperations.js.map +1 -0
- package/dist/esm/operations/policyRestrictions.d.ts +34 -0
- package/dist/esm/operations/policyRestrictions.d.ts.map +1 -0
- package/dist/esm/operations/policyRestrictions.js +112 -0
- package/dist/esm/operations/policyRestrictions.js.map +1 -0
- package/dist/esm/operations/policyStates.d.ts +385 -0
- package/dist/esm/operations/policyStates.d.ts.map +1 -0
- package/dist/esm/operations/policyStates.js +1705 -0
- package/dist/esm/operations/policyStates.js.map +1 -0
- package/dist/esm/operations/policyTrackedResources.d.ts +123 -0
- package/dist/esm/operations/policyTrackedResources.d.ts.map +1 -0
- package/dist/esm/operations/policyTrackedResources.js +536 -0
- package/dist/esm/operations/policyTrackedResources.js.map +1 -0
- package/dist/esm/operations/remediations.d.ts +304 -0
- package/dist/esm/operations/remediations.d.ts.map +1 -0
- package/dist/esm/operations/remediations.js +1474 -0
- package/dist/esm/operations/remediations.js.map +1 -0
- package/dist/esm/operationsInterfaces/attestations.d.ts +110 -0
- package/dist/esm/operationsInterfaces/attestations.d.ts.map +1 -0
- package/dist/esm/operationsInterfaces/attestations.js +9 -0
- package/dist/esm/operationsInterfaces/attestations.js.map +1 -0
- package/dist/esm/operationsInterfaces/componentPolicyStates.d.ts +58 -0
- package/dist/esm/operationsInterfaces/componentPolicyStates.d.ts.map +1 -0
- package/dist/esm/operationsInterfaces/componentPolicyStates.js +9 -0
- package/dist/esm/operationsInterfaces/componentPolicyStates.js.map +1 -0
- package/dist/esm/operationsInterfaces/index.d.ts +10 -0
- package/dist/esm/operationsInterfaces/index.d.ts.map +1 -0
- package/dist/esm/operationsInterfaces/index.js +17 -0
- package/dist/esm/operationsInterfaces/index.js.map +1 -0
- package/dist/esm/operationsInterfaces/operations.d.ts +10 -0
- package/dist/esm/operationsInterfaces/operations.d.ts.map +1 -0
- package/dist/esm/operationsInterfaces/operations.js +9 -0
- package/dist/esm/operationsInterfaces/operations.js.map +1 -0
- package/dist/esm/operationsInterfaces/policyEvents.d.ts +76 -0
- package/dist/esm/operationsInterfaces/policyEvents.d.ts.map +1 -0
- package/dist/esm/operationsInterfaces/policyEvents.js +9 -0
- package/dist/esm/operationsInterfaces/policyEvents.js.map +1 -0
- package/dist/esm/operationsInterfaces/policyMetadataOperations.d.ts +17 -0
- package/dist/esm/operationsInterfaces/policyMetadataOperations.d.ts.map +1 -0
- package/dist/esm/operationsInterfaces/policyMetadataOperations.js +9 -0
- package/dist/esm/operationsInterfaces/policyMetadataOperations.js.map +1 -0
- package/dist/esm/operationsInterfaces/policyRestrictions.d.ts +26 -0
- package/dist/esm/operationsInterfaces/policyRestrictions.d.ts.map +1 -0
- package/dist/esm/operationsInterfaces/policyRestrictions.js +9 -0
- package/dist/esm/operationsInterfaces/policyRestrictions.js.map +1 -0
- package/dist/esm/operationsInterfaces/policyStates.d.ts +189 -0
- package/dist/esm/operationsInterfaces/policyStates.d.ts.map +1 -0
- package/dist/esm/operationsInterfaces/policyStates.js +9 -0
- package/dist/esm/operationsInterfaces/policyStates.js.map +1 -0
- package/dist/esm/operationsInterfaces/policyTrackedResources.d.ts +37 -0
- package/dist/esm/operationsInterfaces/policyTrackedResources.d.ts.map +1 -0
- package/dist/esm/operationsInterfaces/policyTrackedResources.js +9 -0
- package/dist/esm/operationsInterfaces/policyTrackedResources.js.map +1 -0
- package/dist/esm/operationsInterfaces/remediations.d.ts +168 -0
- package/dist/esm/operationsInterfaces/remediations.d.ts.map +1 -0
- package/dist/esm/operationsInterfaces/remediations.js +9 -0
- package/dist/esm/operationsInterfaces/remediations.js.map +1 -0
- package/dist/esm/package.json +3 -0
- package/dist/esm/pagingHelper.d.ts +13 -0
- package/dist/esm/pagingHelper.d.ts.map +1 -0
- package/dist/esm/pagingHelper.js +32 -0
- package/dist/esm/pagingHelper.js.map +1 -0
- package/dist/esm/policyInsightsClient.d.ts +26 -0
- package/dist/esm/policyInsightsClient.d.ts.map +1 -0
- package/dist/esm/policyInsightsClient.js +76 -0
- package/dist/esm/policyInsightsClient.js.map +1 -0
- package/dist/react-native/index.d.ts +5 -0
- package/dist/react-native/index.d.ts.map +1 -0
- package/dist/react-native/index.js +13 -0
- package/dist/react-native/index.js.map +1 -0
- package/dist/react-native/lroImpl.d.ts +11 -0
- package/dist/react-native/lroImpl.d.ts.map +1 -0
- package/dist/react-native/lroImpl.js +21 -0
- package/dist/react-native/lroImpl.js.map +1 -0
- package/dist/react-native/models/index.d.ts +2256 -0
- package/dist/react-native/models/index.d.ts.map +1 -0
- package/dist/react-native/models/index.js +82 -0
- package/dist/react-native/models/index.js.map +1 -0
- package/dist/react-native/models/mappers.d.ts +67 -0
- package/dist/react-native/models/mappers.d.ts.map +1 -0
- package/dist/react-native/models/mappers.js +2982 -0
- package/dist/react-native/models/mappers.js.map +1 -0
- package/dist/react-native/models/parameters.d.ts +51 -0
- package/dist/react-native/models/parameters.d.ts.map +1 -0
- package/dist/react-native/models/parameters.js +488 -0
- package/dist/react-native/models/parameters.js.map +1 -0
- package/dist/react-native/operations/attestations.d.ts +161 -0
- package/dist/react-native/operations/attestations.d.ts.map +1 -0
- package/dist/react-native/operations/attestations.js +790 -0
- package/dist/react-native/operations/attestations.js.map +1 -0
- package/dist/react-native/operations/componentPolicyStates.d.ts +66 -0
- package/dist/react-native/operations/componentPolicyStates.d.ts.map +1 -0
- package/dist/react-native/operations/componentPolicyStates.js +292 -0
- package/dist/react-native/operations/componentPolicyStates.js.map +1 -0
- package/dist/react-native/operations/index.d.ts +10 -0
- package/dist/react-native/operations/index.d.ts.map +1 -0
- package/dist/react-native/operations/index.js +17 -0
- package/dist/react-native/operations/index.js.map +1 -0
- package/dist/react-native/operations/operations.d.ts +18 -0
- package/dist/react-native/operations/operations.d.ts.map +1 -0
- package/dist/react-native/operations/operations.js +46 -0
- package/dist/react-native/operations/operations.js.map +1 -0
- package/dist/react-native/operations/policyEvents.d.ts +256 -0
- package/dist/react-native/operations/policyEvents.d.ts.map +1 -0
- package/dist/react-native/operations/policyEvents.js +1200 -0
- package/dist/react-native/operations/policyEvents.js.map +1 -0
- package/dist/react-native/operations/policyMetadataOperations.d.ts +38 -0
- package/dist/react-native/operations/policyMetadataOperations.d.ts.map +1 -0
- package/dist/react-native/operations/policyMetadataOperations.js +157 -0
- package/dist/react-native/operations/policyMetadataOperations.js.map +1 -0
- package/dist/react-native/operations/policyRestrictions.d.ts +34 -0
- package/dist/react-native/operations/policyRestrictions.d.ts.map +1 -0
- package/dist/react-native/operations/policyRestrictions.js +112 -0
- package/dist/react-native/operations/policyRestrictions.js.map +1 -0
- package/dist/react-native/operations/policyStates.d.ts +385 -0
- package/dist/react-native/operations/policyStates.d.ts.map +1 -0
- package/dist/react-native/operations/policyStates.js +1705 -0
- package/dist/react-native/operations/policyStates.js.map +1 -0
- package/dist/react-native/operations/policyTrackedResources.d.ts +123 -0
- package/dist/react-native/operations/policyTrackedResources.d.ts.map +1 -0
- package/dist/react-native/operations/policyTrackedResources.js +536 -0
- package/dist/react-native/operations/policyTrackedResources.js.map +1 -0
- package/dist/react-native/operations/remediations.d.ts +304 -0
- package/dist/react-native/operations/remediations.d.ts.map +1 -0
- package/dist/react-native/operations/remediations.js +1474 -0
- package/dist/react-native/operations/remediations.js.map +1 -0
- package/dist/react-native/operationsInterfaces/attestations.d.ts +110 -0
- package/dist/react-native/operationsInterfaces/attestations.d.ts.map +1 -0
- package/dist/react-native/operationsInterfaces/attestations.js +9 -0
- package/dist/react-native/operationsInterfaces/attestations.js.map +1 -0
- package/dist/react-native/operationsInterfaces/componentPolicyStates.d.ts +58 -0
- package/dist/react-native/operationsInterfaces/componentPolicyStates.d.ts.map +1 -0
- package/dist/react-native/operationsInterfaces/componentPolicyStates.js +9 -0
- package/dist/react-native/operationsInterfaces/componentPolicyStates.js.map +1 -0
- package/dist/react-native/operationsInterfaces/index.d.ts +10 -0
- package/dist/react-native/operationsInterfaces/index.d.ts.map +1 -0
- package/dist/react-native/operationsInterfaces/index.js +17 -0
- package/dist/react-native/operationsInterfaces/index.js.map +1 -0
- package/dist/react-native/operationsInterfaces/operations.d.ts +10 -0
- package/dist/react-native/operationsInterfaces/operations.d.ts.map +1 -0
- package/dist/react-native/operationsInterfaces/operations.js +9 -0
- package/dist/react-native/operationsInterfaces/operations.js.map +1 -0
- package/dist/react-native/operationsInterfaces/policyEvents.d.ts +76 -0
- package/dist/react-native/operationsInterfaces/policyEvents.d.ts.map +1 -0
- package/dist/react-native/operationsInterfaces/policyEvents.js +9 -0
- package/dist/react-native/operationsInterfaces/policyEvents.js.map +1 -0
- package/dist/react-native/operationsInterfaces/policyMetadataOperations.d.ts +17 -0
- package/dist/react-native/operationsInterfaces/policyMetadataOperations.d.ts.map +1 -0
- package/dist/react-native/operationsInterfaces/policyMetadataOperations.js +9 -0
- package/dist/react-native/operationsInterfaces/policyMetadataOperations.js.map +1 -0
- package/dist/react-native/operationsInterfaces/policyRestrictions.d.ts +26 -0
- package/dist/react-native/operationsInterfaces/policyRestrictions.d.ts.map +1 -0
- package/dist/react-native/operationsInterfaces/policyRestrictions.js +9 -0
- package/dist/react-native/operationsInterfaces/policyRestrictions.js.map +1 -0
- package/dist/react-native/operationsInterfaces/policyStates.d.ts +189 -0
- package/dist/react-native/operationsInterfaces/policyStates.d.ts.map +1 -0
- package/dist/react-native/operationsInterfaces/policyStates.js +9 -0
- package/dist/react-native/operationsInterfaces/policyStates.js.map +1 -0
- package/dist/react-native/operationsInterfaces/policyTrackedResources.d.ts +37 -0
- package/dist/react-native/operationsInterfaces/policyTrackedResources.d.ts.map +1 -0
- package/dist/react-native/operationsInterfaces/policyTrackedResources.js +9 -0
- package/dist/react-native/operationsInterfaces/policyTrackedResources.js.map +1 -0
- package/dist/react-native/operationsInterfaces/remediations.d.ts +168 -0
- package/dist/react-native/operationsInterfaces/remediations.d.ts.map +1 -0
- package/dist/react-native/operationsInterfaces/remediations.js +9 -0
- package/dist/react-native/operationsInterfaces/remediations.js.map +1 -0
- package/dist/react-native/package.json +3 -0
- package/dist/react-native/pagingHelper.d.ts +13 -0
- package/dist/react-native/pagingHelper.d.ts.map +1 -0
- package/dist/react-native/pagingHelper.js +32 -0
- package/dist/react-native/pagingHelper.js.map +1 -0
- package/dist/react-native/policyInsightsClient.d.ts +26 -0
- package/dist/react-native/policyInsightsClient.d.ts.map +1 -0
- package/dist/react-native/policyInsightsClient.js +76 -0
- package/dist/react-native/policyInsightsClient.js.map +1 -0
- package/package.json +83 -62
- package/review/arm-policyinsights.api.md +28 -9
- package/dist/index.js +0 -9939
- package/dist/index.js.map +0 -1
- package/dist/index.min.js +0 -1
- package/dist/index.min.js.map +0 -1
- package/dist-esm/samples-dev/attestationsCreateOrUpdateAtResourceGroupSample.d.ts +0 -2
- package/dist-esm/samples-dev/attestationsCreateOrUpdateAtResourceGroupSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/attestationsCreateOrUpdateAtResourceGroupSample.js +0 -55
- package/dist-esm/samples-dev/attestationsCreateOrUpdateAtResourceGroupSample.js.map +0 -1
- package/dist-esm/samples-dev/attestationsCreateOrUpdateAtResourceSample.d.ts +0 -2
- package/dist-esm/samples-dev/attestationsCreateOrUpdateAtResourceSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/attestationsCreateOrUpdateAtResourceSample.js +0 -55
- package/dist-esm/samples-dev/attestationsCreateOrUpdateAtResourceSample.js.map +0 -1
- package/dist-esm/samples-dev/attestationsCreateOrUpdateAtSubscriptionSample.d.ts +0 -2
- package/dist-esm/samples-dev/attestationsCreateOrUpdateAtSubscriptionSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/attestationsCreateOrUpdateAtSubscriptionSample.js +0 -76
- package/dist-esm/samples-dev/attestationsCreateOrUpdateAtSubscriptionSample.js.map +0 -1
- package/dist-esm/samples-dev/attestationsDeleteAtResourceGroupSample.d.ts +0 -2
- package/dist-esm/samples-dev/attestationsDeleteAtResourceGroupSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/attestationsDeleteAtResourceGroupSample.js +0 -39
- package/dist-esm/samples-dev/attestationsDeleteAtResourceGroupSample.js.map +0 -1
- package/dist-esm/samples-dev/attestationsDeleteAtResourceSample.d.ts +0 -2
- package/dist-esm/samples-dev/attestationsDeleteAtResourceSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/attestationsDeleteAtResourceSample.js +0 -39
- package/dist-esm/samples-dev/attestationsDeleteAtResourceSample.js.map +0 -1
- package/dist-esm/samples-dev/attestationsDeleteAtSubscriptionSample.d.ts +0 -2
- package/dist-esm/samples-dev/attestationsDeleteAtSubscriptionSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/attestationsDeleteAtSubscriptionSample.js +0 -38
- package/dist-esm/samples-dev/attestationsDeleteAtSubscriptionSample.js.map +0 -1
- package/dist-esm/samples-dev/attestationsGetAtResourceGroupSample.d.ts +0 -2
- package/dist-esm/samples-dev/attestationsGetAtResourceGroupSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/attestationsGetAtResourceGroupSample.js +0 -39
- package/dist-esm/samples-dev/attestationsGetAtResourceGroupSample.js.map +0 -1
- package/dist-esm/samples-dev/attestationsGetAtResourceSample.d.ts +0 -2
- package/dist-esm/samples-dev/attestationsGetAtResourceSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/attestationsGetAtResourceSample.js +0 -39
- package/dist-esm/samples-dev/attestationsGetAtResourceSample.js.map +0 -1
- package/dist-esm/samples-dev/attestationsGetAtSubscriptionSample.d.ts +0 -2
- package/dist-esm/samples-dev/attestationsGetAtSubscriptionSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/attestationsGetAtSubscriptionSample.js +0 -38
- package/dist-esm/samples-dev/attestationsGetAtSubscriptionSample.js.map +0 -1
- package/dist-esm/samples-dev/attestationsListForResourceGroupSample.d.ts +0 -2
- package/dist-esm/samples-dev/attestationsListForResourceGroupSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/attestationsListForResourceGroupSample.js +0 -92
- package/dist-esm/samples-dev/attestationsListForResourceGroupSample.js.map +0 -1
- package/dist-esm/samples-dev/attestationsListForResourceSample.d.ts +0 -2
- package/dist-esm/samples-dev/attestationsListForResourceSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/attestationsListForResourceSample.js +0 -87
- package/dist-esm/samples-dev/attestationsListForResourceSample.js.map +0 -1
- package/dist-esm/samples-dev/attestationsListForSubscriptionSample.d.ts +0 -2
- package/dist-esm/samples-dev/attestationsListForSubscriptionSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/attestationsListForSubscriptionSample.js +0 -90
- package/dist-esm/samples-dev/attestationsListForSubscriptionSample.js.map +0 -1
- package/dist-esm/samples-dev/componentPolicyStatesListQueryResultsForPolicyDefinitionSample.d.ts +0 -2
- package/dist-esm/samples-dev/componentPolicyStatesListQueryResultsForPolicyDefinitionSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/componentPolicyStatesListQueryResultsForPolicyDefinitionSample.js +0 -39
- package/dist-esm/samples-dev/componentPolicyStatesListQueryResultsForPolicyDefinitionSample.js.map +0 -1
- package/dist-esm/samples-dev/componentPolicyStatesListQueryResultsForResourceGroupLevelPolicyAssignmentSample.d.ts +0 -2
- package/dist-esm/samples-dev/componentPolicyStatesListQueryResultsForResourceGroupLevelPolicyAssignmentSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/componentPolicyStatesListQueryResultsForResourceGroupLevelPolicyAssignmentSample.js +0 -40
- package/dist-esm/samples-dev/componentPolicyStatesListQueryResultsForResourceGroupLevelPolicyAssignmentSample.js.map +0 -1
- package/dist-esm/samples-dev/componentPolicyStatesListQueryResultsForResourceGroupSample.d.ts +0 -2
- package/dist-esm/samples-dev/componentPolicyStatesListQueryResultsForResourceGroupSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/componentPolicyStatesListQueryResultsForResourceGroupSample.js +0 -64
- package/dist-esm/samples-dev/componentPolicyStatesListQueryResultsForResourceGroupSample.js.map +0 -1
- package/dist-esm/samples-dev/componentPolicyStatesListQueryResultsForResourceSample.d.ts +0 -2
- package/dist-esm/samples-dev/componentPolicyStatesListQueryResultsForResourceSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/componentPolicyStatesListQueryResultsForResourceSample.js +0 -131
- package/dist-esm/samples-dev/componentPolicyStatesListQueryResultsForResourceSample.js.map +0 -1
- package/dist-esm/samples-dev/componentPolicyStatesListQueryResultsForSubscriptionLevelPolicyAssignmentSample.d.ts +0 -2
- package/dist-esm/samples-dev/componentPolicyStatesListQueryResultsForSubscriptionLevelPolicyAssignmentSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/componentPolicyStatesListQueryResultsForSubscriptionLevelPolicyAssignmentSample.js +0 -39
- package/dist-esm/samples-dev/componentPolicyStatesListQueryResultsForSubscriptionLevelPolicyAssignmentSample.js.map +0 -1
- package/dist-esm/samples-dev/componentPolicyStatesListQueryResultsForSubscriptionSample.d.ts +0 -2
- package/dist-esm/samples-dev/componentPolicyStatesListQueryResultsForSubscriptionSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/componentPolicyStatesListQueryResultsForSubscriptionSample.js +0 -62
- package/dist-esm/samples-dev/componentPolicyStatesListQueryResultsForSubscriptionSample.js.map +0 -1
- package/dist-esm/samples-dev/operationsListSample.d.ts +0 -2
- package/dist-esm/samples-dev/operationsListSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/operationsListSample.js +0 -37
- package/dist-esm/samples-dev/operationsListSample.js.map +0 -1
- package/dist-esm/samples-dev/policyEventsListQueryResultsForManagementGroupSample.d.ts +0 -2
- package/dist-esm/samples-dev/policyEventsListQueryResultsForManagementGroupSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/policyEventsListQueryResultsForManagementGroupSample.js +0 -90
- package/dist-esm/samples-dev/policyEventsListQueryResultsForManagementGroupSample.js.map +0 -1
- package/dist-esm/samples-dev/policyEventsListQueryResultsForPolicyDefinitionSample.d.ts +0 -2
- package/dist-esm/samples-dev/policyEventsListQueryResultsForPolicyDefinitionSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/policyEventsListQueryResultsForPolicyDefinitionSample.js +0 -90
- package/dist-esm/samples-dev/policyEventsListQueryResultsForPolicyDefinitionSample.js.map +0 -1
- package/dist-esm/samples-dev/policyEventsListQueryResultsForPolicySetDefinitionSample.d.ts +0 -2
- package/dist-esm/samples-dev/policyEventsListQueryResultsForPolicySetDefinitionSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/policyEventsListQueryResultsForPolicySetDefinitionSample.js +0 -90
- package/dist-esm/samples-dev/policyEventsListQueryResultsForPolicySetDefinitionSample.js.map +0 -1
- package/dist-esm/samples-dev/policyEventsListQueryResultsForResourceGroupLevelPolicyAssignmentSample.d.ts +0 -2
- package/dist-esm/samples-dev/policyEventsListQueryResultsForResourceGroupLevelPolicyAssignmentSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/policyEventsListQueryResultsForResourceGroupLevelPolicyAssignmentSample.js +0 -92
- package/dist-esm/samples-dev/policyEventsListQueryResultsForResourceGroupLevelPolicyAssignmentSample.js.map +0 -1
- package/dist-esm/samples-dev/policyEventsListQueryResultsForResourceGroupSample.d.ts +0 -2
- package/dist-esm/samples-dev/policyEventsListQueryResultsForResourceGroupSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/policyEventsListQueryResultsForResourceGroupSample.js +0 -90
- package/dist-esm/samples-dev/policyEventsListQueryResultsForResourceGroupSample.js.map +0 -1
- package/dist-esm/samples-dev/policyEventsListQueryResultsForResourceSample.d.ts +0 -2
- package/dist-esm/samples-dev/policyEventsListQueryResultsForResourceSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/policyEventsListQueryResultsForResourceSample.js +0 -265
- package/dist-esm/samples-dev/policyEventsListQueryResultsForResourceSample.js.map +0 -1
- package/dist-esm/samples-dev/policyEventsListQueryResultsForSubscriptionLevelPolicyAssignmentSample.d.ts +0 -2
- package/dist-esm/samples-dev/policyEventsListQueryResultsForSubscriptionLevelPolicyAssignmentSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/policyEventsListQueryResultsForSubscriptionLevelPolicyAssignmentSample.js +0 -90
- package/dist-esm/samples-dev/policyEventsListQueryResultsForSubscriptionLevelPolicyAssignmentSample.js.map +0 -1
- package/dist-esm/samples-dev/policyEventsListQueryResultsForSubscriptionSample.d.ts +0 -2
- package/dist-esm/samples-dev/policyEventsListQueryResultsForSubscriptionSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/policyEventsListQueryResultsForSubscriptionSample.js +0 -284
- package/dist-esm/samples-dev/policyEventsListQueryResultsForSubscriptionSample.js.map +0 -1
- package/dist-esm/samples-dev/policyMetadataGetResourceSample.d.ts +0 -2
- package/dist-esm/samples-dev/policyMetadataGetResourceSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/policyMetadataGetResourceSample.js +0 -38
- package/dist-esm/samples-dev/policyMetadataGetResourceSample.js.map +0 -1
- package/dist-esm/samples-dev/policyMetadataListSample.d.ts +0 -2
- package/dist-esm/samples-dev/policyMetadataListSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/policyMetadataListSample.js +0 -84
- package/dist-esm/samples-dev/policyMetadataListSample.js.map +0 -1
- package/dist-esm/samples-dev/policyRestrictionsCheckAtManagementGroupScopeSample.d.ts +0 -2
- package/dist-esm/samples-dev/policyRestrictionsCheckAtManagementGroupScopeSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/policyRestrictionsCheckAtManagementGroupScopeSample.js +0 -41
- package/dist-esm/samples-dev/policyRestrictionsCheckAtManagementGroupScopeSample.js.map +0 -1
- package/dist-esm/samples-dev/policyRestrictionsCheckAtResourceGroupScopeSample.d.ts +0 -2
- package/dist-esm/samples-dev/policyRestrictionsCheckAtResourceGroupScopeSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/policyRestrictionsCheckAtResourceGroupScopeSample.js +0 -55
- package/dist-esm/samples-dev/policyRestrictionsCheckAtResourceGroupScopeSample.js.map +0 -1
- package/dist-esm/samples-dev/policyRestrictionsCheckAtSubscriptionScopeSample.d.ts +0 -2
- package/dist-esm/samples-dev/policyRestrictionsCheckAtSubscriptionScopeSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/policyRestrictionsCheckAtSubscriptionScopeSample.js +0 -54
- package/dist-esm/samples-dev/policyRestrictionsCheckAtSubscriptionScopeSample.js.map +0 -1
- package/dist-esm/samples-dev/policyStatesListQueryResultsForManagementGroupSample.d.ts +0 -2
- package/dist-esm/samples-dev/policyStatesListQueryResultsForManagementGroupSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/policyStatesListQueryResultsForManagementGroupSample.js +0 -90
- package/dist-esm/samples-dev/policyStatesListQueryResultsForManagementGroupSample.js.map +0 -1
- package/dist-esm/samples-dev/policyStatesListQueryResultsForPolicyDefinitionSample.d.ts +0 -2
- package/dist-esm/samples-dev/policyStatesListQueryResultsForPolicyDefinitionSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/policyStatesListQueryResultsForPolicyDefinitionSample.js +0 -90
- package/dist-esm/samples-dev/policyStatesListQueryResultsForPolicyDefinitionSample.js.map +0 -1
- package/dist-esm/samples-dev/policyStatesListQueryResultsForPolicySetDefinitionSample.d.ts +0 -2
- package/dist-esm/samples-dev/policyStatesListQueryResultsForPolicySetDefinitionSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/policyStatesListQueryResultsForPolicySetDefinitionSample.js +0 -90
- package/dist-esm/samples-dev/policyStatesListQueryResultsForPolicySetDefinitionSample.js.map +0 -1
- package/dist-esm/samples-dev/policyStatesListQueryResultsForResourceGroupLevelPolicyAssignmentSample.d.ts +0 -2
- package/dist-esm/samples-dev/policyStatesListQueryResultsForResourceGroupLevelPolicyAssignmentSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/policyStatesListQueryResultsForResourceGroupLevelPolicyAssignmentSample.js +0 -92
- package/dist-esm/samples-dev/policyStatesListQueryResultsForResourceGroupLevelPolicyAssignmentSample.js.map +0 -1
- package/dist-esm/samples-dev/policyStatesListQueryResultsForResourceGroupSample.d.ts +0 -2
- package/dist-esm/samples-dev/policyStatesListQueryResultsForResourceGroupSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/policyStatesListQueryResultsForResourceGroupSample.js +0 -90
- package/dist-esm/samples-dev/policyStatesListQueryResultsForResourceGroupSample.js.map +0 -1
- package/dist-esm/samples-dev/policyStatesListQueryResultsForResourceSample.d.ts +0 -2
- package/dist-esm/samples-dev/policyStatesListQueryResultsForResourceSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/policyStatesListQueryResultsForResourceSample.js +0 -302
- package/dist-esm/samples-dev/policyStatesListQueryResultsForResourceSample.js.map +0 -1
- package/dist-esm/samples-dev/policyStatesListQueryResultsForSubscriptionLevelPolicyAssignmentSample.d.ts +0 -2
- package/dist-esm/samples-dev/policyStatesListQueryResultsForSubscriptionLevelPolicyAssignmentSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/policyStatesListQueryResultsForSubscriptionLevelPolicyAssignmentSample.js +0 -90
- package/dist-esm/samples-dev/policyStatesListQueryResultsForSubscriptionLevelPolicyAssignmentSample.js.map +0 -1
- package/dist-esm/samples-dev/policyStatesListQueryResultsForSubscriptionSample.d.ts +0 -2
- package/dist-esm/samples-dev/policyStatesListQueryResultsForSubscriptionSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/policyStatesListQueryResultsForSubscriptionSample.js +0 -284
- package/dist-esm/samples-dev/policyStatesListQueryResultsForSubscriptionSample.js.map +0 -1
- package/dist-esm/samples-dev/policyStatesSummarizeForManagementGroupSample.d.ts +0 -2
- package/dist-esm/samples-dev/policyStatesSummarizeForManagementGroupSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/policyStatesSummarizeForManagementGroupSample.js +0 -46
- package/dist-esm/samples-dev/policyStatesSummarizeForManagementGroupSample.js.map +0 -1
- package/dist-esm/samples-dev/policyStatesSummarizeForPolicyDefinitionSample.d.ts +0 -2
- package/dist-esm/samples-dev/policyStatesSummarizeForPolicyDefinitionSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/policyStatesSummarizeForPolicyDefinitionSample.js +0 -39
- package/dist-esm/samples-dev/policyStatesSummarizeForPolicyDefinitionSample.js.map +0 -1
- package/dist-esm/samples-dev/policyStatesSummarizeForPolicySetDefinitionSample.d.ts +0 -2
- package/dist-esm/samples-dev/policyStatesSummarizeForPolicySetDefinitionSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/policyStatesSummarizeForPolicySetDefinitionSample.js +0 -46
- package/dist-esm/samples-dev/policyStatesSummarizeForPolicySetDefinitionSample.js.map +0 -1
- package/dist-esm/samples-dev/policyStatesSummarizeForResourceGroupLevelPolicyAssignmentSample.d.ts +0 -2
- package/dist-esm/samples-dev/policyStatesSummarizeForResourceGroupLevelPolicyAssignmentSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/policyStatesSummarizeForResourceGroupLevelPolicyAssignmentSample.js +0 -40
- package/dist-esm/samples-dev/policyStatesSummarizeForResourceGroupLevelPolicyAssignmentSample.js.map +0 -1
- package/dist-esm/samples-dev/policyStatesSummarizeForResourceGroupSample.d.ts +0 -2
- package/dist-esm/samples-dev/policyStatesSummarizeForResourceGroupSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/policyStatesSummarizeForResourceGroupSample.js +0 -39
- package/dist-esm/samples-dev/policyStatesSummarizeForResourceGroupSample.js.map +0 -1
- package/dist-esm/samples-dev/policyStatesSummarizeForResourceSample.d.ts +0 -2
- package/dist-esm/samples-dev/policyStatesSummarizeForResourceSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/policyStatesSummarizeForResourceSample.js +0 -41
- package/dist-esm/samples-dev/policyStatesSummarizeForResourceSample.js.map +0 -1
- package/dist-esm/samples-dev/policyStatesSummarizeForSubscriptionLevelPolicyAssignmentSample.d.ts +0 -2
- package/dist-esm/samples-dev/policyStatesSummarizeForSubscriptionLevelPolicyAssignmentSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/policyStatesSummarizeForSubscriptionLevelPolicyAssignmentSample.js +0 -39
- package/dist-esm/samples-dev/policyStatesSummarizeForSubscriptionLevelPolicyAssignmentSample.js.map +0 -1
- package/dist-esm/samples-dev/policyStatesSummarizeForSubscriptionSample.d.ts +0 -2
- package/dist-esm/samples-dev/policyStatesSummarizeForSubscriptionSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/policyStatesSummarizeForSubscriptionSample.js +0 -63
- package/dist-esm/samples-dev/policyStatesSummarizeForSubscriptionSample.js.map +0 -1
- package/dist-esm/samples-dev/policyStatesTriggerResourceGroupEvaluationSample.d.ts +0 -2
- package/dist-esm/samples-dev/policyStatesTriggerResourceGroupEvaluationSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/policyStatesTriggerResourceGroupEvaluationSample.js +0 -38
- package/dist-esm/samples-dev/policyStatesTriggerResourceGroupEvaluationSample.js.map +0 -1
- package/dist-esm/samples-dev/policyStatesTriggerSubscriptionEvaluationSample.d.ts +0 -2
- package/dist-esm/samples-dev/policyStatesTriggerSubscriptionEvaluationSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/policyStatesTriggerSubscriptionEvaluationSample.js +0 -37
- package/dist-esm/samples-dev/policyStatesTriggerSubscriptionEvaluationSample.js.map +0 -1
- package/dist-esm/samples-dev/policyTrackedResourcesListQueryResultsForManagementGroupSample.d.ts +0 -2
- package/dist-esm/samples-dev/policyTrackedResourcesListQueryResultsForManagementGroupSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/policyTrackedResourcesListQueryResultsForManagementGroupSample.js +0 -91
- package/dist-esm/samples-dev/policyTrackedResourcesListQueryResultsForManagementGroupSample.js.map +0 -1
- package/dist-esm/samples-dev/policyTrackedResourcesListQueryResultsForResourceGroupSample.d.ts +0 -2
- package/dist-esm/samples-dev/policyTrackedResourcesListQueryResultsForResourceGroupSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/policyTrackedResourcesListQueryResultsForResourceGroupSample.js +0 -91
- package/dist-esm/samples-dev/policyTrackedResourcesListQueryResultsForResourceGroupSample.js.map +0 -1
- package/dist-esm/samples-dev/policyTrackedResourcesListQueryResultsForResourceSample.d.ts +0 -2
- package/dist-esm/samples-dev/policyTrackedResourcesListQueryResultsForResourceSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/policyTrackedResourcesListQueryResultsForResourceSample.js +0 -91
- package/dist-esm/samples-dev/policyTrackedResourcesListQueryResultsForResourceSample.js.map +0 -1
- package/dist-esm/samples-dev/policyTrackedResourcesListQueryResultsForSubscriptionSample.d.ts +0 -2
- package/dist-esm/samples-dev/policyTrackedResourcesListQueryResultsForSubscriptionSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/policyTrackedResourcesListQueryResultsForSubscriptionSample.js +0 -89
- package/dist-esm/samples-dev/policyTrackedResourcesListQueryResultsForSubscriptionSample.js.map +0 -1
- package/dist-esm/samples-dev/remediationsCancelAtManagementGroupSample.d.ts +0 -2
- package/dist-esm/samples-dev/remediationsCancelAtManagementGroupSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/remediationsCancelAtManagementGroupSample.js +0 -39
- package/dist-esm/samples-dev/remediationsCancelAtManagementGroupSample.js.map +0 -1
- package/dist-esm/samples-dev/remediationsCancelAtResourceGroupSample.d.ts +0 -2
- package/dist-esm/samples-dev/remediationsCancelAtResourceGroupSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/remediationsCancelAtResourceGroupSample.js +0 -39
- package/dist-esm/samples-dev/remediationsCancelAtResourceGroupSample.js.map +0 -1
- package/dist-esm/samples-dev/remediationsCancelAtResourceSample.d.ts +0 -2
- package/dist-esm/samples-dev/remediationsCancelAtResourceSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/remediationsCancelAtResourceSample.js +0 -39
- package/dist-esm/samples-dev/remediationsCancelAtResourceSample.js.map +0 -1
- package/dist-esm/samples-dev/remediationsCancelAtSubscriptionSample.d.ts +0 -2
- package/dist-esm/samples-dev/remediationsCancelAtSubscriptionSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/remediationsCancelAtSubscriptionSample.js +0 -38
- package/dist-esm/samples-dev/remediationsCancelAtSubscriptionSample.js.map +0 -1
- package/dist-esm/samples-dev/remediationsCreateOrUpdateAtManagementGroupSample.d.ts +0 -2
- package/dist-esm/samples-dev/remediationsCreateOrUpdateAtManagementGroupSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/remediationsCreateOrUpdateAtManagementGroupSample.js +0 -42
- package/dist-esm/samples-dev/remediationsCreateOrUpdateAtManagementGroupSample.js.map +0 -1
- package/dist-esm/samples-dev/remediationsCreateOrUpdateAtResourceGroupSample.d.ts +0 -2
- package/dist-esm/samples-dev/remediationsCreateOrUpdateAtResourceGroupSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/remediationsCreateOrUpdateAtResourceGroupSample.js +0 -42
- package/dist-esm/samples-dev/remediationsCreateOrUpdateAtResourceGroupSample.js.map +0 -1
- package/dist-esm/samples-dev/remediationsCreateOrUpdateAtResourceSample.d.ts +0 -2
- package/dist-esm/samples-dev/remediationsCreateOrUpdateAtResourceSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/remediationsCreateOrUpdateAtResourceSample.js +0 -42
- package/dist-esm/samples-dev/remediationsCreateOrUpdateAtResourceSample.js.map +0 -1
- package/dist-esm/samples-dev/remediationsCreateOrUpdateAtSubscriptionSample.d.ts +0 -2
- package/dist-esm/samples-dev/remediationsCreateOrUpdateAtSubscriptionSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/remediationsCreateOrUpdateAtSubscriptionSample.js +0 -68
- package/dist-esm/samples-dev/remediationsCreateOrUpdateAtSubscriptionSample.js.map +0 -1
- package/dist-esm/samples-dev/remediationsDeleteAtManagementGroupSample.d.ts +0 -2
- package/dist-esm/samples-dev/remediationsDeleteAtManagementGroupSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/remediationsDeleteAtManagementGroupSample.js +0 -39
- package/dist-esm/samples-dev/remediationsDeleteAtManagementGroupSample.js.map +0 -1
- package/dist-esm/samples-dev/remediationsDeleteAtResourceGroupSample.d.ts +0 -2
- package/dist-esm/samples-dev/remediationsDeleteAtResourceGroupSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/remediationsDeleteAtResourceGroupSample.js +0 -39
- package/dist-esm/samples-dev/remediationsDeleteAtResourceGroupSample.js.map +0 -1
- package/dist-esm/samples-dev/remediationsDeleteAtResourceSample.d.ts +0 -2
- package/dist-esm/samples-dev/remediationsDeleteAtResourceSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/remediationsDeleteAtResourceSample.js +0 -39
- package/dist-esm/samples-dev/remediationsDeleteAtResourceSample.js.map +0 -1
- package/dist-esm/samples-dev/remediationsDeleteAtSubscriptionSample.d.ts +0 -2
- package/dist-esm/samples-dev/remediationsDeleteAtSubscriptionSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/remediationsDeleteAtSubscriptionSample.js +0 -38
- package/dist-esm/samples-dev/remediationsDeleteAtSubscriptionSample.js.map +0 -1
- package/dist-esm/samples-dev/remediationsGetAtManagementGroupSample.d.ts +0 -2
- package/dist-esm/samples-dev/remediationsGetAtManagementGroupSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/remediationsGetAtManagementGroupSample.js +0 -39
- package/dist-esm/samples-dev/remediationsGetAtManagementGroupSample.js.map +0 -1
- package/dist-esm/samples-dev/remediationsGetAtResourceGroupSample.d.ts +0 -2
- package/dist-esm/samples-dev/remediationsGetAtResourceGroupSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/remediationsGetAtResourceGroupSample.js +0 -39
- package/dist-esm/samples-dev/remediationsGetAtResourceGroupSample.js.map +0 -1
- package/dist-esm/samples-dev/remediationsGetAtResourceSample.d.ts +0 -2
- package/dist-esm/samples-dev/remediationsGetAtResourceSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/remediationsGetAtResourceSample.js +0 -39
- package/dist-esm/samples-dev/remediationsGetAtResourceSample.js.map +0 -1
- package/dist-esm/samples-dev/remediationsGetAtSubscriptionSample.d.ts +0 -2
- package/dist-esm/samples-dev/remediationsGetAtSubscriptionSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/remediationsGetAtSubscriptionSample.js +0 -38
- package/dist-esm/samples-dev/remediationsGetAtSubscriptionSample.js.map +0 -1
- package/dist-esm/samples-dev/remediationsListDeploymentsAtManagementGroupSample.d.ts +0 -2
- package/dist-esm/samples-dev/remediationsListDeploymentsAtManagementGroupSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/remediationsListDeploymentsAtManagementGroupSample.js +0 -53
- package/dist-esm/samples-dev/remediationsListDeploymentsAtManagementGroupSample.js.map +0 -1
- package/dist-esm/samples-dev/remediationsListDeploymentsAtResourceGroupSample.d.ts +0 -2
- package/dist-esm/samples-dev/remediationsListDeploymentsAtResourceGroupSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/remediationsListDeploymentsAtResourceGroupSample.js +0 -53
- package/dist-esm/samples-dev/remediationsListDeploymentsAtResourceGroupSample.js.map +0 -1
- package/dist-esm/samples-dev/remediationsListDeploymentsAtResourceSample.d.ts +0 -2
- package/dist-esm/samples-dev/remediationsListDeploymentsAtResourceSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/remediationsListDeploymentsAtResourceSample.js +0 -53
- package/dist-esm/samples-dev/remediationsListDeploymentsAtResourceSample.js.map +0 -1
- package/dist-esm/samples-dev/remediationsListDeploymentsAtSubscriptionSample.d.ts +0 -2
- package/dist-esm/samples-dev/remediationsListDeploymentsAtSubscriptionSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/remediationsListDeploymentsAtSubscriptionSample.js +0 -52
- package/dist-esm/samples-dev/remediationsListDeploymentsAtSubscriptionSample.js.map +0 -1
- package/dist-esm/samples-dev/remediationsListForManagementGroupSample.d.ts +0 -2
- package/dist-esm/samples-dev/remediationsListForManagementGroupSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/remediationsListForManagementGroupSample.js +0 -89
- package/dist-esm/samples-dev/remediationsListForManagementGroupSample.js.map +0 -1
- package/dist-esm/samples-dev/remediationsListForResourceGroupSample.d.ts +0 -2
- package/dist-esm/samples-dev/remediationsListForResourceGroupSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/remediationsListForResourceGroupSample.js +0 -89
- package/dist-esm/samples-dev/remediationsListForResourceGroupSample.js.map +0 -1
- package/dist-esm/samples-dev/remediationsListForResourceSample.d.ts +0 -2
- package/dist-esm/samples-dev/remediationsListForResourceSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/remediationsListForResourceSample.js +0 -87
- package/dist-esm/samples-dev/remediationsListForResourceSample.js.map +0 -1
- package/dist-esm/samples-dev/remediationsListForSubscriptionSample.d.ts +0 -2
- package/dist-esm/samples-dev/remediationsListForSubscriptionSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/remediationsListForSubscriptionSample.js +0 -87
- package/dist-esm/samples-dev/remediationsListForSubscriptionSample.js.map +0 -1
- package/dist-esm/src/index.d.ts +0 -6
- package/dist-esm/src/index.d.ts.map +0 -1
- package/dist-esm/src/index.js +0 -13
- package/dist-esm/src/index.js.map +0 -1
- package/dist-esm/src/lroImpl.d.ts +0 -16
- package/dist-esm/src/lroImpl.d.ts.map +0 -1
- package/dist-esm/src/lroImpl.js +0 -29
- package/dist-esm/src/lroImpl.js.map +0 -1
- package/dist-esm/src/models/index.d.ts +0 -2214
- package/dist-esm/src/models/index.d.ts.map +0 -1
- package/dist-esm/src/models/index.js +0 -80
- package/dist-esm/src/models/index.js.map +0 -1
- package/dist-esm/src/models/mappers.d.ts +0 -65
- package/dist-esm/src/models/mappers.d.ts.map +0 -1
- package/dist-esm/src/models/mappers.js +0 -2894
- package/dist-esm/src/models/mappers.js.map +0 -1
- package/dist-esm/src/models/parameters.d.ts +0 -55
- package/dist-esm/src/models/parameters.d.ts.map +0 -1
- package/dist-esm/src/models/parameters.js +0 -532
- package/dist-esm/src/models/parameters.js.map +0 -1
- package/dist-esm/src/operations/attestations.d.ts +0 -161
- package/dist-esm/src/operations/attestations.d.ts.map +0 -1
- package/dist-esm/src/operations/attestations.js +0 -784
- package/dist-esm/src/operations/attestations.js.map +0 -1
- package/dist-esm/src/operations/componentPolicyStates.d.ts +0 -66
- package/dist-esm/src/operations/componentPolicyStates.d.ts.map +0 -1
- package/dist-esm/src/operations/componentPolicyStates.js +0 -292
- package/dist-esm/src/operations/componentPolicyStates.js.map +0 -1
- package/dist-esm/src/operations/index.d.ts +0 -10
- package/dist-esm/src/operations/index.d.ts.map +0 -1
- package/dist-esm/src/operations/index.js +0 -17
- package/dist-esm/src/operations/index.js.map +0 -1
- package/dist-esm/src/operations/operations.d.ts +0 -18
- package/dist-esm/src/operations/operations.d.ts.map +0 -1
- package/dist-esm/src/operations/operations.js +0 -46
- package/dist-esm/src/operations/operations.js.map +0 -1
- package/dist-esm/src/operations/policyEvents.d.ts +0 -256
- package/dist-esm/src/operations/policyEvents.d.ts.map +0 -1
- package/dist-esm/src/operations/policyEvents.js +0 -1181
- package/dist-esm/src/operations/policyEvents.js.map +0 -1
- package/dist-esm/src/operations/policyMetadataOperations.d.ts +0 -38
- package/dist-esm/src/operations/policyMetadataOperations.d.ts.map +0 -1
- package/dist-esm/src/operations/policyMetadataOperations.js +0 -155
- package/dist-esm/src/operations/policyMetadataOperations.js.map +0 -1
- package/dist-esm/src/operations/policyRestrictions.d.ts +0 -34
- package/dist-esm/src/operations/policyRestrictions.d.ts.map +0 -1
- package/dist-esm/src/operations/policyRestrictions.js +0 -112
- package/dist-esm/src/operations/policyRestrictions.js.map +0 -1
- package/dist-esm/src/operations/policyStates.d.ts +0 -385
- package/dist-esm/src/operations/policyStates.d.ts.map +0 -1
- package/dist-esm/src/operations/policyStates.js +0 -1686
- package/dist-esm/src/operations/policyStates.js.map +0 -1
- package/dist-esm/src/operations/policyTrackedResources.d.ts +0 -123
- package/dist-esm/src/operations/policyTrackedResources.d.ts.map +0 -1
- package/dist-esm/src/operations/policyTrackedResources.js +0 -528
- package/dist-esm/src/operations/policyTrackedResources.js.map +0 -1
- package/dist-esm/src/operations/remediations.d.ts +0 -304
- package/dist-esm/src/operations/remediations.d.ts.map +0 -1
- package/dist-esm/src/operations/remediations.js +0 -1458
- package/dist-esm/src/operations/remediations.js.map +0 -1
- package/dist-esm/src/operationsInterfaces/attestations.d.ts +0 -110
- package/dist-esm/src/operationsInterfaces/attestations.d.ts.map +0 -1
- package/dist-esm/src/operationsInterfaces/attestations.js.map +0 -1
- package/dist-esm/src/operationsInterfaces/componentPolicyStates.d.ts +0 -58
- package/dist-esm/src/operationsInterfaces/componentPolicyStates.d.ts.map +0 -1
- package/dist-esm/src/operationsInterfaces/componentPolicyStates.js.map +0 -1
- package/dist-esm/src/operationsInterfaces/index.d.ts +0 -10
- package/dist-esm/src/operationsInterfaces/index.d.ts.map +0 -1
- package/dist-esm/src/operationsInterfaces/index.js +0 -17
- package/dist-esm/src/operationsInterfaces/index.js.map +0 -1
- package/dist-esm/src/operationsInterfaces/operations.d.ts +0 -10
- package/dist-esm/src/operationsInterfaces/operations.d.ts.map +0 -1
- package/dist-esm/src/operationsInterfaces/operations.js.map +0 -1
- package/dist-esm/src/operationsInterfaces/policyEvents.d.ts +0 -76
- package/dist-esm/src/operationsInterfaces/policyEvents.d.ts.map +0 -1
- package/dist-esm/src/operationsInterfaces/policyEvents.js.map +0 -1
- package/dist-esm/src/operationsInterfaces/policyMetadataOperations.d.ts +0 -17
- package/dist-esm/src/operationsInterfaces/policyMetadataOperations.d.ts.map +0 -1
- package/dist-esm/src/operationsInterfaces/policyMetadataOperations.js.map +0 -1
- package/dist-esm/src/operationsInterfaces/policyRestrictions.d.ts +0 -26
- package/dist-esm/src/operationsInterfaces/policyRestrictions.d.ts.map +0 -1
- package/dist-esm/src/operationsInterfaces/policyRestrictions.js.map +0 -1
- package/dist-esm/src/operationsInterfaces/policyStates.d.ts +0 -189
- package/dist-esm/src/operationsInterfaces/policyStates.d.ts.map +0 -1
- package/dist-esm/src/operationsInterfaces/policyStates.js.map +0 -1
- package/dist-esm/src/operationsInterfaces/policyTrackedResources.d.ts +0 -37
- package/dist-esm/src/operationsInterfaces/policyTrackedResources.d.ts.map +0 -1
- package/dist-esm/src/operationsInterfaces/policyTrackedResources.js.map +0 -1
- package/dist-esm/src/operationsInterfaces/remediations.d.ts +0 -168
- package/dist-esm/src/operationsInterfaces/remediations.d.ts.map +0 -1
- package/dist-esm/src/operationsInterfaces/remediations.js.map +0 -1
- package/dist-esm/src/pagingHelper.js.map +0 -1
- package/dist-esm/src/policyInsightsClient.d.ts +0 -25
- package/dist-esm/src/policyInsightsClient.d.ts.map +0 -1
- package/dist-esm/src/policyInsightsClient.js +0 -78
- package/dist-esm/src/policyInsightsClient.js.map +0 -1
- package/dist-esm/test/policyinsights_example.spec.d.ts +0 -4
- package/dist-esm/test/policyinsights_example.spec.d.ts.map +0 -1
- package/dist-esm/test/policyinsights_example.spec.js +0 -71
- package/dist-esm/test/policyinsights_example.spec.js.map +0 -1
- package/rollup.config.js +0 -122
- package/src/index.ts +0 -13
- package/src/lroImpl.ts +0 -34
- package/src/models/index.ts +0 -2571
- package/src/models/mappers.ts +0 -2976
- package/src/models/parameters.ts +0 -595
- package/src/operations/attestations.ts +0 -1043
- package/src/operations/componentPolicyStates.ts +0 -376
- package/src/operations/index.ts +0 -17
- package/src/operations/operations.ts +0 -59
- package/src/operations/policyEvents.ts +0 -1619
- package/src/operations/policyMetadataOperations.ts +0 -182
- package/src/operations/policyRestrictions.ts +0 -154
- package/src/operations/policyStates.ts +0 -2286
- package/src/operations/policyTrackedResources.ts +0 -714
- package/src/operations/remediations.ts +0 -1912
- package/src/operationsInterfaces/attestations.ts +0 -212
- package/src/operationsInterfaces/componentPolicyStates.ts +0 -113
- package/src/operationsInterfaces/index.ts +0 -17
- package/src/operationsInterfaces/operations.ts +0 -21
- package/src/operationsInterfaces/policyEvents.ts +0 -134
- package/src/operationsInterfaces/policyMetadataOperations.ts +0 -36
- package/src/operationsInterfaces/policyRestrictions.ts +0 -54
- package/src/operationsInterfaces/policyStates.ts +0 -320
- package/src/operationsInterfaces/policyTrackedResources.ts +0 -68
- package/src/operationsInterfaces/remediations.ts +0 -310
- package/src/pagingHelper.ts +0 -39
- package/src/policyInsightsClient.ts +0 -140
- package/tsconfig.json +0 -33
- package/types/arm-policyinsights.d.ts +0 -3221
- package/types/tsdoc-metadata.json +0 -11
- /package/{dist-esm/src → dist/browser}/operationsInterfaces/attestations.js +0 -0
- /package/{dist-esm/src → dist/browser}/operationsInterfaces/componentPolicyStates.js +0 -0
- /package/{dist-esm/src → dist/browser}/operationsInterfaces/operations.js +0 -0
- /package/{dist-esm/src → dist/browser}/operationsInterfaces/policyEvents.js +0 -0
- /package/{dist-esm/src → dist/browser}/operationsInterfaces/policyMetadataOperations.js +0 -0
- /package/{dist-esm/src → dist/browser}/operationsInterfaces/policyRestrictions.js +0 -0
- /package/{dist-esm/src → dist/browser}/operationsInterfaces/policyStates.js +0 -0
- /package/{dist-esm/src → dist/browser}/operationsInterfaces/policyTrackedResources.js +0 -0
- /package/{dist-esm/src → dist/browser}/operationsInterfaces/remediations.js +0 -0
- /package/{dist-esm/src → dist/browser}/pagingHelper.d.ts +0 -0
- /package/{dist-esm/src → dist/browser}/pagingHelper.d.ts.map +0 -0
- /package/{dist-esm/src → dist/browser}/pagingHelper.js +0 -0
|
@@ -0,0 +1,1709 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/*
|
|
3
|
+
* Copyright (c) Microsoft Corporation.
|
|
4
|
+
* Licensed under the MIT License.
|
|
5
|
+
*
|
|
6
|
+
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
7
|
+
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
8
|
+
*/
|
|
9
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
10
|
+
exports.PolicyStatesImpl = void 0;
|
|
11
|
+
const tslib_1 = require("tslib");
|
|
12
|
+
const pagingHelper_js_1 = require("../pagingHelper.js");
|
|
13
|
+
const coreClient = tslib_1.__importStar(require("@azure/core-client"));
|
|
14
|
+
const Mappers = tslib_1.__importStar(require("../models/mappers.js"));
|
|
15
|
+
const Parameters = tslib_1.__importStar(require("../models/parameters.js"));
|
|
16
|
+
const core_lro_1 = require("@azure/core-lro");
|
|
17
|
+
const lroImpl_js_1 = require("../lroImpl.js");
|
|
18
|
+
/// <reference lib="esnext.asynciterable" />
|
|
19
|
+
/** Class containing PolicyStates operations. */
|
|
20
|
+
class PolicyStatesImpl {
|
|
21
|
+
/**
|
|
22
|
+
* Initialize a new instance of the class PolicyStates class.
|
|
23
|
+
* @param client Reference to the service client
|
|
24
|
+
*/
|
|
25
|
+
constructor(client) {
|
|
26
|
+
this.client = client;
|
|
27
|
+
}
|
|
28
|
+
/**
|
|
29
|
+
* Queries policy states for the resources under the management group.
|
|
30
|
+
* @param policyStatesResource The virtual resource under PolicyStates resource type. In a given time
|
|
31
|
+
* range, 'latest' represents the latest policy state(s), whereas 'default' represents all policy
|
|
32
|
+
* state(s).
|
|
33
|
+
* @param managementGroupName Management group name.
|
|
34
|
+
* @param options The options parameters.
|
|
35
|
+
*/
|
|
36
|
+
listQueryResultsForManagementGroup(policyStatesResource, managementGroupName, options) {
|
|
37
|
+
const iter = this.listQueryResultsForManagementGroupPagingAll(policyStatesResource, managementGroupName, options);
|
|
38
|
+
return {
|
|
39
|
+
next() {
|
|
40
|
+
return iter.next();
|
|
41
|
+
},
|
|
42
|
+
[Symbol.asyncIterator]() {
|
|
43
|
+
return this;
|
|
44
|
+
},
|
|
45
|
+
byPage: (settings) => {
|
|
46
|
+
if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
|
|
47
|
+
throw new Error("maxPageSize is not supported by this operation.");
|
|
48
|
+
}
|
|
49
|
+
return this.listQueryResultsForManagementGroupPagingPage(policyStatesResource, managementGroupName, options, settings);
|
|
50
|
+
},
|
|
51
|
+
};
|
|
52
|
+
}
|
|
53
|
+
listQueryResultsForManagementGroupPagingPage(policyStatesResource, managementGroupName, options, settings) {
|
|
54
|
+
return tslib_1.__asyncGenerator(this, arguments, function* listQueryResultsForManagementGroupPagingPage_1() {
|
|
55
|
+
let result;
|
|
56
|
+
let continuationToken = settings === null || settings === void 0 ? void 0 : settings.continuationToken;
|
|
57
|
+
if (!continuationToken) {
|
|
58
|
+
result = yield tslib_1.__await(this._listQueryResultsForManagementGroup(policyStatesResource, managementGroupName, options));
|
|
59
|
+
let page = result.value || [];
|
|
60
|
+
continuationToken = result.odataNextLink;
|
|
61
|
+
(0, pagingHelper_js_1.setContinuationToken)(page, continuationToken);
|
|
62
|
+
yield yield tslib_1.__await(page);
|
|
63
|
+
}
|
|
64
|
+
while (continuationToken) {
|
|
65
|
+
result = yield tslib_1.__await(this._listQueryResultsForManagementGroupNext(policyStatesResource, managementGroupName, continuationToken, options));
|
|
66
|
+
continuationToken = result.odataNextLink;
|
|
67
|
+
let page = result.value || [];
|
|
68
|
+
(0, pagingHelper_js_1.setContinuationToken)(page, continuationToken);
|
|
69
|
+
yield yield tslib_1.__await(page);
|
|
70
|
+
}
|
|
71
|
+
});
|
|
72
|
+
}
|
|
73
|
+
listQueryResultsForManagementGroupPagingAll(policyStatesResource, managementGroupName, options) {
|
|
74
|
+
return tslib_1.__asyncGenerator(this, arguments, function* listQueryResultsForManagementGroupPagingAll_1() {
|
|
75
|
+
var _a, e_1, _b, _c;
|
|
76
|
+
try {
|
|
77
|
+
for (var _d = true, _e = tslib_1.__asyncValues(this.listQueryResultsForManagementGroupPagingPage(policyStatesResource, managementGroupName, options)), _f; _f = yield tslib_1.__await(_e.next()), _a = _f.done, !_a; _d = true) {
|
|
78
|
+
_c = _f.value;
|
|
79
|
+
_d = false;
|
|
80
|
+
const page = _c;
|
|
81
|
+
yield tslib_1.__await(yield* tslib_1.__asyncDelegator(tslib_1.__asyncValues(page)));
|
|
82
|
+
}
|
|
83
|
+
}
|
|
84
|
+
catch (e_1_1) { e_1 = { error: e_1_1 }; }
|
|
85
|
+
finally {
|
|
86
|
+
try {
|
|
87
|
+
if (!_d && !_a && (_b = _e.return)) yield tslib_1.__await(_b.call(_e));
|
|
88
|
+
}
|
|
89
|
+
finally { if (e_1) throw e_1.error; }
|
|
90
|
+
}
|
|
91
|
+
});
|
|
92
|
+
}
|
|
93
|
+
/**
|
|
94
|
+
* Queries policy states for the resources under the subscription.
|
|
95
|
+
* @param policyStatesResource The virtual resource under PolicyStates resource type. In a given time
|
|
96
|
+
* range, 'latest' represents the latest policy state(s), whereas 'default' represents all policy
|
|
97
|
+
* state(s).
|
|
98
|
+
* @param subscriptionId Microsoft Azure subscription ID.
|
|
99
|
+
* @param options The options parameters.
|
|
100
|
+
*/
|
|
101
|
+
listQueryResultsForSubscription(policyStatesResource, subscriptionId, options) {
|
|
102
|
+
const iter = this.listQueryResultsForSubscriptionPagingAll(policyStatesResource, subscriptionId, options);
|
|
103
|
+
return {
|
|
104
|
+
next() {
|
|
105
|
+
return iter.next();
|
|
106
|
+
},
|
|
107
|
+
[Symbol.asyncIterator]() {
|
|
108
|
+
return this;
|
|
109
|
+
},
|
|
110
|
+
byPage: (settings) => {
|
|
111
|
+
if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
|
|
112
|
+
throw new Error("maxPageSize is not supported by this operation.");
|
|
113
|
+
}
|
|
114
|
+
return this.listQueryResultsForSubscriptionPagingPage(policyStatesResource, subscriptionId, options, settings);
|
|
115
|
+
},
|
|
116
|
+
};
|
|
117
|
+
}
|
|
118
|
+
listQueryResultsForSubscriptionPagingPage(policyStatesResource, subscriptionId, options, settings) {
|
|
119
|
+
return tslib_1.__asyncGenerator(this, arguments, function* listQueryResultsForSubscriptionPagingPage_1() {
|
|
120
|
+
let result;
|
|
121
|
+
let continuationToken = settings === null || settings === void 0 ? void 0 : settings.continuationToken;
|
|
122
|
+
if (!continuationToken) {
|
|
123
|
+
result = yield tslib_1.__await(this._listQueryResultsForSubscription(policyStatesResource, subscriptionId, options));
|
|
124
|
+
let page = result.value || [];
|
|
125
|
+
continuationToken = result.odataNextLink;
|
|
126
|
+
(0, pagingHelper_js_1.setContinuationToken)(page, continuationToken);
|
|
127
|
+
yield yield tslib_1.__await(page);
|
|
128
|
+
}
|
|
129
|
+
while (continuationToken) {
|
|
130
|
+
result = yield tslib_1.__await(this._listQueryResultsForSubscriptionNext(policyStatesResource, subscriptionId, continuationToken, options));
|
|
131
|
+
continuationToken = result.odataNextLink;
|
|
132
|
+
let page = result.value || [];
|
|
133
|
+
(0, pagingHelper_js_1.setContinuationToken)(page, continuationToken);
|
|
134
|
+
yield yield tslib_1.__await(page);
|
|
135
|
+
}
|
|
136
|
+
});
|
|
137
|
+
}
|
|
138
|
+
listQueryResultsForSubscriptionPagingAll(policyStatesResource, subscriptionId, options) {
|
|
139
|
+
return tslib_1.__asyncGenerator(this, arguments, function* listQueryResultsForSubscriptionPagingAll_1() {
|
|
140
|
+
var _a, e_2, _b, _c;
|
|
141
|
+
try {
|
|
142
|
+
for (var _d = true, _e = tslib_1.__asyncValues(this.listQueryResultsForSubscriptionPagingPage(policyStatesResource, subscriptionId, options)), _f; _f = yield tslib_1.__await(_e.next()), _a = _f.done, !_a; _d = true) {
|
|
143
|
+
_c = _f.value;
|
|
144
|
+
_d = false;
|
|
145
|
+
const page = _c;
|
|
146
|
+
yield tslib_1.__await(yield* tslib_1.__asyncDelegator(tslib_1.__asyncValues(page)));
|
|
147
|
+
}
|
|
148
|
+
}
|
|
149
|
+
catch (e_2_1) { e_2 = { error: e_2_1 }; }
|
|
150
|
+
finally {
|
|
151
|
+
try {
|
|
152
|
+
if (!_d && !_a && (_b = _e.return)) yield tslib_1.__await(_b.call(_e));
|
|
153
|
+
}
|
|
154
|
+
finally { if (e_2) throw e_2.error; }
|
|
155
|
+
}
|
|
156
|
+
});
|
|
157
|
+
}
|
|
158
|
+
/**
|
|
159
|
+
* Queries policy states for the resources under the resource group.
|
|
160
|
+
* @param policyStatesResource The virtual resource under PolicyStates resource type. In a given time
|
|
161
|
+
* range, 'latest' represents the latest policy state(s), whereas 'default' represents all policy
|
|
162
|
+
* state(s).
|
|
163
|
+
* @param subscriptionId Microsoft Azure subscription ID.
|
|
164
|
+
* @param resourceGroupName Resource group name.
|
|
165
|
+
* @param options The options parameters.
|
|
166
|
+
*/
|
|
167
|
+
listQueryResultsForResourceGroup(policyStatesResource, subscriptionId, resourceGroupName, options) {
|
|
168
|
+
const iter = this.listQueryResultsForResourceGroupPagingAll(policyStatesResource, subscriptionId, resourceGroupName, options);
|
|
169
|
+
return {
|
|
170
|
+
next() {
|
|
171
|
+
return iter.next();
|
|
172
|
+
},
|
|
173
|
+
[Symbol.asyncIterator]() {
|
|
174
|
+
return this;
|
|
175
|
+
},
|
|
176
|
+
byPage: (settings) => {
|
|
177
|
+
if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
|
|
178
|
+
throw new Error("maxPageSize is not supported by this operation.");
|
|
179
|
+
}
|
|
180
|
+
return this.listQueryResultsForResourceGroupPagingPage(policyStatesResource, subscriptionId, resourceGroupName, options, settings);
|
|
181
|
+
},
|
|
182
|
+
};
|
|
183
|
+
}
|
|
184
|
+
listQueryResultsForResourceGroupPagingPage(policyStatesResource, subscriptionId, resourceGroupName, options, settings) {
|
|
185
|
+
return tslib_1.__asyncGenerator(this, arguments, function* listQueryResultsForResourceGroupPagingPage_1() {
|
|
186
|
+
let result;
|
|
187
|
+
let continuationToken = settings === null || settings === void 0 ? void 0 : settings.continuationToken;
|
|
188
|
+
if (!continuationToken) {
|
|
189
|
+
result = yield tslib_1.__await(this._listQueryResultsForResourceGroup(policyStatesResource, subscriptionId, resourceGroupName, options));
|
|
190
|
+
let page = result.value || [];
|
|
191
|
+
continuationToken = result.odataNextLink;
|
|
192
|
+
(0, pagingHelper_js_1.setContinuationToken)(page, continuationToken);
|
|
193
|
+
yield yield tslib_1.__await(page);
|
|
194
|
+
}
|
|
195
|
+
while (continuationToken) {
|
|
196
|
+
result = yield tslib_1.__await(this._listQueryResultsForResourceGroupNext(policyStatesResource, subscriptionId, resourceGroupName, continuationToken, options));
|
|
197
|
+
continuationToken = result.odataNextLink;
|
|
198
|
+
let page = result.value || [];
|
|
199
|
+
(0, pagingHelper_js_1.setContinuationToken)(page, continuationToken);
|
|
200
|
+
yield yield tslib_1.__await(page);
|
|
201
|
+
}
|
|
202
|
+
});
|
|
203
|
+
}
|
|
204
|
+
listQueryResultsForResourceGroupPagingAll(policyStatesResource, subscriptionId, resourceGroupName, options) {
|
|
205
|
+
return tslib_1.__asyncGenerator(this, arguments, function* listQueryResultsForResourceGroupPagingAll_1() {
|
|
206
|
+
var _a, e_3, _b, _c;
|
|
207
|
+
try {
|
|
208
|
+
for (var _d = true, _e = tslib_1.__asyncValues(this.listQueryResultsForResourceGroupPagingPage(policyStatesResource, subscriptionId, resourceGroupName, options)), _f; _f = yield tslib_1.__await(_e.next()), _a = _f.done, !_a; _d = true) {
|
|
209
|
+
_c = _f.value;
|
|
210
|
+
_d = false;
|
|
211
|
+
const page = _c;
|
|
212
|
+
yield tslib_1.__await(yield* tslib_1.__asyncDelegator(tslib_1.__asyncValues(page)));
|
|
213
|
+
}
|
|
214
|
+
}
|
|
215
|
+
catch (e_3_1) { e_3 = { error: e_3_1 }; }
|
|
216
|
+
finally {
|
|
217
|
+
try {
|
|
218
|
+
if (!_d && !_a && (_b = _e.return)) yield tslib_1.__await(_b.call(_e));
|
|
219
|
+
}
|
|
220
|
+
finally { if (e_3) throw e_3.error; }
|
|
221
|
+
}
|
|
222
|
+
});
|
|
223
|
+
}
|
|
224
|
+
/**
|
|
225
|
+
* Queries policy states for the resource.
|
|
226
|
+
* @param policyStatesResource The virtual resource under PolicyStates resource type. In a given time
|
|
227
|
+
* range, 'latest' represents the latest policy state(s), whereas 'default' represents all policy
|
|
228
|
+
* state(s).
|
|
229
|
+
* @param resourceId Resource ID.
|
|
230
|
+
* @param options The options parameters.
|
|
231
|
+
*/
|
|
232
|
+
listQueryResultsForResource(policyStatesResource, resourceId, options) {
|
|
233
|
+
const iter = this.listQueryResultsForResourcePagingAll(policyStatesResource, resourceId, options);
|
|
234
|
+
return {
|
|
235
|
+
next() {
|
|
236
|
+
return iter.next();
|
|
237
|
+
},
|
|
238
|
+
[Symbol.asyncIterator]() {
|
|
239
|
+
return this;
|
|
240
|
+
},
|
|
241
|
+
byPage: (settings) => {
|
|
242
|
+
if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
|
|
243
|
+
throw new Error("maxPageSize is not supported by this operation.");
|
|
244
|
+
}
|
|
245
|
+
return this.listQueryResultsForResourcePagingPage(policyStatesResource, resourceId, options, settings);
|
|
246
|
+
},
|
|
247
|
+
};
|
|
248
|
+
}
|
|
249
|
+
listQueryResultsForResourcePagingPage(policyStatesResource, resourceId, options, settings) {
|
|
250
|
+
return tslib_1.__asyncGenerator(this, arguments, function* listQueryResultsForResourcePagingPage_1() {
|
|
251
|
+
let result;
|
|
252
|
+
let continuationToken = settings === null || settings === void 0 ? void 0 : settings.continuationToken;
|
|
253
|
+
if (!continuationToken) {
|
|
254
|
+
result = yield tslib_1.__await(this._listQueryResultsForResource(policyStatesResource, resourceId, options));
|
|
255
|
+
let page = result.value || [];
|
|
256
|
+
continuationToken = result.odataNextLink;
|
|
257
|
+
(0, pagingHelper_js_1.setContinuationToken)(page, continuationToken);
|
|
258
|
+
yield yield tslib_1.__await(page);
|
|
259
|
+
}
|
|
260
|
+
while (continuationToken) {
|
|
261
|
+
result = yield tslib_1.__await(this._listQueryResultsForResourceNext(policyStatesResource, resourceId, continuationToken, options));
|
|
262
|
+
continuationToken = result.odataNextLink;
|
|
263
|
+
let page = result.value || [];
|
|
264
|
+
(0, pagingHelper_js_1.setContinuationToken)(page, continuationToken);
|
|
265
|
+
yield yield tslib_1.__await(page);
|
|
266
|
+
}
|
|
267
|
+
});
|
|
268
|
+
}
|
|
269
|
+
listQueryResultsForResourcePagingAll(policyStatesResource, resourceId, options) {
|
|
270
|
+
return tslib_1.__asyncGenerator(this, arguments, function* listQueryResultsForResourcePagingAll_1() {
|
|
271
|
+
var _a, e_4, _b, _c;
|
|
272
|
+
try {
|
|
273
|
+
for (var _d = true, _e = tslib_1.__asyncValues(this.listQueryResultsForResourcePagingPage(policyStatesResource, resourceId, options)), _f; _f = yield tslib_1.__await(_e.next()), _a = _f.done, !_a; _d = true) {
|
|
274
|
+
_c = _f.value;
|
|
275
|
+
_d = false;
|
|
276
|
+
const page = _c;
|
|
277
|
+
yield tslib_1.__await(yield* tslib_1.__asyncDelegator(tslib_1.__asyncValues(page)));
|
|
278
|
+
}
|
|
279
|
+
}
|
|
280
|
+
catch (e_4_1) { e_4 = { error: e_4_1 }; }
|
|
281
|
+
finally {
|
|
282
|
+
try {
|
|
283
|
+
if (!_d && !_a && (_b = _e.return)) yield tslib_1.__await(_b.call(_e));
|
|
284
|
+
}
|
|
285
|
+
finally { if (e_4) throw e_4.error; }
|
|
286
|
+
}
|
|
287
|
+
});
|
|
288
|
+
}
|
|
289
|
+
/**
|
|
290
|
+
* Queries policy states for the subscription level policy set definition.
|
|
291
|
+
* @param policyStatesResource The virtual resource under PolicyStates resource type. In a given time
|
|
292
|
+
* range, 'latest' represents the latest policy state(s), whereas 'default' represents all policy
|
|
293
|
+
* state(s).
|
|
294
|
+
* @param subscriptionId Microsoft Azure subscription ID.
|
|
295
|
+
* @param policySetDefinitionName Policy set definition name.
|
|
296
|
+
* @param options The options parameters.
|
|
297
|
+
*/
|
|
298
|
+
listQueryResultsForPolicySetDefinition(policyStatesResource, subscriptionId, policySetDefinitionName, options) {
|
|
299
|
+
const iter = this.listQueryResultsForPolicySetDefinitionPagingAll(policyStatesResource, subscriptionId, policySetDefinitionName, options);
|
|
300
|
+
return {
|
|
301
|
+
next() {
|
|
302
|
+
return iter.next();
|
|
303
|
+
},
|
|
304
|
+
[Symbol.asyncIterator]() {
|
|
305
|
+
return this;
|
|
306
|
+
},
|
|
307
|
+
byPage: (settings) => {
|
|
308
|
+
if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
|
|
309
|
+
throw new Error("maxPageSize is not supported by this operation.");
|
|
310
|
+
}
|
|
311
|
+
return this.listQueryResultsForPolicySetDefinitionPagingPage(policyStatesResource, subscriptionId, policySetDefinitionName, options, settings);
|
|
312
|
+
},
|
|
313
|
+
};
|
|
314
|
+
}
|
|
315
|
+
listQueryResultsForPolicySetDefinitionPagingPage(policyStatesResource, subscriptionId, policySetDefinitionName, options, settings) {
|
|
316
|
+
return tslib_1.__asyncGenerator(this, arguments, function* listQueryResultsForPolicySetDefinitionPagingPage_1() {
|
|
317
|
+
let result;
|
|
318
|
+
let continuationToken = settings === null || settings === void 0 ? void 0 : settings.continuationToken;
|
|
319
|
+
if (!continuationToken) {
|
|
320
|
+
result = yield tslib_1.__await(this._listQueryResultsForPolicySetDefinition(policyStatesResource, subscriptionId, policySetDefinitionName, options));
|
|
321
|
+
let page = result.value || [];
|
|
322
|
+
continuationToken = result.odataNextLink;
|
|
323
|
+
(0, pagingHelper_js_1.setContinuationToken)(page, continuationToken);
|
|
324
|
+
yield yield tslib_1.__await(page);
|
|
325
|
+
}
|
|
326
|
+
while (continuationToken) {
|
|
327
|
+
result = yield tslib_1.__await(this._listQueryResultsForPolicySetDefinitionNext(policyStatesResource, subscriptionId, policySetDefinitionName, continuationToken, options));
|
|
328
|
+
continuationToken = result.odataNextLink;
|
|
329
|
+
let page = result.value || [];
|
|
330
|
+
(0, pagingHelper_js_1.setContinuationToken)(page, continuationToken);
|
|
331
|
+
yield yield tslib_1.__await(page);
|
|
332
|
+
}
|
|
333
|
+
});
|
|
334
|
+
}
|
|
335
|
+
listQueryResultsForPolicySetDefinitionPagingAll(policyStatesResource, subscriptionId, policySetDefinitionName, options) {
|
|
336
|
+
return tslib_1.__asyncGenerator(this, arguments, function* listQueryResultsForPolicySetDefinitionPagingAll_1() {
|
|
337
|
+
var _a, e_5, _b, _c;
|
|
338
|
+
try {
|
|
339
|
+
for (var _d = true, _e = tslib_1.__asyncValues(this.listQueryResultsForPolicySetDefinitionPagingPage(policyStatesResource, subscriptionId, policySetDefinitionName, options)), _f; _f = yield tslib_1.__await(_e.next()), _a = _f.done, !_a; _d = true) {
|
|
340
|
+
_c = _f.value;
|
|
341
|
+
_d = false;
|
|
342
|
+
const page = _c;
|
|
343
|
+
yield tslib_1.__await(yield* tslib_1.__asyncDelegator(tslib_1.__asyncValues(page)));
|
|
344
|
+
}
|
|
345
|
+
}
|
|
346
|
+
catch (e_5_1) { e_5 = { error: e_5_1 }; }
|
|
347
|
+
finally {
|
|
348
|
+
try {
|
|
349
|
+
if (!_d && !_a && (_b = _e.return)) yield tslib_1.__await(_b.call(_e));
|
|
350
|
+
}
|
|
351
|
+
finally { if (e_5) throw e_5.error; }
|
|
352
|
+
}
|
|
353
|
+
});
|
|
354
|
+
}
|
|
355
|
+
/**
|
|
356
|
+
* Queries policy states for the subscription level policy definition.
|
|
357
|
+
* @param policyStatesResource The virtual resource under PolicyStates resource type. In a given time
|
|
358
|
+
* range, 'latest' represents the latest policy state(s), whereas 'default' represents all policy
|
|
359
|
+
* state(s).
|
|
360
|
+
* @param subscriptionId Microsoft Azure subscription ID.
|
|
361
|
+
* @param policyDefinitionName Policy definition name.
|
|
362
|
+
* @param options The options parameters.
|
|
363
|
+
*/
|
|
364
|
+
listQueryResultsForPolicyDefinition(policyStatesResource, subscriptionId, policyDefinitionName, options) {
|
|
365
|
+
const iter = this.listQueryResultsForPolicyDefinitionPagingAll(policyStatesResource, subscriptionId, policyDefinitionName, options);
|
|
366
|
+
return {
|
|
367
|
+
next() {
|
|
368
|
+
return iter.next();
|
|
369
|
+
},
|
|
370
|
+
[Symbol.asyncIterator]() {
|
|
371
|
+
return this;
|
|
372
|
+
},
|
|
373
|
+
byPage: (settings) => {
|
|
374
|
+
if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
|
|
375
|
+
throw new Error("maxPageSize is not supported by this operation.");
|
|
376
|
+
}
|
|
377
|
+
return this.listQueryResultsForPolicyDefinitionPagingPage(policyStatesResource, subscriptionId, policyDefinitionName, options, settings);
|
|
378
|
+
},
|
|
379
|
+
};
|
|
380
|
+
}
|
|
381
|
+
listQueryResultsForPolicyDefinitionPagingPage(policyStatesResource, subscriptionId, policyDefinitionName, options, settings) {
|
|
382
|
+
return tslib_1.__asyncGenerator(this, arguments, function* listQueryResultsForPolicyDefinitionPagingPage_1() {
|
|
383
|
+
let result;
|
|
384
|
+
let continuationToken = settings === null || settings === void 0 ? void 0 : settings.continuationToken;
|
|
385
|
+
if (!continuationToken) {
|
|
386
|
+
result = yield tslib_1.__await(this._listQueryResultsForPolicyDefinition(policyStatesResource, subscriptionId, policyDefinitionName, options));
|
|
387
|
+
let page = result.value || [];
|
|
388
|
+
continuationToken = result.odataNextLink;
|
|
389
|
+
(0, pagingHelper_js_1.setContinuationToken)(page, continuationToken);
|
|
390
|
+
yield yield tslib_1.__await(page);
|
|
391
|
+
}
|
|
392
|
+
while (continuationToken) {
|
|
393
|
+
result = yield tslib_1.__await(this._listQueryResultsForPolicyDefinitionNext(policyStatesResource, subscriptionId, policyDefinitionName, continuationToken, options));
|
|
394
|
+
continuationToken = result.odataNextLink;
|
|
395
|
+
let page = result.value || [];
|
|
396
|
+
(0, pagingHelper_js_1.setContinuationToken)(page, continuationToken);
|
|
397
|
+
yield yield tslib_1.__await(page);
|
|
398
|
+
}
|
|
399
|
+
});
|
|
400
|
+
}
|
|
401
|
+
listQueryResultsForPolicyDefinitionPagingAll(policyStatesResource, subscriptionId, policyDefinitionName, options) {
|
|
402
|
+
return tslib_1.__asyncGenerator(this, arguments, function* listQueryResultsForPolicyDefinitionPagingAll_1() {
|
|
403
|
+
var _a, e_6, _b, _c;
|
|
404
|
+
try {
|
|
405
|
+
for (var _d = true, _e = tslib_1.__asyncValues(this.listQueryResultsForPolicyDefinitionPagingPage(policyStatesResource, subscriptionId, policyDefinitionName, options)), _f; _f = yield tslib_1.__await(_e.next()), _a = _f.done, !_a; _d = true) {
|
|
406
|
+
_c = _f.value;
|
|
407
|
+
_d = false;
|
|
408
|
+
const page = _c;
|
|
409
|
+
yield tslib_1.__await(yield* tslib_1.__asyncDelegator(tslib_1.__asyncValues(page)));
|
|
410
|
+
}
|
|
411
|
+
}
|
|
412
|
+
catch (e_6_1) { e_6 = { error: e_6_1 }; }
|
|
413
|
+
finally {
|
|
414
|
+
try {
|
|
415
|
+
if (!_d && !_a && (_b = _e.return)) yield tslib_1.__await(_b.call(_e));
|
|
416
|
+
}
|
|
417
|
+
finally { if (e_6) throw e_6.error; }
|
|
418
|
+
}
|
|
419
|
+
});
|
|
420
|
+
}
|
|
421
|
+
/**
|
|
422
|
+
* Queries policy states for the subscription level policy assignment.
|
|
423
|
+
* @param policyStatesResource The virtual resource under PolicyStates resource type. In a given time
|
|
424
|
+
* range, 'latest' represents the latest policy state(s), whereas 'default' represents all policy
|
|
425
|
+
* state(s).
|
|
426
|
+
* @param subscriptionId Microsoft Azure subscription ID.
|
|
427
|
+
* @param policyAssignmentName Policy assignment name.
|
|
428
|
+
* @param options The options parameters.
|
|
429
|
+
*/
|
|
430
|
+
listQueryResultsForSubscriptionLevelPolicyAssignment(policyStatesResource, subscriptionId, policyAssignmentName, options) {
|
|
431
|
+
const iter = this.listQueryResultsForSubscriptionLevelPolicyAssignmentPagingAll(policyStatesResource, subscriptionId, policyAssignmentName, options);
|
|
432
|
+
return {
|
|
433
|
+
next() {
|
|
434
|
+
return iter.next();
|
|
435
|
+
},
|
|
436
|
+
[Symbol.asyncIterator]() {
|
|
437
|
+
return this;
|
|
438
|
+
},
|
|
439
|
+
byPage: (settings) => {
|
|
440
|
+
if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
|
|
441
|
+
throw new Error("maxPageSize is not supported by this operation.");
|
|
442
|
+
}
|
|
443
|
+
return this.listQueryResultsForSubscriptionLevelPolicyAssignmentPagingPage(policyStatesResource, subscriptionId, policyAssignmentName, options, settings);
|
|
444
|
+
},
|
|
445
|
+
};
|
|
446
|
+
}
|
|
447
|
+
listQueryResultsForSubscriptionLevelPolicyAssignmentPagingPage(policyStatesResource, subscriptionId, policyAssignmentName, options, settings) {
|
|
448
|
+
return tslib_1.__asyncGenerator(this, arguments, function* listQueryResultsForSubscriptionLevelPolicyAssignmentPagingPage_1() {
|
|
449
|
+
let result;
|
|
450
|
+
let continuationToken = settings === null || settings === void 0 ? void 0 : settings.continuationToken;
|
|
451
|
+
if (!continuationToken) {
|
|
452
|
+
result = yield tslib_1.__await(this._listQueryResultsForSubscriptionLevelPolicyAssignment(policyStatesResource, subscriptionId, policyAssignmentName, options));
|
|
453
|
+
let page = result.value || [];
|
|
454
|
+
continuationToken = result.odataNextLink;
|
|
455
|
+
(0, pagingHelper_js_1.setContinuationToken)(page, continuationToken);
|
|
456
|
+
yield yield tslib_1.__await(page);
|
|
457
|
+
}
|
|
458
|
+
while (continuationToken) {
|
|
459
|
+
result =
|
|
460
|
+
yield tslib_1.__await(this._listQueryResultsForSubscriptionLevelPolicyAssignmentNext(policyStatesResource, subscriptionId, policyAssignmentName, continuationToken, options));
|
|
461
|
+
continuationToken = result.odataNextLink;
|
|
462
|
+
let page = result.value || [];
|
|
463
|
+
(0, pagingHelper_js_1.setContinuationToken)(page, continuationToken);
|
|
464
|
+
yield yield tslib_1.__await(page);
|
|
465
|
+
}
|
|
466
|
+
});
|
|
467
|
+
}
|
|
468
|
+
listQueryResultsForSubscriptionLevelPolicyAssignmentPagingAll(policyStatesResource, subscriptionId, policyAssignmentName, options) {
|
|
469
|
+
return tslib_1.__asyncGenerator(this, arguments, function* listQueryResultsForSubscriptionLevelPolicyAssignmentPagingAll_1() {
|
|
470
|
+
var _a, e_7, _b, _c;
|
|
471
|
+
try {
|
|
472
|
+
for (var _d = true, _e = tslib_1.__asyncValues(this.listQueryResultsForSubscriptionLevelPolicyAssignmentPagingPage(policyStatesResource, subscriptionId, policyAssignmentName, options)), _f; _f = yield tslib_1.__await(_e.next()), _a = _f.done, !_a; _d = true) {
|
|
473
|
+
_c = _f.value;
|
|
474
|
+
_d = false;
|
|
475
|
+
const page = _c;
|
|
476
|
+
yield tslib_1.__await(yield* tslib_1.__asyncDelegator(tslib_1.__asyncValues(page)));
|
|
477
|
+
}
|
|
478
|
+
}
|
|
479
|
+
catch (e_7_1) { e_7 = { error: e_7_1 }; }
|
|
480
|
+
finally {
|
|
481
|
+
try {
|
|
482
|
+
if (!_d && !_a && (_b = _e.return)) yield tslib_1.__await(_b.call(_e));
|
|
483
|
+
}
|
|
484
|
+
finally { if (e_7) throw e_7.error; }
|
|
485
|
+
}
|
|
486
|
+
});
|
|
487
|
+
}
|
|
488
|
+
/**
|
|
489
|
+
* Queries policy states for the resource group level policy assignment.
|
|
490
|
+
* @param policyStatesResource The virtual resource under PolicyStates resource type. In a given time
|
|
491
|
+
* range, 'latest' represents the latest policy state(s), whereas 'default' represents all policy
|
|
492
|
+
* state(s).
|
|
493
|
+
* @param subscriptionId Microsoft Azure subscription ID.
|
|
494
|
+
* @param resourceGroupName Resource group name.
|
|
495
|
+
* @param policyAssignmentName Policy assignment name.
|
|
496
|
+
* @param options The options parameters.
|
|
497
|
+
*/
|
|
498
|
+
listQueryResultsForResourceGroupLevelPolicyAssignment(policyStatesResource, subscriptionId, resourceGroupName, policyAssignmentName, options) {
|
|
499
|
+
const iter = this.listQueryResultsForResourceGroupLevelPolicyAssignmentPagingAll(policyStatesResource, subscriptionId, resourceGroupName, policyAssignmentName, options);
|
|
500
|
+
return {
|
|
501
|
+
next() {
|
|
502
|
+
return iter.next();
|
|
503
|
+
},
|
|
504
|
+
[Symbol.asyncIterator]() {
|
|
505
|
+
return this;
|
|
506
|
+
},
|
|
507
|
+
byPage: (settings) => {
|
|
508
|
+
if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
|
|
509
|
+
throw new Error("maxPageSize is not supported by this operation.");
|
|
510
|
+
}
|
|
511
|
+
return this.listQueryResultsForResourceGroupLevelPolicyAssignmentPagingPage(policyStatesResource, subscriptionId, resourceGroupName, policyAssignmentName, options, settings);
|
|
512
|
+
},
|
|
513
|
+
};
|
|
514
|
+
}
|
|
515
|
+
listQueryResultsForResourceGroupLevelPolicyAssignmentPagingPage(policyStatesResource, subscriptionId, resourceGroupName, policyAssignmentName, options, settings) {
|
|
516
|
+
return tslib_1.__asyncGenerator(this, arguments, function* listQueryResultsForResourceGroupLevelPolicyAssignmentPagingPage_1() {
|
|
517
|
+
let result;
|
|
518
|
+
let continuationToken = settings === null || settings === void 0 ? void 0 : settings.continuationToken;
|
|
519
|
+
if (!continuationToken) {
|
|
520
|
+
result =
|
|
521
|
+
yield tslib_1.__await(this._listQueryResultsForResourceGroupLevelPolicyAssignment(policyStatesResource, subscriptionId, resourceGroupName, policyAssignmentName, options));
|
|
522
|
+
let page = result.value || [];
|
|
523
|
+
continuationToken = result.odataNextLink;
|
|
524
|
+
(0, pagingHelper_js_1.setContinuationToken)(page, continuationToken);
|
|
525
|
+
yield yield tslib_1.__await(page);
|
|
526
|
+
}
|
|
527
|
+
while (continuationToken) {
|
|
528
|
+
result =
|
|
529
|
+
yield tslib_1.__await(this._listQueryResultsForResourceGroupLevelPolicyAssignmentNext(policyStatesResource, subscriptionId, resourceGroupName, policyAssignmentName, continuationToken, options));
|
|
530
|
+
continuationToken = result.odataNextLink;
|
|
531
|
+
let page = result.value || [];
|
|
532
|
+
(0, pagingHelper_js_1.setContinuationToken)(page, continuationToken);
|
|
533
|
+
yield yield tslib_1.__await(page);
|
|
534
|
+
}
|
|
535
|
+
});
|
|
536
|
+
}
|
|
537
|
+
listQueryResultsForResourceGroupLevelPolicyAssignmentPagingAll(policyStatesResource, subscriptionId, resourceGroupName, policyAssignmentName, options) {
|
|
538
|
+
return tslib_1.__asyncGenerator(this, arguments, function* listQueryResultsForResourceGroupLevelPolicyAssignmentPagingAll_1() {
|
|
539
|
+
var _a, e_8, _b, _c;
|
|
540
|
+
try {
|
|
541
|
+
for (var _d = true, _e = tslib_1.__asyncValues(this.listQueryResultsForResourceGroupLevelPolicyAssignmentPagingPage(policyStatesResource, subscriptionId, resourceGroupName, policyAssignmentName, options)), _f; _f = yield tslib_1.__await(_e.next()), _a = _f.done, !_a; _d = true) {
|
|
542
|
+
_c = _f.value;
|
|
543
|
+
_d = false;
|
|
544
|
+
const page = _c;
|
|
545
|
+
yield tslib_1.__await(yield* tslib_1.__asyncDelegator(tslib_1.__asyncValues(page)));
|
|
546
|
+
}
|
|
547
|
+
}
|
|
548
|
+
catch (e_8_1) { e_8 = { error: e_8_1 }; }
|
|
549
|
+
finally {
|
|
550
|
+
try {
|
|
551
|
+
if (!_d && !_a && (_b = _e.return)) yield tslib_1.__await(_b.call(_e));
|
|
552
|
+
}
|
|
553
|
+
finally { if (e_8) throw e_8.error; }
|
|
554
|
+
}
|
|
555
|
+
});
|
|
556
|
+
}
|
|
557
|
+
/**
|
|
558
|
+
* Queries policy states for the resources under the management group.
|
|
559
|
+
* @param policyStatesResource The virtual resource under PolicyStates resource type. In a given time
|
|
560
|
+
* range, 'latest' represents the latest policy state(s), whereas 'default' represents all policy
|
|
561
|
+
* state(s).
|
|
562
|
+
* @param managementGroupName Management group name.
|
|
563
|
+
* @param options The options parameters.
|
|
564
|
+
*/
|
|
565
|
+
_listQueryResultsForManagementGroup(policyStatesResource, managementGroupName, options) {
|
|
566
|
+
return this.client.sendOperationRequest({ policyStatesResource, managementGroupName, options }, listQueryResultsForManagementGroupOperationSpec);
|
|
567
|
+
}
|
|
568
|
+
/**
|
|
569
|
+
* Summarizes policy states for the resources under the management group.
|
|
570
|
+
* @param policyStatesSummaryResource The virtual resource under PolicyStates resource type for
|
|
571
|
+
* summarize action. In a given time range, 'latest' represents the latest policy state(s) and is the
|
|
572
|
+
* only allowed value.
|
|
573
|
+
* @param managementGroupName Management group name.
|
|
574
|
+
* @param options The options parameters.
|
|
575
|
+
*/
|
|
576
|
+
summarizeForManagementGroup(policyStatesSummaryResource, managementGroupName, options) {
|
|
577
|
+
return this.client.sendOperationRequest({ policyStatesSummaryResource, managementGroupName, options }, summarizeForManagementGroupOperationSpec);
|
|
578
|
+
}
|
|
579
|
+
/**
|
|
580
|
+
* Queries policy states for the resources under the subscription.
|
|
581
|
+
* @param policyStatesResource The virtual resource under PolicyStates resource type. In a given time
|
|
582
|
+
* range, 'latest' represents the latest policy state(s), whereas 'default' represents all policy
|
|
583
|
+
* state(s).
|
|
584
|
+
* @param subscriptionId Microsoft Azure subscription ID.
|
|
585
|
+
* @param options The options parameters.
|
|
586
|
+
*/
|
|
587
|
+
_listQueryResultsForSubscription(policyStatesResource, subscriptionId, options) {
|
|
588
|
+
return this.client.sendOperationRequest({ policyStatesResource, subscriptionId, options }, listQueryResultsForSubscriptionOperationSpec);
|
|
589
|
+
}
|
|
590
|
+
/**
|
|
591
|
+
* Summarizes policy states for the resources under the subscription.
|
|
592
|
+
* @param policyStatesSummaryResource The virtual resource under PolicyStates resource type for
|
|
593
|
+
* summarize action. In a given time range, 'latest' represents the latest policy state(s) and is the
|
|
594
|
+
* only allowed value.
|
|
595
|
+
* @param subscriptionId Microsoft Azure subscription ID.
|
|
596
|
+
* @param options The options parameters.
|
|
597
|
+
*/
|
|
598
|
+
summarizeForSubscription(policyStatesSummaryResource, subscriptionId, options) {
|
|
599
|
+
return this.client.sendOperationRequest({ policyStatesSummaryResource, subscriptionId, options }, summarizeForSubscriptionOperationSpec);
|
|
600
|
+
}
|
|
601
|
+
/**
|
|
602
|
+
* Queries policy states for the resources under the resource group.
|
|
603
|
+
* @param policyStatesResource The virtual resource under PolicyStates resource type. In a given time
|
|
604
|
+
* range, 'latest' represents the latest policy state(s), whereas 'default' represents all policy
|
|
605
|
+
* state(s).
|
|
606
|
+
* @param subscriptionId Microsoft Azure subscription ID.
|
|
607
|
+
* @param resourceGroupName Resource group name.
|
|
608
|
+
* @param options The options parameters.
|
|
609
|
+
*/
|
|
610
|
+
_listQueryResultsForResourceGroup(policyStatesResource, subscriptionId, resourceGroupName, options) {
|
|
611
|
+
return this.client.sendOperationRequest({ policyStatesResource, subscriptionId, resourceGroupName, options }, listQueryResultsForResourceGroupOperationSpec);
|
|
612
|
+
}
|
|
613
|
+
/**
|
|
614
|
+
* Summarizes policy states for the resources under the resource group.
|
|
615
|
+
* @param policyStatesSummaryResource The virtual resource under PolicyStates resource type for
|
|
616
|
+
* summarize action. In a given time range, 'latest' represents the latest policy state(s) and is the
|
|
617
|
+
* only allowed value.
|
|
618
|
+
* @param subscriptionId Microsoft Azure subscription ID.
|
|
619
|
+
* @param resourceGroupName Resource group name.
|
|
620
|
+
* @param options The options parameters.
|
|
621
|
+
*/
|
|
622
|
+
summarizeForResourceGroup(policyStatesSummaryResource, subscriptionId, resourceGroupName, options) {
|
|
623
|
+
return this.client.sendOperationRequest({
|
|
624
|
+
policyStatesSummaryResource,
|
|
625
|
+
subscriptionId,
|
|
626
|
+
resourceGroupName,
|
|
627
|
+
options,
|
|
628
|
+
}, summarizeForResourceGroupOperationSpec);
|
|
629
|
+
}
|
|
630
|
+
/**
|
|
631
|
+
* Queries policy states for the resource.
|
|
632
|
+
* @param policyStatesResource The virtual resource under PolicyStates resource type. In a given time
|
|
633
|
+
* range, 'latest' represents the latest policy state(s), whereas 'default' represents all policy
|
|
634
|
+
* state(s).
|
|
635
|
+
* @param resourceId Resource ID.
|
|
636
|
+
* @param options The options parameters.
|
|
637
|
+
*/
|
|
638
|
+
_listQueryResultsForResource(policyStatesResource, resourceId, options) {
|
|
639
|
+
return this.client.sendOperationRequest({ policyStatesResource, resourceId, options }, listQueryResultsForResourceOperationSpec);
|
|
640
|
+
}
|
|
641
|
+
/**
|
|
642
|
+
* Summarizes policy states for the resource.
|
|
643
|
+
* @param policyStatesSummaryResource The virtual resource under PolicyStates resource type for
|
|
644
|
+
* summarize action. In a given time range, 'latest' represents the latest policy state(s) and is the
|
|
645
|
+
* only allowed value.
|
|
646
|
+
* @param resourceId Resource ID.
|
|
647
|
+
* @param options The options parameters.
|
|
648
|
+
*/
|
|
649
|
+
summarizeForResource(policyStatesSummaryResource, resourceId, options) {
|
|
650
|
+
return this.client.sendOperationRequest({ policyStatesSummaryResource, resourceId, options }, summarizeForResourceOperationSpec);
|
|
651
|
+
}
|
|
652
|
+
/**
|
|
653
|
+
* Triggers a policy evaluation scan for all the resources under the subscription
|
|
654
|
+
* @param subscriptionId Microsoft Azure subscription ID.
|
|
655
|
+
* @param options The options parameters.
|
|
656
|
+
*/
|
|
657
|
+
async beginTriggerSubscriptionEvaluation(subscriptionId, options) {
|
|
658
|
+
const directSendOperation = async (args, spec) => {
|
|
659
|
+
return this.client.sendOperationRequest(args, spec);
|
|
660
|
+
};
|
|
661
|
+
const sendOperationFn = async (args, spec) => {
|
|
662
|
+
var _a;
|
|
663
|
+
let currentRawResponse = undefined;
|
|
664
|
+
const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
|
|
665
|
+
const callback = (rawResponse, flatResponse) => {
|
|
666
|
+
currentRawResponse = rawResponse;
|
|
667
|
+
providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
|
|
668
|
+
};
|
|
669
|
+
const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
|
|
670
|
+
const flatResponse = await directSendOperation(updatedArgs, spec);
|
|
671
|
+
return {
|
|
672
|
+
flatResponse,
|
|
673
|
+
rawResponse: {
|
|
674
|
+
statusCode: currentRawResponse.status,
|
|
675
|
+
body: currentRawResponse.parsedBody,
|
|
676
|
+
headers: currentRawResponse.headers.toJSON(),
|
|
677
|
+
},
|
|
678
|
+
};
|
|
679
|
+
};
|
|
680
|
+
const lro = (0, lroImpl_js_1.createLroSpec)({
|
|
681
|
+
sendOperationFn,
|
|
682
|
+
args: { subscriptionId, options },
|
|
683
|
+
spec: triggerSubscriptionEvaluationOperationSpec,
|
|
684
|
+
});
|
|
685
|
+
const poller = await (0, core_lro_1.createHttpPoller)(lro, {
|
|
686
|
+
restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
|
|
687
|
+
intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
|
|
688
|
+
resourceLocationConfig: "location",
|
|
689
|
+
});
|
|
690
|
+
await poller.poll();
|
|
691
|
+
return poller;
|
|
692
|
+
}
|
|
693
|
+
/**
|
|
694
|
+
* Triggers a policy evaluation scan for all the resources under the subscription
|
|
695
|
+
* @param subscriptionId Microsoft Azure subscription ID.
|
|
696
|
+
* @param options The options parameters.
|
|
697
|
+
*/
|
|
698
|
+
async beginTriggerSubscriptionEvaluationAndWait(subscriptionId, options) {
|
|
699
|
+
const poller = await this.beginTriggerSubscriptionEvaluation(subscriptionId, options);
|
|
700
|
+
return poller.pollUntilDone();
|
|
701
|
+
}
|
|
702
|
+
/**
|
|
703
|
+
* Triggers a policy evaluation scan for all the resources under the resource group.
|
|
704
|
+
* @param subscriptionId Microsoft Azure subscription ID.
|
|
705
|
+
* @param resourceGroupName Resource group name.
|
|
706
|
+
* @param options The options parameters.
|
|
707
|
+
*/
|
|
708
|
+
async beginTriggerResourceGroupEvaluation(subscriptionId, resourceGroupName, options) {
|
|
709
|
+
const directSendOperation = async (args, spec) => {
|
|
710
|
+
return this.client.sendOperationRequest(args, spec);
|
|
711
|
+
};
|
|
712
|
+
const sendOperationFn = async (args, spec) => {
|
|
713
|
+
var _a;
|
|
714
|
+
let currentRawResponse = undefined;
|
|
715
|
+
const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
|
|
716
|
+
const callback = (rawResponse, flatResponse) => {
|
|
717
|
+
currentRawResponse = rawResponse;
|
|
718
|
+
providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
|
|
719
|
+
};
|
|
720
|
+
const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
|
|
721
|
+
const flatResponse = await directSendOperation(updatedArgs, spec);
|
|
722
|
+
return {
|
|
723
|
+
flatResponse,
|
|
724
|
+
rawResponse: {
|
|
725
|
+
statusCode: currentRawResponse.status,
|
|
726
|
+
body: currentRawResponse.parsedBody,
|
|
727
|
+
headers: currentRawResponse.headers.toJSON(),
|
|
728
|
+
},
|
|
729
|
+
};
|
|
730
|
+
};
|
|
731
|
+
const lro = (0, lroImpl_js_1.createLroSpec)({
|
|
732
|
+
sendOperationFn,
|
|
733
|
+
args: { subscriptionId, resourceGroupName, options },
|
|
734
|
+
spec: triggerResourceGroupEvaluationOperationSpec,
|
|
735
|
+
});
|
|
736
|
+
const poller = await (0, core_lro_1.createHttpPoller)(lro, {
|
|
737
|
+
restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
|
|
738
|
+
intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
|
|
739
|
+
resourceLocationConfig: "location",
|
|
740
|
+
});
|
|
741
|
+
await poller.poll();
|
|
742
|
+
return poller;
|
|
743
|
+
}
|
|
744
|
+
/**
|
|
745
|
+
* Triggers a policy evaluation scan for all the resources under the resource group.
|
|
746
|
+
* @param subscriptionId Microsoft Azure subscription ID.
|
|
747
|
+
* @param resourceGroupName Resource group name.
|
|
748
|
+
* @param options The options parameters.
|
|
749
|
+
*/
|
|
750
|
+
async beginTriggerResourceGroupEvaluationAndWait(subscriptionId, resourceGroupName, options) {
|
|
751
|
+
const poller = await this.beginTriggerResourceGroupEvaluation(subscriptionId, resourceGroupName, options);
|
|
752
|
+
return poller.pollUntilDone();
|
|
753
|
+
}
|
|
754
|
+
/**
|
|
755
|
+
* Queries policy states for the subscription level policy set definition.
|
|
756
|
+
* @param policyStatesResource The virtual resource under PolicyStates resource type. In a given time
|
|
757
|
+
* range, 'latest' represents the latest policy state(s), whereas 'default' represents all policy
|
|
758
|
+
* state(s).
|
|
759
|
+
* @param subscriptionId Microsoft Azure subscription ID.
|
|
760
|
+
* @param policySetDefinitionName Policy set definition name.
|
|
761
|
+
* @param options The options parameters.
|
|
762
|
+
*/
|
|
763
|
+
_listQueryResultsForPolicySetDefinition(policyStatesResource, subscriptionId, policySetDefinitionName, options) {
|
|
764
|
+
return this.client.sendOperationRequest({
|
|
765
|
+
policyStatesResource,
|
|
766
|
+
subscriptionId,
|
|
767
|
+
policySetDefinitionName,
|
|
768
|
+
options,
|
|
769
|
+
}, listQueryResultsForPolicySetDefinitionOperationSpec);
|
|
770
|
+
}
|
|
771
|
+
/**
|
|
772
|
+
* Summarizes policy states for the subscription level policy set definition.
|
|
773
|
+
* @param policyStatesSummaryResource The virtual resource under PolicyStates resource type for
|
|
774
|
+
* summarize action. In a given time range, 'latest' represents the latest policy state(s) and is the
|
|
775
|
+
* only allowed value.
|
|
776
|
+
* @param subscriptionId Microsoft Azure subscription ID.
|
|
777
|
+
* @param policySetDefinitionName Policy set definition name.
|
|
778
|
+
* @param options The options parameters.
|
|
779
|
+
*/
|
|
780
|
+
summarizeForPolicySetDefinition(policyStatesSummaryResource, subscriptionId, policySetDefinitionName, options) {
|
|
781
|
+
return this.client.sendOperationRequest({
|
|
782
|
+
policyStatesSummaryResource,
|
|
783
|
+
subscriptionId,
|
|
784
|
+
policySetDefinitionName,
|
|
785
|
+
options,
|
|
786
|
+
}, summarizeForPolicySetDefinitionOperationSpec);
|
|
787
|
+
}
|
|
788
|
+
/**
|
|
789
|
+
* Queries policy states for the subscription level policy definition.
|
|
790
|
+
* @param policyStatesResource The virtual resource under PolicyStates resource type. In a given time
|
|
791
|
+
* range, 'latest' represents the latest policy state(s), whereas 'default' represents all policy
|
|
792
|
+
* state(s).
|
|
793
|
+
* @param subscriptionId Microsoft Azure subscription ID.
|
|
794
|
+
* @param policyDefinitionName Policy definition name.
|
|
795
|
+
* @param options The options parameters.
|
|
796
|
+
*/
|
|
797
|
+
_listQueryResultsForPolicyDefinition(policyStatesResource, subscriptionId, policyDefinitionName, options) {
|
|
798
|
+
return this.client.sendOperationRequest({ policyStatesResource, subscriptionId, policyDefinitionName, options }, listQueryResultsForPolicyDefinitionOperationSpec);
|
|
799
|
+
}
|
|
800
|
+
/**
|
|
801
|
+
* Summarizes policy states for the subscription level policy definition.
|
|
802
|
+
* @param policyStatesSummaryResource The virtual resource under PolicyStates resource type for
|
|
803
|
+
* summarize action. In a given time range, 'latest' represents the latest policy state(s) and is the
|
|
804
|
+
* only allowed value.
|
|
805
|
+
* @param subscriptionId Microsoft Azure subscription ID.
|
|
806
|
+
* @param policyDefinitionName Policy definition name.
|
|
807
|
+
* @param options The options parameters.
|
|
808
|
+
*/
|
|
809
|
+
summarizeForPolicyDefinition(policyStatesSummaryResource, subscriptionId, policyDefinitionName, options) {
|
|
810
|
+
return this.client.sendOperationRequest({
|
|
811
|
+
policyStatesSummaryResource,
|
|
812
|
+
subscriptionId,
|
|
813
|
+
policyDefinitionName,
|
|
814
|
+
options,
|
|
815
|
+
}, summarizeForPolicyDefinitionOperationSpec);
|
|
816
|
+
}
|
|
817
|
+
/**
|
|
818
|
+
* Queries policy states for the subscription level policy assignment.
|
|
819
|
+
* @param policyStatesResource The virtual resource under PolicyStates resource type. In a given time
|
|
820
|
+
* range, 'latest' represents the latest policy state(s), whereas 'default' represents all policy
|
|
821
|
+
* state(s).
|
|
822
|
+
* @param subscriptionId Microsoft Azure subscription ID.
|
|
823
|
+
* @param policyAssignmentName Policy assignment name.
|
|
824
|
+
* @param options The options parameters.
|
|
825
|
+
*/
|
|
826
|
+
_listQueryResultsForSubscriptionLevelPolicyAssignment(policyStatesResource, subscriptionId, policyAssignmentName, options) {
|
|
827
|
+
return this.client.sendOperationRequest({ policyStatesResource, subscriptionId, policyAssignmentName, options }, listQueryResultsForSubscriptionLevelPolicyAssignmentOperationSpec);
|
|
828
|
+
}
|
|
829
|
+
/**
|
|
830
|
+
* Summarizes policy states for the subscription level policy assignment.
|
|
831
|
+
* @param policyStatesSummaryResource The virtual resource under PolicyStates resource type for
|
|
832
|
+
* summarize action. In a given time range, 'latest' represents the latest policy state(s) and is the
|
|
833
|
+
* only allowed value.
|
|
834
|
+
* @param subscriptionId Microsoft Azure subscription ID.
|
|
835
|
+
* @param policyAssignmentName Policy assignment name.
|
|
836
|
+
* @param options The options parameters.
|
|
837
|
+
*/
|
|
838
|
+
summarizeForSubscriptionLevelPolicyAssignment(policyStatesSummaryResource, subscriptionId, policyAssignmentName, options) {
|
|
839
|
+
return this.client.sendOperationRequest({
|
|
840
|
+
policyStatesSummaryResource,
|
|
841
|
+
subscriptionId,
|
|
842
|
+
policyAssignmentName,
|
|
843
|
+
options,
|
|
844
|
+
}, summarizeForSubscriptionLevelPolicyAssignmentOperationSpec);
|
|
845
|
+
}
|
|
846
|
+
/**
|
|
847
|
+
* Queries policy states for the resource group level policy assignment.
|
|
848
|
+
* @param policyStatesResource The virtual resource under PolicyStates resource type. In a given time
|
|
849
|
+
* range, 'latest' represents the latest policy state(s), whereas 'default' represents all policy
|
|
850
|
+
* state(s).
|
|
851
|
+
* @param subscriptionId Microsoft Azure subscription ID.
|
|
852
|
+
* @param resourceGroupName Resource group name.
|
|
853
|
+
* @param policyAssignmentName Policy assignment name.
|
|
854
|
+
* @param options The options parameters.
|
|
855
|
+
*/
|
|
856
|
+
_listQueryResultsForResourceGroupLevelPolicyAssignment(policyStatesResource, subscriptionId, resourceGroupName, policyAssignmentName, options) {
|
|
857
|
+
return this.client.sendOperationRequest({
|
|
858
|
+
policyStatesResource,
|
|
859
|
+
subscriptionId,
|
|
860
|
+
resourceGroupName,
|
|
861
|
+
policyAssignmentName,
|
|
862
|
+
options,
|
|
863
|
+
}, listQueryResultsForResourceGroupLevelPolicyAssignmentOperationSpec);
|
|
864
|
+
}
|
|
865
|
+
/**
|
|
866
|
+
* Summarizes policy states for the resource group level policy assignment.
|
|
867
|
+
* @param policyStatesSummaryResource The virtual resource under PolicyStates resource type for
|
|
868
|
+
* summarize action. In a given time range, 'latest' represents the latest policy state(s) and is the
|
|
869
|
+
* only allowed value.
|
|
870
|
+
* @param subscriptionId Microsoft Azure subscription ID.
|
|
871
|
+
* @param resourceGroupName Resource group name.
|
|
872
|
+
* @param policyAssignmentName Policy assignment name.
|
|
873
|
+
* @param options The options parameters.
|
|
874
|
+
*/
|
|
875
|
+
summarizeForResourceGroupLevelPolicyAssignment(policyStatesSummaryResource, subscriptionId, resourceGroupName, policyAssignmentName, options) {
|
|
876
|
+
return this.client.sendOperationRequest({
|
|
877
|
+
policyStatesSummaryResource,
|
|
878
|
+
subscriptionId,
|
|
879
|
+
resourceGroupName,
|
|
880
|
+
policyAssignmentName,
|
|
881
|
+
options,
|
|
882
|
+
}, summarizeForResourceGroupLevelPolicyAssignmentOperationSpec);
|
|
883
|
+
}
|
|
884
|
+
/**
|
|
885
|
+
* ListQueryResultsForManagementGroupNext
|
|
886
|
+
* @param policyStatesResource The virtual resource under PolicyStates resource type. In a given time
|
|
887
|
+
* range, 'latest' represents the latest policy state(s), whereas 'default' represents all policy
|
|
888
|
+
* state(s).
|
|
889
|
+
* @param managementGroupName Management group name.
|
|
890
|
+
* @param nextLink The nextLink from the previous successful call to the
|
|
891
|
+
* ListQueryResultsForManagementGroup method.
|
|
892
|
+
* @param options The options parameters.
|
|
893
|
+
*/
|
|
894
|
+
_listQueryResultsForManagementGroupNext(policyStatesResource, managementGroupName, nextLink, options) {
|
|
895
|
+
return this.client.sendOperationRequest({ policyStatesResource, managementGroupName, nextLink, options }, listQueryResultsForManagementGroupNextOperationSpec);
|
|
896
|
+
}
|
|
897
|
+
/**
|
|
898
|
+
* ListQueryResultsForSubscriptionNext
|
|
899
|
+
* @param policyStatesResource The virtual resource under PolicyStates resource type. In a given time
|
|
900
|
+
* range, 'latest' represents the latest policy state(s), whereas 'default' represents all policy
|
|
901
|
+
* state(s).
|
|
902
|
+
* @param subscriptionId Microsoft Azure subscription ID.
|
|
903
|
+
* @param nextLink The nextLink from the previous successful call to the
|
|
904
|
+
* ListQueryResultsForSubscription method.
|
|
905
|
+
* @param options The options parameters.
|
|
906
|
+
*/
|
|
907
|
+
_listQueryResultsForSubscriptionNext(policyStatesResource, subscriptionId, nextLink, options) {
|
|
908
|
+
return this.client.sendOperationRequest({ policyStatesResource, subscriptionId, nextLink, options }, listQueryResultsForSubscriptionNextOperationSpec);
|
|
909
|
+
}
|
|
910
|
+
/**
|
|
911
|
+
* ListQueryResultsForResourceGroupNext
|
|
912
|
+
* @param policyStatesResource The virtual resource under PolicyStates resource type. In a given time
|
|
913
|
+
* range, 'latest' represents the latest policy state(s), whereas 'default' represents all policy
|
|
914
|
+
* state(s).
|
|
915
|
+
* @param subscriptionId Microsoft Azure subscription ID.
|
|
916
|
+
* @param resourceGroupName Resource group name.
|
|
917
|
+
* @param nextLink The nextLink from the previous successful call to the
|
|
918
|
+
* ListQueryResultsForResourceGroup method.
|
|
919
|
+
* @param options The options parameters.
|
|
920
|
+
*/
|
|
921
|
+
_listQueryResultsForResourceGroupNext(policyStatesResource, subscriptionId, resourceGroupName, nextLink, options) {
|
|
922
|
+
return this.client.sendOperationRequest({
|
|
923
|
+
policyStatesResource,
|
|
924
|
+
subscriptionId,
|
|
925
|
+
resourceGroupName,
|
|
926
|
+
nextLink,
|
|
927
|
+
options,
|
|
928
|
+
}, listQueryResultsForResourceGroupNextOperationSpec);
|
|
929
|
+
}
|
|
930
|
+
/**
|
|
931
|
+
* ListQueryResultsForResourceNext
|
|
932
|
+
* @param policyStatesResource The virtual resource under PolicyStates resource type. In a given time
|
|
933
|
+
* range, 'latest' represents the latest policy state(s), whereas 'default' represents all policy
|
|
934
|
+
* state(s).
|
|
935
|
+
* @param resourceId Resource ID.
|
|
936
|
+
* @param nextLink The nextLink from the previous successful call to the ListQueryResultsForResource
|
|
937
|
+
* method.
|
|
938
|
+
* @param options The options parameters.
|
|
939
|
+
*/
|
|
940
|
+
_listQueryResultsForResourceNext(policyStatesResource, resourceId, nextLink, options) {
|
|
941
|
+
return this.client.sendOperationRequest({ policyStatesResource, resourceId, nextLink, options }, listQueryResultsForResourceNextOperationSpec);
|
|
942
|
+
}
|
|
943
|
+
/**
|
|
944
|
+
* ListQueryResultsForPolicySetDefinitionNext
|
|
945
|
+
* @param policyStatesResource The virtual resource under PolicyStates resource type. In a given time
|
|
946
|
+
* range, 'latest' represents the latest policy state(s), whereas 'default' represents all policy
|
|
947
|
+
* state(s).
|
|
948
|
+
* @param subscriptionId Microsoft Azure subscription ID.
|
|
949
|
+
* @param policySetDefinitionName Policy set definition name.
|
|
950
|
+
* @param nextLink The nextLink from the previous successful call to the
|
|
951
|
+
* ListQueryResultsForPolicySetDefinition method.
|
|
952
|
+
* @param options The options parameters.
|
|
953
|
+
*/
|
|
954
|
+
_listQueryResultsForPolicySetDefinitionNext(policyStatesResource, subscriptionId, policySetDefinitionName, nextLink, options) {
|
|
955
|
+
return this.client.sendOperationRequest({
|
|
956
|
+
policyStatesResource,
|
|
957
|
+
subscriptionId,
|
|
958
|
+
policySetDefinitionName,
|
|
959
|
+
nextLink,
|
|
960
|
+
options,
|
|
961
|
+
}, listQueryResultsForPolicySetDefinitionNextOperationSpec);
|
|
962
|
+
}
|
|
963
|
+
/**
|
|
964
|
+
* ListQueryResultsForPolicyDefinitionNext
|
|
965
|
+
* @param policyStatesResource The virtual resource under PolicyStates resource type. In a given time
|
|
966
|
+
* range, 'latest' represents the latest policy state(s), whereas 'default' represents all policy
|
|
967
|
+
* state(s).
|
|
968
|
+
* @param subscriptionId Microsoft Azure subscription ID.
|
|
969
|
+
* @param policyDefinitionName Policy definition name.
|
|
970
|
+
* @param nextLink The nextLink from the previous successful call to the
|
|
971
|
+
* ListQueryResultsForPolicyDefinition method.
|
|
972
|
+
* @param options The options parameters.
|
|
973
|
+
*/
|
|
974
|
+
_listQueryResultsForPolicyDefinitionNext(policyStatesResource, subscriptionId, policyDefinitionName, nextLink, options) {
|
|
975
|
+
return this.client.sendOperationRequest({
|
|
976
|
+
policyStatesResource,
|
|
977
|
+
subscriptionId,
|
|
978
|
+
policyDefinitionName,
|
|
979
|
+
nextLink,
|
|
980
|
+
options,
|
|
981
|
+
}, listQueryResultsForPolicyDefinitionNextOperationSpec);
|
|
982
|
+
}
|
|
983
|
+
/**
|
|
984
|
+
* ListQueryResultsForSubscriptionLevelPolicyAssignmentNext
|
|
985
|
+
* @param policyStatesResource The virtual resource under PolicyStates resource type. In a given time
|
|
986
|
+
* range, 'latest' represents the latest policy state(s), whereas 'default' represents all policy
|
|
987
|
+
* state(s).
|
|
988
|
+
* @param subscriptionId Microsoft Azure subscription ID.
|
|
989
|
+
* @param policyAssignmentName Policy assignment name.
|
|
990
|
+
* @param nextLink The nextLink from the previous successful call to the
|
|
991
|
+
* ListQueryResultsForSubscriptionLevelPolicyAssignment method.
|
|
992
|
+
* @param options The options parameters.
|
|
993
|
+
*/
|
|
994
|
+
_listQueryResultsForSubscriptionLevelPolicyAssignmentNext(policyStatesResource, subscriptionId, policyAssignmentName, nextLink, options) {
|
|
995
|
+
return this.client.sendOperationRequest({
|
|
996
|
+
policyStatesResource,
|
|
997
|
+
subscriptionId,
|
|
998
|
+
policyAssignmentName,
|
|
999
|
+
nextLink,
|
|
1000
|
+
options,
|
|
1001
|
+
}, listQueryResultsForSubscriptionLevelPolicyAssignmentNextOperationSpec);
|
|
1002
|
+
}
|
|
1003
|
+
/**
|
|
1004
|
+
* ListQueryResultsForResourceGroupLevelPolicyAssignmentNext
|
|
1005
|
+
* @param policyStatesResource The virtual resource under PolicyStates resource type. In a given time
|
|
1006
|
+
* range, 'latest' represents the latest policy state(s), whereas 'default' represents all policy
|
|
1007
|
+
* state(s).
|
|
1008
|
+
* @param subscriptionId Microsoft Azure subscription ID.
|
|
1009
|
+
* @param resourceGroupName Resource group name.
|
|
1010
|
+
* @param policyAssignmentName Policy assignment name.
|
|
1011
|
+
* @param nextLink The nextLink from the previous successful call to the
|
|
1012
|
+
* ListQueryResultsForResourceGroupLevelPolicyAssignment method.
|
|
1013
|
+
* @param options The options parameters.
|
|
1014
|
+
*/
|
|
1015
|
+
_listQueryResultsForResourceGroupLevelPolicyAssignmentNext(policyStatesResource, subscriptionId, resourceGroupName, policyAssignmentName, nextLink, options) {
|
|
1016
|
+
return this.client.sendOperationRequest({
|
|
1017
|
+
policyStatesResource,
|
|
1018
|
+
subscriptionId,
|
|
1019
|
+
resourceGroupName,
|
|
1020
|
+
policyAssignmentName,
|
|
1021
|
+
nextLink,
|
|
1022
|
+
options,
|
|
1023
|
+
}, listQueryResultsForResourceGroupLevelPolicyAssignmentNextOperationSpec);
|
|
1024
|
+
}
|
|
1025
|
+
}
|
|
1026
|
+
exports.PolicyStatesImpl = PolicyStatesImpl;
|
|
1027
|
+
// Operation Specifications
|
|
1028
|
+
const serializer = coreClient.createSerializer(Mappers, /* isXml */ false);
|
|
1029
|
+
const listQueryResultsForManagementGroupOperationSpec = {
|
|
1030
|
+
path: "/providers/{managementGroupsNamespace}/managementGroups/{managementGroupName}/providers/Microsoft.PolicyInsights/policyStates/{policyStatesResource}/queryResults",
|
|
1031
|
+
httpMethod: "POST",
|
|
1032
|
+
responses: {
|
|
1033
|
+
200: {
|
|
1034
|
+
bodyMapper: Mappers.PolicyStatesQueryResults,
|
|
1035
|
+
},
|
|
1036
|
+
default: {
|
|
1037
|
+
bodyMapper: Mappers.QueryFailure,
|
|
1038
|
+
},
|
|
1039
|
+
},
|
|
1040
|
+
queryParameters: [
|
|
1041
|
+
Parameters.top,
|
|
1042
|
+
Parameters.filter,
|
|
1043
|
+
Parameters.apiVersion1,
|
|
1044
|
+
Parameters.orderBy,
|
|
1045
|
+
Parameters.select,
|
|
1046
|
+
Parameters.fromParam,
|
|
1047
|
+
Parameters.to,
|
|
1048
|
+
Parameters.apply,
|
|
1049
|
+
Parameters.skipToken,
|
|
1050
|
+
],
|
|
1051
|
+
urlParameters: [
|
|
1052
|
+
Parameters.$host,
|
|
1053
|
+
Parameters.managementGroupsNamespace,
|
|
1054
|
+
Parameters.managementGroupName,
|
|
1055
|
+
Parameters.policyStatesResource,
|
|
1056
|
+
],
|
|
1057
|
+
headerParameters: [Parameters.accept],
|
|
1058
|
+
serializer,
|
|
1059
|
+
};
|
|
1060
|
+
const summarizeForManagementGroupOperationSpec = {
|
|
1061
|
+
path: "/providers/{managementGroupsNamespace}/managementGroups/{managementGroupName}/providers/Microsoft.PolicyInsights/policyStates/{policyStatesSummaryResource}/summarize",
|
|
1062
|
+
httpMethod: "POST",
|
|
1063
|
+
responses: {
|
|
1064
|
+
200: {
|
|
1065
|
+
bodyMapper: Mappers.SummarizeResults,
|
|
1066
|
+
},
|
|
1067
|
+
default: {
|
|
1068
|
+
bodyMapper: Mappers.QueryFailure,
|
|
1069
|
+
},
|
|
1070
|
+
},
|
|
1071
|
+
queryParameters: [
|
|
1072
|
+
Parameters.top,
|
|
1073
|
+
Parameters.filter,
|
|
1074
|
+
Parameters.apiVersion1,
|
|
1075
|
+
Parameters.fromParam,
|
|
1076
|
+
Parameters.to,
|
|
1077
|
+
],
|
|
1078
|
+
urlParameters: [
|
|
1079
|
+
Parameters.$host,
|
|
1080
|
+
Parameters.managementGroupsNamespace,
|
|
1081
|
+
Parameters.managementGroupName,
|
|
1082
|
+
Parameters.policyStatesSummaryResource,
|
|
1083
|
+
],
|
|
1084
|
+
headerParameters: [Parameters.accept],
|
|
1085
|
+
serializer,
|
|
1086
|
+
};
|
|
1087
|
+
const listQueryResultsForSubscriptionOperationSpec = {
|
|
1088
|
+
path: "/subscriptions/{subscriptionId}/providers/Microsoft.PolicyInsights/policyStates/{policyStatesResource}/queryResults",
|
|
1089
|
+
httpMethod: "POST",
|
|
1090
|
+
responses: {
|
|
1091
|
+
200: {
|
|
1092
|
+
bodyMapper: Mappers.PolicyStatesQueryResults,
|
|
1093
|
+
},
|
|
1094
|
+
default: {
|
|
1095
|
+
bodyMapper: Mappers.QueryFailure,
|
|
1096
|
+
},
|
|
1097
|
+
},
|
|
1098
|
+
queryParameters: [
|
|
1099
|
+
Parameters.top,
|
|
1100
|
+
Parameters.filter,
|
|
1101
|
+
Parameters.apiVersion1,
|
|
1102
|
+
Parameters.orderBy,
|
|
1103
|
+
Parameters.select,
|
|
1104
|
+
Parameters.fromParam,
|
|
1105
|
+
Parameters.to,
|
|
1106
|
+
Parameters.apply,
|
|
1107
|
+
Parameters.skipToken,
|
|
1108
|
+
],
|
|
1109
|
+
urlParameters: [
|
|
1110
|
+
Parameters.$host,
|
|
1111
|
+
Parameters.subscriptionId1,
|
|
1112
|
+
Parameters.policyStatesResource,
|
|
1113
|
+
],
|
|
1114
|
+
headerParameters: [Parameters.accept],
|
|
1115
|
+
serializer,
|
|
1116
|
+
};
|
|
1117
|
+
const summarizeForSubscriptionOperationSpec = {
|
|
1118
|
+
path: "/subscriptions/{subscriptionId}/providers/Microsoft.PolicyInsights/policyStates/{policyStatesSummaryResource}/summarize",
|
|
1119
|
+
httpMethod: "POST",
|
|
1120
|
+
responses: {
|
|
1121
|
+
200: {
|
|
1122
|
+
bodyMapper: Mappers.SummarizeResults,
|
|
1123
|
+
},
|
|
1124
|
+
default: {
|
|
1125
|
+
bodyMapper: Mappers.QueryFailure,
|
|
1126
|
+
},
|
|
1127
|
+
},
|
|
1128
|
+
queryParameters: [
|
|
1129
|
+
Parameters.top,
|
|
1130
|
+
Parameters.filter,
|
|
1131
|
+
Parameters.apiVersion1,
|
|
1132
|
+
Parameters.fromParam,
|
|
1133
|
+
Parameters.to,
|
|
1134
|
+
],
|
|
1135
|
+
urlParameters: [
|
|
1136
|
+
Parameters.$host,
|
|
1137
|
+
Parameters.subscriptionId1,
|
|
1138
|
+
Parameters.policyStatesSummaryResource,
|
|
1139
|
+
],
|
|
1140
|
+
headerParameters: [Parameters.accept],
|
|
1141
|
+
serializer,
|
|
1142
|
+
};
|
|
1143
|
+
const listQueryResultsForResourceGroupOperationSpec = {
|
|
1144
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.PolicyInsights/policyStates/{policyStatesResource}/queryResults",
|
|
1145
|
+
httpMethod: "POST",
|
|
1146
|
+
responses: {
|
|
1147
|
+
200: {
|
|
1148
|
+
bodyMapper: Mappers.PolicyStatesQueryResults,
|
|
1149
|
+
},
|
|
1150
|
+
default: {
|
|
1151
|
+
bodyMapper: Mappers.QueryFailure,
|
|
1152
|
+
},
|
|
1153
|
+
},
|
|
1154
|
+
queryParameters: [
|
|
1155
|
+
Parameters.top,
|
|
1156
|
+
Parameters.filter,
|
|
1157
|
+
Parameters.apiVersion1,
|
|
1158
|
+
Parameters.orderBy,
|
|
1159
|
+
Parameters.select,
|
|
1160
|
+
Parameters.fromParam,
|
|
1161
|
+
Parameters.to,
|
|
1162
|
+
Parameters.apply,
|
|
1163
|
+
Parameters.skipToken,
|
|
1164
|
+
],
|
|
1165
|
+
urlParameters: [
|
|
1166
|
+
Parameters.$host,
|
|
1167
|
+
Parameters.resourceGroupName,
|
|
1168
|
+
Parameters.subscriptionId1,
|
|
1169
|
+
Parameters.policyStatesResource,
|
|
1170
|
+
],
|
|
1171
|
+
headerParameters: [Parameters.accept],
|
|
1172
|
+
serializer,
|
|
1173
|
+
};
|
|
1174
|
+
const summarizeForResourceGroupOperationSpec = {
|
|
1175
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.PolicyInsights/policyStates/{policyStatesSummaryResource}/summarize",
|
|
1176
|
+
httpMethod: "POST",
|
|
1177
|
+
responses: {
|
|
1178
|
+
200: {
|
|
1179
|
+
bodyMapper: Mappers.SummarizeResults,
|
|
1180
|
+
},
|
|
1181
|
+
default: {
|
|
1182
|
+
bodyMapper: Mappers.QueryFailure,
|
|
1183
|
+
},
|
|
1184
|
+
},
|
|
1185
|
+
queryParameters: [
|
|
1186
|
+
Parameters.top,
|
|
1187
|
+
Parameters.filter,
|
|
1188
|
+
Parameters.apiVersion1,
|
|
1189
|
+
Parameters.fromParam,
|
|
1190
|
+
Parameters.to,
|
|
1191
|
+
],
|
|
1192
|
+
urlParameters: [
|
|
1193
|
+
Parameters.$host,
|
|
1194
|
+
Parameters.resourceGroupName,
|
|
1195
|
+
Parameters.subscriptionId1,
|
|
1196
|
+
Parameters.policyStatesSummaryResource,
|
|
1197
|
+
],
|
|
1198
|
+
headerParameters: [Parameters.accept],
|
|
1199
|
+
serializer,
|
|
1200
|
+
};
|
|
1201
|
+
const listQueryResultsForResourceOperationSpec = {
|
|
1202
|
+
path: "/{resourceId}/providers/Microsoft.PolicyInsights/policyStates/{policyStatesResource}/queryResults",
|
|
1203
|
+
httpMethod: "POST",
|
|
1204
|
+
responses: {
|
|
1205
|
+
200: {
|
|
1206
|
+
bodyMapper: Mappers.PolicyStatesQueryResults,
|
|
1207
|
+
},
|
|
1208
|
+
default: {
|
|
1209
|
+
bodyMapper: Mappers.QueryFailure,
|
|
1210
|
+
},
|
|
1211
|
+
},
|
|
1212
|
+
queryParameters: [
|
|
1213
|
+
Parameters.top,
|
|
1214
|
+
Parameters.filter,
|
|
1215
|
+
Parameters.apiVersion1,
|
|
1216
|
+
Parameters.orderBy,
|
|
1217
|
+
Parameters.select,
|
|
1218
|
+
Parameters.fromParam,
|
|
1219
|
+
Parameters.to,
|
|
1220
|
+
Parameters.apply,
|
|
1221
|
+
Parameters.skipToken,
|
|
1222
|
+
Parameters.expand,
|
|
1223
|
+
],
|
|
1224
|
+
urlParameters: [
|
|
1225
|
+
Parameters.$host,
|
|
1226
|
+
Parameters.resourceId,
|
|
1227
|
+
Parameters.policyStatesResource,
|
|
1228
|
+
],
|
|
1229
|
+
headerParameters: [Parameters.accept],
|
|
1230
|
+
serializer,
|
|
1231
|
+
};
|
|
1232
|
+
const summarizeForResourceOperationSpec = {
|
|
1233
|
+
path: "/{resourceId}/providers/Microsoft.PolicyInsights/policyStates/{policyStatesSummaryResource}/summarize",
|
|
1234
|
+
httpMethod: "POST",
|
|
1235
|
+
responses: {
|
|
1236
|
+
200: {
|
|
1237
|
+
bodyMapper: Mappers.SummarizeResults,
|
|
1238
|
+
},
|
|
1239
|
+
default: {
|
|
1240
|
+
bodyMapper: Mappers.QueryFailure,
|
|
1241
|
+
},
|
|
1242
|
+
},
|
|
1243
|
+
queryParameters: [
|
|
1244
|
+
Parameters.top,
|
|
1245
|
+
Parameters.filter,
|
|
1246
|
+
Parameters.apiVersion1,
|
|
1247
|
+
Parameters.fromParam,
|
|
1248
|
+
Parameters.to,
|
|
1249
|
+
],
|
|
1250
|
+
urlParameters: [
|
|
1251
|
+
Parameters.$host,
|
|
1252
|
+
Parameters.resourceId,
|
|
1253
|
+
Parameters.policyStatesSummaryResource,
|
|
1254
|
+
],
|
|
1255
|
+
headerParameters: [Parameters.accept],
|
|
1256
|
+
serializer,
|
|
1257
|
+
};
|
|
1258
|
+
const triggerSubscriptionEvaluationOperationSpec = {
|
|
1259
|
+
path: "/subscriptions/{subscriptionId}/providers/Microsoft.PolicyInsights/policyStates/latest/triggerEvaluation",
|
|
1260
|
+
httpMethod: "POST",
|
|
1261
|
+
responses: {
|
|
1262
|
+
200: {},
|
|
1263
|
+
201: {},
|
|
1264
|
+
202: {},
|
|
1265
|
+
204: {},
|
|
1266
|
+
default: {
|
|
1267
|
+
bodyMapper: Mappers.QueryFailure,
|
|
1268
|
+
},
|
|
1269
|
+
},
|
|
1270
|
+
queryParameters: [Parameters.apiVersion1],
|
|
1271
|
+
urlParameters: [Parameters.$host, Parameters.subscriptionId1],
|
|
1272
|
+
headerParameters: [Parameters.accept],
|
|
1273
|
+
serializer,
|
|
1274
|
+
};
|
|
1275
|
+
const triggerResourceGroupEvaluationOperationSpec = {
|
|
1276
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.PolicyInsights/policyStates/latest/triggerEvaluation",
|
|
1277
|
+
httpMethod: "POST",
|
|
1278
|
+
responses: {
|
|
1279
|
+
200: {},
|
|
1280
|
+
201: {},
|
|
1281
|
+
202: {},
|
|
1282
|
+
204: {},
|
|
1283
|
+
default: {
|
|
1284
|
+
bodyMapper: Mappers.QueryFailure,
|
|
1285
|
+
},
|
|
1286
|
+
},
|
|
1287
|
+
queryParameters: [Parameters.apiVersion1],
|
|
1288
|
+
urlParameters: [
|
|
1289
|
+
Parameters.$host,
|
|
1290
|
+
Parameters.resourceGroupName,
|
|
1291
|
+
Parameters.subscriptionId1,
|
|
1292
|
+
],
|
|
1293
|
+
headerParameters: [Parameters.accept],
|
|
1294
|
+
serializer,
|
|
1295
|
+
};
|
|
1296
|
+
const listQueryResultsForPolicySetDefinitionOperationSpec = {
|
|
1297
|
+
path: "/subscriptions/{subscriptionId}/providers/{authorizationNamespace}/policySetDefinitions/{policySetDefinitionName}/providers/Microsoft.PolicyInsights/policyStates/{policyStatesResource}/queryResults",
|
|
1298
|
+
httpMethod: "POST",
|
|
1299
|
+
responses: {
|
|
1300
|
+
200: {
|
|
1301
|
+
bodyMapper: Mappers.PolicyStatesQueryResults,
|
|
1302
|
+
},
|
|
1303
|
+
default: {
|
|
1304
|
+
bodyMapper: Mappers.QueryFailure,
|
|
1305
|
+
},
|
|
1306
|
+
},
|
|
1307
|
+
queryParameters: [
|
|
1308
|
+
Parameters.top,
|
|
1309
|
+
Parameters.filter,
|
|
1310
|
+
Parameters.apiVersion1,
|
|
1311
|
+
Parameters.orderBy,
|
|
1312
|
+
Parameters.select,
|
|
1313
|
+
Parameters.fromParam,
|
|
1314
|
+
Parameters.to,
|
|
1315
|
+
Parameters.apply,
|
|
1316
|
+
Parameters.skipToken,
|
|
1317
|
+
],
|
|
1318
|
+
urlParameters: [
|
|
1319
|
+
Parameters.$host,
|
|
1320
|
+
Parameters.subscriptionId1,
|
|
1321
|
+
Parameters.authorizationNamespace,
|
|
1322
|
+
Parameters.policySetDefinitionName,
|
|
1323
|
+
Parameters.policyStatesResource,
|
|
1324
|
+
],
|
|
1325
|
+
headerParameters: [Parameters.accept],
|
|
1326
|
+
serializer,
|
|
1327
|
+
};
|
|
1328
|
+
const summarizeForPolicySetDefinitionOperationSpec = {
|
|
1329
|
+
path: "/subscriptions/{subscriptionId}/providers/{authorizationNamespace}/policySetDefinitions/{policySetDefinitionName}/providers/Microsoft.PolicyInsights/policyStates/{policyStatesSummaryResource}/summarize",
|
|
1330
|
+
httpMethod: "POST",
|
|
1331
|
+
responses: {
|
|
1332
|
+
200: {
|
|
1333
|
+
bodyMapper: Mappers.SummarizeResults,
|
|
1334
|
+
},
|
|
1335
|
+
default: {
|
|
1336
|
+
bodyMapper: Mappers.QueryFailure,
|
|
1337
|
+
},
|
|
1338
|
+
},
|
|
1339
|
+
queryParameters: [
|
|
1340
|
+
Parameters.top,
|
|
1341
|
+
Parameters.filter,
|
|
1342
|
+
Parameters.apiVersion1,
|
|
1343
|
+
Parameters.fromParam,
|
|
1344
|
+
Parameters.to,
|
|
1345
|
+
],
|
|
1346
|
+
urlParameters: [
|
|
1347
|
+
Parameters.$host,
|
|
1348
|
+
Parameters.subscriptionId1,
|
|
1349
|
+
Parameters.authorizationNamespace,
|
|
1350
|
+
Parameters.policySetDefinitionName,
|
|
1351
|
+
Parameters.policyStatesSummaryResource,
|
|
1352
|
+
],
|
|
1353
|
+
headerParameters: [Parameters.accept],
|
|
1354
|
+
serializer,
|
|
1355
|
+
};
|
|
1356
|
+
const listQueryResultsForPolicyDefinitionOperationSpec = {
|
|
1357
|
+
path: "/subscriptions/{subscriptionId}/providers/{authorizationNamespace}/policyDefinitions/{policyDefinitionName}/providers/Microsoft.PolicyInsights/policyStates/{policyStatesResource}/queryResults",
|
|
1358
|
+
httpMethod: "POST",
|
|
1359
|
+
responses: {
|
|
1360
|
+
200: {
|
|
1361
|
+
bodyMapper: Mappers.PolicyStatesQueryResults,
|
|
1362
|
+
},
|
|
1363
|
+
default: {
|
|
1364
|
+
bodyMapper: Mappers.QueryFailure,
|
|
1365
|
+
},
|
|
1366
|
+
},
|
|
1367
|
+
queryParameters: [
|
|
1368
|
+
Parameters.top,
|
|
1369
|
+
Parameters.filter,
|
|
1370
|
+
Parameters.apiVersion1,
|
|
1371
|
+
Parameters.orderBy,
|
|
1372
|
+
Parameters.select,
|
|
1373
|
+
Parameters.fromParam,
|
|
1374
|
+
Parameters.to,
|
|
1375
|
+
Parameters.apply,
|
|
1376
|
+
Parameters.skipToken,
|
|
1377
|
+
],
|
|
1378
|
+
urlParameters: [
|
|
1379
|
+
Parameters.$host,
|
|
1380
|
+
Parameters.subscriptionId1,
|
|
1381
|
+
Parameters.authorizationNamespace,
|
|
1382
|
+
Parameters.policyDefinitionName,
|
|
1383
|
+
Parameters.policyStatesResource,
|
|
1384
|
+
],
|
|
1385
|
+
headerParameters: [Parameters.accept],
|
|
1386
|
+
serializer,
|
|
1387
|
+
};
|
|
1388
|
+
const summarizeForPolicyDefinitionOperationSpec = {
|
|
1389
|
+
path: "/subscriptions/{subscriptionId}/providers/{authorizationNamespace}/policyDefinitions/{policyDefinitionName}/providers/Microsoft.PolicyInsights/policyStates/{policyStatesSummaryResource}/summarize",
|
|
1390
|
+
httpMethod: "POST",
|
|
1391
|
+
responses: {
|
|
1392
|
+
200: {
|
|
1393
|
+
bodyMapper: Mappers.SummarizeResults,
|
|
1394
|
+
},
|
|
1395
|
+
default: {
|
|
1396
|
+
bodyMapper: Mappers.QueryFailure,
|
|
1397
|
+
},
|
|
1398
|
+
},
|
|
1399
|
+
queryParameters: [
|
|
1400
|
+
Parameters.top,
|
|
1401
|
+
Parameters.filter,
|
|
1402
|
+
Parameters.apiVersion1,
|
|
1403
|
+
Parameters.fromParam,
|
|
1404
|
+
Parameters.to,
|
|
1405
|
+
],
|
|
1406
|
+
urlParameters: [
|
|
1407
|
+
Parameters.$host,
|
|
1408
|
+
Parameters.subscriptionId1,
|
|
1409
|
+
Parameters.authorizationNamespace,
|
|
1410
|
+
Parameters.policyDefinitionName,
|
|
1411
|
+
Parameters.policyStatesSummaryResource,
|
|
1412
|
+
],
|
|
1413
|
+
headerParameters: [Parameters.accept],
|
|
1414
|
+
serializer,
|
|
1415
|
+
};
|
|
1416
|
+
const listQueryResultsForSubscriptionLevelPolicyAssignmentOperationSpec = {
|
|
1417
|
+
path: "/subscriptions/{subscriptionId}/providers/{authorizationNamespace}/policyAssignments/{policyAssignmentName}/providers/Microsoft.PolicyInsights/policyStates/{policyStatesResource}/queryResults",
|
|
1418
|
+
httpMethod: "POST",
|
|
1419
|
+
responses: {
|
|
1420
|
+
200: {
|
|
1421
|
+
bodyMapper: Mappers.PolicyStatesQueryResults,
|
|
1422
|
+
},
|
|
1423
|
+
default: {
|
|
1424
|
+
bodyMapper: Mappers.QueryFailure,
|
|
1425
|
+
},
|
|
1426
|
+
},
|
|
1427
|
+
queryParameters: [
|
|
1428
|
+
Parameters.top,
|
|
1429
|
+
Parameters.filter,
|
|
1430
|
+
Parameters.apiVersion1,
|
|
1431
|
+
Parameters.orderBy,
|
|
1432
|
+
Parameters.select,
|
|
1433
|
+
Parameters.fromParam,
|
|
1434
|
+
Parameters.to,
|
|
1435
|
+
Parameters.apply,
|
|
1436
|
+
Parameters.skipToken,
|
|
1437
|
+
],
|
|
1438
|
+
urlParameters: [
|
|
1439
|
+
Parameters.$host,
|
|
1440
|
+
Parameters.subscriptionId1,
|
|
1441
|
+
Parameters.authorizationNamespace,
|
|
1442
|
+
Parameters.policyAssignmentName,
|
|
1443
|
+
Parameters.policyStatesResource,
|
|
1444
|
+
],
|
|
1445
|
+
headerParameters: [Parameters.accept],
|
|
1446
|
+
serializer,
|
|
1447
|
+
};
|
|
1448
|
+
const summarizeForSubscriptionLevelPolicyAssignmentOperationSpec = {
|
|
1449
|
+
path: "/subscriptions/{subscriptionId}/providers/{authorizationNamespace}/policyAssignments/{policyAssignmentName}/providers/Microsoft.PolicyInsights/policyStates/{policyStatesSummaryResource}/summarize",
|
|
1450
|
+
httpMethod: "POST",
|
|
1451
|
+
responses: {
|
|
1452
|
+
200: {
|
|
1453
|
+
bodyMapper: Mappers.SummarizeResults,
|
|
1454
|
+
},
|
|
1455
|
+
default: {
|
|
1456
|
+
bodyMapper: Mappers.QueryFailure,
|
|
1457
|
+
},
|
|
1458
|
+
},
|
|
1459
|
+
queryParameters: [
|
|
1460
|
+
Parameters.top,
|
|
1461
|
+
Parameters.filter,
|
|
1462
|
+
Parameters.apiVersion1,
|
|
1463
|
+
Parameters.fromParam,
|
|
1464
|
+
Parameters.to,
|
|
1465
|
+
],
|
|
1466
|
+
urlParameters: [
|
|
1467
|
+
Parameters.$host,
|
|
1468
|
+
Parameters.subscriptionId1,
|
|
1469
|
+
Parameters.authorizationNamespace,
|
|
1470
|
+
Parameters.policyAssignmentName,
|
|
1471
|
+
Parameters.policyStatesSummaryResource,
|
|
1472
|
+
],
|
|
1473
|
+
headerParameters: [Parameters.accept],
|
|
1474
|
+
serializer,
|
|
1475
|
+
};
|
|
1476
|
+
const listQueryResultsForResourceGroupLevelPolicyAssignmentOperationSpec = {
|
|
1477
|
+
path: "/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/{authorizationNamespace}/policyAssignments/{policyAssignmentName}/providers/Microsoft.PolicyInsights/policyStates/{policyStatesResource}/queryResults",
|
|
1478
|
+
httpMethod: "POST",
|
|
1479
|
+
responses: {
|
|
1480
|
+
200: {
|
|
1481
|
+
bodyMapper: Mappers.PolicyStatesQueryResults,
|
|
1482
|
+
},
|
|
1483
|
+
default: {
|
|
1484
|
+
bodyMapper: Mappers.QueryFailure,
|
|
1485
|
+
},
|
|
1486
|
+
},
|
|
1487
|
+
queryParameters: [
|
|
1488
|
+
Parameters.top,
|
|
1489
|
+
Parameters.filter,
|
|
1490
|
+
Parameters.apiVersion1,
|
|
1491
|
+
Parameters.orderBy,
|
|
1492
|
+
Parameters.select,
|
|
1493
|
+
Parameters.fromParam,
|
|
1494
|
+
Parameters.to,
|
|
1495
|
+
Parameters.apply,
|
|
1496
|
+
Parameters.skipToken,
|
|
1497
|
+
],
|
|
1498
|
+
urlParameters: [
|
|
1499
|
+
Parameters.$host,
|
|
1500
|
+
Parameters.resourceGroupName,
|
|
1501
|
+
Parameters.subscriptionId1,
|
|
1502
|
+
Parameters.authorizationNamespace,
|
|
1503
|
+
Parameters.policyAssignmentName,
|
|
1504
|
+
Parameters.policyStatesResource,
|
|
1505
|
+
],
|
|
1506
|
+
headerParameters: [Parameters.accept],
|
|
1507
|
+
serializer,
|
|
1508
|
+
};
|
|
1509
|
+
const summarizeForResourceGroupLevelPolicyAssignmentOperationSpec = {
|
|
1510
|
+
path: "/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/{authorizationNamespace}/policyAssignments/{policyAssignmentName}/providers/Microsoft.PolicyInsights/policyStates/{policyStatesSummaryResource}/summarize",
|
|
1511
|
+
httpMethod: "POST",
|
|
1512
|
+
responses: {
|
|
1513
|
+
200: {
|
|
1514
|
+
bodyMapper: Mappers.SummarizeResults,
|
|
1515
|
+
},
|
|
1516
|
+
default: {
|
|
1517
|
+
bodyMapper: Mappers.QueryFailure,
|
|
1518
|
+
},
|
|
1519
|
+
},
|
|
1520
|
+
queryParameters: [
|
|
1521
|
+
Parameters.top,
|
|
1522
|
+
Parameters.filter,
|
|
1523
|
+
Parameters.apiVersion1,
|
|
1524
|
+
Parameters.fromParam,
|
|
1525
|
+
Parameters.to,
|
|
1526
|
+
],
|
|
1527
|
+
urlParameters: [
|
|
1528
|
+
Parameters.$host,
|
|
1529
|
+
Parameters.resourceGroupName,
|
|
1530
|
+
Parameters.subscriptionId1,
|
|
1531
|
+
Parameters.authorizationNamespace,
|
|
1532
|
+
Parameters.policyAssignmentName,
|
|
1533
|
+
Parameters.policyStatesSummaryResource,
|
|
1534
|
+
],
|
|
1535
|
+
headerParameters: [Parameters.accept],
|
|
1536
|
+
serializer,
|
|
1537
|
+
};
|
|
1538
|
+
const listQueryResultsForManagementGroupNextOperationSpec = {
|
|
1539
|
+
path: "{nextLink}",
|
|
1540
|
+
httpMethod: "GET",
|
|
1541
|
+
responses: {
|
|
1542
|
+
200: {
|
|
1543
|
+
bodyMapper: Mappers.PolicyStatesQueryResults,
|
|
1544
|
+
},
|
|
1545
|
+
default: {
|
|
1546
|
+
bodyMapper: Mappers.QueryFailure,
|
|
1547
|
+
},
|
|
1548
|
+
},
|
|
1549
|
+
urlParameters: [
|
|
1550
|
+
Parameters.$host,
|
|
1551
|
+
Parameters.managementGroupsNamespace,
|
|
1552
|
+
Parameters.managementGroupName,
|
|
1553
|
+
Parameters.nextLink,
|
|
1554
|
+
Parameters.policyStatesResource,
|
|
1555
|
+
],
|
|
1556
|
+
headerParameters: [Parameters.accept],
|
|
1557
|
+
serializer,
|
|
1558
|
+
};
|
|
1559
|
+
const listQueryResultsForSubscriptionNextOperationSpec = {
|
|
1560
|
+
path: "{nextLink}",
|
|
1561
|
+
httpMethod: "GET",
|
|
1562
|
+
responses: {
|
|
1563
|
+
200: {
|
|
1564
|
+
bodyMapper: Mappers.PolicyStatesQueryResults,
|
|
1565
|
+
},
|
|
1566
|
+
default: {
|
|
1567
|
+
bodyMapper: Mappers.QueryFailure,
|
|
1568
|
+
},
|
|
1569
|
+
},
|
|
1570
|
+
urlParameters: [
|
|
1571
|
+
Parameters.$host,
|
|
1572
|
+
Parameters.nextLink,
|
|
1573
|
+
Parameters.subscriptionId1,
|
|
1574
|
+
Parameters.policyStatesResource,
|
|
1575
|
+
],
|
|
1576
|
+
headerParameters: [Parameters.accept],
|
|
1577
|
+
serializer,
|
|
1578
|
+
};
|
|
1579
|
+
const listQueryResultsForResourceGroupNextOperationSpec = {
|
|
1580
|
+
path: "{nextLink}",
|
|
1581
|
+
httpMethod: "GET",
|
|
1582
|
+
responses: {
|
|
1583
|
+
200: {
|
|
1584
|
+
bodyMapper: Mappers.PolicyStatesQueryResults,
|
|
1585
|
+
},
|
|
1586
|
+
default: {
|
|
1587
|
+
bodyMapper: Mappers.QueryFailure,
|
|
1588
|
+
},
|
|
1589
|
+
},
|
|
1590
|
+
urlParameters: [
|
|
1591
|
+
Parameters.$host,
|
|
1592
|
+
Parameters.resourceGroupName,
|
|
1593
|
+
Parameters.nextLink,
|
|
1594
|
+
Parameters.subscriptionId1,
|
|
1595
|
+
Parameters.policyStatesResource,
|
|
1596
|
+
],
|
|
1597
|
+
headerParameters: [Parameters.accept],
|
|
1598
|
+
serializer,
|
|
1599
|
+
};
|
|
1600
|
+
const listQueryResultsForResourceNextOperationSpec = {
|
|
1601
|
+
path: "{nextLink}",
|
|
1602
|
+
httpMethod: "GET",
|
|
1603
|
+
responses: {
|
|
1604
|
+
200: {
|
|
1605
|
+
bodyMapper: Mappers.PolicyStatesQueryResults,
|
|
1606
|
+
},
|
|
1607
|
+
default: {
|
|
1608
|
+
bodyMapper: Mappers.QueryFailure,
|
|
1609
|
+
},
|
|
1610
|
+
},
|
|
1611
|
+
urlParameters: [
|
|
1612
|
+
Parameters.$host,
|
|
1613
|
+
Parameters.resourceId,
|
|
1614
|
+
Parameters.nextLink,
|
|
1615
|
+
Parameters.policyStatesResource,
|
|
1616
|
+
],
|
|
1617
|
+
headerParameters: [Parameters.accept],
|
|
1618
|
+
serializer,
|
|
1619
|
+
};
|
|
1620
|
+
const listQueryResultsForPolicySetDefinitionNextOperationSpec = {
|
|
1621
|
+
path: "{nextLink}",
|
|
1622
|
+
httpMethod: "GET",
|
|
1623
|
+
responses: {
|
|
1624
|
+
200: {
|
|
1625
|
+
bodyMapper: Mappers.PolicyStatesQueryResults,
|
|
1626
|
+
},
|
|
1627
|
+
default: {
|
|
1628
|
+
bodyMapper: Mappers.QueryFailure,
|
|
1629
|
+
},
|
|
1630
|
+
},
|
|
1631
|
+
urlParameters: [
|
|
1632
|
+
Parameters.$host,
|
|
1633
|
+
Parameters.nextLink,
|
|
1634
|
+
Parameters.subscriptionId1,
|
|
1635
|
+
Parameters.authorizationNamespace,
|
|
1636
|
+
Parameters.policySetDefinitionName,
|
|
1637
|
+
Parameters.policyStatesResource,
|
|
1638
|
+
],
|
|
1639
|
+
headerParameters: [Parameters.accept],
|
|
1640
|
+
serializer,
|
|
1641
|
+
};
|
|
1642
|
+
const listQueryResultsForPolicyDefinitionNextOperationSpec = {
|
|
1643
|
+
path: "{nextLink}",
|
|
1644
|
+
httpMethod: "GET",
|
|
1645
|
+
responses: {
|
|
1646
|
+
200: {
|
|
1647
|
+
bodyMapper: Mappers.PolicyStatesQueryResults,
|
|
1648
|
+
},
|
|
1649
|
+
default: {
|
|
1650
|
+
bodyMapper: Mappers.QueryFailure,
|
|
1651
|
+
},
|
|
1652
|
+
},
|
|
1653
|
+
urlParameters: [
|
|
1654
|
+
Parameters.$host,
|
|
1655
|
+
Parameters.nextLink,
|
|
1656
|
+
Parameters.subscriptionId1,
|
|
1657
|
+
Parameters.authorizationNamespace,
|
|
1658
|
+
Parameters.policyDefinitionName,
|
|
1659
|
+
Parameters.policyStatesResource,
|
|
1660
|
+
],
|
|
1661
|
+
headerParameters: [Parameters.accept],
|
|
1662
|
+
serializer,
|
|
1663
|
+
};
|
|
1664
|
+
const listQueryResultsForSubscriptionLevelPolicyAssignmentNextOperationSpec = {
|
|
1665
|
+
path: "{nextLink}",
|
|
1666
|
+
httpMethod: "GET",
|
|
1667
|
+
responses: {
|
|
1668
|
+
200: {
|
|
1669
|
+
bodyMapper: Mappers.PolicyStatesQueryResults,
|
|
1670
|
+
},
|
|
1671
|
+
default: {
|
|
1672
|
+
bodyMapper: Mappers.QueryFailure,
|
|
1673
|
+
},
|
|
1674
|
+
},
|
|
1675
|
+
urlParameters: [
|
|
1676
|
+
Parameters.$host,
|
|
1677
|
+
Parameters.nextLink,
|
|
1678
|
+
Parameters.subscriptionId1,
|
|
1679
|
+
Parameters.authorizationNamespace,
|
|
1680
|
+
Parameters.policyAssignmentName,
|
|
1681
|
+
Parameters.policyStatesResource,
|
|
1682
|
+
],
|
|
1683
|
+
headerParameters: [Parameters.accept],
|
|
1684
|
+
serializer,
|
|
1685
|
+
};
|
|
1686
|
+
const listQueryResultsForResourceGroupLevelPolicyAssignmentNextOperationSpec = {
|
|
1687
|
+
path: "{nextLink}",
|
|
1688
|
+
httpMethod: "GET",
|
|
1689
|
+
responses: {
|
|
1690
|
+
200: {
|
|
1691
|
+
bodyMapper: Mappers.PolicyStatesQueryResults,
|
|
1692
|
+
},
|
|
1693
|
+
default: {
|
|
1694
|
+
bodyMapper: Mappers.QueryFailure,
|
|
1695
|
+
},
|
|
1696
|
+
},
|
|
1697
|
+
urlParameters: [
|
|
1698
|
+
Parameters.$host,
|
|
1699
|
+
Parameters.resourceGroupName,
|
|
1700
|
+
Parameters.nextLink,
|
|
1701
|
+
Parameters.subscriptionId1,
|
|
1702
|
+
Parameters.authorizationNamespace,
|
|
1703
|
+
Parameters.policyAssignmentName,
|
|
1704
|
+
Parameters.policyStatesResource,
|
|
1705
|
+
],
|
|
1706
|
+
headerParameters: [Parameters.accept],
|
|
1707
|
+
serializer,
|
|
1708
|
+
};
|
|
1709
|
+
//# sourceMappingURL=policyStates.js.map
|