@azure/arm-impactreporting 1.0.0-beta.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/CHANGELOG.md +7 -0
- package/LICENSE +21 -0
- package/README.md +115 -0
- package/dist/browser/api/connectors/index.d.ts +26 -0
- package/dist/browser/api/connectors/index.d.ts.map +1 -0
- package/dist/browser/api/connectors/index.js +110 -0
- package/dist/browser/api/connectors/index.js.map +1 -0
- package/dist/browser/api/impactCategories/index.d.ts +13 -0
- package/dist/browser/api/impactCategories/index.d.ts.map +1 -0
- package/dist/browser/api/impactCategories/index.js +53 -0
- package/dist/browser/api/impactCategories/index.js.map +1 -0
- package/dist/browser/api/impactContext.d.ts +17 -0
- package/dist/browser/api/impactContext.d.ts.map +1 -0
- package/dist/browser/api/impactContext.js +34 -0
- package/dist/browser/api/impactContext.js.map +1 -0
- package/dist/browser/api/index.d.ts +8 -0
- package/dist/browser/api/index.d.ts.map +1 -0
- package/dist/browser/api/index.js +9 -0
- package/dist/browser/api/index.js.map +1 -0
- package/dist/browser/api/insights/index.d.ts +21 -0
- package/dist/browser/api/insights/index.d.ts.map +1 -0
- package/dist/browser/api/insights/index.js +85 -0
- package/dist/browser/api/insights/index.js.map +1 -0
- package/dist/browser/api/operations/index.d.ts +9 -0
- package/dist/browser/api/operations/index.d.ts.map +1 -0
- package/dist/browser/api/operations/index.js +23 -0
- package/dist/browser/api/operations/index.js.map +1 -0
- package/dist/browser/api/options.d.ts +56 -0
- package/dist/browser/api/options.d.ts.map +1 -0
- package/dist/browser/api/options.js +4 -0
- package/dist/browser/api/options.js.map +1 -0
- package/dist/browser/api/workloadImpacts/index.d.ts +22 -0
- package/dist/browser/api/workloadImpacts/index.d.ts.map +1 -0
- package/dist/browser/api/workloadImpacts/index.js +94 -0
- package/dist/browser/api/workloadImpacts/index.js.map +1 -0
- package/dist/browser/classic/connectors/index.d.ts +20 -0
- package/dist/browser/classic/connectors/index.d.ts.map +1 -0
- package/dist/browser/classic/connectors/index.js +16 -0
- package/dist/browser/classic/connectors/index.js.map +1 -0
- package/dist/browser/classic/impactCategories/index.d.ts +13 -0
- package/dist/browser/classic/impactCategories/index.d.ts.map +1 -0
- package/dist/browser/classic/impactCategories/index.js +13 -0
- package/dist/browser/classic/impactCategories/index.js.map +1 -0
- package/dist/browser/classic/index.d.ts +6 -0
- package/dist/browser/classic/index.d.ts.map +1 -0
- package/dist/browser/classic/index.js +4 -0
- package/dist/browser/classic/index.js.map +1 -0
- package/dist/browser/classic/insights/index.d.ts +17 -0
- package/dist/browser/classic/insights/index.d.ts.map +1 -0
- package/dist/browser/classic/insights/index.js +15 -0
- package/dist/browser/classic/insights/index.js.map +1 -0
- package/dist/browser/classic/operations/index.d.ts +11 -0
- package/dist/browser/classic/operations/index.d.ts.map +1 -0
- package/dist/browser/classic/operations/index.js +12 -0
- package/dist/browser/classic/operations/index.js.map +1 -0
- package/dist/browser/classic/workloadImpacts/index.d.ts +18 -0
- package/dist/browser/classic/workloadImpacts/index.d.ts.map +1 -0
- package/dist/browser/classic/workloadImpacts/index.js +15 -0
- package/dist/browser/classic/workloadImpacts/index.js.map +1 -0
- package/dist/browser/impactClient.d.ts +26 -0
- package/dist/browser/impactClient.d.ts.map +1 -0
- package/dist/browser/impactClient.js +25 -0
- package/dist/browser/impactClient.js.map +1 -0
- package/dist/browser/index.d.ts +8 -0
- package/dist/browser/index.d.ts.map +1 -0
- package/dist/browser/index.js +6 -0
- package/dist/browser/index.js.map +1 -0
- package/dist/browser/logger.d.ts +2 -0
- package/dist/browser/logger.d.ts.map +1 -0
- package/dist/browser/logger.js +5 -0
- package/dist/browser/logger.js.map +1 -0
- package/dist/browser/models/index.d.ts +2 -0
- package/dist/browser/models/index.d.ts.map +1 -0
- package/dist/browser/models/index.js +4 -0
- package/dist/browser/models/index.js.map +1 -0
- package/dist/browser/models/models.d.ts +641 -0
- package/dist/browser/models/models.d.ts.map +1 -0
- package/dist/browser/models/models.js +660 -0
- package/dist/browser/models/models.js.map +1 -0
- package/dist/browser/package.json +3 -0
- package/dist/browser/restorePollerHelpers.d.ts +21 -0
- package/dist/browser/restorePollerHelpers.d.ts.map +1 -0
- package/dist/browser/restorePollerHelpers.js +98 -0
- package/dist/browser/restorePollerHelpers.js.map +1 -0
- package/dist/browser/static-helpers/pagingHelpers.d.ts +72 -0
- package/dist/browser/static-helpers/pagingHelpers.d.ts.map +1 -0
- package/dist/browser/static-helpers/pagingHelpers.js +137 -0
- package/dist/browser/static-helpers/pagingHelpers.js.map +1 -0
- package/dist/browser/static-helpers/pollingHelpers.d.ts +30 -0
- package/dist/browser/static-helpers/pollingHelpers.d.ts.map +1 -0
- package/dist/browser/static-helpers/pollingHelpers.js +76 -0
- package/dist/browser/static-helpers/pollingHelpers.js.map +1 -0
- package/dist/commonjs/api/connectors/index.d.ts +26 -0
- package/dist/commonjs/api/connectors/index.d.ts.map +1 -0
- package/dist/commonjs/api/connectors/index.js +127 -0
- package/dist/commonjs/api/connectors/index.js.map +1 -0
- package/dist/commonjs/api/impactCategories/index.d.ts +13 -0
- package/dist/commonjs/api/impactCategories/index.d.ts.map +1 -0
- package/dist/commonjs/api/impactCategories/index.js +61 -0
- package/dist/commonjs/api/impactCategories/index.js.map +1 -0
- package/dist/commonjs/api/impactContext.d.ts +17 -0
- package/dist/commonjs/api/impactContext.d.ts.map +1 -0
- package/dist/commonjs/api/impactContext.js +37 -0
- package/dist/commonjs/api/impactContext.js.map +1 -0
- package/dist/commonjs/api/index.d.ts +8 -0
- package/dist/commonjs/api/index.d.ts.map +1 -0
- package/dist/commonjs/api/index.js +29 -0
- package/dist/commonjs/api/index.js.map +1 -0
- package/dist/commonjs/api/insights/index.d.ts +21 -0
- package/dist/commonjs/api/insights/index.d.ts.map +1 -0
- package/dist/commonjs/api/insights/index.js +99 -0
- package/dist/commonjs/api/insights/index.js.map +1 -0
- package/dist/commonjs/api/operations/index.d.ts +9 -0
- package/dist/commonjs/api/operations/index.d.ts.map +1 -0
- package/dist/commonjs/api/operations/index.js +28 -0
- package/dist/commonjs/api/operations/index.js.map +1 -0
- package/dist/commonjs/api/options.d.ts +56 -0
- package/dist/commonjs/api/options.d.ts.map +1 -0
- package/dist/commonjs/api/options.js +5 -0
- package/dist/commonjs/api/options.js.map +1 -0
- package/dist/commonjs/api/workloadImpacts/index.d.ts +22 -0
- package/dist/commonjs/api/workloadImpacts/index.d.ts.map +1 -0
- package/dist/commonjs/api/workloadImpacts/index.js +108 -0
- package/dist/commonjs/api/workloadImpacts/index.js.map +1 -0
- package/dist/commonjs/classic/connectors/index.d.ts +20 -0
- package/dist/commonjs/classic/connectors/index.d.ts.map +1 -0
- package/dist/commonjs/classic/connectors/index.js +19 -0
- package/dist/commonjs/classic/connectors/index.js.map +1 -0
- package/dist/commonjs/classic/impactCategories/index.d.ts +13 -0
- package/dist/commonjs/classic/impactCategories/index.d.ts.map +1 -0
- package/dist/commonjs/classic/impactCategories/index.js +16 -0
- package/dist/commonjs/classic/impactCategories/index.js.map +1 -0
- package/dist/commonjs/classic/index.d.ts +6 -0
- package/dist/commonjs/classic/index.d.ts.map +1 -0
- package/dist/commonjs/classic/index.js +5 -0
- package/dist/commonjs/classic/index.js.map +1 -0
- package/dist/commonjs/classic/insights/index.d.ts +17 -0
- package/dist/commonjs/classic/insights/index.d.ts.map +1 -0
- package/dist/commonjs/classic/insights/index.js +18 -0
- package/dist/commonjs/classic/insights/index.js.map +1 -0
- package/dist/commonjs/classic/operations/index.d.ts +11 -0
- package/dist/commonjs/classic/operations/index.d.ts.map +1 -0
- package/dist/commonjs/classic/operations/index.js +15 -0
- package/dist/commonjs/classic/operations/index.js.map +1 -0
- package/dist/commonjs/classic/workloadImpacts/index.d.ts +18 -0
- package/dist/commonjs/classic/workloadImpacts/index.d.ts.map +1 -0
- package/dist/commonjs/classic/workloadImpacts/index.js +18 -0
- package/dist/commonjs/classic/workloadImpacts/index.js.map +1 -0
- package/dist/commonjs/impactClient.d.ts +26 -0
- package/dist/commonjs/impactClient.d.ts.map +1 -0
- package/dist/commonjs/impactClient.js +29 -0
- package/dist/commonjs/impactClient.js.map +1 -0
- package/dist/commonjs/index.d.ts +8 -0
- package/dist/commonjs/index.d.ts.map +1 -0
- package/dist/commonjs/index.js +22 -0
- package/dist/commonjs/index.js.map +1 -0
- package/dist/commonjs/logger.d.ts +2 -0
- package/dist/commonjs/logger.d.ts.map +1 -0
- package/dist/commonjs/logger.js +8 -0
- package/dist/commonjs/logger.js.map +1 -0
- package/dist/commonjs/models/index.d.ts +2 -0
- package/dist/commonjs/models/index.d.ts.map +1 -0
- package/dist/commonjs/models/index.js +18 -0
- package/dist/commonjs/models/index.js.map +1 -0
- package/dist/commonjs/models/models.d.ts +641 -0
- package/dist/commonjs/models/models.d.ts.map +1 -0
- package/dist/commonjs/models/models.js +731 -0
- package/dist/commonjs/models/models.js.map +1 -0
- package/dist/commonjs/package.json +3 -0
- package/dist/commonjs/restorePollerHelpers.d.ts +21 -0
- package/dist/commonjs/restorePollerHelpers.d.ts.map +1 -0
- package/dist/commonjs/restorePollerHelpers.js +101 -0
- package/dist/commonjs/restorePollerHelpers.js.map +1 -0
- package/dist/commonjs/static-helpers/pagingHelpers.d.ts +72 -0
- package/dist/commonjs/static-helpers/pagingHelpers.d.ts.map +1 -0
- package/dist/commonjs/static-helpers/pagingHelpers.js +140 -0
- package/dist/commonjs/static-helpers/pagingHelpers.js.map +1 -0
- package/dist/commonjs/static-helpers/pollingHelpers.d.ts +30 -0
- package/dist/commonjs/static-helpers/pollingHelpers.d.ts.map +1 -0
- package/dist/commonjs/static-helpers/pollingHelpers.js +79 -0
- package/dist/commonjs/static-helpers/pollingHelpers.js.map +1 -0
- package/dist/commonjs/tsdoc-metadata.json +11 -0
- package/dist/esm/api/connectors/index.d.ts +26 -0
- package/dist/esm/api/connectors/index.d.ts.map +1 -0
- package/dist/esm/api/connectors/index.js +110 -0
- package/dist/esm/api/connectors/index.js.map +1 -0
- package/dist/esm/api/impactCategories/index.d.ts +13 -0
- package/dist/esm/api/impactCategories/index.d.ts.map +1 -0
- package/dist/esm/api/impactCategories/index.js +53 -0
- package/dist/esm/api/impactCategories/index.js.map +1 -0
- package/dist/esm/api/impactContext.d.ts +17 -0
- package/dist/esm/api/impactContext.d.ts.map +1 -0
- package/dist/esm/api/impactContext.js +34 -0
- package/dist/esm/api/impactContext.js.map +1 -0
- package/dist/esm/api/index.d.ts +8 -0
- package/dist/esm/api/index.d.ts.map +1 -0
- package/dist/esm/api/index.js +9 -0
- package/dist/esm/api/index.js.map +1 -0
- package/dist/esm/api/insights/index.d.ts +21 -0
- package/dist/esm/api/insights/index.d.ts.map +1 -0
- package/dist/esm/api/insights/index.js +85 -0
- package/dist/esm/api/insights/index.js.map +1 -0
- package/dist/esm/api/operations/index.d.ts +9 -0
- package/dist/esm/api/operations/index.d.ts.map +1 -0
- package/dist/esm/api/operations/index.js +23 -0
- package/dist/esm/api/operations/index.js.map +1 -0
- package/dist/esm/api/options.d.ts +56 -0
- package/dist/esm/api/options.d.ts.map +1 -0
- package/dist/esm/api/options.js +4 -0
- package/dist/esm/api/options.js.map +1 -0
- package/dist/esm/api/workloadImpacts/index.d.ts +22 -0
- package/dist/esm/api/workloadImpacts/index.d.ts.map +1 -0
- package/dist/esm/api/workloadImpacts/index.js +94 -0
- package/dist/esm/api/workloadImpacts/index.js.map +1 -0
- package/dist/esm/classic/connectors/index.d.ts +20 -0
- package/dist/esm/classic/connectors/index.d.ts.map +1 -0
- package/dist/esm/classic/connectors/index.js +16 -0
- package/dist/esm/classic/connectors/index.js.map +1 -0
- package/dist/esm/classic/impactCategories/index.d.ts +13 -0
- package/dist/esm/classic/impactCategories/index.d.ts.map +1 -0
- package/dist/esm/classic/impactCategories/index.js +13 -0
- package/dist/esm/classic/impactCategories/index.js.map +1 -0
- package/dist/esm/classic/index.d.ts +6 -0
- package/dist/esm/classic/index.d.ts.map +1 -0
- package/dist/esm/classic/index.js +4 -0
- package/dist/esm/classic/index.js.map +1 -0
- package/dist/esm/classic/insights/index.d.ts +17 -0
- package/dist/esm/classic/insights/index.d.ts.map +1 -0
- package/dist/esm/classic/insights/index.js +15 -0
- package/dist/esm/classic/insights/index.js.map +1 -0
- package/dist/esm/classic/operations/index.d.ts +11 -0
- package/dist/esm/classic/operations/index.d.ts.map +1 -0
- package/dist/esm/classic/operations/index.js +12 -0
- package/dist/esm/classic/operations/index.js.map +1 -0
- package/dist/esm/classic/workloadImpacts/index.d.ts +18 -0
- package/dist/esm/classic/workloadImpacts/index.d.ts.map +1 -0
- package/dist/esm/classic/workloadImpacts/index.js +15 -0
- package/dist/esm/classic/workloadImpacts/index.js.map +1 -0
- package/dist/esm/impactClient.d.ts +26 -0
- package/dist/esm/impactClient.d.ts.map +1 -0
- package/dist/esm/impactClient.js +25 -0
- package/dist/esm/impactClient.js.map +1 -0
- package/dist/esm/index.d.ts +8 -0
- package/dist/esm/index.d.ts.map +1 -0
- package/dist/esm/index.js +6 -0
- package/dist/esm/index.js.map +1 -0
- package/dist/esm/logger.d.ts +2 -0
- package/dist/esm/logger.d.ts.map +1 -0
- package/dist/esm/logger.js +5 -0
- package/dist/esm/logger.js.map +1 -0
- package/dist/esm/models/index.d.ts +2 -0
- package/dist/esm/models/index.d.ts.map +1 -0
- package/dist/esm/models/index.js +4 -0
- package/dist/esm/models/index.js.map +1 -0
- package/dist/esm/models/models.d.ts +641 -0
- package/dist/esm/models/models.d.ts.map +1 -0
- package/dist/esm/models/models.js +660 -0
- package/dist/esm/models/models.js.map +1 -0
- package/dist/esm/package.json +3 -0
- package/dist/esm/restorePollerHelpers.d.ts +21 -0
- package/dist/esm/restorePollerHelpers.d.ts.map +1 -0
- package/dist/esm/restorePollerHelpers.js +98 -0
- package/dist/esm/restorePollerHelpers.js.map +1 -0
- package/dist/esm/static-helpers/pagingHelpers.d.ts +72 -0
- package/dist/esm/static-helpers/pagingHelpers.d.ts.map +1 -0
- package/dist/esm/static-helpers/pagingHelpers.js +137 -0
- package/dist/esm/static-helpers/pagingHelpers.js.map +1 -0
- package/dist/esm/static-helpers/pollingHelpers.d.ts +30 -0
- package/dist/esm/static-helpers/pollingHelpers.d.ts.map +1 -0
- package/dist/esm/static-helpers/pollingHelpers.js +76 -0
- package/dist/esm/static-helpers/pollingHelpers.js.map +1 -0
- package/dist/react-native/api/connectors/index.d.ts +26 -0
- package/dist/react-native/api/connectors/index.d.ts.map +1 -0
- package/dist/react-native/api/connectors/index.js +110 -0
- package/dist/react-native/api/connectors/index.js.map +1 -0
- package/dist/react-native/api/impactCategories/index.d.ts +13 -0
- package/dist/react-native/api/impactCategories/index.d.ts.map +1 -0
- package/dist/react-native/api/impactCategories/index.js +53 -0
- package/dist/react-native/api/impactCategories/index.js.map +1 -0
- package/dist/react-native/api/impactContext.d.ts +17 -0
- package/dist/react-native/api/impactContext.d.ts.map +1 -0
- package/dist/react-native/api/impactContext.js +34 -0
- package/dist/react-native/api/impactContext.js.map +1 -0
- package/dist/react-native/api/index.d.ts +8 -0
- package/dist/react-native/api/index.d.ts.map +1 -0
- package/dist/react-native/api/index.js +9 -0
- package/dist/react-native/api/index.js.map +1 -0
- package/dist/react-native/api/insights/index.d.ts +21 -0
- package/dist/react-native/api/insights/index.d.ts.map +1 -0
- package/dist/react-native/api/insights/index.js +85 -0
- package/dist/react-native/api/insights/index.js.map +1 -0
- package/dist/react-native/api/operations/index.d.ts +9 -0
- package/dist/react-native/api/operations/index.d.ts.map +1 -0
- package/dist/react-native/api/operations/index.js +23 -0
- package/dist/react-native/api/operations/index.js.map +1 -0
- package/dist/react-native/api/options.d.ts +56 -0
- package/dist/react-native/api/options.d.ts.map +1 -0
- package/dist/react-native/api/options.js +4 -0
- package/dist/react-native/api/options.js.map +1 -0
- package/dist/react-native/api/workloadImpacts/index.d.ts +22 -0
- package/dist/react-native/api/workloadImpacts/index.d.ts.map +1 -0
- package/dist/react-native/api/workloadImpacts/index.js +94 -0
- package/dist/react-native/api/workloadImpacts/index.js.map +1 -0
- package/dist/react-native/classic/connectors/index.d.ts +20 -0
- package/dist/react-native/classic/connectors/index.d.ts.map +1 -0
- package/dist/react-native/classic/connectors/index.js +16 -0
- package/dist/react-native/classic/connectors/index.js.map +1 -0
- package/dist/react-native/classic/impactCategories/index.d.ts +13 -0
- package/dist/react-native/classic/impactCategories/index.d.ts.map +1 -0
- package/dist/react-native/classic/impactCategories/index.js +13 -0
- package/dist/react-native/classic/impactCategories/index.js.map +1 -0
- package/dist/react-native/classic/index.d.ts +6 -0
- package/dist/react-native/classic/index.d.ts.map +1 -0
- package/dist/react-native/classic/index.js +4 -0
- package/dist/react-native/classic/index.js.map +1 -0
- package/dist/react-native/classic/insights/index.d.ts +17 -0
- package/dist/react-native/classic/insights/index.d.ts.map +1 -0
- package/dist/react-native/classic/insights/index.js +15 -0
- package/dist/react-native/classic/insights/index.js.map +1 -0
- package/dist/react-native/classic/operations/index.d.ts +11 -0
- package/dist/react-native/classic/operations/index.d.ts.map +1 -0
- package/dist/react-native/classic/operations/index.js +12 -0
- package/dist/react-native/classic/operations/index.js.map +1 -0
- package/dist/react-native/classic/workloadImpacts/index.d.ts +18 -0
- package/dist/react-native/classic/workloadImpacts/index.d.ts.map +1 -0
- package/dist/react-native/classic/workloadImpacts/index.js +15 -0
- package/dist/react-native/classic/workloadImpacts/index.js.map +1 -0
- package/dist/react-native/impactClient.d.ts +26 -0
- package/dist/react-native/impactClient.d.ts.map +1 -0
- package/dist/react-native/impactClient.js +25 -0
- package/dist/react-native/impactClient.js.map +1 -0
- package/dist/react-native/index.d.ts +8 -0
- package/dist/react-native/index.d.ts.map +1 -0
- package/dist/react-native/index.js +6 -0
- package/dist/react-native/index.js.map +1 -0
- package/dist/react-native/logger.d.ts +2 -0
- package/dist/react-native/logger.d.ts.map +1 -0
- package/dist/react-native/logger.js +5 -0
- package/dist/react-native/logger.js.map +1 -0
- package/dist/react-native/models/index.d.ts +2 -0
- package/dist/react-native/models/index.d.ts.map +1 -0
- package/dist/react-native/models/index.js +4 -0
- package/dist/react-native/models/index.js.map +1 -0
- package/dist/react-native/models/models.d.ts +641 -0
- package/dist/react-native/models/models.d.ts.map +1 -0
- package/dist/react-native/models/models.js +660 -0
- package/dist/react-native/models/models.js.map +1 -0
- package/dist/react-native/package.json +3 -0
- package/dist/react-native/restorePollerHelpers.d.ts +21 -0
- package/dist/react-native/restorePollerHelpers.d.ts.map +1 -0
- package/dist/react-native/restorePollerHelpers.js +98 -0
- package/dist/react-native/restorePollerHelpers.js.map +1 -0
- package/dist/react-native/static-helpers/pagingHelpers.d.ts +72 -0
- package/dist/react-native/static-helpers/pagingHelpers.d.ts.map +1 -0
- package/dist/react-native/static-helpers/pagingHelpers.js +137 -0
- package/dist/react-native/static-helpers/pagingHelpers.js.map +1 -0
- package/dist/react-native/static-helpers/pollingHelpers.d.ts +30 -0
- package/dist/react-native/static-helpers/pollingHelpers.d.ts.map +1 -0
- package/dist/react-native/static-helpers/pollingHelpers.js +76 -0
- package/dist/react-native/static-helpers/pollingHelpers.js.map +1 -0
- package/package.json +164 -0
- package/review/arm-impactreporting-models.api.md +342 -0
- package/review/arm-impactreporting.api.md +497 -0
|
@@ -0,0 +1,660 @@
|
|
|
1
|
+
// Copyright (c) Microsoft Corporation.
|
|
2
|
+
// Licensed under the MIT License.
|
|
3
|
+
export function connectorSerializer(item) {
|
|
4
|
+
return {
|
|
5
|
+
properties: !item["properties"]
|
|
6
|
+
? item["properties"]
|
|
7
|
+
: connectorPropertiesSerializer(item["properties"]),
|
|
8
|
+
};
|
|
9
|
+
}
|
|
10
|
+
export function connectorDeserializer(item) {
|
|
11
|
+
return {
|
|
12
|
+
id: item["id"],
|
|
13
|
+
name: item["name"],
|
|
14
|
+
type: item["type"],
|
|
15
|
+
systemData: !item["systemData"]
|
|
16
|
+
? item["systemData"]
|
|
17
|
+
: systemDataDeserializer(item["systemData"]),
|
|
18
|
+
properties: !item["properties"]
|
|
19
|
+
? item["properties"]
|
|
20
|
+
: connectorPropertiesDeserializer(item["properties"]),
|
|
21
|
+
};
|
|
22
|
+
}
|
|
23
|
+
export function connectorPropertiesSerializer(item) {
|
|
24
|
+
return { connectorType: item["connectorType"] };
|
|
25
|
+
}
|
|
26
|
+
export function connectorPropertiesDeserializer(item) {
|
|
27
|
+
return {
|
|
28
|
+
provisioningState: item["provisioningState"],
|
|
29
|
+
connectorId: item["connectorId"],
|
|
30
|
+
tenantId: item["tenantId"],
|
|
31
|
+
connectorType: item["connectorType"],
|
|
32
|
+
lastRunTimeStamp: new Date(item["lastRunTimeStamp"]),
|
|
33
|
+
};
|
|
34
|
+
}
|
|
35
|
+
/** Provisioning state of the resource. */
|
|
36
|
+
export var KnownProvisioningState;
|
|
37
|
+
(function (KnownProvisioningState) {
|
|
38
|
+
/** Provisioning Succeeded */
|
|
39
|
+
KnownProvisioningState["Succeeded"] = "Succeeded";
|
|
40
|
+
/** Provisioning Failed */
|
|
41
|
+
KnownProvisioningState["Failed"] = "Failed";
|
|
42
|
+
/** Provisioning Canceled */
|
|
43
|
+
KnownProvisioningState["Canceled"] = "Canceled";
|
|
44
|
+
})(KnownProvisioningState || (KnownProvisioningState = {}));
|
|
45
|
+
/** Enum for connector types */
|
|
46
|
+
export var KnownPlatform;
|
|
47
|
+
(function (KnownPlatform) {
|
|
48
|
+
/** Type of Azure Monitor */
|
|
49
|
+
KnownPlatform["AzureMonitor"] = "AzureMonitor";
|
|
50
|
+
})(KnownPlatform || (KnownPlatform = {}));
|
|
51
|
+
export function proxyResourceSerializer(item) {
|
|
52
|
+
return item;
|
|
53
|
+
}
|
|
54
|
+
export function proxyResourceDeserializer(item) {
|
|
55
|
+
return {
|
|
56
|
+
id: item["id"],
|
|
57
|
+
name: item["name"],
|
|
58
|
+
type: item["type"],
|
|
59
|
+
systemData: !item["systemData"]
|
|
60
|
+
? item["systemData"]
|
|
61
|
+
: systemDataDeserializer(item["systemData"]),
|
|
62
|
+
};
|
|
63
|
+
}
|
|
64
|
+
export function resourceSerializer(item) {
|
|
65
|
+
return item;
|
|
66
|
+
}
|
|
67
|
+
export function resourceDeserializer(item) {
|
|
68
|
+
return {
|
|
69
|
+
id: item["id"],
|
|
70
|
+
name: item["name"],
|
|
71
|
+
type: item["type"],
|
|
72
|
+
systemData: !item["systemData"]
|
|
73
|
+
? item["systemData"]
|
|
74
|
+
: systemDataDeserializer(item["systemData"]),
|
|
75
|
+
};
|
|
76
|
+
}
|
|
77
|
+
export function systemDataDeserializer(item) {
|
|
78
|
+
return {
|
|
79
|
+
createdBy: item["createdBy"],
|
|
80
|
+
createdByType: item["createdByType"],
|
|
81
|
+
createdAt: !item["createdAt"] ? item["createdAt"] : new Date(item["createdAt"]),
|
|
82
|
+
lastModifiedBy: item["lastModifiedBy"],
|
|
83
|
+
lastModifiedByType: item["lastModifiedByType"],
|
|
84
|
+
lastModifiedAt: !item["lastModifiedAt"]
|
|
85
|
+
? item["lastModifiedAt"]
|
|
86
|
+
: new Date(item["lastModifiedAt"]),
|
|
87
|
+
};
|
|
88
|
+
}
|
|
89
|
+
/** The kind of entity that created the resource. */
|
|
90
|
+
export var KnownCreatedByType;
|
|
91
|
+
(function (KnownCreatedByType) {
|
|
92
|
+
/** The entity was created by a user. */
|
|
93
|
+
KnownCreatedByType["User"] = "User";
|
|
94
|
+
/** The entity was created by an application. */
|
|
95
|
+
KnownCreatedByType["Application"] = "Application";
|
|
96
|
+
/** The entity was created by a managed identity. */
|
|
97
|
+
KnownCreatedByType["ManagedIdentity"] = "ManagedIdentity";
|
|
98
|
+
/** The entity was created by a key. */
|
|
99
|
+
KnownCreatedByType["Key"] = "Key";
|
|
100
|
+
})(KnownCreatedByType || (KnownCreatedByType = {}));
|
|
101
|
+
export function errorResponseDeserializer(item) {
|
|
102
|
+
return {
|
|
103
|
+
error: !item["error"] ? item["error"] : errorDetailDeserializer(item["error"]),
|
|
104
|
+
};
|
|
105
|
+
}
|
|
106
|
+
export function errorDetailDeserializer(item) {
|
|
107
|
+
return {
|
|
108
|
+
code: item["code"],
|
|
109
|
+
message: item["message"],
|
|
110
|
+
target: item["target"],
|
|
111
|
+
details: !item["details"] ? item["details"] : errorDetailArrayDeserializer(item["details"]),
|
|
112
|
+
additionalInfo: !item["additionalInfo"]
|
|
113
|
+
? item["additionalInfo"]
|
|
114
|
+
: errorAdditionalInfoArrayDeserializer(item["additionalInfo"]),
|
|
115
|
+
};
|
|
116
|
+
}
|
|
117
|
+
export function errorDetailArrayDeserializer(result) {
|
|
118
|
+
return result.map((item) => {
|
|
119
|
+
return errorDetailDeserializer(item);
|
|
120
|
+
});
|
|
121
|
+
}
|
|
122
|
+
export function errorAdditionalInfoArrayDeserializer(result) {
|
|
123
|
+
return result.map((item) => {
|
|
124
|
+
return errorAdditionalInfoDeserializer(item);
|
|
125
|
+
});
|
|
126
|
+
}
|
|
127
|
+
export function errorAdditionalInfoDeserializer(item) {
|
|
128
|
+
return {
|
|
129
|
+
type: item["type"],
|
|
130
|
+
info: !item["info"] ? item["info"] : _errorAdditionalInfoInfoDeserializer(item["info"]),
|
|
131
|
+
};
|
|
132
|
+
}
|
|
133
|
+
export function _errorAdditionalInfoInfoDeserializer(item) {
|
|
134
|
+
return item;
|
|
135
|
+
}
|
|
136
|
+
export function connectorUpdateSerializer(item) {
|
|
137
|
+
return {
|
|
138
|
+
properties: !item["properties"]
|
|
139
|
+
? item["properties"]
|
|
140
|
+
: connectorUpdatePropertiesSerializer(item["properties"]),
|
|
141
|
+
};
|
|
142
|
+
}
|
|
143
|
+
export function connectorUpdatePropertiesSerializer(item) {
|
|
144
|
+
return { connectorType: item["connectorType"] };
|
|
145
|
+
}
|
|
146
|
+
export function _connectorListResultDeserializer(item) {
|
|
147
|
+
return {
|
|
148
|
+
value: connectorArrayDeserializer(item["value"]),
|
|
149
|
+
nextLink: item["nextLink"],
|
|
150
|
+
};
|
|
151
|
+
}
|
|
152
|
+
export function connectorArraySerializer(result) {
|
|
153
|
+
return result.map((item) => {
|
|
154
|
+
return connectorSerializer(item);
|
|
155
|
+
});
|
|
156
|
+
}
|
|
157
|
+
export function connectorArrayDeserializer(result) {
|
|
158
|
+
return result.map((item) => {
|
|
159
|
+
return connectorDeserializer(item);
|
|
160
|
+
});
|
|
161
|
+
}
|
|
162
|
+
export function insightSerializer(item) {
|
|
163
|
+
return {
|
|
164
|
+
properties: !item["properties"]
|
|
165
|
+
? item["properties"]
|
|
166
|
+
: insightPropertiesSerializer(item["properties"]),
|
|
167
|
+
};
|
|
168
|
+
}
|
|
169
|
+
export function insightDeserializer(item) {
|
|
170
|
+
return {
|
|
171
|
+
id: item["id"],
|
|
172
|
+
name: item["name"],
|
|
173
|
+
type: item["type"],
|
|
174
|
+
systemData: !item["systemData"]
|
|
175
|
+
? item["systemData"]
|
|
176
|
+
: systemDataDeserializer(item["systemData"]),
|
|
177
|
+
properties: !item["properties"]
|
|
178
|
+
? item["properties"]
|
|
179
|
+
: insightPropertiesDeserializer(item["properties"]),
|
|
180
|
+
};
|
|
181
|
+
}
|
|
182
|
+
export function insightPropertiesSerializer(item) {
|
|
183
|
+
return {
|
|
184
|
+
category: item["category"],
|
|
185
|
+
status: item["status"],
|
|
186
|
+
eventId: item["eventId"],
|
|
187
|
+
groupId: item["groupId"],
|
|
188
|
+
content: contentSerializer(item["content"]),
|
|
189
|
+
eventTime: !item["eventTime"] ? item["eventTime"] : item["eventTime"].toISOString(),
|
|
190
|
+
insightUniqueId: item["insightUniqueId"],
|
|
191
|
+
impact: impactDetailsSerializer(item["impact"]),
|
|
192
|
+
additionalDetails: !item["additionalDetails"]
|
|
193
|
+
? item["additionalDetails"]
|
|
194
|
+
: _insightPropertiesAdditionalDetailsSerializer(item["additionalDetails"]),
|
|
195
|
+
};
|
|
196
|
+
}
|
|
197
|
+
export function insightPropertiesDeserializer(item) {
|
|
198
|
+
return {
|
|
199
|
+
provisioningState: item["provisioningState"],
|
|
200
|
+
category: item["category"],
|
|
201
|
+
status: item["status"],
|
|
202
|
+
eventId: item["eventId"],
|
|
203
|
+
groupId: item["groupId"],
|
|
204
|
+
content: contentDeserializer(item["content"]),
|
|
205
|
+
eventTime: !item["eventTime"] ? item["eventTime"] : new Date(item["eventTime"]),
|
|
206
|
+
insightUniqueId: item["insightUniqueId"],
|
|
207
|
+
impact: impactDetailsDeserializer(item["impact"]),
|
|
208
|
+
additionalDetails: !item["additionalDetails"]
|
|
209
|
+
? item["additionalDetails"]
|
|
210
|
+
: _insightPropertiesAdditionalDetailsDeserializer(item["additionalDetails"]),
|
|
211
|
+
};
|
|
212
|
+
}
|
|
213
|
+
export function contentSerializer(item) {
|
|
214
|
+
return { title: item["title"], description: item["description"] };
|
|
215
|
+
}
|
|
216
|
+
export function contentDeserializer(item) {
|
|
217
|
+
return {
|
|
218
|
+
title: item["title"],
|
|
219
|
+
description: item["description"],
|
|
220
|
+
};
|
|
221
|
+
}
|
|
222
|
+
export function impactDetailsSerializer(item) {
|
|
223
|
+
return {
|
|
224
|
+
impactedResourceId: item["impactedResourceId"],
|
|
225
|
+
startTime: item["startTime"].toISOString(),
|
|
226
|
+
endTime: !item["endTime"] ? item["endTime"] : item["endTime"].toISOString(),
|
|
227
|
+
impactId: item["impactId"],
|
|
228
|
+
};
|
|
229
|
+
}
|
|
230
|
+
export function impactDetailsDeserializer(item) {
|
|
231
|
+
return {
|
|
232
|
+
impactedResourceId: item["impactedResourceId"],
|
|
233
|
+
startTime: new Date(item["startTime"]),
|
|
234
|
+
endTime: !item["endTime"] ? item["endTime"] : new Date(item["endTime"]),
|
|
235
|
+
impactId: item["impactId"],
|
|
236
|
+
};
|
|
237
|
+
}
|
|
238
|
+
export function _insightPropertiesAdditionalDetailsSerializer(item) {
|
|
239
|
+
return item;
|
|
240
|
+
}
|
|
241
|
+
export function _insightPropertiesAdditionalDetailsDeserializer(item) {
|
|
242
|
+
return item;
|
|
243
|
+
}
|
|
244
|
+
export function _insightListResultDeserializer(item) {
|
|
245
|
+
return {
|
|
246
|
+
value: insightArrayDeserializer(item["value"]),
|
|
247
|
+
nextLink: item["nextLink"],
|
|
248
|
+
};
|
|
249
|
+
}
|
|
250
|
+
export function insightArraySerializer(result) {
|
|
251
|
+
return result.map((item) => {
|
|
252
|
+
return insightSerializer(item);
|
|
253
|
+
});
|
|
254
|
+
}
|
|
255
|
+
export function insightArrayDeserializer(result) {
|
|
256
|
+
return result.map((item) => {
|
|
257
|
+
return insightDeserializer(item);
|
|
258
|
+
});
|
|
259
|
+
}
|
|
260
|
+
export function impactCategoryDeserializer(item) {
|
|
261
|
+
return {
|
|
262
|
+
id: item["id"],
|
|
263
|
+
name: item["name"],
|
|
264
|
+
type: item["type"],
|
|
265
|
+
systemData: !item["systemData"]
|
|
266
|
+
? item["systemData"]
|
|
267
|
+
: systemDataDeserializer(item["systemData"]),
|
|
268
|
+
properties: !item["properties"]
|
|
269
|
+
? item["properties"]
|
|
270
|
+
: impactCategoryPropertiesDeserializer(item["properties"]),
|
|
271
|
+
};
|
|
272
|
+
}
|
|
273
|
+
export function impactCategoryPropertiesDeserializer(item) {
|
|
274
|
+
return {
|
|
275
|
+
provisioningState: item["provisioningState"],
|
|
276
|
+
categoryId: item["categoryId"],
|
|
277
|
+
parentCategoryId: item["parentCategoryId"],
|
|
278
|
+
description: item["description"],
|
|
279
|
+
requiredImpactProperties: !item["requiredImpactProperties"]
|
|
280
|
+
? item["requiredImpactProperties"]
|
|
281
|
+
: requiredImpactPropertiesArrayDeserializer(item["requiredImpactProperties"]),
|
|
282
|
+
};
|
|
283
|
+
}
|
|
284
|
+
export function requiredImpactPropertiesArrayDeserializer(result) {
|
|
285
|
+
return result.map((item) => {
|
|
286
|
+
return requiredImpactPropertiesDeserializer(item);
|
|
287
|
+
});
|
|
288
|
+
}
|
|
289
|
+
export function requiredImpactPropertiesDeserializer(item) {
|
|
290
|
+
return {
|
|
291
|
+
name: item["name"],
|
|
292
|
+
allowedValues: !item["allowedValues"]
|
|
293
|
+
? item["allowedValues"]
|
|
294
|
+
: item["allowedValues"].map((p) => {
|
|
295
|
+
return p;
|
|
296
|
+
}),
|
|
297
|
+
};
|
|
298
|
+
}
|
|
299
|
+
export function _impactCategoryListResultDeserializer(item) {
|
|
300
|
+
return {
|
|
301
|
+
value: impactCategoryArrayDeserializer(item["value"]),
|
|
302
|
+
nextLink: item["nextLink"],
|
|
303
|
+
};
|
|
304
|
+
}
|
|
305
|
+
export function impactCategoryArrayDeserializer(result) {
|
|
306
|
+
return result.map((item) => {
|
|
307
|
+
return impactCategoryDeserializer(item);
|
|
308
|
+
});
|
|
309
|
+
}
|
|
310
|
+
export function workloadImpactSerializer(item) {
|
|
311
|
+
return {
|
|
312
|
+
properties: !item["properties"]
|
|
313
|
+
? item["properties"]
|
|
314
|
+
: workloadImpactPropertiesSerializer(item["properties"]),
|
|
315
|
+
};
|
|
316
|
+
}
|
|
317
|
+
export function workloadImpactDeserializer(item) {
|
|
318
|
+
return {
|
|
319
|
+
id: item["id"],
|
|
320
|
+
name: item["name"],
|
|
321
|
+
type: item["type"],
|
|
322
|
+
systemData: !item["systemData"]
|
|
323
|
+
? item["systemData"]
|
|
324
|
+
: systemDataDeserializer(item["systemData"]),
|
|
325
|
+
properties: !item["properties"]
|
|
326
|
+
? item["properties"]
|
|
327
|
+
: workloadImpactPropertiesDeserializer(item["properties"]),
|
|
328
|
+
};
|
|
329
|
+
}
|
|
330
|
+
export function workloadImpactPropertiesSerializer(item) {
|
|
331
|
+
return {
|
|
332
|
+
startDateTime: item["startDateTime"].toISOString(),
|
|
333
|
+
endDateTime: !item["endDateTime"] ? item["endDateTime"] : item["endDateTime"].toISOString(),
|
|
334
|
+
impactedResourceId: item["impactedResourceId"],
|
|
335
|
+
impactCategory: item["impactCategory"],
|
|
336
|
+
impactDescription: item["impactDescription"],
|
|
337
|
+
armCorrelationIds: !item["armCorrelationIds"]
|
|
338
|
+
? item["armCorrelationIds"]
|
|
339
|
+
: item["armCorrelationIds"].map((p) => {
|
|
340
|
+
return p;
|
|
341
|
+
}),
|
|
342
|
+
performance: !item["performance"]
|
|
343
|
+
? item["performance"]
|
|
344
|
+
: performanceArraySerializer(item["performance"]),
|
|
345
|
+
connectivity: !item["connectivity"]
|
|
346
|
+
? item["connectivity"]
|
|
347
|
+
: connectivitySerializer(item["connectivity"]),
|
|
348
|
+
additionalProperties: !item["additionalProperties"]
|
|
349
|
+
? item["additionalProperties"]
|
|
350
|
+
: _workloadImpactPropertiesAdditionalPropertiesSerializer(item["additionalProperties"]),
|
|
351
|
+
errorDetails: !item["errorDetails"]
|
|
352
|
+
? item["errorDetails"]
|
|
353
|
+
: errorDetailPropertiesSerializer(item["errorDetails"]),
|
|
354
|
+
workload: !item["workload"] ? item["workload"] : workloadSerializer(item["workload"]),
|
|
355
|
+
impactGroupId: item["impactGroupId"],
|
|
356
|
+
confidenceLevel: item["confidenceLevel"],
|
|
357
|
+
clientIncidentDetails: !item["clientIncidentDetails"]
|
|
358
|
+
? item["clientIncidentDetails"]
|
|
359
|
+
: clientIncidentDetailsSerializer(item["clientIncidentDetails"]),
|
|
360
|
+
};
|
|
361
|
+
}
|
|
362
|
+
export function workloadImpactPropertiesDeserializer(item) {
|
|
363
|
+
return {
|
|
364
|
+
provisioningState: item["provisioningState"],
|
|
365
|
+
startDateTime: new Date(item["startDateTime"]),
|
|
366
|
+
endDateTime: !item["endDateTime"] ? item["endDateTime"] : new Date(item["endDateTime"]),
|
|
367
|
+
impactedResourceId: item["impactedResourceId"],
|
|
368
|
+
impactUniqueId: item["impactUniqueId"],
|
|
369
|
+
reportedTimeUtc: !item["reportedTimeUtc"]
|
|
370
|
+
? item["reportedTimeUtc"]
|
|
371
|
+
: new Date(item["reportedTimeUtc"]),
|
|
372
|
+
impactCategory: item["impactCategory"],
|
|
373
|
+
impactDescription: item["impactDescription"],
|
|
374
|
+
armCorrelationIds: !item["armCorrelationIds"]
|
|
375
|
+
? item["armCorrelationIds"]
|
|
376
|
+
: item["armCorrelationIds"].map((p) => {
|
|
377
|
+
return p;
|
|
378
|
+
}),
|
|
379
|
+
performance: !item["performance"]
|
|
380
|
+
? item["performance"]
|
|
381
|
+
: performanceArrayDeserializer(item["performance"]),
|
|
382
|
+
connectivity: !item["connectivity"]
|
|
383
|
+
? item["connectivity"]
|
|
384
|
+
: connectivityDeserializer(item["connectivity"]),
|
|
385
|
+
additionalProperties: !item["additionalProperties"]
|
|
386
|
+
? item["additionalProperties"]
|
|
387
|
+
: _workloadImpactPropertiesAdditionalPropertiesDeserializer(item["additionalProperties"]),
|
|
388
|
+
errorDetails: !item["errorDetails"]
|
|
389
|
+
? item["errorDetails"]
|
|
390
|
+
: errorDetailPropertiesDeserializer(item["errorDetails"]),
|
|
391
|
+
workload: !item["workload"] ? item["workload"] : workloadDeserializer(item["workload"]),
|
|
392
|
+
impactGroupId: item["impactGroupId"],
|
|
393
|
+
confidenceLevel: item["confidenceLevel"],
|
|
394
|
+
clientIncidentDetails: !item["clientIncidentDetails"]
|
|
395
|
+
? item["clientIncidentDetails"]
|
|
396
|
+
: clientIncidentDetailsDeserializer(item["clientIncidentDetails"]),
|
|
397
|
+
};
|
|
398
|
+
}
|
|
399
|
+
export function performanceArraySerializer(result) {
|
|
400
|
+
return result.map((item) => {
|
|
401
|
+
return performanceSerializer(item);
|
|
402
|
+
});
|
|
403
|
+
}
|
|
404
|
+
export function performanceArrayDeserializer(result) {
|
|
405
|
+
return result.map((item) => {
|
|
406
|
+
return performanceDeserializer(item);
|
|
407
|
+
});
|
|
408
|
+
}
|
|
409
|
+
export function performanceSerializer(item) {
|
|
410
|
+
return {
|
|
411
|
+
metricName: item["metricName"],
|
|
412
|
+
expected: item["expected"],
|
|
413
|
+
actual: item["actual"],
|
|
414
|
+
expectedValueRange: !item["expectedValueRange"]
|
|
415
|
+
? item["expectedValueRange"]
|
|
416
|
+
: expectedValueRangeSerializer(item["expectedValueRange"]),
|
|
417
|
+
unit: item["unit"],
|
|
418
|
+
};
|
|
419
|
+
}
|
|
420
|
+
export function performanceDeserializer(item) {
|
|
421
|
+
return {
|
|
422
|
+
metricName: item["metricName"],
|
|
423
|
+
expected: item["expected"],
|
|
424
|
+
actual: item["actual"],
|
|
425
|
+
expectedValueRange: !item["expectedValueRange"]
|
|
426
|
+
? item["expectedValueRange"]
|
|
427
|
+
: expectedValueRangeDeserializer(item["expectedValueRange"]),
|
|
428
|
+
unit: item["unit"],
|
|
429
|
+
};
|
|
430
|
+
}
|
|
431
|
+
export function expectedValueRangeSerializer(item) {
|
|
432
|
+
return { min: item["min"], max: item["max"] };
|
|
433
|
+
}
|
|
434
|
+
export function expectedValueRangeDeserializer(item) {
|
|
435
|
+
return {
|
|
436
|
+
min: item["min"],
|
|
437
|
+
max: item["max"],
|
|
438
|
+
};
|
|
439
|
+
}
|
|
440
|
+
/** List of unit of the metric. */
|
|
441
|
+
export var KnownMetricUnit;
|
|
442
|
+
(function (KnownMetricUnit) {
|
|
443
|
+
/** When measurement is in ByteSeconds */
|
|
444
|
+
KnownMetricUnit["ByteSeconds"] = "ByteSeconds";
|
|
445
|
+
/** When measurement is in Bytes */
|
|
446
|
+
KnownMetricUnit["Bytes"] = "Bytes";
|
|
447
|
+
/** When measurement is in BytesPerSecond */
|
|
448
|
+
KnownMetricUnit["BytesPerSecond"] = "BytesPerSecond";
|
|
449
|
+
/** When measurement is in Cores */
|
|
450
|
+
KnownMetricUnit["Cores"] = "Cores";
|
|
451
|
+
/** When measurement is in Count */
|
|
452
|
+
KnownMetricUnit["Count"] = "Count";
|
|
453
|
+
/** When measurement is in CountPerSecond */
|
|
454
|
+
KnownMetricUnit["CountPerSecond"] = "CountPerSecond";
|
|
455
|
+
/** When measurement is in MilliCores */
|
|
456
|
+
KnownMetricUnit["MilliCores"] = "MilliCores";
|
|
457
|
+
/** When measurement is in MilliSeconds */
|
|
458
|
+
KnownMetricUnit["MilliSeconds"] = "MilliSeconds";
|
|
459
|
+
/** When measurement is in NanoCores */
|
|
460
|
+
KnownMetricUnit["NanoCores"] = "NanoCores";
|
|
461
|
+
/** When measurement is in Percent */
|
|
462
|
+
KnownMetricUnit["Percent"] = "Percent";
|
|
463
|
+
/** When measurement is in Seconds */
|
|
464
|
+
KnownMetricUnit["Seconds"] = "Seconds";
|
|
465
|
+
/** When measurement is in Other than listed */
|
|
466
|
+
KnownMetricUnit["Other"] = "Other";
|
|
467
|
+
})(KnownMetricUnit || (KnownMetricUnit = {}));
|
|
468
|
+
export function connectivitySerializer(item) {
|
|
469
|
+
return {
|
|
470
|
+
protocol: item["protocol"],
|
|
471
|
+
port: item["port"],
|
|
472
|
+
source: !item["source"] ? item["source"] : sourceOrTargetSerializer(item["source"]),
|
|
473
|
+
target: !item["target"] ? item["target"] : sourceOrTargetSerializer(item["target"]),
|
|
474
|
+
};
|
|
475
|
+
}
|
|
476
|
+
export function connectivityDeserializer(item) {
|
|
477
|
+
return {
|
|
478
|
+
protocol: item["protocol"],
|
|
479
|
+
port: item["port"],
|
|
480
|
+
source: !item["source"] ? item["source"] : sourceOrTargetDeserializer(item["source"]),
|
|
481
|
+
target: !item["target"] ? item["target"] : sourceOrTargetDeserializer(item["target"]),
|
|
482
|
+
};
|
|
483
|
+
}
|
|
484
|
+
/** List of protocols */
|
|
485
|
+
export var KnownProtocol;
|
|
486
|
+
(function (KnownProtocol) {
|
|
487
|
+
/** When communication protocol is TCP */
|
|
488
|
+
KnownProtocol["TCP"] = "TCP";
|
|
489
|
+
/** When communication protocol is UDP */
|
|
490
|
+
KnownProtocol["UDP"] = "UDP";
|
|
491
|
+
/** When communication protocol is HTTP */
|
|
492
|
+
KnownProtocol["Http"] = "HTTP";
|
|
493
|
+
/** When communication protocol is HTTPS */
|
|
494
|
+
KnownProtocol["Https"] = "HTTPS";
|
|
495
|
+
/** When communication protocol is RDP */
|
|
496
|
+
KnownProtocol["RDP"] = "RDP";
|
|
497
|
+
/** When communication protocol is FTP */
|
|
498
|
+
KnownProtocol["FTP"] = "FTP";
|
|
499
|
+
/** When communication protocol is SSH */
|
|
500
|
+
KnownProtocol["SSH"] = "SSH";
|
|
501
|
+
/** When communication protocol is Other */
|
|
502
|
+
KnownProtocol["Other"] = "Other";
|
|
503
|
+
})(KnownProtocol || (KnownProtocol = {}));
|
|
504
|
+
export function sourceOrTargetSerializer(item) {
|
|
505
|
+
return { azureResourceId: item["azureResourceId"] };
|
|
506
|
+
}
|
|
507
|
+
export function sourceOrTargetDeserializer(item) {
|
|
508
|
+
return {
|
|
509
|
+
azureResourceId: item["azureResourceId"],
|
|
510
|
+
};
|
|
511
|
+
}
|
|
512
|
+
export function _workloadImpactPropertiesAdditionalPropertiesSerializer(item) {
|
|
513
|
+
return item;
|
|
514
|
+
}
|
|
515
|
+
export function _workloadImpactPropertiesAdditionalPropertiesDeserializer(item) {
|
|
516
|
+
return item;
|
|
517
|
+
}
|
|
518
|
+
export function errorDetailPropertiesSerializer(item) {
|
|
519
|
+
return { errorCode: item["errorCode"], errorMessage: item["errorMessage"] };
|
|
520
|
+
}
|
|
521
|
+
export function errorDetailPropertiesDeserializer(item) {
|
|
522
|
+
return {
|
|
523
|
+
errorCode: item["errorCode"],
|
|
524
|
+
errorMessage: item["errorMessage"],
|
|
525
|
+
};
|
|
526
|
+
}
|
|
527
|
+
export function workloadSerializer(item) {
|
|
528
|
+
return { context: item["context"], toolset: item["toolset"] };
|
|
529
|
+
}
|
|
530
|
+
export function workloadDeserializer(item) {
|
|
531
|
+
return {
|
|
532
|
+
context: item["context"],
|
|
533
|
+
toolset: item["toolset"],
|
|
534
|
+
};
|
|
535
|
+
}
|
|
536
|
+
/** List of azure interfaces. */
|
|
537
|
+
export var KnownToolset;
|
|
538
|
+
(function (KnownToolset) {
|
|
539
|
+
/** If communication toolset is Terraform */
|
|
540
|
+
KnownToolset["Terraform"] = "Terraform";
|
|
541
|
+
/** If communication toolset is Puppet */
|
|
542
|
+
KnownToolset["Puppet"] = "Puppet";
|
|
543
|
+
/** If communication toolset is Chef */
|
|
544
|
+
KnownToolset["Chef"] = "Chef";
|
|
545
|
+
/** If communication toolset is SDK */
|
|
546
|
+
KnownToolset["SDK"] = "SDK";
|
|
547
|
+
/** If communication toolset is Ansible */
|
|
548
|
+
KnownToolset["Ansible"] = "Ansible";
|
|
549
|
+
/** If communication toolset is ARM */
|
|
550
|
+
KnownToolset["ARM"] = "ARM";
|
|
551
|
+
/** If communication toolset is Portal */
|
|
552
|
+
KnownToolset["Portal"] = "Portal";
|
|
553
|
+
/** If communication toolset is Shell */
|
|
554
|
+
KnownToolset["Shell"] = "Shell";
|
|
555
|
+
/** If communication toolset is Other */
|
|
556
|
+
KnownToolset["Other"] = "Other";
|
|
557
|
+
})(KnownToolset || (KnownToolset = {}));
|
|
558
|
+
/** Degree of confidence on the impact being a platform issue. */
|
|
559
|
+
export var KnownConfidenceLevel;
|
|
560
|
+
(function (KnownConfidenceLevel) {
|
|
561
|
+
/** Low confidence on azure being the source of impact */
|
|
562
|
+
KnownConfidenceLevel["Low"] = "Low";
|
|
563
|
+
/** Medium confidence on azure being the source of impact */
|
|
564
|
+
KnownConfidenceLevel["Medium"] = "Medium";
|
|
565
|
+
/** High confidence on azure being the source of impact */
|
|
566
|
+
KnownConfidenceLevel["High"] = "High";
|
|
567
|
+
})(KnownConfidenceLevel || (KnownConfidenceLevel = {}));
|
|
568
|
+
export function clientIncidentDetailsSerializer(item) {
|
|
569
|
+
return {
|
|
570
|
+
clientIncidentId: item["clientIncidentId"],
|
|
571
|
+
clientIncidentSource: item["clientIncidentSource"],
|
|
572
|
+
};
|
|
573
|
+
}
|
|
574
|
+
export function clientIncidentDetailsDeserializer(item) {
|
|
575
|
+
return {
|
|
576
|
+
clientIncidentId: item["clientIncidentId"],
|
|
577
|
+
clientIncidentSource: item["clientIncidentSource"],
|
|
578
|
+
};
|
|
579
|
+
}
|
|
580
|
+
/** List of incident interfaces. */
|
|
581
|
+
export var KnownIncidentSource;
|
|
582
|
+
(function (KnownIncidentSource) {
|
|
583
|
+
/** When source of Incident is AzureDevops */
|
|
584
|
+
KnownIncidentSource["AzureDevops"] = "AzureDevops";
|
|
585
|
+
/** When source of Incident is Microsoft ICM */
|
|
586
|
+
KnownIncidentSource["ICM"] = "ICM";
|
|
587
|
+
/** When source of Incident is Jira */
|
|
588
|
+
KnownIncidentSource["Jira"] = "Jira";
|
|
589
|
+
/** When source of Incident is ServiceNow */
|
|
590
|
+
KnownIncidentSource["ServiceNow"] = "ServiceNow";
|
|
591
|
+
/** When source of Incident is Other */
|
|
592
|
+
KnownIncidentSource["Other"] = "Other";
|
|
593
|
+
})(KnownIncidentSource || (KnownIncidentSource = {}));
|
|
594
|
+
export function _workloadImpactListResultDeserializer(item) {
|
|
595
|
+
return {
|
|
596
|
+
value: workloadImpactArrayDeserializer(item["value"]),
|
|
597
|
+
nextLink: item["nextLink"],
|
|
598
|
+
};
|
|
599
|
+
}
|
|
600
|
+
export function workloadImpactArraySerializer(result) {
|
|
601
|
+
return result.map((item) => {
|
|
602
|
+
return workloadImpactSerializer(item);
|
|
603
|
+
});
|
|
604
|
+
}
|
|
605
|
+
export function workloadImpactArrayDeserializer(result) {
|
|
606
|
+
return result.map((item) => {
|
|
607
|
+
return workloadImpactDeserializer(item);
|
|
608
|
+
});
|
|
609
|
+
}
|
|
610
|
+
export function _operationListResultDeserializer(item) {
|
|
611
|
+
return {
|
|
612
|
+
value: operationArrayDeserializer(item["value"]),
|
|
613
|
+
nextLink: item["nextLink"],
|
|
614
|
+
};
|
|
615
|
+
}
|
|
616
|
+
export function operationArrayDeserializer(result) {
|
|
617
|
+
return result.map((item) => {
|
|
618
|
+
return operationDeserializer(item);
|
|
619
|
+
});
|
|
620
|
+
}
|
|
621
|
+
export function operationDeserializer(item) {
|
|
622
|
+
return {
|
|
623
|
+
name: item["name"],
|
|
624
|
+
isDataAction: item["isDataAction"],
|
|
625
|
+
display: !item["display"] ? item["display"] : operationDisplayDeserializer(item["display"]),
|
|
626
|
+
origin: item["origin"],
|
|
627
|
+
actionType: item["actionType"],
|
|
628
|
+
};
|
|
629
|
+
}
|
|
630
|
+
export function operationDisplayDeserializer(item) {
|
|
631
|
+
return {
|
|
632
|
+
provider: item["provider"],
|
|
633
|
+
resource: item["resource"],
|
|
634
|
+
operation: item["operation"],
|
|
635
|
+
description: item["description"],
|
|
636
|
+
};
|
|
637
|
+
}
|
|
638
|
+
/** The intended executor of the operation; as in Resource Based Access Control (RBAC) and audit logs UX. Default value is "user,system" */
|
|
639
|
+
export var KnownOrigin;
|
|
640
|
+
(function (KnownOrigin) {
|
|
641
|
+
/** Indicates the operation is initiated by a user. */
|
|
642
|
+
KnownOrigin["User"] = "user";
|
|
643
|
+
/** Indicates the operation is initiated by a system. */
|
|
644
|
+
KnownOrigin["System"] = "system";
|
|
645
|
+
/** Indicates the operation is initiated by a user or system. */
|
|
646
|
+
KnownOrigin["UserSystem"] = "user,system";
|
|
647
|
+
})(KnownOrigin || (KnownOrigin = {}));
|
|
648
|
+
/** Extensible enum. Indicates the action type. "Internal" refers to actions that are for internal only APIs. */
|
|
649
|
+
export var KnownActionType;
|
|
650
|
+
(function (KnownActionType) {
|
|
651
|
+
/** Actions are for internal-only APIs. */
|
|
652
|
+
KnownActionType["Internal"] = "Internal";
|
|
653
|
+
})(KnownActionType || (KnownActionType = {}));
|
|
654
|
+
/** API Versions */
|
|
655
|
+
export var KnownVersions;
|
|
656
|
+
(function (KnownVersions) {
|
|
657
|
+
/** May 01, 2024 Preview API Version */
|
|
658
|
+
KnownVersions["V20240501Preview"] = "2024-05-01-preview";
|
|
659
|
+
})(KnownVersions || (KnownVersions = {}));
|
|
660
|
+
//# sourceMappingURL=models.js.map
|