@azure/arm-servicemap 3.0.0-beta.1 → 3.0.0-beta.2
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 +5 -3
- package/LICENSE +4 -4
- package/README.md +37 -17
- package/dist/browser/index.d.ts +5 -0
- package/dist/browser/index.d.ts.map +1 -0
- package/{dist-esm/src → dist/browser}/index.js +4 -3
- package/dist/browser/index.js.map +1 -0
- package/{dist-esm/src → dist/browser}/models/index.d.ts +148 -163
- package/dist/browser/models/index.d.ts.map +1 -0
- package/{dist-esm/src → dist/browser}/models/index.js +26 -0
- package/dist/browser/models/index.js.map +1 -0
- package/{dist-esm/src → dist/browser}/models/mappers.d.ts +9 -9
- package/{dist-esm/src → dist/browser}/models/mappers.d.ts.map +1 -1
- package/{dist-esm/src → dist/browser}/models/mappers.js +278 -140
- package/dist/browser/models/mappers.js.map +1 -0
- package/{dist-esm/src → dist/browser}/models/parameters.js +1 -1
- package/dist/browser/models/parameters.js.map +1 -0
- package/{dist-esm/src → dist/browser}/operations/clientGroups.d.ts +3 -3
- package/dist/browser/operations/clientGroups.d.ts.map +1 -0
- package/{dist-esm/src → dist/browser}/operations/clientGroups.js +30 -39
- package/dist/browser/operations/clientGroups.js.map +1 -0
- package/dist/browser/operations/index.d.ts +8 -0
- package/dist/browser/operations/index.d.ts.map +1 -0
- package/dist/browser/operations/index.js +15 -0
- package/dist/browser/operations/index.js.map +1 -0
- package/{dist-esm/src → dist/browser}/operations/machineGroups.d.ts +3 -3
- package/dist/browser/operations/machineGroups.d.ts.map +1 -0
- package/{dist-esm/src → dist/browser}/operations/machineGroups.js +30 -38
- package/dist/browser/operations/machineGroups.js.map +1 -0
- package/{dist-esm/src → dist/browser}/operations/machines.d.ts +3 -3
- package/dist/browser/operations/machines.d.ts.map +1 -0
- package/{dist-esm/src → dist/browser}/operations/machines.js +134 -183
- package/dist/browser/operations/machines.js.map +1 -0
- package/{dist-esm/src → dist/browser}/operations/maps.d.ts +3 -3
- package/dist/browser/operations/maps.d.ts.map +1 -0
- package/{dist-esm/src → dist/browser}/operations/maps.js +3 -2
- package/dist/browser/operations/maps.js.map +1 -0
- package/{dist-esm/src → dist/browser}/operations/ports.d.ts +3 -3
- package/dist/browser/operations/ports.d.ts.map +1 -0
- package/{dist-esm/src → dist/browser}/operations/ports.js +56 -73
- package/dist/browser/operations/ports.js.map +1 -0
- package/{dist-esm/src → dist/browser}/operations/processes.d.ts +3 -3
- package/dist/browser/operations/processes.d.ts.map +1 -0
- package/{dist-esm/src → dist/browser}/operations/processes.js +56 -73
- package/dist/browser/operations/processes.js.map +1 -0
- package/{dist-esm/src → dist/browser}/operations/summaries.d.ts +3 -3
- package/dist/browser/operations/summaries.d.ts.map +1 -0
- package/{dist-esm/src → dist/browser}/operations/summaries.js +3 -2
- package/dist/browser/operations/summaries.js.map +1 -0
- package/{dist-esm/src → dist/browser}/operationsInterfaces/clientGroups.d.ts +1 -1
- package/dist/browser/operationsInterfaces/clientGroups.d.ts.map +1 -0
- package/dist/browser/operationsInterfaces/clientGroups.js.map +1 -0
- package/dist/browser/operationsInterfaces/index.d.ts +8 -0
- package/dist/browser/operationsInterfaces/index.d.ts.map +1 -0
- package/dist/browser/operationsInterfaces/index.js +15 -0
- package/dist/browser/operationsInterfaces/index.js.map +1 -0
- package/{dist-esm/src → dist/browser}/operationsInterfaces/machineGroups.d.ts +1 -1
- package/dist/browser/operationsInterfaces/machineGroups.d.ts.map +1 -0
- package/dist/browser/operationsInterfaces/machineGroups.js.map +1 -0
- package/{dist-esm/src → dist/browser}/operationsInterfaces/machines.d.ts +1 -1
- package/dist/browser/operationsInterfaces/machines.d.ts.map +1 -0
- package/dist/browser/operationsInterfaces/machines.js.map +1 -0
- package/{dist-esm/src → dist/browser}/operationsInterfaces/maps.d.ts +1 -1
- package/dist/browser/operationsInterfaces/maps.d.ts.map +1 -0
- package/dist/browser/operationsInterfaces/maps.js.map +1 -0
- package/{dist-esm/src → dist/browser}/operationsInterfaces/ports.d.ts +1 -1
- package/dist/browser/operationsInterfaces/ports.d.ts.map +1 -0
- package/dist/browser/operationsInterfaces/ports.js.map +1 -0
- package/{dist-esm/src → dist/browser}/operationsInterfaces/processes.d.ts +1 -1
- package/dist/browser/operationsInterfaces/processes.d.ts.map +1 -0
- package/dist/browser/operationsInterfaces/processes.js.map +1 -0
- package/{dist-esm/src → dist/browser}/operationsInterfaces/summaries.d.ts +1 -1
- package/dist/browser/operationsInterfaces/summaries.d.ts.map +1 -0
- package/dist/browser/operationsInterfaces/summaries.js.map +1 -0
- package/dist/browser/package.json +3 -0
- package/dist/browser/pagingHelper.d.ts +13 -0
- package/dist/browser/pagingHelper.d.ts.map +1 -0
- package/dist/browser/pagingHelper.js +30 -0
- package/dist/browser/pagingHelper.js.map +1 -0
- package/{dist-esm/src → dist/browser}/serviceMap.d.ts +4 -2
- package/dist/browser/serviceMap.d.ts.map +1 -0
- package/dist/browser/serviceMap.js +118 -0
- package/dist/browser/serviceMap.js.map +1 -0
- package/dist/commonjs/index.d.ts +5 -0
- package/dist/commonjs/index.d.ts.map +1 -0
- package/dist/commonjs/index.js +19 -0
- package/dist/commonjs/index.js.map +1 -0
- package/{types/arm-servicemap.d.ts → dist/commonjs/models/index.d.ts} +1111 -1556
- package/dist/commonjs/models/index.d.ts.map +1 -0
- package/dist/commonjs/models/index.js +87 -0
- package/dist/commonjs/models/index.js.map +1 -0
- package/dist/commonjs/models/mappers.d.ts +91 -0
- package/dist/commonjs/models/mappers.d.ts.map +1 -0
- package/dist/commonjs/models/mappers.js +2121 -0
- package/dist/commonjs/models/mappers.js.map +1 -0
- package/dist/commonjs/models/parameters.d.ts +22 -0
- package/dist/commonjs/models/parameters.d.ts.map +1 -0
- package/dist/commonjs/models/parameters.js +235 -0
- package/dist/commonjs/models/parameters.js.map +1 -0
- package/dist/commonjs/operations/clientGroups.d.ts +57 -0
- package/dist/commonjs/operations/clientGroups.d.ts.map +1 -0
- package/dist/commonjs/operations/clientGroups.js +220 -0
- package/dist/commonjs/operations/clientGroups.js.map +1 -0
- package/dist/commonjs/operations/index.d.ts +8 -0
- package/dist/commonjs/operations/index.d.ts.map +1 -0
- package/dist/commonjs/operations/index.js +18 -0
- package/dist/commonjs/operations/index.js.map +1 -0
- package/dist/commonjs/operations/machineGroups.d.ts +71 -0
- package/dist/commonjs/operations/machineGroups.d.ts.map +1 -0
- package/dist/commonjs/operations/machineGroups.js +282 -0
- package/dist/commonjs/operations/machineGroups.js.map +1 -0
- package/dist/commonjs/operations/machines.d.ts +177 -0
- package/dist/commonjs/operations/machines.d.ts.map +1 -0
- package/dist/commonjs/operations/machines.js +694 -0
- package/dist/commonjs/operations/machines.js.map +1 -0
- package/dist/commonjs/operations/maps.d.ts +21 -0
- package/dist/commonjs/operations/maps.d.ts.map +1 -0
- package/dist/commonjs/operations/maps.js +62 -0
- package/dist/commonjs/operations/maps.js.map +1 -0
- package/dist/commonjs/operations/ports.d.ts +93 -0
- package/dist/commonjs/operations/ports.d.ts.map +1 -0
- package/dist/commonjs/operations/ports.js +364 -0
- package/dist/commonjs/operations/ports.js.map +1 -0
- package/dist/commonjs/operations/processes.d.ts +92 -0
- package/dist/commonjs/operations/processes.d.ts.map +1 -0
- package/dist/commonjs/operations/processes.js +359 -0
- package/dist/commonjs/operations/processes.js.map +1 -0
- package/dist/commonjs/operations/summaries.d.ts +20 -0
- package/dist/commonjs/operations/summaries.d.ts.map +1 -0
- package/dist/commonjs/operations/summaries.js +63 -0
- package/dist/commonjs/operations/summaries.js.map +1 -0
- package/dist/commonjs/operationsInterfaces/clientGroups.d.ts +30 -0
- package/dist/commonjs/operationsInterfaces/clientGroups.d.ts.map +1 -0
- package/dist/commonjs/operationsInterfaces/clientGroups.js +10 -0
- package/dist/commonjs/operationsInterfaces/clientGroups.js.map +1 -0
- package/dist/commonjs/operationsInterfaces/index.d.ts +8 -0
- package/dist/commonjs/operationsInterfaces/index.d.ts.map +1 -0
- package/dist/commonjs/operationsInterfaces/index.js +18 -0
- package/dist/commonjs/operationsInterfaces/index.js.map +1 -0
- package/dist/commonjs/operationsInterfaces/machineGroups.d.ts +46 -0
- package/dist/commonjs/operationsInterfaces/machineGroups.d.ts.map +1 -0
- package/dist/commonjs/operationsInterfaces/machineGroups.js +10 -0
- package/dist/commonjs/operationsInterfaces/machineGroups.js.map +1 -0
- package/dist/commonjs/operationsInterfaces/machines.d.ts +68 -0
- package/dist/commonjs/operationsInterfaces/machines.d.ts.map +1 -0
- package/dist/commonjs/operationsInterfaces/machines.js +10 -0
- package/dist/commonjs/operationsInterfaces/machines.js.map +1 -0
- package/dist/commonjs/operationsInterfaces/maps.d.ts +13 -0
- package/dist/commonjs/operationsInterfaces/maps.d.ts.map +1 -0
- package/dist/commonjs/operationsInterfaces/maps.js +10 -0
- package/dist/commonjs/operationsInterfaces/maps.js.map +1 -0
- package/dist/commonjs/operationsInterfaces/ports.d.ts +43 -0
- package/dist/commonjs/operationsInterfaces/ports.d.ts.map +1 -0
- package/dist/commonjs/operationsInterfaces/ports.js +10 -0
- package/dist/commonjs/operationsInterfaces/ports.js.map +1 -0
- package/dist/commonjs/operationsInterfaces/processes.d.ts +42 -0
- package/dist/commonjs/operationsInterfaces/processes.d.ts.map +1 -0
- package/dist/commonjs/operationsInterfaces/processes.js +10 -0
- package/dist/commonjs/operationsInterfaces/processes.js.map +1 -0
- package/dist/commonjs/operationsInterfaces/summaries.d.ts +12 -0
- package/dist/commonjs/operationsInterfaces/summaries.d.ts.map +1 -0
- package/dist/commonjs/operationsInterfaces/summaries.js +10 -0
- package/dist/commonjs/operationsInterfaces/summaries.js.map +1 -0
- package/dist/commonjs/package.json +3 -0
- package/dist/commonjs/pagingHelper.d.ts +13 -0
- package/dist/commonjs/pagingHelper.d.ts.map +1 -0
- package/dist/commonjs/pagingHelper.js +34 -0
- package/dist/commonjs/pagingHelper.js.map +1 -0
- package/dist/commonjs/serviceMap.d.ts +26 -0
- package/dist/commonjs/serviceMap.d.ts.map +1 -0
- package/dist/commonjs/serviceMap.js +123 -0
- package/dist/commonjs/serviceMap.js.map +1 -0
- package/{types → dist/commonjs}/tsdoc-metadata.json +11 -11
- package/dist/esm/index.d.ts +5 -0
- package/dist/esm/index.d.ts.map +1 -0
- package/{src/index.ts → dist/esm/index.js} +5 -4
- package/dist/esm/index.js.map +1 -0
- package/dist/esm/models/index.d.ts +1111 -0
- package/dist/esm/models/index.d.ts.map +1 -0
- package/dist/esm/models/index.js +84 -0
- package/dist/esm/models/index.js.map +1 -0
- package/dist/esm/models/mappers.d.ts +91 -0
- package/dist/esm/models/mappers.d.ts.map +1 -0
- package/dist/esm/models/mappers.js +2117 -0
- package/dist/esm/models/mappers.js.map +1 -0
- package/dist/esm/models/parameters.d.ts +22 -0
- package/dist/esm/models/parameters.d.ts.map +1 -0
- package/dist/esm/models/parameters.js +232 -0
- package/dist/esm/models/parameters.js.map +1 -0
- package/dist/esm/operations/clientGroups.d.ts +57 -0
- package/dist/esm/operations/clientGroups.d.ts.map +1 -0
- package/dist/esm/operations/clientGroups.js +215 -0
- package/dist/esm/operations/clientGroups.js.map +1 -0
- package/dist/esm/operations/index.d.ts +8 -0
- package/dist/esm/operations/index.d.ts.map +1 -0
- package/dist/esm/operations/index.js +15 -0
- package/dist/esm/operations/index.js.map +1 -0
- package/dist/esm/operations/machineGroups.d.ts +71 -0
- package/dist/esm/operations/machineGroups.d.ts.map +1 -0
- package/dist/esm/operations/machineGroups.js +277 -0
- package/dist/esm/operations/machineGroups.js.map +1 -0
- package/dist/esm/operations/machines.d.ts +177 -0
- package/dist/esm/operations/machines.d.ts.map +1 -0
- package/dist/esm/operations/machines.js +689 -0
- package/dist/esm/operations/machines.js.map +1 -0
- package/dist/esm/operations/maps.d.ts +21 -0
- package/dist/esm/operations/maps.d.ts.map +1 -0
- package/dist/esm/operations/maps.js +57 -0
- package/dist/esm/operations/maps.js.map +1 -0
- package/dist/esm/operations/ports.d.ts +93 -0
- package/dist/esm/operations/ports.d.ts.map +1 -0
- package/dist/esm/operations/ports.js +359 -0
- package/dist/esm/operations/ports.js.map +1 -0
- package/dist/esm/operations/processes.d.ts +92 -0
- package/dist/esm/operations/processes.d.ts.map +1 -0
- package/dist/esm/operations/processes.js +354 -0
- package/dist/esm/operations/processes.js.map +1 -0
- package/dist/esm/operations/summaries.d.ts +20 -0
- package/dist/esm/operations/summaries.d.ts.map +1 -0
- package/dist/esm/operations/summaries.js +58 -0
- package/dist/esm/operations/summaries.js.map +1 -0
- package/dist/esm/operationsInterfaces/clientGroups.d.ts +30 -0
- package/dist/esm/operationsInterfaces/clientGroups.d.ts.map +1 -0
- package/dist/esm/operationsInterfaces/clientGroups.js +9 -0
- package/dist/esm/operationsInterfaces/clientGroups.js.map +1 -0
- package/dist/esm/operationsInterfaces/index.d.ts +8 -0
- package/dist/esm/operationsInterfaces/index.d.ts.map +1 -0
- package/dist/esm/operationsInterfaces/index.js +15 -0
- package/dist/esm/operationsInterfaces/index.js.map +1 -0
- package/dist/esm/operationsInterfaces/machineGroups.d.ts +46 -0
- package/dist/esm/operationsInterfaces/machineGroups.d.ts.map +1 -0
- package/dist/esm/operationsInterfaces/machineGroups.js +9 -0
- package/dist/esm/operationsInterfaces/machineGroups.js.map +1 -0
- package/dist/esm/operationsInterfaces/machines.d.ts +68 -0
- package/dist/esm/operationsInterfaces/machines.d.ts.map +1 -0
- package/dist/esm/operationsInterfaces/machines.js +9 -0
- package/dist/esm/operationsInterfaces/machines.js.map +1 -0
- package/dist/esm/operationsInterfaces/maps.d.ts +13 -0
- package/dist/esm/operationsInterfaces/maps.d.ts.map +1 -0
- package/dist/esm/operationsInterfaces/maps.js +9 -0
- package/dist/esm/operationsInterfaces/maps.js.map +1 -0
- package/dist/esm/operationsInterfaces/ports.d.ts +43 -0
- package/dist/esm/operationsInterfaces/ports.d.ts.map +1 -0
- package/dist/esm/operationsInterfaces/ports.js +9 -0
- package/dist/esm/operationsInterfaces/ports.js.map +1 -0
- package/dist/esm/operationsInterfaces/processes.d.ts +42 -0
- package/dist/esm/operationsInterfaces/processes.d.ts.map +1 -0
- package/dist/esm/operationsInterfaces/processes.js +9 -0
- package/dist/esm/operationsInterfaces/processes.js.map +1 -0
- package/dist/esm/operationsInterfaces/summaries.d.ts +12 -0
- package/dist/esm/operationsInterfaces/summaries.d.ts.map +1 -0
- package/dist/esm/operationsInterfaces/summaries.js +9 -0
- package/dist/esm/operationsInterfaces/summaries.js.map +1 -0
- package/dist/esm/package.json +3 -0
- package/dist/esm/pagingHelper.d.ts +13 -0
- package/dist/esm/pagingHelper.d.ts.map +1 -0
- package/dist/esm/pagingHelper.js +30 -0
- package/dist/esm/pagingHelper.js.map +1 -0
- package/dist/esm/serviceMap.d.ts +26 -0
- package/dist/esm/serviceMap.d.ts.map +1 -0
- package/dist/esm/serviceMap.js +118 -0
- package/dist/esm/serviceMap.js.map +1 -0
- package/dist/react-native/index.d.ts +5 -0
- package/dist/react-native/index.d.ts.map +1 -0
- package/dist/react-native/index.js +13 -0
- package/dist/react-native/index.js.map +1 -0
- package/dist/react-native/models/index.d.ts +1111 -0
- package/dist/react-native/models/index.d.ts.map +1 -0
- package/dist/react-native/models/index.js +84 -0
- package/dist/react-native/models/index.js.map +1 -0
- package/dist/react-native/models/mappers.d.ts +91 -0
- package/dist/react-native/models/mappers.d.ts.map +1 -0
- package/dist/react-native/models/mappers.js +2117 -0
- package/dist/react-native/models/mappers.js.map +1 -0
- package/dist/react-native/models/parameters.d.ts +22 -0
- package/dist/react-native/models/parameters.d.ts.map +1 -0
- package/dist/react-native/models/parameters.js +232 -0
- package/dist/react-native/models/parameters.js.map +1 -0
- package/dist/react-native/operations/clientGroups.d.ts +57 -0
- package/dist/react-native/operations/clientGroups.d.ts.map +1 -0
- package/dist/react-native/operations/clientGroups.js +215 -0
- package/dist/react-native/operations/clientGroups.js.map +1 -0
- package/dist/react-native/operations/index.d.ts +8 -0
- package/dist/react-native/operations/index.d.ts.map +1 -0
- package/dist/react-native/operations/index.js +15 -0
- package/dist/react-native/operations/index.js.map +1 -0
- package/dist/react-native/operations/machineGroups.d.ts +71 -0
- package/dist/react-native/operations/machineGroups.d.ts.map +1 -0
- package/dist/react-native/operations/machineGroups.js +277 -0
- package/dist/react-native/operations/machineGroups.js.map +1 -0
- package/dist/react-native/operations/machines.d.ts +177 -0
- package/dist/react-native/operations/machines.d.ts.map +1 -0
- package/dist/react-native/operations/machines.js +689 -0
- package/dist/react-native/operations/machines.js.map +1 -0
- package/dist/react-native/operations/maps.d.ts +21 -0
- package/dist/react-native/operations/maps.d.ts.map +1 -0
- package/dist/react-native/operations/maps.js +57 -0
- package/dist/react-native/operations/maps.js.map +1 -0
- package/dist/react-native/operations/ports.d.ts +93 -0
- package/dist/react-native/operations/ports.d.ts.map +1 -0
- package/dist/react-native/operations/ports.js +359 -0
- package/dist/react-native/operations/ports.js.map +1 -0
- package/dist/react-native/operations/processes.d.ts +92 -0
- package/dist/react-native/operations/processes.d.ts.map +1 -0
- package/dist/react-native/operations/processes.js +354 -0
- package/dist/react-native/operations/processes.js.map +1 -0
- package/dist/react-native/operations/summaries.d.ts +20 -0
- package/dist/react-native/operations/summaries.d.ts.map +1 -0
- package/dist/react-native/operations/summaries.js +58 -0
- package/dist/react-native/operations/summaries.js.map +1 -0
- package/dist/react-native/operationsInterfaces/clientGroups.d.ts +30 -0
- package/dist/react-native/operationsInterfaces/clientGroups.d.ts.map +1 -0
- package/dist/react-native/operationsInterfaces/clientGroups.js +9 -0
- package/dist/react-native/operationsInterfaces/clientGroups.js.map +1 -0
- package/dist/react-native/operationsInterfaces/index.d.ts +8 -0
- package/dist/react-native/operationsInterfaces/index.d.ts.map +1 -0
- package/dist/react-native/operationsInterfaces/index.js +15 -0
- package/dist/react-native/operationsInterfaces/index.js.map +1 -0
- package/dist/react-native/operationsInterfaces/machineGroups.d.ts +46 -0
- package/dist/react-native/operationsInterfaces/machineGroups.d.ts.map +1 -0
- package/dist/react-native/operationsInterfaces/machineGroups.js +9 -0
- package/dist/react-native/operationsInterfaces/machineGroups.js.map +1 -0
- package/dist/react-native/operationsInterfaces/machines.d.ts +68 -0
- package/dist/react-native/operationsInterfaces/machines.d.ts.map +1 -0
- package/dist/react-native/operationsInterfaces/machines.js +9 -0
- package/dist/react-native/operationsInterfaces/machines.js.map +1 -0
- package/dist/react-native/operationsInterfaces/maps.d.ts +13 -0
- package/dist/react-native/operationsInterfaces/maps.d.ts.map +1 -0
- package/dist/react-native/operationsInterfaces/maps.js +9 -0
- package/dist/react-native/operationsInterfaces/maps.js.map +1 -0
- package/dist/react-native/operationsInterfaces/ports.d.ts +43 -0
- package/dist/react-native/operationsInterfaces/ports.d.ts.map +1 -0
- package/dist/react-native/operationsInterfaces/ports.js +9 -0
- package/dist/react-native/operationsInterfaces/ports.js.map +1 -0
- package/dist/react-native/operationsInterfaces/processes.d.ts +42 -0
- package/dist/react-native/operationsInterfaces/processes.d.ts.map +1 -0
- package/dist/react-native/operationsInterfaces/processes.js +9 -0
- package/dist/react-native/operationsInterfaces/processes.js.map +1 -0
- package/dist/react-native/operationsInterfaces/summaries.d.ts +12 -0
- package/dist/react-native/operationsInterfaces/summaries.d.ts.map +1 -0
- package/dist/react-native/operationsInterfaces/summaries.js +9 -0
- package/dist/react-native/operationsInterfaces/summaries.js.map +1 -0
- package/dist/react-native/package.json +3 -0
- package/dist/react-native/pagingHelper.d.ts +13 -0
- package/dist/react-native/pagingHelper.d.ts.map +1 -0
- package/dist/react-native/pagingHelper.js +30 -0
- package/dist/react-native/pagingHelper.js.map +1 -0
- package/dist/react-native/serviceMap.d.ts +26 -0
- package/dist/react-native/serviceMap.d.ts.map +1 -0
- package/dist/react-native/serviceMap.js +118 -0
- package/dist/react-native/serviceMap.js.map +1 -0
- package/package.json +104 -73
- package/review/{arm-servicemap.api.md → arm-servicemap-node.api.md} +105 -148
- package/LICENSE.txt +0 -21
- package/dist/index.js +0 -4469
- package/dist/index.js.map +0 -1
- package/dist/index.min.js +0 -1
- package/dist/index.min.js.map +0 -1
- package/dist-esm/samples-dev/smClientGroupsGet.d.ts +0 -2
- package/dist-esm/samples-dev/smClientGroupsGet.d.ts.map +0 -1
- package/dist-esm/samples-dev/smClientGroupsGet.js +0 -35
- package/dist-esm/samples-dev/smClientGroupsGet.js.map +0 -1
- package/dist-esm/samples-dev/smClientGroupsGetMembersCountGet.d.ts +0 -2
- package/dist-esm/samples-dev/smClientGroupsGetMembersCountGet.d.ts.map +0 -1
- package/dist-esm/samples-dev/smClientGroupsGetMembersCountGet.js +0 -35
- package/dist-esm/samples-dev/smClientGroupsGetMembersCountGet.js.map +0 -1
- package/dist-esm/samples-dev/smClientGroupsListMembersGet.d.ts +0 -2
- package/dist-esm/samples-dev/smClientGroupsListMembersGet.d.ts.map +0 -1
- package/dist-esm/samples-dev/smClientGroupsListMembersGet.js +0 -49
- package/dist-esm/samples-dev/smClientGroupsListMembersGet.js.map +0 -1
- package/dist-esm/samples-dev/smMachineGroupsCreatePost.d.ts +0 -2
- package/dist-esm/samples-dev/smMachineGroupsCreatePost.d.ts.map +0 -1
- package/dist-esm/samples-dev/smMachineGroupsCreatePost.js +0 -43
- package/dist-esm/samples-dev/smMachineGroupsCreatePost.js.map +0 -1
- package/dist-esm/samples-dev/smMachineGroupsDelete.d.ts +0 -2
- package/dist-esm/samples-dev/smMachineGroupsDelete.d.ts.map +0 -1
- package/dist-esm/samples-dev/smMachineGroupsDelete.js +0 -32
- package/dist-esm/samples-dev/smMachineGroupsDelete.js.map +0 -1
- package/dist-esm/samples-dev/smMachineGroupsGet.d.ts +0 -2
- package/dist-esm/samples-dev/smMachineGroupsGet.d.ts.map +0 -1
- package/dist-esm/samples-dev/smMachineGroupsGet.js +0 -32
- package/dist-esm/samples-dev/smMachineGroupsGet.js.map +0 -1
- package/dist-esm/samples-dev/smMachineGroupsListByWorkspaceGet.d.ts +0 -2
- package/dist-esm/samples-dev/smMachineGroupsListByWorkspaceGet.d.ts.map +0 -1
- package/dist-esm/samples-dev/smMachineGroupsListByWorkspaceGet.js +0 -48
- package/dist-esm/samples-dev/smMachineGroupsListByWorkspaceGet.js.map +0 -1
- package/dist-esm/samples-dev/smMachineGroupsUpdatePut.d.ts +0 -2
- package/dist-esm/samples-dev/smMachineGroupsUpdatePut.d.ts.map +0 -1
- package/dist-esm/samples-dev/smMachineGroupsUpdatePut.js +0 -44
- package/dist-esm/samples-dev/smMachineGroupsUpdatePut.js.map +0 -1
- package/dist-esm/samples-dev/smMachinesGet.d.ts +0 -2
- package/dist-esm/samples-dev/smMachinesGet.d.ts.map +0 -1
- package/dist-esm/samples-dev/smMachinesGet.js +0 -34
- package/dist-esm/samples-dev/smMachinesGet.js.map +0 -1
- package/dist-esm/samples-dev/smMachinesGetLivenessGet.d.ts +0 -2
- package/dist-esm/samples-dev/smMachinesGetLivenessGet.d.ts.map +0 -1
- package/dist-esm/samples-dev/smMachinesGetLivenessGet.js +0 -35
- package/dist-esm/samples-dev/smMachinesGetLivenessGet.js.map +0 -1
- package/dist-esm/samples-dev/smMachinesListByWorkspaceGet.d.ts +0 -2
- package/dist-esm/samples-dev/smMachinesListByWorkspaceGet.d.ts.map +0 -1
- package/dist-esm/samples-dev/smMachinesListByWorkspaceGet.js +0 -48
- package/dist-esm/samples-dev/smMachinesListByWorkspaceGet.js.map +0 -1
- package/dist-esm/samples-dev/smMachinesListConnectionsGet.d.ts +0 -2
- package/dist-esm/samples-dev/smMachinesListConnectionsGet.d.ts.map +0 -1
- package/dist-esm/samples-dev/smMachinesListConnectionsGet.js +0 -49
- package/dist-esm/samples-dev/smMachinesListConnectionsGet.js.map +0 -1
- package/dist-esm/samples-dev/smMachinesListMachineGroupMembershipGet.d.ts +0 -2
- package/dist-esm/samples-dev/smMachinesListMachineGroupMembershipGet.d.ts.map +0 -1
- package/dist-esm/samples-dev/smMachinesListMachineGroupMembershipGet.js +0 -49
- package/dist-esm/samples-dev/smMachinesListMachineGroupMembershipGet.js.map +0 -1
- package/dist-esm/samples-dev/smMachinesListPortsGet.d.ts +0 -2
- package/dist-esm/samples-dev/smMachinesListPortsGet.d.ts.map +0 -1
- package/dist-esm/samples-dev/smMachinesListPortsGet.js +0 -49
- package/dist-esm/samples-dev/smMachinesListPortsGet.js.map +0 -1
- package/dist-esm/samples-dev/smMachinesListProcessesGet.d.ts +0 -2
- package/dist-esm/samples-dev/smMachinesListProcessesGet.d.ts.map +0 -1
- package/dist-esm/samples-dev/smMachinesListProcessesGet.js +0 -49
- package/dist-esm/samples-dev/smMachinesListProcessesGet.js.map +0 -1
- package/dist-esm/samples-dev/smMachinesPortsGet.d.ts +0 -2
- package/dist-esm/samples-dev/smMachinesPortsGet.d.ts.map +0 -1
- package/dist-esm/samples-dev/smMachinesPortsGet.js +0 -36
- package/dist-esm/samples-dev/smMachinesPortsGet.js.map +0 -1
- package/dist-esm/samples-dev/smMachinesPortsGetLivenessGet.d.ts +0 -2
- package/dist-esm/samples-dev/smMachinesPortsGetLivenessGet.d.ts.map +0 -1
- package/dist-esm/samples-dev/smMachinesPortsGetLivenessGet.js +0 -36
- package/dist-esm/samples-dev/smMachinesPortsGetLivenessGet.js.map +0 -1
- package/dist-esm/samples-dev/smMachinesPortsListAcceptingProcessesGet.d.ts +0 -2
- package/dist-esm/samples-dev/smMachinesPortsListAcceptingProcessesGet.d.ts.map +0 -1
- package/dist-esm/samples-dev/smMachinesPortsListAcceptingProcessesGet.js +0 -50
- package/dist-esm/samples-dev/smMachinesPortsListAcceptingProcessesGet.js.map +0 -1
- package/dist-esm/samples-dev/smMachinesPortsListConnectionsGet.d.ts +0 -2
- package/dist-esm/samples-dev/smMachinesPortsListConnectionsGet.d.ts.map +0 -1
- package/dist-esm/samples-dev/smMachinesPortsListConnectionsGet.js +0 -50
- package/dist-esm/samples-dev/smMachinesPortsListConnectionsGet.js.map +0 -1
- package/dist-esm/samples-dev/smMachinesProcessesGet.d.ts +0 -2
- package/dist-esm/samples-dev/smMachinesProcessesGet.d.ts.map +0 -1
- package/dist-esm/samples-dev/smMachinesProcessesGet.js +0 -35
- package/dist-esm/samples-dev/smMachinesProcessesGet.js.map +0 -1
- package/dist-esm/samples-dev/smMachinesProcessesGetLivenessGet.d.ts +0 -2
- package/dist-esm/samples-dev/smMachinesProcessesGetLivenessGet.d.ts.map +0 -1
- package/dist-esm/samples-dev/smMachinesProcessesGetLivenessGet.js +0 -36
- package/dist-esm/samples-dev/smMachinesProcessesGetLivenessGet.js.map +0 -1
- package/dist-esm/samples-dev/smMachinesProcessesListAcceptingPortsGet.d.ts +0 -2
- package/dist-esm/samples-dev/smMachinesProcessesListAcceptingPortsGet.d.ts.map +0 -1
- package/dist-esm/samples-dev/smMachinesProcessesListAcceptingPortsGet.js +0 -50
- package/dist-esm/samples-dev/smMachinesProcessesListAcceptingPortsGet.js.map +0 -1
- package/dist-esm/samples-dev/smMachinesProcessesListConnectionsGet.d.ts +0 -2
- package/dist-esm/samples-dev/smMachinesProcessesListConnectionsGet.d.ts.map +0 -1
- package/dist-esm/samples-dev/smMachinesProcessesListConnectionsGet.js +0 -50
- package/dist-esm/samples-dev/smMachinesProcessesListConnectionsGet.js.map +0 -1
- package/dist-esm/samples-dev/smMapsGenerateMachineGroupDependencyPost.d.ts +0 -2
- package/dist-esm/samples-dev/smMapsGenerateMachineGroupDependencyPost.d.ts.map +0 -1
- package/dist-esm/samples-dev/smMapsGenerateMachineGroupDependencyPost.js +0 -38
- package/dist-esm/samples-dev/smMapsGenerateMachineGroupDependencyPost.js.map +0 -1
- package/dist-esm/samples-dev/smMapsGenerateMachineListDependencyPost.d.ts +0 -2
- package/dist-esm/samples-dev/smMapsGenerateMachineListDependencyPost.d.ts.map +0 -1
- package/dist-esm/samples-dev/smMapsGenerateMachineListDependencyPost.js +0 -41
- package/dist-esm/samples-dev/smMapsGenerateMachineListDependencyPost.js.map +0 -1
- package/dist-esm/samples-dev/smMapsGenerateSingleMachineDependencyPost.d.ts +0 -2
- package/dist-esm/samples-dev/smMapsGenerateSingleMachineDependencyPost.d.ts.map +0 -1
- package/dist-esm/samples-dev/smMapsGenerateSingleMachineDependencyPost.js +0 -37
- package/dist-esm/samples-dev/smMapsGenerateSingleMachineDependencyPost.js.map +0 -1
- package/dist-esm/samples-dev/smSummariesGetMachinesGet.d.ts +0 -2
- package/dist-esm/samples-dev/smSummariesGetMachinesGet.d.ts.map +0 -1
- package/dist-esm/samples-dev/smSummariesGetMachinesGet.js +0 -34
- package/dist-esm/samples-dev/smSummariesGetMachinesGet.js.map +0 -1
- package/dist-esm/src/index.d.ts +0 -5
- package/dist-esm/src/index.d.ts.map +0 -1
- package/dist-esm/src/index.js.map +0 -1
- package/dist-esm/src/models/index.d.ts.map +0 -1
- package/dist-esm/src/models/index.js.map +0 -1
- package/dist-esm/src/models/mappers.js.map +0 -1
- package/dist-esm/src/models/parameters.js.map +0 -1
- package/dist-esm/src/operations/clientGroups.d.ts.map +0 -1
- package/dist-esm/src/operations/clientGroups.js.map +0 -1
- package/dist-esm/src/operations/index.d.ts +0 -8
- package/dist-esm/src/operations/index.d.ts.map +0 -1
- package/dist-esm/src/operations/index.js +0 -15
- package/dist-esm/src/operations/index.js.map +0 -1
- package/dist-esm/src/operations/machineGroups.d.ts.map +0 -1
- package/dist-esm/src/operations/machineGroups.js.map +0 -1
- package/dist-esm/src/operations/machines.d.ts.map +0 -1
- package/dist-esm/src/operations/machines.js.map +0 -1
- package/dist-esm/src/operations/maps.d.ts.map +0 -1
- package/dist-esm/src/operations/maps.js.map +0 -1
- package/dist-esm/src/operations/ports.d.ts.map +0 -1
- package/dist-esm/src/operations/ports.js.map +0 -1
- package/dist-esm/src/operations/processes.d.ts.map +0 -1
- package/dist-esm/src/operations/processes.js.map +0 -1
- package/dist-esm/src/operations/summaries.d.ts.map +0 -1
- package/dist-esm/src/operations/summaries.js.map +0 -1
- package/dist-esm/src/operationsInterfaces/clientGroups.d.ts.map +0 -1
- package/dist-esm/src/operationsInterfaces/clientGroups.js.map +0 -1
- package/dist-esm/src/operationsInterfaces/index.d.ts +0 -8
- package/dist-esm/src/operationsInterfaces/index.d.ts.map +0 -1
- package/dist-esm/src/operationsInterfaces/index.js +0 -15
- package/dist-esm/src/operationsInterfaces/index.js.map +0 -1
- package/dist-esm/src/operationsInterfaces/machineGroups.d.ts.map +0 -1
- package/dist-esm/src/operationsInterfaces/machineGroups.js.map +0 -1
- package/dist-esm/src/operationsInterfaces/machines.d.ts.map +0 -1
- package/dist-esm/src/operationsInterfaces/machines.js.map +0 -1
- package/dist-esm/src/operationsInterfaces/maps.d.ts.map +0 -1
- package/dist-esm/src/operationsInterfaces/maps.js.map +0 -1
- package/dist-esm/src/operationsInterfaces/ports.d.ts.map +0 -1
- package/dist-esm/src/operationsInterfaces/ports.js.map +0 -1
- package/dist-esm/src/operationsInterfaces/processes.d.ts.map +0 -1
- package/dist-esm/src/operationsInterfaces/processes.js.map +0 -1
- package/dist-esm/src/operationsInterfaces/summaries.d.ts.map +0 -1
- package/dist-esm/src/operationsInterfaces/summaries.js.map +0 -1
- package/dist-esm/src/serviceMap.d.ts.map +0 -1
- package/dist-esm/src/serviceMap.js +0 -57
- package/dist-esm/src/serviceMap.js.map +0 -1
- package/dist-esm/test/sampleTest.d.ts +0 -2
- package/dist-esm/test/sampleTest.d.ts.map +0 -1
- package/dist-esm/test/sampleTest.js +0 -40
- package/dist-esm/test/sampleTest.js.map +0 -1
- package/rollup.config.js +0 -188
- package/src/models/index.ts +0 -1362
- package/src/models/mappers.ts +0 -2184
- package/src/models/parameters.ts +0 -260
- package/src/operations/clientGroups.ts +0 -310
- package/src/operations/index.ts +0 -15
- package/src/operations/machineGroups.ts +0 -385
- package/src/operations/machines.ts +0 -1030
- package/src/operations/maps.ts +0 -77
- package/src/operations/ports.ts +0 -538
- package/src/operations/processes.ts +0 -533
- package/src/operations/summaries.ts +0 -76
- package/src/operationsInterfaces/clientGroups.ts +0 -61
- package/src/operationsInterfaces/index.ts +0 -15
- package/src/operationsInterfaces/machineGroups.ts +0 -90
- package/src/operationsInterfaces/machines.ts +0 -126
- package/src/operationsInterfaces/maps.ts +0 -30
- package/src/operationsInterfaces/ports.ts +0 -85
- package/src/operationsInterfaces/processes.ts +0 -84
- package/src/operationsInterfaces/summaries.ts +0 -27
- package/src/serviceMap.ts +0 -103
- package/tsconfig.json +0 -20
- /package/{dist-esm/src → dist/browser}/models/parameters.d.ts +0 -0
- /package/{dist-esm/src → dist/browser}/models/parameters.d.ts.map +0 -0
- /package/{dist-esm/src → dist/browser}/operationsInterfaces/clientGroups.js +0 -0
- /package/{dist-esm/src → dist/browser}/operationsInterfaces/machineGroups.js +0 -0
- /package/{dist-esm/src → dist/browser}/operationsInterfaces/machines.js +0 -0
- /package/{dist-esm/src → dist/browser}/operationsInterfaces/maps.js +0 -0
- /package/{dist-esm/src → dist/browser}/operationsInterfaces/ports.js +0 -0
- /package/{dist-esm/src → dist/browser}/operationsInterfaces/processes.js +0 -0
- /package/{dist-esm/src → dist/browser}/operationsInterfaces/summaries.js +0 -0
package/dist/index.js
DELETED
|
@@ -1,4469 +0,0 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
|
|
3
|
-
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
-
|
|
5
|
-
var coreClient = require('@azure/core-client');
|
|
6
|
-
var tslib = require('tslib');
|
|
7
|
-
|
|
8
|
-
/*
|
|
9
|
-
* Copyright (c) Microsoft Corporation.
|
|
10
|
-
* Licensed under the MIT License.
|
|
11
|
-
*
|
|
12
|
-
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
13
|
-
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
14
|
-
*/
|
|
15
|
-
(function (KnownCoreResourceKind) {
|
|
16
|
-
KnownCoreResourceKind["Machine"] = "machine";
|
|
17
|
-
KnownCoreResourceKind["Process"] = "process";
|
|
18
|
-
KnownCoreResourceKind["Port"] = "port";
|
|
19
|
-
KnownCoreResourceKind["ClientGroup"] = "clientGroup";
|
|
20
|
-
KnownCoreResourceKind["MachineGroup"] = "machineGroup";
|
|
21
|
-
})(exports.KnownCoreResourceKind || (exports.KnownCoreResourceKind = {}));
|
|
22
|
-
(function (KnownResourceReferenceKind) {
|
|
23
|
-
KnownResourceReferenceKind["RefMachine"] = "ref:machine";
|
|
24
|
-
KnownResourceReferenceKind["RefMachinewithhints"] = "ref:machinewithhints";
|
|
25
|
-
KnownResourceReferenceKind["RefProcess"] = "ref:process";
|
|
26
|
-
KnownResourceReferenceKind["RefPort"] = "ref:port";
|
|
27
|
-
KnownResourceReferenceKind["RefOnmachine"] = "ref:onmachine";
|
|
28
|
-
KnownResourceReferenceKind["RefClientgroup"] = "ref:clientgroup";
|
|
29
|
-
})(exports.KnownResourceReferenceKind || (exports.KnownResourceReferenceKind = {}));
|
|
30
|
-
(function (KnownRelationshipKind) {
|
|
31
|
-
KnownRelationshipKind["RelConnection"] = "rel:connection";
|
|
32
|
-
KnownRelationshipKind["RelAcceptor"] = "rel:acceptor";
|
|
33
|
-
})(exports.KnownRelationshipKind || (exports.KnownRelationshipKind = {}));
|
|
34
|
-
(function (KnownProcessRole) {
|
|
35
|
-
KnownProcessRole["WebServer"] = "webServer";
|
|
36
|
-
KnownProcessRole["AppServer"] = "appServer";
|
|
37
|
-
KnownProcessRole["DatabaseServer"] = "databaseServer";
|
|
38
|
-
KnownProcessRole["LdapServer"] = "ldapServer";
|
|
39
|
-
KnownProcessRole["SmbServer"] = "smbServer";
|
|
40
|
-
})(exports.KnownProcessRole || (exports.KnownProcessRole = {}));
|
|
41
|
-
(function (KnownMachineGroupType) {
|
|
42
|
-
KnownMachineGroupType["Unknown"] = "unknown";
|
|
43
|
-
KnownMachineGroupType["AzureCs"] = "azure-cs";
|
|
44
|
-
KnownMachineGroupType["AzureSf"] = "azure-sf";
|
|
45
|
-
KnownMachineGroupType["AzureVmss"] = "azure-vmss";
|
|
46
|
-
KnownMachineGroupType["UserStatic"] = "user-static";
|
|
47
|
-
})(exports.KnownMachineGroupType || (exports.KnownMachineGroupType = {}));
|
|
48
|
-
(function (KnownMapRequestKind) {
|
|
49
|
-
KnownMapRequestKind["MapSingleMachineDependency"] = "map:single-machine-dependency";
|
|
50
|
-
KnownMapRequestKind["MapMachineGroupDependency"] = "map:machine-group-dependency";
|
|
51
|
-
KnownMapRequestKind["MapMachineListDependency"] = "map:machine-list-dependency";
|
|
52
|
-
})(exports.KnownMapRequestKind || (exports.KnownMapRequestKind = {}));
|
|
53
|
-
|
|
54
|
-
/*
|
|
55
|
-
* Copyright (c) Microsoft Corporation.
|
|
56
|
-
* Licensed under the MIT License.
|
|
57
|
-
*
|
|
58
|
-
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
59
|
-
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
60
|
-
*/
|
|
61
|
-
const MachineCollection = {
|
|
62
|
-
type: {
|
|
63
|
-
name: "Composite",
|
|
64
|
-
className: "MachineCollection",
|
|
65
|
-
modelProperties: {
|
|
66
|
-
value: {
|
|
67
|
-
serializedName: "value",
|
|
68
|
-
type: {
|
|
69
|
-
name: "Sequence",
|
|
70
|
-
element: {
|
|
71
|
-
type: {
|
|
72
|
-
name: "Composite",
|
|
73
|
-
className: "Machine"
|
|
74
|
-
}
|
|
75
|
-
}
|
|
76
|
-
}
|
|
77
|
-
},
|
|
78
|
-
nextLink: {
|
|
79
|
-
serializedName: "nextLink",
|
|
80
|
-
type: {
|
|
81
|
-
name: "String"
|
|
82
|
-
}
|
|
83
|
-
}
|
|
84
|
-
}
|
|
85
|
-
}
|
|
86
|
-
};
|
|
87
|
-
const Timezone = {
|
|
88
|
-
type: {
|
|
89
|
-
name: "Composite",
|
|
90
|
-
className: "Timezone",
|
|
91
|
-
modelProperties: {
|
|
92
|
-
fullName: {
|
|
93
|
-
serializedName: "fullName",
|
|
94
|
-
type: {
|
|
95
|
-
name: "String"
|
|
96
|
-
}
|
|
97
|
-
}
|
|
98
|
-
}
|
|
99
|
-
}
|
|
100
|
-
};
|
|
101
|
-
const AgentConfiguration = {
|
|
102
|
-
type: {
|
|
103
|
-
name: "Composite",
|
|
104
|
-
className: "AgentConfiguration",
|
|
105
|
-
modelProperties: {
|
|
106
|
-
agentId: {
|
|
107
|
-
serializedName: "agentId",
|
|
108
|
-
required: true,
|
|
109
|
-
type: {
|
|
110
|
-
name: "String"
|
|
111
|
-
}
|
|
112
|
-
},
|
|
113
|
-
dependencyAgentId: {
|
|
114
|
-
serializedName: "dependencyAgentId",
|
|
115
|
-
type: {
|
|
116
|
-
name: "String"
|
|
117
|
-
}
|
|
118
|
-
},
|
|
119
|
-
dependencyAgentVersion: {
|
|
120
|
-
serializedName: "dependencyAgentVersion",
|
|
121
|
-
type: {
|
|
122
|
-
name: "String"
|
|
123
|
-
}
|
|
124
|
-
},
|
|
125
|
-
dependencyAgentRevision: {
|
|
126
|
-
serializedName: "dependencyAgentRevision",
|
|
127
|
-
type: {
|
|
128
|
-
name: "String"
|
|
129
|
-
}
|
|
130
|
-
},
|
|
131
|
-
rebootStatus: {
|
|
132
|
-
serializedName: "rebootStatus",
|
|
133
|
-
type: {
|
|
134
|
-
name: "Enum",
|
|
135
|
-
allowedValues: ["unknown", "rebooted", "notRebooted"]
|
|
136
|
-
}
|
|
137
|
-
},
|
|
138
|
-
clockGranularity: {
|
|
139
|
-
serializedName: "clockGranularity",
|
|
140
|
-
type: {
|
|
141
|
-
name: "Number"
|
|
142
|
-
}
|
|
143
|
-
}
|
|
144
|
-
}
|
|
145
|
-
}
|
|
146
|
-
};
|
|
147
|
-
const MachineResourcesConfiguration = {
|
|
148
|
-
type: {
|
|
149
|
-
name: "Composite",
|
|
150
|
-
className: "MachineResourcesConfiguration",
|
|
151
|
-
modelProperties: {
|
|
152
|
-
physicalMemory: {
|
|
153
|
-
serializedName: "physicalMemory",
|
|
154
|
-
type: {
|
|
155
|
-
name: "Number"
|
|
156
|
-
}
|
|
157
|
-
},
|
|
158
|
-
cpus: {
|
|
159
|
-
serializedName: "cpus",
|
|
160
|
-
type: {
|
|
161
|
-
name: "Number"
|
|
162
|
-
}
|
|
163
|
-
},
|
|
164
|
-
cpuSpeed: {
|
|
165
|
-
serializedName: "cpuSpeed",
|
|
166
|
-
type: {
|
|
167
|
-
name: "Number"
|
|
168
|
-
}
|
|
169
|
-
},
|
|
170
|
-
cpuSpeedAccuracy: {
|
|
171
|
-
serializedName: "cpuSpeedAccuracy",
|
|
172
|
-
type: {
|
|
173
|
-
name: "Enum",
|
|
174
|
-
allowedValues: ["actual", "estimated"]
|
|
175
|
-
}
|
|
176
|
-
}
|
|
177
|
-
}
|
|
178
|
-
}
|
|
179
|
-
};
|
|
180
|
-
const NetworkConfiguration = {
|
|
181
|
-
type: {
|
|
182
|
-
name: "Composite",
|
|
183
|
-
className: "NetworkConfiguration",
|
|
184
|
-
modelProperties: {
|
|
185
|
-
ipv4Interfaces: {
|
|
186
|
-
serializedName: "ipv4Interfaces",
|
|
187
|
-
type: {
|
|
188
|
-
name: "Sequence",
|
|
189
|
-
element: {
|
|
190
|
-
type: {
|
|
191
|
-
name: "Composite",
|
|
192
|
-
className: "Ipv4NetworkInterface"
|
|
193
|
-
}
|
|
194
|
-
}
|
|
195
|
-
}
|
|
196
|
-
},
|
|
197
|
-
ipv6Interfaces: {
|
|
198
|
-
serializedName: "ipv6Interfaces",
|
|
199
|
-
type: {
|
|
200
|
-
name: "Sequence",
|
|
201
|
-
element: {
|
|
202
|
-
type: {
|
|
203
|
-
name: "Composite",
|
|
204
|
-
className: "Ipv6NetworkInterface"
|
|
205
|
-
}
|
|
206
|
-
}
|
|
207
|
-
}
|
|
208
|
-
},
|
|
209
|
-
defaultIpv4Gateways: {
|
|
210
|
-
serializedName: "defaultIpv4Gateways",
|
|
211
|
-
type: {
|
|
212
|
-
name: "Sequence",
|
|
213
|
-
element: {
|
|
214
|
-
type: {
|
|
215
|
-
name: "String"
|
|
216
|
-
}
|
|
217
|
-
}
|
|
218
|
-
}
|
|
219
|
-
},
|
|
220
|
-
macAddresses: {
|
|
221
|
-
serializedName: "macAddresses",
|
|
222
|
-
type: {
|
|
223
|
-
name: "Sequence",
|
|
224
|
-
element: {
|
|
225
|
-
type: {
|
|
226
|
-
name: "String"
|
|
227
|
-
}
|
|
228
|
-
}
|
|
229
|
-
}
|
|
230
|
-
},
|
|
231
|
-
dnsNames: {
|
|
232
|
-
serializedName: "dnsNames",
|
|
233
|
-
type: {
|
|
234
|
-
name: "Sequence",
|
|
235
|
-
element: {
|
|
236
|
-
type: {
|
|
237
|
-
name: "String"
|
|
238
|
-
}
|
|
239
|
-
}
|
|
240
|
-
}
|
|
241
|
-
}
|
|
242
|
-
}
|
|
243
|
-
}
|
|
244
|
-
};
|
|
245
|
-
const Ipv4NetworkInterface = {
|
|
246
|
-
type: {
|
|
247
|
-
name: "Composite",
|
|
248
|
-
className: "Ipv4NetworkInterface",
|
|
249
|
-
modelProperties: {
|
|
250
|
-
ipAddress: {
|
|
251
|
-
serializedName: "ipAddress",
|
|
252
|
-
required: true,
|
|
253
|
-
type: {
|
|
254
|
-
name: "String"
|
|
255
|
-
}
|
|
256
|
-
},
|
|
257
|
-
subnetMask: {
|
|
258
|
-
defaultValue: "255.255.255.255",
|
|
259
|
-
serializedName: "subnetMask",
|
|
260
|
-
type: {
|
|
261
|
-
name: "String"
|
|
262
|
-
}
|
|
263
|
-
}
|
|
264
|
-
}
|
|
265
|
-
}
|
|
266
|
-
};
|
|
267
|
-
const Ipv6NetworkInterface = {
|
|
268
|
-
type: {
|
|
269
|
-
name: "Composite",
|
|
270
|
-
className: "Ipv6NetworkInterface",
|
|
271
|
-
modelProperties: {
|
|
272
|
-
ipAddress: {
|
|
273
|
-
serializedName: "ipAddress",
|
|
274
|
-
required: true,
|
|
275
|
-
type: {
|
|
276
|
-
name: "String"
|
|
277
|
-
}
|
|
278
|
-
}
|
|
279
|
-
}
|
|
280
|
-
}
|
|
281
|
-
};
|
|
282
|
-
const OperatingSystemConfiguration = {
|
|
283
|
-
type: {
|
|
284
|
-
name: "Composite",
|
|
285
|
-
className: "OperatingSystemConfiguration",
|
|
286
|
-
modelProperties: {
|
|
287
|
-
family: {
|
|
288
|
-
serializedName: "family",
|
|
289
|
-
required: true,
|
|
290
|
-
type: {
|
|
291
|
-
name: "Enum",
|
|
292
|
-
allowedValues: ["unknown", "windows", "linux", "solaris", "aix"]
|
|
293
|
-
}
|
|
294
|
-
},
|
|
295
|
-
fullName: {
|
|
296
|
-
serializedName: "fullName",
|
|
297
|
-
required: true,
|
|
298
|
-
type: {
|
|
299
|
-
name: "String"
|
|
300
|
-
}
|
|
301
|
-
},
|
|
302
|
-
bitness: {
|
|
303
|
-
serializedName: "bitness",
|
|
304
|
-
required: true,
|
|
305
|
-
type: {
|
|
306
|
-
name: "Enum",
|
|
307
|
-
allowedValues: ["32bit", "64bit"]
|
|
308
|
-
}
|
|
309
|
-
}
|
|
310
|
-
}
|
|
311
|
-
}
|
|
312
|
-
};
|
|
313
|
-
const VirtualMachineConfiguration = {
|
|
314
|
-
type: {
|
|
315
|
-
name: "Composite",
|
|
316
|
-
className: "VirtualMachineConfiguration",
|
|
317
|
-
modelProperties: {
|
|
318
|
-
virtualMachineType: {
|
|
319
|
-
serializedName: "virtualMachineType",
|
|
320
|
-
type: {
|
|
321
|
-
name: "Enum",
|
|
322
|
-
allowedValues: [
|
|
323
|
-
"unknown",
|
|
324
|
-
"hyperv",
|
|
325
|
-
"ldom",
|
|
326
|
-
"lpar",
|
|
327
|
-
"vmware",
|
|
328
|
-
"virtualPc",
|
|
329
|
-
"xen"
|
|
330
|
-
]
|
|
331
|
-
}
|
|
332
|
-
},
|
|
333
|
-
nativeMachineId: {
|
|
334
|
-
serializedName: "nativeMachineId",
|
|
335
|
-
type: {
|
|
336
|
-
name: "String"
|
|
337
|
-
}
|
|
338
|
-
},
|
|
339
|
-
virtualMachineName: {
|
|
340
|
-
serializedName: "virtualMachineName",
|
|
341
|
-
type: {
|
|
342
|
-
name: "String"
|
|
343
|
-
}
|
|
344
|
-
},
|
|
345
|
-
nativeHostMachineId: {
|
|
346
|
-
serializedName: "nativeHostMachineId",
|
|
347
|
-
type: {
|
|
348
|
-
name: "String"
|
|
349
|
-
}
|
|
350
|
-
}
|
|
351
|
-
}
|
|
352
|
-
}
|
|
353
|
-
};
|
|
354
|
-
const HypervisorConfiguration = {
|
|
355
|
-
type: {
|
|
356
|
-
name: "Composite",
|
|
357
|
-
className: "HypervisorConfiguration",
|
|
358
|
-
modelProperties: {
|
|
359
|
-
hypervisorType: {
|
|
360
|
-
serializedName: "hypervisorType",
|
|
361
|
-
type: {
|
|
362
|
-
name: "Enum",
|
|
363
|
-
allowedValues: ["unknown", "hyperv"]
|
|
364
|
-
}
|
|
365
|
-
},
|
|
366
|
-
nativeHostMachineId: {
|
|
367
|
-
serializedName: "nativeHostMachineId",
|
|
368
|
-
type: {
|
|
369
|
-
name: "String"
|
|
370
|
-
}
|
|
371
|
-
}
|
|
372
|
-
}
|
|
373
|
-
}
|
|
374
|
-
};
|
|
375
|
-
const HostingConfiguration = {
|
|
376
|
-
type: {
|
|
377
|
-
name: "Composite",
|
|
378
|
-
className: "HostingConfiguration",
|
|
379
|
-
uberParent: "HostingConfiguration",
|
|
380
|
-
polymorphicDiscriminator: {
|
|
381
|
-
serializedName: "kind",
|
|
382
|
-
clientName: "kind"
|
|
383
|
-
},
|
|
384
|
-
modelProperties: {
|
|
385
|
-
provider: {
|
|
386
|
-
defaultValue: "azure",
|
|
387
|
-
isConstant: true,
|
|
388
|
-
serializedName: "provider",
|
|
389
|
-
type: {
|
|
390
|
-
name: "String"
|
|
391
|
-
}
|
|
392
|
-
},
|
|
393
|
-
kind: {
|
|
394
|
-
defaultValue: "provider:azure",
|
|
395
|
-
isConstant: true,
|
|
396
|
-
serializedName: "kind",
|
|
397
|
-
type: {
|
|
398
|
-
name: "String"
|
|
399
|
-
}
|
|
400
|
-
}
|
|
401
|
-
}
|
|
402
|
-
}
|
|
403
|
-
};
|
|
404
|
-
const Resource = {
|
|
405
|
-
type: {
|
|
406
|
-
name: "Composite",
|
|
407
|
-
className: "Resource",
|
|
408
|
-
modelProperties: {
|
|
409
|
-
id: {
|
|
410
|
-
serializedName: "id",
|
|
411
|
-
readOnly: true,
|
|
412
|
-
type: {
|
|
413
|
-
name: "String"
|
|
414
|
-
}
|
|
415
|
-
},
|
|
416
|
-
type: {
|
|
417
|
-
serializedName: "type",
|
|
418
|
-
readOnly: true,
|
|
419
|
-
type: {
|
|
420
|
-
name: "String"
|
|
421
|
-
}
|
|
422
|
-
},
|
|
423
|
-
name: {
|
|
424
|
-
serializedName: "name",
|
|
425
|
-
readOnly: true,
|
|
426
|
-
type: {
|
|
427
|
-
name: "String"
|
|
428
|
-
}
|
|
429
|
-
}
|
|
430
|
-
}
|
|
431
|
-
}
|
|
432
|
-
};
|
|
433
|
-
const ErrorResponse = {
|
|
434
|
-
type: {
|
|
435
|
-
name: "Composite",
|
|
436
|
-
className: "ErrorResponse",
|
|
437
|
-
modelProperties: {
|
|
438
|
-
error: {
|
|
439
|
-
serializedName: "error",
|
|
440
|
-
type: {
|
|
441
|
-
name: "Composite",
|
|
442
|
-
className: "ErrorModel"
|
|
443
|
-
}
|
|
444
|
-
}
|
|
445
|
-
}
|
|
446
|
-
}
|
|
447
|
-
};
|
|
448
|
-
const ErrorModel = {
|
|
449
|
-
type: {
|
|
450
|
-
name: "Composite",
|
|
451
|
-
className: "ErrorModel",
|
|
452
|
-
modelProperties: {
|
|
453
|
-
code: {
|
|
454
|
-
serializedName: "code",
|
|
455
|
-
required: true,
|
|
456
|
-
type: {
|
|
457
|
-
name: "String"
|
|
458
|
-
}
|
|
459
|
-
},
|
|
460
|
-
message: {
|
|
461
|
-
serializedName: "message",
|
|
462
|
-
type: {
|
|
463
|
-
name: "String"
|
|
464
|
-
}
|
|
465
|
-
}
|
|
466
|
-
}
|
|
467
|
-
}
|
|
468
|
-
};
|
|
469
|
-
const Liveness = {
|
|
470
|
-
type: {
|
|
471
|
-
name: "Composite",
|
|
472
|
-
className: "Liveness",
|
|
473
|
-
modelProperties: {
|
|
474
|
-
startTime: {
|
|
475
|
-
serializedName: "startTime",
|
|
476
|
-
required: true,
|
|
477
|
-
type: {
|
|
478
|
-
name: "DateTime"
|
|
479
|
-
}
|
|
480
|
-
},
|
|
481
|
-
endTime: {
|
|
482
|
-
serializedName: "endTime",
|
|
483
|
-
required: true,
|
|
484
|
-
type: {
|
|
485
|
-
name: "DateTime"
|
|
486
|
-
}
|
|
487
|
-
},
|
|
488
|
-
live: {
|
|
489
|
-
serializedName: "live",
|
|
490
|
-
required: true,
|
|
491
|
-
type: {
|
|
492
|
-
name: "Boolean"
|
|
493
|
-
}
|
|
494
|
-
}
|
|
495
|
-
}
|
|
496
|
-
}
|
|
497
|
-
};
|
|
498
|
-
const ConnectionCollection = {
|
|
499
|
-
type: {
|
|
500
|
-
name: "Composite",
|
|
501
|
-
className: "ConnectionCollection",
|
|
502
|
-
modelProperties: {
|
|
503
|
-
value: {
|
|
504
|
-
serializedName: "value",
|
|
505
|
-
type: {
|
|
506
|
-
name: "Sequence",
|
|
507
|
-
element: {
|
|
508
|
-
type: {
|
|
509
|
-
name: "Composite",
|
|
510
|
-
className: "Connection"
|
|
511
|
-
}
|
|
512
|
-
}
|
|
513
|
-
}
|
|
514
|
-
},
|
|
515
|
-
nextLink: {
|
|
516
|
-
serializedName: "nextLink",
|
|
517
|
-
type: {
|
|
518
|
-
name: "String"
|
|
519
|
-
}
|
|
520
|
-
}
|
|
521
|
-
}
|
|
522
|
-
}
|
|
523
|
-
};
|
|
524
|
-
const ResourceReference = {
|
|
525
|
-
type: {
|
|
526
|
-
name: "Composite",
|
|
527
|
-
className: "ResourceReference",
|
|
528
|
-
uberParent: "ResourceReference",
|
|
529
|
-
polymorphicDiscriminator: {
|
|
530
|
-
serializedName: "kind",
|
|
531
|
-
clientName: "kind"
|
|
532
|
-
},
|
|
533
|
-
modelProperties: {
|
|
534
|
-
id: {
|
|
535
|
-
serializedName: "id",
|
|
536
|
-
required: true,
|
|
537
|
-
type: {
|
|
538
|
-
name: "String"
|
|
539
|
-
}
|
|
540
|
-
},
|
|
541
|
-
type: {
|
|
542
|
-
serializedName: "type",
|
|
543
|
-
readOnly: true,
|
|
544
|
-
type: {
|
|
545
|
-
name: "String"
|
|
546
|
-
}
|
|
547
|
-
},
|
|
548
|
-
name: {
|
|
549
|
-
serializedName: "name",
|
|
550
|
-
readOnly: true,
|
|
551
|
-
type: {
|
|
552
|
-
name: "String"
|
|
553
|
-
}
|
|
554
|
-
},
|
|
555
|
-
kind: {
|
|
556
|
-
serializedName: "kind",
|
|
557
|
-
required: true,
|
|
558
|
-
type: {
|
|
559
|
-
name: "String"
|
|
560
|
-
}
|
|
561
|
-
}
|
|
562
|
-
}
|
|
563
|
-
}
|
|
564
|
-
};
|
|
565
|
-
const RelationshipProperties = {
|
|
566
|
-
type: {
|
|
567
|
-
name: "Composite",
|
|
568
|
-
className: "RelationshipProperties",
|
|
569
|
-
modelProperties: {
|
|
570
|
-
source: {
|
|
571
|
-
serializedName: "source",
|
|
572
|
-
type: {
|
|
573
|
-
name: "Composite",
|
|
574
|
-
className: "ResourceReference"
|
|
575
|
-
}
|
|
576
|
-
},
|
|
577
|
-
destination: {
|
|
578
|
-
serializedName: "destination",
|
|
579
|
-
type: {
|
|
580
|
-
name: "Composite",
|
|
581
|
-
className: "ResourceReference"
|
|
582
|
-
}
|
|
583
|
-
},
|
|
584
|
-
startTime: {
|
|
585
|
-
serializedName: "startTime",
|
|
586
|
-
type: {
|
|
587
|
-
name: "DateTime"
|
|
588
|
-
}
|
|
589
|
-
},
|
|
590
|
-
endTime: {
|
|
591
|
-
serializedName: "endTime",
|
|
592
|
-
type: {
|
|
593
|
-
name: "DateTime"
|
|
594
|
-
}
|
|
595
|
-
}
|
|
596
|
-
}
|
|
597
|
-
}
|
|
598
|
-
};
|
|
599
|
-
const ProcessCollection = {
|
|
600
|
-
type: {
|
|
601
|
-
name: "Composite",
|
|
602
|
-
className: "ProcessCollection",
|
|
603
|
-
modelProperties: {
|
|
604
|
-
value: {
|
|
605
|
-
serializedName: "value",
|
|
606
|
-
type: {
|
|
607
|
-
name: "Sequence",
|
|
608
|
-
element: {
|
|
609
|
-
type: {
|
|
610
|
-
name: "Composite",
|
|
611
|
-
className: "Process"
|
|
612
|
-
}
|
|
613
|
-
}
|
|
614
|
-
}
|
|
615
|
-
},
|
|
616
|
-
nextLink: {
|
|
617
|
-
serializedName: "nextLink",
|
|
618
|
-
type: {
|
|
619
|
-
name: "String"
|
|
620
|
-
}
|
|
621
|
-
}
|
|
622
|
-
}
|
|
623
|
-
}
|
|
624
|
-
};
|
|
625
|
-
const ProcessDetails = {
|
|
626
|
-
type: {
|
|
627
|
-
name: "Composite",
|
|
628
|
-
className: "ProcessDetails",
|
|
629
|
-
modelProperties: {
|
|
630
|
-
persistentKey: {
|
|
631
|
-
serializedName: "persistentKey",
|
|
632
|
-
type: {
|
|
633
|
-
name: "String"
|
|
634
|
-
}
|
|
635
|
-
},
|
|
636
|
-
poolId: {
|
|
637
|
-
serializedName: "poolId",
|
|
638
|
-
type: {
|
|
639
|
-
name: "Number"
|
|
640
|
-
}
|
|
641
|
-
},
|
|
642
|
-
firstPid: {
|
|
643
|
-
serializedName: "firstPid",
|
|
644
|
-
type: {
|
|
645
|
-
name: "Number"
|
|
646
|
-
}
|
|
647
|
-
},
|
|
648
|
-
description: {
|
|
649
|
-
serializedName: "description",
|
|
650
|
-
type: {
|
|
651
|
-
name: "String"
|
|
652
|
-
}
|
|
653
|
-
},
|
|
654
|
-
companyName: {
|
|
655
|
-
serializedName: "companyName",
|
|
656
|
-
type: {
|
|
657
|
-
name: "String"
|
|
658
|
-
}
|
|
659
|
-
},
|
|
660
|
-
internalName: {
|
|
661
|
-
serializedName: "internalName",
|
|
662
|
-
type: {
|
|
663
|
-
name: "String"
|
|
664
|
-
}
|
|
665
|
-
},
|
|
666
|
-
productName: {
|
|
667
|
-
serializedName: "productName",
|
|
668
|
-
type: {
|
|
669
|
-
name: "String"
|
|
670
|
-
}
|
|
671
|
-
},
|
|
672
|
-
productVersion: {
|
|
673
|
-
serializedName: "productVersion",
|
|
674
|
-
type: {
|
|
675
|
-
name: "String"
|
|
676
|
-
}
|
|
677
|
-
},
|
|
678
|
-
fileVersion: {
|
|
679
|
-
serializedName: "fileVersion",
|
|
680
|
-
type: {
|
|
681
|
-
name: "String"
|
|
682
|
-
}
|
|
683
|
-
},
|
|
684
|
-
commandLine: {
|
|
685
|
-
serializedName: "commandLine",
|
|
686
|
-
type: {
|
|
687
|
-
name: "String"
|
|
688
|
-
}
|
|
689
|
-
},
|
|
690
|
-
executablePath: {
|
|
691
|
-
serializedName: "executablePath",
|
|
692
|
-
type: {
|
|
693
|
-
name: "String"
|
|
694
|
-
}
|
|
695
|
-
},
|
|
696
|
-
workingDirectory: {
|
|
697
|
-
serializedName: "workingDirectory",
|
|
698
|
-
type: {
|
|
699
|
-
name: "String"
|
|
700
|
-
}
|
|
701
|
-
},
|
|
702
|
-
services: {
|
|
703
|
-
serializedName: "services",
|
|
704
|
-
type: {
|
|
705
|
-
name: "Sequence",
|
|
706
|
-
element: {
|
|
707
|
-
type: {
|
|
708
|
-
name: "Composite",
|
|
709
|
-
className: "ProcessHostedService"
|
|
710
|
-
}
|
|
711
|
-
}
|
|
712
|
-
}
|
|
713
|
-
},
|
|
714
|
-
zoneName: {
|
|
715
|
-
serializedName: "zoneName",
|
|
716
|
-
type: {
|
|
717
|
-
name: "String"
|
|
718
|
-
}
|
|
719
|
-
}
|
|
720
|
-
}
|
|
721
|
-
}
|
|
722
|
-
};
|
|
723
|
-
const ProcessHostedService = {
|
|
724
|
-
type: {
|
|
725
|
-
name: "Composite",
|
|
726
|
-
className: "ProcessHostedService",
|
|
727
|
-
modelProperties: {
|
|
728
|
-
name: {
|
|
729
|
-
serializedName: "name",
|
|
730
|
-
type: {
|
|
731
|
-
name: "String"
|
|
732
|
-
}
|
|
733
|
-
},
|
|
734
|
-
displayName: {
|
|
735
|
-
serializedName: "displayName",
|
|
736
|
-
type: {
|
|
737
|
-
name: "String"
|
|
738
|
-
}
|
|
739
|
-
}
|
|
740
|
-
}
|
|
741
|
-
}
|
|
742
|
-
};
|
|
743
|
-
const ProcessUser = {
|
|
744
|
-
type: {
|
|
745
|
-
name: "Composite",
|
|
746
|
-
className: "ProcessUser",
|
|
747
|
-
modelProperties: {
|
|
748
|
-
userName: {
|
|
749
|
-
serializedName: "userName",
|
|
750
|
-
type: {
|
|
751
|
-
name: "String"
|
|
752
|
-
}
|
|
753
|
-
},
|
|
754
|
-
userDomain: {
|
|
755
|
-
serializedName: "userDomain",
|
|
756
|
-
type: {
|
|
757
|
-
name: "String"
|
|
758
|
-
}
|
|
759
|
-
}
|
|
760
|
-
}
|
|
761
|
-
}
|
|
762
|
-
};
|
|
763
|
-
const ProcessHostingConfiguration = {
|
|
764
|
-
type: {
|
|
765
|
-
name: "Composite",
|
|
766
|
-
className: "ProcessHostingConfiguration",
|
|
767
|
-
uberParent: "ProcessHostingConfiguration",
|
|
768
|
-
polymorphicDiscriminator: {
|
|
769
|
-
serializedName: "kind",
|
|
770
|
-
clientName: "kind"
|
|
771
|
-
},
|
|
772
|
-
modelProperties: {
|
|
773
|
-
provider: {
|
|
774
|
-
defaultValue: "azure",
|
|
775
|
-
isConstant: true,
|
|
776
|
-
serializedName: "provider",
|
|
777
|
-
type: {
|
|
778
|
-
name: "String"
|
|
779
|
-
}
|
|
780
|
-
},
|
|
781
|
-
kind: {
|
|
782
|
-
defaultValue: "provider:azure",
|
|
783
|
-
isConstant: true,
|
|
784
|
-
serializedName: "kind",
|
|
785
|
-
type: {
|
|
786
|
-
name: "String"
|
|
787
|
-
}
|
|
788
|
-
}
|
|
789
|
-
}
|
|
790
|
-
}
|
|
791
|
-
};
|
|
792
|
-
const PortCollection = {
|
|
793
|
-
type: {
|
|
794
|
-
name: "Composite",
|
|
795
|
-
className: "PortCollection",
|
|
796
|
-
modelProperties: {
|
|
797
|
-
value: {
|
|
798
|
-
serializedName: "value",
|
|
799
|
-
type: {
|
|
800
|
-
name: "Sequence",
|
|
801
|
-
element: {
|
|
802
|
-
type: {
|
|
803
|
-
name: "Composite",
|
|
804
|
-
className: "Port"
|
|
805
|
-
}
|
|
806
|
-
}
|
|
807
|
-
}
|
|
808
|
-
},
|
|
809
|
-
nextLink: {
|
|
810
|
-
serializedName: "nextLink",
|
|
811
|
-
type: {
|
|
812
|
-
name: "String"
|
|
813
|
-
}
|
|
814
|
-
}
|
|
815
|
-
}
|
|
816
|
-
}
|
|
817
|
-
};
|
|
818
|
-
const MachineGroupCollection = {
|
|
819
|
-
type: {
|
|
820
|
-
name: "Composite",
|
|
821
|
-
className: "MachineGroupCollection",
|
|
822
|
-
modelProperties: {
|
|
823
|
-
value: {
|
|
824
|
-
serializedName: "value",
|
|
825
|
-
type: {
|
|
826
|
-
name: "Sequence",
|
|
827
|
-
element: {
|
|
828
|
-
type: {
|
|
829
|
-
name: "Composite",
|
|
830
|
-
className: "MachineGroup"
|
|
831
|
-
}
|
|
832
|
-
}
|
|
833
|
-
}
|
|
834
|
-
},
|
|
835
|
-
nextLink: {
|
|
836
|
-
serializedName: "nextLink",
|
|
837
|
-
type: {
|
|
838
|
-
name: "String"
|
|
839
|
-
}
|
|
840
|
-
}
|
|
841
|
-
}
|
|
842
|
-
}
|
|
843
|
-
};
|
|
844
|
-
const ClientGroupMembersCount = {
|
|
845
|
-
type: {
|
|
846
|
-
name: "Composite",
|
|
847
|
-
className: "ClientGroupMembersCount",
|
|
848
|
-
modelProperties: {
|
|
849
|
-
startTime: {
|
|
850
|
-
serializedName: "startTime",
|
|
851
|
-
required: true,
|
|
852
|
-
type: {
|
|
853
|
-
name: "DateTime"
|
|
854
|
-
}
|
|
855
|
-
},
|
|
856
|
-
endTime: {
|
|
857
|
-
serializedName: "endTime",
|
|
858
|
-
required: true,
|
|
859
|
-
type: {
|
|
860
|
-
name: "DateTime"
|
|
861
|
-
}
|
|
862
|
-
},
|
|
863
|
-
groupId: {
|
|
864
|
-
serializedName: "groupId",
|
|
865
|
-
required: true,
|
|
866
|
-
type: {
|
|
867
|
-
name: "String"
|
|
868
|
-
}
|
|
869
|
-
},
|
|
870
|
-
count: {
|
|
871
|
-
serializedName: "count",
|
|
872
|
-
required: true,
|
|
873
|
-
type: {
|
|
874
|
-
name: "Number"
|
|
875
|
-
}
|
|
876
|
-
},
|
|
877
|
-
accuracy: {
|
|
878
|
-
serializedName: "accuracy",
|
|
879
|
-
required: true,
|
|
880
|
-
type: {
|
|
881
|
-
name: "Enum",
|
|
882
|
-
allowedValues: ["actual", "estimated"]
|
|
883
|
-
}
|
|
884
|
-
}
|
|
885
|
-
}
|
|
886
|
-
}
|
|
887
|
-
};
|
|
888
|
-
const ClientGroupMembersCollection = {
|
|
889
|
-
type: {
|
|
890
|
-
name: "Composite",
|
|
891
|
-
className: "ClientGroupMembersCollection",
|
|
892
|
-
modelProperties: {
|
|
893
|
-
value: {
|
|
894
|
-
serializedName: "value",
|
|
895
|
-
type: {
|
|
896
|
-
name: "Sequence",
|
|
897
|
-
element: {
|
|
898
|
-
type: {
|
|
899
|
-
name: "Composite",
|
|
900
|
-
className: "ClientGroupMember"
|
|
901
|
-
}
|
|
902
|
-
}
|
|
903
|
-
}
|
|
904
|
-
},
|
|
905
|
-
nextLink: {
|
|
906
|
-
serializedName: "nextLink",
|
|
907
|
-
type: {
|
|
908
|
-
name: "String"
|
|
909
|
-
}
|
|
910
|
-
}
|
|
911
|
-
}
|
|
912
|
-
}
|
|
913
|
-
};
|
|
914
|
-
const MapRequest = {
|
|
915
|
-
type: {
|
|
916
|
-
name: "Composite",
|
|
917
|
-
className: "MapRequest",
|
|
918
|
-
uberParent: "MapRequest",
|
|
919
|
-
polymorphicDiscriminator: {
|
|
920
|
-
serializedName: "kind",
|
|
921
|
-
clientName: "kind"
|
|
922
|
-
},
|
|
923
|
-
modelProperties: {
|
|
924
|
-
startTime: {
|
|
925
|
-
serializedName: "startTime",
|
|
926
|
-
type: {
|
|
927
|
-
name: "DateTime"
|
|
928
|
-
}
|
|
929
|
-
},
|
|
930
|
-
endTime: {
|
|
931
|
-
serializedName: "endTime",
|
|
932
|
-
type: {
|
|
933
|
-
name: "DateTime"
|
|
934
|
-
}
|
|
935
|
-
},
|
|
936
|
-
kind: {
|
|
937
|
-
serializedName: "kind",
|
|
938
|
-
required: true,
|
|
939
|
-
type: {
|
|
940
|
-
name: "String"
|
|
941
|
-
}
|
|
942
|
-
}
|
|
943
|
-
}
|
|
944
|
-
}
|
|
945
|
-
};
|
|
946
|
-
const MapResponse = {
|
|
947
|
-
type: {
|
|
948
|
-
name: "Composite",
|
|
949
|
-
className: "MapResponse",
|
|
950
|
-
modelProperties: {
|
|
951
|
-
startTime: {
|
|
952
|
-
serializedName: "startTime",
|
|
953
|
-
required: true,
|
|
954
|
-
type: {
|
|
955
|
-
name: "DateTime"
|
|
956
|
-
}
|
|
957
|
-
},
|
|
958
|
-
endTime: {
|
|
959
|
-
serializedName: "endTime",
|
|
960
|
-
required: true,
|
|
961
|
-
type: {
|
|
962
|
-
name: "DateTime"
|
|
963
|
-
}
|
|
964
|
-
},
|
|
965
|
-
map: {
|
|
966
|
-
serializedName: "map",
|
|
967
|
-
type: {
|
|
968
|
-
name: "Composite",
|
|
969
|
-
className: "Map"
|
|
970
|
-
}
|
|
971
|
-
}
|
|
972
|
-
}
|
|
973
|
-
}
|
|
974
|
-
};
|
|
975
|
-
const Map = {
|
|
976
|
-
type: {
|
|
977
|
-
name: "Composite",
|
|
978
|
-
className: "Map",
|
|
979
|
-
modelProperties: {
|
|
980
|
-
nodes: {
|
|
981
|
-
serializedName: "nodes",
|
|
982
|
-
type: {
|
|
983
|
-
name: "Composite",
|
|
984
|
-
className: "MapNodes"
|
|
985
|
-
}
|
|
986
|
-
},
|
|
987
|
-
edges: {
|
|
988
|
-
serializedName: "edges",
|
|
989
|
-
type: {
|
|
990
|
-
name: "Composite",
|
|
991
|
-
className: "MapEdges"
|
|
992
|
-
}
|
|
993
|
-
}
|
|
994
|
-
}
|
|
995
|
-
}
|
|
996
|
-
};
|
|
997
|
-
const MapNodes = {
|
|
998
|
-
type: {
|
|
999
|
-
name: "Composite",
|
|
1000
|
-
className: "MapNodes",
|
|
1001
|
-
modelProperties: {
|
|
1002
|
-
machines: {
|
|
1003
|
-
serializedName: "machines",
|
|
1004
|
-
type: {
|
|
1005
|
-
name: "Sequence",
|
|
1006
|
-
element: {
|
|
1007
|
-
type: {
|
|
1008
|
-
name: "Composite",
|
|
1009
|
-
className: "Machine"
|
|
1010
|
-
}
|
|
1011
|
-
}
|
|
1012
|
-
}
|
|
1013
|
-
},
|
|
1014
|
-
processes: {
|
|
1015
|
-
serializedName: "processes",
|
|
1016
|
-
type: {
|
|
1017
|
-
name: "Sequence",
|
|
1018
|
-
element: {
|
|
1019
|
-
type: {
|
|
1020
|
-
name: "Composite",
|
|
1021
|
-
className: "Process"
|
|
1022
|
-
}
|
|
1023
|
-
}
|
|
1024
|
-
}
|
|
1025
|
-
},
|
|
1026
|
-
ports: {
|
|
1027
|
-
serializedName: "ports",
|
|
1028
|
-
type: {
|
|
1029
|
-
name: "Sequence",
|
|
1030
|
-
element: {
|
|
1031
|
-
type: {
|
|
1032
|
-
name: "Composite",
|
|
1033
|
-
className: "Port"
|
|
1034
|
-
}
|
|
1035
|
-
}
|
|
1036
|
-
}
|
|
1037
|
-
},
|
|
1038
|
-
clientGroups: {
|
|
1039
|
-
serializedName: "clientGroups",
|
|
1040
|
-
type: {
|
|
1041
|
-
name: "Sequence",
|
|
1042
|
-
element: {
|
|
1043
|
-
type: {
|
|
1044
|
-
name: "Composite",
|
|
1045
|
-
className: "ClientGroup"
|
|
1046
|
-
}
|
|
1047
|
-
}
|
|
1048
|
-
}
|
|
1049
|
-
}
|
|
1050
|
-
}
|
|
1051
|
-
}
|
|
1052
|
-
};
|
|
1053
|
-
const MapEdges = {
|
|
1054
|
-
type: {
|
|
1055
|
-
name: "Composite",
|
|
1056
|
-
className: "MapEdges",
|
|
1057
|
-
modelProperties: {
|
|
1058
|
-
connections: {
|
|
1059
|
-
serializedName: "connections",
|
|
1060
|
-
type: {
|
|
1061
|
-
name: "Sequence",
|
|
1062
|
-
element: {
|
|
1063
|
-
type: {
|
|
1064
|
-
name: "Composite",
|
|
1065
|
-
className: "Connection"
|
|
1066
|
-
}
|
|
1067
|
-
}
|
|
1068
|
-
}
|
|
1069
|
-
},
|
|
1070
|
-
acceptors: {
|
|
1071
|
-
serializedName: "acceptors",
|
|
1072
|
-
type: {
|
|
1073
|
-
name: "Sequence",
|
|
1074
|
-
element: {
|
|
1075
|
-
type: {
|
|
1076
|
-
name: "Composite",
|
|
1077
|
-
className: "Acceptor"
|
|
1078
|
-
}
|
|
1079
|
-
}
|
|
1080
|
-
}
|
|
1081
|
-
}
|
|
1082
|
-
}
|
|
1083
|
-
}
|
|
1084
|
-
};
|
|
1085
|
-
const MachineCountsByOperatingSystem = {
|
|
1086
|
-
type: {
|
|
1087
|
-
name: "Composite",
|
|
1088
|
-
className: "MachineCountsByOperatingSystem",
|
|
1089
|
-
modelProperties: {
|
|
1090
|
-
windows: {
|
|
1091
|
-
serializedName: "windows",
|
|
1092
|
-
required: true,
|
|
1093
|
-
type: {
|
|
1094
|
-
name: "Number"
|
|
1095
|
-
}
|
|
1096
|
-
},
|
|
1097
|
-
linux: {
|
|
1098
|
-
serializedName: "linux",
|
|
1099
|
-
required: true,
|
|
1100
|
-
type: {
|
|
1101
|
-
name: "Number"
|
|
1102
|
-
}
|
|
1103
|
-
}
|
|
1104
|
-
}
|
|
1105
|
-
}
|
|
1106
|
-
};
|
|
1107
|
-
const SummaryProperties = {
|
|
1108
|
-
type: {
|
|
1109
|
-
name: "Composite",
|
|
1110
|
-
className: "SummaryProperties",
|
|
1111
|
-
modelProperties: {
|
|
1112
|
-
startTime: {
|
|
1113
|
-
serializedName: "startTime",
|
|
1114
|
-
required: true,
|
|
1115
|
-
type: {
|
|
1116
|
-
name: "DateTime"
|
|
1117
|
-
}
|
|
1118
|
-
},
|
|
1119
|
-
endTime: {
|
|
1120
|
-
serializedName: "endTime",
|
|
1121
|
-
required: true,
|
|
1122
|
-
type: {
|
|
1123
|
-
name: "DateTime"
|
|
1124
|
-
}
|
|
1125
|
-
}
|
|
1126
|
-
}
|
|
1127
|
-
}
|
|
1128
|
-
};
|
|
1129
|
-
const ImageConfiguration = {
|
|
1130
|
-
type: {
|
|
1131
|
-
name: "Composite",
|
|
1132
|
-
className: "ImageConfiguration",
|
|
1133
|
-
modelProperties: {
|
|
1134
|
-
publisher: {
|
|
1135
|
-
serializedName: "publisher",
|
|
1136
|
-
type: {
|
|
1137
|
-
name: "String"
|
|
1138
|
-
}
|
|
1139
|
-
},
|
|
1140
|
-
offering: {
|
|
1141
|
-
serializedName: "offering",
|
|
1142
|
-
type: {
|
|
1143
|
-
name: "String"
|
|
1144
|
-
}
|
|
1145
|
-
},
|
|
1146
|
-
sku: {
|
|
1147
|
-
serializedName: "sku",
|
|
1148
|
-
type: {
|
|
1149
|
-
name: "String"
|
|
1150
|
-
}
|
|
1151
|
-
},
|
|
1152
|
-
version: {
|
|
1153
|
-
serializedName: "version",
|
|
1154
|
-
type: {
|
|
1155
|
-
name: "String"
|
|
1156
|
-
}
|
|
1157
|
-
}
|
|
1158
|
-
}
|
|
1159
|
-
}
|
|
1160
|
-
};
|
|
1161
|
-
const AzureCloudServiceConfiguration = {
|
|
1162
|
-
type: {
|
|
1163
|
-
name: "Composite",
|
|
1164
|
-
className: "AzureCloudServiceConfiguration",
|
|
1165
|
-
modelProperties: {
|
|
1166
|
-
name: {
|
|
1167
|
-
serializedName: "name",
|
|
1168
|
-
type: {
|
|
1169
|
-
name: "String"
|
|
1170
|
-
}
|
|
1171
|
-
},
|
|
1172
|
-
instanceId: {
|
|
1173
|
-
serializedName: "instanceId",
|
|
1174
|
-
type: {
|
|
1175
|
-
name: "String"
|
|
1176
|
-
}
|
|
1177
|
-
},
|
|
1178
|
-
deployment: {
|
|
1179
|
-
serializedName: "deployment",
|
|
1180
|
-
type: {
|
|
1181
|
-
name: "String"
|
|
1182
|
-
}
|
|
1183
|
-
},
|
|
1184
|
-
roleName: {
|
|
1185
|
-
serializedName: "roleName",
|
|
1186
|
-
type: {
|
|
1187
|
-
name: "String"
|
|
1188
|
-
}
|
|
1189
|
-
},
|
|
1190
|
-
roleType: {
|
|
1191
|
-
serializedName: "roleType",
|
|
1192
|
-
type: {
|
|
1193
|
-
name: "Enum",
|
|
1194
|
-
allowedValues: ["unknown", "worker", "web"]
|
|
1195
|
-
}
|
|
1196
|
-
}
|
|
1197
|
-
}
|
|
1198
|
-
}
|
|
1199
|
-
};
|
|
1200
|
-
const AzureVmScaleSetConfiguration = {
|
|
1201
|
-
type: {
|
|
1202
|
-
name: "Composite",
|
|
1203
|
-
className: "AzureVmScaleSetConfiguration",
|
|
1204
|
-
modelProperties: {
|
|
1205
|
-
name: {
|
|
1206
|
-
serializedName: "name",
|
|
1207
|
-
type: {
|
|
1208
|
-
name: "String"
|
|
1209
|
-
}
|
|
1210
|
-
},
|
|
1211
|
-
instanceId: {
|
|
1212
|
-
serializedName: "instanceId",
|
|
1213
|
-
type: {
|
|
1214
|
-
name: "String"
|
|
1215
|
-
}
|
|
1216
|
-
},
|
|
1217
|
-
deployment: {
|
|
1218
|
-
serializedName: "deployment",
|
|
1219
|
-
type: {
|
|
1220
|
-
name: "String"
|
|
1221
|
-
}
|
|
1222
|
-
},
|
|
1223
|
-
resourceId: {
|
|
1224
|
-
serializedName: "resourceId",
|
|
1225
|
-
type: {
|
|
1226
|
-
name: "String"
|
|
1227
|
-
}
|
|
1228
|
-
}
|
|
1229
|
-
}
|
|
1230
|
-
}
|
|
1231
|
-
};
|
|
1232
|
-
const AzureServiceFabricClusterConfiguration = {
|
|
1233
|
-
type: {
|
|
1234
|
-
name: "Composite",
|
|
1235
|
-
className: "AzureServiceFabricClusterConfiguration",
|
|
1236
|
-
modelProperties: {
|
|
1237
|
-
name: {
|
|
1238
|
-
serializedName: "name",
|
|
1239
|
-
type: {
|
|
1240
|
-
name: "String"
|
|
1241
|
-
}
|
|
1242
|
-
},
|
|
1243
|
-
clusterId: {
|
|
1244
|
-
serializedName: "clusterId",
|
|
1245
|
-
type: {
|
|
1246
|
-
name: "String"
|
|
1247
|
-
}
|
|
1248
|
-
}
|
|
1249
|
-
}
|
|
1250
|
-
}
|
|
1251
|
-
};
|
|
1252
|
-
const AzureHostingConfiguration = {
|
|
1253
|
-
serializedName: "provider:azure",
|
|
1254
|
-
type: {
|
|
1255
|
-
name: "Composite",
|
|
1256
|
-
className: "AzureHostingConfiguration",
|
|
1257
|
-
uberParent: "HostingConfiguration",
|
|
1258
|
-
polymorphicDiscriminator: HostingConfiguration.type.polymorphicDiscriminator,
|
|
1259
|
-
modelProperties: Object.assign(Object.assign({}, HostingConfiguration.type.modelProperties), { vmId: {
|
|
1260
|
-
serializedName: "vmId",
|
|
1261
|
-
type: {
|
|
1262
|
-
name: "String"
|
|
1263
|
-
}
|
|
1264
|
-
}, location: {
|
|
1265
|
-
serializedName: "location",
|
|
1266
|
-
type: {
|
|
1267
|
-
name: "String"
|
|
1268
|
-
}
|
|
1269
|
-
}, name: {
|
|
1270
|
-
serializedName: "name",
|
|
1271
|
-
type: {
|
|
1272
|
-
name: "String"
|
|
1273
|
-
}
|
|
1274
|
-
}, size: {
|
|
1275
|
-
serializedName: "size",
|
|
1276
|
-
type: {
|
|
1277
|
-
name: "String"
|
|
1278
|
-
}
|
|
1279
|
-
}, updateDomain: {
|
|
1280
|
-
serializedName: "updateDomain",
|
|
1281
|
-
type: {
|
|
1282
|
-
name: "String"
|
|
1283
|
-
}
|
|
1284
|
-
}, faultDomain: {
|
|
1285
|
-
serializedName: "faultDomain",
|
|
1286
|
-
type: {
|
|
1287
|
-
name: "String"
|
|
1288
|
-
}
|
|
1289
|
-
}, subscriptionId: {
|
|
1290
|
-
serializedName: "subscriptionId",
|
|
1291
|
-
type: {
|
|
1292
|
-
name: "String"
|
|
1293
|
-
}
|
|
1294
|
-
}, resourceGroup: {
|
|
1295
|
-
serializedName: "resourceGroup",
|
|
1296
|
-
type: {
|
|
1297
|
-
name: "String"
|
|
1298
|
-
}
|
|
1299
|
-
}, resourceId: {
|
|
1300
|
-
serializedName: "resourceId",
|
|
1301
|
-
type: {
|
|
1302
|
-
name: "String"
|
|
1303
|
-
}
|
|
1304
|
-
}, image: {
|
|
1305
|
-
serializedName: "image",
|
|
1306
|
-
type: {
|
|
1307
|
-
name: "Composite",
|
|
1308
|
-
className: "ImageConfiguration"
|
|
1309
|
-
}
|
|
1310
|
-
}, cloudService: {
|
|
1311
|
-
serializedName: "cloudService",
|
|
1312
|
-
type: {
|
|
1313
|
-
name: "Composite",
|
|
1314
|
-
className: "AzureCloudServiceConfiguration"
|
|
1315
|
-
}
|
|
1316
|
-
}, vmScaleSet: {
|
|
1317
|
-
serializedName: "vmScaleSet",
|
|
1318
|
-
type: {
|
|
1319
|
-
name: "Composite",
|
|
1320
|
-
className: "AzureVmScaleSetConfiguration"
|
|
1321
|
-
}
|
|
1322
|
-
}, serviceFabricCluster: {
|
|
1323
|
-
serializedName: "serviceFabricCluster",
|
|
1324
|
-
type: {
|
|
1325
|
-
name: "Composite",
|
|
1326
|
-
className: "AzureServiceFabricClusterConfiguration"
|
|
1327
|
-
}
|
|
1328
|
-
} })
|
|
1329
|
-
}
|
|
1330
|
-
};
|
|
1331
|
-
const CoreResource = {
|
|
1332
|
-
serializedName: "CoreResource",
|
|
1333
|
-
type: {
|
|
1334
|
-
name: "Composite",
|
|
1335
|
-
className: "CoreResource",
|
|
1336
|
-
uberParent: "Resource",
|
|
1337
|
-
polymorphicDiscriminator: {
|
|
1338
|
-
serializedName: "kind",
|
|
1339
|
-
clientName: "kind"
|
|
1340
|
-
},
|
|
1341
|
-
modelProperties: Object.assign(Object.assign({}, Resource.type.modelProperties), { etag: {
|
|
1342
|
-
serializedName: "etag",
|
|
1343
|
-
type: {
|
|
1344
|
-
name: "String"
|
|
1345
|
-
}
|
|
1346
|
-
}, kind: {
|
|
1347
|
-
serializedName: "kind",
|
|
1348
|
-
required: true,
|
|
1349
|
-
type: {
|
|
1350
|
-
name: "String"
|
|
1351
|
-
}
|
|
1352
|
-
} })
|
|
1353
|
-
}
|
|
1354
|
-
};
|
|
1355
|
-
const Relationship = {
|
|
1356
|
-
serializedName: "Relationship",
|
|
1357
|
-
type: {
|
|
1358
|
-
name: "Composite",
|
|
1359
|
-
className: "Relationship",
|
|
1360
|
-
uberParent: "Resource",
|
|
1361
|
-
polymorphicDiscriminator: {
|
|
1362
|
-
serializedName: "kind",
|
|
1363
|
-
clientName: "kind"
|
|
1364
|
-
},
|
|
1365
|
-
modelProperties: Object.assign(Object.assign({}, Resource.type.modelProperties), { kind: {
|
|
1366
|
-
serializedName: "kind",
|
|
1367
|
-
required: true,
|
|
1368
|
-
type: {
|
|
1369
|
-
name: "String"
|
|
1370
|
-
}
|
|
1371
|
-
} })
|
|
1372
|
-
}
|
|
1373
|
-
};
|
|
1374
|
-
const ClientGroupMember = {
|
|
1375
|
-
type: {
|
|
1376
|
-
name: "Composite",
|
|
1377
|
-
className: "ClientGroupMember",
|
|
1378
|
-
modelProperties: Object.assign(Object.assign({}, Resource.type.modelProperties), { ipAddress: {
|
|
1379
|
-
serializedName: "properties.ipAddress",
|
|
1380
|
-
type: {
|
|
1381
|
-
name: "String"
|
|
1382
|
-
}
|
|
1383
|
-
}, port: {
|
|
1384
|
-
serializedName: "properties.port",
|
|
1385
|
-
type: {
|
|
1386
|
-
name: "Composite",
|
|
1387
|
-
className: "PortReference"
|
|
1388
|
-
}
|
|
1389
|
-
}, processes: {
|
|
1390
|
-
serializedName: "properties.processes",
|
|
1391
|
-
type: {
|
|
1392
|
-
name: "Sequence",
|
|
1393
|
-
element: {
|
|
1394
|
-
type: {
|
|
1395
|
-
name: "Composite",
|
|
1396
|
-
className: "ProcessReference"
|
|
1397
|
-
}
|
|
1398
|
-
}
|
|
1399
|
-
}
|
|
1400
|
-
} })
|
|
1401
|
-
}
|
|
1402
|
-
};
|
|
1403
|
-
const Summary = {
|
|
1404
|
-
type: {
|
|
1405
|
-
name: "Composite",
|
|
1406
|
-
className: "Summary",
|
|
1407
|
-
modelProperties: Object.assign({}, Resource.type.modelProperties)
|
|
1408
|
-
}
|
|
1409
|
-
};
|
|
1410
|
-
const MachineReference = {
|
|
1411
|
-
serializedName: "ref:machine",
|
|
1412
|
-
type: {
|
|
1413
|
-
name: "Composite",
|
|
1414
|
-
className: "MachineReference",
|
|
1415
|
-
uberParent: "ResourceReference",
|
|
1416
|
-
polymorphicDiscriminator: ResourceReference.type.polymorphicDiscriminator,
|
|
1417
|
-
modelProperties: Object.assign({}, ResourceReference.type.modelProperties)
|
|
1418
|
-
}
|
|
1419
|
-
};
|
|
1420
|
-
const PortReference = {
|
|
1421
|
-
serializedName: "ref:port",
|
|
1422
|
-
type: {
|
|
1423
|
-
name: "Composite",
|
|
1424
|
-
className: "PortReference",
|
|
1425
|
-
uberParent: "ResourceReference",
|
|
1426
|
-
polymorphicDiscriminator: ResourceReference.type.polymorphicDiscriminator,
|
|
1427
|
-
modelProperties: Object.assign(Object.assign({}, ResourceReference.type.modelProperties), { machine: {
|
|
1428
|
-
serializedName: "properties.machine",
|
|
1429
|
-
type: {
|
|
1430
|
-
name: "Composite",
|
|
1431
|
-
className: "MachineReference"
|
|
1432
|
-
}
|
|
1433
|
-
}, ipAddress: {
|
|
1434
|
-
serializedName: "properties.ipAddress",
|
|
1435
|
-
readOnly: true,
|
|
1436
|
-
type: {
|
|
1437
|
-
name: "String"
|
|
1438
|
-
}
|
|
1439
|
-
}, portNumber: {
|
|
1440
|
-
serializedName: "properties.portNumber",
|
|
1441
|
-
type: {
|
|
1442
|
-
name: "Number"
|
|
1443
|
-
}
|
|
1444
|
-
} })
|
|
1445
|
-
}
|
|
1446
|
-
};
|
|
1447
|
-
const MachineReferenceWithHints = {
|
|
1448
|
-
serializedName: "ref:machinewithhints",
|
|
1449
|
-
type: {
|
|
1450
|
-
name: "Composite",
|
|
1451
|
-
className: "MachineReferenceWithHints",
|
|
1452
|
-
uberParent: "ResourceReference",
|
|
1453
|
-
polymorphicDiscriminator: ResourceReference.type.polymorphicDiscriminator,
|
|
1454
|
-
modelProperties: Object.assign(Object.assign({}, ResourceReference.type.modelProperties), { displayNameHint: {
|
|
1455
|
-
serializedName: "properties.displayNameHint",
|
|
1456
|
-
readOnly: true,
|
|
1457
|
-
type: {
|
|
1458
|
-
name: "String"
|
|
1459
|
-
}
|
|
1460
|
-
}, osFamilyHint: {
|
|
1461
|
-
serializedName: "properties.osFamilyHint",
|
|
1462
|
-
readOnly: true,
|
|
1463
|
-
type: {
|
|
1464
|
-
name: "Enum",
|
|
1465
|
-
allowedValues: ["unknown", "windows", "linux", "solaris", "aix"]
|
|
1466
|
-
}
|
|
1467
|
-
} })
|
|
1468
|
-
}
|
|
1469
|
-
};
|
|
1470
|
-
const ProcessReference = {
|
|
1471
|
-
serializedName: "ref:process",
|
|
1472
|
-
type: {
|
|
1473
|
-
name: "Composite",
|
|
1474
|
-
className: "ProcessReference",
|
|
1475
|
-
uberParent: "ResourceReference",
|
|
1476
|
-
polymorphicDiscriminator: ResourceReference.type.polymorphicDiscriminator,
|
|
1477
|
-
modelProperties: Object.assign(Object.assign({}, ResourceReference.type.modelProperties), { machine: {
|
|
1478
|
-
serializedName: "properties.machine",
|
|
1479
|
-
type: {
|
|
1480
|
-
name: "Composite",
|
|
1481
|
-
className: "MachineReference"
|
|
1482
|
-
}
|
|
1483
|
-
} })
|
|
1484
|
-
}
|
|
1485
|
-
};
|
|
1486
|
-
const ClientGroupReference = {
|
|
1487
|
-
serializedName: "ref:clientgroup",
|
|
1488
|
-
type: {
|
|
1489
|
-
name: "Composite",
|
|
1490
|
-
className: "ClientGroupReference",
|
|
1491
|
-
uberParent: "ResourceReference",
|
|
1492
|
-
polymorphicDiscriminator: ResourceReference.type.polymorphicDiscriminator,
|
|
1493
|
-
modelProperties: Object.assign({}, ResourceReference.type.modelProperties)
|
|
1494
|
-
}
|
|
1495
|
-
};
|
|
1496
|
-
const ConnectionProperties = {
|
|
1497
|
-
type: {
|
|
1498
|
-
name: "Composite",
|
|
1499
|
-
className: "ConnectionProperties",
|
|
1500
|
-
modelProperties: Object.assign(Object.assign({}, RelationshipProperties.type.modelProperties), { serverPort: {
|
|
1501
|
-
serializedName: "serverPort",
|
|
1502
|
-
type: {
|
|
1503
|
-
name: "Composite",
|
|
1504
|
-
className: "PortReference"
|
|
1505
|
-
}
|
|
1506
|
-
}, failureState: {
|
|
1507
|
-
serializedName: "failureState",
|
|
1508
|
-
type: {
|
|
1509
|
-
name: "Enum",
|
|
1510
|
-
allowedValues: ["ok", "failed", "mixed"]
|
|
1511
|
-
}
|
|
1512
|
-
} })
|
|
1513
|
-
}
|
|
1514
|
-
};
|
|
1515
|
-
const AzureProcessHostingConfiguration = {
|
|
1516
|
-
serializedName: "provider:azure",
|
|
1517
|
-
type: {
|
|
1518
|
-
name: "Composite",
|
|
1519
|
-
className: "AzureProcessHostingConfiguration",
|
|
1520
|
-
uberParent: "ProcessHostingConfiguration",
|
|
1521
|
-
polymorphicDiscriminator: ProcessHostingConfiguration.type.polymorphicDiscriminator,
|
|
1522
|
-
modelProperties: Object.assign(Object.assign({}, ProcessHostingConfiguration.type.modelProperties), { cloudService: {
|
|
1523
|
-
serializedName: "cloudService",
|
|
1524
|
-
type: {
|
|
1525
|
-
name: "Composite",
|
|
1526
|
-
className: "AzureCloudServiceConfiguration"
|
|
1527
|
-
}
|
|
1528
|
-
} })
|
|
1529
|
-
}
|
|
1530
|
-
};
|
|
1531
|
-
const SingleMachineDependencyMapRequest = {
|
|
1532
|
-
serializedName: "map:single-machine-dependency",
|
|
1533
|
-
type: {
|
|
1534
|
-
name: "Composite",
|
|
1535
|
-
className: "SingleMachineDependencyMapRequest",
|
|
1536
|
-
uberParent: "MapRequest",
|
|
1537
|
-
polymorphicDiscriminator: MapRequest.type.polymorphicDiscriminator,
|
|
1538
|
-
modelProperties: Object.assign(Object.assign({}, MapRequest.type.modelProperties), { machineId: {
|
|
1539
|
-
serializedName: "machineId",
|
|
1540
|
-
required: true,
|
|
1541
|
-
type: {
|
|
1542
|
-
name: "String"
|
|
1543
|
-
}
|
|
1544
|
-
} })
|
|
1545
|
-
}
|
|
1546
|
-
};
|
|
1547
|
-
const MultipleMachinesMapRequest = {
|
|
1548
|
-
serializedName: "MultipleMachinesMapRequest",
|
|
1549
|
-
type: {
|
|
1550
|
-
name: "Composite",
|
|
1551
|
-
className: "MultipleMachinesMapRequest",
|
|
1552
|
-
uberParent: "MapRequest",
|
|
1553
|
-
polymorphicDiscriminator: {
|
|
1554
|
-
serializedName: "kind",
|
|
1555
|
-
clientName: "kind"
|
|
1556
|
-
},
|
|
1557
|
-
modelProperties: Object.assign(Object.assign({}, MapRequest.type.modelProperties), { filterProcesses: {
|
|
1558
|
-
serializedName: "filterProcesses",
|
|
1559
|
-
type: {
|
|
1560
|
-
name: "Boolean"
|
|
1561
|
-
}
|
|
1562
|
-
} })
|
|
1563
|
-
}
|
|
1564
|
-
};
|
|
1565
|
-
const MachinesSummaryProperties = {
|
|
1566
|
-
type: {
|
|
1567
|
-
name: "Composite",
|
|
1568
|
-
className: "MachinesSummaryProperties",
|
|
1569
|
-
modelProperties: Object.assign(Object.assign({}, SummaryProperties.type.modelProperties), { total: {
|
|
1570
|
-
serializedName: "total",
|
|
1571
|
-
required: true,
|
|
1572
|
-
type: {
|
|
1573
|
-
name: "Number"
|
|
1574
|
-
}
|
|
1575
|
-
}, live: {
|
|
1576
|
-
serializedName: "live",
|
|
1577
|
-
required: true,
|
|
1578
|
-
type: {
|
|
1579
|
-
name: "Number"
|
|
1580
|
-
}
|
|
1581
|
-
}, os: {
|
|
1582
|
-
serializedName: "os",
|
|
1583
|
-
type: {
|
|
1584
|
-
name: "Composite",
|
|
1585
|
-
className: "MachineCountsByOperatingSystem"
|
|
1586
|
-
}
|
|
1587
|
-
} })
|
|
1588
|
-
}
|
|
1589
|
-
};
|
|
1590
|
-
const Machine = {
|
|
1591
|
-
serializedName: "machine",
|
|
1592
|
-
type: {
|
|
1593
|
-
name: "Composite",
|
|
1594
|
-
className: "Machine",
|
|
1595
|
-
uberParent: "Resource",
|
|
1596
|
-
polymorphicDiscriminator: Resource.type.polymorphicDiscriminator,
|
|
1597
|
-
modelProperties: Object.assign(Object.assign({}, CoreResource.type.modelProperties), { timestamp: {
|
|
1598
|
-
serializedName: "properties.timestamp",
|
|
1599
|
-
type: {
|
|
1600
|
-
name: "DateTime"
|
|
1601
|
-
}
|
|
1602
|
-
}, monitoringState: {
|
|
1603
|
-
serializedName: "properties.monitoringState",
|
|
1604
|
-
type: {
|
|
1605
|
-
name: "Enum",
|
|
1606
|
-
allowedValues: ["monitored", "discovered"]
|
|
1607
|
-
}
|
|
1608
|
-
}, virtualizationState: {
|
|
1609
|
-
serializedName: "properties.virtualizationState",
|
|
1610
|
-
type: {
|
|
1611
|
-
name: "Enum",
|
|
1612
|
-
allowedValues: ["unknown", "physical", "virtual", "hypervisor"]
|
|
1613
|
-
}
|
|
1614
|
-
}, displayName: {
|
|
1615
|
-
serializedName: "properties.displayName",
|
|
1616
|
-
type: {
|
|
1617
|
-
name: "String"
|
|
1618
|
-
}
|
|
1619
|
-
}, computerName: {
|
|
1620
|
-
serializedName: "properties.computerName",
|
|
1621
|
-
type: {
|
|
1622
|
-
name: "String"
|
|
1623
|
-
}
|
|
1624
|
-
}, fullyQualifiedDomainName: {
|
|
1625
|
-
serializedName: "properties.fullyQualifiedDomainName",
|
|
1626
|
-
type: {
|
|
1627
|
-
name: "String"
|
|
1628
|
-
}
|
|
1629
|
-
}, bootTime: {
|
|
1630
|
-
serializedName: "properties.bootTime",
|
|
1631
|
-
type: {
|
|
1632
|
-
name: "DateTime"
|
|
1633
|
-
}
|
|
1634
|
-
}, timezone: {
|
|
1635
|
-
serializedName: "properties.timezone",
|
|
1636
|
-
type: {
|
|
1637
|
-
name: "Composite",
|
|
1638
|
-
className: "Timezone"
|
|
1639
|
-
}
|
|
1640
|
-
}, agent: {
|
|
1641
|
-
serializedName: "properties.agent",
|
|
1642
|
-
type: {
|
|
1643
|
-
name: "Composite",
|
|
1644
|
-
className: "AgentConfiguration"
|
|
1645
|
-
}
|
|
1646
|
-
}, resources: {
|
|
1647
|
-
serializedName: "properties.resources",
|
|
1648
|
-
type: {
|
|
1649
|
-
name: "Composite",
|
|
1650
|
-
className: "MachineResourcesConfiguration"
|
|
1651
|
-
}
|
|
1652
|
-
}, networking: {
|
|
1653
|
-
serializedName: "properties.networking",
|
|
1654
|
-
type: {
|
|
1655
|
-
name: "Composite",
|
|
1656
|
-
className: "NetworkConfiguration"
|
|
1657
|
-
}
|
|
1658
|
-
}, operatingSystem: {
|
|
1659
|
-
serializedName: "properties.operatingSystem",
|
|
1660
|
-
type: {
|
|
1661
|
-
name: "Composite",
|
|
1662
|
-
className: "OperatingSystemConfiguration"
|
|
1663
|
-
}
|
|
1664
|
-
}, virtualMachine: {
|
|
1665
|
-
serializedName: "properties.virtualMachine",
|
|
1666
|
-
type: {
|
|
1667
|
-
name: "Composite",
|
|
1668
|
-
className: "VirtualMachineConfiguration"
|
|
1669
|
-
}
|
|
1670
|
-
}, hypervisor: {
|
|
1671
|
-
serializedName: "properties.hypervisor",
|
|
1672
|
-
type: {
|
|
1673
|
-
name: "Composite",
|
|
1674
|
-
className: "HypervisorConfiguration"
|
|
1675
|
-
}
|
|
1676
|
-
}, hosting: {
|
|
1677
|
-
serializedName: "properties.hosting",
|
|
1678
|
-
type: {
|
|
1679
|
-
name: "Composite",
|
|
1680
|
-
className: "HostingConfiguration"
|
|
1681
|
-
}
|
|
1682
|
-
} })
|
|
1683
|
-
}
|
|
1684
|
-
};
|
|
1685
|
-
const Process = {
|
|
1686
|
-
serializedName: "process",
|
|
1687
|
-
type: {
|
|
1688
|
-
name: "Composite",
|
|
1689
|
-
className: "Process",
|
|
1690
|
-
uberParent: "Resource",
|
|
1691
|
-
polymorphicDiscriminator: Resource.type.polymorphicDiscriminator,
|
|
1692
|
-
modelProperties: Object.assign(Object.assign({}, CoreResource.type.modelProperties), { timestamp: {
|
|
1693
|
-
serializedName: "properties.timestamp",
|
|
1694
|
-
type: {
|
|
1695
|
-
name: "DateTime"
|
|
1696
|
-
}
|
|
1697
|
-
}, monitoringState: {
|
|
1698
|
-
serializedName: "properties.monitoringState",
|
|
1699
|
-
type: {
|
|
1700
|
-
name: "Enum",
|
|
1701
|
-
allowedValues: ["monitored", "discovered"]
|
|
1702
|
-
}
|
|
1703
|
-
}, machine: {
|
|
1704
|
-
serializedName: "properties.machine",
|
|
1705
|
-
type: {
|
|
1706
|
-
name: "Composite",
|
|
1707
|
-
className: "ResourceReference"
|
|
1708
|
-
}
|
|
1709
|
-
}, executableName: {
|
|
1710
|
-
serializedName: "properties.executableName",
|
|
1711
|
-
type: {
|
|
1712
|
-
name: "String"
|
|
1713
|
-
}
|
|
1714
|
-
}, displayName: {
|
|
1715
|
-
serializedName: "properties.displayName",
|
|
1716
|
-
type: {
|
|
1717
|
-
name: "String"
|
|
1718
|
-
}
|
|
1719
|
-
}, startTime: {
|
|
1720
|
-
serializedName: "properties.startTime",
|
|
1721
|
-
type: {
|
|
1722
|
-
name: "DateTime"
|
|
1723
|
-
}
|
|
1724
|
-
}, role: {
|
|
1725
|
-
serializedName: "properties.role",
|
|
1726
|
-
type: {
|
|
1727
|
-
name: "String"
|
|
1728
|
-
}
|
|
1729
|
-
}, group: {
|
|
1730
|
-
serializedName: "properties.group",
|
|
1731
|
-
type: {
|
|
1732
|
-
name: "String"
|
|
1733
|
-
}
|
|
1734
|
-
}, details: {
|
|
1735
|
-
serializedName: "properties.details",
|
|
1736
|
-
type: {
|
|
1737
|
-
name: "Composite",
|
|
1738
|
-
className: "ProcessDetails"
|
|
1739
|
-
}
|
|
1740
|
-
}, user: {
|
|
1741
|
-
serializedName: "properties.user",
|
|
1742
|
-
type: {
|
|
1743
|
-
name: "Composite",
|
|
1744
|
-
className: "ProcessUser"
|
|
1745
|
-
}
|
|
1746
|
-
}, clientOf: {
|
|
1747
|
-
serializedName: "properties.clientOf",
|
|
1748
|
-
type: {
|
|
1749
|
-
name: "Composite",
|
|
1750
|
-
className: "ResourceReference"
|
|
1751
|
-
}
|
|
1752
|
-
}, acceptorOf: {
|
|
1753
|
-
serializedName: "properties.acceptorOf",
|
|
1754
|
-
type: {
|
|
1755
|
-
name: "Composite",
|
|
1756
|
-
className: "ResourceReference"
|
|
1757
|
-
}
|
|
1758
|
-
}, hosting: {
|
|
1759
|
-
serializedName: "properties.hosting",
|
|
1760
|
-
type: {
|
|
1761
|
-
name: "Composite",
|
|
1762
|
-
className: "ProcessHostingConfiguration"
|
|
1763
|
-
}
|
|
1764
|
-
} })
|
|
1765
|
-
}
|
|
1766
|
-
};
|
|
1767
|
-
const Port = {
|
|
1768
|
-
serializedName: "port",
|
|
1769
|
-
type: {
|
|
1770
|
-
name: "Composite",
|
|
1771
|
-
className: "Port",
|
|
1772
|
-
uberParent: "Resource",
|
|
1773
|
-
polymorphicDiscriminator: Resource.type.polymorphicDiscriminator,
|
|
1774
|
-
modelProperties: Object.assign(Object.assign({}, CoreResource.type.modelProperties), { monitoringState: {
|
|
1775
|
-
serializedName: "properties.monitoringState",
|
|
1776
|
-
type: {
|
|
1777
|
-
name: "Enum",
|
|
1778
|
-
allowedValues: ["monitored", "discovered"]
|
|
1779
|
-
}
|
|
1780
|
-
}, machine: {
|
|
1781
|
-
serializedName: "properties.machine",
|
|
1782
|
-
type: {
|
|
1783
|
-
name: "Composite",
|
|
1784
|
-
className: "ResourceReference"
|
|
1785
|
-
}
|
|
1786
|
-
}, displayName: {
|
|
1787
|
-
serializedName: "properties.displayName",
|
|
1788
|
-
type: {
|
|
1789
|
-
name: "String"
|
|
1790
|
-
}
|
|
1791
|
-
}, ipAddress: {
|
|
1792
|
-
serializedName: "properties.ipAddress",
|
|
1793
|
-
type: {
|
|
1794
|
-
name: "String"
|
|
1795
|
-
}
|
|
1796
|
-
}, portNumber: {
|
|
1797
|
-
serializedName: "properties.portNumber",
|
|
1798
|
-
type: {
|
|
1799
|
-
name: "Number"
|
|
1800
|
-
}
|
|
1801
|
-
} })
|
|
1802
|
-
}
|
|
1803
|
-
};
|
|
1804
|
-
const MachineGroup = {
|
|
1805
|
-
serializedName: "machineGroup",
|
|
1806
|
-
type: {
|
|
1807
|
-
name: "Composite",
|
|
1808
|
-
className: "MachineGroup",
|
|
1809
|
-
uberParent: "Resource",
|
|
1810
|
-
polymorphicDiscriminator: Resource.type.polymorphicDiscriminator,
|
|
1811
|
-
modelProperties: Object.assign(Object.assign({}, CoreResource.type.modelProperties), { groupType: {
|
|
1812
|
-
serializedName: "properties.groupType",
|
|
1813
|
-
type: {
|
|
1814
|
-
name: "String"
|
|
1815
|
-
}
|
|
1816
|
-
}, displayName: {
|
|
1817
|
-
constraints: {
|
|
1818
|
-
MaxLength: 256,
|
|
1819
|
-
MinLength: 1
|
|
1820
|
-
},
|
|
1821
|
-
serializedName: "properties.displayName",
|
|
1822
|
-
type: {
|
|
1823
|
-
name: "String"
|
|
1824
|
-
}
|
|
1825
|
-
}, count: {
|
|
1826
|
-
serializedName: "properties.count",
|
|
1827
|
-
type: {
|
|
1828
|
-
name: "Number"
|
|
1829
|
-
}
|
|
1830
|
-
}, machines: {
|
|
1831
|
-
serializedName: "properties.machines",
|
|
1832
|
-
type: {
|
|
1833
|
-
name: "Sequence",
|
|
1834
|
-
element: {
|
|
1835
|
-
type: {
|
|
1836
|
-
name: "Composite",
|
|
1837
|
-
className: "MachineReferenceWithHints"
|
|
1838
|
-
}
|
|
1839
|
-
}
|
|
1840
|
-
}
|
|
1841
|
-
} })
|
|
1842
|
-
}
|
|
1843
|
-
};
|
|
1844
|
-
const ClientGroup = {
|
|
1845
|
-
serializedName: "clientGroup",
|
|
1846
|
-
type: {
|
|
1847
|
-
name: "Composite",
|
|
1848
|
-
className: "ClientGroup",
|
|
1849
|
-
uberParent: "Resource",
|
|
1850
|
-
polymorphicDiscriminator: Resource.type.polymorphicDiscriminator,
|
|
1851
|
-
modelProperties: Object.assign(Object.assign({}, CoreResource.type.modelProperties), { clientsOf: {
|
|
1852
|
-
serializedName: "properties.clientsOf",
|
|
1853
|
-
type: {
|
|
1854
|
-
name: "Composite",
|
|
1855
|
-
className: "ResourceReference"
|
|
1856
|
-
}
|
|
1857
|
-
} })
|
|
1858
|
-
}
|
|
1859
|
-
};
|
|
1860
|
-
const Connection = {
|
|
1861
|
-
serializedName: "rel:connection",
|
|
1862
|
-
type: {
|
|
1863
|
-
name: "Composite",
|
|
1864
|
-
className: "Connection",
|
|
1865
|
-
uberParent: "Resource",
|
|
1866
|
-
polymorphicDiscriminator: Resource.type.polymorphicDiscriminator,
|
|
1867
|
-
modelProperties: Object.assign(Object.assign({}, Relationship.type.modelProperties), { source: {
|
|
1868
|
-
serializedName: "properties.source",
|
|
1869
|
-
type: {
|
|
1870
|
-
name: "Composite",
|
|
1871
|
-
className: "ResourceReference"
|
|
1872
|
-
}
|
|
1873
|
-
}, destination: {
|
|
1874
|
-
serializedName: "properties.destination",
|
|
1875
|
-
type: {
|
|
1876
|
-
name: "Composite",
|
|
1877
|
-
className: "ResourceReference"
|
|
1878
|
-
}
|
|
1879
|
-
}, startTime: {
|
|
1880
|
-
serializedName: "properties.startTime",
|
|
1881
|
-
type: {
|
|
1882
|
-
name: "DateTime"
|
|
1883
|
-
}
|
|
1884
|
-
}, endTime: {
|
|
1885
|
-
serializedName: "properties.endTime",
|
|
1886
|
-
type: {
|
|
1887
|
-
name: "DateTime"
|
|
1888
|
-
}
|
|
1889
|
-
}, serverPort: {
|
|
1890
|
-
serializedName: "properties.serverPort",
|
|
1891
|
-
type: {
|
|
1892
|
-
name: "Composite",
|
|
1893
|
-
className: "PortReference"
|
|
1894
|
-
}
|
|
1895
|
-
}, failureState: {
|
|
1896
|
-
serializedName: "properties.failureState",
|
|
1897
|
-
type: {
|
|
1898
|
-
name: "Enum",
|
|
1899
|
-
allowedValues: ["ok", "failed", "mixed"]
|
|
1900
|
-
}
|
|
1901
|
-
} })
|
|
1902
|
-
}
|
|
1903
|
-
};
|
|
1904
|
-
const Acceptor = {
|
|
1905
|
-
serializedName: "rel:acceptor",
|
|
1906
|
-
type: {
|
|
1907
|
-
name: "Composite",
|
|
1908
|
-
className: "Acceptor",
|
|
1909
|
-
uberParent: "Resource",
|
|
1910
|
-
polymorphicDiscriminator: Resource.type.polymorphicDiscriminator,
|
|
1911
|
-
modelProperties: Object.assign(Object.assign({}, Relationship.type.modelProperties), { source: {
|
|
1912
|
-
serializedName: "properties.source",
|
|
1913
|
-
type: {
|
|
1914
|
-
name: "Composite",
|
|
1915
|
-
className: "PortReference"
|
|
1916
|
-
}
|
|
1917
|
-
}, destination: {
|
|
1918
|
-
serializedName: "properties.destination",
|
|
1919
|
-
type: {
|
|
1920
|
-
name: "Composite",
|
|
1921
|
-
className: "ProcessReference"
|
|
1922
|
-
}
|
|
1923
|
-
}, startTime: {
|
|
1924
|
-
serializedName: "properties.startTime",
|
|
1925
|
-
type: {
|
|
1926
|
-
name: "DateTime"
|
|
1927
|
-
}
|
|
1928
|
-
}, endTime: {
|
|
1929
|
-
serializedName: "properties.endTime",
|
|
1930
|
-
type: {
|
|
1931
|
-
name: "DateTime"
|
|
1932
|
-
}
|
|
1933
|
-
} })
|
|
1934
|
-
}
|
|
1935
|
-
};
|
|
1936
|
-
const MachinesSummary = {
|
|
1937
|
-
type: {
|
|
1938
|
-
name: "Composite",
|
|
1939
|
-
className: "MachinesSummary",
|
|
1940
|
-
modelProperties: Object.assign(Object.assign({}, Summary.type.modelProperties), { startTime: {
|
|
1941
|
-
serializedName: "properties.startTime",
|
|
1942
|
-
type: {
|
|
1943
|
-
name: "DateTime"
|
|
1944
|
-
}
|
|
1945
|
-
}, endTime: {
|
|
1946
|
-
serializedName: "properties.endTime",
|
|
1947
|
-
type: {
|
|
1948
|
-
name: "DateTime"
|
|
1949
|
-
}
|
|
1950
|
-
}, total: {
|
|
1951
|
-
serializedName: "properties.total",
|
|
1952
|
-
type: {
|
|
1953
|
-
name: "Number"
|
|
1954
|
-
}
|
|
1955
|
-
}, live: {
|
|
1956
|
-
serializedName: "properties.live",
|
|
1957
|
-
type: {
|
|
1958
|
-
name: "Number"
|
|
1959
|
-
}
|
|
1960
|
-
}, os: {
|
|
1961
|
-
serializedName: "properties.os",
|
|
1962
|
-
type: {
|
|
1963
|
-
name: "Composite",
|
|
1964
|
-
className: "MachineCountsByOperatingSystem"
|
|
1965
|
-
}
|
|
1966
|
-
} })
|
|
1967
|
-
}
|
|
1968
|
-
};
|
|
1969
|
-
const MachineListMapRequest = {
|
|
1970
|
-
serializedName: "map:machine-list-dependency",
|
|
1971
|
-
type: {
|
|
1972
|
-
name: "Composite",
|
|
1973
|
-
className: "MachineListMapRequest",
|
|
1974
|
-
uberParent: "MapRequest",
|
|
1975
|
-
polymorphicDiscriminator: MapRequest.type.polymorphicDiscriminator,
|
|
1976
|
-
modelProperties: Object.assign(Object.assign({}, MultipleMachinesMapRequest.type.modelProperties), { machineIds: {
|
|
1977
|
-
serializedName: "machineIds",
|
|
1978
|
-
required: true,
|
|
1979
|
-
type: {
|
|
1980
|
-
name: "Sequence",
|
|
1981
|
-
element: {
|
|
1982
|
-
type: {
|
|
1983
|
-
name: "String"
|
|
1984
|
-
}
|
|
1985
|
-
}
|
|
1986
|
-
}
|
|
1987
|
-
} })
|
|
1988
|
-
}
|
|
1989
|
-
};
|
|
1990
|
-
const MachineGroupMapRequest = {
|
|
1991
|
-
serializedName: "map:machine-group-dependency",
|
|
1992
|
-
type: {
|
|
1993
|
-
name: "Composite",
|
|
1994
|
-
className: "MachineGroupMapRequest",
|
|
1995
|
-
uberParent: "MapRequest",
|
|
1996
|
-
polymorphicDiscriminator: MapRequest.type.polymorphicDiscriminator,
|
|
1997
|
-
modelProperties: Object.assign(Object.assign({}, MultipleMachinesMapRequest.type.modelProperties), { machineGroupId: {
|
|
1998
|
-
serializedName: "machineGroupId",
|
|
1999
|
-
required: true,
|
|
2000
|
-
type: {
|
|
2001
|
-
name: "String"
|
|
2002
|
-
}
|
|
2003
|
-
} })
|
|
2004
|
-
}
|
|
2005
|
-
};
|
|
2006
|
-
let discriminators = {
|
|
2007
|
-
HostingConfiguration: HostingConfiguration,
|
|
2008
|
-
ResourceReference: ResourceReference,
|
|
2009
|
-
ProcessHostingConfiguration: ProcessHostingConfiguration,
|
|
2010
|
-
MapRequest: MapRequest,
|
|
2011
|
-
"HostingConfiguration.provider:azure": AzureHostingConfiguration,
|
|
2012
|
-
"Resource.CoreResource": CoreResource,
|
|
2013
|
-
"Resource.Relationship": Relationship,
|
|
2014
|
-
"ResourceReference.ref:machine": MachineReference,
|
|
2015
|
-
"ResourceReference.ref:port": PortReference,
|
|
2016
|
-
"ResourceReference.ref:machinewithhints": MachineReferenceWithHints,
|
|
2017
|
-
"ResourceReference.ref:process": ProcessReference,
|
|
2018
|
-
"ResourceReference.ref:clientgroup": ClientGroupReference,
|
|
2019
|
-
"ProcessHostingConfiguration.provider:azure": AzureProcessHostingConfiguration,
|
|
2020
|
-
"MapRequest.map:single-machine-dependency": SingleMachineDependencyMapRequest,
|
|
2021
|
-
"MapRequest.MultipleMachinesMapRequest": MultipleMachinesMapRequest,
|
|
2022
|
-
"Resource.machine": Machine,
|
|
2023
|
-
"Resource.process": Process,
|
|
2024
|
-
"Resource.port": Port,
|
|
2025
|
-
"Resource.machineGroup": MachineGroup,
|
|
2026
|
-
"Resource.clientGroup": ClientGroup,
|
|
2027
|
-
"Resource.rel:connection": Connection,
|
|
2028
|
-
"Resource.rel:acceptor": Acceptor,
|
|
2029
|
-
"MapRequest.map:machine-list-dependency": MachineListMapRequest,
|
|
2030
|
-
"MapRequest.map:machine-group-dependency": MachineGroupMapRequest
|
|
2031
|
-
};
|
|
2032
|
-
|
|
2033
|
-
var Mappers = /*#__PURE__*/Object.freeze({
|
|
2034
|
-
__proto__: null,
|
|
2035
|
-
MachineCollection: MachineCollection,
|
|
2036
|
-
Timezone: Timezone,
|
|
2037
|
-
AgentConfiguration: AgentConfiguration,
|
|
2038
|
-
MachineResourcesConfiguration: MachineResourcesConfiguration,
|
|
2039
|
-
NetworkConfiguration: NetworkConfiguration,
|
|
2040
|
-
Ipv4NetworkInterface: Ipv4NetworkInterface,
|
|
2041
|
-
Ipv6NetworkInterface: Ipv6NetworkInterface,
|
|
2042
|
-
OperatingSystemConfiguration: OperatingSystemConfiguration,
|
|
2043
|
-
VirtualMachineConfiguration: VirtualMachineConfiguration,
|
|
2044
|
-
HypervisorConfiguration: HypervisorConfiguration,
|
|
2045
|
-
HostingConfiguration: HostingConfiguration,
|
|
2046
|
-
Resource: Resource,
|
|
2047
|
-
ErrorResponse: ErrorResponse,
|
|
2048
|
-
ErrorModel: ErrorModel,
|
|
2049
|
-
Liveness: Liveness,
|
|
2050
|
-
ConnectionCollection: ConnectionCollection,
|
|
2051
|
-
ResourceReference: ResourceReference,
|
|
2052
|
-
RelationshipProperties: RelationshipProperties,
|
|
2053
|
-
ProcessCollection: ProcessCollection,
|
|
2054
|
-
ProcessDetails: ProcessDetails,
|
|
2055
|
-
ProcessHostedService: ProcessHostedService,
|
|
2056
|
-
ProcessUser: ProcessUser,
|
|
2057
|
-
ProcessHostingConfiguration: ProcessHostingConfiguration,
|
|
2058
|
-
PortCollection: PortCollection,
|
|
2059
|
-
MachineGroupCollection: MachineGroupCollection,
|
|
2060
|
-
ClientGroupMembersCount: ClientGroupMembersCount,
|
|
2061
|
-
ClientGroupMembersCollection: ClientGroupMembersCollection,
|
|
2062
|
-
MapRequest: MapRequest,
|
|
2063
|
-
MapResponse: MapResponse,
|
|
2064
|
-
Map: Map,
|
|
2065
|
-
MapNodes: MapNodes,
|
|
2066
|
-
MapEdges: MapEdges,
|
|
2067
|
-
MachineCountsByOperatingSystem: MachineCountsByOperatingSystem,
|
|
2068
|
-
SummaryProperties: SummaryProperties,
|
|
2069
|
-
ImageConfiguration: ImageConfiguration,
|
|
2070
|
-
AzureCloudServiceConfiguration: AzureCloudServiceConfiguration,
|
|
2071
|
-
AzureVmScaleSetConfiguration: AzureVmScaleSetConfiguration,
|
|
2072
|
-
AzureServiceFabricClusterConfiguration: AzureServiceFabricClusterConfiguration,
|
|
2073
|
-
AzureHostingConfiguration: AzureHostingConfiguration,
|
|
2074
|
-
CoreResource: CoreResource,
|
|
2075
|
-
Relationship: Relationship,
|
|
2076
|
-
ClientGroupMember: ClientGroupMember,
|
|
2077
|
-
Summary: Summary,
|
|
2078
|
-
MachineReference: MachineReference,
|
|
2079
|
-
PortReference: PortReference,
|
|
2080
|
-
MachineReferenceWithHints: MachineReferenceWithHints,
|
|
2081
|
-
ProcessReference: ProcessReference,
|
|
2082
|
-
ClientGroupReference: ClientGroupReference,
|
|
2083
|
-
ConnectionProperties: ConnectionProperties,
|
|
2084
|
-
AzureProcessHostingConfiguration: AzureProcessHostingConfiguration,
|
|
2085
|
-
SingleMachineDependencyMapRequest: SingleMachineDependencyMapRequest,
|
|
2086
|
-
MultipleMachinesMapRequest: MultipleMachinesMapRequest,
|
|
2087
|
-
MachinesSummaryProperties: MachinesSummaryProperties,
|
|
2088
|
-
Machine: Machine,
|
|
2089
|
-
Process: Process,
|
|
2090
|
-
Port: Port,
|
|
2091
|
-
MachineGroup: MachineGroup,
|
|
2092
|
-
ClientGroup: ClientGroup,
|
|
2093
|
-
Connection: Connection,
|
|
2094
|
-
Acceptor: Acceptor,
|
|
2095
|
-
MachinesSummary: MachinesSummary,
|
|
2096
|
-
MachineListMapRequest: MachineListMapRequest,
|
|
2097
|
-
MachineGroupMapRequest: MachineGroupMapRequest,
|
|
2098
|
-
discriminators: discriminators
|
|
2099
|
-
});
|
|
2100
|
-
|
|
2101
|
-
/*
|
|
2102
|
-
* Copyright (c) Microsoft Corporation.
|
|
2103
|
-
* Licensed under the MIT License.
|
|
2104
|
-
*
|
|
2105
|
-
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
2106
|
-
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
2107
|
-
*/
|
|
2108
|
-
const accept = {
|
|
2109
|
-
parameterPath: "accept",
|
|
2110
|
-
mapper: {
|
|
2111
|
-
defaultValue: "application/json",
|
|
2112
|
-
isConstant: true,
|
|
2113
|
-
serializedName: "Accept",
|
|
2114
|
-
type: {
|
|
2115
|
-
name: "String"
|
|
2116
|
-
}
|
|
2117
|
-
}
|
|
2118
|
-
};
|
|
2119
|
-
const $host = {
|
|
2120
|
-
parameterPath: "$host",
|
|
2121
|
-
mapper: {
|
|
2122
|
-
serializedName: "$host",
|
|
2123
|
-
required: true,
|
|
2124
|
-
type: {
|
|
2125
|
-
name: "String"
|
|
2126
|
-
}
|
|
2127
|
-
},
|
|
2128
|
-
skipEncoding: true
|
|
2129
|
-
};
|
|
2130
|
-
const subscriptionId = {
|
|
2131
|
-
parameterPath: "subscriptionId",
|
|
2132
|
-
mapper: {
|
|
2133
|
-
serializedName: "subscriptionId",
|
|
2134
|
-
required: true,
|
|
2135
|
-
type: {
|
|
2136
|
-
name: "String"
|
|
2137
|
-
}
|
|
2138
|
-
}
|
|
2139
|
-
};
|
|
2140
|
-
const resourceGroupName = {
|
|
2141
|
-
parameterPath: "resourceGroupName",
|
|
2142
|
-
mapper: {
|
|
2143
|
-
constraints: {
|
|
2144
|
-
Pattern: new RegExp("[a-zA-Z0-9_-]+"),
|
|
2145
|
-
MaxLength: 64,
|
|
2146
|
-
MinLength: 1
|
|
2147
|
-
},
|
|
2148
|
-
serializedName: "resourceGroupName",
|
|
2149
|
-
required: true,
|
|
2150
|
-
type: {
|
|
2151
|
-
name: "String"
|
|
2152
|
-
}
|
|
2153
|
-
}
|
|
2154
|
-
};
|
|
2155
|
-
const workspaceName = {
|
|
2156
|
-
parameterPath: "workspaceName",
|
|
2157
|
-
mapper: {
|
|
2158
|
-
constraints: {
|
|
2159
|
-
Pattern: new RegExp("[a-zA-Z0-9_][a-zA-Z0-9_-]+[a-zA-Z0-9_]"),
|
|
2160
|
-
MaxLength: 63,
|
|
2161
|
-
MinLength: 3
|
|
2162
|
-
},
|
|
2163
|
-
serializedName: "workspaceName",
|
|
2164
|
-
required: true,
|
|
2165
|
-
type: {
|
|
2166
|
-
name: "String"
|
|
2167
|
-
}
|
|
2168
|
-
}
|
|
2169
|
-
};
|
|
2170
|
-
const apiVersion = {
|
|
2171
|
-
parameterPath: "apiVersion",
|
|
2172
|
-
mapper: {
|
|
2173
|
-
defaultValue: "2015-11-01-preview",
|
|
2174
|
-
isConstant: true,
|
|
2175
|
-
serializedName: "api-version",
|
|
2176
|
-
type: {
|
|
2177
|
-
name: "String"
|
|
2178
|
-
}
|
|
2179
|
-
}
|
|
2180
|
-
};
|
|
2181
|
-
const live = {
|
|
2182
|
-
parameterPath: ["options", "live"],
|
|
2183
|
-
mapper: {
|
|
2184
|
-
defaultValue: true,
|
|
2185
|
-
serializedName: "live",
|
|
2186
|
-
type: {
|
|
2187
|
-
name: "Boolean"
|
|
2188
|
-
}
|
|
2189
|
-
}
|
|
2190
|
-
};
|
|
2191
|
-
const startTime = {
|
|
2192
|
-
parameterPath: ["options", "startTime"],
|
|
2193
|
-
mapper: {
|
|
2194
|
-
serializedName: "startTime",
|
|
2195
|
-
type: {
|
|
2196
|
-
name: "DateTime"
|
|
2197
|
-
}
|
|
2198
|
-
}
|
|
2199
|
-
};
|
|
2200
|
-
const endTime = {
|
|
2201
|
-
parameterPath: ["options", "endTime"],
|
|
2202
|
-
mapper: {
|
|
2203
|
-
serializedName: "endTime",
|
|
2204
|
-
type: {
|
|
2205
|
-
name: "DateTime"
|
|
2206
|
-
}
|
|
2207
|
-
}
|
|
2208
|
-
};
|
|
2209
|
-
const timestamp = {
|
|
2210
|
-
parameterPath: ["options", "timestamp"],
|
|
2211
|
-
mapper: {
|
|
2212
|
-
serializedName: "timestamp",
|
|
2213
|
-
type: {
|
|
2214
|
-
name: "DateTime"
|
|
2215
|
-
}
|
|
2216
|
-
}
|
|
2217
|
-
};
|
|
2218
|
-
const top = {
|
|
2219
|
-
parameterPath: ["options", "top"],
|
|
2220
|
-
mapper: {
|
|
2221
|
-
constraints: {
|
|
2222
|
-
InclusiveMaximum: 200,
|
|
2223
|
-
InclusiveMinimum: 1
|
|
2224
|
-
},
|
|
2225
|
-
serializedName: "$top",
|
|
2226
|
-
type: {
|
|
2227
|
-
name: "Number"
|
|
2228
|
-
}
|
|
2229
|
-
}
|
|
2230
|
-
};
|
|
2231
|
-
const machineName = {
|
|
2232
|
-
parameterPath: "machineName",
|
|
2233
|
-
mapper: {
|
|
2234
|
-
constraints: {
|
|
2235
|
-
MaxLength: 64,
|
|
2236
|
-
MinLength: 3
|
|
2237
|
-
},
|
|
2238
|
-
serializedName: "machineName",
|
|
2239
|
-
required: true,
|
|
2240
|
-
type: {
|
|
2241
|
-
name: "String"
|
|
2242
|
-
}
|
|
2243
|
-
}
|
|
2244
|
-
};
|
|
2245
|
-
const nextLink = {
|
|
2246
|
-
parameterPath: "nextLink",
|
|
2247
|
-
mapper: {
|
|
2248
|
-
serializedName: "nextLink",
|
|
2249
|
-
required: true,
|
|
2250
|
-
type: {
|
|
2251
|
-
name: "String"
|
|
2252
|
-
}
|
|
2253
|
-
},
|
|
2254
|
-
skipEncoding: true
|
|
2255
|
-
};
|
|
2256
|
-
const processName = {
|
|
2257
|
-
parameterPath: "processName",
|
|
2258
|
-
mapper: {
|
|
2259
|
-
constraints: {
|
|
2260
|
-
MaxLength: 128,
|
|
2261
|
-
MinLength: 3
|
|
2262
|
-
},
|
|
2263
|
-
serializedName: "processName",
|
|
2264
|
-
required: true,
|
|
2265
|
-
type: {
|
|
2266
|
-
name: "String"
|
|
2267
|
-
}
|
|
2268
|
-
}
|
|
2269
|
-
};
|
|
2270
|
-
const portName = {
|
|
2271
|
-
parameterPath: "portName",
|
|
2272
|
-
mapper: {
|
|
2273
|
-
constraints: {
|
|
2274
|
-
MaxLength: 64,
|
|
2275
|
-
MinLength: 3
|
|
2276
|
-
},
|
|
2277
|
-
serializedName: "portName",
|
|
2278
|
-
required: true,
|
|
2279
|
-
type: {
|
|
2280
|
-
name: "String"
|
|
2281
|
-
}
|
|
2282
|
-
}
|
|
2283
|
-
};
|
|
2284
|
-
const clientGroupName = {
|
|
2285
|
-
parameterPath: "clientGroupName",
|
|
2286
|
-
mapper: {
|
|
2287
|
-
constraints: {
|
|
2288
|
-
MaxLength: 256,
|
|
2289
|
-
MinLength: 3
|
|
2290
|
-
},
|
|
2291
|
-
serializedName: "clientGroupName",
|
|
2292
|
-
required: true,
|
|
2293
|
-
type: {
|
|
2294
|
-
name: "String"
|
|
2295
|
-
}
|
|
2296
|
-
}
|
|
2297
|
-
};
|
|
2298
|
-
const contentType = {
|
|
2299
|
-
parameterPath: ["options", "contentType"],
|
|
2300
|
-
mapper: {
|
|
2301
|
-
defaultValue: "application/json",
|
|
2302
|
-
isConstant: true,
|
|
2303
|
-
serializedName: "Content-Type",
|
|
2304
|
-
type: {
|
|
2305
|
-
name: "String"
|
|
2306
|
-
}
|
|
2307
|
-
}
|
|
2308
|
-
};
|
|
2309
|
-
const request = {
|
|
2310
|
-
parameterPath: "request",
|
|
2311
|
-
mapper: MapRequest
|
|
2312
|
-
};
|
|
2313
|
-
const machineGroup = {
|
|
2314
|
-
parameterPath: "machineGroup",
|
|
2315
|
-
mapper: MachineGroup
|
|
2316
|
-
};
|
|
2317
|
-
const machineGroupName = {
|
|
2318
|
-
parameterPath: "machineGroupName",
|
|
2319
|
-
mapper: {
|
|
2320
|
-
constraints: {
|
|
2321
|
-
MaxLength: 36,
|
|
2322
|
-
MinLength: 36
|
|
2323
|
-
},
|
|
2324
|
-
serializedName: "machineGroupName",
|
|
2325
|
-
required: true,
|
|
2326
|
-
type: {
|
|
2327
|
-
name: "String"
|
|
2328
|
-
}
|
|
2329
|
-
}
|
|
2330
|
-
};
|
|
2331
|
-
|
|
2332
|
-
/*
|
|
2333
|
-
* Copyright (c) Microsoft Corporation.
|
|
2334
|
-
* Licensed under the MIT License.
|
|
2335
|
-
*
|
|
2336
|
-
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
2337
|
-
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
2338
|
-
*/
|
|
2339
|
-
/// <reference lib="esnext.asynciterable" />
|
|
2340
|
-
/** Class containing Machines operations. */
|
|
2341
|
-
class MachinesImpl {
|
|
2342
|
-
/**
|
|
2343
|
-
* Initialize a new instance of the class Machines class.
|
|
2344
|
-
* @param client Reference to the service client
|
|
2345
|
-
*/
|
|
2346
|
-
constructor(client) {
|
|
2347
|
-
this.client = client;
|
|
2348
|
-
}
|
|
2349
|
-
/**
|
|
2350
|
-
* Returns a collection of machines matching the specified conditions. The returned collection
|
|
2351
|
-
* represents either machines that are active/live during the specified interval of time (`live=true`
|
|
2352
|
-
* and `startTime`/`endTime` are specified) or that are known to have existed at or some time prior to
|
|
2353
|
-
* the specified point in time (`live=false` and `timestamp` is specified).
|
|
2354
|
-
* @param resourceGroupName Resource group name within the specified subscriptionId.
|
|
2355
|
-
* @param workspaceName OMS workspace containing the resources of interest.
|
|
2356
|
-
* @param options The options parameters.
|
|
2357
|
-
*/
|
|
2358
|
-
listByWorkspace(resourceGroupName, workspaceName, options) {
|
|
2359
|
-
const iter = this.listByWorkspacePagingAll(resourceGroupName, workspaceName, options);
|
|
2360
|
-
return {
|
|
2361
|
-
next() {
|
|
2362
|
-
return iter.next();
|
|
2363
|
-
},
|
|
2364
|
-
[Symbol.asyncIterator]() {
|
|
2365
|
-
return this;
|
|
2366
|
-
},
|
|
2367
|
-
byPage: () => {
|
|
2368
|
-
return this.listByWorkspacePagingPage(resourceGroupName, workspaceName, options);
|
|
2369
|
-
}
|
|
2370
|
-
};
|
|
2371
|
-
}
|
|
2372
|
-
listByWorkspacePagingPage(resourceGroupName, workspaceName, options) {
|
|
2373
|
-
return tslib.__asyncGenerator(this, arguments, function* listByWorkspacePagingPage_1() {
|
|
2374
|
-
let result = yield tslib.__await(this._listByWorkspace(resourceGroupName, workspaceName, options));
|
|
2375
|
-
yield yield tslib.__await(result.value || []);
|
|
2376
|
-
let continuationToken = result.nextLink;
|
|
2377
|
-
while (continuationToken) {
|
|
2378
|
-
result = yield tslib.__await(this._listByWorkspaceNext(resourceGroupName, workspaceName, continuationToken, options));
|
|
2379
|
-
continuationToken = result.nextLink;
|
|
2380
|
-
yield yield tslib.__await(result.value || []);
|
|
2381
|
-
}
|
|
2382
|
-
});
|
|
2383
|
-
}
|
|
2384
|
-
listByWorkspacePagingAll(resourceGroupName, workspaceName, options) {
|
|
2385
|
-
return tslib.__asyncGenerator(this, arguments, function* listByWorkspacePagingAll_1() {
|
|
2386
|
-
var e_1, _a;
|
|
2387
|
-
try {
|
|
2388
|
-
for (var _b = tslib.__asyncValues(this.listByWorkspacePagingPage(resourceGroupName, workspaceName, options)), _c; _c = yield tslib.__await(_b.next()), !_c.done;) {
|
|
2389
|
-
const page = _c.value;
|
|
2390
|
-
yield tslib.__await(yield* tslib.__asyncDelegator(tslib.__asyncValues(page)));
|
|
2391
|
-
}
|
|
2392
|
-
}
|
|
2393
|
-
catch (e_1_1) { e_1 = { error: e_1_1 }; }
|
|
2394
|
-
finally {
|
|
2395
|
-
try {
|
|
2396
|
-
if (_c && !_c.done && (_a = _b.return)) yield tslib.__await(_a.call(_b));
|
|
2397
|
-
}
|
|
2398
|
-
finally { if (e_1) throw e_1.error; }
|
|
2399
|
-
}
|
|
2400
|
-
});
|
|
2401
|
-
}
|
|
2402
|
-
/**
|
|
2403
|
-
* Returns a collection of connections terminating or originating at the specified machine
|
|
2404
|
-
* @param resourceGroupName Resource group name within the specified subscriptionId.
|
|
2405
|
-
* @param workspaceName OMS workspace containing the resources of interest.
|
|
2406
|
-
* @param machineName Machine resource name.
|
|
2407
|
-
* @param options The options parameters.
|
|
2408
|
-
*/
|
|
2409
|
-
listConnections(resourceGroupName, workspaceName, machineName, options) {
|
|
2410
|
-
const iter = this.listConnectionsPagingAll(resourceGroupName, workspaceName, machineName, options);
|
|
2411
|
-
return {
|
|
2412
|
-
next() {
|
|
2413
|
-
return iter.next();
|
|
2414
|
-
},
|
|
2415
|
-
[Symbol.asyncIterator]() {
|
|
2416
|
-
return this;
|
|
2417
|
-
},
|
|
2418
|
-
byPage: () => {
|
|
2419
|
-
return this.listConnectionsPagingPage(resourceGroupName, workspaceName, machineName, options);
|
|
2420
|
-
}
|
|
2421
|
-
};
|
|
2422
|
-
}
|
|
2423
|
-
listConnectionsPagingPage(resourceGroupName, workspaceName, machineName, options) {
|
|
2424
|
-
return tslib.__asyncGenerator(this, arguments, function* listConnectionsPagingPage_1() {
|
|
2425
|
-
let result = yield tslib.__await(this._listConnections(resourceGroupName, workspaceName, machineName, options));
|
|
2426
|
-
yield yield tslib.__await(result.value || []);
|
|
2427
|
-
let continuationToken = result.nextLink;
|
|
2428
|
-
while (continuationToken) {
|
|
2429
|
-
result = yield tslib.__await(this._listConnectionsNext(resourceGroupName, workspaceName, machineName, continuationToken, options));
|
|
2430
|
-
continuationToken = result.nextLink;
|
|
2431
|
-
yield yield tslib.__await(result.value || []);
|
|
2432
|
-
}
|
|
2433
|
-
});
|
|
2434
|
-
}
|
|
2435
|
-
listConnectionsPagingAll(resourceGroupName, workspaceName, machineName, options) {
|
|
2436
|
-
return tslib.__asyncGenerator(this, arguments, function* listConnectionsPagingAll_1() {
|
|
2437
|
-
var e_2, _a;
|
|
2438
|
-
try {
|
|
2439
|
-
for (var _b = tslib.__asyncValues(this.listConnectionsPagingPage(resourceGroupName, workspaceName, machineName, options)), _c; _c = yield tslib.__await(_b.next()), !_c.done;) {
|
|
2440
|
-
const page = _c.value;
|
|
2441
|
-
yield tslib.__await(yield* tslib.__asyncDelegator(tslib.__asyncValues(page)));
|
|
2442
|
-
}
|
|
2443
|
-
}
|
|
2444
|
-
catch (e_2_1) { e_2 = { error: e_2_1 }; }
|
|
2445
|
-
finally {
|
|
2446
|
-
try {
|
|
2447
|
-
if (_c && !_c.done && (_a = _b.return)) yield tslib.__await(_a.call(_b));
|
|
2448
|
-
}
|
|
2449
|
-
finally { if (e_2) throw e_2.error; }
|
|
2450
|
-
}
|
|
2451
|
-
});
|
|
2452
|
-
}
|
|
2453
|
-
/**
|
|
2454
|
-
* Returns a collection of processes on the specified machine matching the specified conditions. The
|
|
2455
|
-
* returned collection represents either processes that are active/live during the specified interval
|
|
2456
|
-
* of time (`live=true` and `startTime`/`endTime` are specified) or that are known to have existed at
|
|
2457
|
-
* or some time prior to the specified point in time (`live=false` and `timestamp` is specified).
|
|
2458
|
-
*
|
|
2459
|
-
* @param resourceGroupName Resource group name within the specified subscriptionId.
|
|
2460
|
-
* @param workspaceName OMS workspace containing the resources of interest.
|
|
2461
|
-
* @param machineName Machine resource name.
|
|
2462
|
-
* @param options The options parameters.
|
|
2463
|
-
*/
|
|
2464
|
-
listProcesses(resourceGroupName, workspaceName, machineName, options) {
|
|
2465
|
-
const iter = this.listProcessesPagingAll(resourceGroupName, workspaceName, machineName, options);
|
|
2466
|
-
return {
|
|
2467
|
-
next() {
|
|
2468
|
-
return iter.next();
|
|
2469
|
-
},
|
|
2470
|
-
[Symbol.asyncIterator]() {
|
|
2471
|
-
return this;
|
|
2472
|
-
},
|
|
2473
|
-
byPage: () => {
|
|
2474
|
-
return this.listProcessesPagingPage(resourceGroupName, workspaceName, machineName, options);
|
|
2475
|
-
}
|
|
2476
|
-
};
|
|
2477
|
-
}
|
|
2478
|
-
listProcessesPagingPage(resourceGroupName, workspaceName, machineName, options) {
|
|
2479
|
-
return tslib.__asyncGenerator(this, arguments, function* listProcessesPagingPage_1() {
|
|
2480
|
-
let result = yield tslib.__await(this._listProcesses(resourceGroupName, workspaceName, machineName, options));
|
|
2481
|
-
yield yield tslib.__await(result.value || []);
|
|
2482
|
-
let continuationToken = result.nextLink;
|
|
2483
|
-
while (continuationToken) {
|
|
2484
|
-
result = yield tslib.__await(this._listProcessesNext(resourceGroupName, workspaceName, machineName, continuationToken, options));
|
|
2485
|
-
continuationToken = result.nextLink;
|
|
2486
|
-
yield yield tslib.__await(result.value || []);
|
|
2487
|
-
}
|
|
2488
|
-
});
|
|
2489
|
-
}
|
|
2490
|
-
listProcessesPagingAll(resourceGroupName, workspaceName, machineName, options) {
|
|
2491
|
-
return tslib.__asyncGenerator(this, arguments, function* listProcessesPagingAll_1() {
|
|
2492
|
-
var e_3, _a;
|
|
2493
|
-
try {
|
|
2494
|
-
for (var _b = tslib.__asyncValues(this.listProcessesPagingPage(resourceGroupName, workspaceName, machineName, options)), _c; _c = yield tslib.__await(_b.next()), !_c.done;) {
|
|
2495
|
-
const page = _c.value;
|
|
2496
|
-
yield tslib.__await(yield* tslib.__asyncDelegator(tslib.__asyncValues(page)));
|
|
2497
|
-
}
|
|
2498
|
-
}
|
|
2499
|
-
catch (e_3_1) { e_3 = { error: e_3_1 }; }
|
|
2500
|
-
finally {
|
|
2501
|
-
try {
|
|
2502
|
-
if (_c && !_c.done && (_a = _b.return)) yield tslib.__await(_a.call(_b));
|
|
2503
|
-
}
|
|
2504
|
-
finally { if (e_3) throw e_3.error; }
|
|
2505
|
-
}
|
|
2506
|
-
});
|
|
2507
|
-
}
|
|
2508
|
-
/**
|
|
2509
|
-
* Returns a collection of live ports on the specified machine during the specified time interval.
|
|
2510
|
-
* @param resourceGroupName Resource group name within the specified subscriptionId.
|
|
2511
|
-
* @param workspaceName OMS workspace containing the resources of interest.
|
|
2512
|
-
* @param machineName Machine resource name.
|
|
2513
|
-
* @param options The options parameters.
|
|
2514
|
-
*/
|
|
2515
|
-
listPorts(resourceGroupName, workspaceName, machineName, options) {
|
|
2516
|
-
const iter = this.listPortsPagingAll(resourceGroupName, workspaceName, machineName, options);
|
|
2517
|
-
return {
|
|
2518
|
-
next() {
|
|
2519
|
-
return iter.next();
|
|
2520
|
-
},
|
|
2521
|
-
[Symbol.asyncIterator]() {
|
|
2522
|
-
return this;
|
|
2523
|
-
},
|
|
2524
|
-
byPage: () => {
|
|
2525
|
-
return this.listPortsPagingPage(resourceGroupName, workspaceName, machineName, options);
|
|
2526
|
-
}
|
|
2527
|
-
};
|
|
2528
|
-
}
|
|
2529
|
-
listPortsPagingPage(resourceGroupName, workspaceName, machineName, options) {
|
|
2530
|
-
return tslib.__asyncGenerator(this, arguments, function* listPortsPagingPage_1() {
|
|
2531
|
-
let result = yield tslib.__await(this._listPorts(resourceGroupName, workspaceName, machineName, options));
|
|
2532
|
-
yield yield tslib.__await(result.value || []);
|
|
2533
|
-
let continuationToken = result.nextLink;
|
|
2534
|
-
while (continuationToken) {
|
|
2535
|
-
result = yield tslib.__await(this._listPortsNext(resourceGroupName, workspaceName, machineName, continuationToken, options));
|
|
2536
|
-
continuationToken = result.nextLink;
|
|
2537
|
-
yield yield tslib.__await(result.value || []);
|
|
2538
|
-
}
|
|
2539
|
-
});
|
|
2540
|
-
}
|
|
2541
|
-
listPortsPagingAll(resourceGroupName, workspaceName, machineName, options) {
|
|
2542
|
-
return tslib.__asyncGenerator(this, arguments, function* listPortsPagingAll_1() {
|
|
2543
|
-
var e_4, _a;
|
|
2544
|
-
try {
|
|
2545
|
-
for (var _b = tslib.__asyncValues(this.listPortsPagingPage(resourceGroupName, workspaceName, machineName, options)), _c; _c = yield tslib.__await(_b.next()), !_c.done;) {
|
|
2546
|
-
const page = _c.value;
|
|
2547
|
-
yield tslib.__await(yield* tslib.__asyncDelegator(tslib.__asyncValues(page)));
|
|
2548
|
-
}
|
|
2549
|
-
}
|
|
2550
|
-
catch (e_4_1) { e_4 = { error: e_4_1 }; }
|
|
2551
|
-
finally {
|
|
2552
|
-
try {
|
|
2553
|
-
if (_c && !_c.done && (_a = _b.return)) yield tslib.__await(_a.call(_b));
|
|
2554
|
-
}
|
|
2555
|
-
finally { if (e_4) throw e_4.error; }
|
|
2556
|
-
}
|
|
2557
|
-
});
|
|
2558
|
-
}
|
|
2559
|
-
/**
|
|
2560
|
-
* Returns a collection of machine groups this machine belongs to during the specified time interval.
|
|
2561
|
-
* @param resourceGroupName Resource group name within the specified subscriptionId.
|
|
2562
|
-
* @param workspaceName OMS workspace containing the resources of interest.
|
|
2563
|
-
* @param machineName Machine resource name.
|
|
2564
|
-
* @param options The options parameters.
|
|
2565
|
-
*/
|
|
2566
|
-
listMachineGroupMembership(resourceGroupName, workspaceName, machineName, options) {
|
|
2567
|
-
const iter = this.listMachineGroupMembershipPagingAll(resourceGroupName, workspaceName, machineName, options);
|
|
2568
|
-
return {
|
|
2569
|
-
next() {
|
|
2570
|
-
return iter.next();
|
|
2571
|
-
},
|
|
2572
|
-
[Symbol.asyncIterator]() {
|
|
2573
|
-
return this;
|
|
2574
|
-
},
|
|
2575
|
-
byPage: () => {
|
|
2576
|
-
return this.listMachineGroupMembershipPagingPage(resourceGroupName, workspaceName, machineName, options);
|
|
2577
|
-
}
|
|
2578
|
-
};
|
|
2579
|
-
}
|
|
2580
|
-
listMachineGroupMembershipPagingPage(resourceGroupName, workspaceName, machineName, options) {
|
|
2581
|
-
return tslib.__asyncGenerator(this, arguments, function* listMachineGroupMembershipPagingPage_1() {
|
|
2582
|
-
let result = yield tslib.__await(this._listMachineGroupMembership(resourceGroupName, workspaceName, machineName, options));
|
|
2583
|
-
yield yield tslib.__await(result.value || []);
|
|
2584
|
-
let continuationToken = result.nextLink;
|
|
2585
|
-
while (continuationToken) {
|
|
2586
|
-
result = yield tslib.__await(this._listMachineGroupMembershipNext(resourceGroupName, workspaceName, machineName, continuationToken, options));
|
|
2587
|
-
continuationToken = result.nextLink;
|
|
2588
|
-
yield yield tslib.__await(result.value || []);
|
|
2589
|
-
}
|
|
2590
|
-
});
|
|
2591
|
-
}
|
|
2592
|
-
listMachineGroupMembershipPagingAll(resourceGroupName, workspaceName, machineName, options) {
|
|
2593
|
-
return tslib.__asyncGenerator(this, arguments, function* listMachineGroupMembershipPagingAll_1() {
|
|
2594
|
-
var e_5, _a;
|
|
2595
|
-
try {
|
|
2596
|
-
for (var _b = tslib.__asyncValues(this.listMachineGroupMembershipPagingPage(resourceGroupName, workspaceName, machineName, options)), _c; _c = yield tslib.__await(_b.next()), !_c.done;) {
|
|
2597
|
-
const page = _c.value;
|
|
2598
|
-
yield tslib.__await(yield* tslib.__asyncDelegator(tslib.__asyncValues(page)));
|
|
2599
|
-
}
|
|
2600
|
-
}
|
|
2601
|
-
catch (e_5_1) { e_5 = { error: e_5_1 }; }
|
|
2602
|
-
finally {
|
|
2603
|
-
try {
|
|
2604
|
-
if (_c && !_c.done && (_a = _b.return)) yield tslib.__await(_a.call(_b));
|
|
2605
|
-
}
|
|
2606
|
-
finally { if (e_5) throw e_5.error; }
|
|
2607
|
-
}
|
|
2608
|
-
});
|
|
2609
|
-
}
|
|
2610
|
-
/**
|
|
2611
|
-
* Returns a collection of machines matching the specified conditions. The returned collection
|
|
2612
|
-
* represents either machines that are active/live during the specified interval of time (`live=true`
|
|
2613
|
-
* and `startTime`/`endTime` are specified) or that are known to have existed at or some time prior to
|
|
2614
|
-
* the specified point in time (`live=false` and `timestamp` is specified).
|
|
2615
|
-
* @param resourceGroupName Resource group name within the specified subscriptionId.
|
|
2616
|
-
* @param workspaceName OMS workspace containing the resources of interest.
|
|
2617
|
-
* @param options The options parameters.
|
|
2618
|
-
*/
|
|
2619
|
-
_listByWorkspace(resourceGroupName, workspaceName, options) {
|
|
2620
|
-
return this.client.sendOperationRequest({ resourceGroupName, workspaceName, options }, listByWorkspaceOperationSpec);
|
|
2621
|
-
}
|
|
2622
|
-
/**
|
|
2623
|
-
* Returns the specified machine.
|
|
2624
|
-
* @param resourceGroupName Resource group name within the specified subscriptionId.
|
|
2625
|
-
* @param workspaceName OMS workspace containing the resources of interest.
|
|
2626
|
-
* @param machineName Machine resource name.
|
|
2627
|
-
* @param options The options parameters.
|
|
2628
|
-
*/
|
|
2629
|
-
get(resourceGroupName, workspaceName, machineName, options) {
|
|
2630
|
-
return this.client.sendOperationRequest({ resourceGroupName, workspaceName, machineName, options }, getOperationSpec);
|
|
2631
|
-
}
|
|
2632
|
-
/**
|
|
2633
|
-
* Obtains the liveness status of the machine during the specified time interval.
|
|
2634
|
-
* @param resourceGroupName Resource group name within the specified subscriptionId.
|
|
2635
|
-
* @param workspaceName OMS workspace containing the resources of interest.
|
|
2636
|
-
* @param machineName Machine resource name.
|
|
2637
|
-
* @param options The options parameters.
|
|
2638
|
-
*/
|
|
2639
|
-
getLiveness(resourceGroupName, workspaceName, machineName, options) {
|
|
2640
|
-
return this.client.sendOperationRequest({ resourceGroupName, workspaceName, machineName, options }, getLivenessOperationSpec);
|
|
2641
|
-
}
|
|
2642
|
-
/**
|
|
2643
|
-
* Returns a collection of connections terminating or originating at the specified machine
|
|
2644
|
-
* @param resourceGroupName Resource group name within the specified subscriptionId.
|
|
2645
|
-
* @param workspaceName OMS workspace containing the resources of interest.
|
|
2646
|
-
* @param machineName Machine resource name.
|
|
2647
|
-
* @param options The options parameters.
|
|
2648
|
-
*/
|
|
2649
|
-
_listConnections(resourceGroupName, workspaceName, machineName, options) {
|
|
2650
|
-
return this.client.sendOperationRequest({ resourceGroupName, workspaceName, machineName, options }, listConnectionsOperationSpec);
|
|
2651
|
-
}
|
|
2652
|
-
/**
|
|
2653
|
-
* Returns a collection of processes on the specified machine matching the specified conditions. The
|
|
2654
|
-
* returned collection represents either processes that are active/live during the specified interval
|
|
2655
|
-
* of time (`live=true` and `startTime`/`endTime` are specified) or that are known to have existed at
|
|
2656
|
-
* or some time prior to the specified point in time (`live=false` and `timestamp` is specified).
|
|
2657
|
-
*
|
|
2658
|
-
* @param resourceGroupName Resource group name within the specified subscriptionId.
|
|
2659
|
-
* @param workspaceName OMS workspace containing the resources of interest.
|
|
2660
|
-
* @param machineName Machine resource name.
|
|
2661
|
-
* @param options The options parameters.
|
|
2662
|
-
*/
|
|
2663
|
-
_listProcesses(resourceGroupName, workspaceName, machineName, options) {
|
|
2664
|
-
return this.client.sendOperationRequest({ resourceGroupName, workspaceName, machineName, options }, listProcessesOperationSpec);
|
|
2665
|
-
}
|
|
2666
|
-
/**
|
|
2667
|
-
* Returns a collection of live ports on the specified machine during the specified time interval.
|
|
2668
|
-
* @param resourceGroupName Resource group name within the specified subscriptionId.
|
|
2669
|
-
* @param workspaceName OMS workspace containing the resources of interest.
|
|
2670
|
-
* @param machineName Machine resource name.
|
|
2671
|
-
* @param options The options parameters.
|
|
2672
|
-
*/
|
|
2673
|
-
_listPorts(resourceGroupName, workspaceName, machineName, options) {
|
|
2674
|
-
return this.client.sendOperationRequest({ resourceGroupName, workspaceName, machineName, options }, listPortsOperationSpec);
|
|
2675
|
-
}
|
|
2676
|
-
/**
|
|
2677
|
-
* Returns a collection of machine groups this machine belongs to during the specified time interval.
|
|
2678
|
-
* @param resourceGroupName Resource group name within the specified subscriptionId.
|
|
2679
|
-
* @param workspaceName OMS workspace containing the resources of interest.
|
|
2680
|
-
* @param machineName Machine resource name.
|
|
2681
|
-
* @param options The options parameters.
|
|
2682
|
-
*/
|
|
2683
|
-
_listMachineGroupMembership(resourceGroupName, workspaceName, machineName, options) {
|
|
2684
|
-
return this.client.sendOperationRequest({ resourceGroupName, workspaceName, machineName, options }, listMachineGroupMembershipOperationSpec);
|
|
2685
|
-
}
|
|
2686
|
-
/**
|
|
2687
|
-
* ListByWorkspaceNext
|
|
2688
|
-
* @param resourceGroupName Resource group name within the specified subscriptionId.
|
|
2689
|
-
* @param workspaceName OMS workspace containing the resources of interest.
|
|
2690
|
-
* @param nextLink The nextLink from the previous successful call to the ListByWorkspace method.
|
|
2691
|
-
* @param options The options parameters.
|
|
2692
|
-
*/
|
|
2693
|
-
_listByWorkspaceNext(resourceGroupName, workspaceName, nextLink, options) {
|
|
2694
|
-
return this.client.sendOperationRequest({ resourceGroupName, workspaceName, nextLink, options }, listByWorkspaceNextOperationSpec);
|
|
2695
|
-
}
|
|
2696
|
-
/**
|
|
2697
|
-
* ListConnectionsNext
|
|
2698
|
-
* @param resourceGroupName Resource group name within the specified subscriptionId.
|
|
2699
|
-
* @param workspaceName OMS workspace containing the resources of interest.
|
|
2700
|
-
* @param machineName Machine resource name.
|
|
2701
|
-
* @param nextLink The nextLink from the previous successful call to the ListConnections method.
|
|
2702
|
-
* @param options The options parameters.
|
|
2703
|
-
*/
|
|
2704
|
-
_listConnectionsNext(resourceGroupName, workspaceName, machineName, nextLink, options) {
|
|
2705
|
-
return this.client.sendOperationRequest({ resourceGroupName, workspaceName, machineName, nextLink, options }, listConnectionsNextOperationSpec);
|
|
2706
|
-
}
|
|
2707
|
-
/**
|
|
2708
|
-
* ListProcessesNext
|
|
2709
|
-
* @param resourceGroupName Resource group name within the specified subscriptionId.
|
|
2710
|
-
* @param workspaceName OMS workspace containing the resources of interest.
|
|
2711
|
-
* @param machineName Machine resource name.
|
|
2712
|
-
* @param nextLink The nextLink from the previous successful call to the ListProcesses method.
|
|
2713
|
-
* @param options The options parameters.
|
|
2714
|
-
*/
|
|
2715
|
-
_listProcessesNext(resourceGroupName, workspaceName, machineName, nextLink, options) {
|
|
2716
|
-
return this.client.sendOperationRequest({ resourceGroupName, workspaceName, machineName, nextLink, options }, listProcessesNextOperationSpec);
|
|
2717
|
-
}
|
|
2718
|
-
/**
|
|
2719
|
-
* ListPortsNext
|
|
2720
|
-
* @param resourceGroupName Resource group name within the specified subscriptionId.
|
|
2721
|
-
* @param workspaceName OMS workspace containing the resources of interest.
|
|
2722
|
-
* @param machineName Machine resource name.
|
|
2723
|
-
* @param nextLink The nextLink from the previous successful call to the ListPorts method.
|
|
2724
|
-
* @param options The options parameters.
|
|
2725
|
-
*/
|
|
2726
|
-
_listPortsNext(resourceGroupName, workspaceName, machineName, nextLink, options) {
|
|
2727
|
-
return this.client.sendOperationRequest({ resourceGroupName, workspaceName, machineName, nextLink, options }, listPortsNextOperationSpec);
|
|
2728
|
-
}
|
|
2729
|
-
/**
|
|
2730
|
-
* ListMachineGroupMembershipNext
|
|
2731
|
-
* @param resourceGroupName Resource group name within the specified subscriptionId.
|
|
2732
|
-
* @param workspaceName OMS workspace containing the resources of interest.
|
|
2733
|
-
* @param machineName Machine resource name.
|
|
2734
|
-
* @param nextLink The nextLink from the previous successful call to the ListMachineGroupMembership
|
|
2735
|
-
* method.
|
|
2736
|
-
* @param options The options parameters.
|
|
2737
|
-
*/
|
|
2738
|
-
_listMachineGroupMembershipNext(resourceGroupName, workspaceName, machineName, nextLink, options) {
|
|
2739
|
-
return this.client.sendOperationRequest({ resourceGroupName, workspaceName, machineName, nextLink, options }, listMachineGroupMembershipNextOperationSpec);
|
|
2740
|
-
}
|
|
2741
|
-
}
|
|
2742
|
-
// Operation Specifications
|
|
2743
|
-
const serializer = coreClient.createSerializer(Mappers, /* isXml */ false);
|
|
2744
|
-
const listByWorkspaceOperationSpec = {
|
|
2745
|
-
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/features/serviceMap/machines",
|
|
2746
|
-
httpMethod: "GET",
|
|
2747
|
-
responses: {
|
|
2748
|
-
200: {
|
|
2749
|
-
bodyMapper: MachineCollection
|
|
2750
|
-
},
|
|
2751
|
-
default: {
|
|
2752
|
-
bodyMapper: ErrorResponse
|
|
2753
|
-
}
|
|
2754
|
-
},
|
|
2755
|
-
queryParameters: [
|
|
2756
|
-
apiVersion,
|
|
2757
|
-
live,
|
|
2758
|
-
startTime,
|
|
2759
|
-
endTime,
|
|
2760
|
-
timestamp,
|
|
2761
|
-
top
|
|
2762
|
-
],
|
|
2763
|
-
urlParameters: [
|
|
2764
|
-
$host,
|
|
2765
|
-
subscriptionId,
|
|
2766
|
-
resourceGroupName,
|
|
2767
|
-
workspaceName
|
|
2768
|
-
],
|
|
2769
|
-
headerParameters: [accept],
|
|
2770
|
-
serializer
|
|
2771
|
-
};
|
|
2772
|
-
const getOperationSpec = {
|
|
2773
|
-
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/features/serviceMap/machines/{machineName}",
|
|
2774
|
-
httpMethod: "GET",
|
|
2775
|
-
responses: {
|
|
2776
|
-
200: {
|
|
2777
|
-
bodyMapper: Machine
|
|
2778
|
-
},
|
|
2779
|
-
default: {
|
|
2780
|
-
bodyMapper: ErrorResponse
|
|
2781
|
-
}
|
|
2782
|
-
},
|
|
2783
|
-
queryParameters: [apiVersion, timestamp],
|
|
2784
|
-
urlParameters: [
|
|
2785
|
-
$host,
|
|
2786
|
-
subscriptionId,
|
|
2787
|
-
resourceGroupName,
|
|
2788
|
-
workspaceName,
|
|
2789
|
-
machineName
|
|
2790
|
-
],
|
|
2791
|
-
headerParameters: [accept],
|
|
2792
|
-
serializer
|
|
2793
|
-
};
|
|
2794
|
-
const getLivenessOperationSpec = {
|
|
2795
|
-
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/features/serviceMap/machines/{machineName}/liveness",
|
|
2796
|
-
httpMethod: "GET",
|
|
2797
|
-
responses: {
|
|
2798
|
-
200: {
|
|
2799
|
-
bodyMapper: Liveness
|
|
2800
|
-
},
|
|
2801
|
-
default: {
|
|
2802
|
-
bodyMapper: ErrorResponse
|
|
2803
|
-
}
|
|
2804
|
-
},
|
|
2805
|
-
queryParameters: [
|
|
2806
|
-
apiVersion,
|
|
2807
|
-
startTime,
|
|
2808
|
-
endTime
|
|
2809
|
-
],
|
|
2810
|
-
urlParameters: [
|
|
2811
|
-
$host,
|
|
2812
|
-
subscriptionId,
|
|
2813
|
-
resourceGroupName,
|
|
2814
|
-
workspaceName,
|
|
2815
|
-
machineName
|
|
2816
|
-
],
|
|
2817
|
-
headerParameters: [accept],
|
|
2818
|
-
serializer
|
|
2819
|
-
};
|
|
2820
|
-
const listConnectionsOperationSpec = {
|
|
2821
|
-
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/features/serviceMap/machines/{machineName}/connections",
|
|
2822
|
-
httpMethod: "GET",
|
|
2823
|
-
responses: {
|
|
2824
|
-
200: {
|
|
2825
|
-
bodyMapper: ConnectionCollection
|
|
2826
|
-
},
|
|
2827
|
-
default: {
|
|
2828
|
-
bodyMapper: ErrorResponse
|
|
2829
|
-
}
|
|
2830
|
-
},
|
|
2831
|
-
queryParameters: [
|
|
2832
|
-
apiVersion,
|
|
2833
|
-
startTime,
|
|
2834
|
-
endTime
|
|
2835
|
-
],
|
|
2836
|
-
urlParameters: [
|
|
2837
|
-
$host,
|
|
2838
|
-
subscriptionId,
|
|
2839
|
-
resourceGroupName,
|
|
2840
|
-
workspaceName,
|
|
2841
|
-
machineName
|
|
2842
|
-
],
|
|
2843
|
-
headerParameters: [accept],
|
|
2844
|
-
serializer
|
|
2845
|
-
};
|
|
2846
|
-
const listProcessesOperationSpec = {
|
|
2847
|
-
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/features/serviceMap/machines/{machineName}/processes",
|
|
2848
|
-
httpMethod: "GET",
|
|
2849
|
-
responses: {
|
|
2850
|
-
200: {
|
|
2851
|
-
bodyMapper: ProcessCollection
|
|
2852
|
-
},
|
|
2853
|
-
default: {
|
|
2854
|
-
bodyMapper: ErrorResponse
|
|
2855
|
-
}
|
|
2856
|
-
},
|
|
2857
|
-
queryParameters: [
|
|
2858
|
-
apiVersion,
|
|
2859
|
-
live,
|
|
2860
|
-
startTime,
|
|
2861
|
-
endTime,
|
|
2862
|
-
timestamp
|
|
2863
|
-
],
|
|
2864
|
-
urlParameters: [
|
|
2865
|
-
$host,
|
|
2866
|
-
subscriptionId,
|
|
2867
|
-
resourceGroupName,
|
|
2868
|
-
workspaceName,
|
|
2869
|
-
machineName
|
|
2870
|
-
],
|
|
2871
|
-
headerParameters: [accept],
|
|
2872
|
-
serializer
|
|
2873
|
-
};
|
|
2874
|
-
const listPortsOperationSpec = {
|
|
2875
|
-
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/features/serviceMap/machines/{machineName}/ports",
|
|
2876
|
-
httpMethod: "GET",
|
|
2877
|
-
responses: {
|
|
2878
|
-
200: {
|
|
2879
|
-
bodyMapper: PortCollection
|
|
2880
|
-
},
|
|
2881
|
-
default: {
|
|
2882
|
-
bodyMapper: ErrorResponse
|
|
2883
|
-
}
|
|
2884
|
-
},
|
|
2885
|
-
queryParameters: [
|
|
2886
|
-
apiVersion,
|
|
2887
|
-
startTime,
|
|
2888
|
-
endTime
|
|
2889
|
-
],
|
|
2890
|
-
urlParameters: [
|
|
2891
|
-
$host,
|
|
2892
|
-
subscriptionId,
|
|
2893
|
-
resourceGroupName,
|
|
2894
|
-
workspaceName,
|
|
2895
|
-
machineName
|
|
2896
|
-
],
|
|
2897
|
-
headerParameters: [accept],
|
|
2898
|
-
serializer
|
|
2899
|
-
};
|
|
2900
|
-
const listMachineGroupMembershipOperationSpec = {
|
|
2901
|
-
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/features/serviceMap/machines/{machineName}/machineGroups",
|
|
2902
|
-
httpMethod: "GET",
|
|
2903
|
-
responses: {
|
|
2904
|
-
200: {
|
|
2905
|
-
bodyMapper: MachineGroupCollection
|
|
2906
|
-
},
|
|
2907
|
-
default: {
|
|
2908
|
-
bodyMapper: ErrorResponse
|
|
2909
|
-
}
|
|
2910
|
-
},
|
|
2911
|
-
queryParameters: [
|
|
2912
|
-
apiVersion,
|
|
2913
|
-
startTime,
|
|
2914
|
-
endTime
|
|
2915
|
-
],
|
|
2916
|
-
urlParameters: [
|
|
2917
|
-
$host,
|
|
2918
|
-
subscriptionId,
|
|
2919
|
-
resourceGroupName,
|
|
2920
|
-
workspaceName,
|
|
2921
|
-
machineName
|
|
2922
|
-
],
|
|
2923
|
-
headerParameters: [accept],
|
|
2924
|
-
serializer
|
|
2925
|
-
};
|
|
2926
|
-
const listByWorkspaceNextOperationSpec = {
|
|
2927
|
-
path: "{nextLink}",
|
|
2928
|
-
httpMethod: "GET",
|
|
2929
|
-
responses: {
|
|
2930
|
-
200: {
|
|
2931
|
-
bodyMapper: MachineCollection
|
|
2932
|
-
},
|
|
2933
|
-
default: {
|
|
2934
|
-
bodyMapper: ErrorResponse
|
|
2935
|
-
}
|
|
2936
|
-
},
|
|
2937
|
-
queryParameters: [
|
|
2938
|
-
apiVersion,
|
|
2939
|
-
live,
|
|
2940
|
-
startTime,
|
|
2941
|
-
endTime,
|
|
2942
|
-
timestamp,
|
|
2943
|
-
top
|
|
2944
|
-
],
|
|
2945
|
-
urlParameters: [
|
|
2946
|
-
$host,
|
|
2947
|
-
subscriptionId,
|
|
2948
|
-
resourceGroupName,
|
|
2949
|
-
workspaceName,
|
|
2950
|
-
nextLink
|
|
2951
|
-
],
|
|
2952
|
-
headerParameters: [accept],
|
|
2953
|
-
serializer
|
|
2954
|
-
};
|
|
2955
|
-
const listConnectionsNextOperationSpec = {
|
|
2956
|
-
path: "{nextLink}",
|
|
2957
|
-
httpMethod: "GET",
|
|
2958
|
-
responses: {
|
|
2959
|
-
200: {
|
|
2960
|
-
bodyMapper: ConnectionCollection
|
|
2961
|
-
},
|
|
2962
|
-
default: {
|
|
2963
|
-
bodyMapper: ErrorResponse
|
|
2964
|
-
}
|
|
2965
|
-
},
|
|
2966
|
-
queryParameters: [
|
|
2967
|
-
apiVersion,
|
|
2968
|
-
startTime,
|
|
2969
|
-
endTime
|
|
2970
|
-
],
|
|
2971
|
-
urlParameters: [
|
|
2972
|
-
$host,
|
|
2973
|
-
subscriptionId,
|
|
2974
|
-
resourceGroupName,
|
|
2975
|
-
workspaceName,
|
|
2976
|
-
machineName,
|
|
2977
|
-
nextLink
|
|
2978
|
-
],
|
|
2979
|
-
headerParameters: [accept],
|
|
2980
|
-
serializer
|
|
2981
|
-
};
|
|
2982
|
-
const listProcessesNextOperationSpec = {
|
|
2983
|
-
path: "{nextLink}",
|
|
2984
|
-
httpMethod: "GET",
|
|
2985
|
-
responses: {
|
|
2986
|
-
200: {
|
|
2987
|
-
bodyMapper: ProcessCollection
|
|
2988
|
-
},
|
|
2989
|
-
default: {
|
|
2990
|
-
bodyMapper: ErrorResponse
|
|
2991
|
-
}
|
|
2992
|
-
},
|
|
2993
|
-
queryParameters: [
|
|
2994
|
-
apiVersion,
|
|
2995
|
-
live,
|
|
2996
|
-
startTime,
|
|
2997
|
-
endTime,
|
|
2998
|
-
timestamp
|
|
2999
|
-
],
|
|
3000
|
-
urlParameters: [
|
|
3001
|
-
$host,
|
|
3002
|
-
subscriptionId,
|
|
3003
|
-
resourceGroupName,
|
|
3004
|
-
workspaceName,
|
|
3005
|
-
machineName,
|
|
3006
|
-
nextLink
|
|
3007
|
-
],
|
|
3008
|
-
headerParameters: [accept],
|
|
3009
|
-
serializer
|
|
3010
|
-
};
|
|
3011
|
-
const listPortsNextOperationSpec = {
|
|
3012
|
-
path: "{nextLink}",
|
|
3013
|
-
httpMethod: "GET",
|
|
3014
|
-
responses: {
|
|
3015
|
-
200: {
|
|
3016
|
-
bodyMapper: PortCollection
|
|
3017
|
-
},
|
|
3018
|
-
default: {
|
|
3019
|
-
bodyMapper: ErrorResponse
|
|
3020
|
-
}
|
|
3021
|
-
},
|
|
3022
|
-
queryParameters: [
|
|
3023
|
-
apiVersion,
|
|
3024
|
-
startTime,
|
|
3025
|
-
endTime
|
|
3026
|
-
],
|
|
3027
|
-
urlParameters: [
|
|
3028
|
-
$host,
|
|
3029
|
-
subscriptionId,
|
|
3030
|
-
resourceGroupName,
|
|
3031
|
-
workspaceName,
|
|
3032
|
-
machineName,
|
|
3033
|
-
nextLink
|
|
3034
|
-
],
|
|
3035
|
-
headerParameters: [accept],
|
|
3036
|
-
serializer
|
|
3037
|
-
};
|
|
3038
|
-
const listMachineGroupMembershipNextOperationSpec = {
|
|
3039
|
-
path: "{nextLink}",
|
|
3040
|
-
httpMethod: "GET",
|
|
3041
|
-
responses: {
|
|
3042
|
-
200: {
|
|
3043
|
-
bodyMapper: MachineGroupCollection
|
|
3044
|
-
},
|
|
3045
|
-
default: {
|
|
3046
|
-
bodyMapper: ErrorResponse
|
|
3047
|
-
}
|
|
3048
|
-
},
|
|
3049
|
-
queryParameters: [
|
|
3050
|
-
apiVersion,
|
|
3051
|
-
startTime,
|
|
3052
|
-
endTime
|
|
3053
|
-
],
|
|
3054
|
-
urlParameters: [
|
|
3055
|
-
$host,
|
|
3056
|
-
subscriptionId,
|
|
3057
|
-
resourceGroupName,
|
|
3058
|
-
workspaceName,
|
|
3059
|
-
machineName,
|
|
3060
|
-
nextLink
|
|
3061
|
-
],
|
|
3062
|
-
headerParameters: [accept],
|
|
3063
|
-
serializer
|
|
3064
|
-
};
|
|
3065
|
-
|
|
3066
|
-
/*
|
|
3067
|
-
* Copyright (c) Microsoft Corporation.
|
|
3068
|
-
* Licensed under the MIT License.
|
|
3069
|
-
*
|
|
3070
|
-
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
3071
|
-
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
3072
|
-
*/
|
|
3073
|
-
/// <reference lib="esnext.asynciterable" />
|
|
3074
|
-
/** Class containing Processes operations. */
|
|
3075
|
-
class ProcessesImpl {
|
|
3076
|
-
/**
|
|
3077
|
-
* Initialize a new instance of the class Processes class.
|
|
3078
|
-
* @param client Reference to the service client
|
|
3079
|
-
*/
|
|
3080
|
-
constructor(client) {
|
|
3081
|
-
this.client = client;
|
|
3082
|
-
}
|
|
3083
|
-
/**
|
|
3084
|
-
* Returns a collection of ports on which this process is accepting
|
|
3085
|
-
* @param resourceGroupName Resource group name within the specified subscriptionId.
|
|
3086
|
-
* @param workspaceName OMS workspace containing the resources of interest.
|
|
3087
|
-
* @param machineName Machine resource name.
|
|
3088
|
-
* @param processName Process resource name.
|
|
3089
|
-
* @param options The options parameters.
|
|
3090
|
-
*/
|
|
3091
|
-
listAcceptingPorts(resourceGroupName, workspaceName, machineName, processName, options) {
|
|
3092
|
-
const iter = this.listAcceptingPortsPagingAll(resourceGroupName, workspaceName, machineName, processName, options);
|
|
3093
|
-
return {
|
|
3094
|
-
next() {
|
|
3095
|
-
return iter.next();
|
|
3096
|
-
},
|
|
3097
|
-
[Symbol.asyncIterator]() {
|
|
3098
|
-
return this;
|
|
3099
|
-
},
|
|
3100
|
-
byPage: () => {
|
|
3101
|
-
return this.listAcceptingPortsPagingPage(resourceGroupName, workspaceName, machineName, processName, options);
|
|
3102
|
-
}
|
|
3103
|
-
};
|
|
3104
|
-
}
|
|
3105
|
-
listAcceptingPortsPagingPage(resourceGroupName, workspaceName, machineName, processName, options) {
|
|
3106
|
-
return tslib.__asyncGenerator(this, arguments, function* listAcceptingPortsPagingPage_1() {
|
|
3107
|
-
let result = yield tslib.__await(this._listAcceptingPorts(resourceGroupName, workspaceName, machineName, processName, options));
|
|
3108
|
-
yield yield tslib.__await(result.value || []);
|
|
3109
|
-
let continuationToken = result.nextLink;
|
|
3110
|
-
while (continuationToken) {
|
|
3111
|
-
result = yield tslib.__await(this._listAcceptingPortsNext(resourceGroupName, workspaceName, machineName, processName, continuationToken, options));
|
|
3112
|
-
continuationToken = result.nextLink;
|
|
3113
|
-
yield yield tslib.__await(result.value || []);
|
|
3114
|
-
}
|
|
3115
|
-
});
|
|
3116
|
-
}
|
|
3117
|
-
listAcceptingPortsPagingAll(resourceGroupName, workspaceName, machineName, processName, options) {
|
|
3118
|
-
return tslib.__asyncGenerator(this, arguments, function* listAcceptingPortsPagingAll_1() {
|
|
3119
|
-
var e_1, _a;
|
|
3120
|
-
try {
|
|
3121
|
-
for (var _b = tslib.__asyncValues(this.listAcceptingPortsPagingPage(resourceGroupName, workspaceName, machineName, processName, options)), _c; _c = yield tslib.__await(_b.next()), !_c.done;) {
|
|
3122
|
-
const page = _c.value;
|
|
3123
|
-
yield tslib.__await(yield* tslib.__asyncDelegator(tslib.__asyncValues(page)));
|
|
3124
|
-
}
|
|
3125
|
-
}
|
|
3126
|
-
catch (e_1_1) { e_1 = { error: e_1_1 }; }
|
|
3127
|
-
finally {
|
|
3128
|
-
try {
|
|
3129
|
-
if (_c && !_c.done && (_a = _b.return)) yield tslib.__await(_a.call(_b));
|
|
3130
|
-
}
|
|
3131
|
-
finally { if (e_1) throw e_1.error; }
|
|
3132
|
-
}
|
|
3133
|
-
});
|
|
3134
|
-
}
|
|
3135
|
-
/**
|
|
3136
|
-
* Returns a collection of connections terminating or originating at the specified process
|
|
3137
|
-
* @param resourceGroupName Resource group name within the specified subscriptionId.
|
|
3138
|
-
* @param workspaceName OMS workspace containing the resources of interest.
|
|
3139
|
-
* @param machineName Machine resource name.
|
|
3140
|
-
* @param processName Process resource name.
|
|
3141
|
-
* @param options The options parameters.
|
|
3142
|
-
*/
|
|
3143
|
-
listConnections(resourceGroupName, workspaceName, machineName, processName, options) {
|
|
3144
|
-
const iter = this.listConnectionsPagingAll(resourceGroupName, workspaceName, machineName, processName, options);
|
|
3145
|
-
return {
|
|
3146
|
-
next() {
|
|
3147
|
-
return iter.next();
|
|
3148
|
-
},
|
|
3149
|
-
[Symbol.asyncIterator]() {
|
|
3150
|
-
return this;
|
|
3151
|
-
},
|
|
3152
|
-
byPage: () => {
|
|
3153
|
-
return this.listConnectionsPagingPage(resourceGroupName, workspaceName, machineName, processName, options);
|
|
3154
|
-
}
|
|
3155
|
-
};
|
|
3156
|
-
}
|
|
3157
|
-
listConnectionsPagingPage(resourceGroupName, workspaceName, machineName, processName, options) {
|
|
3158
|
-
return tslib.__asyncGenerator(this, arguments, function* listConnectionsPagingPage_1() {
|
|
3159
|
-
let result = yield tslib.__await(this._listConnections(resourceGroupName, workspaceName, machineName, processName, options));
|
|
3160
|
-
yield yield tslib.__await(result.value || []);
|
|
3161
|
-
let continuationToken = result.nextLink;
|
|
3162
|
-
while (continuationToken) {
|
|
3163
|
-
result = yield tslib.__await(this._listConnectionsNext(resourceGroupName, workspaceName, machineName, processName, continuationToken, options));
|
|
3164
|
-
continuationToken = result.nextLink;
|
|
3165
|
-
yield yield tslib.__await(result.value || []);
|
|
3166
|
-
}
|
|
3167
|
-
});
|
|
3168
|
-
}
|
|
3169
|
-
listConnectionsPagingAll(resourceGroupName, workspaceName, machineName, processName, options) {
|
|
3170
|
-
return tslib.__asyncGenerator(this, arguments, function* listConnectionsPagingAll_1() {
|
|
3171
|
-
var e_2, _a;
|
|
3172
|
-
try {
|
|
3173
|
-
for (var _b = tslib.__asyncValues(this.listConnectionsPagingPage(resourceGroupName, workspaceName, machineName, processName, options)), _c; _c = yield tslib.__await(_b.next()), !_c.done;) {
|
|
3174
|
-
const page = _c.value;
|
|
3175
|
-
yield tslib.__await(yield* tslib.__asyncDelegator(tslib.__asyncValues(page)));
|
|
3176
|
-
}
|
|
3177
|
-
}
|
|
3178
|
-
catch (e_2_1) { e_2 = { error: e_2_1 }; }
|
|
3179
|
-
finally {
|
|
3180
|
-
try {
|
|
3181
|
-
if (_c && !_c.done && (_a = _b.return)) yield tslib.__await(_a.call(_b));
|
|
3182
|
-
}
|
|
3183
|
-
finally { if (e_2) throw e_2.error; }
|
|
3184
|
-
}
|
|
3185
|
-
});
|
|
3186
|
-
}
|
|
3187
|
-
/**
|
|
3188
|
-
* Returns the specified process.
|
|
3189
|
-
* @param resourceGroupName Resource group name within the specified subscriptionId.
|
|
3190
|
-
* @param workspaceName OMS workspace containing the resources of interest.
|
|
3191
|
-
* @param machineName Machine resource name.
|
|
3192
|
-
* @param processName Process resource name.
|
|
3193
|
-
* @param options The options parameters.
|
|
3194
|
-
*/
|
|
3195
|
-
get(resourceGroupName, workspaceName, machineName, processName, options) {
|
|
3196
|
-
return this.client.sendOperationRequest({ resourceGroupName, workspaceName, machineName, processName, options }, getOperationSpec$1);
|
|
3197
|
-
}
|
|
3198
|
-
/**
|
|
3199
|
-
* Obtains the liveness status of the process during the specified time interval.
|
|
3200
|
-
* @param resourceGroupName Resource group name within the specified subscriptionId.
|
|
3201
|
-
* @param workspaceName OMS workspace containing the resources of interest.
|
|
3202
|
-
* @param machineName Machine resource name.
|
|
3203
|
-
* @param processName Process resource name.
|
|
3204
|
-
* @param options The options parameters.
|
|
3205
|
-
*/
|
|
3206
|
-
getLiveness(resourceGroupName, workspaceName, machineName, processName, options) {
|
|
3207
|
-
return this.client.sendOperationRequest({ resourceGroupName, workspaceName, machineName, processName, options }, getLivenessOperationSpec$1);
|
|
3208
|
-
}
|
|
3209
|
-
/**
|
|
3210
|
-
* Returns a collection of ports on which this process is accepting
|
|
3211
|
-
* @param resourceGroupName Resource group name within the specified subscriptionId.
|
|
3212
|
-
* @param workspaceName OMS workspace containing the resources of interest.
|
|
3213
|
-
* @param machineName Machine resource name.
|
|
3214
|
-
* @param processName Process resource name.
|
|
3215
|
-
* @param options The options parameters.
|
|
3216
|
-
*/
|
|
3217
|
-
_listAcceptingPorts(resourceGroupName, workspaceName, machineName, processName, options) {
|
|
3218
|
-
return this.client.sendOperationRequest({ resourceGroupName, workspaceName, machineName, processName, options }, listAcceptingPortsOperationSpec);
|
|
3219
|
-
}
|
|
3220
|
-
/**
|
|
3221
|
-
* Returns a collection of connections terminating or originating at the specified process
|
|
3222
|
-
* @param resourceGroupName Resource group name within the specified subscriptionId.
|
|
3223
|
-
* @param workspaceName OMS workspace containing the resources of interest.
|
|
3224
|
-
* @param machineName Machine resource name.
|
|
3225
|
-
* @param processName Process resource name.
|
|
3226
|
-
* @param options The options parameters.
|
|
3227
|
-
*/
|
|
3228
|
-
_listConnections(resourceGroupName, workspaceName, machineName, processName, options) {
|
|
3229
|
-
return this.client.sendOperationRequest({ resourceGroupName, workspaceName, machineName, processName, options }, listConnectionsOperationSpec$1);
|
|
3230
|
-
}
|
|
3231
|
-
/**
|
|
3232
|
-
* ListAcceptingPortsNext
|
|
3233
|
-
* @param resourceGroupName Resource group name within the specified subscriptionId.
|
|
3234
|
-
* @param workspaceName OMS workspace containing the resources of interest.
|
|
3235
|
-
* @param machineName Machine resource name.
|
|
3236
|
-
* @param processName Process resource name.
|
|
3237
|
-
* @param nextLink The nextLink from the previous successful call to the ListAcceptingPorts method.
|
|
3238
|
-
* @param options The options parameters.
|
|
3239
|
-
*/
|
|
3240
|
-
_listAcceptingPortsNext(resourceGroupName, workspaceName, machineName, processName, nextLink, options) {
|
|
3241
|
-
return this.client.sendOperationRequest({
|
|
3242
|
-
resourceGroupName,
|
|
3243
|
-
workspaceName,
|
|
3244
|
-
machineName,
|
|
3245
|
-
processName,
|
|
3246
|
-
nextLink,
|
|
3247
|
-
options
|
|
3248
|
-
}, listAcceptingPortsNextOperationSpec);
|
|
3249
|
-
}
|
|
3250
|
-
/**
|
|
3251
|
-
* ListConnectionsNext
|
|
3252
|
-
* @param resourceGroupName Resource group name within the specified subscriptionId.
|
|
3253
|
-
* @param workspaceName OMS workspace containing the resources of interest.
|
|
3254
|
-
* @param machineName Machine resource name.
|
|
3255
|
-
* @param processName Process resource name.
|
|
3256
|
-
* @param nextLink The nextLink from the previous successful call to the ListConnections method.
|
|
3257
|
-
* @param options The options parameters.
|
|
3258
|
-
*/
|
|
3259
|
-
_listConnectionsNext(resourceGroupName, workspaceName, machineName, processName, nextLink, options) {
|
|
3260
|
-
return this.client.sendOperationRequest({
|
|
3261
|
-
resourceGroupName,
|
|
3262
|
-
workspaceName,
|
|
3263
|
-
machineName,
|
|
3264
|
-
processName,
|
|
3265
|
-
nextLink,
|
|
3266
|
-
options
|
|
3267
|
-
}, listConnectionsNextOperationSpec$1);
|
|
3268
|
-
}
|
|
3269
|
-
}
|
|
3270
|
-
// Operation Specifications
|
|
3271
|
-
const serializer$1 = coreClient.createSerializer(Mappers, /* isXml */ false);
|
|
3272
|
-
const getOperationSpec$1 = {
|
|
3273
|
-
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/features/serviceMap/machines/{machineName}/processes/{processName}",
|
|
3274
|
-
httpMethod: "GET",
|
|
3275
|
-
responses: {
|
|
3276
|
-
200: {
|
|
3277
|
-
bodyMapper: Process
|
|
3278
|
-
},
|
|
3279
|
-
default: {
|
|
3280
|
-
bodyMapper: ErrorResponse
|
|
3281
|
-
}
|
|
3282
|
-
},
|
|
3283
|
-
queryParameters: [apiVersion, timestamp],
|
|
3284
|
-
urlParameters: [
|
|
3285
|
-
$host,
|
|
3286
|
-
subscriptionId,
|
|
3287
|
-
resourceGroupName,
|
|
3288
|
-
workspaceName,
|
|
3289
|
-
machineName,
|
|
3290
|
-
processName
|
|
3291
|
-
],
|
|
3292
|
-
headerParameters: [accept],
|
|
3293
|
-
serializer: serializer$1
|
|
3294
|
-
};
|
|
3295
|
-
const getLivenessOperationSpec$1 = {
|
|
3296
|
-
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/features/serviceMap/machines/{machineName}/processes/{processName}/liveness",
|
|
3297
|
-
httpMethod: "GET",
|
|
3298
|
-
responses: {
|
|
3299
|
-
200: {
|
|
3300
|
-
bodyMapper: Liveness
|
|
3301
|
-
},
|
|
3302
|
-
default: {
|
|
3303
|
-
bodyMapper: ErrorResponse
|
|
3304
|
-
}
|
|
3305
|
-
},
|
|
3306
|
-
queryParameters: [
|
|
3307
|
-
apiVersion,
|
|
3308
|
-
startTime,
|
|
3309
|
-
endTime
|
|
3310
|
-
],
|
|
3311
|
-
urlParameters: [
|
|
3312
|
-
$host,
|
|
3313
|
-
subscriptionId,
|
|
3314
|
-
resourceGroupName,
|
|
3315
|
-
workspaceName,
|
|
3316
|
-
machineName,
|
|
3317
|
-
processName
|
|
3318
|
-
],
|
|
3319
|
-
headerParameters: [accept],
|
|
3320
|
-
serializer: serializer$1
|
|
3321
|
-
};
|
|
3322
|
-
const listAcceptingPortsOperationSpec = {
|
|
3323
|
-
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/features/serviceMap/machines/{machineName}/processes/{processName}/acceptingPorts",
|
|
3324
|
-
httpMethod: "GET",
|
|
3325
|
-
responses: {
|
|
3326
|
-
200: {
|
|
3327
|
-
bodyMapper: PortCollection
|
|
3328
|
-
},
|
|
3329
|
-
default: {
|
|
3330
|
-
bodyMapper: ErrorResponse
|
|
3331
|
-
}
|
|
3332
|
-
},
|
|
3333
|
-
queryParameters: [
|
|
3334
|
-
apiVersion,
|
|
3335
|
-
startTime,
|
|
3336
|
-
endTime
|
|
3337
|
-
],
|
|
3338
|
-
urlParameters: [
|
|
3339
|
-
$host,
|
|
3340
|
-
subscriptionId,
|
|
3341
|
-
resourceGroupName,
|
|
3342
|
-
workspaceName,
|
|
3343
|
-
machineName,
|
|
3344
|
-
processName
|
|
3345
|
-
],
|
|
3346
|
-
headerParameters: [accept],
|
|
3347
|
-
serializer: serializer$1
|
|
3348
|
-
};
|
|
3349
|
-
const listConnectionsOperationSpec$1 = {
|
|
3350
|
-
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/features/serviceMap/machines/{machineName}/processes/{processName}/connections",
|
|
3351
|
-
httpMethod: "GET",
|
|
3352
|
-
responses: {
|
|
3353
|
-
200: {
|
|
3354
|
-
bodyMapper: ConnectionCollection
|
|
3355
|
-
},
|
|
3356
|
-
default: {
|
|
3357
|
-
bodyMapper: ErrorResponse
|
|
3358
|
-
}
|
|
3359
|
-
},
|
|
3360
|
-
queryParameters: [
|
|
3361
|
-
apiVersion,
|
|
3362
|
-
startTime,
|
|
3363
|
-
endTime
|
|
3364
|
-
],
|
|
3365
|
-
urlParameters: [
|
|
3366
|
-
$host,
|
|
3367
|
-
subscriptionId,
|
|
3368
|
-
resourceGroupName,
|
|
3369
|
-
workspaceName,
|
|
3370
|
-
machineName,
|
|
3371
|
-
processName
|
|
3372
|
-
],
|
|
3373
|
-
headerParameters: [accept],
|
|
3374
|
-
serializer: serializer$1
|
|
3375
|
-
};
|
|
3376
|
-
const listAcceptingPortsNextOperationSpec = {
|
|
3377
|
-
path: "{nextLink}",
|
|
3378
|
-
httpMethod: "GET",
|
|
3379
|
-
responses: {
|
|
3380
|
-
200: {
|
|
3381
|
-
bodyMapper: PortCollection
|
|
3382
|
-
},
|
|
3383
|
-
default: {
|
|
3384
|
-
bodyMapper: ErrorResponse
|
|
3385
|
-
}
|
|
3386
|
-
},
|
|
3387
|
-
queryParameters: [
|
|
3388
|
-
apiVersion,
|
|
3389
|
-
startTime,
|
|
3390
|
-
endTime
|
|
3391
|
-
],
|
|
3392
|
-
urlParameters: [
|
|
3393
|
-
$host,
|
|
3394
|
-
subscriptionId,
|
|
3395
|
-
resourceGroupName,
|
|
3396
|
-
workspaceName,
|
|
3397
|
-
machineName,
|
|
3398
|
-
nextLink,
|
|
3399
|
-
processName
|
|
3400
|
-
],
|
|
3401
|
-
headerParameters: [accept],
|
|
3402
|
-
serializer: serializer$1
|
|
3403
|
-
};
|
|
3404
|
-
const listConnectionsNextOperationSpec$1 = {
|
|
3405
|
-
path: "{nextLink}",
|
|
3406
|
-
httpMethod: "GET",
|
|
3407
|
-
responses: {
|
|
3408
|
-
200: {
|
|
3409
|
-
bodyMapper: ConnectionCollection
|
|
3410
|
-
},
|
|
3411
|
-
default: {
|
|
3412
|
-
bodyMapper: ErrorResponse
|
|
3413
|
-
}
|
|
3414
|
-
},
|
|
3415
|
-
queryParameters: [
|
|
3416
|
-
apiVersion,
|
|
3417
|
-
startTime,
|
|
3418
|
-
endTime
|
|
3419
|
-
],
|
|
3420
|
-
urlParameters: [
|
|
3421
|
-
$host,
|
|
3422
|
-
subscriptionId,
|
|
3423
|
-
resourceGroupName,
|
|
3424
|
-
workspaceName,
|
|
3425
|
-
machineName,
|
|
3426
|
-
nextLink,
|
|
3427
|
-
processName
|
|
3428
|
-
],
|
|
3429
|
-
headerParameters: [accept],
|
|
3430
|
-
serializer: serializer$1
|
|
3431
|
-
};
|
|
3432
|
-
|
|
3433
|
-
/*
|
|
3434
|
-
* Copyright (c) Microsoft Corporation.
|
|
3435
|
-
* Licensed under the MIT License.
|
|
3436
|
-
*
|
|
3437
|
-
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
3438
|
-
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
3439
|
-
*/
|
|
3440
|
-
/// <reference lib="esnext.asynciterable" />
|
|
3441
|
-
/** Class containing Ports operations. */
|
|
3442
|
-
class PortsImpl {
|
|
3443
|
-
/**
|
|
3444
|
-
* Initialize a new instance of the class Ports class.
|
|
3445
|
-
* @param client Reference to the service client
|
|
3446
|
-
*/
|
|
3447
|
-
constructor(client) {
|
|
3448
|
-
this.client = client;
|
|
3449
|
-
}
|
|
3450
|
-
/**
|
|
3451
|
-
* Returns a collection of processes accepting on the specified port
|
|
3452
|
-
* @param resourceGroupName Resource group name within the specified subscriptionId.
|
|
3453
|
-
* @param workspaceName OMS workspace containing the resources of interest.
|
|
3454
|
-
* @param machineName Machine resource name.
|
|
3455
|
-
* @param portName Port resource name.
|
|
3456
|
-
* @param options The options parameters.
|
|
3457
|
-
*/
|
|
3458
|
-
listAcceptingProcesses(resourceGroupName, workspaceName, machineName, portName, options) {
|
|
3459
|
-
const iter = this.listAcceptingProcessesPagingAll(resourceGroupName, workspaceName, machineName, portName, options);
|
|
3460
|
-
return {
|
|
3461
|
-
next() {
|
|
3462
|
-
return iter.next();
|
|
3463
|
-
},
|
|
3464
|
-
[Symbol.asyncIterator]() {
|
|
3465
|
-
return this;
|
|
3466
|
-
},
|
|
3467
|
-
byPage: () => {
|
|
3468
|
-
return this.listAcceptingProcessesPagingPage(resourceGroupName, workspaceName, machineName, portName, options);
|
|
3469
|
-
}
|
|
3470
|
-
};
|
|
3471
|
-
}
|
|
3472
|
-
listAcceptingProcessesPagingPage(resourceGroupName, workspaceName, machineName, portName, options) {
|
|
3473
|
-
return tslib.__asyncGenerator(this, arguments, function* listAcceptingProcessesPagingPage_1() {
|
|
3474
|
-
let result = yield tslib.__await(this._listAcceptingProcesses(resourceGroupName, workspaceName, machineName, portName, options));
|
|
3475
|
-
yield yield tslib.__await(result.value || []);
|
|
3476
|
-
let continuationToken = result.nextLink;
|
|
3477
|
-
while (continuationToken) {
|
|
3478
|
-
result = yield tslib.__await(this._listAcceptingProcessesNext(resourceGroupName, workspaceName, machineName, portName, continuationToken, options));
|
|
3479
|
-
continuationToken = result.nextLink;
|
|
3480
|
-
yield yield tslib.__await(result.value || []);
|
|
3481
|
-
}
|
|
3482
|
-
});
|
|
3483
|
-
}
|
|
3484
|
-
listAcceptingProcessesPagingAll(resourceGroupName, workspaceName, machineName, portName, options) {
|
|
3485
|
-
return tslib.__asyncGenerator(this, arguments, function* listAcceptingProcessesPagingAll_1() {
|
|
3486
|
-
var e_1, _a;
|
|
3487
|
-
try {
|
|
3488
|
-
for (var _b = tslib.__asyncValues(this.listAcceptingProcessesPagingPage(resourceGroupName, workspaceName, machineName, portName, options)), _c; _c = yield tslib.__await(_b.next()), !_c.done;) {
|
|
3489
|
-
const page = _c.value;
|
|
3490
|
-
yield tslib.__await(yield* tslib.__asyncDelegator(tslib.__asyncValues(page)));
|
|
3491
|
-
}
|
|
3492
|
-
}
|
|
3493
|
-
catch (e_1_1) { e_1 = { error: e_1_1 }; }
|
|
3494
|
-
finally {
|
|
3495
|
-
try {
|
|
3496
|
-
if (_c && !_c.done && (_a = _b.return)) yield tslib.__await(_a.call(_b));
|
|
3497
|
-
}
|
|
3498
|
-
finally { if (e_1) throw e_1.error; }
|
|
3499
|
-
}
|
|
3500
|
-
});
|
|
3501
|
-
}
|
|
3502
|
-
/**
|
|
3503
|
-
* Returns a collection of connections established via the specified port.
|
|
3504
|
-
* @param resourceGroupName Resource group name within the specified subscriptionId.
|
|
3505
|
-
* @param workspaceName OMS workspace containing the resources of interest.
|
|
3506
|
-
* @param machineName Machine resource name.
|
|
3507
|
-
* @param portName Port resource name.
|
|
3508
|
-
* @param options The options parameters.
|
|
3509
|
-
*/
|
|
3510
|
-
listConnections(resourceGroupName, workspaceName, machineName, portName, options) {
|
|
3511
|
-
const iter = this.listConnectionsPagingAll(resourceGroupName, workspaceName, machineName, portName, options);
|
|
3512
|
-
return {
|
|
3513
|
-
next() {
|
|
3514
|
-
return iter.next();
|
|
3515
|
-
},
|
|
3516
|
-
[Symbol.asyncIterator]() {
|
|
3517
|
-
return this;
|
|
3518
|
-
},
|
|
3519
|
-
byPage: () => {
|
|
3520
|
-
return this.listConnectionsPagingPage(resourceGroupName, workspaceName, machineName, portName, options);
|
|
3521
|
-
}
|
|
3522
|
-
};
|
|
3523
|
-
}
|
|
3524
|
-
listConnectionsPagingPage(resourceGroupName, workspaceName, machineName, portName, options) {
|
|
3525
|
-
return tslib.__asyncGenerator(this, arguments, function* listConnectionsPagingPage_1() {
|
|
3526
|
-
let result = yield tslib.__await(this._listConnections(resourceGroupName, workspaceName, machineName, portName, options));
|
|
3527
|
-
yield yield tslib.__await(result.value || []);
|
|
3528
|
-
let continuationToken = result.nextLink;
|
|
3529
|
-
while (continuationToken) {
|
|
3530
|
-
result = yield tslib.__await(this._listConnectionsNext(resourceGroupName, workspaceName, machineName, portName, continuationToken, options));
|
|
3531
|
-
continuationToken = result.nextLink;
|
|
3532
|
-
yield yield tslib.__await(result.value || []);
|
|
3533
|
-
}
|
|
3534
|
-
});
|
|
3535
|
-
}
|
|
3536
|
-
listConnectionsPagingAll(resourceGroupName, workspaceName, machineName, portName, options) {
|
|
3537
|
-
return tslib.__asyncGenerator(this, arguments, function* listConnectionsPagingAll_1() {
|
|
3538
|
-
var e_2, _a;
|
|
3539
|
-
try {
|
|
3540
|
-
for (var _b = tslib.__asyncValues(this.listConnectionsPagingPage(resourceGroupName, workspaceName, machineName, portName, options)), _c; _c = yield tslib.__await(_b.next()), !_c.done;) {
|
|
3541
|
-
const page = _c.value;
|
|
3542
|
-
yield tslib.__await(yield* tslib.__asyncDelegator(tslib.__asyncValues(page)));
|
|
3543
|
-
}
|
|
3544
|
-
}
|
|
3545
|
-
catch (e_2_1) { e_2 = { error: e_2_1 }; }
|
|
3546
|
-
finally {
|
|
3547
|
-
try {
|
|
3548
|
-
if (_c && !_c.done && (_a = _b.return)) yield tslib.__await(_a.call(_b));
|
|
3549
|
-
}
|
|
3550
|
-
finally { if (e_2) throw e_2.error; }
|
|
3551
|
-
}
|
|
3552
|
-
});
|
|
3553
|
-
}
|
|
3554
|
-
/**
|
|
3555
|
-
* Returns the specified port. The port must be live during the specified time interval. If the port is
|
|
3556
|
-
* not live during the interval, status 404 (Not Found) is returned.
|
|
3557
|
-
* @param resourceGroupName Resource group name within the specified subscriptionId.
|
|
3558
|
-
* @param workspaceName OMS workspace containing the resources of interest.
|
|
3559
|
-
* @param machineName Machine resource name.
|
|
3560
|
-
* @param portName Port resource name.
|
|
3561
|
-
* @param options The options parameters.
|
|
3562
|
-
*/
|
|
3563
|
-
get(resourceGroupName, workspaceName, machineName, portName, options) {
|
|
3564
|
-
return this.client.sendOperationRequest({ resourceGroupName, workspaceName, machineName, portName, options }, getOperationSpec$2);
|
|
3565
|
-
}
|
|
3566
|
-
/**
|
|
3567
|
-
* Obtains the liveness status of the port during the specified time interval.
|
|
3568
|
-
* @param resourceGroupName Resource group name within the specified subscriptionId.
|
|
3569
|
-
* @param workspaceName OMS workspace containing the resources of interest.
|
|
3570
|
-
* @param machineName Machine resource name.
|
|
3571
|
-
* @param portName Port resource name.
|
|
3572
|
-
* @param options The options parameters.
|
|
3573
|
-
*/
|
|
3574
|
-
getLiveness(resourceGroupName, workspaceName, machineName, portName, options) {
|
|
3575
|
-
return this.client.sendOperationRequest({ resourceGroupName, workspaceName, machineName, portName, options }, getLivenessOperationSpec$2);
|
|
3576
|
-
}
|
|
3577
|
-
/**
|
|
3578
|
-
* Returns a collection of processes accepting on the specified port
|
|
3579
|
-
* @param resourceGroupName Resource group name within the specified subscriptionId.
|
|
3580
|
-
* @param workspaceName OMS workspace containing the resources of interest.
|
|
3581
|
-
* @param machineName Machine resource name.
|
|
3582
|
-
* @param portName Port resource name.
|
|
3583
|
-
* @param options The options parameters.
|
|
3584
|
-
*/
|
|
3585
|
-
_listAcceptingProcesses(resourceGroupName, workspaceName, machineName, portName, options) {
|
|
3586
|
-
return this.client.sendOperationRequest({ resourceGroupName, workspaceName, machineName, portName, options }, listAcceptingProcessesOperationSpec);
|
|
3587
|
-
}
|
|
3588
|
-
/**
|
|
3589
|
-
* Returns a collection of connections established via the specified port.
|
|
3590
|
-
* @param resourceGroupName Resource group name within the specified subscriptionId.
|
|
3591
|
-
* @param workspaceName OMS workspace containing the resources of interest.
|
|
3592
|
-
* @param machineName Machine resource name.
|
|
3593
|
-
* @param portName Port resource name.
|
|
3594
|
-
* @param options The options parameters.
|
|
3595
|
-
*/
|
|
3596
|
-
_listConnections(resourceGroupName, workspaceName, machineName, portName, options) {
|
|
3597
|
-
return this.client.sendOperationRequest({ resourceGroupName, workspaceName, machineName, portName, options }, listConnectionsOperationSpec$2);
|
|
3598
|
-
}
|
|
3599
|
-
/**
|
|
3600
|
-
* ListAcceptingProcessesNext
|
|
3601
|
-
* @param resourceGroupName Resource group name within the specified subscriptionId.
|
|
3602
|
-
* @param workspaceName OMS workspace containing the resources of interest.
|
|
3603
|
-
* @param machineName Machine resource name.
|
|
3604
|
-
* @param portName Port resource name.
|
|
3605
|
-
* @param nextLink The nextLink from the previous successful call to the ListAcceptingProcesses method.
|
|
3606
|
-
* @param options The options parameters.
|
|
3607
|
-
*/
|
|
3608
|
-
_listAcceptingProcessesNext(resourceGroupName, workspaceName, machineName, portName, nextLink, options) {
|
|
3609
|
-
return this.client.sendOperationRequest({
|
|
3610
|
-
resourceGroupName,
|
|
3611
|
-
workspaceName,
|
|
3612
|
-
machineName,
|
|
3613
|
-
portName,
|
|
3614
|
-
nextLink,
|
|
3615
|
-
options
|
|
3616
|
-
}, listAcceptingProcessesNextOperationSpec);
|
|
3617
|
-
}
|
|
3618
|
-
/**
|
|
3619
|
-
* ListConnectionsNext
|
|
3620
|
-
* @param resourceGroupName Resource group name within the specified subscriptionId.
|
|
3621
|
-
* @param workspaceName OMS workspace containing the resources of interest.
|
|
3622
|
-
* @param machineName Machine resource name.
|
|
3623
|
-
* @param portName Port resource name.
|
|
3624
|
-
* @param nextLink The nextLink from the previous successful call to the ListConnections method.
|
|
3625
|
-
* @param options The options parameters.
|
|
3626
|
-
*/
|
|
3627
|
-
_listConnectionsNext(resourceGroupName, workspaceName, machineName, portName, nextLink, options) {
|
|
3628
|
-
return this.client.sendOperationRequest({
|
|
3629
|
-
resourceGroupName,
|
|
3630
|
-
workspaceName,
|
|
3631
|
-
machineName,
|
|
3632
|
-
portName,
|
|
3633
|
-
nextLink,
|
|
3634
|
-
options
|
|
3635
|
-
}, listConnectionsNextOperationSpec$2);
|
|
3636
|
-
}
|
|
3637
|
-
}
|
|
3638
|
-
// Operation Specifications
|
|
3639
|
-
const serializer$2 = coreClient.createSerializer(Mappers, /* isXml */ false);
|
|
3640
|
-
const getOperationSpec$2 = {
|
|
3641
|
-
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/features/serviceMap/machines/{machineName}/ports/{portName}",
|
|
3642
|
-
httpMethod: "GET",
|
|
3643
|
-
responses: {
|
|
3644
|
-
200: {
|
|
3645
|
-
bodyMapper: Port
|
|
3646
|
-
},
|
|
3647
|
-
default: {
|
|
3648
|
-
bodyMapper: ErrorResponse
|
|
3649
|
-
}
|
|
3650
|
-
},
|
|
3651
|
-
queryParameters: [
|
|
3652
|
-
apiVersion,
|
|
3653
|
-
startTime,
|
|
3654
|
-
endTime
|
|
3655
|
-
],
|
|
3656
|
-
urlParameters: [
|
|
3657
|
-
$host,
|
|
3658
|
-
subscriptionId,
|
|
3659
|
-
resourceGroupName,
|
|
3660
|
-
workspaceName,
|
|
3661
|
-
machineName,
|
|
3662
|
-
portName
|
|
3663
|
-
],
|
|
3664
|
-
headerParameters: [accept],
|
|
3665
|
-
serializer: serializer$2
|
|
3666
|
-
};
|
|
3667
|
-
const getLivenessOperationSpec$2 = {
|
|
3668
|
-
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/features/serviceMap/machines/{machineName}/ports/{portName}/liveness",
|
|
3669
|
-
httpMethod: "GET",
|
|
3670
|
-
responses: {
|
|
3671
|
-
200: {
|
|
3672
|
-
bodyMapper: Liveness
|
|
3673
|
-
},
|
|
3674
|
-
default: {
|
|
3675
|
-
bodyMapper: ErrorResponse
|
|
3676
|
-
}
|
|
3677
|
-
},
|
|
3678
|
-
queryParameters: [
|
|
3679
|
-
apiVersion,
|
|
3680
|
-
startTime,
|
|
3681
|
-
endTime
|
|
3682
|
-
],
|
|
3683
|
-
urlParameters: [
|
|
3684
|
-
$host,
|
|
3685
|
-
subscriptionId,
|
|
3686
|
-
resourceGroupName,
|
|
3687
|
-
workspaceName,
|
|
3688
|
-
machineName,
|
|
3689
|
-
portName
|
|
3690
|
-
],
|
|
3691
|
-
headerParameters: [accept],
|
|
3692
|
-
serializer: serializer$2
|
|
3693
|
-
};
|
|
3694
|
-
const listAcceptingProcessesOperationSpec = {
|
|
3695
|
-
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/features/serviceMap/machines/{machineName}/ports/{portName}/acceptingProcesses",
|
|
3696
|
-
httpMethod: "GET",
|
|
3697
|
-
responses: {
|
|
3698
|
-
200: {
|
|
3699
|
-
bodyMapper: ProcessCollection
|
|
3700
|
-
},
|
|
3701
|
-
default: {
|
|
3702
|
-
bodyMapper: ErrorResponse
|
|
3703
|
-
}
|
|
3704
|
-
},
|
|
3705
|
-
queryParameters: [
|
|
3706
|
-
apiVersion,
|
|
3707
|
-
startTime,
|
|
3708
|
-
endTime
|
|
3709
|
-
],
|
|
3710
|
-
urlParameters: [
|
|
3711
|
-
$host,
|
|
3712
|
-
subscriptionId,
|
|
3713
|
-
resourceGroupName,
|
|
3714
|
-
workspaceName,
|
|
3715
|
-
machineName,
|
|
3716
|
-
portName
|
|
3717
|
-
],
|
|
3718
|
-
headerParameters: [accept],
|
|
3719
|
-
serializer: serializer$2
|
|
3720
|
-
};
|
|
3721
|
-
const listConnectionsOperationSpec$2 = {
|
|
3722
|
-
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/features/serviceMap/machines/{machineName}/ports/{portName}/connections",
|
|
3723
|
-
httpMethod: "GET",
|
|
3724
|
-
responses: {
|
|
3725
|
-
200: {
|
|
3726
|
-
bodyMapper: ConnectionCollection
|
|
3727
|
-
},
|
|
3728
|
-
default: {
|
|
3729
|
-
bodyMapper: ErrorResponse
|
|
3730
|
-
}
|
|
3731
|
-
},
|
|
3732
|
-
queryParameters: [
|
|
3733
|
-
apiVersion,
|
|
3734
|
-
startTime,
|
|
3735
|
-
endTime
|
|
3736
|
-
],
|
|
3737
|
-
urlParameters: [
|
|
3738
|
-
$host,
|
|
3739
|
-
subscriptionId,
|
|
3740
|
-
resourceGroupName,
|
|
3741
|
-
workspaceName,
|
|
3742
|
-
machineName,
|
|
3743
|
-
portName
|
|
3744
|
-
],
|
|
3745
|
-
headerParameters: [accept],
|
|
3746
|
-
serializer: serializer$2
|
|
3747
|
-
};
|
|
3748
|
-
const listAcceptingProcessesNextOperationSpec = {
|
|
3749
|
-
path: "{nextLink}",
|
|
3750
|
-
httpMethod: "GET",
|
|
3751
|
-
responses: {
|
|
3752
|
-
200: {
|
|
3753
|
-
bodyMapper: ProcessCollection
|
|
3754
|
-
},
|
|
3755
|
-
default: {
|
|
3756
|
-
bodyMapper: ErrorResponse
|
|
3757
|
-
}
|
|
3758
|
-
},
|
|
3759
|
-
queryParameters: [
|
|
3760
|
-
apiVersion,
|
|
3761
|
-
startTime,
|
|
3762
|
-
endTime
|
|
3763
|
-
],
|
|
3764
|
-
urlParameters: [
|
|
3765
|
-
$host,
|
|
3766
|
-
subscriptionId,
|
|
3767
|
-
resourceGroupName,
|
|
3768
|
-
workspaceName,
|
|
3769
|
-
machineName,
|
|
3770
|
-
nextLink,
|
|
3771
|
-
portName
|
|
3772
|
-
],
|
|
3773
|
-
headerParameters: [accept],
|
|
3774
|
-
serializer: serializer$2
|
|
3775
|
-
};
|
|
3776
|
-
const listConnectionsNextOperationSpec$2 = {
|
|
3777
|
-
path: "{nextLink}",
|
|
3778
|
-
httpMethod: "GET",
|
|
3779
|
-
responses: {
|
|
3780
|
-
200: {
|
|
3781
|
-
bodyMapper: ConnectionCollection
|
|
3782
|
-
},
|
|
3783
|
-
default: {
|
|
3784
|
-
bodyMapper: ErrorResponse
|
|
3785
|
-
}
|
|
3786
|
-
},
|
|
3787
|
-
queryParameters: [
|
|
3788
|
-
apiVersion,
|
|
3789
|
-
startTime,
|
|
3790
|
-
endTime
|
|
3791
|
-
],
|
|
3792
|
-
urlParameters: [
|
|
3793
|
-
$host,
|
|
3794
|
-
subscriptionId,
|
|
3795
|
-
resourceGroupName,
|
|
3796
|
-
workspaceName,
|
|
3797
|
-
machineName,
|
|
3798
|
-
nextLink,
|
|
3799
|
-
portName
|
|
3800
|
-
],
|
|
3801
|
-
headerParameters: [accept],
|
|
3802
|
-
serializer: serializer$2
|
|
3803
|
-
};
|
|
3804
|
-
|
|
3805
|
-
/*
|
|
3806
|
-
* Copyright (c) Microsoft Corporation.
|
|
3807
|
-
* Licensed under the MIT License.
|
|
3808
|
-
*
|
|
3809
|
-
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
3810
|
-
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
3811
|
-
*/
|
|
3812
|
-
/// <reference lib="esnext.asynciterable" />
|
|
3813
|
-
/** Class containing ClientGroups operations. */
|
|
3814
|
-
class ClientGroupsImpl {
|
|
3815
|
-
/**
|
|
3816
|
-
* Initialize a new instance of the class ClientGroups class.
|
|
3817
|
-
* @param client Reference to the service client
|
|
3818
|
-
*/
|
|
3819
|
-
constructor(client) {
|
|
3820
|
-
this.client = client;
|
|
3821
|
-
}
|
|
3822
|
-
/**
|
|
3823
|
-
* Returns the members of the client group during the specified time interval.
|
|
3824
|
-
* @param resourceGroupName Resource group name within the specified subscriptionId.
|
|
3825
|
-
* @param workspaceName OMS workspace containing the resources of interest.
|
|
3826
|
-
* @param clientGroupName Client Group resource name.
|
|
3827
|
-
* @param options The options parameters.
|
|
3828
|
-
*/
|
|
3829
|
-
listMembers(resourceGroupName, workspaceName, clientGroupName, options) {
|
|
3830
|
-
const iter = this.listMembersPagingAll(resourceGroupName, workspaceName, clientGroupName, options);
|
|
3831
|
-
return {
|
|
3832
|
-
next() {
|
|
3833
|
-
return iter.next();
|
|
3834
|
-
},
|
|
3835
|
-
[Symbol.asyncIterator]() {
|
|
3836
|
-
return this;
|
|
3837
|
-
},
|
|
3838
|
-
byPage: () => {
|
|
3839
|
-
return this.listMembersPagingPage(resourceGroupName, workspaceName, clientGroupName, options);
|
|
3840
|
-
}
|
|
3841
|
-
};
|
|
3842
|
-
}
|
|
3843
|
-
listMembersPagingPage(resourceGroupName, workspaceName, clientGroupName, options) {
|
|
3844
|
-
return tslib.__asyncGenerator(this, arguments, function* listMembersPagingPage_1() {
|
|
3845
|
-
let result = yield tslib.__await(this._listMembers(resourceGroupName, workspaceName, clientGroupName, options));
|
|
3846
|
-
yield yield tslib.__await(result.value || []);
|
|
3847
|
-
let continuationToken = result.nextLink;
|
|
3848
|
-
while (continuationToken) {
|
|
3849
|
-
result = yield tslib.__await(this._listMembersNext(resourceGroupName, workspaceName, clientGroupName, continuationToken, options));
|
|
3850
|
-
continuationToken = result.nextLink;
|
|
3851
|
-
yield yield tslib.__await(result.value || []);
|
|
3852
|
-
}
|
|
3853
|
-
});
|
|
3854
|
-
}
|
|
3855
|
-
listMembersPagingAll(resourceGroupName, workspaceName, clientGroupName, options) {
|
|
3856
|
-
return tslib.__asyncGenerator(this, arguments, function* listMembersPagingAll_1() {
|
|
3857
|
-
var e_1, _a;
|
|
3858
|
-
try {
|
|
3859
|
-
for (var _b = tslib.__asyncValues(this.listMembersPagingPage(resourceGroupName, workspaceName, clientGroupName, options)), _c; _c = yield tslib.__await(_b.next()), !_c.done;) {
|
|
3860
|
-
const page = _c.value;
|
|
3861
|
-
yield tslib.__await(yield* tslib.__asyncDelegator(tslib.__asyncValues(page)));
|
|
3862
|
-
}
|
|
3863
|
-
}
|
|
3864
|
-
catch (e_1_1) { e_1 = { error: e_1_1 }; }
|
|
3865
|
-
finally {
|
|
3866
|
-
try {
|
|
3867
|
-
if (_c && !_c.done && (_a = _b.return)) yield tslib.__await(_a.call(_b));
|
|
3868
|
-
}
|
|
3869
|
-
finally { if (e_1) throw e_1.error; }
|
|
3870
|
-
}
|
|
3871
|
-
});
|
|
3872
|
-
}
|
|
3873
|
-
/**
|
|
3874
|
-
* Retrieves the specified client group
|
|
3875
|
-
* @param resourceGroupName Resource group name within the specified subscriptionId.
|
|
3876
|
-
* @param workspaceName OMS workspace containing the resources of interest.
|
|
3877
|
-
* @param clientGroupName Client Group resource name.
|
|
3878
|
-
* @param options The options parameters.
|
|
3879
|
-
*/
|
|
3880
|
-
get(resourceGroupName, workspaceName, clientGroupName, options) {
|
|
3881
|
-
return this.client.sendOperationRequest({ resourceGroupName, workspaceName, clientGroupName, options }, getOperationSpec$3);
|
|
3882
|
-
}
|
|
3883
|
-
/**
|
|
3884
|
-
* Returns the approximate number of members in the client group.
|
|
3885
|
-
* @param resourceGroupName Resource group name within the specified subscriptionId.
|
|
3886
|
-
* @param workspaceName OMS workspace containing the resources of interest.
|
|
3887
|
-
* @param clientGroupName Client Group resource name.
|
|
3888
|
-
* @param options The options parameters.
|
|
3889
|
-
*/
|
|
3890
|
-
getMembersCount(resourceGroupName, workspaceName, clientGroupName, options) {
|
|
3891
|
-
return this.client.sendOperationRequest({ resourceGroupName, workspaceName, clientGroupName, options }, getMembersCountOperationSpec);
|
|
3892
|
-
}
|
|
3893
|
-
/**
|
|
3894
|
-
* Returns the members of the client group during the specified time interval.
|
|
3895
|
-
* @param resourceGroupName Resource group name within the specified subscriptionId.
|
|
3896
|
-
* @param workspaceName OMS workspace containing the resources of interest.
|
|
3897
|
-
* @param clientGroupName Client Group resource name.
|
|
3898
|
-
* @param options The options parameters.
|
|
3899
|
-
*/
|
|
3900
|
-
_listMembers(resourceGroupName, workspaceName, clientGroupName, options) {
|
|
3901
|
-
return this.client.sendOperationRequest({ resourceGroupName, workspaceName, clientGroupName, options }, listMembersOperationSpec);
|
|
3902
|
-
}
|
|
3903
|
-
/**
|
|
3904
|
-
* ListMembersNext
|
|
3905
|
-
* @param resourceGroupName Resource group name within the specified subscriptionId.
|
|
3906
|
-
* @param workspaceName OMS workspace containing the resources of interest.
|
|
3907
|
-
* @param clientGroupName Client Group resource name.
|
|
3908
|
-
* @param nextLink The nextLink from the previous successful call to the ListMembers method.
|
|
3909
|
-
* @param options The options parameters.
|
|
3910
|
-
*/
|
|
3911
|
-
_listMembersNext(resourceGroupName, workspaceName, clientGroupName, nextLink, options) {
|
|
3912
|
-
return this.client.sendOperationRequest({ resourceGroupName, workspaceName, clientGroupName, nextLink, options }, listMembersNextOperationSpec);
|
|
3913
|
-
}
|
|
3914
|
-
}
|
|
3915
|
-
// Operation Specifications
|
|
3916
|
-
const serializer$3 = coreClient.createSerializer(Mappers, /* isXml */ false);
|
|
3917
|
-
const getOperationSpec$3 = {
|
|
3918
|
-
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/features/serviceMap/clientGroups/{clientGroupName}",
|
|
3919
|
-
httpMethod: "GET",
|
|
3920
|
-
responses: {
|
|
3921
|
-
200: {
|
|
3922
|
-
bodyMapper: ClientGroup
|
|
3923
|
-
},
|
|
3924
|
-
default: {
|
|
3925
|
-
bodyMapper: ErrorResponse
|
|
3926
|
-
}
|
|
3927
|
-
},
|
|
3928
|
-
queryParameters: [
|
|
3929
|
-
apiVersion,
|
|
3930
|
-
startTime,
|
|
3931
|
-
endTime
|
|
3932
|
-
],
|
|
3933
|
-
urlParameters: [
|
|
3934
|
-
$host,
|
|
3935
|
-
subscriptionId,
|
|
3936
|
-
resourceGroupName,
|
|
3937
|
-
workspaceName,
|
|
3938
|
-
clientGroupName
|
|
3939
|
-
],
|
|
3940
|
-
headerParameters: [accept],
|
|
3941
|
-
serializer: serializer$3
|
|
3942
|
-
};
|
|
3943
|
-
const getMembersCountOperationSpec = {
|
|
3944
|
-
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/features/serviceMap/clientGroups/{clientGroupName}/membersCount",
|
|
3945
|
-
httpMethod: "GET",
|
|
3946
|
-
responses: {
|
|
3947
|
-
200: {
|
|
3948
|
-
bodyMapper: ClientGroupMembersCount
|
|
3949
|
-
},
|
|
3950
|
-
default: {
|
|
3951
|
-
bodyMapper: ErrorResponse
|
|
3952
|
-
}
|
|
3953
|
-
},
|
|
3954
|
-
queryParameters: [
|
|
3955
|
-
apiVersion,
|
|
3956
|
-
startTime,
|
|
3957
|
-
endTime
|
|
3958
|
-
],
|
|
3959
|
-
urlParameters: [
|
|
3960
|
-
$host,
|
|
3961
|
-
subscriptionId,
|
|
3962
|
-
resourceGroupName,
|
|
3963
|
-
workspaceName,
|
|
3964
|
-
clientGroupName
|
|
3965
|
-
],
|
|
3966
|
-
headerParameters: [accept],
|
|
3967
|
-
serializer: serializer$3
|
|
3968
|
-
};
|
|
3969
|
-
const listMembersOperationSpec = {
|
|
3970
|
-
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/features/serviceMap/clientGroups/{clientGroupName}/members",
|
|
3971
|
-
httpMethod: "GET",
|
|
3972
|
-
responses: {
|
|
3973
|
-
200: {
|
|
3974
|
-
bodyMapper: ClientGroupMembersCollection
|
|
3975
|
-
},
|
|
3976
|
-
default: {
|
|
3977
|
-
bodyMapper: ErrorResponse
|
|
3978
|
-
}
|
|
3979
|
-
},
|
|
3980
|
-
queryParameters: [
|
|
3981
|
-
apiVersion,
|
|
3982
|
-
startTime,
|
|
3983
|
-
endTime,
|
|
3984
|
-
top
|
|
3985
|
-
],
|
|
3986
|
-
urlParameters: [
|
|
3987
|
-
$host,
|
|
3988
|
-
subscriptionId,
|
|
3989
|
-
resourceGroupName,
|
|
3990
|
-
workspaceName,
|
|
3991
|
-
clientGroupName
|
|
3992
|
-
],
|
|
3993
|
-
headerParameters: [accept],
|
|
3994
|
-
serializer: serializer$3
|
|
3995
|
-
};
|
|
3996
|
-
const listMembersNextOperationSpec = {
|
|
3997
|
-
path: "{nextLink}",
|
|
3998
|
-
httpMethod: "GET",
|
|
3999
|
-
responses: {
|
|
4000
|
-
200: {
|
|
4001
|
-
bodyMapper: ClientGroupMembersCollection
|
|
4002
|
-
},
|
|
4003
|
-
default: {
|
|
4004
|
-
bodyMapper: ErrorResponse
|
|
4005
|
-
}
|
|
4006
|
-
},
|
|
4007
|
-
queryParameters: [
|
|
4008
|
-
apiVersion,
|
|
4009
|
-
startTime,
|
|
4010
|
-
endTime,
|
|
4011
|
-
top
|
|
4012
|
-
],
|
|
4013
|
-
urlParameters: [
|
|
4014
|
-
$host,
|
|
4015
|
-
subscriptionId,
|
|
4016
|
-
resourceGroupName,
|
|
4017
|
-
workspaceName,
|
|
4018
|
-
nextLink,
|
|
4019
|
-
clientGroupName
|
|
4020
|
-
],
|
|
4021
|
-
headerParameters: [accept],
|
|
4022
|
-
serializer: serializer$3
|
|
4023
|
-
};
|
|
4024
|
-
|
|
4025
|
-
/*
|
|
4026
|
-
* Copyright (c) Microsoft Corporation.
|
|
4027
|
-
* Licensed under the MIT License.
|
|
4028
|
-
*
|
|
4029
|
-
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
4030
|
-
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
4031
|
-
*/
|
|
4032
|
-
/** Class containing Maps operations. */
|
|
4033
|
-
class MapsImpl {
|
|
4034
|
-
/**
|
|
4035
|
-
* Initialize a new instance of the class Maps class.
|
|
4036
|
-
* @param client Reference to the service client
|
|
4037
|
-
*/
|
|
4038
|
-
constructor(client) {
|
|
4039
|
-
this.client = client;
|
|
4040
|
-
}
|
|
4041
|
-
/**
|
|
4042
|
-
* Generates the specified map.
|
|
4043
|
-
* @param resourceGroupName Resource group name within the specified subscriptionId.
|
|
4044
|
-
* @param workspaceName OMS workspace containing the resources of interest.
|
|
4045
|
-
* @param request Request options.
|
|
4046
|
-
* @param options The options parameters.
|
|
4047
|
-
*/
|
|
4048
|
-
generate(resourceGroupName, workspaceName, request, options) {
|
|
4049
|
-
return this.client.sendOperationRequest({ resourceGroupName, workspaceName, request, options }, generateOperationSpec);
|
|
4050
|
-
}
|
|
4051
|
-
}
|
|
4052
|
-
// Operation Specifications
|
|
4053
|
-
const serializer$4 = coreClient.createSerializer(Mappers, /* isXml */ false);
|
|
4054
|
-
const generateOperationSpec = {
|
|
4055
|
-
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/features/serviceMap/generateMap",
|
|
4056
|
-
httpMethod: "POST",
|
|
4057
|
-
responses: {
|
|
4058
|
-
200: {
|
|
4059
|
-
bodyMapper: MapResponse
|
|
4060
|
-
},
|
|
4061
|
-
default: {
|
|
4062
|
-
bodyMapper: ErrorResponse
|
|
4063
|
-
}
|
|
4064
|
-
},
|
|
4065
|
-
requestBody: request,
|
|
4066
|
-
queryParameters: [apiVersion],
|
|
4067
|
-
urlParameters: [
|
|
4068
|
-
$host,
|
|
4069
|
-
subscriptionId,
|
|
4070
|
-
resourceGroupName,
|
|
4071
|
-
workspaceName
|
|
4072
|
-
],
|
|
4073
|
-
headerParameters: [accept, contentType],
|
|
4074
|
-
mediaType: "json",
|
|
4075
|
-
serializer: serializer$4
|
|
4076
|
-
};
|
|
4077
|
-
|
|
4078
|
-
/*
|
|
4079
|
-
* Copyright (c) Microsoft Corporation.
|
|
4080
|
-
* Licensed under the MIT License.
|
|
4081
|
-
*
|
|
4082
|
-
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
4083
|
-
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
4084
|
-
*/
|
|
4085
|
-
/** Class containing Summaries operations. */
|
|
4086
|
-
class SummariesImpl {
|
|
4087
|
-
/**
|
|
4088
|
-
* Initialize a new instance of the class Summaries class.
|
|
4089
|
-
* @param client Reference to the service client
|
|
4090
|
-
*/
|
|
4091
|
-
constructor(client) {
|
|
4092
|
-
this.client = client;
|
|
4093
|
-
}
|
|
4094
|
-
/**
|
|
4095
|
-
* Returns summary information about the machines in the workspace.
|
|
4096
|
-
* @param resourceGroupName Resource group name within the specified subscriptionId.
|
|
4097
|
-
* @param workspaceName OMS workspace containing the resources of interest.
|
|
4098
|
-
* @param options The options parameters.
|
|
4099
|
-
*/
|
|
4100
|
-
getMachines(resourceGroupName, workspaceName, options) {
|
|
4101
|
-
return this.client.sendOperationRequest({ resourceGroupName, workspaceName, options }, getMachinesOperationSpec);
|
|
4102
|
-
}
|
|
4103
|
-
}
|
|
4104
|
-
// Operation Specifications
|
|
4105
|
-
const serializer$5 = coreClient.createSerializer(Mappers, /* isXml */ false);
|
|
4106
|
-
const getMachinesOperationSpec = {
|
|
4107
|
-
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/features/serviceMap/summaries/machines",
|
|
4108
|
-
httpMethod: "GET",
|
|
4109
|
-
responses: {
|
|
4110
|
-
200: {
|
|
4111
|
-
bodyMapper: MachinesSummary
|
|
4112
|
-
},
|
|
4113
|
-
default: {
|
|
4114
|
-
bodyMapper: ErrorResponse
|
|
4115
|
-
}
|
|
4116
|
-
},
|
|
4117
|
-
queryParameters: [
|
|
4118
|
-
apiVersion,
|
|
4119
|
-
startTime,
|
|
4120
|
-
endTime
|
|
4121
|
-
],
|
|
4122
|
-
urlParameters: [
|
|
4123
|
-
$host,
|
|
4124
|
-
subscriptionId,
|
|
4125
|
-
resourceGroupName,
|
|
4126
|
-
workspaceName
|
|
4127
|
-
],
|
|
4128
|
-
headerParameters: [accept],
|
|
4129
|
-
serializer: serializer$5
|
|
4130
|
-
};
|
|
4131
|
-
|
|
4132
|
-
/*
|
|
4133
|
-
* Copyright (c) Microsoft Corporation.
|
|
4134
|
-
* Licensed under the MIT License.
|
|
4135
|
-
*
|
|
4136
|
-
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
4137
|
-
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
4138
|
-
*/
|
|
4139
|
-
/// <reference lib="esnext.asynciterable" />
|
|
4140
|
-
/** Class containing MachineGroups operations. */
|
|
4141
|
-
class MachineGroupsImpl {
|
|
4142
|
-
/**
|
|
4143
|
-
* Initialize a new instance of the class MachineGroups class.
|
|
4144
|
-
* @param client Reference to the service client
|
|
4145
|
-
*/
|
|
4146
|
-
constructor(client) {
|
|
4147
|
-
this.client = client;
|
|
4148
|
-
}
|
|
4149
|
-
/**
|
|
4150
|
-
* Returns all machine groups during the specified time interval.
|
|
4151
|
-
* @param resourceGroupName Resource group name within the specified subscriptionId.
|
|
4152
|
-
* @param workspaceName OMS workspace containing the resources of interest.
|
|
4153
|
-
* @param options The options parameters.
|
|
4154
|
-
*/
|
|
4155
|
-
listByWorkspace(resourceGroupName, workspaceName, options) {
|
|
4156
|
-
const iter = this.listByWorkspacePagingAll(resourceGroupName, workspaceName, options);
|
|
4157
|
-
return {
|
|
4158
|
-
next() {
|
|
4159
|
-
return iter.next();
|
|
4160
|
-
},
|
|
4161
|
-
[Symbol.asyncIterator]() {
|
|
4162
|
-
return this;
|
|
4163
|
-
},
|
|
4164
|
-
byPage: () => {
|
|
4165
|
-
return this.listByWorkspacePagingPage(resourceGroupName, workspaceName, options);
|
|
4166
|
-
}
|
|
4167
|
-
};
|
|
4168
|
-
}
|
|
4169
|
-
listByWorkspacePagingPage(resourceGroupName, workspaceName, options) {
|
|
4170
|
-
return tslib.__asyncGenerator(this, arguments, function* listByWorkspacePagingPage_1() {
|
|
4171
|
-
let result = yield tslib.__await(this._listByWorkspace(resourceGroupName, workspaceName, options));
|
|
4172
|
-
yield yield tslib.__await(result.value || []);
|
|
4173
|
-
let continuationToken = result.nextLink;
|
|
4174
|
-
while (continuationToken) {
|
|
4175
|
-
result = yield tslib.__await(this._listByWorkspaceNext(resourceGroupName, workspaceName, continuationToken, options));
|
|
4176
|
-
continuationToken = result.nextLink;
|
|
4177
|
-
yield yield tslib.__await(result.value || []);
|
|
4178
|
-
}
|
|
4179
|
-
});
|
|
4180
|
-
}
|
|
4181
|
-
listByWorkspacePagingAll(resourceGroupName, workspaceName, options) {
|
|
4182
|
-
return tslib.__asyncGenerator(this, arguments, function* listByWorkspacePagingAll_1() {
|
|
4183
|
-
var e_1, _a;
|
|
4184
|
-
try {
|
|
4185
|
-
for (var _b = tslib.__asyncValues(this.listByWorkspacePagingPage(resourceGroupName, workspaceName, options)), _c; _c = yield tslib.__await(_b.next()), !_c.done;) {
|
|
4186
|
-
const page = _c.value;
|
|
4187
|
-
yield tslib.__await(yield* tslib.__asyncDelegator(tslib.__asyncValues(page)));
|
|
4188
|
-
}
|
|
4189
|
-
}
|
|
4190
|
-
catch (e_1_1) { e_1 = { error: e_1_1 }; }
|
|
4191
|
-
finally {
|
|
4192
|
-
try {
|
|
4193
|
-
if (_c && !_c.done && (_a = _b.return)) yield tslib.__await(_a.call(_b));
|
|
4194
|
-
}
|
|
4195
|
-
finally { if (e_1) throw e_1.error; }
|
|
4196
|
-
}
|
|
4197
|
-
});
|
|
4198
|
-
}
|
|
4199
|
-
/**
|
|
4200
|
-
* Returns all machine groups during the specified time interval.
|
|
4201
|
-
* @param resourceGroupName Resource group name within the specified subscriptionId.
|
|
4202
|
-
* @param workspaceName OMS workspace containing the resources of interest.
|
|
4203
|
-
* @param options The options parameters.
|
|
4204
|
-
*/
|
|
4205
|
-
_listByWorkspace(resourceGroupName, workspaceName, options) {
|
|
4206
|
-
return this.client.sendOperationRequest({ resourceGroupName, workspaceName, options }, listByWorkspaceOperationSpec$1);
|
|
4207
|
-
}
|
|
4208
|
-
/**
|
|
4209
|
-
* Creates a new machine group.
|
|
4210
|
-
* @param resourceGroupName Resource group name within the specified subscriptionId.
|
|
4211
|
-
* @param workspaceName OMS workspace containing the resources of interest.
|
|
4212
|
-
* @param machineGroup Machine Group resource to create.
|
|
4213
|
-
* @param options The options parameters.
|
|
4214
|
-
*/
|
|
4215
|
-
create(resourceGroupName, workspaceName, machineGroup, options) {
|
|
4216
|
-
return this.client.sendOperationRequest({ resourceGroupName, workspaceName, machineGroup, options }, createOperationSpec);
|
|
4217
|
-
}
|
|
4218
|
-
/**
|
|
4219
|
-
* Returns the specified machine group as it existed during the specified time interval.
|
|
4220
|
-
* @param resourceGroupName Resource group name within the specified subscriptionId.
|
|
4221
|
-
* @param workspaceName OMS workspace containing the resources of interest.
|
|
4222
|
-
* @param machineGroupName Machine Group resource name.
|
|
4223
|
-
* @param options The options parameters.
|
|
4224
|
-
*/
|
|
4225
|
-
get(resourceGroupName, workspaceName, machineGroupName, options) {
|
|
4226
|
-
return this.client.sendOperationRequest({ resourceGroupName, workspaceName, machineGroupName, options }, getOperationSpec$4);
|
|
4227
|
-
}
|
|
4228
|
-
/**
|
|
4229
|
-
* Updates a machine group.
|
|
4230
|
-
* @param resourceGroupName Resource group name within the specified subscriptionId.
|
|
4231
|
-
* @param workspaceName OMS workspace containing the resources of interest.
|
|
4232
|
-
* @param machineGroupName Machine Group resource name.
|
|
4233
|
-
* @param machineGroup Machine Group resource to update.
|
|
4234
|
-
* @param options The options parameters.
|
|
4235
|
-
*/
|
|
4236
|
-
update(resourceGroupName, workspaceName, machineGroupName, machineGroup, options) {
|
|
4237
|
-
return this.client.sendOperationRequest({
|
|
4238
|
-
resourceGroupName,
|
|
4239
|
-
workspaceName,
|
|
4240
|
-
machineGroupName,
|
|
4241
|
-
machineGroup,
|
|
4242
|
-
options
|
|
4243
|
-
}, updateOperationSpec);
|
|
4244
|
-
}
|
|
4245
|
-
/**
|
|
4246
|
-
* Deletes the specified Machine Group.
|
|
4247
|
-
* @param resourceGroupName Resource group name within the specified subscriptionId.
|
|
4248
|
-
* @param workspaceName OMS workspace containing the resources of interest.
|
|
4249
|
-
* @param machineGroupName Machine Group resource name.
|
|
4250
|
-
* @param options The options parameters.
|
|
4251
|
-
*/
|
|
4252
|
-
delete(resourceGroupName, workspaceName, machineGroupName, options) {
|
|
4253
|
-
return this.client.sendOperationRequest({ resourceGroupName, workspaceName, machineGroupName, options }, deleteOperationSpec);
|
|
4254
|
-
}
|
|
4255
|
-
/**
|
|
4256
|
-
* ListByWorkspaceNext
|
|
4257
|
-
* @param resourceGroupName Resource group name within the specified subscriptionId.
|
|
4258
|
-
* @param workspaceName OMS workspace containing the resources of interest.
|
|
4259
|
-
* @param nextLink The nextLink from the previous successful call to the ListByWorkspace method.
|
|
4260
|
-
* @param options The options parameters.
|
|
4261
|
-
*/
|
|
4262
|
-
_listByWorkspaceNext(resourceGroupName, workspaceName, nextLink, options) {
|
|
4263
|
-
return this.client.sendOperationRequest({ resourceGroupName, workspaceName, nextLink, options }, listByWorkspaceNextOperationSpec$1);
|
|
4264
|
-
}
|
|
4265
|
-
}
|
|
4266
|
-
// Operation Specifications
|
|
4267
|
-
const serializer$6 = coreClient.createSerializer(Mappers, /* isXml */ false);
|
|
4268
|
-
const listByWorkspaceOperationSpec$1 = {
|
|
4269
|
-
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/features/serviceMap/machineGroups",
|
|
4270
|
-
httpMethod: "GET",
|
|
4271
|
-
responses: {
|
|
4272
|
-
200: {
|
|
4273
|
-
bodyMapper: MachineGroupCollection
|
|
4274
|
-
},
|
|
4275
|
-
default: {
|
|
4276
|
-
bodyMapper: ErrorResponse
|
|
4277
|
-
}
|
|
4278
|
-
},
|
|
4279
|
-
queryParameters: [
|
|
4280
|
-
apiVersion,
|
|
4281
|
-
startTime,
|
|
4282
|
-
endTime
|
|
4283
|
-
],
|
|
4284
|
-
urlParameters: [
|
|
4285
|
-
$host,
|
|
4286
|
-
subscriptionId,
|
|
4287
|
-
resourceGroupName,
|
|
4288
|
-
workspaceName
|
|
4289
|
-
],
|
|
4290
|
-
headerParameters: [accept],
|
|
4291
|
-
serializer: serializer$6
|
|
4292
|
-
};
|
|
4293
|
-
const createOperationSpec = {
|
|
4294
|
-
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/features/serviceMap/machineGroups",
|
|
4295
|
-
httpMethod: "POST",
|
|
4296
|
-
responses: {
|
|
4297
|
-
201: {
|
|
4298
|
-
bodyMapper: MachineGroup
|
|
4299
|
-
},
|
|
4300
|
-
default: {
|
|
4301
|
-
bodyMapper: ErrorResponse
|
|
4302
|
-
}
|
|
4303
|
-
},
|
|
4304
|
-
requestBody: machineGroup,
|
|
4305
|
-
queryParameters: [apiVersion],
|
|
4306
|
-
urlParameters: [
|
|
4307
|
-
$host,
|
|
4308
|
-
subscriptionId,
|
|
4309
|
-
resourceGroupName,
|
|
4310
|
-
workspaceName
|
|
4311
|
-
],
|
|
4312
|
-
headerParameters: [accept, contentType],
|
|
4313
|
-
mediaType: "json",
|
|
4314
|
-
serializer: serializer$6
|
|
4315
|
-
};
|
|
4316
|
-
const getOperationSpec$4 = {
|
|
4317
|
-
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/features/serviceMap/machineGroups/{machineGroupName}",
|
|
4318
|
-
httpMethod: "GET",
|
|
4319
|
-
responses: {
|
|
4320
|
-
200: {
|
|
4321
|
-
bodyMapper: MachineGroup
|
|
4322
|
-
},
|
|
4323
|
-
default: {
|
|
4324
|
-
bodyMapper: ErrorResponse
|
|
4325
|
-
}
|
|
4326
|
-
},
|
|
4327
|
-
queryParameters: [
|
|
4328
|
-
apiVersion,
|
|
4329
|
-
startTime,
|
|
4330
|
-
endTime
|
|
4331
|
-
],
|
|
4332
|
-
urlParameters: [
|
|
4333
|
-
$host,
|
|
4334
|
-
subscriptionId,
|
|
4335
|
-
resourceGroupName,
|
|
4336
|
-
workspaceName,
|
|
4337
|
-
machineGroupName
|
|
4338
|
-
],
|
|
4339
|
-
headerParameters: [accept],
|
|
4340
|
-
serializer: serializer$6
|
|
4341
|
-
};
|
|
4342
|
-
const updateOperationSpec = {
|
|
4343
|
-
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/features/serviceMap/machineGroups/{machineGroupName}",
|
|
4344
|
-
httpMethod: "PUT",
|
|
4345
|
-
responses: {
|
|
4346
|
-
200: {
|
|
4347
|
-
bodyMapper: MachineGroup
|
|
4348
|
-
},
|
|
4349
|
-
default: {
|
|
4350
|
-
bodyMapper: ErrorResponse
|
|
4351
|
-
}
|
|
4352
|
-
},
|
|
4353
|
-
requestBody: machineGroup,
|
|
4354
|
-
queryParameters: [apiVersion],
|
|
4355
|
-
urlParameters: [
|
|
4356
|
-
$host,
|
|
4357
|
-
subscriptionId,
|
|
4358
|
-
resourceGroupName,
|
|
4359
|
-
workspaceName,
|
|
4360
|
-
machineGroupName
|
|
4361
|
-
],
|
|
4362
|
-
headerParameters: [accept, contentType],
|
|
4363
|
-
mediaType: "json",
|
|
4364
|
-
serializer: serializer$6
|
|
4365
|
-
};
|
|
4366
|
-
const deleteOperationSpec = {
|
|
4367
|
-
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/features/serviceMap/machineGroups/{machineGroupName}",
|
|
4368
|
-
httpMethod: "DELETE",
|
|
4369
|
-
responses: {
|
|
4370
|
-
204: {},
|
|
4371
|
-
default: {
|
|
4372
|
-
bodyMapper: ErrorResponse
|
|
4373
|
-
}
|
|
4374
|
-
},
|
|
4375
|
-
queryParameters: [apiVersion],
|
|
4376
|
-
urlParameters: [
|
|
4377
|
-
$host,
|
|
4378
|
-
subscriptionId,
|
|
4379
|
-
resourceGroupName,
|
|
4380
|
-
workspaceName,
|
|
4381
|
-
machineGroupName
|
|
4382
|
-
],
|
|
4383
|
-
headerParameters: [accept],
|
|
4384
|
-
serializer: serializer$6
|
|
4385
|
-
};
|
|
4386
|
-
const listByWorkspaceNextOperationSpec$1 = {
|
|
4387
|
-
path: "{nextLink}",
|
|
4388
|
-
httpMethod: "GET",
|
|
4389
|
-
responses: {
|
|
4390
|
-
200: {
|
|
4391
|
-
bodyMapper: MachineGroupCollection
|
|
4392
|
-
},
|
|
4393
|
-
default: {
|
|
4394
|
-
bodyMapper: ErrorResponse
|
|
4395
|
-
}
|
|
4396
|
-
},
|
|
4397
|
-
queryParameters: [
|
|
4398
|
-
apiVersion,
|
|
4399
|
-
startTime,
|
|
4400
|
-
endTime
|
|
4401
|
-
],
|
|
4402
|
-
urlParameters: [
|
|
4403
|
-
$host,
|
|
4404
|
-
subscriptionId,
|
|
4405
|
-
resourceGroupName,
|
|
4406
|
-
workspaceName,
|
|
4407
|
-
nextLink
|
|
4408
|
-
],
|
|
4409
|
-
headerParameters: [accept],
|
|
4410
|
-
serializer: serializer$6
|
|
4411
|
-
};
|
|
4412
|
-
|
|
4413
|
-
/*
|
|
4414
|
-
* Copyright (c) Microsoft Corporation.
|
|
4415
|
-
* Licensed under the MIT License.
|
|
4416
|
-
*
|
|
4417
|
-
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
4418
|
-
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
4419
|
-
*/
|
|
4420
|
-
class ServiceMap extends coreClient.ServiceClient {
|
|
4421
|
-
/**
|
|
4422
|
-
* Initializes a new instance of the ServiceMap class.
|
|
4423
|
-
* @param credentials Subscription credentials which uniquely identify client subscription.
|
|
4424
|
-
* @param subscriptionId Azure subscription identifier.
|
|
4425
|
-
* @param options The parameter options
|
|
4426
|
-
*/
|
|
4427
|
-
constructor(credentials, subscriptionId, options) {
|
|
4428
|
-
if (credentials === undefined) {
|
|
4429
|
-
throw new Error("'credentials' cannot be null");
|
|
4430
|
-
}
|
|
4431
|
-
if (subscriptionId === undefined) {
|
|
4432
|
-
throw new Error("'subscriptionId' cannot be null");
|
|
4433
|
-
}
|
|
4434
|
-
// Initializing default values for options
|
|
4435
|
-
if (!options) {
|
|
4436
|
-
options = {};
|
|
4437
|
-
}
|
|
4438
|
-
const defaults = {
|
|
4439
|
-
requestContentType: "application/json; charset=utf-8",
|
|
4440
|
-
credential: credentials
|
|
4441
|
-
};
|
|
4442
|
-
const packageDetails = `azsdk-js-arm-servicemap/3.0.0-beta.1`;
|
|
4443
|
-
const userAgentPrefix = options.userAgentOptions && options.userAgentOptions.userAgentPrefix
|
|
4444
|
-
? `${options.userAgentOptions.userAgentPrefix} ${packageDetails}`
|
|
4445
|
-
: `${packageDetails}`;
|
|
4446
|
-
if (!options.credentialScopes) {
|
|
4447
|
-
options.credentialScopes = ["https://management.azure.com/.default"];
|
|
4448
|
-
}
|
|
4449
|
-
const optionsWithDefaults = Object.assign(Object.assign(Object.assign({}, defaults), options), { userAgentOptions: {
|
|
4450
|
-
userAgentPrefix
|
|
4451
|
-
}, baseUri: options.endpoint || "https://management.azure.com" });
|
|
4452
|
-
super(optionsWithDefaults);
|
|
4453
|
-
// Parameter assignments
|
|
4454
|
-
this.subscriptionId = subscriptionId;
|
|
4455
|
-
// Assigning values to Constant parameters
|
|
4456
|
-
this.$host = options.$host || "https://management.azure.com";
|
|
4457
|
-
this.apiVersion = options.apiVersion || "2015-11-01-preview";
|
|
4458
|
-
this.machines = new MachinesImpl(this);
|
|
4459
|
-
this.processes = new ProcessesImpl(this);
|
|
4460
|
-
this.ports = new PortsImpl(this);
|
|
4461
|
-
this.clientGroups = new ClientGroupsImpl(this);
|
|
4462
|
-
this.maps = new MapsImpl(this);
|
|
4463
|
-
this.summaries = new SummariesImpl(this);
|
|
4464
|
-
this.machineGroups = new MachineGroupsImpl(this);
|
|
4465
|
-
}
|
|
4466
|
-
}
|
|
4467
|
-
|
|
4468
|
-
exports.ServiceMap = ServiceMap;
|
|
4469
|
-
//# sourceMappingURL=index.js.map
|