@azure/arm-dependencymap 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/dependencyMapContext.d.ts +19 -0
- package/dist/browser/api/dependencyMapContext.d.ts.map +1 -0
- package/dist/browser/api/dependencyMapContext.js +36 -0
- package/dist/browser/api/dependencyMapContext.js.map +1 -0
- package/dist/browser/api/discoverySources/index.d.ts +3 -0
- package/dist/browser/api/discoverySources/index.d.ts.map +1 -0
- package/dist/browser/api/discoverySources/index.js +4 -0
- package/dist/browser/api/discoverySources/index.js.map +1 -0
- package/dist/browser/api/discoverySources/operations.d.ts +32 -0
- package/dist/browser/api/discoverySources/operations.d.ts.map +1 -0
- package/dist/browser/api/discoverySources/operations.js +166 -0
- package/dist/browser/api/discoverySources/operations.js.map +1 -0
- package/dist/browser/api/discoverySources/options.d.ts +23 -0
- package/dist/browser/api/discoverySources/options.d.ts.map +1 -0
- package/dist/browser/api/discoverySources/options.js +4 -0
- package/dist/browser/api/discoverySources/options.js.map +1 -0
- package/dist/browser/api/index.d.ts +2 -0
- package/dist/browser/api/index.d.ts.map +1 -0
- package/dist/browser/api/index.js +4 -0
- package/dist/browser/api/index.js.map +1 -0
- package/dist/browser/api/maps/index.d.ts +3 -0
- package/dist/browser/api/maps/index.d.ts.map +1 -0
- package/dist/browser/api/maps/index.js +4 -0
- package/dist/browser/api/maps/index.js.map +1 -0
- package/dist/browser/api/maps/operations.d.ts +52 -0
- package/dist/browser/api/maps/operations.d.ts.map +1 -0
- package/dist/browser/api/maps/operations.js +308 -0
- package/dist/browser/api/maps/operations.js.map +1 -0
- package/dist/browser/api/maps/options.d.ts +46 -0
- package/dist/browser/api/maps/options.d.ts.map +1 -0
- package/dist/browser/api/maps/options.js +4 -0
- package/dist/browser/api/maps/options.js.map +1 -0
- package/dist/browser/api/operations/index.d.ts +3 -0
- package/dist/browser/api/operations/index.d.ts.map +1 -0
- package/dist/browser/api/operations/index.js +4 -0
- package/dist/browser/api/operations/index.js.map +1 -0
- package/dist/browser/api/operations/operations.d.ts +10 -0
- package/dist/browser/api/operations/operations.d.ts.map +1 -0
- package/dist/browser/api/operations/operations.js +29 -0
- package/dist/browser/api/operations/operations.js.map +1 -0
- package/dist/browser/api/operations/options.d.ts +5 -0
- package/dist/browser/api/operations/options.d.ts.map +1 -0
- package/dist/browser/api/operations/options.js +4 -0
- package/dist/browser/api/operations/options.js.map +1 -0
- package/dist/browser/classic/discoverySources/index.d.ts +25 -0
- package/dist/browser/classic/discoverySources/index.d.ts.map +1 -0
- package/dist/browser/classic/discoverySources/index.js +16 -0
- package/dist/browser/classic/discoverySources/index.js.map +1 -0
- package/dist/browser/classic/index.d.ts +4 -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/maps/index.d.ts +35 -0
- package/dist/browser/classic/maps/index.d.ts.map +1 -0
- package/dist/browser/classic/maps/index.js +21 -0
- package/dist/browser/classic/maps/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/dependencyMapClient.d.ts +21 -0
- package/dist/browser/dependencyMapClient.d.ts.map +1 -0
- package/dist/browser/dependencyMapClient.js +22 -0
- package/dist/browser/dependencyMapClient.js.map +1 -0
- package/dist/browser/index.d.ts +11 -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 +363 -0
- package/dist/browser/models/models.d.ts.map +1 -0
- package/dist/browser/models/models.js +362 -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 +124 -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/browser/static-helpers/urlTemplate.d.ts +5 -0
- package/dist/browser/static-helpers/urlTemplate.d.ts.map +1 -0
- package/dist/browser/static-helpers/urlTemplate.js +169 -0
- package/dist/browser/static-helpers/urlTemplate.js.map +1 -0
- package/dist/commonjs/api/dependencyMapContext.d.ts +19 -0
- package/dist/commonjs/api/dependencyMapContext.d.ts.map +1 -0
- package/dist/commonjs/api/dependencyMapContext.js +39 -0
- package/dist/commonjs/api/dependencyMapContext.js.map +1 -0
- package/dist/commonjs/api/discoverySources/index.d.ts +3 -0
- package/dist/commonjs/api/discoverySources/index.d.ts.map +1 -0
- package/dist/commonjs/api/discoverySources/index.js +12 -0
- package/dist/commonjs/api/discoverySources/index.js.map +1 -0
- package/dist/commonjs/api/discoverySources/operations.d.ts +32 -0
- package/dist/commonjs/api/discoverySources/operations.d.ts.map +1 -0
- package/dist/commonjs/api/discoverySources/operations.js +183 -0
- package/dist/commonjs/api/discoverySources/operations.js.map +1 -0
- package/dist/commonjs/api/discoverySources/options.d.ts +23 -0
- package/dist/commonjs/api/discoverySources/options.d.ts.map +1 -0
- package/dist/commonjs/api/discoverySources/options.js +5 -0
- package/dist/commonjs/api/discoverySources/options.js.map +1 -0
- package/dist/commonjs/api/index.d.ts +2 -0
- package/dist/commonjs/api/index.d.ts.map +1 -0
- package/dist/commonjs/api/index.js +8 -0
- package/dist/commonjs/api/index.js.map +1 -0
- package/dist/commonjs/api/maps/index.d.ts +3 -0
- package/dist/commonjs/api/maps/index.d.ts.map +1 -0
- package/dist/commonjs/api/maps/index.js +17 -0
- package/dist/commonjs/api/maps/index.js.map +1 -0
- package/dist/commonjs/api/maps/operations.d.ts +52 -0
- package/dist/commonjs/api/maps/operations.d.ts.map +1 -0
- package/dist/commonjs/api/maps/operations.js +340 -0
- package/dist/commonjs/api/maps/operations.js.map +1 -0
- package/dist/commonjs/api/maps/options.d.ts +46 -0
- package/dist/commonjs/api/maps/options.d.ts.map +1 -0
- package/dist/commonjs/api/maps/options.js +5 -0
- package/dist/commonjs/api/maps/options.js.map +1 -0
- package/dist/commonjs/api/operations/index.d.ts +3 -0
- package/dist/commonjs/api/operations/index.d.ts.map +1 -0
- package/dist/commonjs/api/operations/index.js +8 -0
- package/dist/commonjs/api/operations/index.js.map +1 -0
- package/dist/commonjs/api/operations/operations.d.ts +10 -0
- package/dist/commonjs/api/operations/operations.d.ts.map +1 -0
- package/dist/commonjs/api/operations/operations.js +34 -0
- package/dist/commonjs/api/operations/operations.js.map +1 -0
- package/dist/commonjs/api/operations/options.d.ts +5 -0
- package/dist/commonjs/api/operations/options.d.ts.map +1 -0
- package/dist/commonjs/api/operations/options.js +5 -0
- package/dist/commonjs/api/operations/options.js.map +1 -0
- package/dist/commonjs/classic/discoverySources/index.d.ts +25 -0
- package/dist/commonjs/classic/discoverySources/index.d.ts.map +1 -0
- package/dist/commonjs/classic/discoverySources/index.js +19 -0
- package/dist/commonjs/classic/discoverySources/index.js.map +1 -0
- package/dist/commonjs/classic/index.d.ts +4 -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/maps/index.d.ts +35 -0
- package/dist/commonjs/classic/maps/index.d.ts.map +1 -0
- package/dist/commonjs/classic/maps/index.js +24 -0
- package/dist/commonjs/classic/maps/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/dependencyMapClient.d.ts +21 -0
- package/dist/commonjs/dependencyMapClient.d.ts.map +1 -0
- package/dist/commonjs/dependencyMapClient.js +26 -0
- package/dist/commonjs/dependencyMapClient.js.map +1 -0
- package/dist/commonjs/index.d.ts +11 -0
- package/dist/commonjs/index.d.ts.map +1 -0
- package/dist/commonjs/index.js +18 -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 +14 -0
- package/dist/commonjs/models/index.js.map +1 -0
- package/dist/commonjs/models/models.d.ts +363 -0
- package/dist/commonjs/models/models.d.ts.map +1 -0
- package/dist/commonjs/models/models.js +407 -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 +127 -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/static-helpers/urlTemplate.d.ts +5 -0
- package/dist/commonjs/static-helpers/urlTemplate.d.ts.map +1 -0
- package/dist/commonjs/static-helpers/urlTemplate.js +172 -0
- package/dist/commonjs/static-helpers/urlTemplate.js.map +1 -0
- package/dist/commonjs/tsdoc-metadata.json +11 -0
- package/dist/esm/api/dependencyMapContext.d.ts +19 -0
- package/dist/esm/api/dependencyMapContext.d.ts.map +1 -0
- package/dist/esm/api/dependencyMapContext.js +36 -0
- package/dist/esm/api/dependencyMapContext.js.map +1 -0
- package/dist/esm/api/discoverySources/index.d.ts +3 -0
- package/dist/esm/api/discoverySources/index.d.ts.map +1 -0
- package/dist/esm/api/discoverySources/index.js +4 -0
- package/dist/esm/api/discoverySources/index.js.map +1 -0
- package/dist/esm/api/discoverySources/operations.d.ts +32 -0
- package/dist/esm/api/discoverySources/operations.d.ts.map +1 -0
- package/dist/esm/api/discoverySources/operations.js +166 -0
- package/dist/esm/api/discoverySources/operations.js.map +1 -0
- package/dist/esm/api/discoverySources/options.d.ts +23 -0
- package/dist/esm/api/discoverySources/options.d.ts.map +1 -0
- package/dist/esm/api/discoverySources/options.js +4 -0
- package/dist/esm/api/discoverySources/options.js.map +1 -0
- package/dist/esm/api/index.d.ts +2 -0
- package/dist/esm/api/index.d.ts.map +1 -0
- package/dist/esm/api/index.js +4 -0
- package/dist/esm/api/index.js.map +1 -0
- package/dist/esm/api/maps/index.d.ts +3 -0
- package/dist/esm/api/maps/index.d.ts.map +1 -0
- package/dist/esm/api/maps/index.js +4 -0
- package/dist/esm/api/maps/index.js.map +1 -0
- package/dist/esm/api/maps/operations.d.ts +52 -0
- package/dist/esm/api/maps/operations.d.ts.map +1 -0
- package/dist/esm/api/maps/operations.js +308 -0
- package/dist/esm/api/maps/operations.js.map +1 -0
- package/dist/esm/api/maps/options.d.ts +46 -0
- package/dist/esm/api/maps/options.d.ts.map +1 -0
- package/dist/esm/api/maps/options.js +4 -0
- package/dist/esm/api/maps/options.js.map +1 -0
- package/dist/esm/api/operations/index.d.ts +3 -0
- package/dist/esm/api/operations/index.d.ts.map +1 -0
- package/dist/esm/api/operations/index.js +4 -0
- package/dist/esm/api/operations/index.js.map +1 -0
- package/dist/esm/api/operations/operations.d.ts +10 -0
- package/dist/esm/api/operations/operations.d.ts.map +1 -0
- package/dist/esm/api/operations/operations.js +29 -0
- package/dist/esm/api/operations/operations.js.map +1 -0
- package/dist/esm/api/operations/options.d.ts +5 -0
- package/dist/esm/api/operations/options.d.ts.map +1 -0
- package/dist/esm/api/operations/options.js +4 -0
- package/dist/esm/api/operations/options.js.map +1 -0
- package/dist/esm/classic/discoverySources/index.d.ts +25 -0
- package/dist/esm/classic/discoverySources/index.d.ts.map +1 -0
- package/dist/esm/classic/discoverySources/index.js +16 -0
- package/dist/esm/classic/discoverySources/index.js.map +1 -0
- package/dist/esm/classic/index.d.ts +4 -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/maps/index.d.ts +35 -0
- package/dist/esm/classic/maps/index.d.ts.map +1 -0
- package/dist/esm/classic/maps/index.js +21 -0
- package/dist/esm/classic/maps/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/dependencyMapClient.d.ts +21 -0
- package/dist/esm/dependencyMapClient.d.ts.map +1 -0
- package/dist/esm/dependencyMapClient.js +22 -0
- package/dist/esm/dependencyMapClient.js.map +1 -0
- package/dist/esm/index.d.ts +11 -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 +363 -0
- package/dist/esm/models/models.d.ts.map +1 -0
- package/dist/esm/models/models.js +362 -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 +124 -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/esm/static-helpers/urlTemplate.d.ts +5 -0
- package/dist/esm/static-helpers/urlTemplate.d.ts.map +1 -0
- package/dist/esm/static-helpers/urlTemplate.js +169 -0
- package/dist/esm/static-helpers/urlTemplate.js.map +1 -0
- package/dist/react-native/api/dependencyMapContext.d.ts +19 -0
- package/dist/react-native/api/dependencyMapContext.d.ts.map +1 -0
- package/dist/react-native/api/dependencyMapContext.js +36 -0
- package/dist/react-native/api/dependencyMapContext.js.map +1 -0
- package/dist/react-native/api/discoverySources/index.d.ts +3 -0
- package/dist/react-native/api/discoverySources/index.d.ts.map +1 -0
- package/dist/react-native/api/discoverySources/index.js +4 -0
- package/dist/react-native/api/discoverySources/index.js.map +1 -0
- package/dist/react-native/api/discoverySources/operations.d.ts +32 -0
- package/dist/react-native/api/discoverySources/operations.d.ts.map +1 -0
- package/dist/react-native/api/discoverySources/operations.js +166 -0
- package/dist/react-native/api/discoverySources/operations.js.map +1 -0
- package/dist/react-native/api/discoverySources/options.d.ts +23 -0
- package/dist/react-native/api/discoverySources/options.d.ts.map +1 -0
- package/dist/react-native/api/discoverySources/options.js +4 -0
- package/dist/react-native/api/discoverySources/options.js.map +1 -0
- package/dist/react-native/api/index.d.ts +2 -0
- package/dist/react-native/api/index.d.ts.map +1 -0
- package/dist/react-native/api/index.js +4 -0
- package/dist/react-native/api/index.js.map +1 -0
- package/dist/react-native/api/maps/index.d.ts +3 -0
- package/dist/react-native/api/maps/index.d.ts.map +1 -0
- package/dist/react-native/api/maps/index.js +4 -0
- package/dist/react-native/api/maps/index.js.map +1 -0
- package/dist/react-native/api/maps/operations.d.ts +52 -0
- package/dist/react-native/api/maps/operations.d.ts.map +1 -0
- package/dist/react-native/api/maps/operations.js +308 -0
- package/dist/react-native/api/maps/operations.js.map +1 -0
- package/dist/react-native/api/maps/options.d.ts +46 -0
- package/dist/react-native/api/maps/options.d.ts.map +1 -0
- package/dist/react-native/api/maps/options.js +4 -0
- package/dist/react-native/api/maps/options.js.map +1 -0
- package/dist/react-native/api/operations/index.d.ts +3 -0
- package/dist/react-native/api/operations/index.d.ts.map +1 -0
- package/dist/react-native/api/operations/index.js +4 -0
- package/dist/react-native/api/operations/index.js.map +1 -0
- package/dist/react-native/api/operations/operations.d.ts +10 -0
- package/dist/react-native/api/operations/operations.d.ts.map +1 -0
- package/dist/react-native/api/operations/operations.js +29 -0
- package/dist/react-native/api/operations/operations.js.map +1 -0
- package/dist/react-native/api/operations/options.d.ts +5 -0
- package/dist/react-native/api/operations/options.d.ts.map +1 -0
- package/dist/react-native/api/operations/options.js +4 -0
- package/dist/react-native/api/operations/options.js.map +1 -0
- package/dist/react-native/classic/discoverySources/index.d.ts +25 -0
- package/dist/react-native/classic/discoverySources/index.d.ts.map +1 -0
- package/dist/react-native/classic/discoverySources/index.js +16 -0
- package/dist/react-native/classic/discoverySources/index.js.map +1 -0
- package/dist/react-native/classic/index.d.ts +4 -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/maps/index.d.ts +35 -0
- package/dist/react-native/classic/maps/index.d.ts.map +1 -0
- package/dist/react-native/classic/maps/index.js +21 -0
- package/dist/react-native/classic/maps/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/dependencyMapClient.d.ts +21 -0
- package/dist/react-native/dependencyMapClient.d.ts.map +1 -0
- package/dist/react-native/dependencyMapClient.js +22 -0
- package/dist/react-native/dependencyMapClient.js.map +1 -0
- package/dist/react-native/index.d.ts +11 -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 +363 -0
- package/dist/react-native/models/models.d.ts.map +1 -0
- package/dist/react-native/models/models.js +362 -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 +124 -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/dist/react-native/static-helpers/urlTemplate.d.ts +5 -0
- package/dist/react-native/static-helpers/urlTemplate.d.ts.map +1 -0
- package/dist/react-native/static-helpers/urlTemplate.js +169 -0
- package/dist/react-native/static-helpers/urlTemplate.js.map +1 -0
- package/package.json +239 -0
- package/review/arm-dependencymap-api-discoverySources.api.md +52 -0
- package/review/arm-dependencymap-api-maps.api.md +91 -0
- package/review/arm-dependencymap-api-operations.api.md +19 -0
- package/review/arm-dependencymap-api.api.md +27 -0
- package/review/arm-dependencymap-models.api.md +219 -0
- package/review/arm-dependencymap.api.md +371 -0
|
@@ -0,0 +1,407 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// Copyright (c) Microsoft Corporation.
|
|
3
|
+
// Licensed under the MIT License.
|
|
4
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
|
+
exports.KnownVersions = exports.KnownSourceType = exports.KnownProcessNameFilterOperator = exports.KnownCreatedByType = exports.KnownProvisioningState = exports.KnownActionType = exports.KnownOrigin = void 0;
|
|
6
|
+
exports._operationListResultDeserializer = _operationListResultDeserializer;
|
|
7
|
+
exports.operationArrayDeserializer = operationArrayDeserializer;
|
|
8
|
+
exports.operationDeserializer = operationDeserializer;
|
|
9
|
+
exports.operationDisplayDeserializer = operationDisplayDeserializer;
|
|
10
|
+
exports.errorResponseDeserializer = errorResponseDeserializer;
|
|
11
|
+
exports.errorDetailDeserializer = errorDetailDeserializer;
|
|
12
|
+
exports.errorDetailArrayDeserializer = errorDetailArrayDeserializer;
|
|
13
|
+
exports.errorAdditionalInfoArrayDeserializer = errorAdditionalInfoArrayDeserializer;
|
|
14
|
+
exports.errorAdditionalInfoDeserializer = errorAdditionalInfoDeserializer;
|
|
15
|
+
exports._errorAdditionalInfoInfoDeserializer = _errorAdditionalInfoInfoDeserializer;
|
|
16
|
+
exports.mapsResourceSerializer = mapsResourceSerializer;
|
|
17
|
+
exports.mapsResourceDeserializer = mapsResourceDeserializer;
|
|
18
|
+
exports.mapsResourcePropertiesSerializer = mapsResourcePropertiesSerializer;
|
|
19
|
+
exports.mapsResourcePropertiesDeserializer = mapsResourcePropertiesDeserializer;
|
|
20
|
+
exports.trackedResourceSerializer = trackedResourceSerializer;
|
|
21
|
+
exports.trackedResourceDeserializer = trackedResourceDeserializer;
|
|
22
|
+
exports.resourceSerializer = resourceSerializer;
|
|
23
|
+
exports.resourceDeserializer = resourceDeserializer;
|
|
24
|
+
exports.systemDataDeserializer = systemDataDeserializer;
|
|
25
|
+
exports.mapsResourceTagsUpdateSerializer = mapsResourceTagsUpdateSerializer;
|
|
26
|
+
exports._mapsResourceListResultDeserializer = _mapsResourceListResultDeserializer;
|
|
27
|
+
exports.mapsResourceArraySerializer = mapsResourceArraySerializer;
|
|
28
|
+
exports.mapsResourceArrayDeserializer = mapsResourceArrayDeserializer;
|
|
29
|
+
exports.getDependencyViewForFocusedMachineRequestSerializer = getDependencyViewForFocusedMachineRequestSerializer;
|
|
30
|
+
exports.dependencyMapVisualizationFilterSerializer = dependencyMapVisualizationFilterSerializer;
|
|
31
|
+
exports.dateTimeFilterSerializer = dateTimeFilterSerializer;
|
|
32
|
+
exports.processNameFilterSerializer = processNameFilterSerializer;
|
|
33
|
+
exports.getConnectionsWithConnectedMachineForFocusedMachineRequestSerializer = getConnectionsWithConnectedMachineForFocusedMachineRequestSerializer;
|
|
34
|
+
exports.getConnectionsForProcessOnFocusedMachineRequestSerializer = getConnectionsForProcessOnFocusedMachineRequestSerializer;
|
|
35
|
+
exports.exportDependenciesRequestSerializer = exportDependenciesRequestSerializer;
|
|
36
|
+
exports.discoverySourceResourceSerializer = discoverySourceResourceSerializer;
|
|
37
|
+
exports.discoverySourceResourceDeserializer = discoverySourceResourceDeserializer;
|
|
38
|
+
exports.discoverySourceResourcePropertiesSerializer = discoverySourceResourcePropertiesSerializer;
|
|
39
|
+
exports.discoverySourceResourcePropertiesDeserializer = discoverySourceResourcePropertiesDeserializer;
|
|
40
|
+
exports.discoverySourceResourcePropertiesUnionSerializer = discoverySourceResourcePropertiesUnionSerializer;
|
|
41
|
+
exports.discoverySourceResourcePropertiesUnionDeserializer = discoverySourceResourcePropertiesUnionDeserializer;
|
|
42
|
+
exports.offAzureDiscoverySourceResourcePropertiesSerializer = offAzureDiscoverySourceResourcePropertiesSerializer;
|
|
43
|
+
exports.offAzureDiscoverySourceResourcePropertiesDeserializer = offAzureDiscoverySourceResourcePropertiesDeserializer;
|
|
44
|
+
exports.discoverySourceResourceTagsUpdateSerializer = discoverySourceResourceTagsUpdateSerializer;
|
|
45
|
+
exports._discoverySourceResourceListResultDeserializer = _discoverySourceResourceListResultDeserializer;
|
|
46
|
+
exports.discoverySourceResourceArraySerializer = discoverySourceResourceArraySerializer;
|
|
47
|
+
exports.discoverySourceResourceArrayDeserializer = discoverySourceResourceArrayDeserializer;
|
|
48
|
+
function _operationListResultDeserializer(item) {
|
|
49
|
+
return {
|
|
50
|
+
value: operationArrayDeserializer(item["value"]),
|
|
51
|
+
nextLink: item["nextLink"],
|
|
52
|
+
};
|
|
53
|
+
}
|
|
54
|
+
function operationArrayDeserializer(result) {
|
|
55
|
+
return result.map((item) => {
|
|
56
|
+
return operationDeserializer(item);
|
|
57
|
+
});
|
|
58
|
+
}
|
|
59
|
+
function operationDeserializer(item) {
|
|
60
|
+
return {
|
|
61
|
+
name: item["name"],
|
|
62
|
+
isDataAction: item["isDataAction"],
|
|
63
|
+
display: !item["display"] ? item["display"] : operationDisplayDeserializer(item["display"]),
|
|
64
|
+
origin: item["origin"],
|
|
65
|
+
actionType: item["actionType"],
|
|
66
|
+
};
|
|
67
|
+
}
|
|
68
|
+
function operationDisplayDeserializer(item) {
|
|
69
|
+
return {
|
|
70
|
+
provider: item["provider"],
|
|
71
|
+
resource: item["resource"],
|
|
72
|
+
operation: item["operation"],
|
|
73
|
+
description: item["description"],
|
|
74
|
+
};
|
|
75
|
+
}
|
|
76
|
+
/** The intended executor of the operation; as in Resource Based Access Control (RBAC) and audit logs UX. Default value is "user,system" */
|
|
77
|
+
var KnownOrigin;
|
|
78
|
+
(function (KnownOrigin) {
|
|
79
|
+
/** Indicates the operation is initiated by a user. */
|
|
80
|
+
KnownOrigin["User"] = "user";
|
|
81
|
+
/** Indicates the operation is initiated by a system. */
|
|
82
|
+
KnownOrigin["System"] = "system";
|
|
83
|
+
/** Indicates the operation is initiated by a user or system. */
|
|
84
|
+
KnownOrigin["UserSystem"] = "user,system";
|
|
85
|
+
})(KnownOrigin || (exports.KnownOrigin = KnownOrigin = {}));
|
|
86
|
+
/** Extensible enum. Indicates the action type. "Internal" refers to actions that are for internal only APIs. */
|
|
87
|
+
var KnownActionType;
|
|
88
|
+
(function (KnownActionType) {
|
|
89
|
+
/** Actions are for internal-only APIs. */
|
|
90
|
+
KnownActionType["Internal"] = "Internal";
|
|
91
|
+
})(KnownActionType || (exports.KnownActionType = KnownActionType = {}));
|
|
92
|
+
function errorResponseDeserializer(item) {
|
|
93
|
+
return {
|
|
94
|
+
error: !item["error"] ? item["error"] : errorDetailDeserializer(item["error"]),
|
|
95
|
+
};
|
|
96
|
+
}
|
|
97
|
+
function errorDetailDeserializer(item) {
|
|
98
|
+
return {
|
|
99
|
+
code: item["code"],
|
|
100
|
+
message: item["message"],
|
|
101
|
+
target: item["target"],
|
|
102
|
+
details: !item["details"] ? item["details"] : errorDetailArrayDeserializer(item["details"]),
|
|
103
|
+
additionalInfo: !item["additionalInfo"]
|
|
104
|
+
? item["additionalInfo"]
|
|
105
|
+
: errorAdditionalInfoArrayDeserializer(item["additionalInfo"]),
|
|
106
|
+
};
|
|
107
|
+
}
|
|
108
|
+
function errorDetailArrayDeserializer(result) {
|
|
109
|
+
return result.map((item) => {
|
|
110
|
+
return errorDetailDeserializer(item);
|
|
111
|
+
});
|
|
112
|
+
}
|
|
113
|
+
function errorAdditionalInfoArrayDeserializer(result) {
|
|
114
|
+
return result.map((item) => {
|
|
115
|
+
return errorAdditionalInfoDeserializer(item);
|
|
116
|
+
});
|
|
117
|
+
}
|
|
118
|
+
function errorAdditionalInfoDeserializer(item) {
|
|
119
|
+
return {
|
|
120
|
+
type: item["type"],
|
|
121
|
+
info: !item["info"] ? item["info"] : _errorAdditionalInfoInfoDeserializer(item["info"]),
|
|
122
|
+
};
|
|
123
|
+
}
|
|
124
|
+
function _errorAdditionalInfoInfoDeserializer(item) {
|
|
125
|
+
return item;
|
|
126
|
+
}
|
|
127
|
+
function mapsResourceSerializer(item) {
|
|
128
|
+
return {
|
|
129
|
+
tags: item["tags"],
|
|
130
|
+
location: item["location"],
|
|
131
|
+
properties: !item["properties"]
|
|
132
|
+
? item["properties"]
|
|
133
|
+
: mapsResourcePropertiesSerializer(item["properties"]),
|
|
134
|
+
};
|
|
135
|
+
}
|
|
136
|
+
function mapsResourceDeserializer(item) {
|
|
137
|
+
return {
|
|
138
|
+
tags: item["tags"],
|
|
139
|
+
location: item["location"],
|
|
140
|
+
id: item["id"],
|
|
141
|
+
name: item["name"],
|
|
142
|
+
type: item["type"],
|
|
143
|
+
systemData: !item["systemData"]
|
|
144
|
+
? item["systemData"]
|
|
145
|
+
: systemDataDeserializer(item["systemData"]),
|
|
146
|
+
properties: !item["properties"]
|
|
147
|
+
? item["properties"]
|
|
148
|
+
: mapsResourcePropertiesDeserializer(item["properties"]),
|
|
149
|
+
};
|
|
150
|
+
}
|
|
151
|
+
function mapsResourcePropertiesSerializer(item) {
|
|
152
|
+
return item;
|
|
153
|
+
}
|
|
154
|
+
function mapsResourcePropertiesDeserializer(item) {
|
|
155
|
+
return {
|
|
156
|
+
provisioningState: item["provisioningState"],
|
|
157
|
+
};
|
|
158
|
+
}
|
|
159
|
+
/** Provisioning state of the resource */
|
|
160
|
+
var KnownProvisioningState;
|
|
161
|
+
(function (KnownProvisioningState) {
|
|
162
|
+
/** Resource has been created. */
|
|
163
|
+
KnownProvisioningState["Succeeded"] = "Succeeded";
|
|
164
|
+
/** Resource creation failed. */
|
|
165
|
+
KnownProvisioningState["Failed"] = "Failed";
|
|
166
|
+
/** Resource creation was canceled. */
|
|
167
|
+
KnownProvisioningState["Canceled"] = "Canceled";
|
|
168
|
+
/** This state indicates that the resource is being provisioned. */
|
|
169
|
+
KnownProvisioningState["Provisioning"] = "Provisioning";
|
|
170
|
+
/** This state indicates that the resource is being updated. */
|
|
171
|
+
KnownProvisioningState["Updating"] = "Updating";
|
|
172
|
+
/** This state indicates that the resource is being deleted. */
|
|
173
|
+
KnownProvisioningState["Deleting"] = "Deleting";
|
|
174
|
+
/** This state indicates that the operation on the resource has been accepted. */
|
|
175
|
+
KnownProvisioningState["Accepted"] = "Accepted";
|
|
176
|
+
})(KnownProvisioningState || (exports.KnownProvisioningState = KnownProvisioningState = {}));
|
|
177
|
+
function trackedResourceSerializer(item) {
|
|
178
|
+
return { tags: item["tags"], location: item["location"] };
|
|
179
|
+
}
|
|
180
|
+
function trackedResourceDeserializer(item) {
|
|
181
|
+
return {
|
|
182
|
+
id: item["id"],
|
|
183
|
+
name: item["name"],
|
|
184
|
+
type: item["type"],
|
|
185
|
+
systemData: !item["systemData"]
|
|
186
|
+
? item["systemData"]
|
|
187
|
+
: systemDataDeserializer(item["systemData"]),
|
|
188
|
+
tags: item["tags"],
|
|
189
|
+
location: item["location"],
|
|
190
|
+
};
|
|
191
|
+
}
|
|
192
|
+
function resourceSerializer(item) {
|
|
193
|
+
return item;
|
|
194
|
+
}
|
|
195
|
+
function resourceDeserializer(item) {
|
|
196
|
+
return {
|
|
197
|
+
id: item["id"],
|
|
198
|
+
name: item["name"],
|
|
199
|
+
type: item["type"],
|
|
200
|
+
systemData: !item["systemData"]
|
|
201
|
+
? item["systemData"]
|
|
202
|
+
: systemDataDeserializer(item["systemData"]),
|
|
203
|
+
};
|
|
204
|
+
}
|
|
205
|
+
function systemDataDeserializer(item) {
|
|
206
|
+
return {
|
|
207
|
+
createdBy: item["createdBy"],
|
|
208
|
+
createdByType: item["createdByType"],
|
|
209
|
+
createdAt: !item["createdAt"] ? item["createdAt"] : new Date(item["createdAt"]),
|
|
210
|
+
lastModifiedBy: item["lastModifiedBy"],
|
|
211
|
+
lastModifiedByType: item["lastModifiedByType"],
|
|
212
|
+
lastModifiedAt: !item["lastModifiedAt"]
|
|
213
|
+
? item["lastModifiedAt"]
|
|
214
|
+
: new Date(item["lastModifiedAt"]),
|
|
215
|
+
};
|
|
216
|
+
}
|
|
217
|
+
/** The kind of entity that created the resource. */
|
|
218
|
+
var KnownCreatedByType;
|
|
219
|
+
(function (KnownCreatedByType) {
|
|
220
|
+
/** The entity was created by a user. */
|
|
221
|
+
KnownCreatedByType["User"] = "User";
|
|
222
|
+
/** The entity was created by an application. */
|
|
223
|
+
KnownCreatedByType["Application"] = "Application";
|
|
224
|
+
/** The entity was created by a managed identity. */
|
|
225
|
+
KnownCreatedByType["ManagedIdentity"] = "ManagedIdentity";
|
|
226
|
+
/** The entity was created by a key. */
|
|
227
|
+
KnownCreatedByType["Key"] = "Key";
|
|
228
|
+
})(KnownCreatedByType || (exports.KnownCreatedByType = KnownCreatedByType = {}));
|
|
229
|
+
function mapsResourceTagsUpdateSerializer(item) {
|
|
230
|
+
return { tags: item["tags"] };
|
|
231
|
+
}
|
|
232
|
+
function _mapsResourceListResultDeserializer(item) {
|
|
233
|
+
return {
|
|
234
|
+
value: mapsResourceArrayDeserializer(item["value"]),
|
|
235
|
+
nextLink: item["nextLink"],
|
|
236
|
+
};
|
|
237
|
+
}
|
|
238
|
+
function mapsResourceArraySerializer(result) {
|
|
239
|
+
return result.map((item) => {
|
|
240
|
+
return mapsResourceSerializer(item);
|
|
241
|
+
});
|
|
242
|
+
}
|
|
243
|
+
function mapsResourceArrayDeserializer(result) {
|
|
244
|
+
return result.map((item) => {
|
|
245
|
+
return mapsResourceDeserializer(item);
|
|
246
|
+
});
|
|
247
|
+
}
|
|
248
|
+
function getDependencyViewForFocusedMachineRequestSerializer(item) {
|
|
249
|
+
return {
|
|
250
|
+
focusedMachineId: item["focusedMachineId"],
|
|
251
|
+
filters: !item["filters"]
|
|
252
|
+
? item["filters"]
|
|
253
|
+
: dependencyMapVisualizationFilterSerializer(item["filters"]),
|
|
254
|
+
};
|
|
255
|
+
}
|
|
256
|
+
function dependencyMapVisualizationFilterSerializer(item) {
|
|
257
|
+
return {
|
|
258
|
+
dateTime: !item["dateTime"] ? item["dateTime"] : dateTimeFilterSerializer(item["dateTime"]),
|
|
259
|
+
processNameFilter: !item["processNameFilter"]
|
|
260
|
+
? item["processNameFilter"]
|
|
261
|
+
: processNameFilterSerializer(item["processNameFilter"]),
|
|
262
|
+
};
|
|
263
|
+
}
|
|
264
|
+
function dateTimeFilterSerializer(item) {
|
|
265
|
+
return {
|
|
266
|
+
startDateTimeUtc: !item["startDateTimeUtc"]
|
|
267
|
+
? item["startDateTimeUtc"]
|
|
268
|
+
: item["startDateTimeUtc"].toISOString(),
|
|
269
|
+
endDateTimeUtc: !item["endDateTimeUtc"]
|
|
270
|
+
? item["endDateTimeUtc"]
|
|
271
|
+
: item["endDateTimeUtc"].toISOString(),
|
|
272
|
+
};
|
|
273
|
+
}
|
|
274
|
+
function processNameFilterSerializer(item) {
|
|
275
|
+
return {
|
|
276
|
+
operator: item["operator"],
|
|
277
|
+
processNames: item["processNames"].map((p) => {
|
|
278
|
+
return p;
|
|
279
|
+
}),
|
|
280
|
+
};
|
|
281
|
+
}
|
|
282
|
+
/** Operator enum for process name filter */
|
|
283
|
+
var KnownProcessNameFilterOperator;
|
|
284
|
+
(function (KnownProcessNameFilterOperator) {
|
|
285
|
+
/** Operator to include items in the result */
|
|
286
|
+
KnownProcessNameFilterOperator["Contains"] = "contains";
|
|
287
|
+
/** Operator to exclude items in the result */
|
|
288
|
+
KnownProcessNameFilterOperator["NotContains"] = "notContains";
|
|
289
|
+
})(KnownProcessNameFilterOperator || (exports.KnownProcessNameFilterOperator = KnownProcessNameFilterOperator = {}));
|
|
290
|
+
function getConnectionsWithConnectedMachineForFocusedMachineRequestSerializer(item) {
|
|
291
|
+
return {
|
|
292
|
+
focusedMachineId: item["focusedMachineId"],
|
|
293
|
+
connectedMachineId: item["connectedMachineId"],
|
|
294
|
+
filters: !item["filters"]
|
|
295
|
+
? item["filters"]
|
|
296
|
+
: dependencyMapVisualizationFilterSerializer(item["filters"]),
|
|
297
|
+
};
|
|
298
|
+
}
|
|
299
|
+
function getConnectionsForProcessOnFocusedMachineRequestSerializer(item) {
|
|
300
|
+
return {
|
|
301
|
+
focusedMachineId: item["focusedMachineId"],
|
|
302
|
+
processIdOnFocusedMachine: item["processIdOnFocusedMachine"],
|
|
303
|
+
filters: !item["filters"]
|
|
304
|
+
? item["filters"]
|
|
305
|
+
: dependencyMapVisualizationFilterSerializer(item["filters"]),
|
|
306
|
+
};
|
|
307
|
+
}
|
|
308
|
+
function exportDependenciesRequestSerializer(item) {
|
|
309
|
+
return {
|
|
310
|
+
focusedMachineId: item["focusedMachineId"],
|
|
311
|
+
filters: !item["filters"]
|
|
312
|
+
? item["filters"]
|
|
313
|
+
: dependencyMapVisualizationFilterSerializer(item["filters"]),
|
|
314
|
+
};
|
|
315
|
+
}
|
|
316
|
+
function discoverySourceResourceSerializer(item) {
|
|
317
|
+
return {
|
|
318
|
+
tags: item["tags"],
|
|
319
|
+
location: item["location"],
|
|
320
|
+
properties: !item["properties"]
|
|
321
|
+
? item["properties"]
|
|
322
|
+
: discoverySourceResourcePropertiesUnionSerializer(item["properties"]),
|
|
323
|
+
};
|
|
324
|
+
}
|
|
325
|
+
function discoverySourceResourceDeserializer(item) {
|
|
326
|
+
return {
|
|
327
|
+
tags: item["tags"],
|
|
328
|
+
location: item["location"],
|
|
329
|
+
id: item["id"],
|
|
330
|
+
name: item["name"],
|
|
331
|
+
type: item["type"],
|
|
332
|
+
systemData: !item["systemData"]
|
|
333
|
+
? item["systemData"]
|
|
334
|
+
: systemDataDeserializer(item["systemData"]),
|
|
335
|
+
properties: !item["properties"]
|
|
336
|
+
? item["properties"]
|
|
337
|
+
: discoverySourceResourcePropertiesUnionDeserializer(item["properties"]),
|
|
338
|
+
};
|
|
339
|
+
}
|
|
340
|
+
function discoverySourceResourcePropertiesSerializer(item) {
|
|
341
|
+
return { sourceType: item["sourceType"], sourceId: item["sourceId"] };
|
|
342
|
+
}
|
|
343
|
+
function discoverySourceResourcePropertiesDeserializer(item) {
|
|
344
|
+
return {
|
|
345
|
+
provisioningState: item["provisioningState"],
|
|
346
|
+
sourceType: item["sourceType"],
|
|
347
|
+
sourceId: item["sourceId"],
|
|
348
|
+
};
|
|
349
|
+
}
|
|
350
|
+
function discoverySourceResourcePropertiesUnionSerializer(item) {
|
|
351
|
+
switch (item.sourceType) {
|
|
352
|
+
case "OffAzure":
|
|
353
|
+
return offAzureDiscoverySourceResourcePropertiesSerializer(item);
|
|
354
|
+
default:
|
|
355
|
+
return discoverySourceResourcePropertiesSerializer(item);
|
|
356
|
+
}
|
|
357
|
+
}
|
|
358
|
+
function discoverySourceResourcePropertiesUnionDeserializer(item) {
|
|
359
|
+
switch (item.sourceType) {
|
|
360
|
+
case "OffAzure":
|
|
361
|
+
return offAzureDiscoverySourceResourcePropertiesDeserializer(item);
|
|
362
|
+
default:
|
|
363
|
+
return discoverySourceResourcePropertiesDeserializer(item);
|
|
364
|
+
}
|
|
365
|
+
}
|
|
366
|
+
/** Source type of the discoverySource */
|
|
367
|
+
var KnownSourceType;
|
|
368
|
+
(function (KnownSourceType) {
|
|
369
|
+
/** OffAzure source type */
|
|
370
|
+
KnownSourceType["OffAzure"] = "OffAzure";
|
|
371
|
+
})(KnownSourceType || (exports.KnownSourceType = KnownSourceType = {}));
|
|
372
|
+
function offAzureDiscoverySourceResourcePropertiesSerializer(item) {
|
|
373
|
+
return { sourceType: item["sourceType"], sourceId: item["sourceId"] };
|
|
374
|
+
}
|
|
375
|
+
function offAzureDiscoverySourceResourcePropertiesDeserializer(item) {
|
|
376
|
+
return {
|
|
377
|
+
provisioningState: item["provisioningState"],
|
|
378
|
+
sourceType: item["sourceType"],
|
|
379
|
+
sourceId: item["sourceId"],
|
|
380
|
+
};
|
|
381
|
+
}
|
|
382
|
+
function discoverySourceResourceTagsUpdateSerializer(item) {
|
|
383
|
+
return { tags: item["tags"] };
|
|
384
|
+
}
|
|
385
|
+
function _discoverySourceResourceListResultDeserializer(item) {
|
|
386
|
+
return {
|
|
387
|
+
value: discoverySourceResourceArrayDeserializer(item["value"]),
|
|
388
|
+
nextLink: item["nextLink"],
|
|
389
|
+
};
|
|
390
|
+
}
|
|
391
|
+
function discoverySourceResourceArraySerializer(result) {
|
|
392
|
+
return result.map((item) => {
|
|
393
|
+
return discoverySourceResourceSerializer(item);
|
|
394
|
+
});
|
|
395
|
+
}
|
|
396
|
+
function discoverySourceResourceArrayDeserializer(result) {
|
|
397
|
+
return result.map((item) => {
|
|
398
|
+
return discoverySourceResourceDeserializer(item);
|
|
399
|
+
});
|
|
400
|
+
}
|
|
401
|
+
/** The available API versions. */
|
|
402
|
+
var KnownVersions;
|
|
403
|
+
(function (KnownVersions) {
|
|
404
|
+
/** 2025-01-31-preview version */
|
|
405
|
+
KnownVersions["V20250131Preview"] = "2025-01-31-preview";
|
|
406
|
+
})(KnownVersions || (exports.KnownVersions = KnownVersions = {}));
|
|
407
|
+
//# sourceMappingURL=models.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"models.js","sourceRoot":"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,MAAM,CAAC,GAAG,CAAC,CAAC,IAAI,EAAE,EAAE;QACzB,OAAO,mCAAmC,CAAC,IAAI,CAAC,CAAC;IACnD,CAAC,CAAC,CAAC;AACL,CAAC;AAED,kCAAkC;AAClC,IAAY,aAGX;AAHD,WAAY,aAAa;IACvB,iCAAiC;IACjC,wDAAuC,CAAA;AACzC,CAAC,EAHW,aAAa,6BAAb,aAAa,QAGxB","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\n/** A list of REST API operations supported by an Azure Resource Provider. It contains an URL link to get the next set of results. */\nexport interface _OperationListResult {\n /** The Operation items on this page */\n value: Operation[];\n /** The link to the next page of items */\n nextLink?: string;\n}\n\nexport function _operationListResultDeserializer(item: any): _OperationListResult {\n return {\n value: operationArrayDeserializer(item[\"value\"]),\n nextLink: item[\"nextLink\"],\n };\n}\n\nexport function operationArrayDeserializer(result: Array<Operation>): any[] {\n return result.map((item) => {\n return operationDeserializer(item);\n });\n}\n\n/** Details of a REST API operation, returned from the Resource Provider Operations API */\nexport interface Operation {\n /** The name of the operation, as per Resource-Based Access Control (RBAC). Examples: \"Microsoft.Compute/virtualMachines/write\", \"Microsoft.Compute/virtualMachines/capture/action\" */\n readonly name?: string;\n /** Whether the operation applies to data-plane. This is \"true\" for data-plane operations and \"false\" for Azure Resource Manager/control-plane operations. */\n readonly isDataAction?: boolean;\n /** Localized display information for this particular operation. */\n display?: OperationDisplay;\n /** The intended executor of the operation; as in Resource Based Access Control (RBAC) and audit logs UX. Default value is \"user,system\" */\n readonly origin?: Origin;\n /** Extensible enum. Indicates the action type. \"Internal\" refers to actions that are for internal only APIs. */\n readonly actionType?: ActionType;\n}\n\nexport function operationDeserializer(item: any): Operation {\n return {\n name: item[\"name\"],\n isDataAction: item[\"isDataAction\"],\n display: !item[\"display\"] ? item[\"display\"] : operationDisplayDeserializer(item[\"display\"]),\n origin: item[\"origin\"],\n actionType: item[\"actionType\"],\n };\n}\n\n/** Localized display information for and operation. */\nexport interface OperationDisplay {\n /** The localized friendly form of the resource provider name, e.g. \"Microsoft Monitoring Insights\" or \"Microsoft Compute\". */\n readonly provider?: string;\n /** The localized friendly name of the resource type related to this operation. E.g. \"Virtual Machines\" or \"Job Schedule Collections\". */\n readonly resource?: string;\n /** The concise, localized friendly name for the operation; suitable for dropdowns. E.g. \"Create or Update Virtual Machine\", \"Restart Virtual Machine\". */\n readonly operation?: string;\n /** The short, localized friendly description of the operation; suitable for tool tips and detailed views. */\n readonly description?: string;\n}\n\nexport function operationDisplayDeserializer(item: any): OperationDisplay {\n return {\n provider: item[\"provider\"],\n resource: item[\"resource\"],\n operation: item[\"operation\"],\n description: item[\"description\"],\n };\n}\n\n/** The intended executor of the operation; as in Resource Based Access Control (RBAC) and audit logs UX. Default value is \"user,system\" */\nexport enum KnownOrigin {\n /** Indicates the operation is initiated by a user. */\n User = \"user\",\n /** Indicates the operation is initiated by a system. */\n System = \"system\",\n /** Indicates the operation is initiated by a user or system. */\n UserSystem = \"user,system\",\n}\n\n/**\n * The intended executor of the operation; as in Resource Based Access Control (RBAC) and audit logs UX. Default value is \"user,system\" \\\n * {@link KnownOrigin} can be used interchangeably with Origin,\n * this enum contains the known values that the service supports.\n * ### Known values supported by the service\n * **user**: Indicates the operation is initiated by a user. \\\n * **system**: Indicates the operation is initiated by a system. \\\n * **user,system**: Indicates the operation is initiated by a user or system.\n */\nexport type Origin = string;\n\n/** Extensible enum. Indicates the action type. \"Internal\" refers to actions that are for internal only APIs. */\nexport enum KnownActionType {\n /** Actions are for internal-only APIs. */\n Internal = \"Internal\",\n}\n\n/**\n * Extensible enum. Indicates the action type. \"Internal\" refers to actions that are for internal only APIs. \\\n * {@link KnownActionType} can be used interchangeably with ActionType,\n * this enum contains the known values that the service supports.\n * ### Known values supported by the service\n * **Internal**: Actions are for internal-only APIs.\n */\nexport type ActionType = string;\n\n/** Common error response for all Azure Resource Manager APIs to return error details for failed operations. */\nexport interface ErrorResponse {\n /** The error object. */\n error?: ErrorDetail;\n}\n\nexport function errorResponseDeserializer(item: any): ErrorResponse {\n return {\n error: !item[\"error\"] ? item[\"error\"] : errorDetailDeserializer(item[\"error\"]),\n };\n}\n\n/** The error detail. */\nexport interface ErrorDetail {\n /** The error code. */\n readonly code?: string;\n /** The error message. */\n readonly message?: string;\n /** The error target. */\n readonly target?: string;\n /** The error details. */\n readonly details?: ErrorDetail[];\n /** The error additional info. */\n readonly additionalInfo?: ErrorAdditionalInfo[];\n}\n\nexport function errorDetailDeserializer(item: any): ErrorDetail {\n return {\n code: item[\"code\"],\n message: item[\"message\"],\n target: item[\"target\"],\n details: !item[\"details\"] ? item[\"details\"] : errorDetailArrayDeserializer(item[\"details\"]),\n additionalInfo: !item[\"additionalInfo\"]\n ? item[\"additionalInfo\"]\n : errorAdditionalInfoArrayDeserializer(item[\"additionalInfo\"]),\n };\n}\n\nexport function errorDetailArrayDeserializer(result: Array<ErrorDetail>): any[] {\n return result.map((item) => {\n return errorDetailDeserializer(item);\n });\n}\n\nexport function errorAdditionalInfoArrayDeserializer(result: Array<ErrorAdditionalInfo>): any[] {\n return result.map((item) => {\n return errorAdditionalInfoDeserializer(item);\n });\n}\n\n/** The resource management error additional info. */\nexport interface ErrorAdditionalInfo {\n /** The additional info type. */\n readonly type?: string;\n /** The additional info. */\n readonly info?: Record<string, any>;\n}\n\nexport function errorAdditionalInfoDeserializer(item: any): ErrorAdditionalInfo {\n return {\n type: item[\"type\"],\n info: !item[\"info\"] ? item[\"info\"] : _errorAdditionalInfoInfoDeserializer(item[\"info\"]),\n };\n}\n\n/** model interface _ErrorAdditionalInfoInfo */\nexport interface _ErrorAdditionalInfoInfo {}\n\nexport function _errorAdditionalInfoInfoDeserializer(item: any): _ErrorAdditionalInfoInfo {\n return item;\n}\n\n/** A Maps resource */\nexport interface MapsResource extends TrackedResource {\n /** The resource-specific properties for this resource. */\n properties?: MapsResourceProperties;\n}\n\nexport function mapsResourceSerializer(item: MapsResource): any {\n return {\n tags: item[\"tags\"],\n location: item[\"location\"],\n properties: !item[\"properties\"]\n ? item[\"properties\"]\n : mapsResourcePropertiesSerializer(item[\"properties\"]),\n };\n}\n\nexport function mapsResourceDeserializer(item: any): MapsResource {\n return {\n tags: item[\"tags\"],\n location: item[\"location\"],\n id: item[\"id\"],\n name: item[\"name\"],\n type: item[\"type\"],\n systemData: !item[\"systemData\"]\n ? item[\"systemData\"]\n : systemDataDeserializer(item[\"systemData\"]),\n properties: !item[\"properties\"]\n ? item[\"properties\"]\n : mapsResourcePropertiesDeserializer(item[\"properties\"]),\n };\n}\n\n/** The properties of Maps resource */\nexport interface MapsResourceProperties {\n /** Provisioning state of Maps resource. */\n readonly provisioningState?: ProvisioningState;\n}\n\nexport function mapsResourcePropertiesSerializer(item: MapsResourceProperties): any {\n return item;\n}\n\nexport function mapsResourcePropertiesDeserializer(item: any): MapsResourceProperties {\n return {\n provisioningState: item[\"provisioningState\"],\n };\n}\n\n/** Provisioning state of the resource */\nexport enum KnownProvisioningState {\n /** Resource has been created. */\n Succeeded = \"Succeeded\",\n /** Resource creation failed. */\n Failed = \"Failed\",\n /** Resource creation was canceled. */\n Canceled = \"Canceled\",\n /** This state indicates that the resource is being provisioned. */\n Provisioning = \"Provisioning\",\n /** This state indicates that the resource is being updated. */\n Updating = \"Updating\",\n /** This state indicates that the resource is being deleted. */\n Deleting = \"Deleting\",\n /** This state indicates that the operation on the resource has been accepted. */\n Accepted = \"Accepted\",\n}\n\n/**\n * Provisioning state of the resource \\\n * {@link KnownProvisioningState} can be used interchangeably with ProvisioningState,\n * this enum contains the known values that the service supports.\n * ### Known values supported by the service\n * **Succeeded**: Resource has been created. \\\n * **Failed**: Resource creation failed. \\\n * **Canceled**: Resource creation was canceled. \\\n * **Provisioning**: This state indicates that the resource is being provisioned. \\\n * **Updating**: This state indicates that the resource is being updated. \\\n * **Deleting**: This state indicates that the resource is being deleted. \\\n * **Accepted**: This state indicates that the operation on the resource has been accepted.\n */\nexport type ProvisioningState = string;\n\n/** The resource model definition for an Azure Resource Manager tracked top level resource which has 'tags' and a 'location' */\nexport interface TrackedResource extends Resource {\n /** Resource tags. */\n tags?: Record<string, string>;\n /** The geo-location where the resource lives */\n location: string;\n}\n\nexport function trackedResourceSerializer(item: TrackedResource): any {\n return { tags: item[\"tags\"], location: item[\"location\"] };\n}\n\nexport function trackedResourceDeserializer(item: any): TrackedResource {\n return {\n id: item[\"id\"],\n name: item[\"name\"],\n type: item[\"type\"],\n systemData: !item[\"systemData\"]\n ? item[\"systemData\"]\n : systemDataDeserializer(item[\"systemData\"]),\n tags: item[\"tags\"],\n location: item[\"location\"],\n };\n}\n\n/** Common fields that are returned in the response for all Azure Resource Manager resources */\nexport interface Resource {\n /** Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} */\n readonly id?: string;\n /** The name of the resource */\n readonly name?: string;\n /** The type of the resource. E.g. \"Microsoft.Compute/virtualMachines\" or \"Microsoft.Storage/storageAccounts\" */\n readonly type?: string;\n /** Azure Resource Manager metadata containing createdBy and modifiedBy information. */\n readonly systemData?: SystemData;\n}\n\nexport function resourceSerializer(item: Resource): any {\n return item;\n}\n\nexport function resourceDeserializer(item: any): Resource {\n return {\n id: item[\"id\"],\n name: item[\"name\"],\n type: item[\"type\"],\n systemData: !item[\"systemData\"]\n ? item[\"systemData\"]\n : systemDataDeserializer(item[\"systemData\"]),\n };\n}\n\n/** Metadata pertaining to creation and last modification of the resource. */\nexport interface SystemData {\n /** The identity that created the resource. */\n createdBy?: string;\n /** The type of identity that created the resource. */\n createdByType?: CreatedByType;\n /** The timestamp of resource creation (UTC). */\n createdAt?: Date;\n /** The identity that last modified the resource. */\n lastModifiedBy?: string;\n /** The type of identity that last modified the resource. */\n lastModifiedByType?: CreatedByType;\n /** The timestamp of resource last modification (UTC) */\n lastModifiedAt?: Date;\n}\n\nexport function systemDataDeserializer(item: any): SystemData {\n return {\n createdBy: item[\"createdBy\"],\n createdByType: item[\"createdByType\"],\n createdAt: !item[\"createdAt\"] ? item[\"createdAt\"] : new Date(item[\"createdAt\"]),\n lastModifiedBy: item[\"lastModifiedBy\"],\n lastModifiedByType: item[\"lastModifiedByType\"],\n lastModifiedAt: !item[\"lastModifiedAt\"]\n ? item[\"lastModifiedAt\"]\n : new Date(item[\"lastModifiedAt\"]),\n };\n}\n\n/** The kind of entity that created the resource. */\nexport enum KnownCreatedByType {\n /** The entity was created by a user. */\n User = \"User\",\n /** The entity was created by an application. */\n Application = \"Application\",\n /** The entity was created by a managed identity. */\n ManagedIdentity = \"ManagedIdentity\",\n /** The entity was created by a key. */\n Key = \"Key\",\n}\n\n/**\n * The kind of entity that created the resource. \\\n * {@link KnowncreatedByType} can be used interchangeably with createdByType,\n * this enum contains the known values that the service supports.\n * ### Known values supported by the service\n * **User**: The entity was created by a user. \\\n * **Application**: The entity was created by an application. \\\n * **ManagedIdentity**: The entity was created by a managed identity. \\\n * **Key**: The entity was created by a key.\n */\nexport type CreatedByType = string;\n\n/** The type used for updating tags in MapsResource resources. */\nexport interface MapsResourceTagsUpdate {\n /** Resource tags. */\n tags?: Record<string, string>;\n}\n\nexport function mapsResourceTagsUpdateSerializer(item: MapsResourceTagsUpdate): any {\n return { tags: item[\"tags\"] };\n}\n\n/** The response of a MapsResource list operation. */\nexport interface _MapsResourceListResult {\n /** The MapsResource items on this page */\n value: MapsResource[];\n /** The link to the next page of items */\n nextLink?: string;\n}\n\nexport function _mapsResourceListResultDeserializer(item: any): _MapsResourceListResult {\n return {\n value: mapsResourceArrayDeserializer(item[\"value\"]),\n nextLink: item[\"nextLink\"],\n };\n}\n\nexport function mapsResourceArraySerializer(result: Array<MapsResource>): any[] {\n return result.map((item) => {\n return mapsResourceSerializer(item);\n });\n}\n\nexport function mapsResourceArrayDeserializer(result: Array<MapsResource>): any[] {\n return result.map((item) => {\n return mapsResourceDeserializer(item);\n });\n}\n\n/** GetDependencyViewForFocusedMachine request model */\nexport interface GetDependencyViewForFocusedMachineRequest {\n /** Machine arm id */\n focusedMachineId: string;\n /** Filters for GetSingleMachineDependencyView */\n filters?: DependencyMapVisualizationFilter;\n}\n\nexport function getDependencyViewForFocusedMachineRequestSerializer(\n item: GetDependencyViewForFocusedMachineRequest,\n): any {\n return {\n focusedMachineId: item[\"focusedMachineId\"],\n filters: !item[\"filters\"]\n ? item[\"filters\"]\n : dependencyMapVisualizationFilterSerializer(item[\"filters\"]),\n };\n}\n\n/** Filters for dependency map visualization apis */\nexport interface DependencyMapVisualizationFilter {\n /** DateTime filter */\n dateTime?: DateTimeFilter;\n /** Process name filter */\n processNameFilter?: ProcessNameFilter;\n}\n\nexport function dependencyMapVisualizationFilterSerializer(\n item: DependencyMapVisualizationFilter,\n): any {\n return {\n dateTime: !item[\"dateTime\"] ? item[\"dateTime\"] : dateTimeFilterSerializer(item[\"dateTime\"]),\n processNameFilter: !item[\"processNameFilter\"]\n ? item[\"processNameFilter\"]\n : processNameFilterSerializer(item[\"processNameFilter\"]),\n };\n}\n\n/** UTC DateTime filter for dependency map visualization apis */\nexport interface DateTimeFilter {\n /** Start date time for dependency map visualization query */\n startDateTimeUtc?: Date;\n /** End date time for dependency map visualization query */\n endDateTimeUtc?: Date;\n}\n\nexport function dateTimeFilterSerializer(item: DateTimeFilter): any {\n return {\n startDateTimeUtc: !item[\"startDateTimeUtc\"]\n ? item[\"startDateTimeUtc\"]\n : item[\"startDateTimeUtc\"].toISOString(),\n endDateTimeUtc: !item[\"endDateTimeUtc\"]\n ? item[\"endDateTimeUtc\"]\n : item[\"endDateTimeUtc\"].toISOString(),\n };\n}\n\n/** Process name filter for dependency map visualization apis */\nexport interface ProcessNameFilter {\n /** Operator for process name filter */\n operator: ProcessNameFilterOperator;\n /** List of process names on which the operator should be applied */\n processNames: string[];\n}\n\nexport function processNameFilterSerializer(item: ProcessNameFilter): any {\n return {\n operator: item[\"operator\"],\n processNames: item[\"processNames\"].map((p: any) => {\n return p;\n }),\n };\n}\n\n/** Operator enum for process name filter */\nexport enum KnownProcessNameFilterOperator {\n /** Operator to include items in the result */\n Contains = \"contains\",\n /** Operator to exclude items in the result */\n NotContains = \"notContains\",\n}\n\n/**\n * Operator enum for process name filter \\\n * {@link KnownProcessNameFilterOperator} can be used interchangeably with ProcessNameFilterOperator,\n * this enum contains the known values that the service supports.\n * ### Known values supported by the service\n * **contains**: Operator to include items in the result \\\n * **notContains**: Operator to exclude items in the result\n */\nexport type ProcessNameFilterOperator = string;\n\n/** GetConnectionsWithConnectedMachineForFocusedMachine request model */\nexport interface GetConnectionsWithConnectedMachineForFocusedMachineRequest {\n /** Source machine arm id */\n focusedMachineId: string;\n /** Destination machine arm id */\n connectedMachineId: string;\n /** Filters for GetNetworkConnectionsBetweenMachines */\n filters?: DependencyMapVisualizationFilter;\n}\n\nexport function getConnectionsWithConnectedMachineForFocusedMachineRequestSerializer(\n item: GetConnectionsWithConnectedMachineForFocusedMachineRequest,\n): any {\n return {\n focusedMachineId: item[\"focusedMachineId\"],\n connectedMachineId: item[\"connectedMachineId\"],\n filters: !item[\"filters\"]\n ? item[\"filters\"]\n : dependencyMapVisualizationFilterSerializer(item[\"filters\"]),\n };\n}\n\n/** GetConnectionsForProcessOnFocusedMachine request model */\nexport interface GetConnectionsForProcessOnFocusedMachineRequest {\n /** Machine arm id */\n focusedMachineId: string;\n /** Process id */\n processIdOnFocusedMachine: string;\n /** Filters for GetProcessNetworkConnections */\n filters?: DependencyMapVisualizationFilter;\n}\n\nexport function getConnectionsForProcessOnFocusedMachineRequestSerializer(\n item: GetConnectionsForProcessOnFocusedMachineRequest,\n): any {\n return {\n focusedMachineId: item[\"focusedMachineId\"],\n processIdOnFocusedMachine: item[\"processIdOnFocusedMachine\"],\n filters: !item[\"filters\"]\n ? item[\"filters\"]\n : dependencyMapVisualizationFilterSerializer(item[\"filters\"]),\n };\n}\n\n/** ExportDependencies request model */\nexport interface ExportDependenciesRequest {\n /** Machine arm id */\n focusedMachineId: string;\n /** Filters for ExportDependencies */\n filters?: DependencyMapVisualizationFilter;\n}\n\nexport function exportDependenciesRequestSerializer(item: ExportDependenciesRequest): any {\n return {\n focusedMachineId: item[\"focusedMachineId\"],\n filters: !item[\"filters\"]\n ? item[\"filters\"]\n : dependencyMapVisualizationFilterSerializer(item[\"filters\"]),\n };\n}\n\n/** A Discovery Source resource */\nexport interface DiscoverySourceResource extends TrackedResource {\n /** The resource-specific properties for this resource. */\n properties?: DiscoverySourceResourcePropertiesUnion;\n}\n\nexport function discoverySourceResourceSerializer(item: DiscoverySourceResource): any {\n return {\n tags: item[\"tags\"],\n location: item[\"location\"],\n properties: !item[\"properties\"]\n ? item[\"properties\"]\n : discoverySourceResourcePropertiesUnionSerializer(item[\"properties\"]),\n };\n}\n\nexport function discoverySourceResourceDeserializer(item: any): DiscoverySourceResource {\n return {\n tags: item[\"tags\"],\n location: item[\"location\"],\n id: item[\"id\"],\n name: item[\"name\"],\n type: item[\"type\"],\n systemData: !item[\"systemData\"]\n ? item[\"systemData\"]\n : systemDataDeserializer(item[\"systemData\"]),\n properties: !item[\"properties\"]\n ? item[\"properties\"]\n : discoverySourceResourcePropertiesUnionDeserializer(item[\"properties\"]),\n };\n}\n\n/** The properties of Discovery Source resource */\nexport interface DiscoverySourceResourceProperties {\n /** Provisioning state of Discovery Source resource. */\n readonly provisioningState?: ProvisioningState;\n /** Source type of Discovery Source resource. */\n /** The discriminator possible values: OffAzure */\n sourceType: SourceType;\n /** Source ArmId of Discovery Source resource */\n sourceId: string;\n}\n\nexport function discoverySourceResourcePropertiesSerializer(\n item: DiscoverySourceResourceProperties,\n): any {\n return { sourceType: item[\"sourceType\"], sourceId: item[\"sourceId\"] };\n}\n\nexport function discoverySourceResourcePropertiesDeserializer(\n item: any,\n): DiscoverySourceResourceProperties {\n return {\n provisioningState: item[\"provisioningState\"],\n sourceType: item[\"sourceType\"],\n sourceId: item[\"sourceId\"],\n };\n}\n\n/** Alias for DiscoverySourceResourcePropertiesUnion */\nexport type DiscoverySourceResourcePropertiesUnion =\n | OffAzureDiscoverySourceResourceProperties\n | DiscoverySourceResourceProperties;\n\nexport function discoverySourceResourcePropertiesUnionSerializer(\n item: DiscoverySourceResourcePropertiesUnion,\n): any {\n switch (item.sourceType) {\n case \"OffAzure\":\n return offAzureDiscoverySourceResourcePropertiesSerializer(\n item as OffAzureDiscoverySourceResourceProperties,\n );\n\n default:\n return discoverySourceResourcePropertiesSerializer(item);\n }\n}\n\nexport function discoverySourceResourcePropertiesUnionDeserializer(\n item: any,\n): DiscoverySourceResourcePropertiesUnion {\n switch (item.sourceType) {\n case \"OffAzure\":\n return offAzureDiscoverySourceResourcePropertiesDeserializer(\n item as OffAzureDiscoverySourceResourceProperties,\n );\n\n default:\n return discoverySourceResourcePropertiesDeserializer(item);\n }\n}\n\n/** Source type of the discoverySource */\nexport enum KnownSourceType {\n /** OffAzure source type */\n OffAzure = \"OffAzure\",\n}\n\n/**\n * Source type of the discoverySource \\\n * {@link KnownSourceType} can be used interchangeably with SourceType,\n * this enum contains the known values that the service supports.\n * ### Known values supported by the service\n * **OffAzure**: OffAzure source type\n */\nexport type SourceType = string;\n\n/** OffAzure discovery source resource properties */\nexport interface OffAzureDiscoverySourceResourceProperties\n extends DiscoverySourceResourceProperties {\n /** OffAzure discovery source type */\n sourceType: \"OffAzure\";\n}\n\nexport function offAzureDiscoverySourceResourcePropertiesSerializer(\n item: OffAzureDiscoverySourceResourceProperties,\n): any {\n return { sourceType: item[\"sourceType\"], sourceId: item[\"sourceId\"] };\n}\n\nexport function offAzureDiscoverySourceResourcePropertiesDeserializer(\n item: any,\n): OffAzureDiscoverySourceResourceProperties {\n return {\n provisioningState: item[\"provisioningState\"],\n sourceType: item[\"sourceType\"],\n sourceId: item[\"sourceId\"],\n };\n}\n\n/** The type used for updating tags in DiscoverySourceResource resources. */\nexport interface DiscoverySourceResourceTagsUpdate {\n /** Resource tags. */\n tags?: Record<string, string>;\n}\n\nexport function discoverySourceResourceTagsUpdateSerializer(\n item: DiscoverySourceResourceTagsUpdate,\n): any {\n return { tags: item[\"tags\"] };\n}\n\n/** The response of a DiscoverySourceResource list operation. */\nexport interface _DiscoverySourceResourceListResult {\n /** The DiscoverySourceResource items on this page */\n value: DiscoverySourceResource[];\n /** The link to the next page of items */\n nextLink?: string;\n}\n\nexport function _discoverySourceResourceListResultDeserializer(\n item: any,\n): _DiscoverySourceResourceListResult {\n return {\n value: discoverySourceResourceArrayDeserializer(item[\"value\"]),\n nextLink: item[\"nextLink\"],\n };\n}\n\nexport function discoverySourceResourceArraySerializer(\n result: Array<DiscoverySourceResource>,\n): any[] {\n return result.map((item) => {\n return discoverySourceResourceSerializer(item);\n });\n}\n\nexport function discoverySourceResourceArrayDeserializer(\n result: Array<DiscoverySourceResource>,\n): any[] {\n return result.map((item) => {\n return discoverySourceResourceDeserializer(item);\n });\n}\n\n/** The available API versions. */\nexport enum KnownVersions {\n /** 2025-01-31-preview version */\n V20250131Preview = \"2025-01-31-preview\",\n}\n"]}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { DependencyMapClient } from "./dependencyMapClient.js";
|
|
2
|
+
import { OperationOptions, PathUncheckedResponse } from "@azure-rest/core-client";
|
|
3
|
+
import { AbortSignalLike } from "@azure/abort-controller";
|
|
4
|
+
import { PollerLike, OperationState } from "@azure/core-lro";
|
|
5
|
+
export interface RestorePollerOptions<TResult, TResponse extends PathUncheckedResponse = PathUncheckedResponse> extends OperationOptions {
|
|
6
|
+
/** Delay to wait until next poll, in milliseconds. */
|
|
7
|
+
updateIntervalInMs?: number;
|
|
8
|
+
/**
|
|
9
|
+
* The signal which can be used to abort requests.
|
|
10
|
+
*/
|
|
11
|
+
abortSignal?: AbortSignalLike;
|
|
12
|
+
/** Deserialization function for raw response body */
|
|
13
|
+
processResponseBody?: (result: TResponse) => Promise<TResult>;
|
|
14
|
+
}
|
|
15
|
+
/**
|
|
16
|
+
* Creates a poller from the serialized state of another poller. This can be
|
|
17
|
+
* useful when you want to create pollers on a different host or a poller
|
|
18
|
+
* needs to be constructed after the original one is not in scope.
|
|
19
|
+
*/
|
|
20
|
+
export declare function restorePoller<TResponse extends PathUncheckedResponse, TResult>(client: DependencyMapClient, serializedState: string, sourceOperation: (...args: any[]) => PollerLike<OperationState<TResult>, TResult>, options?: RestorePollerOptions<TResult>): PollerLike<OperationState<TResult>, TResult>;
|
|
21
|
+
//# sourceMappingURL=restorePollerHelpers.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"restorePollerHelpers.d.ts","sourceRoot":"","sources":["../../src/restorePollerHelpers.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,mBAAmB,EAAE,MAAM,0BAA0B,CAAC;AAgB/D,OAAO,EAAE,gBAAgB,EAAE,qBAAqB,EAAE,MAAM,yBAAyB,CAAC;AAClF,OAAO,EAAE,eAAe,EAAE,MAAM,yBAAyB,CAAC;AAC1D,OAAO,EACL,UAAU,EACV,cAAc,EAGf,MAAM,iBAAiB,CAAC;AAEzB,MAAM,WAAW,oBAAoB,CACnC,OAAO,EACP,SAAS,SAAS,qBAAqB,GAAG,qBAAqB,CAC/D,SAAQ,gBAAgB;IACxB,sDAAsD;IACtD,kBAAkB,CAAC,EAAE,MAAM,CAAC;IAC5B;;OAEG;IACH,WAAW,CAAC,EAAE,eAAe,CAAC;IAC9B,qDAAqD;IACrD,mBAAmB,CAAC,EAAE,CAAC,MAAM,EAAE,SAAS,KAAK,OAAO,CAAC,OAAO,CAAC,CAAC;CAC/D;AAED;;;;GAIG;AACH,wBAAgB,aAAa,CAAC,SAAS,SAAS,qBAAqB,EAAE,OAAO,EAC5E,MAAM,EAAE,mBAAmB,EAC3B,eAAe,EAAE,MAAM,EACvB,eAAe,EAAE,CAAC,GAAG,IAAI,EAAE,GAAG,EAAE,KAAK,UAAU,CAAC,cAAc,CAAC,OAAO,CAAC,EAAE,OAAO,CAAC,EACjF,OAAO,CAAC,EAAE,oBAAoB,CAAC,OAAO,CAAC,GACtC,UAAU,CAAC,cAAc,CAAC,OAAO,CAAC,EAAE,OAAO,CAAC,CA+B9C"}
|
|
@@ -0,0 +1,127 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// Copyright (c) Microsoft Corporation.
|
|
3
|
+
// Licensed under the MIT License.
|
|
4
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
|
+
exports.restorePoller = restorePoller;
|
|
6
|
+
const operations_js_1 = require("./api/discoverySources/operations.js");
|
|
7
|
+
const operations_js_2 = require("./api/maps/operations.js");
|
|
8
|
+
const pollingHelpers_js_1 = require("./static-helpers/pollingHelpers.js");
|
|
9
|
+
const core_lro_1 = require("@azure/core-lro");
|
|
10
|
+
/**
|
|
11
|
+
* Creates a poller from the serialized state of another poller. This can be
|
|
12
|
+
* useful when you want to create pollers on a different host or a poller
|
|
13
|
+
* needs to be constructed after the original one is not in scope.
|
|
14
|
+
*/
|
|
15
|
+
function restorePoller(client, serializedState, sourceOperation, options) {
|
|
16
|
+
var _a, _b, _c;
|
|
17
|
+
const pollerConfig = (0, core_lro_1.deserializeState)(serializedState).config;
|
|
18
|
+
const { initialRequestUrl, requestMethod, metadata } = pollerConfig;
|
|
19
|
+
if (!initialRequestUrl || !requestMethod) {
|
|
20
|
+
throw new Error(`Invalid serialized state: ${serializedState} for sourceOperation ${sourceOperation === null || sourceOperation === void 0 ? void 0 : sourceOperation.name}`);
|
|
21
|
+
}
|
|
22
|
+
const resourceLocationConfig = metadata === null || metadata === void 0 ? void 0 : metadata["resourceLocationConfig"];
|
|
23
|
+
const { deserializer, expectedStatuses = [] } = (_a = getDeserializationHelper(initialRequestUrl, requestMethod)) !== null && _a !== void 0 ? _a : {};
|
|
24
|
+
const deserializeHelper = (_b = options === null || options === void 0 ? void 0 : options.processResponseBody) !== null && _b !== void 0 ? _b : deserializer;
|
|
25
|
+
if (!deserializeHelper) {
|
|
26
|
+
throw new Error(`Please ensure the operation is in this client! We can't find its deserializeHelper for ${sourceOperation === null || sourceOperation === void 0 ? void 0 : sourceOperation.name}.`);
|
|
27
|
+
}
|
|
28
|
+
return (0, pollingHelpers_js_1.getLongRunningPoller)((_c = client["_client"]) !== null && _c !== void 0 ? _c : client, deserializeHelper, expectedStatuses, {
|
|
29
|
+
updateIntervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
|
|
30
|
+
abortSignal: options === null || options === void 0 ? void 0 : options.abortSignal,
|
|
31
|
+
resourceLocationConfig,
|
|
32
|
+
restoreFrom: serializedState,
|
|
33
|
+
initialRequestUrl,
|
|
34
|
+
});
|
|
35
|
+
}
|
|
36
|
+
const deserializeMap = {
|
|
37
|
+
"DELETE /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DependencyMap/maps/{mapName}/discoverySources/{sourceName}": {
|
|
38
|
+
deserializer: operations_js_1._$deleteDeserialize,
|
|
39
|
+
expectedStatuses: ["202", "204", "200"],
|
|
40
|
+
},
|
|
41
|
+
"PATCH /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DependencyMap/maps/{mapName}/discoverySources/{sourceName}": { deserializer: operations_js_1._updateDeserialize, expectedStatuses: ["200", "202"] },
|
|
42
|
+
"PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DependencyMap/maps/{mapName}/discoverySources/{sourceName}": {
|
|
43
|
+
deserializer: operations_js_1._createOrUpdateDeserialize,
|
|
44
|
+
expectedStatuses: ["200", "201"],
|
|
45
|
+
},
|
|
46
|
+
"POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DependencyMap/maps/{mapName}/exportDependencies": {
|
|
47
|
+
deserializer: operations_js_2._exportDependenciesDeserialize,
|
|
48
|
+
expectedStatuses: ["202", "200"],
|
|
49
|
+
},
|
|
50
|
+
"POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DependencyMap/maps/{mapName}/getConnectionsForProcessOnFocusedMachine": {
|
|
51
|
+
deserializer: operations_js_2._getConnectionsForProcessOnFocusedMachineDeserialize,
|
|
52
|
+
expectedStatuses: ["202", "200"],
|
|
53
|
+
},
|
|
54
|
+
"POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DependencyMap/maps/{mapName}/getConnectionsWithConnectedMachineForFocusedMachine": {
|
|
55
|
+
deserializer: operations_js_2._getConnectionsWithConnectedMachineForFocusedMachineDeserialize,
|
|
56
|
+
expectedStatuses: ["202", "200"],
|
|
57
|
+
},
|
|
58
|
+
"POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DependencyMap/maps/{mapName}/getDependencyViewForFocusedMachine": {
|
|
59
|
+
deserializer: operations_js_2._getDependencyViewForFocusedMachineDeserialize,
|
|
60
|
+
expectedStatuses: ["202", "200"],
|
|
61
|
+
},
|
|
62
|
+
"DELETE /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DependencyMap/maps/{mapName}": {
|
|
63
|
+
deserializer: operations_js_2._$deleteDeserialize,
|
|
64
|
+
expectedStatuses: ["202", "204", "200"],
|
|
65
|
+
},
|
|
66
|
+
"PATCH /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DependencyMap/maps/{mapName}": { deserializer: operations_js_2._updateDeserialize, expectedStatuses: ["200", "202"] },
|
|
67
|
+
"PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DependencyMap/maps/{mapName}": {
|
|
68
|
+
deserializer: operations_js_2._createOrUpdateDeserialize,
|
|
69
|
+
expectedStatuses: ["200", "201"],
|
|
70
|
+
},
|
|
71
|
+
};
|
|
72
|
+
function getDeserializationHelper(urlStr, method) {
|
|
73
|
+
var _a, _b, _c, _d;
|
|
74
|
+
const path = new URL(urlStr).pathname;
|
|
75
|
+
const pathParts = path.split("/");
|
|
76
|
+
// Traverse list to match the longest candidate
|
|
77
|
+
// matchedLen: the length of candidate path
|
|
78
|
+
// matchedValue: the matched status code array
|
|
79
|
+
let matchedLen = -1, matchedValue;
|
|
80
|
+
// Iterate the responseMap to find a match
|
|
81
|
+
for (const [key, value] of Object.entries(deserializeMap)) {
|
|
82
|
+
// Extracting the path from the map key which is in format
|
|
83
|
+
// GET /path/foo
|
|
84
|
+
if (!key.startsWith(method)) {
|
|
85
|
+
continue;
|
|
86
|
+
}
|
|
87
|
+
const candidatePath = getPathFromMapKey(key);
|
|
88
|
+
// Get each part of the url path
|
|
89
|
+
const candidateParts = candidatePath.split("/");
|
|
90
|
+
// track if we have found a match to return the values found.
|
|
91
|
+
let found = true;
|
|
92
|
+
for (let i = candidateParts.length - 1, j = pathParts.length - 1; i >= 1 && j >= 1; i--, j--) {
|
|
93
|
+
if (((_a = candidateParts[i]) === null || _a === void 0 ? void 0 : _a.startsWith("{")) && ((_b = candidateParts[i]) === null || _b === void 0 ? void 0 : _b.indexOf("}")) !== -1) {
|
|
94
|
+
const start = candidateParts[i].indexOf("}") + 1, end = (_c = candidateParts[i]) === null || _c === void 0 ? void 0 : _c.length;
|
|
95
|
+
// If the current part of the candidate is a "template" part
|
|
96
|
+
// Try to use the suffix of pattern to match the path
|
|
97
|
+
// {guid} ==> $
|
|
98
|
+
// {guid}:export ==> :export$
|
|
99
|
+
const isMatched = new RegExp(`${(_d = candidateParts[i]) === null || _d === void 0 ? void 0 : _d.slice(start, end)}`).test(pathParts[j] || "");
|
|
100
|
+
if (!isMatched) {
|
|
101
|
+
found = false;
|
|
102
|
+
break;
|
|
103
|
+
}
|
|
104
|
+
continue;
|
|
105
|
+
}
|
|
106
|
+
// If the candidate part is not a template and
|
|
107
|
+
// the parts don't match mark the candidate as not found
|
|
108
|
+
// to move on with the next candidate path.
|
|
109
|
+
if (candidateParts[i] !== pathParts[j]) {
|
|
110
|
+
found = false;
|
|
111
|
+
break;
|
|
112
|
+
}
|
|
113
|
+
}
|
|
114
|
+
// We finished evaluating the current candidate parts
|
|
115
|
+
// Update the matched value if and only if we found the longer pattern
|
|
116
|
+
if (found && candidatePath.length > matchedLen) {
|
|
117
|
+
matchedLen = candidatePath.length;
|
|
118
|
+
matchedValue = value;
|
|
119
|
+
}
|
|
120
|
+
}
|
|
121
|
+
return matchedValue;
|
|
122
|
+
}
|
|
123
|
+
function getPathFromMapKey(mapKey) {
|
|
124
|
+
const pathStart = mapKey.indexOf("/");
|
|
125
|
+
return mapKey.slice(pathStart);
|
|
126
|
+
}
|
|
127
|
+
//# sourceMappingURL=restorePollerHelpers.js.map
|