@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
|
@@ -1,2286 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* Copyright (c) Microsoft Corporation.
|
|
3
|
-
* Licensed under the MIT License.
|
|
4
|
-
*
|
|
5
|
-
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
6
|
-
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
7
|
-
*/
|
|
8
|
-
|
|
9
|
-
import { PagedAsyncIterableIterator, PageSettings } from "@azure/core-paging";
|
|
10
|
-
import { setContinuationToken } from "../pagingHelper";
|
|
11
|
-
import { PolicyStates } from "../operationsInterfaces";
|
|
12
|
-
import * as coreClient from "@azure/core-client";
|
|
13
|
-
import * as Mappers from "../models/mappers";
|
|
14
|
-
import * as Parameters from "../models/parameters";
|
|
15
|
-
import { PolicyInsightsClient } from "../policyInsightsClient";
|
|
16
|
-
import { PollerLike, PollOperationState, LroEngine } from "@azure/core-lro";
|
|
17
|
-
import { LroImpl } from "../lroImpl";
|
|
18
|
-
import {
|
|
19
|
-
PolicyState,
|
|
20
|
-
PolicyStatesResource,
|
|
21
|
-
PolicyStatesListQueryResultsForManagementGroupNextOptionalParams,
|
|
22
|
-
PolicyStatesListQueryResultsForManagementGroupOptionalParams,
|
|
23
|
-
PolicyStatesListQueryResultsForManagementGroupResponse,
|
|
24
|
-
PolicyStatesListQueryResultsForSubscriptionNextOptionalParams,
|
|
25
|
-
PolicyStatesListQueryResultsForSubscriptionOptionalParams,
|
|
26
|
-
PolicyStatesListQueryResultsForSubscriptionResponse,
|
|
27
|
-
PolicyStatesListQueryResultsForResourceGroupNextOptionalParams,
|
|
28
|
-
PolicyStatesListQueryResultsForResourceGroupOptionalParams,
|
|
29
|
-
PolicyStatesListQueryResultsForResourceGroupResponse,
|
|
30
|
-
PolicyStatesListQueryResultsForResourceNextOptionalParams,
|
|
31
|
-
PolicyStatesListQueryResultsForResourceOptionalParams,
|
|
32
|
-
PolicyStatesListQueryResultsForResourceResponse,
|
|
33
|
-
PolicyStatesListQueryResultsForPolicySetDefinitionNextOptionalParams,
|
|
34
|
-
PolicyStatesListQueryResultsForPolicySetDefinitionOptionalParams,
|
|
35
|
-
PolicyStatesListQueryResultsForPolicySetDefinitionResponse,
|
|
36
|
-
PolicyStatesListQueryResultsForPolicyDefinitionNextOptionalParams,
|
|
37
|
-
PolicyStatesListQueryResultsForPolicyDefinitionOptionalParams,
|
|
38
|
-
PolicyStatesListQueryResultsForPolicyDefinitionResponse,
|
|
39
|
-
PolicyStatesListQueryResultsForSubscriptionLevelPolicyAssignmentNextOptionalParams,
|
|
40
|
-
PolicyStatesListQueryResultsForSubscriptionLevelPolicyAssignmentOptionalParams,
|
|
41
|
-
PolicyStatesListQueryResultsForSubscriptionLevelPolicyAssignmentResponse,
|
|
42
|
-
PolicyStatesListQueryResultsForResourceGroupLevelPolicyAssignmentNextOptionalParams,
|
|
43
|
-
PolicyStatesListQueryResultsForResourceGroupLevelPolicyAssignmentOptionalParams,
|
|
44
|
-
PolicyStatesListQueryResultsForResourceGroupLevelPolicyAssignmentResponse,
|
|
45
|
-
PolicyStatesSummaryResourceType,
|
|
46
|
-
PolicyStatesSummarizeForManagementGroupOptionalParams,
|
|
47
|
-
PolicyStatesSummarizeForManagementGroupResponse,
|
|
48
|
-
PolicyStatesSummarizeForSubscriptionOptionalParams,
|
|
49
|
-
PolicyStatesSummarizeForSubscriptionResponse,
|
|
50
|
-
PolicyStatesSummarizeForResourceGroupOptionalParams,
|
|
51
|
-
PolicyStatesSummarizeForResourceGroupResponse,
|
|
52
|
-
PolicyStatesSummarizeForResourceOptionalParams,
|
|
53
|
-
PolicyStatesSummarizeForResourceResponse,
|
|
54
|
-
PolicyStatesTriggerSubscriptionEvaluationOptionalParams,
|
|
55
|
-
PolicyStatesTriggerResourceGroupEvaluationOptionalParams,
|
|
56
|
-
PolicyStatesSummarizeForPolicySetDefinitionOptionalParams,
|
|
57
|
-
PolicyStatesSummarizeForPolicySetDefinitionResponse,
|
|
58
|
-
PolicyStatesSummarizeForPolicyDefinitionOptionalParams,
|
|
59
|
-
PolicyStatesSummarizeForPolicyDefinitionResponse,
|
|
60
|
-
PolicyStatesSummarizeForSubscriptionLevelPolicyAssignmentOptionalParams,
|
|
61
|
-
PolicyStatesSummarizeForSubscriptionLevelPolicyAssignmentResponse,
|
|
62
|
-
PolicyStatesSummarizeForResourceGroupLevelPolicyAssignmentOptionalParams,
|
|
63
|
-
PolicyStatesSummarizeForResourceGroupLevelPolicyAssignmentResponse,
|
|
64
|
-
PolicyStatesListQueryResultsForManagementGroupNextResponse,
|
|
65
|
-
PolicyStatesListQueryResultsForSubscriptionNextResponse,
|
|
66
|
-
PolicyStatesListQueryResultsForResourceGroupNextResponse,
|
|
67
|
-
PolicyStatesListQueryResultsForResourceNextResponse,
|
|
68
|
-
PolicyStatesListQueryResultsForPolicySetDefinitionNextResponse,
|
|
69
|
-
PolicyStatesListQueryResultsForPolicyDefinitionNextResponse,
|
|
70
|
-
PolicyStatesListQueryResultsForSubscriptionLevelPolicyAssignmentNextResponse,
|
|
71
|
-
PolicyStatesListQueryResultsForResourceGroupLevelPolicyAssignmentNextResponse
|
|
72
|
-
} from "../models";
|
|
73
|
-
|
|
74
|
-
/// <reference lib="esnext.asynciterable" />
|
|
75
|
-
/** Class containing PolicyStates operations. */
|
|
76
|
-
export class PolicyStatesImpl implements PolicyStates {
|
|
77
|
-
private readonly client: PolicyInsightsClient;
|
|
78
|
-
|
|
79
|
-
/**
|
|
80
|
-
* Initialize a new instance of the class PolicyStates class.
|
|
81
|
-
* @param client Reference to the service client
|
|
82
|
-
*/
|
|
83
|
-
constructor(client: PolicyInsightsClient) {
|
|
84
|
-
this.client = client;
|
|
85
|
-
}
|
|
86
|
-
|
|
87
|
-
/**
|
|
88
|
-
* Queries policy states for the resources under the management group.
|
|
89
|
-
* @param policyStatesResource The virtual resource under PolicyStates resource type. In a given time
|
|
90
|
-
* range, 'latest' represents the latest policy state(s), whereas 'default' represents all policy
|
|
91
|
-
* state(s).
|
|
92
|
-
* @param managementGroupName Management group name.
|
|
93
|
-
* @param options The options parameters.
|
|
94
|
-
*/
|
|
95
|
-
public listQueryResultsForManagementGroup(
|
|
96
|
-
policyStatesResource: PolicyStatesResource,
|
|
97
|
-
managementGroupName: string,
|
|
98
|
-
options?: PolicyStatesListQueryResultsForManagementGroupOptionalParams
|
|
99
|
-
): PagedAsyncIterableIterator<PolicyState> {
|
|
100
|
-
const iter = this.listQueryResultsForManagementGroupPagingAll(
|
|
101
|
-
policyStatesResource,
|
|
102
|
-
managementGroupName,
|
|
103
|
-
options
|
|
104
|
-
);
|
|
105
|
-
return {
|
|
106
|
-
next() {
|
|
107
|
-
return iter.next();
|
|
108
|
-
},
|
|
109
|
-
[Symbol.asyncIterator]() {
|
|
110
|
-
return this;
|
|
111
|
-
},
|
|
112
|
-
byPage: (settings?: PageSettings) => {
|
|
113
|
-
if (settings?.maxPageSize) {
|
|
114
|
-
throw new Error("maxPageSize is not supported by this operation.");
|
|
115
|
-
}
|
|
116
|
-
return this.listQueryResultsForManagementGroupPagingPage(
|
|
117
|
-
policyStatesResource,
|
|
118
|
-
managementGroupName,
|
|
119
|
-
options,
|
|
120
|
-
settings
|
|
121
|
-
);
|
|
122
|
-
}
|
|
123
|
-
};
|
|
124
|
-
}
|
|
125
|
-
|
|
126
|
-
private async *listQueryResultsForManagementGroupPagingPage(
|
|
127
|
-
policyStatesResource: PolicyStatesResource,
|
|
128
|
-
managementGroupName: string,
|
|
129
|
-
options?: PolicyStatesListQueryResultsForManagementGroupOptionalParams,
|
|
130
|
-
settings?: PageSettings
|
|
131
|
-
): AsyncIterableIterator<PolicyState[]> {
|
|
132
|
-
let result: PolicyStatesListQueryResultsForManagementGroupResponse;
|
|
133
|
-
let continuationToken = settings?.continuationToken;
|
|
134
|
-
if (!continuationToken) {
|
|
135
|
-
result = await this._listQueryResultsForManagementGroup(
|
|
136
|
-
policyStatesResource,
|
|
137
|
-
managementGroupName,
|
|
138
|
-
options
|
|
139
|
-
);
|
|
140
|
-
let page = result.value || [];
|
|
141
|
-
continuationToken = result.odataNextLink;
|
|
142
|
-
setContinuationToken(page, continuationToken);
|
|
143
|
-
yield page;
|
|
144
|
-
}
|
|
145
|
-
while (continuationToken) {
|
|
146
|
-
result = await this._listQueryResultsForManagementGroupNext(
|
|
147
|
-
policyStatesResource,
|
|
148
|
-
managementGroupName,
|
|
149
|
-
continuationToken,
|
|
150
|
-
options
|
|
151
|
-
);
|
|
152
|
-
continuationToken = result.odataNextLink;
|
|
153
|
-
let page = result.value || [];
|
|
154
|
-
setContinuationToken(page, continuationToken);
|
|
155
|
-
yield page;
|
|
156
|
-
}
|
|
157
|
-
}
|
|
158
|
-
|
|
159
|
-
private async *listQueryResultsForManagementGroupPagingAll(
|
|
160
|
-
policyStatesResource: PolicyStatesResource,
|
|
161
|
-
managementGroupName: string,
|
|
162
|
-
options?: PolicyStatesListQueryResultsForManagementGroupOptionalParams
|
|
163
|
-
): AsyncIterableIterator<PolicyState> {
|
|
164
|
-
for await (const page of this.listQueryResultsForManagementGroupPagingPage(
|
|
165
|
-
policyStatesResource,
|
|
166
|
-
managementGroupName,
|
|
167
|
-
options
|
|
168
|
-
)) {
|
|
169
|
-
yield* page;
|
|
170
|
-
}
|
|
171
|
-
}
|
|
172
|
-
|
|
173
|
-
/**
|
|
174
|
-
* Queries policy states for the resources under the subscription.
|
|
175
|
-
* @param policyStatesResource The virtual resource under PolicyStates resource type. In a given time
|
|
176
|
-
* range, 'latest' represents the latest policy state(s), whereas 'default' represents all policy
|
|
177
|
-
* state(s).
|
|
178
|
-
* @param subscriptionId Microsoft Azure subscription ID.
|
|
179
|
-
* @param options The options parameters.
|
|
180
|
-
*/
|
|
181
|
-
public listQueryResultsForSubscription(
|
|
182
|
-
policyStatesResource: PolicyStatesResource,
|
|
183
|
-
subscriptionId: string,
|
|
184
|
-
options?: PolicyStatesListQueryResultsForSubscriptionOptionalParams
|
|
185
|
-
): PagedAsyncIterableIterator<PolicyState> {
|
|
186
|
-
const iter = this.listQueryResultsForSubscriptionPagingAll(
|
|
187
|
-
policyStatesResource,
|
|
188
|
-
subscriptionId,
|
|
189
|
-
options
|
|
190
|
-
);
|
|
191
|
-
return {
|
|
192
|
-
next() {
|
|
193
|
-
return iter.next();
|
|
194
|
-
},
|
|
195
|
-
[Symbol.asyncIterator]() {
|
|
196
|
-
return this;
|
|
197
|
-
},
|
|
198
|
-
byPage: (settings?: PageSettings) => {
|
|
199
|
-
if (settings?.maxPageSize) {
|
|
200
|
-
throw new Error("maxPageSize is not supported by this operation.");
|
|
201
|
-
}
|
|
202
|
-
return this.listQueryResultsForSubscriptionPagingPage(
|
|
203
|
-
policyStatesResource,
|
|
204
|
-
subscriptionId,
|
|
205
|
-
options,
|
|
206
|
-
settings
|
|
207
|
-
);
|
|
208
|
-
}
|
|
209
|
-
};
|
|
210
|
-
}
|
|
211
|
-
|
|
212
|
-
private async *listQueryResultsForSubscriptionPagingPage(
|
|
213
|
-
policyStatesResource: PolicyStatesResource,
|
|
214
|
-
subscriptionId: string,
|
|
215
|
-
options?: PolicyStatesListQueryResultsForSubscriptionOptionalParams,
|
|
216
|
-
settings?: PageSettings
|
|
217
|
-
): AsyncIterableIterator<PolicyState[]> {
|
|
218
|
-
let result: PolicyStatesListQueryResultsForSubscriptionResponse;
|
|
219
|
-
let continuationToken = settings?.continuationToken;
|
|
220
|
-
if (!continuationToken) {
|
|
221
|
-
result = await this._listQueryResultsForSubscription(
|
|
222
|
-
policyStatesResource,
|
|
223
|
-
subscriptionId,
|
|
224
|
-
options
|
|
225
|
-
);
|
|
226
|
-
let page = result.value || [];
|
|
227
|
-
continuationToken = result.odataNextLink;
|
|
228
|
-
setContinuationToken(page, continuationToken);
|
|
229
|
-
yield page;
|
|
230
|
-
}
|
|
231
|
-
while (continuationToken) {
|
|
232
|
-
result = await this._listQueryResultsForSubscriptionNext(
|
|
233
|
-
policyStatesResource,
|
|
234
|
-
subscriptionId,
|
|
235
|
-
continuationToken,
|
|
236
|
-
options
|
|
237
|
-
);
|
|
238
|
-
continuationToken = result.odataNextLink;
|
|
239
|
-
let page = result.value || [];
|
|
240
|
-
setContinuationToken(page, continuationToken);
|
|
241
|
-
yield page;
|
|
242
|
-
}
|
|
243
|
-
}
|
|
244
|
-
|
|
245
|
-
private async *listQueryResultsForSubscriptionPagingAll(
|
|
246
|
-
policyStatesResource: PolicyStatesResource,
|
|
247
|
-
subscriptionId: string,
|
|
248
|
-
options?: PolicyStatesListQueryResultsForSubscriptionOptionalParams
|
|
249
|
-
): AsyncIterableIterator<PolicyState> {
|
|
250
|
-
for await (const page of this.listQueryResultsForSubscriptionPagingPage(
|
|
251
|
-
policyStatesResource,
|
|
252
|
-
subscriptionId,
|
|
253
|
-
options
|
|
254
|
-
)) {
|
|
255
|
-
yield* page;
|
|
256
|
-
}
|
|
257
|
-
}
|
|
258
|
-
|
|
259
|
-
/**
|
|
260
|
-
* Queries policy states for the resources under the resource group.
|
|
261
|
-
* @param policyStatesResource The virtual resource under PolicyStates resource type. In a given time
|
|
262
|
-
* range, 'latest' represents the latest policy state(s), whereas 'default' represents all policy
|
|
263
|
-
* state(s).
|
|
264
|
-
* @param subscriptionId Microsoft Azure subscription ID.
|
|
265
|
-
* @param resourceGroupName Resource group name.
|
|
266
|
-
* @param options The options parameters.
|
|
267
|
-
*/
|
|
268
|
-
public listQueryResultsForResourceGroup(
|
|
269
|
-
policyStatesResource: PolicyStatesResource,
|
|
270
|
-
subscriptionId: string,
|
|
271
|
-
resourceGroupName: string,
|
|
272
|
-
options?: PolicyStatesListQueryResultsForResourceGroupOptionalParams
|
|
273
|
-
): PagedAsyncIterableIterator<PolicyState> {
|
|
274
|
-
const iter = this.listQueryResultsForResourceGroupPagingAll(
|
|
275
|
-
policyStatesResource,
|
|
276
|
-
subscriptionId,
|
|
277
|
-
resourceGroupName,
|
|
278
|
-
options
|
|
279
|
-
);
|
|
280
|
-
return {
|
|
281
|
-
next() {
|
|
282
|
-
return iter.next();
|
|
283
|
-
},
|
|
284
|
-
[Symbol.asyncIterator]() {
|
|
285
|
-
return this;
|
|
286
|
-
},
|
|
287
|
-
byPage: (settings?: PageSettings) => {
|
|
288
|
-
if (settings?.maxPageSize) {
|
|
289
|
-
throw new Error("maxPageSize is not supported by this operation.");
|
|
290
|
-
}
|
|
291
|
-
return this.listQueryResultsForResourceGroupPagingPage(
|
|
292
|
-
policyStatesResource,
|
|
293
|
-
subscriptionId,
|
|
294
|
-
resourceGroupName,
|
|
295
|
-
options,
|
|
296
|
-
settings
|
|
297
|
-
);
|
|
298
|
-
}
|
|
299
|
-
};
|
|
300
|
-
}
|
|
301
|
-
|
|
302
|
-
private async *listQueryResultsForResourceGroupPagingPage(
|
|
303
|
-
policyStatesResource: PolicyStatesResource,
|
|
304
|
-
subscriptionId: string,
|
|
305
|
-
resourceGroupName: string,
|
|
306
|
-
options?: PolicyStatesListQueryResultsForResourceGroupOptionalParams,
|
|
307
|
-
settings?: PageSettings
|
|
308
|
-
): AsyncIterableIterator<PolicyState[]> {
|
|
309
|
-
let result: PolicyStatesListQueryResultsForResourceGroupResponse;
|
|
310
|
-
let continuationToken = settings?.continuationToken;
|
|
311
|
-
if (!continuationToken) {
|
|
312
|
-
result = await this._listQueryResultsForResourceGroup(
|
|
313
|
-
policyStatesResource,
|
|
314
|
-
subscriptionId,
|
|
315
|
-
resourceGroupName,
|
|
316
|
-
options
|
|
317
|
-
);
|
|
318
|
-
let page = result.value || [];
|
|
319
|
-
continuationToken = result.odataNextLink;
|
|
320
|
-
setContinuationToken(page, continuationToken);
|
|
321
|
-
yield page;
|
|
322
|
-
}
|
|
323
|
-
while (continuationToken) {
|
|
324
|
-
result = await this._listQueryResultsForResourceGroupNext(
|
|
325
|
-
policyStatesResource,
|
|
326
|
-
subscriptionId,
|
|
327
|
-
resourceGroupName,
|
|
328
|
-
continuationToken,
|
|
329
|
-
options
|
|
330
|
-
);
|
|
331
|
-
continuationToken = result.odataNextLink;
|
|
332
|
-
let page = result.value || [];
|
|
333
|
-
setContinuationToken(page, continuationToken);
|
|
334
|
-
yield page;
|
|
335
|
-
}
|
|
336
|
-
}
|
|
337
|
-
|
|
338
|
-
private async *listQueryResultsForResourceGroupPagingAll(
|
|
339
|
-
policyStatesResource: PolicyStatesResource,
|
|
340
|
-
subscriptionId: string,
|
|
341
|
-
resourceGroupName: string,
|
|
342
|
-
options?: PolicyStatesListQueryResultsForResourceGroupOptionalParams
|
|
343
|
-
): AsyncIterableIterator<PolicyState> {
|
|
344
|
-
for await (const page of this.listQueryResultsForResourceGroupPagingPage(
|
|
345
|
-
policyStatesResource,
|
|
346
|
-
subscriptionId,
|
|
347
|
-
resourceGroupName,
|
|
348
|
-
options
|
|
349
|
-
)) {
|
|
350
|
-
yield* page;
|
|
351
|
-
}
|
|
352
|
-
}
|
|
353
|
-
|
|
354
|
-
/**
|
|
355
|
-
* Queries policy states for the resource.
|
|
356
|
-
* @param policyStatesResource The virtual resource under PolicyStates resource type. In a given time
|
|
357
|
-
* range, 'latest' represents the latest policy state(s), whereas 'default' represents all policy
|
|
358
|
-
* state(s).
|
|
359
|
-
* @param resourceId Resource ID.
|
|
360
|
-
* @param options The options parameters.
|
|
361
|
-
*/
|
|
362
|
-
public listQueryResultsForResource(
|
|
363
|
-
policyStatesResource: PolicyStatesResource,
|
|
364
|
-
resourceId: string,
|
|
365
|
-
options?: PolicyStatesListQueryResultsForResourceOptionalParams
|
|
366
|
-
): PagedAsyncIterableIterator<PolicyState> {
|
|
367
|
-
const iter = this.listQueryResultsForResourcePagingAll(
|
|
368
|
-
policyStatesResource,
|
|
369
|
-
resourceId,
|
|
370
|
-
options
|
|
371
|
-
);
|
|
372
|
-
return {
|
|
373
|
-
next() {
|
|
374
|
-
return iter.next();
|
|
375
|
-
},
|
|
376
|
-
[Symbol.asyncIterator]() {
|
|
377
|
-
return this;
|
|
378
|
-
},
|
|
379
|
-
byPage: (settings?: PageSettings) => {
|
|
380
|
-
if (settings?.maxPageSize) {
|
|
381
|
-
throw new Error("maxPageSize is not supported by this operation.");
|
|
382
|
-
}
|
|
383
|
-
return this.listQueryResultsForResourcePagingPage(
|
|
384
|
-
policyStatesResource,
|
|
385
|
-
resourceId,
|
|
386
|
-
options,
|
|
387
|
-
settings
|
|
388
|
-
);
|
|
389
|
-
}
|
|
390
|
-
};
|
|
391
|
-
}
|
|
392
|
-
|
|
393
|
-
private async *listQueryResultsForResourcePagingPage(
|
|
394
|
-
policyStatesResource: PolicyStatesResource,
|
|
395
|
-
resourceId: string,
|
|
396
|
-
options?: PolicyStatesListQueryResultsForResourceOptionalParams,
|
|
397
|
-
settings?: PageSettings
|
|
398
|
-
): AsyncIterableIterator<PolicyState[]> {
|
|
399
|
-
let result: PolicyStatesListQueryResultsForResourceResponse;
|
|
400
|
-
let continuationToken = settings?.continuationToken;
|
|
401
|
-
if (!continuationToken) {
|
|
402
|
-
result = await this._listQueryResultsForResource(
|
|
403
|
-
policyStatesResource,
|
|
404
|
-
resourceId,
|
|
405
|
-
options
|
|
406
|
-
);
|
|
407
|
-
let page = result.value || [];
|
|
408
|
-
continuationToken = result.odataNextLink;
|
|
409
|
-
setContinuationToken(page, continuationToken);
|
|
410
|
-
yield page;
|
|
411
|
-
}
|
|
412
|
-
while (continuationToken) {
|
|
413
|
-
result = await this._listQueryResultsForResourceNext(
|
|
414
|
-
policyStatesResource,
|
|
415
|
-
resourceId,
|
|
416
|
-
continuationToken,
|
|
417
|
-
options
|
|
418
|
-
);
|
|
419
|
-
continuationToken = result.odataNextLink;
|
|
420
|
-
let page = result.value || [];
|
|
421
|
-
setContinuationToken(page, continuationToken);
|
|
422
|
-
yield page;
|
|
423
|
-
}
|
|
424
|
-
}
|
|
425
|
-
|
|
426
|
-
private async *listQueryResultsForResourcePagingAll(
|
|
427
|
-
policyStatesResource: PolicyStatesResource,
|
|
428
|
-
resourceId: string,
|
|
429
|
-
options?: PolicyStatesListQueryResultsForResourceOptionalParams
|
|
430
|
-
): AsyncIterableIterator<PolicyState> {
|
|
431
|
-
for await (const page of this.listQueryResultsForResourcePagingPage(
|
|
432
|
-
policyStatesResource,
|
|
433
|
-
resourceId,
|
|
434
|
-
options
|
|
435
|
-
)) {
|
|
436
|
-
yield* page;
|
|
437
|
-
}
|
|
438
|
-
}
|
|
439
|
-
|
|
440
|
-
/**
|
|
441
|
-
* Queries policy states for the subscription level policy set definition.
|
|
442
|
-
* @param policyStatesResource The virtual resource under PolicyStates resource type. In a given time
|
|
443
|
-
* range, 'latest' represents the latest policy state(s), whereas 'default' represents all policy
|
|
444
|
-
* state(s).
|
|
445
|
-
* @param subscriptionId Microsoft Azure subscription ID.
|
|
446
|
-
* @param policySetDefinitionName Policy set definition name.
|
|
447
|
-
* @param options The options parameters.
|
|
448
|
-
*/
|
|
449
|
-
public listQueryResultsForPolicySetDefinition(
|
|
450
|
-
policyStatesResource: PolicyStatesResource,
|
|
451
|
-
subscriptionId: string,
|
|
452
|
-
policySetDefinitionName: string,
|
|
453
|
-
options?: PolicyStatesListQueryResultsForPolicySetDefinitionOptionalParams
|
|
454
|
-
): PagedAsyncIterableIterator<PolicyState> {
|
|
455
|
-
const iter = this.listQueryResultsForPolicySetDefinitionPagingAll(
|
|
456
|
-
policyStatesResource,
|
|
457
|
-
subscriptionId,
|
|
458
|
-
policySetDefinitionName,
|
|
459
|
-
options
|
|
460
|
-
);
|
|
461
|
-
return {
|
|
462
|
-
next() {
|
|
463
|
-
return iter.next();
|
|
464
|
-
},
|
|
465
|
-
[Symbol.asyncIterator]() {
|
|
466
|
-
return this;
|
|
467
|
-
},
|
|
468
|
-
byPage: (settings?: PageSettings) => {
|
|
469
|
-
if (settings?.maxPageSize) {
|
|
470
|
-
throw new Error("maxPageSize is not supported by this operation.");
|
|
471
|
-
}
|
|
472
|
-
return this.listQueryResultsForPolicySetDefinitionPagingPage(
|
|
473
|
-
policyStatesResource,
|
|
474
|
-
subscriptionId,
|
|
475
|
-
policySetDefinitionName,
|
|
476
|
-
options,
|
|
477
|
-
settings
|
|
478
|
-
);
|
|
479
|
-
}
|
|
480
|
-
};
|
|
481
|
-
}
|
|
482
|
-
|
|
483
|
-
private async *listQueryResultsForPolicySetDefinitionPagingPage(
|
|
484
|
-
policyStatesResource: PolicyStatesResource,
|
|
485
|
-
subscriptionId: string,
|
|
486
|
-
policySetDefinitionName: string,
|
|
487
|
-
options?: PolicyStatesListQueryResultsForPolicySetDefinitionOptionalParams,
|
|
488
|
-
settings?: PageSettings
|
|
489
|
-
): AsyncIterableIterator<PolicyState[]> {
|
|
490
|
-
let result: PolicyStatesListQueryResultsForPolicySetDefinitionResponse;
|
|
491
|
-
let continuationToken = settings?.continuationToken;
|
|
492
|
-
if (!continuationToken) {
|
|
493
|
-
result = await this._listQueryResultsForPolicySetDefinition(
|
|
494
|
-
policyStatesResource,
|
|
495
|
-
subscriptionId,
|
|
496
|
-
policySetDefinitionName,
|
|
497
|
-
options
|
|
498
|
-
);
|
|
499
|
-
let page = result.value || [];
|
|
500
|
-
continuationToken = result.odataNextLink;
|
|
501
|
-
setContinuationToken(page, continuationToken);
|
|
502
|
-
yield page;
|
|
503
|
-
}
|
|
504
|
-
while (continuationToken) {
|
|
505
|
-
result = await this._listQueryResultsForPolicySetDefinitionNext(
|
|
506
|
-
policyStatesResource,
|
|
507
|
-
subscriptionId,
|
|
508
|
-
policySetDefinitionName,
|
|
509
|
-
continuationToken,
|
|
510
|
-
options
|
|
511
|
-
);
|
|
512
|
-
continuationToken = result.odataNextLink;
|
|
513
|
-
let page = result.value || [];
|
|
514
|
-
setContinuationToken(page, continuationToken);
|
|
515
|
-
yield page;
|
|
516
|
-
}
|
|
517
|
-
}
|
|
518
|
-
|
|
519
|
-
private async *listQueryResultsForPolicySetDefinitionPagingAll(
|
|
520
|
-
policyStatesResource: PolicyStatesResource,
|
|
521
|
-
subscriptionId: string,
|
|
522
|
-
policySetDefinitionName: string,
|
|
523
|
-
options?: PolicyStatesListQueryResultsForPolicySetDefinitionOptionalParams
|
|
524
|
-
): AsyncIterableIterator<PolicyState> {
|
|
525
|
-
for await (const page of this.listQueryResultsForPolicySetDefinitionPagingPage(
|
|
526
|
-
policyStatesResource,
|
|
527
|
-
subscriptionId,
|
|
528
|
-
policySetDefinitionName,
|
|
529
|
-
options
|
|
530
|
-
)) {
|
|
531
|
-
yield* page;
|
|
532
|
-
}
|
|
533
|
-
}
|
|
534
|
-
|
|
535
|
-
/**
|
|
536
|
-
* Queries policy states for the subscription level policy definition.
|
|
537
|
-
* @param policyStatesResource The virtual resource under PolicyStates resource type. In a given time
|
|
538
|
-
* range, 'latest' represents the latest policy state(s), whereas 'default' represents all policy
|
|
539
|
-
* state(s).
|
|
540
|
-
* @param subscriptionId Microsoft Azure subscription ID.
|
|
541
|
-
* @param policyDefinitionName Policy definition name.
|
|
542
|
-
* @param options The options parameters.
|
|
543
|
-
*/
|
|
544
|
-
public listQueryResultsForPolicyDefinition(
|
|
545
|
-
policyStatesResource: PolicyStatesResource,
|
|
546
|
-
subscriptionId: string,
|
|
547
|
-
policyDefinitionName: string,
|
|
548
|
-
options?: PolicyStatesListQueryResultsForPolicyDefinitionOptionalParams
|
|
549
|
-
): PagedAsyncIterableIterator<PolicyState> {
|
|
550
|
-
const iter = this.listQueryResultsForPolicyDefinitionPagingAll(
|
|
551
|
-
policyStatesResource,
|
|
552
|
-
subscriptionId,
|
|
553
|
-
policyDefinitionName,
|
|
554
|
-
options
|
|
555
|
-
);
|
|
556
|
-
return {
|
|
557
|
-
next() {
|
|
558
|
-
return iter.next();
|
|
559
|
-
},
|
|
560
|
-
[Symbol.asyncIterator]() {
|
|
561
|
-
return this;
|
|
562
|
-
},
|
|
563
|
-
byPage: (settings?: PageSettings) => {
|
|
564
|
-
if (settings?.maxPageSize) {
|
|
565
|
-
throw new Error("maxPageSize is not supported by this operation.");
|
|
566
|
-
}
|
|
567
|
-
return this.listQueryResultsForPolicyDefinitionPagingPage(
|
|
568
|
-
policyStatesResource,
|
|
569
|
-
subscriptionId,
|
|
570
|
-
policyDefinitionName,
|
|
571
|
-
options,
|
|
572
|
-
settings
|
|
573
|
-
);
|
|
574
|
-
}
|
|
575
|
-
};
|
|
576
|
-
}
|
|
577
|
-
|
|
578
|
-
private async *listQueryResultsForPolicyDefinitionPagingPage(
|
|
579
|
-
policyStatesResource: PolicyStatesResource,
|
|
580
|
-
subscriptionId: string,
|
|
581
|
-
policyDefinitionName: string,
|
|
582
|
-
options?: PolicyStatesListQueryResultsForPolicyDefinitionOptionalParams,
|
|
583
|
-
settings?: PageSettings
|
|
584
|
-
): AsyncIterableIterator<PolicyState[]> {
|
|
585
|
-
let result: PolicyStatesListQueryResultsForPolicyDefinitionResponse;
|
|
586
|
-
let continuationToken = settings?.continuationToken;
|
|
587
|
-
if (!continuationToken) {
|
|
588
|
-
result = await this._listQueryResultsForPolicyDefinition(
|
|
589
|
-
policyStatesResource,
|
|
590
|
-
subscriptionId,
|
|
591
|
-
policyDefinitionName,
|
|
592
|
-
options
|
|
593
|
-
);
|
|
594
|
-
let page = result.value || [];
|
|
595
|
-
continuationToken = result.odataNextLink;
|
|
596
|
-
setContinuationToken(page, continuationToken);
|
|
597
|
-
yield page;
|
|
598
|
-
}
|
|
599
|
-
while (continuationToken) {
|
|
600
|
-
result = await this._listQueryResultsForPolicyDefinitionNext(
|
|
601
|
-
policyStatesResource,
|
|
602
|
-
subscriptionId,
|
|
603
|
-
policyDefinitionName,
|
|
604
|
-
continuationToken,
|
|
605
|
-
options
|
|
606
|
-
);
|
|
607
|
-
continuationToken = result.odataNextLink;
|
|
608
|
-
let page = result.value || [];
|
|
609
|
-
setContinuationToken(page, continuationToken);
|
|
610
|
-
yield page;
|
|
611
|
-
}
|
|
612
|
-
}
|
|
613
|
-
|
|
614
|
-
private async *listQueryResultsForPolicyDefinitionPagingAll(
|
|
615
|
-
policyStatesResource: PolicyStatesResource,
|
|
616
|
-
subscriptionId: string,
|
|
617
|
-
policyDefinitionName: string,
|
|
618
|
-
options?: PolicyStatesListQueryResultsForPolicyDefinitionOptionalParams
|
|
619
|
-
): AsyncIterableIterator<PolicyState> {
|
|
620
|
-
for await (const page of this.listQueryResultsForPolicyDefinitionPagingPage(
|
|
621
|
-
policyStatesResource,
|
|
622
|
-
subscriptionId,
|
|
623
|
-
policyDefinitionName,
|
|
624
|
-
options
|
|
625
|
-
)) {
|
|
626
|
-
yield* page;
|
|
627
|
-
}
|
|
628
|
-
}
|
|
629
|
-
|
|
630
|
-
/**
|
|
631
|
-
* Queries policy states for the subscription level policy assignment.
|
|
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 subscriptionId Microsoft Azure subscription ID.
|
|
636
|
-
* @param policyAssignmentName Policy assignment name.
|
|
637
|
-
* @param options The options parameters.
|
|
638
|
-
*/
|
|
639
|
-
public listQueryResultsForSubscriptionLevelPolicyAssignment(
|
|
640
|
-
policyStatesResource: PolicyStatesResource,
|
|
641
|
-
subscriptionId: string,
|
|
642
|
-
policyAssignmentName: string,
|
|
643
|
-
options?: PolicyStatesListQueryResultsForSubscriptionLevelPolicyAssignmentOptionalParams
|
|
644
|
-
): PagedAsyncIterableIterator<PolicyState> {
|
|
645
|
-
const iter = this.listQueryResultsForSubscriptionLevelPolicyAssignmentPagingAll(
|
|
646
|
-
policyStatesResource,
|
|
647
|
-
subscriptionId,
|
|
648
|
-
policyAssignmentName,
|
|
649
|
-
options
|
|
650
|
-
);
|
|
651
|
-
return {
|
|
652
|
-
next() {
|
|
653
|
-
return iter.next();
|
|
654
|
-
},
|
|
655
|
-
[Symbol.asyncIterator]() {
|
|
656
|
-
return this;
|
|
657
|
-
},
|
|
658
|
-
byPage: (settings?: PageSettings) => {
|
|
659
|
-
if (settings?.maxPageSize) {
|
|
660
|
-
throw new Error("maxPageSize is not supported by this operation.");
|
|
661
|
-
}
|
|
662
|
-
return this.listQueryResultsForSubscriptionLevelPolicyAssignmentPagingPage(
|
|
663
|
-
policyStatesResource,
|
|
664
|
-
subscriptionId,
|
|
665
|
-
policyAssignmentName,
|
|
666
|
-
options,
|
|
667
|
-
settings
|
|
668
|
-
);
|
|
669
|
-
}
|
|
670
|
-
};
|
|
671
|
-
}
|
|
672
|
-
|
|
673
|
-
private async *listQueryResultsForSubscriptionLevelPolicyAssignmentPagingPage(
|
|
674
|
-
policyStatesResource: PolicyStatesResource,
|
|
675
|
-
subscriptionId: string,
|
|
676
|
-
policyAssignmentName: string,
|
|
677
|
-
options?: PolicyStatesListQueryResultsForSubscriptionLevelPolicyAssignmentOptionalParams,
|
|
678
|
-
settings?: PageSettings
|
|
679
|
-
): AsyncIterableIterator<PolicyState[]> {
|
|
680
|
-
let result: PolicyStatesListQueryResultsForSubscriptionLevelPolicyAssignmentResponse;
|
|
681
|
-
let continuationToken = settings?.continuationToken;
|
|
682
|
-
if (!continuationToken) {
|
|
683
|
-
result = await this._listQueryResultsForSubscriptionLevelPolicyAssignment(
|
|
684
|
-
policyStatesResource,
|
|
685
|
-
subscriptionId,
|
|
686
|
-
policyAssignmentName,
|
|
687
|
-
options
|
|
688
|
-
);
|
|
689
|
-
let page = result.value || [];
|
|
690
|
-
continuationToken = result.odataNextLink;
|
|
691
|
-
setContinuationToken(page, continuationToken);
|
|
692
|
-
yield page;
|
|
693
|
-
}
|
|
694
|
-
while (continuationToken) {
|
|
695
|
-
result = await this._listQueryResultsForSubscriptionLevelPolicyAssignmentNext(
|
|
696
|
-
policyStatesResource,
|
|
697
|
-
subscriptionId,
|
|
698
|
-
policyAssignmentName,
|
|
699
|
-
continuationToken,
|
|
700
|
-
options
|
|
701
|
-
);
|
|
702
|
-
continuationToken = result.odataNextLink;
|
|
703
|
-
let page = result.value || [];
|
|
704
|
-
setContinuationToken(page, continuationToken);
|
|
705
|
-
yield page;
|
|
706
|
-
}
|
|
707
|
-
}
|
|
708
|
-
|
|
709
|
-
private async *listQueryResultsForSubscriptionLevelPolicyAssignmentPagingAll(
|
|
710
|
-
policyStatesResource: PolicyStatesResource,
|
|
711
|
-
subscriptionId: string,
|
|
712
|
-
policyAssignmentName: string,
|
|
713
|
-
options?: PolicyStatesListQueryResultsForSubscriptionLevelPolicyAssignmentOptionalParams
|
|
714
|
-
): AsyncIterableIterator<PolicyState> {
|
|
715
|
-
for await (const page of this.listQueryResultsForSubscriptionLevelPolicyAssignmentPagingPage(
|
|
716
|
-
policyStatesResource,
|
|
717
|
-
subscriptionId,
|
|
718
|
-
policyAssignmentName,
|
|
719
|
-
options
|
|
720
|
-
)) {
|
|
721
|
-
yield* page;
|
|
722
|
-
}
|
|
723
|
-
}
|
|
724
|
-
|
|
725
|
-
/**
|
|
726
|
-
* Queries policy states for the resource group level policy assignment.
|
|
727
|
-
* @param policyStatesResource The virtual resource under PolicyStates resource type. In a given time
|
|
728
|
-
* range, 'latest' represents the latest policy state(s), whereas 'default' represents all policy
|
|
729
|
-
* state(s).
|
|
730
|
-
* @param subscriptionId Microsoft Azure subscription ID.
|
|
731
|
-
* @param resourceGroupName Resource group name.
|
|
732
|
-
* @param policyAssignmentName Policy assignment name.
|
|
733
|
-
* @param options The options parameters.
|
|
734
|
-
*/
|
|
735
|
-
public listQueryResultsForResourceGroupLevelPolicyAssignment(
|
|
736
|
-
policyStatesResource: PolicyStatesResource,
|
|
737
|
-
subscriptionId: string,
|
|
738
|
-
resourceGroupName: string,
|
|
739
|
-
policyAssignmentName: string,
|
|
740
|
-
options?: PolicyStatesListQueryResultsForResourceGroupLevelPolicyAssignmentOptionalParams
|
|
741
|
-
): PagedAsyncIterableIterator<PolicyState> {
|
|
742
|
-
const iter = this.listQueryResultsForResourceGroupLevelPolicyAssignmentPagingAll(
|
|
743
|
-
policyStatesResource,
|
|
744
|
-
subscriptionId,
|
|
745
|
-
resourceGroupName,
|
|
746
|
-
policyAssignmentName,
|
|
747
|
-
options
|
|
748
|
-
);
|
|
749
|
-
return {
|
|
750
|
-
next() {
|
|
751
|
-
return iter.next();
|
|
752
|
-
},
|
|
753
|
-
[Symbol.asyncIterator]() {
|
|
754
|
-
return this;
|
|
755
|
-
},
|
|
756
|
-
byPage: (settings?: PageSettings) => {
|
|
757
|
-
if (settings?.maxPageSize) {
|
|
758
|
-
throw new Error("maxPageSize is not supported by this operation.");
|
|
759
|
-
}
|
|
760
|
-
return this.listQueryResultsForResourceGroupLevelPolicyAssignmentPagingPage(
|
|
761
|
-
policyStatesResource,
|
|
762
|
-
subscriptionId,
|
|
763
|
-
resourceGroupName,
|
|
764
|
-
policyAssignmentName,
|
|
765
|
-
options,
|
|
766
|
-
settings
|
|
767
|
-
);
|
|
768
|
-
}
|
|
769
|
-
};
|
|
770
|
-
}
|
|
771
|
-
|
|
772
|
-
private async *listQueryResultsForResourceGroupLevelPolicyAssignmentPagingPage(
|
|
773
|
-
policyStatesResource: PolicyStatesResource,
|
|
774
|
-
subscriptionId: string,
|
|
775
|
-
resourceGroupName: string,
|
|
776
|
-
policyAssignmentName: string,
|
|
777
|
-
options?: PolicyStatesListQueryResultsForResourceGroupLevelPolicyAssignmentOptionalParams,
|
|
778
|
-
settings?: PageSettings
|
|
779
|
-
): AsyncIterableIterator<PolicyState[]> {
|
|
780
|
-
let result: PolicyStatesListQueryResultsForResourceGroupLevelPolicyAssignmentResponse;
|
|
781
|
-
let continuationToken = settings?.continuationToken;
|
|
782
|
-
if (!continuationToken) {
|
|
783
|
-
result = await this._listQueryResultsForResourceGroupLevelPolicyAssignment(
|
|
784
|
-
policyStatesResource,
|
|
785
|
-
subscriptionId,
|
|
786
|
-
resourceGroupName,
|
|
787
|
-
policyAssignmentName,
|
|
788
|
-
options
|
|
789
|
-
);
|
|
790
|
-
let page = result.value || [];
|
|
791
|
-
continuationToken = result.odataNextLink;
|
|
792
|
-
setContinuationToken(page, continuationToken);
|
|
793
|
-
yield page;
|
|
794
|
-
}
|
|
795
|
-
while (continuationToken) {
|
|
796
|
-
result = await this._listQueryResultsForResourceGroupLevelPolicyAssignmentNext(
|
|
797
|
-
policyStatesResource,
|
|
798
|
-
subscriptionId,
|
|
799
|
-
resourceGroupName,
|
|
800
|
-
policyAssignmentName,
|
|
801
|
-
continuationToken,
|
|
802
|
-
options
|
|
803
|
-
);
|
|
804
|
-
continuationToken = result.odataNextLink;
|
|
805
|
-
let page = result.value || [];
|
|
806
|
-
setContinuationToken(page, continuationToken);
|
|
807
|
-
yield page;
|
|
808
|
-
}
|
|
809
|
-
}
|
|
810
|
-
|
|
811
|
-
private async *listQueryResultsForResourceGroupLevelPolicyAssignmentPagingAll(
|
|
812
|
-
policyStatesResource: PolicyStatesResource,
|
|
813
|
-
subscriptionId: string,
|
|
814
|
-
resourceGroupName: string,
|
|
815
|
-
policyAssignmentName: string,
|
|
816
|
-
options?: PolicyStatesListQueryResultsForResourceGroupLevelPolicyAssignmentOptionalParams
|
|
817
|
-
): AsyncIterableIterator<PolicyState> {
|
|
818
|
-
for await (const page of this.listQueryResultsForResourceGroupLevelPolicyAssignmentPagingPage(
|
|
819
|
-
policyStatesResource,
|
|
820
|
-
subscriptionId,
|
|
821
|
-
resourceGroupName,
|
|
822
|
-
policyAssignmentName,
|
|
823
|
-
options
|
|
824
|
-
)) {
|
|
825
|
-
yield* page;
|
|
826
|
-
}
|
|
827
|
-
}
|
|
828
|
-
|
|
829
|
-
/**
|
|
830
|
-
* Queries policy states for the resources under the management group.
|
|
831
|
-
* @param policyStatesResource The virtual resource under PolicyStates resource type. In a given time
|
|
832
|
-
* range, 'latest' represents the latest policy state(s), whereas 'default' represents all policy
|
|
833
|
-
* state(s).
|
|
834
|
-
* @param managementGroupName Management group name.
|
|
835
|
-
* @param options The options parameters.
|
|
836
|
-
*/
|
|
837
|
-
private _listQueryResultsForManagementGroup(
|
|
838
|
-
policyStatesResource: PolicyStatesResource,
|
|
839
|
-
managementGroupName: string,
|
|
840
|
-
options?: PolicyStatesListQueryResultsForManagementGroupOptionalParams
|
|
841
|
-
): Promise<PolicyStatesListQueryResultsForManagementGroupResponse> {
|
|
842
|
-
return this.client.sendOperationRequest(
|
|
843
|
-
{ policyStatesResource, managementGroupName, options },
|
|
844
|
-
listQueryResultsForManagementGroupOperationSpec
|
|
845
|
-
);
|
|
846
|
-
}
|
|
847
|
-
|
|
848
|
-
/**
|
|
849
|
-
* Summarizes policy states for the resources under the management group.
|
|
850
|
-
* @param policyStatesSummaryResource The virtual resource under PolicyStates resource type for
|
|
851
|
-
* summarize action. In a given time range, 'latest' represents the latest policy state(s) and is the
|
|
852
|
-
* only allowed value.
|
|
853
|
-
* @param managementGroupName Management group name.
|
|
854
|
-
* @param options The options parameters.
|
|
855
|
-
*/
|
|
856
|
-
summarizeForManagementGroup(
|
|
857
|
-
policyStatesSummaryResource: PolicyStatesSummaryResourceType,
|
|
858
|
-
managementGroupName: string,
|
|
859
|
-
options?: PolicyStatesSummarizeForManagementGroupOptionalParams
|
|
860
|
-
): Promise<PolicyStatesSummarizeForManagementGroupResponse> {
|
|
861
|
-
return this.client.sendOperationRequest(
|
|
862
|
-
{ policyStatesSummaryResource, managementGroupName, options },
|
|
863
|
-
summarizeForManagementGroupOperationSpec
|
|
864
|
-
);
|
|
865
|
-
}
|
|
866
|
-
|
|
867
|
-
/**
|
|
868
|
-
* Queries policy states for the resources under the subscription.
|
|
869
|
-
* @param policyStatesResource The virtual resource under PolicyStates resource type. In a given time
|
|
870
|
-
* range, 'latest' represents the latest policy state(s), whereas 'default' represents all policy
|
|
871
|
-
* state(s).
|
|
872
|
-
* @param subscriptionId Microsoft Azure subscription ID.
|
|
873
|
-
* @param options The options parameters.
|
|
874
|
-
*/
|
|
875
|
-
private _listQueryResultsForSubscription(
|
|
876
|
-
policyStatesResource: PolicyStatesResource,
|
|
877
|
-
subscriptionId: string,
|
|
878
|
-
options?: PolicyStatesListQueryResultsForSubscriptionOptionalParams
|
|
879
|
-
): Promise<PolicyStatesListQueryResultsForSubscriptionResponse> {
|
|
880
|
-
return this.client.sendOperationRequest(
|
|
881
|
-
{ policyStatesResource, subscriptionId, options },
|
|
882
|
-
listQueryResultsForSubscriptionOperationSpec
|
|
883
|
-
);
|
|
884
|
-
}
|
|
885
|
-
|
|
886
|
-
/**
|
|
887
|
-
* Summarizes policy states for the resources under the subscription.
|
|
888
|
-
* @param policyStatesSummaryResource The virtual resource under PolicyStates resource type for
|
|
889
|
-
* summarize action. In a given time range, 'latest' represents the latest policy state(s) and is the
|
|
890
|
-
* only allowed value.
|
|
891
|
-
* @param subscriptionId Microsoft Azure subscription ID.
|
|
892
|
-
* @param options The options parameters.
|
|
893
|
-
*/
|
|
894
|
-
summarizeForSubscription(
|
|
895
|
-
policyStatesSummaryResource: PolicyStatesSummaryResourceType,
|
|
896
|
-
subscriptionId: string,
|
|
897
|
-
options?: PolicyStatesSummarizeForSubscriptionOptionalParams
|
|
898
|
-
): Promise<PolicyStatesSummarizeForSubscriptionResponse> {
|
|
899
|
-
return this.client.sendOperationRequest(
|
|
900
|
-
{ policyStatesSummaryResource, subscriptionId, options },
|
|
901
|
-
summarizeForSubscriptionOperationSpec
|
|
902
|
-
);
|
|
903
|
-
}
|
|
904
|
-
|
|
905
|
-
/**
|
|
906
|
-
* Queries policy states for the resources under the resource group.
|
|
907
|
-
* @param policyStatesResource The virtual resource under PolicyStates resource type. In a given time
|
|
908
|
-
* range, 'latest' represents the latest policy state(s), whereas 'default' represents all policy
|
|
909
|
-
* state(s).
|
|
910
|
-
* @param subscriptionId Microsoft Azure subscription ID.
|
|
911
|
-
* @param resourceGroupName Resource group name.
|
|
912
|
-
* @param options The options parameters.
|
|
913
|
-
*/
|
|
914
|
-
private _listQueryResultsForResourceGroup(
|
|
915
|
-
policyStatesResource: PolicyStatesResource,
|
|
916
|
-
subscriptionId: string,
|
|
917
|
-
resourceGroupName: string,
|
|
918
|
-
options?: PolicyStatesListQueryResultsForResourceGroupOptionalParams
|
|
919
|
-
): Promise<PolicyStatesListQueryResultsForResourceGroupResponse> {
|
|
920
|
-
return this.client.sendOperationRequest(
|
|
921
|
-
{ policyStatesResource, subscriptionId, resourceGroupName, options },
|
|
922
|
-
listQueryResultsForResourceGroupOperationSpec
|
|
923
|
-
);
|
|
924
|
-
}
|
|
925
|
-
|
|
926
|
-
/**
|
|
927
|
-
* Summarizes policy states for the resources under the resource group.
|
|
928
|
-
* @param policyStatesSummaryResource The virtual resource under PolicyStates resource type for
|
|
929
|
-
* summarize action. In a given time range, 'latest' represents the latest policy state(s) and is the
|
|
930
|
-
* only allowed value.
|
|
931
|
-
* @param subscriptionId Microsoft Azure subscription ID.
|
|
932
|
-
* @param resourceGroupName Resource group name.
|
|
933
|
-
* @param options The options parameters.
|
|
934
|
-
*/
|
|
935
|
-
summarizeForResourceGroup(
|
|
936
|
-
policyStatesSummaryResource: PolicyStatesSummaryResourceType,
|
|
937
|
-
subscriptionId: string,
|
|
938
|
-
resourceGroupName: string,
|
|
939
|
-
options?: PolicyStatesSummarizeForResourceGroupOptionalParams
|
|
940
|
-
): Promise<PolicyStatesSummarizeForResourceGroupResponse> {
|
|
941
|
-
return this.client.sendOperationRequest(
|
|
942
|
-
{
|
|
943
|
-
policyStatesSummaryResource,
|
|
944
|
-
subscriptionId,
|
|
945
|
-
resourceGroupName,
|
|
946
|
-
options
|
|
947
|
-
},
|
|
948
|
-
summarizeForResourceGroupOperationSpec
|
|
949
|
-
);
|
|
950
|
-
}
|
|
951
|
-
|
|
952
|
-
/**
|
|
953
|
-
* Queries policy states for the resource.
|
|
954
|
-
* @param policyStatesResource The virtual resource under PolicyStates resource type. In a given time
|
|
955
|
-
* range, 'latest' represents the latest policy state(s), whereas 'default' represents all policy
|
|
956
|
-
* state(s).
|
|
957
|
-
* @param resourceId Resource ID.
|
|
958
|
-
* @param options The options parameters.
|
|
959
|
-
*/
|
|
960
|
-
private _listQueryResultsForResource(
|
|
961
|
-
policyStatesResource: PolicyStatesResource,
|
|
962
|
-
resourceId: string,
|
|
963
|
-
options?: PolicyStatesListQueryResultsForResourceOptionalParams
|
|
964
|
-
): Promise<PolicyStatesListQueryResultsForResourceResponse> {
|
|
965
|
-
return this.client.sendOperationRequest(
|
|
966
|
-
{ policyStatesResource, resourceId, options },
|
|
967
|
-
listQueryResultsForResourceOperationSpec
|
|
968
|
-
);
|
|
969
|
-
}
|
|
970
|
-
|
|
971
|
-
/**
|
|
972
|
-
* Summarizes policy states for the resource.
|
|
973
|
-
* @param policyStatesSummaryResource The virtual resource under PolicyStates resource type for
|
|
974
|
-
* summarize action. In a given time range, 'latest' represents the latest policy state(s) and is the
|
|
975
|
-
* only allowed value.
|
|
976
|
-
* @param resourceId Resource ID.
|
|
977
|
-
* @param options The options parameters.
|
|
978
|
-
*/
|
|
979
|
-
summarizeForResource(
|
|
980
|
-
policyStatesSummaryResource: PolicyStatesSummaryResourceType,
|
|
981
|
-
resourceId: string,
|
|
982
|
-
options?: PolicyStatesSummarizeForResourceOptionalParams
|
|
983
|
-
): Promise<PolicyStatesSummarizeForResourceResponse> {
|
|
984
|
-
return this.client.sendOperationRequest(
|
|
985
|
-
{ policyStatesSummaryResource, resourceId, options },
|
|
986
|
-
summarizeForResourceOperationSpec
|
|
987
|
-
);
|
|
988
|
-
}
|
|
989
|
-
|
|
990
|
-
/**
|
|
991
|
-
* Triggers a policy evaluation scan for all the resources under the subscription
|
|
992
|
-
* @param subscriptionId Microsoft Azure subscription ID.
|
|
993
|
-
* @param options The options parameters.
|
|
994
|
-
*/
|
|
995
|
-
async beginTriggerSubscriptionEvaluation(
|
|
996
|
-
subscriptionId: string,
|
|
997
|
-
options?: PolicyStatesTriggerSubscriptionEvaluationOptionalParams
|
|
998
|
-
): Promise<PollerLike<PollOperationState<void>, void>> {
|
|
999
|
-
const directSendOperation = async (
|
|
1000
|
-
args: coreClient.OperationArguments,
|
|
1001
|
-
spec: coreClient.OperationSpec
|
|
1002
|
-
): Promise<void> => {
|
|
1003
|
-
return this.client.sendOperationRequest(args, spec);
|
|
1004
|
-
};
|
|
1005
|
-
const sendOperation = async (
|
|
1006
|
-
args: coreClient.OperationArguments,
|
|
1007
|
-
spec: coreClient.OperationSpec
|
|
1008
|
-
) => {
|
|
1009
|
-
let currentRawResponse:
|
|
1010
|
-
| coreClient.FullOperationResponse
|
|
1011
|
-
| undefined = undefined;
|
|
1012
|
-
const providedCallback = args.options?.onResponse;
|
|
1013
|
-
const callback: coreClient.RawResponseCallback = (
|
|
1014
|
-
rawResponse: coreClient.FullOperationResponse,
|
|
1015
|
-
flatResponse: unknown
|
|
1016
|
-
) => {
|
|
1017
|
-
currentRawResponse = rawResponse;
|
|
1018
|
-
providedCallback?.(rawResponse, flatResponse);
|
|
1019
|
-
};
|
|
1020
|
-
const updatedArgs = {
|
|
1021
|
-
...args,
|
|
1022
|
-
options: {
|
|
1023
|
-
...args.options,
|
|
1024
|
-
onResponse: callback
|
|
1025
|
-
}
|
|
1026
|
-
};
|
|
1027
|
-
const flatResponse = await directSendOperation(updatedArgs, spec);
|
|
1028
|
-
return {
|
|
1029
|
-
flatResponse,
|
|
1030
|
-
rawResponse: {
|
|
1031
|
-
statusCode: currentRawResponse!.status,
|
|
1032
|
-
body: currentRawResponse!.parsedBody,
|
|
1033
|
-
headers: currentRawResponse!.headers.toJSON()
|
|
1034
|
-
}
|
|
1035
|
-
};
|
|
1036
|
-
};
|
|
1037
|
-
|
|
1038
|
-
const lro = new LroImpl(
|
|
1039
|
-
sendOperation,
|
|
1040
|
-
{ subscriptionId, options },
|
|
1041
|
-
triggerSubscriptionEvaluationOperationSpec
|
|
1042
|
-
);
|
|
1043
|
-
const poller = new LroEngine(lro, {
|
|
1044
|
-
resumeFrom: options?.resumeFrom,
|
|
1045
|
-
intervalInMs: options?.updateIntervalInMs,
|
|
1046
|
-
lroResourceLocationConfig: "location"
|
|
1047
|
-
});
|
|
1048
|
-
await poller.poll();
|
|
1049
|
-
return poller;
|
|
1050
|
-
}
|
|
1051
|
-
|
|
1052
|
-
/**
|
|
1053
|
-
* Triggers a policy evaluation scan for all the resources under the subscription
|
|
1054
|
-
* @param subscriptionId Microsoft Azure subscription ID.
|
|
1055
|
-
* @param options The options parameters.
|
|
1056
|
-
*/
|
|
1057
|
-
async beginTriggerSubscriptionEvaluationAndWait(
|
|
1058
|
-
subscriptionId: string,
|
|
1059
|
-
options?: PolicyStatesTriggerSubscriptionEvaluationOptionalParams
|
|
1060
|
-
): Promise<void> {
|
|
1061
|
-
const poller = await this.beginTriggerSubscriptionEvaluation(
|
|
1062
|
-
subscriptionId,
|
|
1063
|
-
options
|
|
1064
|
-
);
|
|
1065
|
-
return poller.pollUntilDone();
|
|
1066
|
-
}
|
|
1067
|
-
|
|
1068
|
-
/**
|
|
1069
|
-
* Triggers a policy evaluation scan for all the resources under the resource group.
|
|
1070
|
-
* @param subscriptionId Microsoft Azure subscription ID.
|
|
1071
|
-
* @param resourceGroupName Resource group name.
|
|
1072
|
-
* @param options The options parameters.
|
|
1073
|
-
*/
|
|
1074
|
-
async beginTriggerResourceGroupEvaluation(
|
|
1075
|
-
subscriptionId: string,
|
|
1076
|
-
resourceGroupName: string,
|
|
1077
|
-
options?: PolicyStatesTriggerResourceGroupEvaluationOptionalParams
|
|
1078
|
-
): Promise<PollerLike<PollOperationState<void>, void>> {
|
|
1079
|
-
const directSendOperation = async (
|
|
1080
|
-
args: coreClient.OperationArguments,
|
|
1081
|
-
spec: coreClient.OperationSpec
|
|
1082
|
-
): Promise<void> => {
|
|
1083
|
-
return this.client.sendOperationRequest(args, spec);
|
|
1084
|
-
};
|
|
1085
|
-
const sendOperation = async (
|
|
1086
|
-
args: coreClient.OperationArguments,
|
|
1087
|
-
spec: coreClient.OperationSpec
|
|
1088
|
-
) => {
|
|
1089
|
-
let currentRawResponse:
|
|
1090
|
-
| coreClient.FullOperationResponse
|
|
1091
|
-
| undefined = undefined;
|
|
1092
|
-
const providedCallback = args.options?.onResponse;
|
|
1093
|
-
const callback: coreClient.RawResponseCallback = (
|
|
1094
|
-
rawResponse: coreClient.FullOperationResponse,
|
|
1095
|
-
flatResponse: unknown
|
|
1096
|
-
) => {
|
|
1097
|
-
currentRawResponse = rawResponse;
|
|
1098
|
-
providedCallback?.(rawResponse, flatResponse);
|
|
1099
|
-
};
|
|
1100
|
-
const updatedArgs = {
|
|
1101
|
-
...args,
|
|
1102
|
-
options: {
|
|
1103
|
-
...args.options,
|
|
1104
|
-
onResponse: callback
|
|
1105
|
-
}
|
|
1106
|
-
};
|
|
1107
|
-
const flatResponse = await directSendOperation(updatedArgs, spec);
|
|
1108
|
-
return {
|
|
1109
|
-
flatResponse,
|
|
1110
|
-
rawResponse: {
|
|
1111
|
-
statusCode: currentRawResponse!.status,
|
|
1112
|
-
body: currentRawResponse!.parsedBody,
|
|
1113
|
-
headers: currentRawResponse!.headers.toJSON()
|
|
1114
|
-
}
|
|
1115
|
-
};
|
|
1116
|
-
};
|
|
1117
|
-
|
|
1118
|
-
const lro = new LroImpl(
|
|
1119
|
-
sendOperation,
|
|
1120
|
-
{ subscriptionId, resourceGroupName, options },
|
|
1121
|
-
triggerResourceGroupEvaluationOperationSpec
|
|
1122
|
-
);
|
|
1123
|
-
const poller = new LroEngine(lro, {
|
|
1124
|
-
resumeFrom: options?.resumeFrom,
|
|
1125
|
-
intervalInMs: options?.updateIntervalInMs,
|
|
1126
|
-
lroResourceLocationConfig: "location"
|
|
1127
|
-
});
|
|
1128
|
-
await poller.poll();
|
|
1129
|
-
return poller;
|
|
1130
|
-
}
|
|
1131
|
-
|
|
1132
|
-
/**
|
|
1133
|
-
* Triggers a policy evaluation scan for all the resources under the resource group.
|
|
1134
|
-
* @param subscriptionId Microsoft Azure subscription ID.
|
|
1135
|
-
* @param resourceGroupName Resource group name.
|
|
1136
|
-
* @param options The options parameters.
|
|
1137
|
-
*/
|
|
1138
|
-
async beginTriggerResourceGroupEvaluationAndWait(
|
|
1139
|
-
subscriptionId: string,
|
|
1140
|
-
resourceGroupName: string,
|
|
1141
|
-
options?: PolicyStatesTriggerResourceGroupEvaluationOptionalParams
|
|
1142
|
-
): Promise<void> {
|
|
1143
|
-
const poller = await this.beginTriggerResourceGroupEvaluation(
|
|
1144
|
-
subscriptionId,
|
|
1145
|
-
resourceGroupName,
|
|
1146
|
-
options
|
|
1147
|
-
);
|
|
1148
|
-
return poller.pollUntilDone();
|
|
1149
|
-
}
|
|
1150
|
-
|
|
1151
|
-
/**
|
|
1152
|
-
* Queries policy states for the subscription level policy set definition.
|
|
1153
|
-
* @param policyStatesResource The virtual resource under PolicyStates resource type. In a given time
|
|
1154
|
-
* range, 'latest' represents the latest policy state(s), whereas 'default' represents all policy
|
|
1155
|
-
* state(s).
|
|
1156
|
-
* @param subscriptionId Microsoft Azure subscription ID.
|
|
1157
|
-
* @param policySetDefinitionName Policy set definition name.
|
|
1158
|
-
* @param options The options parameters.
|
|
1159
|
-
*/
|
|
1160
|
-
private _listQueryResultsForPolicySetDefinition(
|
|
1161
|
-
policyStatesResource: PolicyStatesResource,
|
|
1162
|
-
subscriptionId: string,
|
|
1163
|
-
policySetDefinitionName: string,
|
|
1164
|
-
options?: PolicyStatesListQueryResultsForPolicySetDefinitionOptionalParams
|
|
1165
|
-
): Promise<PolicyStatesListQueryResultsForPolicySetDefinitionResponse> {
|
|
1166
|
-
return this.client.sendOperationRequest(
|
|
1167
|
-
{
|
|
1168
|
-
policyStatesResource,
|
|
1169
|
-
subscriptionId,
|
|
1170
|
-
policySetDefinitionName,
|
|
1171
|
-
options
|
|
1172
|
-
},
|
|
1173
|
-
listQueryResultsForPolicySetDefinitionOperationSpec
|
|
1174
|
-
);
|
|
1175
|
-
}
|
|
1176
|
-
|
|
1177
|
-
/**
|
|
1178
|
-
* Summarizes policy states for the subscription level policy set definition.
|
|
1179
|
-
* @param policyStatesSummaryResource The virtual resource under PolicyStates resource type for
|
|
1180
|
-
* summarize action. In a given time range, 'latest' represents the latest policy state(s) and is the
|
|
1181
|
-
* only allowed value.
|
|
1182
|
-
* @param subscriptionId Microsoft Azure subscription ID.
|
|
1183
|
-
* @param policySetDefinitionName Policy set definition name.
|
|
1184
|
-
* @param options The options parameters.
|
|
1185
|
-
*/
|
|
1186
|
-
summarizeForPolicySetDefinition(
|
|
1187
|
-
policyStatesSummaryResource: PolicyStatesSummaryResourceType,
|
|
1188
|
-
subscriptionId: string,
|
|
1189
|
-
policySetDefinitionName: string,
|
|
1190
|
-
options?: PolicyStatesSummarizeForPolicySetDefinitionOptionalParams
|
|
1191
|
-
): Promise<PolicyStatesSummarizeForPolicySetDefinitionResponse> {
|
|
1192
|
-
return this.client.sendOperationRequest(
|
|
1193
|
-
{
|
|
1194
|
-
policyStatesSummaryResource,
|
|
1195
|
-
subscriptionId,
|
|
1196
|
-
policySetDefinitionName,
|
|
1197
|
-
options
|
|
1198
|
-
},
|
|
1199
|
-
summarizeForPolicySetDefinitionOperationSpec
|
|
1200
|
-
);
|
|
1201
|
-
}
|
|
1202
|
-
|
|
1203
|
-
/**
|
|
1204
|
-
* Queries policy states for the subscription level policy definition.
|
|
1205
|
-
* @param policyStatesResource The virtual resource under PolicyStates resource type. In a given time
|
|
1206
|
-
* range, 'latest' represents the latest policy state(s), whereas 'default' represents all policy
|
|
1207
|
-
* state(s).
|
|
1208
|
-
* @param subscriptionId Microsoft Azure subscription ID.
|
|
1209
|
-
* @param policyDefinitionName Policy definition name.
|
|
1210
|
-
* @param options The options parameters.
|
|
1211
|
-
*/
|
|
1212
|
-
private _listQueryResultsForPolicyDefinition(
|
|
1213
|
-
policyStatesResource: PolicyStatesResource,
|
|
1214
|
-
subscriptionId: string,
|
|
1215
|
-
policyDefinitionName: string,
|
|
1216
|
-
options?: PolicyStatesListQueryResultsForPolicyDefinitionOptionalParams
|
|
1217
|
-
): Promise<PolicyStatesListQueryResultsForPolicyDefinitionResponse> {
|
|
1218
|
-
return this.client.sendOperationRequest(
|
|
1219
|
-
{ policyStatesResource, subscriptionId, policyDefinitionName, options },
|
|
1220
|
-
listQueryResultsForPolicyDefinitionOperationSpec
|
|
1221
|
-
);
|
|
1222
|
-
}
|
|
1223
|
-
|
|
1224
|
-
/**
|
|
1225
|
-
* Summarizes policy states for the subscription level policy definition.
|
|
1226
|
-
* @param policyStatesSummaryResource The virtual resource under PolicyStates resource type for
|
|
1227
|
-
* summarize action. In a given time range, 'latest' represents the latest policy state(s) and is the
|
|
1228
|
-
* only allowed value.
|
|
1229
|
-
* @param subscriptionId Microsoft Azure subscription ID.
|
|
1230
|
-
* @param policyDefinitionName Policy definition name.
|
|
1231
|
-
* @param options The options parameters.
|
|
1232
|
-
*/
|
|
1233
|
-
summarizeForPolicyDefinition(
|
|
1234
|
-
policyStatesSummaryResource: PolicyStatesSummaryResourceType,
|
|
1235
|
-
subscriptionId: string,
|
|
1236
|
-
policyDefinitionName: string,
|
|
1237
|
-
options?: PolicyStatesSummarizeForPolicyDefinitionOptionalParams
|
|
1238
|
-
): Promise<PolicyStatesSummarizeForPolicyDefinitionResponse> {
|
|
1239
|
-
return this.client.sendOperationRequest(
|
|
1240
|
-
{
|
|
1241
|
-
policyStatesSummaryResource,
|
|
1242
|
-
subscriptionId,
|
|
1243
|
-
policyDefinitionName,
|
|
1244
|
-
options
|
|
1245
|
-
},
|
|
1246
|
-
summarizeForPolicyDefinitionOperationSpec
|
|
1247
|
-
);
|
|
1248
|
-
}
|
|
1249
|
-
|
|
1250
|
-
/**
|
|
1251
|
-
* Queries policy states for the subscription level policy assignment.
|
|
1252
|
-
* @param policyStatesResource The virtual resource under PolicyStates resource type. In a given time
|
|
1253
|
-
* range, 'latest' represents the latest policy state(s), whereas 'default' represents all policy
|
|
1254
|
-
* state(s).
|
|
1255
|
-
* @param subscriptionId Microsoft Azure subscription ID.
|
|
1256
|
-
* @param policyAssignmentName Policy assignment name.
|
|
1257
|
-
* @param options The options parameters.
|
|
1258
|
-
*/
|
|
1259
|
-
private _listQueryResultsForSubscriptionLevelPolicyAssignment(
|
|
1260
|
-
policyStatesResource: PolicyStatesResource,
|
|
1261
|
-
subscriptionId: string,
|
|
1262
|
-
policyAssignmentName: string,
|
|
1263
|
-
options?: PolicyStatesListQueryResultsForSubscriptionLevelPolicyAssignmentOptionalParams
|
|
1264
|
-
): Promise<
|
|
1265
|
-
PolicyStatesListQueryResultsForSubscriptionLevelPolicyAssignmentResponse
|
|
1266
|
-
> {
|
|
1267
|
-
return this.client.sendOperationRequest(
|
|
1268
|
-
{ policyStatesResource, subscriptionId, policyAssignmentName, options },
|
|
1269
|
-
listQueryResultsForSubscriptionLevelPolicyAssignmentOperationSpec
|
|
1270
|
-
);
|
|
1271
|
-
}
|
|
1272
|
-
|
|
1273
|
-
/**
|
|
1274
|
-
* Summarizes policy states for the subscription level policy assignment.
|
|
1275
|
-
* @param policyStatesSummaryResource The virtual resource under PolicyStates resource type for
|
|
1276
|
-
* summarize action. In a given time range, 'latest' represents the latest policy state(s) and is the
|
|
1277
|
-
* only allowed value.
|
|
1278
|
-
* @param subscriptionId Microsoft Azure subscription ID.
|
|
1279
|
-
* @param policyAssignmentName Policy assignment name.
|
|
1280
|
-
* @param options The options parameters.
|
|
1281
|
-
*/
|
|
1282
|
-
summarizeForSubscriptionLevelPolicyAssignment(
|
|
1283
|
-
policyStatesSummaryResource: PolicyStatesSummaryResourceType,
|
|
1284
|
-
subscriptionId: string,
|
|
1285
|
-
policyAssignmentName: string,
|
|
1286
|
-
options?: PolicyStatesSummarizeForSubscriptionLevelPolicyAssignmentOptionalParams
|
|
1287
|
-
): Promise<
|
|
1288
|
-
PolicyStatesSummarizeForSubscriptionLevelPolicyAssignmentResponse
|
|
1289
|
-
> {
|
|
1290
|
-
return this.client.sendOperationRequest(
|
|
1291
|
-
{
|
|
1292
|
-
policyStatesSummaryResource,
|
|
1293
|
-
subscriptionId,
|
|
1294
|
-
policyAssignmentName,
|
|
1295
|
-
options
|
|
1296
|
-
},
|
|
1297
|
-
summarizeForSubscriptionLevelPolicyAssignmentOperationSpec
|
|
1298
|
-
);
|
|
1299
|
-
}
|
|
1300
|
-
|
|
1301
|
-
/**
|
|
1302
|
-
* Queries policy states for the resource group level policy assignment.
|
|
1303
|
-
* @param policyStatesResource The virtual resource under PolicyStates resource type. In a given time
|
|
1304
|
-
* range, 'latest' represents the latest policy state(s), whereas 'default' represents all policy
|
|
1305
|
-
* state(s).
|
|
1306
|
-
* @param subscriptionId Microsoft Azure subscription ID.
|
|
1307
|
-
* @param resourceGroupName Resource group name.
|
|
1308
|
-
* @param policyAssignmentName Policy assignment name.
|
|
1309
|
-
* @param options The options parameters.
|
|
1310
|
-
*/
|
|
1311
|
-
private _listQueryResultsForResourceGroupLevelPolicyAssignment(
|
|
1312
|
-
policyStatesResource: PolicyStatesResource,
|
|
1313
|
-
subscriptionId: string,
|
|
1314
|
-
resourceGroupName: string,
|
|
1315
|
-
policyAssignmentName: string,
|
|
1316
|
-
options?: PolicyStatesListQueryResultsForResourceGroupLevelPolicyAssignmentOptionalParams
|
|
1317
|
-
): Promise<
|
|
1318
|
-
PolicyStatesListQueryResultsForResourceGroupLevelPolicyAssignmentResponse
|
|
1319
|
-
> {
|
|
1320
|
-
return this.client.sendOperationRequest(
|
|
1321
|
-
{
|
|
1322
|
-
policyStatesResource,
|
|
1323
|
-
subscriptionId,
|
|
1324
|
-
resourceGroupName,
|
|
1325
|
-
policyAssignmentName,
|
|
1326
|
-
options
|
|
1327
|
-
},
|
|
1328
|
-
listQueryResultsForResourceGroupLevelPolicyAssignmentOperationSpec
|
|
1329
|
-
);
|
|
1330
|
-
}
|
|
1331
|
-
|
|
1332
|
-
/**
|
|
1333
|
-
* Summarizes policy states for the resource group level policy assignment.
|
|
1334
|
-
* @param policyStatesSummaryResource The virtual resource under PolicyStates resource type for
|
|
1335
|
-
* summarize action. In a given time range, 'latest' represents the latest policy state(s) and is the
|
|
1336
|
-
* only allowed value.
|
|
1337
|
-
* @param subscriptionId Microsoft Azure subscription ID.
|
|
1338
|
-
* @param resourceGroupName Resource group name.
|
|
1339
|
-
* @param policyAssignmentName Policy assignment name.
|
|
1340
|
-
* @param options The options parameters.
|
|
1341
|
-
*/
|
|
1342
|
-
summarizeForResourceGroupLevelPolicyAssignment(
|
|
1343
|
-
policyStatesSummaryResource: PolicyStatesSummaryResourceType,
|
|
1344
|
-
subscriptionId: string,
|
|
1345
|
-
resourceGroupName: string,
|
|
1346
|
-
policyAssignmentName: string,
|
|
1347
|
-
options?: PolicyStatesSummarizeForResourceGroupLevelPolicyAssignmentOptionalParams
|
|
1348
|
-
): Promise<
|
|
1349
|
-
PolicyStatesSummarizeForResourceGroupLevelPolicyAssignmentResponse
|
|
1350
|
-
> {
|
|
1351
|
-
return this.client.sendOperationRequest(
|
|
1352
|
-
{
|
|
1353
|
-
policyStatesSummaryResource,
|
|
1354
|
-
subscriptionId,
|
|
1355
|
-
resourceGroupName,
|
|
1356
|
-
policyAssignmentName,
|
|
1357
|
-
options
|
|
1358
|
-
},
|
|
1359
|
-
summarizeForResourceGroupLevelPolicyAssignmentOperationSpec
|
|
1360
|
-
);
|
|
1361
|
-
}
|
|
1362
|
-
|
|
1363
|
-
/**
|
|
1364
|
-
* ListQueryResultsForManagementGroupNext
|
|
1365
|
-
* @param policyStatesResource The virtual resource under PolicyStates resource type. In a given time
|
|
1366
|
-
* range, 'latest' represents the latest policy state(s), whereas 'default' represents all policy
|
|
1367
|
-
* state(s).
|
|
1368
|
-
* @param managementGroupName Management group name.
|
|
1369
|
-
* @param nextLink The nextLink from the previous successful call to the
|
|
1370
|
-
* ListQueryResultsForManagementGroup method.
|
|
1371
|
-
* @param options The options parameters.
|
|
1372
|
-
*/
|
|
1373
|
-
private _listQueryResultsForManagementGroupNext(
|
|
1374
|
-
policyStatesResource: PolicyStatesResource,
|
|
1375
|
-
managementGroupName: string,
|
|
1376
|
-
nextLink: string,
|
|
1377
|
-
options?: PolicyStatesListQueryResultsForManagementGroupNextOptionalParams
|
|
1378
|
-
): Promise<PolicyStatesListQueryResultsForManagementGroupNextResponse> {
|
|
1379
|
-
return this.client.sendOperationRequest(
|
|
1380
|
-
{ policyStatesResource, managementGroupName, nextLink, options },
|
|
1381
|
-
listQueryResultsForManagementGroupNextOperationSpec
|
|
1382
|
-
);
|
|
1383
|
-
}
|
|
1384
|
-
|
|
1385
|
-
/**
|
|
1386
|
-
* ListQueryResultsForSubscriptionNext
|
|
1387
|
-
* @param policyStatesResource The virtual resource under PolicyStates resource type. In a given time
|
|
1388
|
-
* range, 'latest' represents the latest policy state(s), whereas 'default' represents all policy
|
|
1389
|
-
* state(s).
|
|
1390
|
-
* @param subscriptionId Microsoft Azure subscription ID.
|
|
1391
|
-
* @param nextLink The nextLink from the previous successful call to the
|
|
1392
|
-
* ListQueryResultsForSubscription method.
|
|
1393
|
-
* @param options The options parameters.
|
|
1394
|
-
*/
|
|
1395
|
-
private _listQueryResultsForSubscriptionNext(
|
|
1396
|
-
policyStatesResource: PolicyStatesResource,
|
|
1397
|
-
subscriptionId: string,
|
|
1398
|
-
nextLink: string,
|
|
1399
|
-
options?: PolicyStatesListQueryResultsForSubscriptionNextOptionalParams
|
|
1400
|
-
): Promise<PolicyStatesListQueryResultsForSubscriptionNextResponse> {
|
|
1401
|
-
return this.client.sendOperationRequest(
|
|
1402
|
-
{ policyStatesResource, subscriptionId, nextLink, options },
|
|
1403
|
-
listQueryResultsForSubscriptionNextOperationSpec
|
|
1404
|
-
);
|
|
1405
|
-
}
|
|
1406
|
-
|
|
1407
|
-
/**
|
|
1408
|
-
* ListQueryResultsForResourceGroupNext
|
|
1409
|
-
* @param policyStatesResource The virtual resource under PolicyStates resource type. In a given time
|
|
1410
|
-
* range, 'latest' represents the latest policy state(s), whereas 'default' represents all policy
|
|
1411
|
-
* state(s).
|
|
1412
|
-
* @param subscriptionId Microsoft Azure subscription ID.
|
|
1413
|
-
* @param resourceGroupName Resource group name.
|
|
1414
|
-
* @param nextLink The nextLink from the previous successful call to the
|
|
1415
|
-
* ListQueryResultsForResourceGroup method.
|
|
1416
|
-
* @param options The options parameters.
|
|
1417
|
-
*/
|
|
1418
|
-
private _listQueryResultsForResourceGroupNext(
|
|
1419
|
-
policyStatesResource: PolicyStatesResource,
|
|
1420
|
-
subscriptionId: string,
|
|
1421
|
-
resourceGroupName: string,
|
|
1422
|
-
nextLink: string,
|
|
1423
|
-
options?: PolicyStatesListQueryResultsForResourceGroupNextOptionalParams
|
|
1424
|
-
): Promise<PolicyStatesListQueryResultsForResourceGroupNextResponse> {
|
|
1425
|
-
return this.client.sendOperationRequest(
|
|
1426
|
-
{
|
|
1427
|
-
policyStatesResource,
|
|
1428
|
-
subscriptionId,
|
|
1429
|
-
resourceGroupName,
|
|
1430
|
-
nextLink,
|
|
1431
|
-
options
|
|
1432
|
-
},
|
|
1433
|
-
listQueryResultsForResourceGroupNextOperationSpec
|
|
1434
|
-
);
|
|
1435
|
-
}
|
|
1436
|
-
|
|
1437
|
-
/**
|
|
1438
|
-
* ListQueryResultsForResourceNext
|
|
1439
|
-
* @param policyStatesResource The virtual resource under PolicyStates resource type. In a given time
|
|
1440
|
-
* range, 'latest' represents the latest policy state(s), whereas 'default' represents all policy
|
|
1441
|
-
* state(s).
|
|
1442
|
-
* @param resourceId Resource ID.
|
|
1443
|
-
* @param nextLink The nextLink from the previous successful call to the ListQueryResultsForResource
|
|
1444
|
-
* method.
|
|
1445
|
-
* @param options The options parameters.
|
|
1446
|
-
*/
|
|
1447
|
-
private _listQueryResultsForResourceNext(
|
|
1448
|
-
policyStatesResource: PolicyStatesResource,
|
|
1449
|
-
resourceId: string,
|
|
1450
|
-
nextLink: string,
|
|
1451
|
-
options?: PolicyStatesListQueryResultsForResourceNextOptionalParams
|
|
1452
|
-
): Promise<PolicyStatesListQueryResultsForResourceNextResponse> {
|
|
1453
|
-
return this.client.sendOperationRequest(
|
|
1454
|
-
{ policyStatesResource, resourceId, nextLink, options },
|
|
1455
|
-
listQueryResultsForResourceNextOperationSpec
|
|
1456
|
-
);
|
|
1457
|
-
}
|
|
1458
|
-
|
|
1459
|
-
/**
|
|
1460
|
-
* ListQueryResultsForPolicySetDefinitionNext
|
|
1461
|
-
* @param policyStatesResource The virtual resource under PolicyStates resource type. In a given time
|
|
1462
|
-
* range, 'latest' represents the latest policy state(s), whereas 'default' represents all policy
|
|
1463
|
-
* state(s).
|
|
1464
|
-
* @param subscriptionId Microsoft Azure subscription ID.
|
|
1465
|
-
* @param policySetDefinitionName Policy set definition name.
|
|
1466
|
-
* @param nextLink The nextLink from the previous successful call to the
|
|
1467
|
-
* ListQueryResultsForPolicySetDefinition method.
|
|
1468
|
-
* @param options The options parameters.
|
|
1469
|
-
*/
|
|
1470
|
-
private _listQueryResultsForPolicySetDefinitionNext(
|
|
1471
|
-
policyStatesResource: PolicyStatesResource,
|
|
1472
|
-
subscriptionId: string,
|
|
1473
|
-
policySetDefinitionName: string,
|
|
1474
|
-
nextLink: string,
|
|
1475
|
-
options?: PolicyStatesListQueryResultsForPolicySetDefinitionNextOptionalParams
|
|
1476
|
-
): Promise<PolicyStatesListQueryResultsForPolicySetDefinitionNextResponse> {
|
|
1477
|
-
return this.client.sendOperationRequest(
|
|
1478
|
-
{
|
|
1479
|
-
policyStatesResource,
|
|
1480
|
-
subscriptionId,
|
|
1481
|
-
policySetDefinitionName,
|
|
1482
|
-
nextLink,
|
|
1483
|
-
options
|
|
1484
|
-
},
|
|
1485
|
-
listQueryResultsForPolicySetDefinitionNextOperationSpec
|
|
1486
|
-
);
|
|
1487
|
-
}
|
|
1488
|
-
|
|
1489
|
-
/**
|
|
1490
|
-
* ListQueryResultsForPolicyDefinitionNext
|
|
1491
|
-
* @param policyStatesResource The virtual resource under PolicyStates resource type. In a given time
|
|
1492
|
-
* range, 'latest' represents the latest policy state(s), whereas 'default' represents all policy
|
|
1493
|
-
* state(s).
|
|
1494
|
-
* @param subscriptionId Microsoft Azure subscription ID.
|
|
1495
|
-
* @param policyDefinitionName Policy definition name.
|
|
1496
|
-
* @param nextLink The nextLink from the previous successful call to the
|
|
1497
|
-
* ListQueryResultsForPolicyDefinition method.
|
|
1498
|
-
* @param options The options parameters.
|
|
1499
|
-
*/
|
|
1500
|
-
private _listQueryResultsForPolicyDefinitionNext(
|
|
1501
|
-
policyStatesResource: PolicyStatesResource,
|
|
1502
|
-
subscriptionId: string,
|
|
1503
|
-
policyDefinitionName: string,
|
|
1504
|
-
nextLink: string,
|
|
1505
|
-
options?: PolicyStatesListQueryResultsForPolicyDefinitionNextOptionalParams
|
|
1506
|
-
): Promise<PolicyStatesListQueryResultsForPolicyDefinitionNextResponse> {
|
|
1507
|
-
return this.client.sendOperationRequest(
|
|
1508
|
-
{
|
|
1509
|
-
policyStatesResource,
|
|
1510
|
-
subscriptionId,
|
|
1511
|
-
policyDefinitionName,
|
|
1512
|
-
nextLink,
|
|
1513
|
-
options
|
|
1514
|
-
},
|
|
1515
|
-
listQueryResultsForPolicyDefinitionNextOperationSpec
|
|
1516
|
-
);
|
|
1517
|
-
}
|
|
1518
|
-
|
|
1519
|
-
/**
|
|
1520
|
-
* ListQueryResultsForSubscriptionLevelPolicyAssignmentNext
|
|
1521
|
-
* @param policyStatesResource The virtual resource under PolicyStates resource type. In a given time
|
|
1522
|
-
* range, 'latest' represents the latest policy state(s), whereas 'default' represents all policy
|
|
1523
|
-
* state(s).
|
|
1524
|
-
* @param subscriptionId Microsoft Azure subscription ID.
|
|
1525
|
-
* @param policyAssignmentName Policy assignment name.
|
|
1526
|
-
* @param nextLink The nextLink from the previous successful call to the
|
|
1527
|
-
* ListQueryResultsForSubscriptionLevelPolicyAssignment method.
|
|
1528
|
-
* @param options The options parameters.
|
|
1529
|
-
*/
|
|
1530
|
-
private _listQueryResultsForSubscriptionLevelPolicyAssignmentNext(
|
|
1531
|
-
policyStatesResource: PolicyStatesResource,
|
|
1532
|
-
subscriptionId: string,
|
|
1533
|
-
policyAssignmentName: string,
|
|
1534
|
-
nextLink: string,
|
|
1535
|
-
options?: PolicyStatesListQueryResultsForSubscriptionLevelPolicyAssignmentNextOptionalParams
|
|
1536
|
-
): Promise<
|
|
1537
|
-
PolicyStatesListQueryResultsForSubscriptionLevelPolicyAssignmentNextResponse
|
|
1538
|
-
> {
|
|
1539
|
-
return this.client.sendOperationRequest(
|
|
1540
|
-
{
|
|
1541
|
-
policyStatesResource,
|
|
1542
|
-
subscriptionId,
|
|
1543
|
-
policyAssignmentName,
|
|
1544
|
-
nextLink,
|
|
1545
|
-
options
|
|
1546
|
-
},
|
|
1547
|
-
listQueryResultsForSubscriptionLevelPolicyAssignmentNextOperationSpec
|
|
1548
|
-
);
|
|
1549
|
-
}
|
|
1550
|
-
|
|
1551
|
-
/**
|
|
1552
|
-
* ListQueryResultsForResourceGroupLevelPolicyAssignmentNext
|
|
1553
|
-
* @param policyStatesResource The virtual resource under PolicyStates resource type. In a given time
|
|
1554
|
-
* range, 'latest' represents the latest policy state(s), whereas 'default' represents all policy
|
|
1555
|
-
* state(s).
|
|
1556
|
-
* @param subscriptionId Microsoft Azure subscription ID.
|
|
1557
|
-
* @param resourceGroupName Resource group name.
|
|
1558
|
-
* @param policyAssignmentName Policy assignment name.
|
|
1559
|
-
* @param nextLink The nextLink from the previous successful call to the
|
|
1560
|
-
* ListQueryResultsForResourceGroupLevelPolicyAssignment method.
|
|
1561
|
-
* @param options The options parameters.
|
|
1562
|
-
*/
|
|
1563
|
-
private _listQueryResultsForResourceGroupLevelPolicyAssignmentNext(
|
|
1564
|
-
policyStatesResource: PolicyStatesResource,
|
|
1565
|
-
subscriptionId: string,
|
|
1566
|
-
resourceGroupName: string,
|
|
1567
|
-
policyAssignmentName: string,
|
|
1568
|
-
nextLink: string,
|
|
1569
|
-
options?: PolicyStatesListQueryResultsForResourceGroupLevelPolicyAssignmentNextOptionalParams
|
|
1570
|
-
): Promise<
|
|
1571
|
-
PolicyStatesListQueryResultsForResourceGroupLevelPolicyAssignmentNextResponse
|
|
1572
|
-
> {
|
|
1573
|
-
return this.client.sendOperationRequest(
|
|
1574
|
-
{
|
|
1575
|
-
policyStatesResource,
|
|
1576
|
-
subscriptionId,
|
|
1577
|
-
resourceGroupName,
|
|
1578
|
-
policyAssignmentName,
|
|
1579
|
-
nextLink,
|
|
1580
|
-
options
|
|
1581
|
-
},
|
|
1582
|
-
listQueryResultsForResourceGroupLevelPolicyAssignmentNextOperationSpec
|
|
1583
|
-
);
|
|
1584
|
-
}
|
|
1585
|
-
}
|
|
1586
|
-
// Operation Specifications
|
|
1587
|
-
const serializer = coreClient.createSerializer(Mappers, /* isXml */ false);
|
|
1588
|
-
|
|
1589
|
-
const listQueryResultsForManagementGroupOperationSpec: coreClient.OperationSpec = {
|
|
1590
|
-
path:
|
|
1591
|
-
"/providers/{managementGroupsNamespace}/managementGroups/{managementGroupName}/providers/Microsoft.PolicyInsights/policyStates/{policyStatesResource}/queryResults",
|
|
1592
|
-
httpMethod: "POST",
|
|
1593
|
-
responses: {
|
|
1594
|
-
200: {
|
|
1595
|
-
bodyMapper: Mappers.PolicyStatesQueryResults
|
|
1596
|
-
},
|
|
1597
|
-
default: {
|
|
1598
|
-
bodyMapper: Mappers.QueryFailure
|
|
1599
|
-
}
|
|
1600
|
-
},
|
|
1601
|
-
queryParameters: [
|
|
1602
|
-
Parameters.top,
|
|
1603
|
-
Parameters.filter,
|
|
1604
|
-
Parameters.apiVersion2,
|
|
1605
|
-
Parameters.orderBy,
|
|
1606
|
-
Parameters.select,
|
|
1607
|
-
Parameters.from,
|
|
1608
|
-
Parameters.to,
|
|
1609
|
-
Parameters.apply,
|
|
1610
|
-
Parameters.skipToken
|
|
1611
|
-
],
|
|
1612
|
-
urlParameters: [
|
|
1613
|
-
Parameters.$host,
|
|
1614
|
-
Parameters.managementGroupsNamespace,
|
|
1615
|
-
Parameters.managementGroupName,
|
|
1616
|
-
Parameters.policyStatesResource
|
|
1617
|
-
],
|
|
1618
|
-
headerParameters: [Parameters.accept],
|
|
1619
|
-
serializer
|
|
1620
|
-
};
|
|
1621
|
-
const summarizeForManagementGroupOperationSpec: coreClient.OperationSpec = {
|
|
1622
|
-
path:
|
|
1623
|
-
"/providers/{managementGroupsNamespace}/managementGroups/{managementGroupName}/providers/Microsoft.PolicyInsights/policyStates/{policyStatesSummaryResource}/summarize",
|
|
1624
|
-
httpMethod: "POST",
|
|
1625
|
-
responses: {
|
|
1626
|
-
200: {
|
|
1627
|
-
bodyMapper: Mappers.SummarizeResults
|
|
1628
|
-
},
|
|
1629
|
-
default: {
|
|
1630
|
-
bodyMapper: Mappers.QueryFailure
|
|
1631
|
-
}
|
|
1632
|
-
},
|
|
1633
|
-
queryParameters: [
|
|
1634
|
-
Parameters.top,
|
|
1635
|
-
Parameters.filter,
|
|
1636
|
-
Parameters.apiVersion2,
|
|
1637
|
-
Parameters.from,
|
|
1638
|
-
Parameters.to
|
|
1639
|
-
],
|
|
1640
|
-
urlParameters: [
|
|
1641
|
-
Parameters.$host,
|
|
1642
|
-
Parameters.managementGroupsNamespace,
|
|
1643
|
-
Parameters.managementGroupName,
|
|
1644
|
-
Parameters.policyStatesSummaryResource
|
|
1645
|
-
],
|
|
1646
|
-
headerParameters: [Parameters.accept],
|
|
1647
|
-
serializer
|
|
1648
|
-
};
|
|
1649
|
-
const listQueryResultsForSubscriptionOperationSpec: coreClient.OperationSpec = {
|
|
1650
|
-
path:
|
|
1651
|
-
"/subscriptions/{subscriptionId}/providers/Microsoft.PolicyInsights/policyStates/{policyStatesResource}/queryResults",
|
|
1652
|
-
httpMethod: "POST",
|
|
1653
|
-
responses: {
|
|
1654
|
-
200: {
|
|
1655
|
-
bodyMapper: Mappers.PolicyStatesQueryResults
|
|
1656
|
-
},
|
|
1657
|
-
default: {
|
|
1658
|
-
bodyMapper: Mappers.QueryFailure
|
|
1659
|
-
}
|
|
1660
|
-
},
|
|
1661
|
-
queryParameters: [
|
|
1662
|
-
Parameters.top,
|
|
1663
|
-
Parameters.filter,
|
|
1664
|
-
Parameters.apiVersion2,
|
|
1665
|
-
Parameters.orderBy,
|
|
1666
|
-
Parameters.select,
|
|
1667
|
-
Parameters.from,
|
|
1668
|
-
Parameters.to,
|
|
1669
|
-
Parameters.apply,
|
|
1670
|
-
Parameters.skipToken
|
|
1671
|
-
],
|
|
1672
|
-
urlParameters: [
|
|
1673
|
-
Parameters.$host,
|
|
1674
|
-
Parameters.subscriptionId1,
|
|
1675
|
-
Parameters.policyStatesResource
|
|
1676
|
-
],
|
|
1677
|
-
headerParameters: [Parameters.accept],
|
|
1678
|
-
serializer
|
|
1679
|
-
};
|
|
1680
|
-
const summarizeForSubscriptionOperationSpec: coreClient.OperationSpec = {
|
|
1681
|
-
path:
|
|
1682
|
-
"/subscriptions/{subscriptionId}/providers/Microsoft.PolicyInsights/policyStates/{policyStatesSummaryResource}/summarize",
|
|
1683
|
-
httpMethod: "POST",
|
|
1684
|
-
responses: {
|
|
1685
|
-
200: {
|
|
1686
|
-
bodyMapper: Mappers.SummarizeResults
|
|
1687
|
-
},
|
|
1688
|
-
default: {
|
|
1689
|
-
bodyMapper: Mappers.QueryFailure
|
|
1690
|
-
}
|
|
1691
|
-
},
|
|
1692
|
-
queryParameters: [
|
|
1693
|
-
Parameters.top,
|
|
1694
|
-
Parameters.filter,
|
|
1695
|
-
Parameters.apiVersion2,
|
|
1696
|
-
Parameters.from,
|
|
1697
|
-
Parameters.to
|
|
1698
|
-
],
|
|
1699
|
-
urlParameters: [
|
|
1700
|
-
Parameters.$host,
|
|
1701
|
-
Parameters.subscriptionId1,
|
|
1702
|
-
Parameters.policyStatesSummaryResource
|
|
1703
|
-
],
|
|
1704
|
-
headerParameters: [Parameters.accept],
|
|
1705
|
-
serializer
|
|
1706
|
-
};
|
|
1707
|
-
const listQueryResultsForResourceGroupOperationSpec: coreClient.OperationSpec = {
|
|
1708
|
-
path:
|
|
1709
|
-
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.PolicyInsights/policyStates/{policyStatesResource}/queryResults",
|
|
1710
|
-
httpMethod: "POST",
|
|
1711
|
-
responses: {
|
|
1712
|
-
200: {
|
|
1713
|
-
bodyMapper: Mappers.PolicyStatesQueryResults
|
|
1714
|
-
},
|
|
1715
|
-
default: {
|
|
1716
|
-
bodyMapper: Mappers.QueryFailure
|
|
1717
|
-
}
|
|
1718
|
-
},
|
|
1719
|
-
queryParameters: [
|
|
1720
|
-
Parameters.top,
|
|
1721
|
-
Parameters.filter,
|
|
1722
|
-
Parameters.apiVersion2,
|
|
1723
|
-
Parameters.orderBy,
|
|
1724
|
-
Parameters.select,
|
|
1725
|
-
Parameters.from,
|
|
1726
|
-
Parameters.to,
|
|
1727
|
-
Parameters.apply,
|
|
1728
|
-
Parameters.skipToken
|
|
1729
|
-
],
|
|
1730
|
-
urlParameters: [
|
|
1731
|
-
Parameters.$host,
|
|
1732
|
-
Parameters.resourceGroupName,
|
|
1733
|
-
Parameters.subscriptionId1,
|
|
1734
|
-
Parameters.policyStatesResource
|
|
1735
|
-
],
|
|
1736
|
-
headerParameters: [Parameters.accept],
|
|
1737
|
-
serializer
|
|
1738
|
-
};
|
|
1739
|
-
const summarizeForResourceGroupOperationSpec: coreClient.OperationSpec = {
|
|
1740
|
-
path:
|
|
1741
|
-
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.PolicyInsights/policyStates/{policyStatesSummaryResource}/summarize",
|
|
1742
|
-
httpMethod: "POST",
|
|
1743
|
-
responses: {
|
|
1744
|
-
200: {
|
|
1745
|
-
bodyMapper: Mappers.SummarizeResults
|
|
1746
|
-
},
|
|
1747
|
-
default: {
|
|
1748
|
-
bodyMapper: Mappers.QueryFailure
|
|
1749
|
-
}
|
|
1750
|
-
},
|
|
1751
|
-
queryParameters: [
|
|
1752
|
-
Parameters.top,
|
|
1753
|
-
Parameters.filter,
|
|
1754
|
-
Parameters.apiVersion2,
|
|
1755
|
-
Parameters.from,
|
|
1756
|
-
Parameters.to
|
|
1757
|
-
],
|
|
1758
|
-
urlParameters: [
|
|
1759
|
-
Parameters.$host,
|
|
1760
|
-
Parameters.resourceGroupName,
|
|
1761
|
-
Parameters.subscriptionId1,
|
|
1762
|
-
Parameters.policyStatesSummaryResource
|
|
1763
|
-
],
|
|
1764
|
-
headerParameters: [Parameters.accept],
|
|
1765
|
-
serializer
|
|
1766
|
-
};
|
|
1767
|
-
const listQueryResultsForResourceOperationSpec: coreClient.OperationSpec = {
|
|
1768
|
-
path:
|
|
1769
|
-
"/{resourceId}/providers/Microsoft.PolicyInsights/policyStates/{policyStatesResource}/queryResults",
|
|
1770
|
-
httpMethod: "POST",
|
|
1771
|
-
responses: {
|
|
1772
|
-
200: {
|
|
1773
|
-
bodyMapper: Mappers.PolicyStatesQueryResults
|
|
1774
|
-
},
|
|
1775
|
-
default: {
|
|
1776
|
-
bodyMapper: Mappers.QueryFailure
|
|
1777
|
-
}
|
|
1778
|
-
},
|
|
1779
|
-
queryParameters: [
|
|
1780
|
-
Parameters.top,
|
|
1781
|
-
Parameters.filter,
|
|
1782
|
-
Parameters.apiVersion2,
|
|
1783
|
-
Parameters.orderBy,
|
|
1784
|
-
Parameters.select,
|
|
1785
|
-
Parameters.from,
|
|
1786
|
-
Parameters.to,
|
|
1787
|
-
Parameters.apply,
|
|
1788
|
-
Parameters.skipToken,
|
|
1789
|
-
Parameters.expand
|
|
1790
|
-
],
|
|
1791
|
-
urlParameters: [
|
|
1792
|
-
Parameters.$host,
|
|
1793
|
-
Parameters.resourceId,
|
|
1794
|
-
Parameters.policyStatesResource
|
|
1795
|
-
],
|
|
1796
|
-
headerParameters: [Parameters.accept],
|
|
1797
|
-
serializer
|
|
1798
|
-
};
|
|
1799
|
-
const summarizeForResourceOperationSpec: coreClient.OperationSpec = {
|
|
1800
|
-
path:
|
|
1801
|
-
"/{resourceId}/providers/Microsoft.PolicyInsights/policyStates/{policyStatesSummaryResource}/summarize",
|
|
1802
|
-
httpMethod: "POST",
|
|
1803
|
-
responses: {
|
|
1804
|
-
200: {
|
|
1805
|
-
bodyMapper: Mappers.SummarizeResults
|
|
1806
|
-
},
|
|
1807
|
-
default: {
|
|
1808
|
-
bodyMapper: Mappers.QueryFailure
|
|
1809
|
-
}
|
|
1810
|
-
},
|
|
1811
|
-
queryParameters: [
|
|
1812
|
-
Parameters.top,
|
|
1813
|
-
Parameters.filter,
|
|
1814
|
-
Parameters.apiVersion2,
|
|
1815
|
-
Parameters.from,
|
|
1816
|
-
Parameters.to
|
|
1817
|
-
],
|
|
1818
|
-
urlParameters: [
|
|
1819
|
-
Parameters.$host,
|
|
1820
|
-
Parameters.resourceId,
|
|
1821
|
-
Parameters.policyStatesSummaryResource
|
|
1822
|
-
],
|
|
1823
|
-
headerParameters: [Parameters.accept],
|
|
1824
|
-
serializer
|
|
1825
|
-
};
|
|
1826
|
-
const triggerSubscriptionEvaluationOperationSpec: coreClient.OperationSpec = {
|
|
1827
|
-
path:
|
|
1828
|
-
"/subscriptions/{subscriptionId}/providers/Microsoft.PolicyInsights/policyStates/latest/triggerEvaluation",
|
|
1829
|
-
httpMethod: "POST",
|
|
1830
|
-
responses: {
|
|
1831
|
-
200: {},
|
|
1832
|
-
201: {},
|
|
1833
|
-
202: {},
|
|
1834
|
-
204: {},
|
|
1835
|
-
default: {
|
|
1836
|
-
bodyMapper: Mappers.QueryFailure
|
|
1837
|
-
}
|
|
1838
|
-
},
|
|
1839
|
-
queryParameters: [Parameters.apiVersion2],
|
|
1840
|
-
urlParameters: [Parameters.$host, Parameters.subscriptionId1],
|
|
1841
|
-
headerParameters: [Parameters.accept],
|
|
1842
|
-
serializer
|
|
1843
|
-
};
|
|
1844
|
-
const triggerResourceGroupEvaluationOperationSpec: coreClient.OperationSpec = {
|
|
1845
|
-
path:
|
|
1846
|
-
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.PolicyInsights/policyStates/latest/triggerEvaluation",
|
|
1847
|
-
httpMethod: "POST",
|
|
1848
|
-
responses: {
|
|
1849
|
-
200: {},
|
|
1850
|
-
201: {},
|
|
1851
|
-
202: {},
|
|
1852
|
-
204: {},
|
|
1853
|
-
default: {
|
|
1854
|
-
bodyMapper: Mappers.QueryFailure
|
|
1855
|
-
}
|
|
1856
|
-
},
|
|
1857
|
-
queryParameters: [Parameters.apiVersion2],
|
|
1858
|
-
urlParameters: [
|
|
1859
|
-
Parameters.$host,
|
|
1860
|
-
Parameters.resourceGroupName,
|
|
1861
|
-
Parameters.subscriptionId1
|
|
1862
|
-
],
|
|
1863
|
-
headerParameters: [Parameters.accept],
|
|
1864
|
-
serializer
|
|
1865
|
-
};
|
|
1866
|
-
const listQueryResultsForPolicySetDefinitionOperationSpec: coreClient.OperationSpec = {
|
|
1867
|
-
path:
|
|
1868
|
-
"/subscriptions/{subscriptionId}/providers/{authorizationNamespace}/policySetDefinitions/{policySetDefinitionName}/providers/Microsoft.PolicyInsights/policyStates/{policyStatesResource}/queryResults",
|
|
1869
|
-
httpMethod: "POST",
|
|
1870
|
-
responses: {
|
|
1871
|
-
200: {
|
|
1872
|
-
bodyMapper: Mappers.PolicyStatesQueryResults
|
|
1873
|
-
},
|
|
1874
|
-
default: {
|
|
1875
|
-
bodyMapper: Mappers.QueryFailure
|
|
1876
|
-
}
|
|
1877
|
-
},
|
|
1878
|
-
queryParameters: [
|
|
1879
|
-
Parameters.top,
|
|
1880
|
-
Parameters.filter,
|
|
1881
|
-
Parameters.apiVersion2,
|
|
1882
|
-
Parameters.orderBy,
|
|
1883
|
-
Parameters.select,
|
|
1884
|
-
Parameters.from,
|
|
1885
|
-
Parameters.to,
|
|
1886
|
-
Parameters.apply,
|
|
1887
|
-
Parameters.skipToken
|
|
1888
|
-
],
|
|
1889
|
-
urlParameters: [
|
|
1890
|
-
Parameters.$host,
|
|
1891
|
-
Parameters.subscriptionId1,
|
|
1892
|
-
Parameters.authorizationNamespace,
|
|
1893
|
-
Parameters.policySetDefinitionName,
|
|
1894
|
-
Parameters.policyStatesResource
|
|
1895
|
-
],
|
|
1896
|
-
headerParameters: [Parameters.accept],
|
|
1897
|
-
serializer
|
|
1898
|
-
};
|
|
1899
|
-
const summarizeForPolicySetDefinitionOperationSpec: coreClient.OperationSpec = {
|
|
1900
|
-
path:
|
|
1901
|
-
"/subscriptions/{subscriptionId}/providers/{authorizationNamespace}/policySetDefinitions/{policySetDefinitionName}/providers/Microsoft.PolicyInsights/policyStates/{policyStatesSummaryResource}/summarize",
|
|
1902
|
-
httpMethod: "POST",
|
|
1903
|
-
responses: {
|
|
1904
|
-
200: {
|
|
1905
|
-
bodyMapper: Mappers.SummarizeResults
|
|
1906
|
-
},
|
|
1907
|
-
default: {
|
|
1908
|
-
bodyMapper: Mappers.QueryFailure
|
|
1909
|
-
}
|
|
1910
|
-
},
|
|
1911
|
-
queryParameters: [
|
|
1912
|
-
Parameters.top,
|
|
1913
|
-
Parameters.filter,
|
|
1914
|
-
Parameters.apiVersion2,
|
|
1915
|
-
Parameters.from,
|
|
1916
|
-
Parameters.to
|
|
1917
|
-
],
|
|
1918
|
-
urlParameters: [
|
|
1919
|
-
Parameters.$host,
|
|
1920
|
-
Parameters.subscriptionId1,
|
|
1921
|
-
Parameters.authorizationNamespace,
|
|
1922
|
-
Parameters.policySetDefinitionName,
|
|
1923
|
-
Parameters.policyStatesSummaryResource
|
|
1924
|
-
],
|
|
1925
|
-
headerParameters: [Parameters.accept],
|
|
1926
|
-
serializer
|
|
1927
|
-
};
|
|
1928
|
-
const listQueryResultsForPolicyDefinitionOperationSpec: coreClient.OperationSpec = {
|
|
1929
|
-
path:
|
|
1930
|
-
"/subscriptions/{subscriptionId}/providers/{authorizationNamespace}/policyDefinitions/{policyDefinitionName}/providers/Microsoft.PolicyInsights/policyStates/{policyStatesResource}/queryResults",
|
|
1931
|
-
httpMethod: "POST",
|
|
1932
|
-
responses: {
|
|
1933
|
-
200: {
|
|
1934
|
-
bodyMapper: Mappers.PolicyStatesQueryResults
|
|
1935
|
-
},
|
|
1936
|
-
default: {
|
|
1937
|
-
bodyMapper: Mappers.QueryFailure
|
|
1938
|
-
}
|
|
1939
|
-
},
|
|
1940
|
-
queryParameters: [
|
|
1941
|
-
Parameters.top,
|
|
1942
|
-
Parameters.filter,
|
|
1943
|
-
Parameters.apiVersion2,
|
|
1944
|
-
Parameters.orderBy,
|
|
1945
|
-
Parameters.select,
|
|
1946
|
-
Parameters.from,
|
|
1947
|
-
Parameters.to,
|
|
1948
|
-
Parameters.apply,
|
|
1949
|
-
Parameters.skipToken
|
|
1950
|
-
],
|
|
1951
|
-
urlParameters: [
|
|
1952
|
-
Parameters.$host,
|
|
1953
|
-
Parameters.subscriptionId1,
|
|
1954
|
-
Parameters.authorizationNamespace,
|
|
1955
|
-
Parameters.policyDefinitionName,
|
|
1956
|
-
Parameters.policyStatesResource
|
|
1957
|
-
],
|
|
1958
|
-
headerParameters: [Parameters.accept],
|
|
1959
|
-
serializer
|
|
1960
|
-
};
|
|
1961
|
-
const summarizeForPolicyDefinitionOperationSpec: coreClient.OperationSpec = {
|
|
1962
|
-
path:
|
|
1963
|
-
"/subscriptions/{subscriptionId}/providers/{authorizationNamespace}/policyDefinitions/{policyDefinitionName}/providers/Microsoft.PolicyInsights/policyStates/{policyStatesSummaryResource}/summarize",
|
|
1964
|
-
httpMethod: "POST",
|
|
1965
|
-
responses: {
|
|
1966
|
-
200: {
|
|
1967
|
-
bodyMapper: Mappers.SummarizeResults
|
|
1968
|
-
},
|
|
1969
|
-
default: {
|
|
1970
|
-
bodyMapper: Mappers.QueryFailure
|
|
1971
|
-
}
|
|
1972
|
-
},
|
|
1973
|
-
queryParameters: [
|
|
1974
|
-
Parameters.top,
|
|
1975
|
-
Parameters.filter,
|
|
1976
|
-
Parameters.apiVersion2,
|
|
1977
|
-
Parameters.from,
|
|
1978
|
-
Parameters.to
|
|
1979
|
-
],
|
|
1980
|
-
urlParameters: [
|
|
1981
|
-
Parameters.$host,
|
|
1982
|
-
Parameters.subscriptionId1,
|
|
1983
|
-
Parameters.authorizationNamespace,
|
|
1984
|
-
Parameters.policyDefinitionName,
|
|
1985
|
-
Parameters.policyStatesSummaryResource
|
|
1986
|
-
],
|
|
1987
|
-
headerParameters: [Parameters.accept],
|
|
1988
|
-
serializer
|
|
1989
|
-
};
|
|
1990
|
-
const listQueryResultsForSubscriptionLevelPolicyAssignmentOperationSpec: coreClient.OperationSpec = {
|
|
1991
|
-
path:
|
|
1992
|
-
"/subscriptions/{subscriptionId}/providers/{authorizationNamespace}/policyAssignments/{policyAssignmentName}/providers/Microsoft.PolicyInsights/policyStates/{policyStatesResource}/queryResults",
|
|
1993
|
-
httpMethod: "POST",
|
|
1994
|
-
responses: {
|
|
1995
|
-
200: {
|
|
1996
|
-
bodyMapper: Mappers.PolicyStatesQueryResults
|
|
1997
|
-
},
|
|
1998
|
-
default: {
|
|
1999
|
-
bodyMapper: Mappers.QueryFailure
|
|
2000
|
-
}
|
|
2001
|
-
},
|
|
2002
|
-
queryParameters: [
|
|
2003
|
-
Parameters.top,
|
|
2004
|
-
Parameters.filter,
|
|
2005
|
-
Parameters.apiVersion2,
|
|
2006
|
-
Parameters.orderBy,
|
|
2007
|
-
Parameters.select,
|
|
2008
|
-
Parameters.from,
|
|
2009
|
-
Parameters.to,
|
|
2010
|
-
Parameters.apply,
|
|
2011
|
-
Parameters.skipToken
|
|
2012
|
-
],
|
|
2013
|
-
urlParameters: [
|
|
2014
|
-
Parameters.$host,
|
|
2015
|
-
Parameters.subscriptionId1,
|
|
2016
|
-
Parameters.authorizationNamespace,
|
|
2017
|
-
Parameters.policyAssignmentName,
|
|
2018
|
-
Parameters.policyStatesResource
|
|
2019
|
-
],
|
|
2020
|
-
headerParameters: [Parameters.accept],
|
|
2021
|
-
serializer
|
|
2022
|
-
};
|
|
2023
|
-
const summarizeForSubscriptionLevelPolicyAssignmentOperationSpec: coreClient.OperationSpec = {
|
|
2024
|
-
path:
|
|
2025
|
-
"/subscriptions/{subscriptionId}/providers/{authorizationNamespace}/policyAssignments/{policyAssignmentName}/providers/Microsoft.PolicyInsights/policyStates/{policyStatesSummaryResource}/summarize",
|
|
2026
|
-
httpMethod: "POST",
|
|
2027
|
-
responses: {
|
|
2028
|
-
200: {
|
|
2029
|
-
bodyMapper: Mappers.SummarizeResults
|
|
2030
|
-
},
|
|
2031
|
-
default: {
|
|
2032
|
-
bodyMapper: Mappers.QueryFailure
|
|
2033
|
-
}
|
|
2034
|
-
},
|
|
2035
|
-
queryParameters: [
|
|
2036
|
-
Parameters.top,
|
|
2037
|
-
Parameters.filter,
|
|
2038
|
-
Parameters.apiVersion2,
|
|
2039
|
-
Parameters.from,
|
|
2040
|
-
Parameters.to
|
|
2041
|
-
],
|
|
2042
|
-
urlParameters: [
|
|
2043
|
-
Parameters.$host,
|
|
2044
|
-
Parameters.subscriptionId1,
|
|
2045
|
-
Parameters.authorizationNamespace,
|
|
2046
|
-
Parameters.policyAssignmentName,
|
|
2047
|
-
Parameters.policyStatesSummaryResource
|
|
2048
|
-
],
|
|
2049
|
-
headerParameters: [Parameters.accept],
|
|
2050
|
-
serializer
|
|
2051
|
-
};
|
|
2052
|
-
const listQueryResultsForResourceGroupLevelPolicyAssignmentOperationSpec: coreClient.OperationSpec = {
|
|
2053
|
-
path:
|
|
2054
|
-
"/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/{authorizationNamespace}/policyAssignments/{policyAssignmentName}/providers/Microsoft.PolicyInsights/policyStates/{policyStatesResource}/queryResults",
|
|
2055
|
-
httpMethod: "POST",
|
|
2056
|
-
responses: {
|
|
2057
|
-
200: {
|
|
2058
|
-
bodyMapper: Mappers.PolicyStatesQueryResults
|
|
2059
|
-
},
|
|
2060
|
-
default: {
|
|
2061
|
-
bodyMapper: Mappers.QueryFailure
|
|
2062
|
-
}
|
|
2063
|
-
},
|
|
2064
|
-
queryParameters: [
|
|
2065
|
-
Parameters.top,
|
|
2066
|
-
Parameters.filter,
|
|
2067
|
-
Parameters.apiVersion2,
|
|
2068
|
-
Parameters.orderBy,
|
|
2069
|
-
Parameters.select,
|
|
2070
|
-
Parameters.from,
|
|
2071
|
-
Parameters.to,
|
|
2072
|
-
Parameters.apply,
|
|
2073
|
-
Parameters.skipToken
|
|
2074
|
-
],
|
|
2075
|
-
urlParameters: [
|
|
2076
|
-
Parameters.$host,
|
|
2077
|
-
Parameters.resourceGroupName,
|
|
2078
|
-
Parameters.subscriptionId1,
|
|
2079
|
-
Parameters.authorizationNamespace,
|
|
2080
|
-
Parameters.policyAssignmentName,
|
|
2081
|
-
Parameters.policyStatesResource
|
|
2082
|
-
],
|
|
2083
|
-
headerParameters: [Parameters.accept],
|
|
2084
|
-
serializer
|
|
2085
|
-
};
|
|
2086
|
-
const summarizeForResourceGroupLevelPolicyAssignmentOperationSpec: coreClient.OperationSpec = {
|
|
2087
|
-
path:
|
|
2088
|
-
"/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/{authorizationNamespace}/policyAssignments/{policyAssignmentName}/providers/Microsoft.PolicyInsights/policyStates/{policyStatesSummaryResource}/summarize",
|
|
2089
|
-
httpMethod: "POST",
|
|
2090
|
-
responses: {
|
|
2091
|
-
200: {
|
|
2092
|
-
bodyMapper: Mappers.SummarizeResults
|
|
2093
|
-
},
|
|
2094
|
-
default: {
|
|
2095
|
-
bodyMapper: Mappers.QueryFailure
|
|
2096
|
-
}
|
|
2097
|
-
},
|
|
2098
|
-
queryParameters: [
|
|
2099
|
-
Parameters.top,
|
|
2100
|
-
Parameters.filter,
|
|
2101
|
-
Parameters.apiVersion2,
|
|
2102
|
-
Parameters.from,
|
|
2103
|
-
Parameters.to
|
|
2104
|
-
],
|
|
2105
|
-
urlParameters: [
|
|
2106
|
-
Parameters.$host,
|
|
2107
|
-
Parameters.resourceGroupName,
|
|
2108
|
-
Parameters.subscriptionId1,
|
|
2109
|
-
Parameters.authorizationNamespace,
|
|
2110
|
-
Parameters.policyAssignmentName,
|
|
2111
|
-
Parameters.policyStatesSummaryResource
|
|
2112
|
-
],
|
|
2113
|
-
headerParameters: [Parameters.accept],
|
|
2114
|
-
serializer
|
|
2115
|
-
};
|
|
2116
|
-
const listQueryResultsForManagementGroupNextOperationSpec: coreClient.OperationSpec = {
|
|
2117
|
-
path: "{nextLink}",
|
|
2118
|
-
httpMethod: "GET",
|
|
2119
|
-
responses: {
|
|
2120
|
-
200: {
|
|
2121
|
-
bodyMapper: Mappers.PolicyStatesQueryResults
|
|
2122
|
-
},
|
|
2123
|
-
default: {
|
|
2124
|
-
bodyMapper: Mappers.QueryFailure
|
|
2125
|
-
}
|
|
2126
|
-
},
|
|
2127
|
-
urlParameters: [
|
|
2128
|
-
Parameters.$host,
|
|
2129
|
-
Parameters.managementGroupsNamespace,
|
|
2130
|
-
Parameters.managementGroupName,
|
|
2131
|
-
Parameters.nextLink,
|
|
2132
|
-
Parameters.policyStatesResource
|
|
2133
|
-
],
|
|
2134
|
-
headerParameters: [Parameters.accept],
|
|
2135
|
-
serializer
|
|
2136
|
-
};
|
|
2137
|
-
const listQueryResultsForSubscriptionNextOperationSpec: coreClient.OperationSpec = {
|
|
2138
|
-
path: "{nextLink}",
|
|
2139
|
-
httpMethod: "GET",
|
|
2140
|
-
responses: {
|
|
2141
|
-
200: {
|
|
2142
|
-
bodyMapper: Mappers.PolicyStatesQueryResults
|
|
2143
|
-
},
|
|
2144
|
-
default: {
|
|
2145
|
-
bodyMapper: Mappers.QueryFailure
|
|
2146
|
-
}
|
|
2147
|
-
},
|
|
2148
|
-
urlParameters: [
|
|
2149
|
-
Parameters.$host,
|
|
2150
|
-
Parameters.nextLink,
|
|
2151
|
-
Parameters.subscriptionId1,
|
|
2152
|
-
Parameters.policyStatesResource
|
|
2153
|
-
],
|
|
2154
|
-
headerParameters: [Parameters.accept],
|
|
2155
|
-
serializer
|
|
2156
|
-
};
|
|
2157
|
-
const listQueryResultsForResourceGroupNextOperationSpec: coreClient.OperationSpec = {
|
|
2158
|
-
path: "{nextLink}",
|
|
2159
|
-
httpMethod: "GET",
|
|
2160
|
-
responses: {
|
|
2161
|
-
200: {
|
|
2162
|
-
bodyMapper: Mappers.PolicyStatesQueryResults
|
|
2163
|
-
},
|
|
2164
|
-
default: {
|
|
2165
|
-
bodyMapper: Mappers.QueryFailure
|
|
2166
|
-
}
|
|
2167
|
-
},
|
|
2168
|
-
urlParameters: [
|
|
2169
|
-
Parameters.$host,
|
|
2170
|
-
Parameters.resourceGroupName,
|
|
2171
|
-
Parameters.nextLink,
|
|
2172
|
-
Parameters.subscriptionId1,
|
|
2173
|
-
Parameters.policyStatesResource
|
|
2174
|
-
],
|
|
2175
|
-
headerParameters: [Parameters.accept],
|
|
2176
|
-
serializer
|
|
2177
|
-
};
|
|
2178
|
-
const listQueryResultsForResourceNextOperationSpec: coreClient.OperationSpec = {
|
|
2179
|
-
path: "{nextLink}",
|
|
2180
|
-
httpMethod: "GET",
|
|
2181
|
-
responses: {
|
|
2182
|
-
200: {
|
|
2183
|
-
bodyMapper: Mappers.PolicyStatesQueryResults
|
|
2184
|
-
},
|
|
2185
|
-
default: {
|
|
2186
|
-
bodyMapper: Mappers.QueryFailure
|
|
2187
|
-
}
|
|
2188
|
-
},
|
|
2189
|
-
urlParameters: [
|
|
2190
|
-
Parameters.$host,
|
|
2191
|
-
Parameters.resourceId,
|
|
2192
|
-
Parameters.nextLink,
|
|
2193
|
-
Parameters.policyStatesResource
|
|
2194
|
-
],
|
|
2195
|
-
headerParameters: [Parameters.accept],
|
|
2196
|
-
serializer
|
|
2197
|
-
};
|
|
2198
|
-
const listQueryResultsForPolicySetDefinitionNextOperationSpec: coreClient.OperationSpec = {
|
|
2199
|
-
path: "{nextLink}",
|
|
2200
|
-
httpMethod: "GET",
|
|
2201
|
-
responses: {
|
|
2202
|
-
200: {
|
|
2203
|
-
bodyMapper: Mappers.PolicyStatesQueryResults
|
|
2204
|
-
},
|
|
2205
|
-
default: {
|
|
2206
|
-
bodyMapper: Mappers.QueryFailure
|
|
2207
|
-
}
|
|
2208
|
-
},
|
|
2209
|
-
urlParameters: [
|
|
2210
|
-
Parameters.$host,
|
|
2211
|
-
Parameters.nextLink,
|
|
2212
|
-
Parameters.subscriptionId1,
|
|
2213
|
-
Parameters.authorizationNamespace,
|
|
2214
|
-
Parameters.policySetDefinitionName,
|
|
2215
|
-
Parameters.policyStatesResource
|
|
2216
|
-
],
|
|
2217
|
-
headerParameters: [Parameters.accept],
|
|
2218
|
-
serializer
|
|
2219
|
-
};
|
|
2220
|
-
const listQueryResultsForPolicyDefinitionNextOperationSpec: coreClient.OperationSpec = {
|
|
2221
|
-
path: "{nextLink}",
|
|
2222
|
-
httpMethod: "GET",
|
|
2223
|
-
responses: {
|
|
2224
|
-
200: {
|
|
2225
|
-
bodyMapper: Mappers.PolicyStatesQueryResults
|
|
2226
|
-
},
|
|
2227
|
-
default: {
|
|
2228
|
-
bodyMapper: Mappers.QueryFailure
|
|
2229
|
-
}
|
|
2230
|
-
},
|
|
2231
|
-
urlParameters: [
|
|
2232
|
-
Parameters.$host,
|
|
2233
|
-
Parameters.nextLink,
|
|
2234
|
-
Parameters.subscriptionId1,
|
|
2235
|
-
Parameters.authorizationNamespace,
|
|
2236
|
-
Parameters.policyDefinitionName,
|
|
2237
|
-
Parameters.policyStatesResource
|
|
2238
|
-
],
|
|
2239
|
-
headerParameters: [Parameters.accept],
|
|
2240
|
-
serializer
|
|
2241
|
-
};
|
|
2242
|
-
const listQueryResultsForSubscriptionLevelPolicyAssignmentNextOperationSpec: coreClient.OperationSpec = {
|
|
2243
|
-
path: "{nextLink}",
|
|
2244
|
-
httpMethod: "GET",
|
|
2245
|
-
responses: {
|
|
2246
|
-
200: {
|
|
2247
|
-
bodyMapper: Mappers.PolicyStatesQueryResults
|
|
2248
|
-
},
|
|
2249
|
-
default: {
|
|
2250
|
-
bodyMapper: Mappers.QueryFailure
|
|
2251
|
-
}
|
|
2252
|
-
},
|
|
2253
|
-
urlParameters: [
|
|
2254
|
-
Parameters.$host,
|
|
2255
|
-
Parameters.nextLink,
|
|
2256
|
-
Parameters.subscriptionId1,
|
|
2257
|
-
Parameters.authorizationNamespace,
|
|
2258
|
-
Parameters.policyAssignmentName,
|
|
2259
|
-
Parameters.policyStatesResource
|
|
2260
|
-
],
|
|
2261
|
-
headerParameters: [Parameters.accept],
|
|
2262
|
-
serializer
|
|
2263
|
-
};
|
|
2264
|
-
const listQueryResultsForResourceGroupLevelPolicyAssignmentNextOperationSpec: coreClient.OperationSpec = {
|
|
2265
|
-
path: "{nextLink}",
|
|
2266
|
-
httpMethod: "GET",
|
|
2267
|
-
responses: {
|
|
2268
|
-
200: {
|
|
2269
|
-
bodyMapper: Mappers.PolicyStatesQueryResults
|
|
2270
|
-
},
|
|
2271
|
-
default: {
|
|
2272
|
-
bodyMapper: Mappers.QueryFailure
|
|
2273
|
-
}
|
|
2274
|
-
},
|
|
2275
|
-
urlParameters: [
|
|
2276
|
-
Parameters.$host,
|
|
2277
|
-
Parameters.resourceGroupName,
|
|
2278
|
-
Parameters.nextLink,
|
|
2279
|
-
Parameters.subscriptionId1,
|
|
2280
|
-
Parameters.authorizationNamespace,
|
|
2281
|
-
Parameters.policyAssignmentName,
|
|
2282
|
-
Parameters.policyStatesResource
|
|
2283
|
-
],
|
|
2284
|
-
headerParameters: [Parameters.accept],
|
|
2285
|
-
serializer
|
|
2286
|
-
};
|