@azure/arm-appcomplianceautomation 1.0.1-alpha.20250102.1 → 1.0.1-alpha.20250106.1
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/{dist-esm/src → dist/browser}/appComplianceAutomationToolForMicrosoft365.d.ts +2 -2
- package/dist/browser/appComplianceAutomationToolForMicrosoft365.d.ts.map +1 -0
- package/{dist-esm/src → dist/browser}/appComplianceAutomationToolForMicrosoft365.js +15 -18
- package/dist/browser/appComplianceAutomationToolForMicrosoft365.js.map +1 -0
- package/dist/browser/index.d.ts +5 -0
- package/{dist-esm/src → dist/browser}/index.d.ts.map +1 -1
- package/{dist-esm/src → dist/browser}/index.js +4 -4
- package/dist/browser/index.js.map +1 -0
- package/dist/browser/lroImpl.js.map +1 -0
- package/dist/browser/models/index.js.map +1 -0
- package/dist/browser/models/mappers.js.map +1 -0
- package/{dist-esm/src → dist/browser}/models/parameters.js +1 -1
- package/dist/browser/models/parameters.js.map +1 -0
- package/{dist-esm/src → dist/browser}/operations/evidence.d.ts +3 -3
- package/dist/browser/operations/evidence.d.ts.map +1 -0
- package/{dist-esm/src → dist/browser}/operations/evidence.js +3 -3
- package/dist/browser/operations/evidence.js.map +1 -0
- package/dist/browser/operations/index.d.ts +8 -0
- package/dist/browser/operations/index.d.ts.map +1 -0
- package/dist/browser/operations/index.js +15 -0
- package/dist/browser/operations/index.js.map +1 -0
- package/{dist-esm/src → dist/browser}/operations/operations.d.ts +3 -3
- package/dist/browser/operations/operations.d.ts.map +1 -0
- package/{dist-esm/src → dist/browser}/operations/operations.js +3 -3
- package/dist/browser/operations/operations.js.map +1 -0
- package/{dist-esm/src → dist/browser}/operations/providerActions.d.ts +3 -3
- package/dist/browser/operations/providerActions.d.ts.map +1 -0
- package/{dist-esm/src → dist/browser}/operations/providerActions.js +77 -86
- package/dist/browser/operations/providerActions.js.map +1 -0
- package/{dist-esm/src → dist/browser}/operations/report.d.ts +3 -3
- package/dist/browser/operations/report.d.ts.map +1 -0
- package/{dist-esm/src → dist/browser}/operations/report.js +227 -251
- package/dist/browser/operations/report.js.map +1 -0
- package/{dist-esm/src → dist/browser}/operations/scopingConfiguration.d.ts +3 -3
- package/dist/browser/operations/scopingConfiguration.d.ts.map +1 -0
- package/{dist-esm/src → dist/browser}/operations/scopingConfiguration.js +3 -3
- package/dist/browser/operations/scopingConfiguration.js.map +1 -0
- package/{dist-esm/src → dist/browser}/operations/snapshot.d.ts +3 -3
- package/dist/browser/operations/snapshot.d.ts.map +1 -0
- package/{dist-esm/src → dist/browser}/operations/snapshot.js +42 -46
- package/dist/browser/operations/snapshot.js.map +1 -0
- package/{dist-esm/src → dist/browser}/operations/webhook.d.ts +3 -3
- package/dist/browser/operations/webhook.d.ts.map +1 -0
- package/{dist-esm/src → dist/browser}/operations/webhook.js +3 -3
- package/dist/browser/operations/webhook.js.map +1 -0
- package/{dist-esm/src → dist/browser}/operationsInterfaces/evidence.d.ts +1 -1
- package/dist/browser/operationsInterfaces/evidence.d.ts.map +1 -0
- package/dist/browser/operationsInterfaces/evidence.js.map +1 -0
- package/dist/browser/operationsInterfaces/index.d.ts +8 -0
- package/dist/browser/operationsInterfaces/index.d.ts.map +1 -0
- package/dist/browser/operationsInterfaces/index.js +15 -0
- package/dist/browser/operationsInterfaces/index.js.map +1 -0
- package/{dist-esm/src → dist/browser}/operationsInterfaces/operations.d.ts +1 -1
- package/{dist-esm/src → dist/browser}/operationsInterfaces/operations.d.ts.map +1 -1
- package/dist/browser/operationsInterfaces/operations.js.map +1 -0
- package/{dist-esm/src → dist/browser}/operationsInterfaces/providerActions.d.ts +1 -1
- package/dist/browser/operationsInterfaces/providerActions.d.ts.map +1 -0
- package/dist/browser/operationsInterfaces/providerActions.js.map +1 -0
- package/{dist-esm/src → dist/browser}/operationsInterfaces/report.d.ts +1 -1
- package/dist/browser/operationsInterfaces/report.d.ts.map +1 -0
- package/dist/browser/operationsInterfaces/report.js.map +1 -0
- package/{dist-esm/src → dist/browser}/operationsInterfaces/scopingConfiguration.d.ts +1 -1
- package/dist/browser/operationsInterfaces/scopingConfiguration.d.ts.map +1 -0
- package/dist/browser/operationsInterfaces/scopingConfiguration.js.map +1 -0
- package/{dist-esm/src → dist/browser}/operationsInterfaces/snapshot.d.ts +1 -1
- package/dist/browser/operationsInterfaces/snapshot.d.ts.map +1 -0
- package/dist/browser/operationsInterfaces/snapshot.js.map +1 -0
- package/{dist-esm/src → dist/browser}/operationsInterfaces/webhook.d.ts +1 -1
- package/dist/browser/operationsInterfaces/webhook.d.ts.map +1 -0
- package/dist/browser/operationsInterfaces/webhook.js.map +1 -0
- package/dist/browser/package.json +3 -0
- package/dist/browser/pagingHelper.js.map +1 -0
- package/dist/commonjs/appComplianceAutomationToolForMicrosoft365.d.ts +24 -0
- package/dist/commonjs/appComplianceAutomationToolForMicrosoft365.d.ts.map +1 -0
- package/dist/commonjs/appComplianceAutomationToolForMicrosoft365.js +102 -0
- package/dist/commonjs/appComplianceAutomationToolForMicrosoft365.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/{types/arm-appcomplianceautomation.d.ts → dist/commonjs/models/index.d.ts} +2108 -2676
- package/dist/commonjs/models/index.d.ts.map +1 -0
- package/dist/commonjs/models/index.js +357 -0
- package/dist/commonjs/models/index.js.map +1 -0
- package/dist/commonjs/models/mappers.d.ts +83 -0
- package/dist/commonjs/models/mappers.d.ts.map +1 -0
- package/dist/commonjs/models/mappers.js +2601 -0
- package/dist/commonjs/models/mappers.js.map +1 -0
- package/dist/commonjs/models/parameters.d.ts +34 -0
- package/dist/commonjs/models/parameters.d.ts.map +1 -0
- package/dist/commonjs/models/parameters.js +274 -0
- package/dist/commonjs/models/parameters.js.map +1 -0
- package/dist/commonjs/operations/evidence.d.ts +65 -0
- package/dist/commonjs/operations/evidence.d.ts.map +1 -0
- package/dist/commonjs/operations/evidence.js +277 -0
- package/dist/commonjs/operations/evidence.js.map +1 -0
- package/dist/commonjs/operations/index.d.ts +8 -0
- package/dist/commonjs/operations/index.d.ts.map +1 -0
- package/dist/commonjs/operations/index.js +18 -0
- package/dist/commonjs/operations/index.js.map +1 -0
- package/dist/commonjs/operations/operations.d.ts +32 -0
- package/dist/commonjs/operations/operations.d.ts.map +1 -0
- package/dist/commonjs/operations/operations.js +137 -0
- package/dist/commonjs/operations/operations.js.map +1 -0
- package/dist/commonjs/operations/providerActions.d.ts +62 -0
- package/dist/commonjs/operations/providerActions.d.ts.map +1 -0
- package/dist/commonjs/operations/providerActions.js +288 -0
- package/dist/commonjs/operations/providerActions.js.map +1 -0
- package/dist/commonjs/operations/report.d.ts +133 -0
- package/dist/commonjs/operations/report.d.ts.map +1 -0
- package/dist/commonjs/operations/report.js +688 -0
- package/dist/commonjs/operations/report.js.map +1 -0
- package/dist/commonjs/operations/scopingConfiguration.d.ts +58 -0
- package/dist/commonjs/operations/scopingConfiguration.d.ts.map +1 -0
- package/dist/commonjs/operations/scopingConfiguration.js +233 -0
- package/dist/commonjs/operations/scopingConfiguration.js.map +1 -0
- package/dist/commonjs/operations/snapshot.d.ts +59 -0
- package/dist/commonjs/operations/snapshot.d.ts.map +1 -0
- package/dist/commonjs/operations/snapshot.js +265 -0
- package/dist/commonjs/operations/snapshot.js.map +1 -0
- package/dist/commonjs/operations/webhook.d.ts +65 -0
- package/dist/commonjs/operations/webhook.d.ts.map +1 -0
- package/dist/commonjs/operations/webhook.js +273 -0
- package/dist/commonjs/operations/webhook.js.map +1 -0
- package/dist/commonjs/operationsInterfaces/evidence.d.ts +42 -0
- package/dist/commonjs/operationsInterfaces/evidence.d.ts.map +1 -0
- package/dist/commonjs/operationsInterfaces/evidence.js +10 -0
- package/dist/commonjs/operationsInterfaces/evidence.js.map +1 -0
- package/dist/commonjs/operationsInterfaces/index.d.ts +8 -0
- package/dist/commonjs/operationsInterfaces/index.d.ts.map +1 -0
- package/dist/commonjs/operationsInterfaces/index.js +18 -0
- package/dist/commonjs/operationsInterfaces/index.js.map +1 -0
- package/dist/commonjs/operationsInterfaces/operations.d.ts +11 -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/providerActions.d.ts +54 -0
- package/dist/commonjs/operationsInterfaces/providerActions.d.ts.map +1 -0
- package/dist/commonjs/operationsInterfaces/providerActions.js +10 -0
- package/dist/commonjs/operationsInterfaces/providerActions.js.map +1 -0
- package/dist/commonjs/operationsInterfaces/report.d.ts +112 -0
- package/dist/commonjs/operationsInterfaces/report.d.ts.map +1 -0
- package/dist/commonjs/operationsInterfaces/report.js +10 -0
- package/dist/commonjs/operationsInterfaces/report.js.map +1 -0
- package/dist/commonjs/operationsInterfaces/scopingConfiguration.d.ts +35 -0
- package/dist/commonjs/operationsInterfaces/scopingConfiguration.d.ts.map +1 -0
- package/dist/commonjs/operationsInterfaces/scopingConfiguration.js +10 -0
- package/dist/commonjs/operationsInterfaces/scopingConfiguration.js.map +1 -0
- package/dist/commonjs/operationsInterfaces/snapshot.d.ts +36 -0
- package/dist/commonjs/operationsInterfaces/snapshot.d.ts.map +1 -0
- package/dist/commonjs/operationsInterfaces/snapshot.js +10 -0
- package/dist/commonjs/operationsInterfaces/snapshot.js.map +1 -0
- package/dist/commonjs/operationsInterfaces/webhook.d.ts +42 -0
- package/dist/commonjs/operationsInterfaces/webhook.d.ts.map +1 -0
- package/dist/commonjs/operationsInterfaces/webhook.js +10 -0
- package/dist/commonjs/operationsInterfaces/webhook.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/esm/appComplianceAutomationToolForMicrosoft365.d.ts +24 -0
- package/dist/esm/appComplianceAutomationToolForMicrosoft365.d.ts.map +1 -0
- package/dist/esm/appComplianceAutomationToolForMicrosoft365.js +97 -0
- package/dist/esm/appComplianceAutomationToolForMicrosoft365.js.map +1 -0
- package/dist/esm/index.d.ts +5 -0
- package/dist/esm/index.d.ts.map +1 -0
- package/{src/index.ts → dist/esm/index.js} +5 -5
- 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 +2108 -0
- package/dist/esm/models/index.d.ts.map +1 -0
- package/dist/esm/models/index.js +354 -0
- package/dist/esm/models/index.js.map +1 -0
- package/dist/esm/models/mappers.d.ts +83 -0
- package/dist/esm/models/mappers.d.ts.map +1 -0
- package/dist/esm/models/mappers.js +2597 -0
- package/dist/esm/models/mappers.js.map +1 -0
- package/dist/esm/models/parameters.d.ts +34 -0
- package/dist/esm/models/parameters.d.ts.map +1 -0
- package/dist/esm/models/parameters.js +271 -0
- package/dist/esm/models/parameters.js.map +1 -0
- package/dist/esm/operations/evidence.d.ts +65 -0
- package/dist/esm/operations/evidence.d.ts.map +1 -0
- package/dist/esm/operations/evidence.js +273 -0
- package/dist/esm/operations/evidence.js.map +1 -0
- package/dist/esm/operations/index.d.ts +8 -0
- package/dist/esm/operations/index.d.ts.map +1 -0
- package/dist/esm/operations/index.js +15 -0
- package/dist/esm/operations/index.js.map +1 -0
- package/dist/esm/operations/operations.d.ts +32 -0
- package/dist/esm/operations/operations.d.ts.map +1 -0
- package/dist/esm/operations/operations.js +133 -0
- package/dist/esm/operations/operations.js.map +1 -0
- package/dist/esm/operations/providerActions.d.ts +62 -0
- package/dist/esm/operations/providerActions.d.ts.map +1 -0
- package/dist/esm/operations/providerActions.js +283 -0
- package/dist/esm/operations/providerActions.js.map +1 -0
- package/dist/esm/operations/report.d.ts +133 -0
- package/dist/esm/operations/report.d.ts.map +1 -0
- package/dist/esm/operations/report.js +684 -0
- package/dist/esm/operations/report.js.map +1 -0
- package/dist/esm/operations/scopingConfiguration.d.ts +58 -0
- package/dist/esm/operations/scopingConfiguration.d.ts.map +1 -0
- package/dist/esm/operations/scopingConfiguration.js +229 -0
- package/dist/esm/operations/scopingConfiguration.js.map +1 -0
- package/dist/esm/operations/snapshot.d.ts +59 -0
- package/dist/esm/operations/snapshot.d.ts.map +1 -0
- package/dist/esm/operations/snapshot.js +261 -0
- package/dist/esm/operations/snapshot.js.map +1 -0
- package/dist/esm/operations/webhook.d.ts +65 -0
- package/dist/esm/operations/webhook.d.ts.map +1 -0
- package/dist/esm/operations/webhook.js +269 -0
- package/dist/esm/operations/webhook.js.map +1 -0
- package/dist/esm/operationsInterfaces/evidence.d.ts +42 -0
- package/dist/esm/operationsInterfaces/evidence.d.ts.map +1 -0
- package/dist/esm/operationsInterfaces/evidence.js +9 -0
- package/dist/esm/operationsInterfaces/evidence.js.map +1 -0
- package/dist/esm/operationsInterfaces/index.d.ts +8 -0
- package/dist/esm/operationsInterfaces/index.d.ts.map +1 -0
- package/dist/esm/operationsInterfaces/index.js +15 -0
- package/dist/esm/operationsInterfaces/index.js.map +1 -0
- package/dist/esm/operationsInterfaces/operations.d.ts +11 -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/providerActions.d.ts +54 -0
- package/dist/esm/operationsInterfaces/providerActions.d.ts.map +1 -0
- package/dist/esm/operationsInterfaces/providerActions.js +9 -0
- package/dist/esm/operationsInterfaces/providerActions.js.map +1 -0
- package/dist/esm/operationsInterfaces/report.d.ts +112 -0
- package/dist/esm/operationsInterfaces/report.d.ts.map +1 -0
- package/dist/esm/operationsInterfaces/report.js +9 -0
- package/dist/esm/operationsInterfaces/report.js.map +1 -0
- package/dist/esm/operationsInterfaces/scopingConfiguration.d.ts +35 -0
- package/dist/esm/operationsInterfaces/scopingConfiguration.d.ts.map +1 -0
- package/dist/esm/operationsInterfaces/scopingConfiguration.js +9 -0
- package/dist/esm/operationsInterfaces/scopingConfiguration.js.map +1 -0
- package/dist/esm/operationsInterfaces/snapshot.d.ts +36 -0
- package/dist/esm/operationsInterfaces/snapshot.d.ts.map +1 -0
- package/dist/esm/operationsInterfaces/snapshot.js +9 -0
- package/dist/esm/operationsInterfaces/snapshot.js.map +1 -0
- package/dist/esm/operationsInterfaces/webhook.d.ts +42 -0
- package/dist/esm/operationsInterfaces/webhook.d.ts.map +1 -0
- package/dist/esm/operationsInterfaces/webhook.js +9 -0
- package/dist/esm/operationsInterfaces/webhook.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/react-native/appComplianceAutomationToolForMicrosoft365.d.ts +24 -0
- package/dist/react-native/appComplianceAutomationToolForMicrosoft365.d.ts.map +1 -0
- package/dist/react-native/appComplianceAutomationToolForMicrosoft365.js +97 -0
- package/dist/react-native/appComplianceAutomationToolForMicrosoft365.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 +2108 -0
- package/dist/react-native/models/index.d.ts.map +1 -0
- package/dist/react-native/models/index.js +354 -0
- package/dist/react-native/models/index.js.map +1 -0
- package/dist/react-native/models/mappers.d.ts +83 -0
- package/dist/react-native/models/mappers.d.ts.map +1 -0
- package/dist/react-native/models/mappers.js +2597 -0
- package/dist/react-native/models/mappers.js.map +1 -0
- package/dist/react-native/models/parameters.d.ts +34 -0
- package/dist/react-native/models/parameters.d.ts.map +1 -0
- package/dist/react-native/models/parameters.js +271 -0
- package/dist/react-native/models/parameters.js.map +1 -0
- package/dist/react-native/operations/evidence.d.ts +65 -0
- package/dist/react-native/operations/evidence.d.ts.map +1 -0
- package/dist/react-native/operations/evidence.js +273 -0
- package/dist/react-native/operations/evidence.js.map +1 -0
- package/dist/react-native/operations/index.d.ts +8 -0
- package/dist/react-native/operations/index.d.ts.map +1 -0
- package/dist/react-native/operations/index.js +15 -0
- package/dist/react-native/operations/index.js.map +1 -0
- package/dist/react-native/operations/operations.d.ts +32 -0
- package/dist/react-native/operations/operations.d.ts.map +1 -0
- package/dist/react-native/operations/operations.js +133 -0
- package/dist/react-native/operations/operations.js.map +1 -0
- package/dist/react-native/operations/providerActions.d.ts +62 -0
- package/dist/react-native/operations/providerActions.d.ts.map +1 -0
- package/dist/react-native/operations/providerActions.js +283 -0
- package/dist/react-native/operations/providerActions.js.map +1 -0
- package/dist/react-native/operations/report.d.ts +133 -0
- package/dist/react-native/operations/report.d.ts.map +1 -0
- package/dist/react-native/operations/report.js +684 -0
- package/dist/react-native/operations/report.js.map +1 -0
- package/dist/react-native/operations/scopingConfiguration.d.ts +58 -0
- package/dist/react-native/operations/scopingConfiguration.d.ts.map +1 -0
- package/dist/react-native/operations/scopingConfiguration.js +229 -0
- package/dist/react-native/operations/scopingConfiguration.js.map +1 -0
- package/dist/react-native/operations/snapshot.d.ts +59 -0
- package/dist/react-native/operations/snapshot.d.ts.map +1 -0
- package/dist/react-native/operations/snapshot.js +261 -0
- package/dist/react-native/operations/snapshot.js.map +1 -0
- package/dist/react-native/operations/webhook.d.ts +65 -0
- package/dist/react-native/operations/webhook.d.ts.map +1 -0
- package/dist/react-native/operations/webhook.js +269 -0
- package/dist/react-native/operations/webhook.js.map +1 -0
- package/dist/react-native/operationsInterfaces/evidence.d.ts +42 -0
- package/dist/react-native/operationsInterfaces/evidence.d.ts.map +1 -0
- package/dist/react-native/operationsInterfaces/evidence.js +9 -0
- package/dist/react-native/operationsInterfaces/evidence.js.map +1 -0
- package/dist/react-native/operationsInterfaces/index.d.ts +8 -0
- package/dist/react-native/operationsInterfaces/index.d.ts.map +1 -0
- package/dist/react-native/operationsInterfaces/index.js +15 -0
- package/dist/react-native/operationsInterfaces/index.js.map +1 -0
- package/dist/react-native/operationsInterfaces/operations.d.ts +11 -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/providerActions.d.ts +54 -0
- package/dist/react-native/operationsInterfaces/providerActions.d.ts.map +1 -0
- package/dist/react-native/operationsInterfaces/providerActions.js +9 -0
- package/dist/react-native/operationsInterfaces/providerActions.js.map +1 -0
- package/dist/react-native/operationsInterfaces/report.d.ts +112 -0
- package/dist/react-native/operationsInterfaces/report.d.ts.map +1 -0
- package/dist/react-native/operationsInterfaces/report.js +9 -0
- package/dist/react-native/operationsInterfaces/report.js.map +1 -0
- package/dist/react-native/operationsInterfaces/scopingConfiguration.d.ts +35 -0
- package/dist/react-native/operationsInterfaces/scopingConfiguration.d.ts.map +1 -0
- package/dist/react-native/operationsInterfaces/scopingConfiguration.js +9 -0
- package/dist/react-native/operationsInterfaces/scopingConfiguration.js.map +1 -0
- package/dist/react-native/operationsInterfaces/snapshot.d.ts +36 -0
- package/dist/react-native/operationsInterfaces/snapshot.d.ts.map +1 -0
- package/dist/react-native/operationsInterfaces/snapshot.js +9 -0
- package/dist/react-native/operationsInterfaces/snapshot.js.map +1 -0
- package/dist/react-native/operationsInterfaces/webhook.d.ts +42 -0
- package/dist/react-native/operationsInterfaces/webhook.d.ts.map +1 -0
- package/dist/react-native/operationsInterfaces/webhook.js +9 -0
- package/dist/react-native/operationsInterfaces/webhook.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/package.json +58 -28
- package/dist/index.js +0 -5615
- 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/evidenceCreateOrUpdateSample.d.ts +0 -2
- package/dist-esm/samples-dev/evidenceCreateOrUpdateSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/evidenceCreateOrUpdateSample.js +0 -44
- package/dist-esm/samples-dev/evidenceCreateOrUpdateSample.js.map +0 -1
- package/dist-esm/samples-dev/evidenceDeleteSample.d.ts +0 -2
- package/dist-esm/samples-dev/evidenceDeleteSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/evidenceDeleteSample.js +0 -37
- package/dist-esm/samples-dev/evidenceDeleteSample.js.map +0 -1
- package/dist-esm/samples-dev/evidenceDownloadSample.d.ts +0 -2
- package/dist-esm/samples-dev/evidenceDownloadSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/evidenceDownloadSample.js +0 -40
- package/dist-esm/samples-dev/evidenceDownloadSample.js.map +0 -1
- package/dist-esm/samples-dev/evidenceGetSample.d.ts +0 -2
- package/dist-esm/samples-dev/evidenceGetSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/evidenceGetSample.js +0 -37
- package/dist-esm/samples-dev/evidenceGetSample.js.map +0 -1
- package/dist-esm/samples-dev/evidenceListByReportSample.d.ts +0 -2
- package/dist-esm/samples-dev/evidenceListByReportSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/evidenceListByReportSample.js +0 -52
- package/dist-esm/samples-dev/evidenceListByReportSample.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 -51
- package/dist-esm/samples-dev/operationsListSample.js.map +0 -1
- package/dist-esm/samples-dev/providerActionsCheckNameAvailabilitySample.d.ts +0 -2
- package/dist-esm/samples-dev/providerActionsCheckNameAvailabilitySample.d.ts.map +0 -1
- package/dist-esm/samples-dev/providerActionsCheckNameAvailabilitySample.js +0 -38
- package/dist-esm/samples-dev/providerActionsCheckNameAvailabilitySample.js.map +0 -1
- package/dist-esm/samples-dev/providerActionsGetCollectionCountSample.d.ts +0 -2
- package/dist-esm/samples-dev/providerActionsGetCollectionCountSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/providerActionsGetCollectionCountSample.js +0 -37
- package/dist-esm/samples-dev/providerActionsGetCollectionCountSample.js.map +0 -1
- package/dist-esm/samples-dev/providerActionsGetOverviewStatusSample.d.ts +0 -2
- package/dist-esm/samples-dev/providerActionsGetOverviewStatusSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/providerActionsGetOverviewStatusSample.js +0 -37
- package/dist-esm/samples-dev/providerActionsGetOverviewStatusSample.js.map +0 -1
- package/dist-esm/samples-dev/providerActionsListInUseStorageAccountsSample.d.ts +0 -2
- package/dist-esm/samples-dev/providerActionsListInUseStorageAccountsSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/providerActionsListInUseStorageAccountsSample.js +0 -55
- package/dist-esm/samples-dev/providerActionsListInUseStorageAccountsSample.js.map +0 -1
- package/dist-esm/samples-dev/providerActionsOnboardSample.d.ts +0 -2
- package/dist-esm/samples-dev/providerActionsOnboardSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/providerActionsOnboardSample.js +0 -40
- package/dist-esm/samples-dev/providerActionsOnboardSample.js.map +0 -1
- package/dist-esm/samples-dev/providerActionsTriggerEvaluationSample.d.ts +0 -2
- package/dist-esm/samples-dev/providerActionsTriggerEvaluationSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/providerActionsTriggerEvaluationSample.js +0 -39
- package/dist-esm/samples-dev/providerActionsTriggerEvaluationSample.js.map +0 -1
- package/dist-esm/samples-dev/reportCreateOrUpdateSample.d.ts +0 -2
- package/dist-esm/samples-dev/reportCreateOrUpdateSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/reportCreateOrUpdateSample.js +0 -55
- package/dist-esm/samples-dev/reportCreateOrUpdateSample.js.map +0 -1
- package/dist-esm/samples-dev/reportDeleteSample.d.ts +0 -2
- package/dist-esm/samples-dev/reportDeleteSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/reportDeleteSample.js +0 -36
- package/dist-esm/samples-dev/reportDeleteSample.js.map +0 -1
- package/dist-esm/samples-dev/reportFixSample.d.ts +0 -2
- package/dist-esm/samples-dev/reportFixSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/reportFixSample.js +0 -36
- package/dist-esm/samples-dev/reportFixSample.js.map +0 -1
- package/dist-esm/samples-dev/reportGetSample.d.ts +0 -2
- package/dist-esm/samples-dev/reportGetSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/reportGetSample.js +0 -36
- package/dist-esm/samples-dev/reportGetSample.js.map +0 -1
- package/dist-esm/samples-dev/reportGetScopingQuestionsSample.d.ts +0 -2
- package/dist-esm/samples-dev/reportGetScopingQuestionsSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/reportGetScopingQuestionsSample.js +0 -36
- package/dist-esm/samples-dev/reportGetScopingQuestionsSample.js.map +0 -1
- package/dist-esm/samples-dev/reportListSample.d.ts +0 -2
- package/dist-esm/samples-dev/reportListSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/reportListSample.js +0 -61
- package/dist-esm/samples-dev/reportListSample.js.map +0 -1
- package/dist-esm/samples-dev/reportNestedResourceCheckNameAvailabilitySample.d.ts +0 -2
- package/dist-esm/samples-dev/reportNestedResourceCheckNameAvailabilitySample.d.ts.map +0 -1
- package/dist-esm/samples-dev/reportNestedResourceCheckNameAvailabilitySample.js +0 -77
- package/dist-esm/samples-dev/reportNestedResourceCheckNameAvailabilitySample.js.map +0 -1
- package/dist-esm/samples-dev/reportSyncCertRecordSample.d.ts +0 -2
- package/dist-esm/samples-dev/reportSyncCertRecordSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/reportSyncCertRecordSample.js +0 -48
- package/dist-esm/samples-dev/reportSyncCertRecordSample.js.map +0 -1
- package/dist-esm/samples-dev/reportUpdateSample.d.ts +0 -2
- package/dist-esm/samples-dev/reportUpdateSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/reportUpdateSample.js +0 -61
- package/dist-esm/samples-dev/reportUpdateSample.js.map +0 -1
- package/dist-esm/samples-dev/reportVerifySample.d.ts +0 -2
- package/dist-esm/samples-dev/reportVerifySample.d.ts.map +0 -1
- package/dist-esm/samples-dev/reportVerifySample.js +0 -36
- package/dist-esm/samples-dev/reportVerifySample.js.map +0 -1
- package/dist-esm/samples-dev/scopingConfigurationCreateOrUpdateSample.d.ts +0 -2
- package/dist-esm/samples-dev/scopingConfigurationCreateOrUpdateSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/scopingConfigurationCreateOrUpdateSample.js +0 -56
- package/dist-esm/samples-dev/scopingConfigurationCreateOrUpdateSample.js.map +0 -1
- package/dist-esm/samples-dev/scopingConfigurationDeleteSample.d.ts +0 -2
- package/dist-esm/samples-dev/scopingConfigurationDeleteSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/scopingConfigurationDeleteSample.js +0 -37
- package/dist-esm/samples-dev/scopingConfigurationDeleteSample.js.map +0 -1
- package/dist-esm/samples-dev/scopingConfigurationGetSample.d.ts +0 -2
- package/dist-esm/samples-dev/scopingConfigurationGetSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/scopingConfigurationGetSample.js +0 -37
- package/dist-esm/samples-dev/scopingConfigurationGetSample.js.map +0 -1
- package/dist-esm/samples-dev/scopingConfigurationListSample.d.ts +0 -2
- package/dist-esm/samples-dev/scopingConfigurationListSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/scopingConfigurationListSample.js +0 -52
- package/dist-esm/samples-dev/scopingConfigurationListSample.js.map +0 -1
- package/dist-esm/samples-dev/snapshotDownloadSample.d.ts +0 -2
- package/dist-esm/samples-dev/snapshotDownloadSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/snapshotDownloadSample.js +0 -104
- package/dist-esm/samples-dev/snapshotDownloadSample.js.map +0 -1
- package/dist-esm/samples-dev/snapshotGetSample.d.ts +0 -2
- package/dist-esm/samples-dev/snapshotGetSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/snapshotGetSample.js +0 -37
- package/dist-esm/samples-dev/snapshotGetSample.js.map +0 -1
- package/dist-esm/samples-dev/snapshotListSample.d.ts +0 -2
- package/dist-esm/samples-dev/snapshotListSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/snapshotListSample.js +0 -62
- package/dist-esm/samples-dev/snapshotListSample.js.map +0 -1
- package/dist-esm/samples-dev/webhookCreateOrUpdateSample.d.ts +0 -2
- package/dist-esm/samples-dev/webhookCreateOrUpdateSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/webhookCreateOrUpdateSample.js +0 -50
- package/dist-esm/samples-dev/webhookCreateOrUpdateSample.js.map +0 -1
- package/dist-esm/samples-dev/webhookDeleteSample.d.ts +0 -2
- package/dist-esm/samples-dev/webhookDeleteSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/webhookDeleteSample.js +0 -37
- package/dist-esm/samples-dev/webhookDeleteSample.js.map +0 -1
- package/dist-esm/samples-dev/webhookGetSample.d.ts +0 -2
- package/dist-esm/samples-dev/webhookGetSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/webhookGetSample.js +0 -37
- package/dist-esm/samples-dev/webhookGetSample.js.map +0 -1
- package/dist-esm/samples-dev/webhookListSample.d.ts +0 -2
- package/dist-esm/samples-dev/webhookListSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/webhookListSample.js +0 -55
- package/dist-esm/samples-dev/webhookListSample.js.map +0 -1
- package/dist-esm/samples-dev/webhookUpdateSample.d.ts +0 -2
- package/dist-esm/samples-dev/webhookUpdateSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/webhookUpdateSample.js +0 -50
- package/dist-esm/samples-dev/webhookUpdateSample.js.map +0 -1
- package/dist-esm/src/appComplianceAutomationToolForMicrosoft365.d.ts.map +0 -1
- package/dist-esm/src/appComplianceAutomationToolForMicrosoft365.js.map +0 -1
- package/dist-esm/src/index.d.ts +0 -5
- package/dist-esm/src/index.js.map +0 -1
- package/dist-esm/src/lroImpl.js.map +0 -1
- package/dist-esm/src/models/index.js.map +0 -1
- package/dist-esm/src/models/mappers.js.map +0 -1
- package/dist-esm/src/models/parameters.js.map +0 -1
- package/dist-esm/src/operations/evidence.d.ts.map +0 -1
- package/dist-esm/src/operations/evidence.js.map +0 -1
- package/dist-esm/src/operations/index.d.ts +0 -8
- package/dist-esm/src/operations/index.d.ts.map +0 -1
- package/dist-esm/src/operations/index.js +0 -15
- package/dist-esm/src/operations/index.js.map +0 -1
- package/dist-esm/src/operations/operations.d.ts.map +0 -1
- package/dist-esm/src/operations/operations.js.map +0 -1
- package/dist-esm/src/operations/providerActions.d.ts.map +0 -1
- package/dist-esm/src/operations/providerActions.js.map +0 -1
- package/dist-esm/src/operations/report.d.ts.map +0 -1
- package/dist-esm/src/operations/report.js.map +0 -1
- package/dist-esm/src/operations/scopingConfiguration.d.ts.map +0 -1
- package/dist-esm/src/operations/scopingConfiguration.js.map +0 -1
- package/dist-esm/src/operations/snapshot.d.ts.map +0 -1
- package/dist-esm/src/operations/snapshot.js.map +0 -1
- package/dist-esm/src/operations/webhook.d.ts.map +0 -1
- package/dist-esm/src/operations/webhook.js.map +0 -1
- package/dist-esm/src/operationsInterfaces/evidence.d.ts.map +0 -1
- package/dist-esm/src/operationsInterfaces/evidence.js.map +0 -1
- package/dist-esm/src/operationsInterfaces/index.d.ts +0 -8
- package/dist-esm/src/operationsInterfaces/index.d.ts.map +0 -1
- package/dist-esm/src/operationsInterfaces/index.js +0 -15
- package/dist-esm/src/operationsInterfaces/index.js.map +0 -1
- package/dist-esm/src/operationsInterfaces/operations.js.map +0 -1
- package/dist-esm/src/operationsInterfaces/providerActions.d.ts.map +0 -1
- package/dist-esm/src/operationsInterfaces/providerActions.js.map +0 -1
- package/dist-esm/src/operationsInterfaces/report.d.ts.map +0 -1
- package/dist-esm/src/operationsInterfaces/report.js.map +0 -1
- package/dist-esm/src/operationsInterfaces/scopingConfiguration.d.ts.map +0 -1
- package/dist-esm/src/operationsInterfaces/scopingConfiguration.js.map +0 -1
- package/dist-esm/src/operationsInterfaces/snapshot.d.ts.map +0 -1
- package/dist-esm/src/operationsInterfaces/snapshot.js.map +0 -1
- package/dist-esm/src/operationsInterfaces/webhook.d.ts.map +0 -1
- package/dist-esm/src/operationsInterfaces/webhook.js.map +0 -1
- package/dist-esm/src/pagingHelper.js.map +0 -1
- package/dist-esm/test/appcomplianceautomation_operations_test.spec.d.ts +0 -4
- package/dist-esm/test/appcomplianceautomation_operations_test.spec.d.ts.map +0 -1
- package/dist-esm/test/appcomplianceautomation_operations_test.spec.js +0 -74
- package/dist-esm/test/appcomplianceautomation_operations_test.spec.js.map +0 -1
- package/src/appComplianceAutomationToolForMicrosoft365.ts +0 -161
- package/src/lroImpl.ts +0 -42
- package/src/models/index.ts +0 -2350
- package/src/models/mappers.ts +0 -2700
- package/src/models/parameters.ts +0 -324
- package/src/operations/evidence.ts +0 -343
- package/src/operations/index.ts +0 -15
- package/src/operations/operations.ts +0 -149
- package/src/operations/providerActions.ts +0 -405
- package/src/operations/report.ts +0 -938
- package/src/operations/scopingConfiguration.ts +0 -283
- package/src/operations/snapshot.ts +0 -343
- package/src/operations/webhook.ts +0 -335
- package/src/operationsInterfaces/evidence.ts +0 -83
- package/src/operationsInterfaces/index.ts +0 -15
- package/src/operationsInterfaces/operations.ts +0 -22
- package/src/operationsInterfaces/providerActions.ts +0 -115
- package/src/operationsInterfaces/report.ts +0 -217
- package/src/operationsInterfaces/scopingConfiguration.ts +0 -68
- package/src/operationsInterfaces/snapshot.ts +0 -75
- package/src/operationsInterfaces/webhook.ts +0 -83
- package/src/pagingHelper.ts +0 -39
- package/tsconfig.json +0 -33
- /package/{dist-esm/src → dist/browser}/lroImpl.d.ts +0 -0
- /package/{dist-esm/src → dist/browser}/lroImpl.d.ts.map +0 -0
- /package/{dist-esm/src → dist/browser}/lroImpl.js +0 -0
- /package/{dist-esm/src → dist/browser}/models/index.d.ts +0 -0
- /package/{dist-esm/src → dist/browser}/models/index.d.ts.map +0 -0
- /package/{dist-esm/src → dist/browser}/models/index.js +0 -0
- /package/{dist-esm/src → dist/browser}/models/mappers.d.ts +0 -0
- /package/{dist-esm/src → dist/browser}/models/mappers.d.ts.map +0 -0
- /package/{dist-esm/src → dist/browser}/models/mappers.js +0 -0
- /package/{dist-esm/src → dist/browser}/models/parameters.d.ts +0 -0
- /package/{dist-esm/src → dist/browser}/models/parameters.d.ts.map +0 -0
- /package/{dist-esm/src → dist/browser}/operationsInterfaces/evidence.js +0 -0
- /package/{dist-esm/src → dist/browser}/operationsInterfaces/operations.js +0 -0
- /package/{dist-esm/src → dist/browser}/operationsInterfaces/providerActions.js +0 -0
- /package/{dist-esm/src → dist/browser}/operationsInterfaces/report.js +0 -0
- /package/{dist-esm/src → dist/browser}/operationsInterfaces/scopingConfiguration.js +0 -0
- /package/{dist-esm/src → dist/browser}/operationsInterfaces/snapshot.js +0 -0
- /package/{dist-esm/src → dist/browser}/operationsInterfaces/webhook.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
- /package/{types → dist/commonjs}/tsdoc-metadata.json +0 -0
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
import { PagedAsyncIterableIterator } from "@azure/core-paging";
|
|
2
|
+
import { Evidence } from "../operationsInterfaces/index.js";
|
|
3
|
+
import { AppComplianceAutomationToolForMicrosoft365 } from "../appComplianceAutomationToolForMicrosoft365.js";
|
|
4
|
+
import { EvidenceResource, EvidenceListByReportOptionalParams, EvidenceGetOptionalParams, EvidenceGetResponse, EvidenceCreateOrUpdateOptionalParams, EvidenceCreateOrUpdateResponse, EvidenceDeleteOptionalParams, EvidenceFileDownloadRequest, EvidenceDownloadOptionalParams, EvidenceDownloadResponse } from "../models/index.js";
|
|
5
|
+
/** Class containing Evidence operations. */
|
|
6
|
+
export declare class EvidenceImpl implements Evidence {
|
|
7
|
+
private readonly client;
|
|
8
|
+
/**
|
|
9
|
+
* Initialize a new instance of the class Evidence class.
|
|
10
|
+
* @param client Reference to the service client
|
|
11
|
+
*/
|
|
12
|
+
constructor(client: AppComplianceAutomationToolForMicrosoft365);
|
|
13
|
+
/**
|
|
14
|
+
* Returns a paginated list of evidences for a specified report.
|
|
15
|
+
* @param reportName Report Name.
|
|
16
|
+
* @param options The options parameters.
|
|
17
|
+
*/
|
|
18
|
+
listByReport(reportName: string, options?: EvidenceListByReportOptionalParams): PagedAsyncIterableIterator<EvidenceResource>;
|
|
19
|
+
private listByReportPagingPage;
|
|
20
|
+
private listByReportPagingAll;
|
|
21
|
+
/**
|
|
22
|
+
* Returns a paginated list of evidences for a specified report.
|
|
23
|
+
* @param reportName Report Name.
|
|
24
|
+
* @param options The options parameters.
|
|
25
|
+
*/
|
|
26
|
+
private _listByReport;
|
|
27
|
+
/**
|
|
28
|
+
* Get the evidence metadata
|
|
29
|
+
* @param reportName Report Name.
|
|
30
|
+
* @param evidenceName The evidence name.
|
|
31
|
+
* @param options The options parameters.
|
|
32
|
+
*/
|
|
33
|
+
get(reportName: string, evidenceName: string, options?: EvidenceGetOptionalParams): Promise<EvidenceGetResponse>;
|
|
34
|
+
/**
|
|
35
|
+
* Create or Update an evidence a specified report
|
|
36
|
+
* @param reportName Report Name.
|
|
37
|
+
* @param evidenceName The evidence name.
|
|
38
|
+
* @param properties Parameters for the create or update operation
|
|
39
|
+
* @param options The options parameters.
|
|
40
|
+
*/
|
|
41
|
+
createOrUpdate(reportName: string, evidenceName: string, properties: EvidenceResource, options?: EvidenceCreateOrUpdateOptionalParams): Promise<EvidenceCreateOrUpdateResponse>;
|
|
42
|
+
/**
|
|
43
|
+
* Delete an existent evidence from a specified report
|
|
44
|
+
* @param reportName Report Name.
|
|
45
|
+
* @param evidenceName The evidence name.
|
|
46
|
+
* @param options The options parameters.
|
|
47
|
+
*/
|
|
48
|
+
delete(reportName: string, evidenceName: string, options?: EvidenceDeleteOptionalParams): Promise<void>;
|
|
49
|
+
/**
|
|
50
|
+
* Download evidence file.
|
|
51
|
+
* @param reportName Report Name.
|
|
52
|
+
* @param evidenceName The evidence name.
|
|
53
|
+
* @param body Parameters for the query operation
|
|
54
|
+
* @param options The options parameters.
|
|
55
|
+
*/
|
|
56
|
+
download(reportName: string, evidenceName: string, body: EvidenceFileDownloadRequest, options?: EvidenceDownloadOptionalParams): Promise<EvidenceDownloadResponse>;
|
|
57
|
+
/**
|
|
58
|
+
* ListByReportNext
|
|
59
|
+
* @param reportName Report Name.
|
|
60
|
+
* @param nextLink The nextLink from the previous successful call to the ListByReport method.
|
|
61
|
+
* @param options The options parameters.
|
|
62
|
+
*/
|
|
63
|
+
private _listByReportNext;
|
|
64
|
+
}
|
|
65
|
+
//# sourceMappingURL=evidence.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"evidence.d.ts","sourceRoot":"","sources":["../../../src/operations/evidence.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,0BAA0B,EAAgB,MAAM,oBAAoB,CAAC;AAE9E,OAAO,EAAE,QAAQ,EAAE,MAAM,kCAAkC,CAAC;AAI5D,OAAO,EAAE,0CAA0C,EAAE,MAAM,kDAAkD,CAAC;AAC9G,OAAO,EACL,gBAAgB,EAEhB,kCAAkC,EAElC,yBAAyB,EACzB,mB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.
|
|
4
|
+
*
|
|
5
|
+
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
6
|
+
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
7
|
+
*/
|
|
8
|
+
import { __asyncDelegator, __asyncGenerator, __asyncValues, __await } from "tslib";
|
|
9
|
+
import { setContinuationToken } from "../pagingHelper.js";
|
|
10
|
+
import * as coreClient from "@azure/core-client";
|
|
11
|
+
import * as Mappers from "../models/mappers.js";
|
|
12
|
+
import * as Parameters from "../models/parameters.js";
|
|
13
|
+
/// <reference lib="esnext.asynciterable" />
|
|
14
|
+
/** Class containing Evidence operations. */
|
|
15
|
+
export class EvidenceImpl {
|
|
16
|
+
/**
|
|
17
|
+
* Initialize a new instance of the class Evidence class.
|
|
18
|
+
* @param client Reference to the service client
|
|
19
|
+
*/
|
|
20
|
+
constructor(client) {
|
|
21
|
+
this.client = client;
|
|
22
|
+
}
|
|
23
|
+
/**
|
|
24
|
+
* Returns a paginated list of evidences for a specified report.
|
|
25
|
+
* @param reportName Report Name.
|
|
26
|
+
* @param options The options parameters.
|
|
27
|
+
*/
|
|
28
|
+
listByReport(reportName, options) {
|
|
29
|
+
const iter = this.listByReportPagingAll(reportName, options);
|
|
30
|
+
return {
|
|
31
|
+
next() {
|
|
32
|
+
return iter.next();
|
|
33
|
+
},
|
|
34
|
+
[Symbol.asyncIterator]() {
|
|
35
|
+
return this;
|
|
36
|
+
},
|
|
37
|
+
byPage: (settings) => {
|
|
38
|
+
if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
|
|
39
|
+
throw new Error("maxPageSize is not supported by this operation.");
|
|
40
|
+
}
|
|
41
|
+
return this.listByReportPagingPage(reportName, options, settings);
|
|
42
|
+
},
|
|
43
|
+
};
|
|
44
|
+
}
|
|
45
|
+
listByReportPagingPage(reportName, options, settings) {
|
|
46
|
+
return __asyncGenerator(this, arguments, function* listByReportPagingPage_1() {
|
|
47
|
+
let result;
|
|
48
|
+
let continuationToken = settings === null || settings === void 0 ? void 0 : settings.continuationToken;
|
|
49
|
+
if (!continuationToken) {
|
|
50
|
+
result = yield __await(this._listByReport(reportName, options));
|
|
51
|
+
let page = result.value || [];
|
|
52
|
+
continuationToken = result.nextLink;
|
|
53
|
+
setContinuationToken(page, continuationToken);
|
|
54
|
+
yield yield __await(page);
|
|
55
|
+
}
|
|
56
|
+
while (continuationToken) {
|
|
57
|
+
result = yield __await(this._listByReportNext(reportName, continuationToken, options));
|
|
58
|
+
continuationToken = result.nextLink;
|
|
59
|
+
let page = result.value || [];
|
|
60
|
+
setContinuationToken(page, continuationToken);
|
|
61
|
+
yield yield __await(page);
|
|
62
|
+
}
|
|
63
|
+
});
|
|
64
|
+
}
|
|
65
|
+
listByReportPagingAll(reportName, options) {
|
|
66
|
+
return __asyncGenerator(this, arguments, function* listByReportPagingAll_1() {
|
|
67
|
+
var _a, e_1, _b, _c;
|
|
68
|
+
try {
|
|
69
|
+
for (var _d = true, _e = __asyncValues(this.listByReportPagingPage(reportName, options)), _f; _f = yield __await(_e.next()), _a = _f.done, !_a; _d = true) {
|
|
70
|
+
_c = _f.value;
|
|
71
|
+
_d = false;
|
|
72
|
+
const page = _c;
|
|
73
|
+
yield __await(yield* __asyncDelegator(__asyncValues(page)));
|
|
74
|
+
}
|
|
75
|
+
}
|
|
76
|
+
catch (e_1_1) { e_1 = { error: e_1_1 }; }
|
|
77
|
+
finally {
|
|
78
|
+
try {
|
|
79
|
+
if (!_d && !_a && (_b = _e.return)) yield __await(_b.call(_e));
|
|
80
|
+
}
|
|
81
|
+
finally { if (e_1) throw e_1.error; }
|
|
82
|
+
}
|
|
83
|
+
});
|
|
84
|
+
}
|
|
85
|
+
/**
|
|
86
|
+
* Returns a paginated list of evidences for a specified report.
|
|
87
|
+
* @param reportName Report Name.
|
|
88
|
+
* @param options The options parameters.
|
|
89
|
+
*/
|
|
90
|
+
_listByReport(reportName, options) {
|
|
91
|
+
return this.client.sendOperationRequest({ reportName, options }, listByReportOperationSpec);
|
|
92
|
+
}
|
|
93
|
+
/**
|
|
94
|
+
* Get the evidence metadata
|
|
95
|
+
* @param reportName Report Name.
|
|
96
|
+
* @param evidenceName The evidence name.
|
|
97
|
+
* @param options The options parameters.
|
|
98
|
+
*/
|
|
99
|
+
get(reportName, evidenceName, options) {
|
|
100
|
+
return this.client.sendOperationRequest({ reportName, evidenceName, options }, getOperationSpec);
|
|
101
|
+
}
|
|
102
|
+
/**
|
|
103
|
+
* Create or Update an evidence a specified report
|
|
104
|
+
* @param reportName Report Name.
|
|
105
|
+
* @param evidenceName The evidence name.
|
|
106
|
+
* @param properties Parameters for the create or update operation
|
|
107
|
+
* @param options The options parameters.
|
|
108
|
+
*/
|
|
109
|
+
createOrUpdate(reportName, evidenceName, properties, options) {
|
|
110
|
+
return this.client.sendOperationRequest({ reportName, evidenceName, properties, options }, createOrUpdateOperationSpec);
|
|
111
|
+
}
|
|
112
|
+
/**
|
|
113
|
+
* Delete an existent evidence from a specified report
|
|
114
|
+
* @param reportName Report Name.
|
|
115
|
+
* @param evidenceName The evidence name.
|
|
116
|
+
* @param options The options parameters.
|
|
117
|
+
*/
|
|
118
|
+
delete(reportName, evidenceName, options) {
|
|
119
|
+
return this.client.sendOperationRequest({ reportName, evidenceName, options }, deleteOperationSpec);
|
|
120
|
+
}
|
|
121
|
+
/**
|
|
122
|
+
* Download evidence file.
|
|
123
|
+
* @param reportName Report Name.
|
|
124
|
+
* @param evidenceName The evidence name.
|
|
125
|
+
* @param body Parameters for the query operation
|
|
126
|
+
* @param options The options parameters.
|
|
127
|
+
*/
|
|
128
|
+
download(reportName, evidenceName, body, options) {
|
|
129
|
+
return this.client.sendOperationRequest({ reportName, evidenceName, body, options }, downloadOperationSpec);
|
|
130
|
+
}
|
|
131
|
+
/**
|
|
132
|
+
* ListByReportNext
|
|
133
|
+
* @param reportName Report Name.
|
|
134
|
+
* @param nextLink The nextLink from the previous successful call to the ListByReport method.
|
|
135
|
+
* @param options The options parameters.
|
|
136
|
+
*/
|
|
137
|
+
_listByReportNext(reportName, nextLink, options) {
|
|
138
|
+
return this.client.sendOperationRequest({ reportName, nextLink, options }, listByReportNextOperationSpec);
|
|
139
|
+
}
|
|
140
|
+
}
|
|
141
|
+
// Operation Specifications
|
|
142
|
+
const serializer = coreClient.createSerializer(Mappers, /* isXml */ false);
|
|
143
|
+
const listByReportOperationSpec = {
|
|
144
|
+
path: "/providers/Microsoft.AppComplianceAutomation/reports/{reportName}/evidences",
|
|
145
|
+
httpMethod: "GET",
|
|
146
|
+
responses: {
|
|
147
|
+
200: {
|
|
148
|
+
bodyMapper: Mappers.EvidenceResourceListResult,
|
|
149
|
+
},
|
|
150
|
+
default: {
|
|
151
|
+
bodyMapper: Mappers.ErrorResponse,
|
|
152
|
+
},
|
|
153
|
+
},
|
|
154
|
+
queryParameters: [
|
|
155
|
+
Parameters.apiVersion,
|
|
156
|
+
Parameters.skipToken,
|
|
157
|
+
Parameters.top,
|
|
158
|
+
Parameters.select,
|
|
159
|
+
Parameters.filter,
|
|
160
|
+
Parameters.orderby,
|
|
161
|
+
Parameters.offerGuid,
|
|
162
|
+
Parameters.reportCreatorTenantId,
|
|
163
|
+
],
|
|
164
|
+
urlParameters: [Parameters.$host, Parameters.reportName],
|
|
165
|
+
headerParameters: [Parameters.accept],
|
|
166
|
+
serializer,
|
|
167
|
+
};
|
|
168
|
+
const getOperationSpec = {
|
|
169
|
+
path: "/providers/Microsoft.AppComplianceAutomation/reports/{reportName}/evidences/{evidenceName}",
|
|
170
|
+
httpMethod: "GET",
|
|
171
|
+
responses: {
|
|
172
|
+
200: {
|
|
173
|
+
bodyMapper: Mappers.EvidenceResource,
|
|
174
|
+
},
|
|
175
|
+
default: {
|
|
176
|
+
bodyMapper: Mappers.ErrorResponse,
|
|
177
|
+
},
|
|
178
|
+
},
|
|
179
|
+
queryParameters: [Parameters.apiVersion],
|
|
180
|
+
urlParameters: [
|
|
181
|
+
Parameters.$host,
|
|
182
|
+
Parameters.reportName,
|
|
183
|
+
Parameters.evidenceName,
|
|
184
|
+
],
|
|
185
|
+
headerParameters: [Parameters.accept],
|
|
186
|
+
serializer,
|
|
187
|
+
};
|
|
188
|
+
const createOrUpdateOperationSpec = {
|
|
189
|
+
path: "/providers/Microsoft.AppComplianceAutomation/reports/{reportName}/evidences/{evidenceName}",
|
|
190
|
+
httpMethod: "PUT",
|
|
191
|
+
responses: {
|
|
192
|
+
200: {
|
|
193
|
+
bodyMapper: Mappers.EvidenceResource,
|
|
194
|
+
},
|
|
195
|
+
201: {
|
|
196
|
+
bodyMapper: Mappers.EvidenceResource,
|
|
197
|
+
},
|
|
198
|
+
default: {
|
|
199
|
+
bodyMapper: Mappers.ErrorResponse,
|
|
200
|
+
},
|
|
201
|
+
},
|
|
202
|
+
requestBody: Parameters.properties2,
|
|
203
|
+
queryParameters: [
|
|
204
|
+
Parameters.apiVersion,
|
|
205
|
+
Parameters.offerGuid,
|
|
206
|
+
Parameters.reportCreatorTenantId,
|
|
207
|
+
],
|
|
208
|
+
urlParameters: [
|
|
209
|
+
Parameters.$host,
|
|
210
|
+
Parameters.reportName,
|
|
211
|
+
Parameters.evidenceName,
|
|
212
|
+
],
|
|
213
|
+
headerParameters: [Parameters.contentType, Parameters.accept],
|
|
214
|
+
mediaType: "json",
|
|
215
|
+
serializer,
|
|
216
|
+
};
|
|
217
|
+
const deleteOperationSpec = {
|
|
218
|
+
path: "/providers/Microsoft.AppComplianceAutomation/reports/{reportName}/evidences/{evidenceName}",
|
|
219
|
+
httpMethod: "DELETE",
|
|
220
|
+
responses: {
|
|
221
|
+
200: {},
|
|
222
|
+
204: {},
|
|
223
|
+
default: {
|
|
224
|
+
bodyMapper: Mappers.ErrorResponse,
|
|
225
|
+
},
|
|
226
|
+
},
|
|
227
|
+
queryParameters: [Parameters.apiVersion],
|
|
228
|
+
urlParameters: [
|
|
229
|
+
Parameters.$host,
|
|
230
|
+
Parameters.reportName,
|
|
231
|
+
Parameters.evidenceName,
|
|
232
|
+
],
|
|
233
|
+
headerParameters: [Parameters.accept],
|
|
234
|
+
serializer,
|
|
235
|
+
};
|
|
236
|
+
const downloadOperationSpec = {
|
|
237
|
+
path: "/providers/Microsoft.AppComplianceAutomation/reports/{reportName}/evidences/{evidenceName}/download",
|
|
238
|
+
httpMethod: "POST",
|
|
239
|
+
responses: {
|
|
240
|
+
200: {
|
|
241
|
+
bodyMapper: Mappers.EvidenceFileDownloadResponse,
|
|
242
|
+
},
|
|
243
|
+
default: {
|
|
244
|
+
bodyMapper: Mappers.ErrorResponse,
|
|
245
|
+
},
|
|
246
|
+
},
|
|
247
|
+
requestBody: Parameters.body7,
|
|
248
|
+
queryParameters: [Parameters.apiVersion],
|
|
249
|
+
urlParameters: [
|
|
250
|
+
Parameters.$host,
|
|
251
|
+
Parameters.reportName,
|
|
252
|
+
Parameters.evidenceName,
|
|
253
|
+
],
|
|
254
|
+
headerParameters: [Parameters.contentType, Parameters.accept],
|
|
255
|
+
mediaType: "json",
|
|
256
|
+
serializer,
|
|
257
|
+
};
|
|
258
|
+
const listByReportNextOperationSpec = {
|
|
259
|
+
path: "{nextLink}",
|
|
260
|
+
httpMethod: "GET",
|
|
261
|
+
responses: {
|
|
262
|
+
200: {
|
|
263
|
+
bodyMapper: Mappers.EvidenceResourceListResult,
|
|
264
|
+
},
|
|
265
|
+
default: {
|
|
266
|
+
bodyMapper: Mappers.ErrorResponse,
|
|
267
|
+
},
|
|
268
|
+
},
|
|
269
|
+
urlParameters: [Parameters.$host, Parameters.nextLink, Parameters.reportName],
|
|
270
|
+
headerParameters: [Parameters.accept],
|
|
271
|
+
serializer,
|
|
272
|
+
};
|
|
273
|
+
//# sourceMappingURL=evidence.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"evidence.js","sourceRoot":"","sources":["../../../src/operations/evidence.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAGH,OAAO,EAAE,oBAAoB,EAAE,MAAM,oBAAoB,CAAC;AAE1D,OAAO,KAAK,UAAU,MAAM,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AE,CAAC,UAAU,CAAC,KAAK,EAAE,UAAU,CAAC,QAAQ,EAAE,UAAU,CAAC,UAAU,CAAC;IAC7E,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC","sourcesContent":["/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport { PagedAsyncIterableIterator, PageSettings } from \"@azure/core-paging\";\nimport { setContinuationToken } from \"../pagingHelper.js\";\nimport { Evidence } from \"../operationsInterfaces/index.js\";\nimport * as coreClient from \"@azure/core-client\";\nimport * as Mappers from \"../models/mappers.js\";\nimport * as Parameters from \"../models/parameters.js\";\nimport { AppComplianceAutomationToolForMicrosoft365 } from \"../appComplianceAutomationToolForMicrosoft365.js\";\nimport {\n EvidenceResource,\n EvidenceListByReportNextOptionalParams,\n EvidenceListByReportOptionalParams,\n EvidenceListByReportResponse,\n EvidenceGetOptionalParams,\n EvidenceGetResponse,\n EvidenceCreateOrUpdateOptionalParams,\n EvidenceCreateOrUpdateResponse,\n EvidenceDeleteOptionalParams,\n EvidenceFileDownloadRequest,\n EvidenceDownloadOptionalParams,\n EvidenceDownloadResponse,\n EvidenceListByReportNextResponse,\n} from \"../models/index.js\";\n\n/// <reference lib=\"esnext.asynciterable\" />\n/** Class containing Evidence operations. */\nexport class EvidenceImpl implements Evidence {\n private readonly client: AppComplianceAutomationToolForMicrosoft365;\n\n /**\n * Initialize a new instance of the class Evidence class.\n * @param client Reference to the service client\n */\n constructor(client: AppComplianceAutomationToolForMicrosoft365) {\n this.client = client;\n }\n\n /**\n * Returns a paginated list of evidences for a specified report.\n * @param reportName Report Name.\n * @param options The options parameters.\n */\n public listByReport(\n reportName: string,\n options?: EvidenceListByReportOptionalParams,\n ): PagedAsyncIterableIterator<EvidenceResource> {\n const iter = this.listByReportPagingAll(reportName, options);\n return {\n next() {\n return iter.next();\n },\n [Symbol.asyncIterator]() {\n return this;\n },\n byPage: (settings?: PageSettings) => {\n if (settings?.maxPageSize) {\n throw new Error(\"maxPageSize is not supported by this operation.\");\n }\n return this.listByReportPagingPage(reportName, options, settings);\n },\n };\n }\n\n private async *listByReportPagingPage(\n reportName: string,\n options?: EvidenceListByReportOptionalParams,\n settings?: PageSettings,\n ): AsyncIterableIterator<EvidenceResource[]> {\n let result: EvidenceListByReportResponse;\n let continuationToken = settings?.continuationToken;\n if (!continuationToken) {\n result = await this._listByReport(reportName, options);\n let page = result.value || [];\n continuationToken = result.nextLink;\n setContinuationToken(page, continuationToken);\n yield page;\n }\n while (continuationToken) {\n result = await this._listByReportNext(\n reportName,\n continuationToken,\n options,\n );\n continuationToken = result.nextLink;\n let page = result.value || [];\n setContinuationToken(page, continuationToken);\n yield page;\n }\n }\n\n private async *listByReportPagingAll(\n reportName: string,\n options?: EvidenceListByReportOptionalParams,\n ): AsyncIterableIterator<EvidenceResource> {\n for await (const page of this.listByReportPagingPage(reportName, options)) {\n yield* page;\n }\n }\n\n /**\n * Returns a paginated list of evidences for a specified report.\n * @param reportName Report Name.\n * @param options The options parameters.\n */\n private _listByReport(\n reportName: string,\n options?: EvidenceListByReportOptionalParams,\n ): Promise<EvidenceListByReportResponse> {\n return this.client.sendOperationRequest(\n { reportName, options },\n listByReportOperationSpec,\n );\n }\n\n /**\n * Get the evidence metadata\n * @param reportName Report Name.\n * @param evidenceName The evidence name.\n * @param options The options parameters.\n */\n get(\n reportName: string,\n evidenceName: string,\n options?: EvidenceGetOptionalParams,\n ): Promise<EvidenceGetResponse> {\n return this.client.sendOperationRequest(\n { reportName, evidenceName, options },\n getOperationSpec,\n );\n }\n\n /**\n * Create or Update an evidence a specified report\n * @param reportName Report Name.\n * @param evidenceName The evidence name.\n * @param properties Parameters for the create or update operation\n * @param options The options parameters.\n */\n createOrUpdate(\n reportName: string,\n evidenceName: string,\n properties: EvidenceResource,\n options?: EvidenceCreateOrUpdateOptionalParams,\n ): Promise<EvidenceCreateOrUpdateResponse> {\n return this.client.sendOperationRequest(\n { reportName, evidenceName, properties, options },\n createOrUpdateOperationSpec,\n );\n }\n\n /**\n * Delete an existent evidence from a specified report\n * @param reportName Report Name.\n * @param evidenceName The evidence name.\n * @param options The options parameters.\n */\n delete(\n reportName: string,\n evidenceName: string,\n options?: EvidenceDeleteOptionalParams,\n ): Promise<void> {\n return this.client.sendOperationRequest(\n { reportName, evidenceName, options },\n deleteOperationSpec,\n );\n }\n\n /**\n * Download evidence file.\n * @param reportName Report Name.\n * @param evidenceName The evidence name.\n * @param body Parameters for the query operation\n * @param options The options parameters.\n */\n download(\n reportName: string,\n evidenceName: string,\n body: EvidenceFileDownloadRequest,\n options?: EvidenceDownloadOptionalParams,\n ): Promise<EvidenceDownloadResponse> {\n return this.client.sendOperationRequest(\n { reportName, evidenceName, body, options },\n downloadOperationSpec,\n );\n }\n\n /**\n * ListByReportNext\n * @param reportName Report Name.\n * @param nextLink The nextLink from the previous successful call to the ListByReport method.\n * @param options The options parameters.\n */\n private _listByReportNext(\n reportName: string,\n nextLink: string,\n options?: EvidenceListByReportNextOptionalParams,\n ): Promise<EvidenceListByReportNextResponse> {\n return this.client.sendOperationRequest(\n { reportName, nextLink, options },\n listByReportNextOperationSpec,\n );\n }\n}\n// Operation Specifications\nconst serializer = coreClient.createSerializer(Mappers, /* isXml */ false);\n\nconst listByReportOperationSpec: coreClient.OperationSpec = {\n path: \"/providers/Microsoft.AppComplianceAutomation/reports/{reportName}/evidences\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.EvidenceResourceListResult,\n },\n default: {\n bodyMapper: Mappers.ErrorResponse,\n },\n },\n queryParameters: [\n Parameters.apiVersion,\n Parameters.skipToken,\n Parameters.top,\n Parameters.select,\n Parameters.filter,\n Parameters.orderby,\n Parameters.offerGuid,\n Parameters.reportCreatorTenantId,\n ],\n urlParameters: [Parameters.$host, Parameters.reportName],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst getOperationSpec: coreClient.OperationSpec = {\n path: \"/providers/Microsoft.AppComplianceAutomation/reports/{reportName}/evidences/{evidenceName}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.EvidenceResource,\n },\n default: {\n bodyMapper: Mappers.ErrorResponse,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.reportName,\n Parameters.evidenceName,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst createOrUpdateOperationSpec: coreClient.OperationSpec = {\n path: \"/providers/Microsoft.AppComplianceAutomation/reports/{reportName}/evidences/{evidenceName}\",\n httpMethod: \"PUT\",\n responses: {\n 200: {\n bodyMapper: Mappers.EvidenceResource,\n },\n 201: {\n bodyMapper: Mappers.EvidenceResource,\n },\n default: {\n bodyMapper: Mappers.ErrorResponse,\n },\n },\n requestBody: Parameters.properties2,\n queryParameters: [\n Parameters.apiVersion,\n Parameters.offerGuid,\n Parameters.reportCreatorTenantId,\n ],\n urlParameters: [\n Parameters.$host,\n Parameters.reportName,\n Parameters.evidenceName,\n ],\n headerParameters: [Parameters.contentType, Parameters.accept],\n mediaType: \"json\",\n serializer,\n};\nconst deleteOperationSpec: coreClient.OperationSpec = {\n path: \"/providers/Microsoft.AppComplianceAutomation/reports/{reportName}/evidences/{evidenceName}\",\n httpMethod: \"DELETE\",\n responses: {\n 200: {},\n 204: {},\n default: {\n bodyMapper: Mappers.ErrorResponse,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.reportName,\n Parameters.evidenceName,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst downloadOperationSpec: coreClient.OperationSpec = {\n path: \"/providers/Microsoft.AppComplianceAutomation/reports/{reportName}/evidences/{evidenceName}/download\",\n httpMethod: \"POST\",\n responses: {\n 200: {\n bodyMapper: Mappers.EvidenceFileDownloadResponse,\n },\n default: {\n bodyMapper: Mappers.ErrorResponse,\n },\n },\n requestBody: Parameters.body7,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.reportName,\n Parameters.evidenceName,\n ],\n headerParameters: [Parameters.contentType, Parameters.accept],\n mediaType: \"json\",\n serializer,\n};\nconst listByReportNextOperationSpec: coreClient.OperationSpec = {\n path: \"{nextLink}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.EvidenceResourceListResult,\n },\n default: {\n bodyMapper: Mappers.ErrorResponse,\n },\n },\n urlParameters: [Parameters.$host, Parameters.nextLink, Parameters.reportName],\n headerParameters: [Parameters.accept],\n serializer,\n};\n"]}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
export * from "./providerActions.js";
|
|
2
|
+
export * from "./operations.js";
|
|
3
|
+
export * from "./report.js";
|
|
4
|
+
export * from "./evidence.js";
|
|
5
|
+
export * from "./scopingConfiguration.js";
|
|
6
|
+
export * from "./snapshot.js";
|
|
7
|
+
export * from "./webhook.js";
|
|
8
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/operations/index.ts"],"names":[],"mappings":"AAQA,cAAc,sBAAsB,CAAC;AACrC,cAAc,iBAAiB,CAAC;AAChC,cAAc,aAAa,CAAC;AAC5B,cAAc,eAAe,CAAC;AAC9B,cAAc,2BAA2B,CAAC;AAC1C,cAAc,eAAe,CAAC;AAC9B,cAAc,cAAc,CAAC"}
|
|
@@ -0,0 +1,15 @@
|
|
|
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
|
+
export * from "./providerActions.js";
|
|
9
|
+
export * from "./operations.js";
|
|
10
|
+
export * from "./report.js";
|
|
11
|
+
export * from "./evidence.js";
|
|
12
|
+
export * from "./scopingConfiguration.js";
|
|
13
|
+
export * from "./snapshot.js";
|
|
14
|
+
export * from "./webhook.js";
|
|
15
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/operations/index.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,cAAc,sBAAsB,CAAC;AACrC,cAAc,iBAAiB,CAAC;AAChC,cAAc,aAAa,CAAC;AAC5B,cAAc,eAAe,CAAC;AAC9B,cAAc,2BAA2B,CAAC;AAC1C,cAAc,eAAe,CAAC;AAC9B,cAAc,cAAc,CAAC","sourcesContent":["/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nexport * from \"./providerActions.js\";\nexport * from \"./operations.js\";\nexport * from \"./report.js\";\nexport * from \"./evidence.js\";\nexport * from \"./scopingConfiguration.js\";\nexport * from \"./snapshot.js\";\nexport * from \"./webhook.js\";\n"]}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import { PagedAsyncIterableIterator } from "@azure/core-paging";
|
|
2
|
+
import { Operations } from "../operationsInterfaces/index.js";
|
|
3
|
+
import { AppComplianceAutomationToolForMicrosoft365 } from "../appComplianceAutomationToolForMicrosoft365.js";
|
|
4
|
+
import { Operation, OperationsListOptionalParams } from "../models/index.js";
|
|
5
|
+
/** Class containing Operations operations. */
|
|
6
|
+
export declare class OperationsImpl implements Operations {
|
|
7
|
+
private readonly client;
|
|
8
|
+
/**
|
|
9
|
+
* Initialize a new instance of the class Operations class.
|
|
10
|
+
* @param client Reference to the service client
|
|
11
|
+
*/
|
|
12
|
+
constructor(client: AppComplianceAutomationToolForMicrosoft365);
|
|
13
|
+
/**
|
|
14
|
+
* List the operations for the provider
|
|
15
|
+
* @param options The options parameters.
|
|
16
|
+
*/
|
|
17
|
+
list(options?: OperationsListOptionalParams): PagedAsyncIterableIterator<Operation>;
|
|
18
|
+
private listPagingPage;
|
|
19
|
+
private listPagingAll;
|
|
20
|
+
/**
|
|
21
|
+
* List the operations for the provider
|
|
22
|
+
* @param options The options parameters.
|
|
23
|
+
*/
|
|
24
|
+
private _list;
|
|
25
|
+
/**
|
|
26
|
+
* ListNext
|
|
27
|
+
* @param nextLink The nextLink from the previous successful call to the List method.
|
|
28
|
+
* @param options The options parameters.
|
|
29
|
+
*/
|
|
30
|
+
private _listNext;
|
|
31
|
+
}
|
|
32
|
+
//# sourceMappingURL=operations.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"operations.d.ts","sourceRoot":"","sources":["../../../src/operations/operations.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,0BAA0B,EAAgB,MAAM,oBAAoB,CAAC;AAE9E,OAAO,EAAE,UAAU,EAAE,MAAM,kCAAkC,CAAC;AAI9D,OAAO,EAAE,0CAA0C,EAAE,MAAM,kDAAkD,CAAC;AAC9G,OAAO,EACL,SAAS,EAET,4BAA4B,EAG7B,MAAM,oBAAoB,CAAC;AAG5B,8CAA8C;AAC9C,qBAAa,cAAe,YAAW,UAAU;IAC/C,OAAO,CAAC,QAAQ,CAAC,MAAM,CAA6C;IAEpE;;;OAGG;gBACS,MAAM,EAAE,0CAA0C;IAI9D;;;OAGG;IACI,IAAI,CACT,OAAO,CAAC,EAAE,4BAA4B,GACrC,0BAA0B,CAAC,SAAS,CAAC;YAkBzB,cAAc;YAsBd,aAAa;IAQ5B;;;OAGG;IACH,OAAO,CAAC,KAAK;IAMb;;;;OAIG;IACH,OAAO,CAAC,SAAS;CASlB"}
|
|
@@ -0,0 +1,133 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Copyright (c) Microsoft Corporation.
|
|
3
|
+
* Licensed under the MIT License.
|
|
4
|
+
*
|
|
5
|
+
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
6
|
+
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
7
|
+
*/
|
|
8
|
+
import { __asyncDelegator, __asyncGenerator, __asyncValues, __await } from "tslib";
|
|
9
|
+
import { setContinuationToken } from "../pagingHelper.js";
|
|
10
|
+
import * as coreClient from "@azure/core-client";
|
|
11
|
+
import * as Mappers from "../models/mappers.js";
|
|
12
|
+
import * as Parameters from "../models/parameters.js";
|
|
13
|
+
/// <reference lib="esnext.asynciterable" />
|
|
14
|
+
/** Class containing Operations operations. */
|
|
15
|
+
export class OperationsImpl {
|
|
16
|
+
/**
|
|
17
|
+
* Initialize a new instance of the class Operations class.
|
|
18
|
+
* @param client Reference to the service client
|
|
19
|
+
*/
|
|
20
|
+
constructor(client) {
|
|
21
|
+
this.client = client;
|
|
22
|
+
}
|
|
23
|
+
/**
|
|
24
|
+
* List the operations for the provider
|
|
25
|
+
* @param options The options parameters.
|
|
26
|
+
*/
|
|
27
|
+
list(options) {
|
|
28
|
+
const iter = this.listPagingAll(options);
|
|
29
|
+
return {
|
|
30
|
+
next() {
|
|
31
|
+
return iter.next();
|
|
32
|
+
},
|
|
33
|
+
[Symbol.asyncIterator]() {
|
|
34
|
+
return this;
|
|
35
|
+
},
|
|
36
|
+
byPage: (settings) => {
|
|
37
|
+
if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
|
|
38
|
+
throw new Error("maxPageSize is not supported by this operation.");
|
|
39
|
+
}
|
|
40
|
+
return this.listPagingPage(options, settings);
|
|
41
|
+
},
|
|
42
|
+
};
|
|
43
|
+
}
|
|
44
|
+
listPagingPage(options, settings) {
|
|
45
|
+
return __asyncGenerator(this, arguments, function* listPagingPage_1() {
|
|
46
|
+
let result;
|
|
47
|
+
let continuationToken = settings === null || settings === void 0 ? void 0 : settings.continuationToken;
|
|
48
|
+
if (!continuationToken) {
|
|
49
|
+
result = yield __await(this._list(options));
|
|
50
|
+
let page = result.value || [];
|
|
51
|
+
continuationToken = result.nextLink;
|
|
52
|
+
setContinuationToken(page, continuationToken);
|
|
53
|
+
yield yield __await(page);
|
|
54
|
+
}
|
|
55
|
+
while (continuationToken) {
|
|
56
|
+
result = yield __await(this._listNext(continuationToken, options));
|
|
57
|
+
continuationToken = result.nextLink;
|
|
58
|
+
let page = result.value || [];
|
|
59
|
+
setContinuationToken(page, continuationToken);
|
|
60
|
+
yield yield __await(page);
|
|
61
|
+
}
|
|
62
|
+
});
|
|
63
|
+
}
|
|
64
|
+
listPagingAll(options) {
|
|
65
|
+
return __asyncGenerator(this, arguments, function* listPagingAll_1() {
|
|
66
|
+
var _a, e_1, _b, _c;
|
|
67
|
+
try {
|
|
68
|
+
for (var _d = true, _e = __asyncValues(this.listPagingPage(options)), _f; _f = yield __await(_e.next()), _a = _f.done, !_a; _d = true) {
|
|
69
|
+
_c = _f.value;
|
|
70
|
+
_d = false;
|
|
71
|
+
const page = _c;
|
|
72
|
+
yield __await(yield* __asyncDelegator(__asyncValues(page)));
|
|
73
|
+
}
|
|
74
|
+
}
|
|
75
|
+
catch (e_1_1) { e_1 = { error: e_1_1 }; }
|
|
76
|
+
finally {
|
|
77
|
+
try {
|
|
78
|
+
if (!_d && !_a && (_b = _e.return)) yield __await(_b.call(_e));
|
|
79
|
+
}
|
|
80
|
+
finally { if (e_1) throw e_1.error; }
|
|
81
|
+
}
|
|
82
|
+
});
|
|
83
|
+
}
|
|
84
|
+
/**
|
|
85
|
+
* List the operations for the provider
|
|
86
|
+
* @param options The options parameters.
|
|
87
|
+
*/
|
|
88
|
+
_list(options) {
|
|
89
|
+
return this.client.sendOperationRequest({ options }, listOperationSpec);
|
|
90
|
+
}
|
|
91
|
+
/**
|
|
92
|
+
* ListNext
|
|
93
|
+
* @param nextLink The nextLink from the previous successful call to the List method.
|
|
94
|
+
* @param options The options parameters.
|
|
95
|
+
*/
|
|
96
|
+
_listNext(nextLink, options) {
|
|
97
|
+
return this.client.sendOperationRequest({ nextLink, options }, listNextOperationSpec);
|
|
98
|
+
}
|
|
99
|
+
}
|
|
100
|
+
// Operation Specifications
|
|
101
|
+
const serializer = coreClient.createSerializer(Mappers, /* isXml */ false);
|
|
102
|
+
const listOperationSpec = {
|
|
103
|
+
path: "/providers/Microsoft.AppComplianceAutomation/operations",
|
|
104
|
+
httpMethod: "GET",
|
|
105
|
+
responses: {
|
|
106
|
+
200: {
|
|
107
|
+
bodyMapper: Mappers.OperationListResult,
|
|
108
|
+
},
|
|
109
|
+
default: {
|
|
110
|
+
bodyMapper: Mappers.ErrorResponse,
|
|
111
|
+
},
|
|
112
|
+
},
|
|
113
|
+
queryParameters: [Parameters.apiVersion],
|
|
114
|
+
urlParameters: [Parameters.$host],
|
|
115
|
+
headerParameters: [Parameters.accept],
|
|
116
|
+
serializer,
|
|
117
|
+
};
|
|
118
|
+
const listNextOperationSpec = {
|
|
119
|
+
path: "{nextLink}",
|
|
120
|
+
httpMethod: "GET",
|
|
121
|
+
responses: {
|
|
122
|
+
200: {
|
|
123
|
+
bodyMapper: Mappers.OperationListResult,
|
|
124
|
+
},
|
|
125
|
+
default: {
|
|
126
|
+
bodyMapper: Mappers.ErrorResponse,
|
|
127
|
+
},
|
|
128
|
+
},
|
|
129
|
+
urlParameters: [Parameters.$host, Parameters.nextLink],
|
|
130
|
+
headerParameters: [Parameters.accept],
|
|
131
|
+
serializer,
|
|
132
|
+
};
|
|
133
|
+
//# sourceMappingURL=operations.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"operations.js","sourceRoot":"","sources":["../../../src/operations/operations.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAGH,OAAO,EAAE,oBAAoB,EAAE,MAAM,oBAAoB,CAAC;AAE1D,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AACjD,OAAO,KAAK,OAAO,MAAM,sBAAsB,CAAC;AAChD,OAAO,KAAK,UAAU,MAAM,yBAAyB,CAAC;AAUtD,4CAA4C;AAC5C,8CAA8C;AAC9C,MAAM,O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E,CAAC,UAAU,CAAC,KAAK,CAAC;IACjC,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC;AACF,MAAM,qBAAqB,GAA6B;IACtD,IAAI,EAAE,YAAY;IAClB,UAAU,EAAE,KAAK;IACjB,SAAS,EAAE;QACT,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,mBAAmB;SACxC;QACD,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,aAAa;SAClC;KACF;IACD,aAAa,EAAE,CAAC,UAAU,CAAC,KAAK,EAAE,UAAU,CAAC,QAAQ,CAAC;IACtD,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC","sourcesContent":["/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport { PagedAsyncIterableIterator, PageSettings } from \"@azure/core-paging\";\nimport { setContinuationToken } from \"../pagingHelper.js\";\nimport { Operations } from \"../operationsInterfaces/index.js\";\nimport * as coreClient from \"@azure/core-client\";\nimport * as Mappers from \"../models/mappers.js\";\nimport * as Parameters from \"../models/parameters.js\";\nimport { AppComplianceAutomationToolForMicrosoft365 } from \"../appComplianceAutomationToolForMicrosoft365.js\";\nimport {\n Operation,\n OperationsListNextOptionalParams,\n OperationsListOptionalParams,\n OperationsListResponse,\n OperationsListNextResponse,\n} from \"../models/index.js\";\n\n/// <reference lib=\"esnext.asynciterable\" />\n/** Class containing Operations operations. */\nexport class OperationsImpl implements Operations {\n private readonly client: AppComplianceAutomationToolForMicrosoft365;\n\n /**\n * Initialize a new instance of the class Operations class.\n * @param client Reference to the service client\n */\n constructor(client: AppComplianceAutomationToolForMicrosoft365) {\n this.client = client;\n }\n\n /**\n * List the operations for the provider\n * @param options The options parameters.\n */\n public list(\n options?: OperationsListOptionalParams,\n ): PagedAsyncIterableIterator<Operation> {\n const iter = this.listPagingAll(options);\n return {\n next() {\n return iter.next();\n },\n [Symbol.asyncIterator]() {\n return this;\n },\n byPage: (settings?: PageSettings) => {\n if (settings?.maxPageSize) {\n throw new Error(\"maxPageSize is not supported by this operation.\");\n }\n return this.listPagingPage(options, settings);\n },\n };\n }\n\n private async *listPagingPage(\n options?: OperationsListOptionalParams,\n settings?: PageSettings,\n ): AsyncIterableIterator<Operation[]> {\n let result: OperationsListResponse;\n let continuationToken = settings?.continuationToken;\n if (!continuationToken) {\n result = await this._list(options);\n let page = result.value || [];\n continuationToken = result.nextLink;\n setContinuationToken(page, continuationToken);\n yield page;\n }\n while (continuationToken) {\n result = await this._listNext(continuationToken, options);\n continuationToken = result.nextLink;\n let page = result.value || [];\n setContinuationToken(page, continuationToken);\n yield page;\n }\n }\n\n private async *listPagingAll(\n options?: OperationsListOptionalParams,\n ): AsyncIterableIterator<Operation> {\n for await (const page of this.listPagingPage(options)) {\n yield* page;\n }\n }\n\n /**\n * List the operations for the provider\n * @param options The options parameters.\n */\n private _list(\n options?: OperationsListOptionalParams,\n ): Promise<OperationsListResponse> {\n return this.client.sendOperationRequest({ options }, listOperationSpec);\n }\n\n /**\n * ListNext\n * @param nextLink The nextLink from the previous successful call to the List method.\n * @param options The options parameters.\n */\n private _listNext(\n nextLink: string,\n options?: OperationsListNextOptionalParams,\n ): Promise<OperationsListNextResponse> {\n return this.client.sendOperationRequest(\n { nextLink, options },\n listNextOperationSpec,\n );\n }\n}\n// Operation Specifications\nconst serializer = coreClient.createSerializer(Mappers, /* isXml */ false);\n\nconst listOperationSpec: coreClient.OperationSpec = {\n path: \"/providers/Microsoft.AppComplianceAutomation/operations\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.OperationListResult,\n },\n default: {\n bodyMapper: Mappers.ErrorResponse,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [Parameters.$host],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst listNextOperationSpec: coreClient.OperationSpec = {\n path: \"{nextLink}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.OperationListResult,\n },\n default: {\n bodyMapper: Mappers.ErrorResponse,\n },\n },\n urlParameters: [Parameters.$host, Parameters.nextLink],\n headerParameters: [Parameters.accept],\n serializer,\n};\n"]}
|