@azure/arm-servicemap 3.0.0-alpha.20241115.1 → 3.0.0-alpha.20250218.1

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