@azure/arm-servicemap 2.3.1 → 3.0.0-beta.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (319) hide show
  1. package/CHANGELOG.md +11 -0
  2. package/LICENSE +21 -0
  3. package/README.md +69 -93
  4. package/dist/index.js +4469 -0
  5. package/dist/index.js.map +1 -0
  6. package/dist/index.min.js +1 -0
  7. package/dist/index.min.js.map +1 -0
  8. package/dist-esm/samples-dev/smClientGroupsGet.d.ts +2 -0
  9. package/dist-esm/samples-dev/smClientGroupsGet.d.ts.map +1 -0
  10. package/dist-esm/samples-dev/smClientGroupsGet.js +35 -0
  11. package/dist-esm/samples-dev/smClientGroupsGet.js.map +1 -0
  12. package/dist-esm/samples-dev/smClientGroupsGetMembersCountGet.d.ts +2 -0
  13. package/dist-esm/samples-dev/smClientGroupsGetMembersCountGet.d.ts.map +1 -0
  14. package/dist-esm/samples-dev/smClientGroupsGetMembersCountGet.js +35 -0
  15. package/dist-esm/samples-dev/smClientGroupsGetMembersCountGet.js.map +1 -0
  16. package/dist-esm/samples-dev/smClientGroupsListMembersGet.d.ts +2 -0
  17. package/dist-esm/samples-dev/smClientGroupsListMembersGet.d.ts.map +1 -0
  18. package/dist-esm/samples-dev/smClientGroupsListMembersGet.js +49 -0
  19. package/dist-esm/samples-dev/smClientGroupsListMembersGet.js.map +1 -0
  20. package/dist-esm/samples-dev/smMachineGroupsCreatePost.d.ts +2 -0
  21. package/dist-esm/samples-dev/smMachineGroupsCreatePost.d.ts.map +1 -0
  22. package/dist-esm/samples-dev/smMachineGroupsCreatePost.js +43 -0
  23. package/dist-esm/samples-dev/smMachineGroupsCreatePost.js.map +1 -0
  24. package/dist-esm/samples-dev/smMachineGroupsDelete.d.ts +2 -0
  25. package/dist-esm/samples-dev/smMachineGroupsDelete.d.ts.map +1 -0
  26. package/dist-esm/samples-dev/smMachineGroupsDelete.js +32 -0
  27. package/dist-esm/samples-dev/smMachineGroupsDelete.js.map +1 -0
  28. package/dist-esm/samples-dev/smMachineGroupsGet.d.ts +2 -0
  29. package/dist-esm/samples-dev/smMachineGroupsGet.d.ts.map +1 -0
  30. package/dist-esm/samples-dev/smMachineGroupsGet.js +32 -0
  31. package/dist-esm/samples-dev/smMachineGroupsGet.js.map +1 -0
  32. package/dist-esm/samples-dev/smMachineGroupsListByWorkspaceGet.d.ts +2 -0
  33. package/dist-esm/samples-dev/smMachineGroupsListByWorkspaceGet.d.ts.map +1 -0
  34. package/dist-esm/samples-dev/smMachineGroupsListByWorkspaceGet.js +48 -0
  35. package/dist-esm/samples-dev/smMachineGroupsListByWorkspaceGet.js.map +1 -0
  36. package/dist-esm/samples-dev/smMachineGroupsUpdatePut.d.ts +2 -0
  37. package/dist-esm/samples-dev/smMachineGroupsUpdatePut.d.ts.map +1 -0
  38. package/dist-esm/samples-dev/smMachineGroupsUpdatePut.js +44 -0
  39. package/dist-esm/samples-dev/smMachineGroupsUpdatePut.js.map +1 -0
  40. package/dist-esm/samples-dev/smMachinesGet.d.ts +2 -0
  41. package/dist-esm/samples-dev/smMachinesGet.d.ts.map +1 -0
  42. package/dist-esm/samples-dev/smMachinesGet.js +34 -0
  43. package/dist-esm/samples-dev/smMachinesGet.js.map +1 -0
  44. package/dist-esm/samples-dev/smMachinesGetLivenessGet.d.ts +2 -0
  45. package/dist-esm/samples-dev/smMachinesGetLivenessGet.d.ts.map +1 -0
  46. package/dist-esm/samples-dev/smMachinesGetLivenessGet.js +35 -0
  47. package/dist-esm/samples-dev/smMachinesGetLivenessGet.js.map +1 -0
  48. package/dist-esm/samples-dev/smMachinesListByWorkspaceGet.d.ts +2 -0
  49. package/dist-esm/samples-dev/smMachinesListByWorkspaceGet.d.ts.map +1 -0
  50. package/dist-esm/samples-dev/smMachinesListByWorkspaceGet.js +48 -0
  51. package/dist-esm/samples-dev/smMachinesListByWorkspaceGet.js.map +1 -0
  52. package/dist-esm/samples-dev/smMachinesListConnectionsGet.d.ts +2 -0
  53. package/dist-esm/samples-dev/smMachinesListConnectionsGet.d.ts.map +1 -0
  54. package/dist-esm/samples-dev/smMachinesListConnectionsGet.js +49 -0
  55. package/dist-esm/samples-dev/smMachinesListConnectionsGet.js.map +1 -0
  56. package/dist-esm/samples-dev/smMachinesListMachineGroupMembershipGet.d.ts +2 -0
  57. package/dist-esm/samples-dev/smMachinesListMachineGroupMembershipGet.d.ts.map +1 -0
  58. package/dist-esm/samples-dev/smMachinesListMachineGroupMembershipGet.js +49 -0
  59. package/dist-esm/samples-dev/smMachinesListMachineGroupMembershipGet.js.map +1 -0
  60. package/dist-esm/samples-dev/smMachinesListPortsGet.d.ts +2 -0
  61. package/dist-esm/samples-dev/smMachinesListPortsGet.d.ts.map +1 -0
  62. package/dist-esm/samples-dev/smMachinesListPortsGet.js +49 -0
  63. package/dist-esm/samples-dev/smMachinesListPortsGet.js.map +1 -0
  64. package/dist-esm/samples-dev/smMachinesListProcessesGet.d.ts +2 -0
  65. package/dist-esm/samples-dev/smMachinesListProcessesGet.d.ts.map +1 -0
  66. package/dist-esm/samples-dev/smMachinesListProcessesGet.js +49 -0
  67. package/dist-esm/samples-dev/smMachinesListProcessesGet.js.map +1 -0
  68. package/dist-esm/samples-dev/smMachinesPortsGet.d.ts +2 -0
  69. package/dist-esm/samples-dev/smMachinesPortsGet.d.ts.map +1 -0
  70. package/dist-esm/samples-dev/smMachinesPortsGet.js +36 -0
  71. package/dist-esm/samples-dev/smMachinesPortsGet.js.map +1 -0
  72. package/dist-esm/samples-dev/smMachinesPortsGetLivenessGet.d.ts +2 -0
  73. package/dist-esm/samples-dev/smMachinesPortsGetLivenessGet.d.ts.map +1 -0
  74. package/dist-esm/samples-dev/smMachinesPortsGetLivenessGet.js +36 -0
  75. package/dist-esm/samples-dev/smMachinesPortsGetLivenessGet.js.map +1 -0
  76. package/dist-esm/samples-dev/smMachinesPortsListAcceptingProcessesGet.d.ts +2 -0
  77. package/dist-esm/samples-dev/smMachinesPortsListAcceptingProcessesGet.d.ts.map +1 -0
  78. package/dist-esm/samples-dev/smMachinesPortsListAcceptingProcessesGet.js +50 -0
  79. package/dist-esm/samples-dev/smMachinesPortsListAcceptingProcessesGet.js.map +1 -0
  80. package/dist-esm/samples-dev/smMachinesPortsListConnectionsGet.d.ts +2 -0
  81. package/dist-esm/samples-dev/smMachinesPortsListConnectionsGet.d.ts.map +1 -0
  82. package/dist-esm/samples-dev/smMachinesPortsListConnectionsGet.js +50 -0
  83. package/dist-esm/samples-dev/smMachinesPortsListConnectionsGet.js.map +1 -0
  84. package/dist-esm/samples-dev/smMachinesProcessesGet.d.ts +2 -0
  85. package/dist-esm/samples-dev/smMachinesProcessesGet.d.ts.map +1 -0
  86. package/dist-esm/samples-dev/smMachinesProcessesGet.js +35 -0
  87. package/dist-esm/samples-dev/smMachinesProcessesGet.js.map +1 -0
  88. package/dist-esm/samples-dev/smMachinesProcessesGetLivenessGet.d.ts +2 -0
  89. package/dist-esm/samples-dev/smMachinesProcessesGetLivenessGet.d.ts.map +1 -0
  90. package/dist-esm/samples-dev/smMachinesProcessesGetLivenessGet.js +36 -0
  91. package/dist-esm/samples-dev/smMachinesProcessesGetLivenessGet.js.map +1 -0
  92. package/dist-esm/samples-dev/smMachinesProcessesListAcceptingPortsGet.d.ts +2 -0
  93. package/dist-esm/samples-dev/smMachinesProcessesListAcceptingPortsGet.d.ts.map +1 -0
  94. package/dist-esm/samples-dev/smMachinesProcessesListAcceptingPortsGet.js +50 -0
  95. package/dist-esm/samples-dev/smMachinesProcessesListAcceptingPortsGet.js.map +1 -0
  96. package/dist-esm/samples-dev/smMachinesProcessesListConnectionsGet.d.ts +2 -0
  97. package/dist-esm/samples-dev/smMachinesProcessesListConnectionsGet.d.ts.map +1 -0
  98. package/dist-esm/samples-dev/smMachinesProcessesListConnectionsGet.js +50 -0
  99. package/dist-esm/samples-dev/smMachinesProcessesListConnectionsGet.js.map +1 -0
  100. package/dist-esm/samples-dev/smMapsGenerateMachineGroupDependencyPost.d.ts +2 -0
  101. package/dist-esm/samples-dev/smMapsGenerateMachineGroupDependencyPost.d.ts.map +1 -0
  102. package/dist-esm/samples-dev/smMapsGenerateMachineGroupDependencyPost.js +38 -0
  103. package/dist-esm/samples-dev/smMapsGenerateMachineGroupDependencyPost.js.map +1 -0
  104. package/dist-esm/samples-dev/smMapsGenerateMachineListDependencyPost.d.ts +2 -0
  105. package/dist-esm/samples-dev/smMapsGenerateMachineListDependencyPost.d.ts.map +1 -0
  106. package/dist-esm/samples-dev/smMapsGenerateMachineListDependencyPost.js +41 -0
  107. package/dist-esm/samples-dev/smMapsGenerateMachineListDependencyPost.js.map +1 -0
  108. package/dist-esm/samples-dev/smMapsGenerateSingleMachineDependencyPost.d.ts +2 -0
  109. package/dist-esm/samples-dev/smMapsGenerateSingleMachineDependencyPost.d.ts.map +1 -0
  110. package/dist-esm/samples-dev/smMapsGenerateSingleMachineDependencyPost.js +37 -0
  111. package/dist-esm/samples-dev/smMapsGenerateSingleMachineDependencyPost.js.map +1 -0
  112. package/dist-esm/samples-dev/smSummariesGetMachinesGet.d.ts +2 -0
  113. package/dist-esm/samples-dev/smSummariesGetMachinesGet.d.ts.map +1 -0
  114. package/dist-esm/samples-dev/smSummariesGetMachinesGet.js +34 -0
  115. package/dist-esm/samples-dev/smSummariesGetMachinesGet.js.map +1 -0
  116. package/dist-esm/src/index.d.ts +5 -0
  117. package/dist-esm/src/index.d.ts.map +1 -0
  118. package/dist-esm/src/index.js +12 -0
  119. package/dist-esm/src/index.js.map +1 -0
  120. package/dist-esm/src/models/index.d.ts +1126 -0
  121. package/dist-esm/src/models/index.d.ts.map +1 -0
  122. package/dist-esm/src/models/index.js +58 -0
  123. package/dist-esm/src/models/index.js.map +1 -0
  124. package/dist-esm/src/models/mappers.d.ts +91 -0
  125. package/dist-esm/src/models/mappers.d.ts.map +1 -0
  126. package/{esm → dist-esm/src}/models/mappers.js +1004 -1051
  127. package/dist-esm/src/models/mappers.js.map +1 -0
  128. package/dist-esm/src/models/parameters.d.ts +22 -0
  129. package/dist-esm/src/models/parameters.d.ts.map +1 -0
  130. package/{esm → dist-esm/src}/models/parameters.js +124 -108
  131. package/dist-esm/src/models/parameters.js.map +1 -0
  132. package/dist-esm/src/operations/clientGroups.d.ts +57 -0
  133. package/dist-esm/src/operations/clientGroups.d.ts.map +1 -0
  134. package/dist-esm/src/operations/clientGroups.js +224 -0
  135. package/dist-esm/src/operations/clientGroups.js.map +1 -0
  136. package/{esm → dist-esm/src}/operations/index.d.ts +0 -0
  137. package/dist-esm/src/operations/index.d.ts.map +1 -0
  138. package/{esm → dist-esm/src}/operations/index.js +3 -5
  139. package/dist-esm/src/operations/index.js.map +1 -0
  140. package/dist-esm/src/operations/machineGroups.d.ts +71 -0
  141. package/dist-esm/src/operations/machineGroups.d.ts.map +1 -0
  142. package/dist-esm/src/operations/machineGroups.js +285 -0
  143. package/dist-esm/src/operations/machineGroups.js.map +1 -0
  144. package/dist-esm/src/operations/machines.d.ts +177 -0
  145. package/dist-esm/src/operations/machines.d.ts.map +1 -0
  146. package/dist-esm/src/operations/machines.js +738 -0
  147. package/dist-esm/src/operations/machines.js.map +1 -0
  148. package/dist-esm/src/operations/maps.d.ts +21 -0
  149. package/dist-esm/src/operations/maps.d.ts.map +1 -0
  150. package/dist-esm/src/operations/maps.js +56 -0
  151. package/dist-esm/src/operations/maps.js.map +1 -0
  152. package/dist-esm/src/operations/ports.d.ts +93 -0
  153. package/dist-esm/src/operations/ports.d.ts.map +1 -0
  154. package/dist-esm/src/operations/ports.js +376 -0
  155. package/dist-esm/src/operations/ports.js.map +1 -0
  156. package/dist-esm/src/operations/processes.d.ts +92 -0
  157. package/dist-esm/src/operations/processes.d.ts.map +1 -0
  158. package/dist-esm/src/operations/processes.js +371 -0
  159. package/dist-esm/src/operations/processes.js.map +1 -0
  160. package/dist-esm/src/operations/summaries.d.ts +20 -0
  161. package/dist-esm/src/operations/summaries.d.ts.map +1 -0
  162. package/dist-esm/src/operations/summaries.js +57 -0
  163. package/dist-esm/src/operations/summaries.js.map +1 -0
  164. package/dist-esm/src/operationsInterfaces/clientGroups.d.ts +30 -0
  165. package/dist-esm/src/operationsInterfaces/clientGroups.d.ts.map +1 -0
  166. package/dist-esm/src/operationsInterfaces/clientGroups.js +9 -0
  167. package/dist-esm/src/operationsInterfaces/clientGroups.js.map +1 -0
  168. package/dist-esm/src/operationsInterfaces/index.d.ts +8 -0
  169. package/dist-esm/src/operationsInterfaces/index.d.ts.map +1 -0
  170. package/dist-esm/src/operationsInterfaces/index.js +15 -0
  171. package/dist-esm/src/operationsInterfaces/index.js.map +1 -0
  172. package/dist-esm/src/operationsInterfaces/machineGroups.d.ts +46 -0
  173. package/dist-esm/src/operationsInterfaces/machineGroups.d.ts.map +1 -0
  174. package/dist-esm/src/operationsInterfaces/machineGroups.js +9 -0
  175. package/dist-esm/src/operationsInterfaces/machineGroups.js.map +1 -0
  176. package/dist-esm/src/operationsInterfaces/machines.d.ts +68 -0
  177. package/dist-esm/src/operationsInterfaces/machines.d.ts.map +1 -0
  178. package/dist-esm/src/operationsInterfaces/machines.js +9 -0
  179. package/dist-esm/src/operationsInterfaces/machines.js.map +1 -0
  180. package/dist-esm/src/operationsInterfaces/maps.d.ts +13 -0
  181. package/dist-esm/src/operationsInterfaces/maps.d.ts.map +1 -0
  182. package/dist-esm/src/operationsInterfaces/maps.js +9 -0
  183. package/dist-esm/src/operationsInterfaces/maps.js.map +1 -0
  184. package/dist-esm/src/operationsInterfaces/ports.d.ts +43 -0
  185. package/dist-esm/src/operationsInterfaces/ports.d.ts.map +1 -0
  186. package/dist-esm/src/operationsInterfaces/ports.js +9 -0
  187. package/dist-esm/src/operationsInterfaces/ports.js.map +1 -0
  188. package/dist-esm/src/operationsInterfaces/processes.d.ts +42 -0
  189. package/dist-esm/src/operationsInterfaces/processes.d.ts.map +1 -0
  190. package/dist-esm/src/operationsInterfaces/processes.js +9 -0
  191. package/dist-esm/src/operationsInterfaces/processes.js.map +1 -0
  192. package/dist-esm/src/operationsInterfaces/summaries.d.ts +12 -0
  193. package/dist-esm/src/operationsInterfaces/summaries.d.ts.map +1 -0
  194. package/dist-esm/src/operationsInterfaces/summaries.js +9 -0
  195. package/dist-esm/src/operationsInterfaces/summaries.js.map +1 -0
  196. package/dist-esm/src/serviceMap.d.ts +24 -0
  197. package/dist-esm/src/serviceMap.d.ts.map +1 -0
  198. package/dist-esm/src/serviceMap.js +57 -0
  199. package/dist-esm/src/serviceMap.js.map +1 -0
  200. package/dist-esm/test/sampleTest.d.ts +2 -0
  201. package/dist-esm/test/sampleTest.d.ts.map +1 -0
  202. package/dist-esm/test/sampleTest.js +40 -0
  203. package/dist-esm/test/sampleTest.js.map +1 -0
  204. package/package.json +75 -33
  205. package/review/arm-servicemap.api.md +1034 -0
  206. package/rollup.config.js +181 -30
  207. package/src/index.ts +12 -0
  208. package/src/models/index.ts +1135 -2551
  209. package/src/models/mappers.ts +1115 -1150
  210. package/src/models/parameters.ts +151 -109
  211. package/src/operations/clientGroups.ts +208 -170
  212. package/src/operations/index.ts +3 -5
  213. package/src/operations/machineGroups.ts +236 -254
  214. package/src/operations/machines.ts +752 -460
  215. package/src/operations/maps.ts +43 -64
  216. package/src/operations/ports.ts +367 -234
  217. package/src/operations/processes.ts +362 -232
  218. package/src/operations/summaries.ts +43 -56
  219. package/src/operationsInterfaces/clientGroups.ts +61 -0
  220. package/src/operationsInterfaces/index.ts +15 -0
  221. package/src/operationsInterfaces/machineGroups.ts +90 -0
  222. package/src/operationsInterfaces/machines.ts +126 -0
  223. package/src/operationsInterfaces/maps.ts +30 -0
  224. package/src/operationsInterfaces/ports.ts +85 -0
  225. package/src/operationsInterfaces/processes.ts +84 -0
  226. package/src/operationsInterfaces/summaries.ts +27 -0
  227. package/src/serviceMap.ts +103 -0
  228. package/tsconfig.json +5 -4
  229. package/types/arm-servicemap.d.ts +1556 -0
  230. package/types/tsdoc-metadata.json +11 -0
  231. package/dist/arm-servicemap.js +0 -4238
  232. package/dist/arm-servicemap.js.map +0 -1
  233. package/dist/arm-servicemap.min.js +0 -1
  234. package/dist/arm-servicemap.min.js.map +0 -1
  235. package/esm/models/clientGroupsMappers.d.ts +0 -2
  236. package/esm/models/clientGroupsMappers.d.ts.map +0 -1
  237. package/esm/models/clientGroupsMappers.js +0 -9
  238. package/esm/models/clientGroupsMappers.js.map +0 -1
  239. package/esm/models/index.d.ts +0 -2596
  240. package/esm/models/index.d.ts.map +0 -1
  241. package/esm/models/index.js +0 -8
  242. package/esm/models/index.js.map +0 -1
  243. package/esm/models/machineGroupsMappers.d.ts +0 -2
  244. package/esm/models/machineGroupsMappers.d.ts.map +0 -1
  245. package/esm/models/machineGroupsMappers.js +0 -9
  246. package/esm/models/machineGroupsMappers.js.map +0 -1
  247. package/esm/models/machinesMappers.d.ts +0 -2
  248. package/esm/models/machinesMappers.d.ts.map +0 -1
  249. package/esm/models/machinesMappers.js +0 -9
  250. package/esm/models/machinesMappers.js.map +0 -1
  251. package/esm/models/mappers.d.ts +0 -91
  252. package/esm/models/mappers.d.ts.map +0 -1
  253. package/esm/models/mappers.js.map +0 -1
  254. package/esm/models/mapsMappers.d.ts +0 -2
  255. package/esm/models/mapsMappers.d.ts.map +0 -1
  256. package/esm/models/mapsMappers.js +0 -9
  257. package/esm/models/mapsMappers.js.map +0 -1
  258. package/esm/models/parameters.d.ts +0 -18
  259. package/esm/models/parameters.d.ts.map +0 -1
  260. package/esm/models/parameters.js.map +0 -1
  261. package/esm/models/portsMappers.d.ts +0 -2
  262. package/esm/models/portsMappers.d.ts.map +0 -1
  263. package/esm/models/portsMappers.js +0 -9
  264. package/esm/models/portsMappers.js.map +0 -1
  265. package/esm/models/processesMappers.d.ts +0 -2
  266. package/esm/models/processesMappers.d.ts.map +0 -1
  267. package/esm/models/processesMappers.js +0 -9
  268. package/esm/models/processesMappers.js.map +0 -1
  269. package/esm/models/summariesMappers.d.ts +0 -2
  270. package/esm/models/summariesMappers.d.ts.map +0 -1
  271. package/esm/models/summariesMappers.js +0 -9
  272. package/esm/models/summariesMappers.js.map +0 -1
  273. package/esm/operations/clientGroups.d.ts +0 -103
  274. package/esm/operations/clientGroups.d.ts.map +0 -1
  275. package/esm/operations/clientGroups.js +0 -159
  276. package/esm/operations/clientGroups.js.map +0 -1
  277. package/esm/operations/index.d.ts.map +0 -1
  278. package/esm/operations/index.js.map +0 -1
  279. package/esm/operations/machineGroups.d.ts +0 -151
  280. package/esm/operations/machineGroups.d.ts.map +0 -1
  281. package/esm/operations/machineGroups.js +0 -227
  282. package/esm/operations/machineGroups.js.map +0 -1
  283. package/esm/operations/machines.d.ts +0 -284
  284. package/esm/operations/machines.d.ts.map +0 -1
  285. package/esm/operations/machines.js +0 -404
  286. package/esm/operations/machines.js.map +0 -1
  287. package/esm/operations/maps.d.ts +0 -37
  288. package/esm/operations/maps.d.ts.map +0 -1
  289. package/esm/operations/maps.js +0 -64
  290. package/esm/operations/maps.js.map +0 -1
  291. package/esm/operations/ports.d.ts +0 -158
  292. package/esm/operations/ports.d.ts.map +0 -1
  293. package/esm/operations/ports.js +0 -227
  294. package/esm/operations/ports.js.map +0 -1
  295. package/esm/operations/processes.d.ts +0 -157
  296. package/esm/operations/processes.d.ts.map +0 -1
  297. package/esm/operations/processes.js +0 -226
  298. package/esm/operations/processes.js.map +0 -1
  299. package/esm/operations/summaries.d.ts +0 -34
  300. package/esm/operations/summaries.d.ts.map +0 -1
  301. package/esm/operations/summaries.js +0 -60
  302. package/esm/operations/summaries.js.map +0 -1
  303. package/esm/servicemapManagementClient.d.ts +0 -30
  304. package/esm/servicemapManagementClient.d.ts.map +0 -1
  305. package/esm/servicemapManagementClient.js +0 -44
  306. package/esm/servicemapManagementClient.js.map +0 -1
  307. package/esm/servicemapManagementClientContext.d.ts +0 -22
  308. package/esm/servicemapManagementClientContext.d.ts.map +0 -1
  309. package/esm/servicemapManagementClientContext.js +0 -61
  310. package/esm/servicemapManagementClientContext.js.map +0 -1
  311. package/src/models/clientGroupsMappers.ts +0 -56
  312. package/src/models/machineGroupsMappers.ts +0 -55
  313. package/src/models/machinesMappers.ts +0 -60
  314. package/src/models/mapsMappers.ts +0 -63
  315. package/src/models/portsMappers.ts +0 -57
  316. package/src/models/processesMappers.ts +0 -57
  317. package/src/models/summariesMappers.ts +0 -54
  318. package/src/servicemapManagementClient.ts +0 -60
  319. package/src/servicemapManagementClientContext.ts +0 -68
@@ -1,2778 +1,1362 @@
1
1
  /*
2
- * Copyright (c) Microsoft Corporation. All rights reserved.
3
- * Licensed under the MIT License. See License.txt in the project root for license information.
2
+ * Copyright (c) Microsoft Corporation.
3
+ * Licensed under the MIT License.
4
4
  *
5
5
  * Code generated by Microsoft (R) AutoRest Code Generator.
6
6
  * Changes may cause incorrect behavior and will be lost if the code is regenerated.
7
7
  */
8
8
 
9
- import { BaseResource, CloudError, AzureServiceClientOptions } from "@azure/ms-rest-azure-js";
10
- import * as msRest from "@azure/ms-rest-js";
9
+ import * as coreClient from "@azure/core-client";
10
+
11
+ export type HostingConfigurationUnion =
12
+ | HostingConfiguration
13
+ | AzureHostingConfiguration;
14
+ export type ResourceReferenceUnion =
15
+ | ResourceReference
16
+ | MachineReference
17
+ | PortReference
18
+ | MachineReferenceWithHints
19
+ | ProcessReference
20
+ | ClientGroupReference;
21
+ export type ProcessHostingConfigurationUnion =
22
+ | ProcessHostingConfiguration
23
+ | AzureProcessHostingConfiguration;
24
+ export type MapRequestUnion =
25
+ | MapRequest
26
+ | SingleMachineDependencyMapRequest
27
+ | MultipleMachinesMapRequestUnion;
28
+ export type CoreResourceUnion =
29
+ | CoreResource
30
+ | Machine
31
+ | Process
32
+ | Port
33
+ | MachineGroup
34
+ | ClientGroup;
35
+ export type RelationshipUnion = Relationship | Connection | Acceptor;
36
+ export type MultipleMachinesMapRequestUnion =
37
+ | MultipleMachinesMapRequest
38
+ | MachineListMapRequest
39
+ | MachineGroupMapRequest;
40
+
41
+ /** Collection of Machine resources. */
42
+ export interface MachineCollection {
43
+ /** Collection of Machine resources. */
44
+ value?: Machine[];
45
+ /** The URL to the next set of resources. */
46
+ nextLink?: string;
47
+ }
11
48
 
12
- export { BaseResource, CloudError };
49
+ /** Describes a timezone. */
50
+ export interface Timezone {
51
+ /** Timezone full name. */
52
+ fullName?: string;
53
+ }
13
54
 
14
- /**
15
- * Resource model definition.
16
- */
17
- export interface Resource extends BaseResource {
18
- /**
19
- * Resource identifier.
20
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
21
- */
22
- readonly id?: string;
23
- /**
24
- * Resource type.
25
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
26
- */
27
- readonly type?: string;
28
- /**
29
- * Resource name.
30
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
31
- */
32
- readonly name?: string;
55
+ /** Describes the configuration of the Dependency Agent installed on a machine. */
56
+ export interface AgentConfiguration {
57
+ /** Health Service Agent unique identifier. */
58
+ agentId: string;
59
+ /** Dependency Agent unique identifier. */
60
+ dependencyAgentId?: string;
61
+ /** Dependency Agent version number. */
62
+ dependencyAgentVersion?: string;
63
+ /** Dependency Agent revision number. */
64
+ dependencyAgentRevision?: string;
65
+ /** Specifies whether the machine has been rebooted since the Dependency Agent installation. */
66
+ rebootStatus?: MachineRebootStatus;
67
+ /** Machine clock granularity in milliseconds. */
68
+ clockGranularity?: number;
33
69
  }
34
70
 
35
- /**
36
- * Contains the possible cases for ResourceReference.
37
- */
38
- export type ResourceReferenceUnion = ResourceReference | MachineReference | ProcessReference | PortReference | MachineReferenceWithHints | ClientGroupReference;
71
+ /** Describes the resources of a machine. */
72
+ export interface MachineResourcesConfiguration {
73
+ /** Physical memory in megabytes (MB). */
74
+ physicalMemory?: number;
75
+ /** Number of CPUs. */
76
+ cpus?: number;
77
+ /** CPU speed in megahertz (Mhz). */
78
+ cpuSpeed?: number;
79
+ /** Describes the accuracy of the cpuSpeed field. */
80
+ cpuSpeedAccuracy?: Accuracy;
81
+ }
39
82
 
40
- /**
41
- * Represents a reference to another resource.
42
- */
43
- export interface ResourceReference {
44
- /**
45
- * Polymorphic Discriminator
46
- */
47
- kind: "ResourceReference";
48
- /**
49
- * Resource URI.
50
- */
51
- id: string;
52
- /**
53
- * Resource type qualifier.
54
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
55
- */
56
- readonly type?: string;
57
- /**
58
- * Resource name.
59
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
60
- */
61
- readonly name?: string;
83
+ /** Describes the network configuration of a machine. */
84
+ export interface NetworkConfiguration {
85
+ /** IPv4 interfaces. */
86
+ ipv4Interfaces?: Ipv4NetworkInterface[];
87
+ /** IPv6 interfaces. */
88
+ ipv6Interfaces?: Ipv6NetworkInterface[];
89
+ /** Default IPv4 gateways. */
90
+ defaultIpv4Gateways?: string[];
91
+ /** MAC addresses of all active network interfaces. */
92
+ macAddresses?: string[];
93
+ /** DNS names associated with the machine. */
94
+ dnsNames?: string[];
62
95
  }
63
96
 
64
- /**
65
- * Reference to a machine.
66
- */
67
- export interface MachineReference {
68
- /**
69
- * Polymorphic Discriminator
70
- */
71
- kind: "ref:machine";
72
- /**
73
- * Resource URI.
74
- */
75
- id: string;
76
- /**
77
- * Resource type qualifier.
78
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
79
- */
80
- readonly type?: string;
81
- /**
82
- * Resource name.
83
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
84
- */
85
- readonly name?: string;
97
+ /** Describes an IPv4 network interface. */
98
+ export interface Ipv4NetworkInterface {
99
+ /** IPv4 address. */
100
+ ipAddress: string;
101
+ /** IPv4 subnet mask. */
102
+ subnetMask?: string;
86
103
  }
87
104
 
88
- /**
89
- * Reference to a process.
90
- */
91
- export interface ProcessReference {
92
- /**
93
- * Polymorphic Discriminator
94
- */
95
- kind: "ref:process";
96
- /**
97
- * Resource URI.
98
- */
99
- id: string;
100
- /**
101
- * Resource type qualifier.
102
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
103
- */
104
- readonly type?: string;
105
- /**
106
- * Resource name.
107
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
108
- */
109
- readonly name?: string;
110
- /**
111
- * Machine hosting the process.
112
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
113
- */
114
- readonly machine?: MachineReference;
105
+ /** Describes an IPv6 network interface. */
106
+ export interface Ipv6NetworkInterface {
107
+ /** IPv6 address. */
108
+ ipAddress: string;
115
109
  }
116
110
 
117
- /**
118
- * Reference to a port.
119
- */
120
- export interface PortReference {
121
- /**
122
- * Polymorphic Discriminator
123
- */
124
- kind: "ref:port";
125
- /**
126
- * Resource URI.
127
- */
128
- id: string;
129
- /**
130
- * Resource type qualifier.
131
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
132
- */
133
- readonly type?: string;
134
- /**
135
- * Resource name.
136
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
137
- */
138
- readonly name?: string;
139
- /**
140
- * Machine hosting the port.
141
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
142
- */
143
- readonly machine?: MachineReference;
144
- /**
145
- * IP address of the port.
146
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
147
- */
148
- readonly ipAddress?: string;
149
- /**
150
- * Port number.
151
- */
152
- portNumber?: number;
111
+ /** Describes the configuration of the operating system of a machine. */
112
+ export interface OperatingSystemConfiguration {
113
+ /** Windows, Linux, etc. */
114
+ family: OperatingSystemFamily;
115
+ /** Operating system full name. */
116
+ fullName: string;
117
+ /** Operating system bitness (32-bit or 64-bit). */
118
+ bitness: Bitness;
153
119
  }
154
120
 
155
- /**
156
- * A machine reference with a hint of the machine's name and operating system.
157
- */
158
- export interface MachineReferenceWithHints {
159
- /**
160
- * Polymorphic Discriminator
161
- */
162
- kind: "ref:machinewithhints";
163
- /**
164
- * Resource URI.
165
- */
166
- id: string;
167
- /**
168
- * Resource type qualifier.
169
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
170
- */
171
- readonly type?: string;
172
- /**
173
- * Resource name.
174
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
175
- */
176
- readonly name?: string;
177
- /**
178
- * Last known display name.
179
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
180
- */
181
- readonly displayNameHint?: string;
182
- /**
183
- * Last known operating system family. Possible values include: 'unknown', 'windows', 'linux',
184
- * 'solaris', 'aix'
185
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
186
- */
187
- readonly osFamilyHint?: OperatingSystemFamily;
121
+ /** Describes the virtualization-related configuration of a machine. */
122
+ export interface VirtualMachineConfiguration {
123
+ /** Specifies the virtualization technology used by the machine (hyperv, vmware, etc.) */
124
+ virtualMachineType?: VirtualMachineType;
125
+ /** The unique identifier of the virtual machine as reported by the underlying virtualization system. */
126
+ nativeMachineId?: string;
127
+ /** The Name of the virtual machine. */
128
+ virtualMachineName?: string;
129
+ /** The unique identifier of the host of this virtual machine as reported by the underlying virtualization system. */
130
+ nativeHostMachineId?: string;
188
131
  }
189
132
 
190
- /**
191
- * Reference to a client group.
192
- */
193
- export interface ClientGroupReference {
194
- /**
195
- * Polymorphic Discriminator
196
- */
197
- kind: "ref:clientgroup";
198
- /**
199
- * Resource URI.
200
- */
201
- id: string;
202
- /**
203
- * Resource type qualifier.
204
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
205
- */
206
- readonly type?: string;
207
- /**
208
- * Resource name.
209
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
210
- */
211
- readonly name?: string;
133
+ /** Describes the hypervisor configuration of a machine. */
134
+ export interface HypervisorConfiguration {
135
+ /** Specifies the virtualization technology used by the hypervisor (hyperv, vmware, etc.) */
136
+ hypervisorType?: HypervisorType;
137
+ /** The unique identifier of the hypervisor machine as reported by the underlying virtualization system. */
138
+ nativeHostMachineId?: string;
212
139
  }
213
140
 
214
- /**
215
- * Contains the possible cases for CoreResource.
216
- */
217
- export type CoreResourceUnion = CoreResource | Machine | Process | Port | ClientGroup | MachineGroup;
141
+ /** Describes the hosting configuration of a machine. */
142
+ export interface HostingConfiguration {
143
+ /** Polymorphic discriminator, which specifies the different types this object can be */
144
+ kind: "provider:azure";
145
+ /** The hosting provider of the VM. */
146
+ provider?: "azure";
147
+ }
218
148
 
219
- /**
220
- * Marker resource for the core Service Map resources
221
- */
222
- export interface CoreResource {
223
- /**
224
- * Polymorphic Discriminator
225
- */
226
- kind: "CoreResource";
149
+ /** Resource model definition. */
150
+ export interface Resource {
227
151
  /**
228
152
  * Resource identifier.
229
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
153
+ * NOTE: This property will not be serialized. It can only be populated by the server.
230
154
  */
231
155
  readonly id?: string;
232
156
  /**
233
157
  * Resource type.
234
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
158
+ * NOTE: This property will not be serialized. It can only be populated by the server.
235
159
  */
236
160
  readonly type?: string;
237
161
  /**
238
162
  * Resource name.
239
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
163
+ * NOTE: This property will not be serialized. It can only be populated by the server.
240
164
  */
241
165
  readonly name?: string;
242
- /**
243
- * Resource ETAG.
244
- */
245
- etag?: string;
246
166
  }
247
167
 
248
- /**
249
- * Describes a timezone.
250
- */
251
- export interface Timezone {
252
- /**
253
- * Timezone full name.
254
- */
255
- fullName?: string;
168
+ /** An error response from the API. */
169
+ export interface ErrorResponse {
170
+ /** Error information. */
171
+ error: ErrorModel;
256
172
  }
257
173
 
258
- /**
259
- * Describes the configuration of the Dependency Agent installed on a machine.
260
- */
261
- export interface AgentConfiguration {
262
- /**
263
- * Health Service Agent unique identifier.
264
- */
265
- agentId: string;
266
- /**
267
- * Dependency Agent unique identifier.
268
- */
269
- dependencyAgentId?: string;
270
- /**
271
- * Dependency Agent version number.
272
- */
273
- dependencyAgentVersion?: string;
274
- /**
275
- * Dependency Agent revision number.
276
- */
277
- dependencyAgentRevision?: string;
278
- /**
279
- * Specifies whether the machine has been rebooted since the Dependency Agent installation.
280
- * Possible values include: 'unknown', 'rebooted', 'notRebooted'
281
- */
282
- rebootStatus?: MachineRebootStatus;
283
- /**
284
- * Machine clock granularity in milliseconds.
285
- */
286
- clockGranularity?: number;
174
+ /** Error details. */
175
+ export interface ErrorModel {
176
+ /** Error code identifying the specific error. */
177
+ code: string;
178
+ /** Error message in the caller's locale. */
179
+ message?: string;
287
180
  }
288
181
 
289
- /**
290
- * Describes the resources of a machine.
291
- */
292
- export interface MachineResourcesConfiguration {
293
- /**
294
- * Physical memory in megabytes (MB).
295
- */
296
- physicalMemory?: number;
297
- /**
298
- * Number of CPUs.
299
- */
300
- cpus?: number;
301
- /**
302
- * CPU speed in megahertz (Mhz).
303
- */
304
- cpuSpeed?: number;
305
- /**
306
- * Describes the accuracy of the cpuSpeed field. Possible values include: 'actual', 'estimated'
307
- */
308
- cpuSpeedAccuracy?: Accuracy;
182
+ /** Specifies the contents of a check liveness response. */
183
+ export interface Liveness {
184
+ /** Liveness interval start time. */
185
+ startTime: Date;
186
+ /** Liveness interval end time. */
187
+ endTime: Date;
188
+ /** `true` if the resource is live during [startTime, endTime], `false` otherwise */
189
+ live: boolean;
309
190
  }
310
191
 
311
- /**
312
- * Describes an IPv4 network interface.
313
- */
314
- export interface Ipv4NetworkInterface {
192
+ /** Collection of Connection resources. */
193
+ export interface ConnectionCollection {
194
+ /** Collection of Connection resources. */
195
+ value?: Connection[];
196
+ /** The URL to the next set of resources. */
197
+ nextLink?: string;
198
+ }
199
+
200
+ /** Represents a reference to another resource. */
201
+ export interface ResourceReference {
202
+ /** Polymorphic discriminator, which specifies the different types this object can be */
203
+ kind:
204
+ | "ref:machine"
205
+ | "ref:port"
206
+ | "ref:machinewithhints"
207
+ | "ref:process"
208
+ | "ref:clientgroup";
209
+ /** Resource URI. */
210
+ id: string;
315
211
  /**
316
- * IPv4 address.
212
+ * Resource type qualifier.
213
+ * NOTE: This property will not be serialized. It can only be populated by the server.
317
214
  */
318
- ipAddress: string;
215
+ readonly type?: string;
319
216
  /**
320
- * IPv4 subnet mask. Default value: '255.255.255.255'.
217
+ * Resource name.
218
+ * NOTE: This property will not be serialized. It can only be populated by the server.
321
219
  */
322
- subnetMask?: string;
220
+ readonly name?: string;
323
221
  }
324
222
 
325
- /**
326
- * Describes an IPv6 network interface.
327
- */
328
- export interface Ipv6NetworkInterface {
329
- /**
330
- * IPv6 address.
331
- */
332
- ipAddress: string;
333
- }
334
-
335
- /**
336
- * Describes the network configuration of a machine.
337
- */
338
- export interface NetworkConfiguration {
339
- /**
340
- * IPv4 interfaces.
341
- */
342
- ipv4Interfaces?: Ipv4NetworkInterface[];
343
- /**
344
- * IPv6 interfaces.
345
- */
346
- ipv6Interfaces?: Ipv6NetworkInterface[];
347
- /**
348
- * Default IPv4 gateways.
349
- */
350
- defaultIpv4Gateways?: string[];
351
- /**
352
- * MAC addresses of all active network interfaces.
353
- */
354
- macAddresses?: string[];
355
- /**
356
- * DNS names associated with the machine.
357
- */
358
- dnsNames?: string[];
359
- }
360
-
361
- /**
362
- * Describes the configuration of the operating system of a machine.
363
- */
364
- export interface OperatingSystemConfiguration {
365
- /**
366
- * Windows, Linux, etc. Possible values include: 'unknown', 'windows', 'linux', 'solaris', 'aix'
367
- */
368
- family: OperatingSystemFamily;
369
- /**
370
- * Operating system full name.
371
- */
372
- fullName: string;
373
- /**
374
- * Operating system bitness (32-bit or 64-bit). Possible values include: '32bit', '64bit'
375
- */
376
- bitness: Bitness;
377
- }
378
-
379
- /**
380
- * Describes the virtualization-related configuration of a machine.
381
- */
382
- export interface VirtualMachineConfiguration {
383
- /**
384
- * Specifies the virtualization technology used by the machine (hyperv, vmware, etc.). Possible
385
- * values include: 'unknown', 'hyperv', 'ldom', 'lpar', 'vmware', 'virtualPc', 'xen'
386
- */
387
- virtualMachineType?: VirtualMachineType;
388
- /**
389
- * The unique identifier of the virtual machine as reported by the underlying virtualization
390
- * system.
391
- */
392
- nativeMachineId?: string;
393
- /**
394
- * The Name of the virtual machine.
395
- */
396
- virtualMachineName?: string;
397
- /**
398
- * The unique identifier of the host of this virtual machine as reported by the underlying
399
- * virtualization system.
400
- */
401
- nativeHostMachineId?: string;
402
- }
403
-
404
- /**
405
- * Describes the hypervisor configuration of a machine.
406
- */
407
- export interface HypervisorConfiguration {
408
- /**
409
- * Specifies the virtualization technology used by the hypervisor (hyperv, vmware, etc.).
410
- * Possible values include: 'unknown', 'hyperv'
411
- */
412
- hypervisorType?: HypervisorType;
413
- /**
414
- * The unique identifier of the hypervisor machine as reported by the underlying virtualization
415
- * system.
416
- */
417
- nativeHostMachineId?: string;
418
- }
419
-
420
- /**
421
- * Contains the possible cases for HostingConfiguration.
422
- */
423
- export type HostingConfigurationUnion = HostingConfiguration | AzureHostingConfiguration;
424
-
425
- /**
426
- * Describes the hosting configuration of a machine.
427
- */
428
- export interface HostingConfiguration {
429
- /**
430
- * Polymorphic Discriminator
431
- */
432
- kind: "HostingConfiguration";
433
- /**
434
- * The hosting provider of the VM. Possible values include: 'azure'
435
- */
436
- provider?: Provider;
437
- }
438
-
439
- /**
440
- * A machine resource represents a discovered computer system. It can be *monitored*, i.e., a
441
- * Dependency Agent is running on it, or *discovered*, i.e., its existence was inferred by
442
- * observing the data stream from monitored machines. As machines change, prior versions of the
443
- * machine resource are preserved and available for access. A machine is live during an interval of
444
- * time, if either its Dependency Agent has reported data during (parts) of that interval, or a
445
- * Dependency agent running on other machines has reported activity associated with the machine.
446
- */
447
- export interface Machine {
448
- /**
449
- * Polymorphic Discriminator
450
- */
451
- kind: "machine";
452
- /**
453
- * Resource identifier.
454
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
455
- */
456
- readonly id?: string;
457
- /**
458
- * Resource type.
459
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
460
- */
461
- readonly type?: string;
462
- /**
463
- * Resource name.
464
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
465
- */
466
- readonly name?: string;
467
- /**
468
- * Resource ETAG.
469
- */
470
- etag?: string;
471
- /**
472
- * UTC date and time when this resource was updated in the system.
473
- */
474
- timestamp?: Date;
475
- /**
476
- * Specifies whether the machine is actively monitored or discovered. Possible values include:
477
- * 'monitored', 'discovered'
478
- */
479
- monitoringState?: MonitoringState;
480
- /**
481
- * Specifies whether the machine is virtualized. Possible values include: 'unknown', 'physical',
482
- * 'virtual', 'hypervisor'
483
- */
484
- virtualizationState?: VirtualizationState;
485
- /**
486
- * Name to use for display purposes
487
- */
488
- displayName?: string;
489
- /**
490
- * Name of the machine, e.g., server
491
- */
492
- computerName?: string;
493
- /**
494
- * Fully-qualified name of the machine, e.g., server.company.com
495
- */
496
- fullyQualifiedDomainName?: string;
497
- /**
498
- * UTC date and time when the machine last booted
499
- */
500
- bootTime?: Date;
501
- /**
502
- * Timezone of the machine.
503
- */
504
- timezone?: Timezone;
505
- /**
506
- * Dependency Agent configuration.
507
- */
508
- agent?: AgentConfiguration;
509
- /**
510
- * Machine resources (memory, cpu, etc.).
511
- */
512
- resources?: MachineResourcesConfiguration;
513
- /**
514
- * Network configuration (ips, gateways, dns, etc.)
515
- */
516
- networking?: NetworkConfiguration;
517
- /**
518
- * Operating system information.
519
- */
520
- operatingSystem?: OperatingSystemConfiguration;
521
- /**
522
- * Virtualization-related configuration. Present only when `virtualizationState` is `virtual`.
523
- */
524
- virtualMachine?: VirtualMachineConfiguration;
525
- /**
526
- * Hypervisor-related configuration. Present only when 'virtualizationState' is `hypervisor`.
527
- */
528
- hypervisor?: HypervisorConfiguration;
529
- /**
530
- * Hosting-related configuration. Present if hosting information is discovered for the VM.
531
- */
532
- hosting?: HostingConfigurationUnion;
533
- }
534
-
535
- /**
536
- * A service hosted by a process.
537
- */
538
- export interface ProcessHostedService {
539
- /**
540
- * The name of the service.
541
- */
542
- name?: string;
543
- /**
544
- * The service's display name.
545
- */
546
- displayName?: string;
547
- }
548
-
549
- /**
550
- * Describes process metadata.
551
- */
552
- export interface ProcessDetails {
553
- /**
554
- * A unique identifier for a process, generally resilient to process restart, computed by Service
555
- * Map.
556
- */
557
- persistentKey?: string;
558
- /**
559
- * Represents the identity of the process pool assigned to the process by Dependency Agent.
560
- */
561
- poolId?: number;
562
- /**
563
- * The Operating System Process Identifier (PID) of the first process in this process pool.
564
- */
565
- firstPid?: number;
566
- /**
567
- * Process description.
568
- */
569
- description?: string;
570
- /**
571
- * Name of company that created the process executable.
572
- */
573
- companyName?: string;
574
- /**
575
- * Internal process name.
576
- */
577
- internalName?: string;
578
- /**
579
- * Product name.
580
- */
581
- productName?: string;
582
- /**
583
- * Product version.
584
- */
585
- productVersion?: string;
586
- /**
587
- * File version.
588
- */
589
- fileVersion?: string;
590
- /**
591
- * Process command line.
592
- */
593
- commandLine?: string;
594
- /**
595
- * Process executable path.
596
- */
597
- executablePath?: string;
598
- /**
599
- * Process workingDirectory.
600
- */
601
- workingDirectory?: string;
602
- /**
603
- * Collection of services hosted by this Process (Windows only).
604
- */
605
- services?: ProcessHostedService[];
606
- /**
607
- * Process zone name (Linux only).
608
- */
609
- zoneName?: string;
610
- }
611
-
612
- /**
613
- * Describes the user under which a process is running.
614
- */
615
- export interface ProcessUser {
616
- /**
617
- * User name under which the process is running.
618
- */
619
- userName?: string;
620
- /**
621
- * Domain name for the user.
622
- */
623
- userDomain?: string;
624
- }
625
-
626
- /**
627
- * Contains the possible cases for ProcessHostingConfiguration.
628
- */
629
- export type ProcessHostingConfigurationUnion = ProcessHostingConfiguration | AzureProcessHostingConfiguration;
630
-
631
- /**
632
- * Describes the hosting configuration of a process.
633
- */
634
- export interface ProcessHostingConfiguration {
635
- /**
636
- * Polymorphic Discriminator
637
- */
638
- kind: "ProcessHostingConfiguration";
639
- /**
640
- * The hosting provider of the VM. Possible values include: 'azure'
641
- */
642
- provider?: Provider1;
643
- }
644
-
645
- /**
646
- * A process resource represents a process running on a machine. The process may be actively
647
- * *monitored*, i.e., a Dependency Agent is running on its machine, or *discovered*, i.e., its
648
- * existence was inferred by observing the data stream from monitored machines. A process resource
649
- * represents a pool of actual operating system resources that share command lines and metadata. As
650
- * the process pool evolves over time, prior versions of the process resource are preserved and
651
- * available for access. A process is live during an interval of time, if that process is executing
652
- * during (parts) of that interval
653
- */
654
- export interface Process {
655
- /**
656
- * Polymorphic Discriminator
657
- */
658
- kind: "process";
659
- /**
660
- * Resource identifier.
661
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
662
- */
663
- readonly id?: string;
664
- /**
665
- * Resource type.
666
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
667
- */
668
- readonly type?: string;
669
- /**
670
- * Resource name.
671
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
672
- */
673
- readonly name?: string;
674
- /**
675
- * Resource ETAG.
676
- */
677
- etag?: string;
678
- /**
679
- * UTC date and time when this process resource was updated in the system
680
- */
681
- timestamp?: Date;
682
- /**
683
- * Specifies whether the process is actively monitored or discovered. Possible values include:
684
- * 'monitored', 'discovered'
685
- */
686
- monitoringState?: MonitoringState;
687
- /**
688
- * Machine hosting this process.
689
- */
690
- machine?: ResourceReferenceUnion;
691
- /**
692
- * The name of the process executable
693
- */
694
- executableName?: string;
695
- /**
696
- * Name to use for display purposes
697
- */
698
- displayName?: string;
699
- /**
700
- * UTC date and time when the process started
701
- */
702
- startTime?: Date;
703
- /**
704
- * The inferred role of this process based on its name, command line, etc. Possible values
705
- * include: 'webServer', 'appServer', 'databaseServer', 'ldapServer', 'smbServer'
706
- */
707
- role?: ProcessRole;
708
- /**
709
- * The name of the product or suite of the process. The group is determined by its executable
710
- * name, command line, etc.
711
- */
712
- group?: string;
713
- /**
714
- * Process metadata (command line, product name, etc.).
715
- */
716
- details?: ProcessDetails;
717
- /**
718
- * Information about the account under which the process is executing.
719
- */
720
- user?: ProcessUser;
721
- /**
722
- * Present only for a discovered process acting as a client of a monitored process/machine/port.
723
- * References the monitored process/machine/port that this process is a client of.
724
- */
725
- clientOf?: ResourceReferenceUnion;
726
- /**
727
- * Present only for a discovered process acting as a server. References the port on which the
728
- * discovered process is accepting.
729
- */
730
- acceptorOf?: ResourceReferenceUnion;
731
- /**
732
- * Information about the hosting environment
733
- */
734
- hosting?: ProcessHostingConfigurationUnion;
735
- }
736
-
737
- /**
738
- * A port resource represents a server port on a machine. The port may be actively *monitored*,
739
- * i.e., a Dependency Agent is running on its machine, or *discovered*, i.e., its existence was
740
- * inferred by observing the data stream from monitored machines. A port is live during an interval
741
- * of time, if that port had associated activity during (parts) of that interval.
742
- */
743
- export interface Port {
744
- /**
745
- * Polymorphic Discriminator
746
- */
747
- kind: "port";
748
- /**
749
- * Resource identifier.
750
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
751
- */
752
- readonly id?: string;
753
- /**
754
- * Resource type.
755
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
756
- */
757
- readonly type?: string;
758
- /**
759
- * Resource name.
760
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
761
- */
762
- readonly name?: string;
763
- /**
764
- * Resource ETAG.
765
- */
766
- etag?: string;
767
- /**
768
- * Specifies whether the port is actively monitored or discovered. Possible values include:
769
- * 'monitored', 'discovered'
770
- */
771
- monitoringState?: MonitoringState;
772
- /**
773
- * Machine hosting this port.
774
- */
775
- machine?: ResourceReferenceUnion;
776
- /**
777
- * Name to use for display purposes.
778
- */
779
- displayName?: string;
780
- /**
781
- * IP address associated with the port. At present only IPv4 addresses are supported.
782
- */
783
- ipAddress?: string;
784
- /**
785
- * Port number.
786
- */
787
- portNumber?: number;
788
- }
789
-
790
- /**
791
- * Represents a collection of clients of a resource. A client group can represent the clients of a
792
- * port, process, or a machine.
793
- */
794
- export interface ClientGroup {
795
- /**
796
- * Polymorphic Discriminator
797
- */
798
- kind: "clientGroup";
799
- /**
800
- * Resource identifier.
801
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
802
- */
803
- readonly id?: string;
804
- /**
805
- * Resource type.
806
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
807
- */
808
- readonly type?: string;
809
- /**
810
- * Resource name.
811
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
812
- */
813
- readonly name?: string;
814
- /**
815
- * Resource ETAG.
816
- */
817
- etag?: string;
818
- /**
819
- * Reference to the resource whose clients are represented by this group.
820
- */
821
- clientsOf: ResourceReferenceUnion;
822
- }
823
-
824
- /**
825
- * Represents a member of a client group
826
- */
827
- export interface ClientGroupMember extends Resource {
828
- /**
829
- * IP address.
830
- */
831
- ipAddress?: string;
832
- /**
833
- * Port into which this client connected
834
- */
835
- port?: PortReference;
836
- /**
837
- * Processes accepting on the above port that received connections from this client.
838
- */
839
- processes?: ProcessReference[];
840
- }
841
-
842
- /**
843
- * A user-defined logical grouping of machines.
844
- */
845
- export interface MachineGroup {
846
- /**
847
- * Polymorphic Discriminator
848
- */
849
- kind: "machineGroup";
850
- /**
851
- * Resource identifier.
852
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
853
- */
854
- readonly id?: string;
855
- /**
856
- * Resource type.
857
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
858
- */
859
- readonly type?: string;
860
- /**
861
- * Resource name.
862
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
863
- */
864
- readonly name?: string;
865
- /**
866
- * Resource ETAG.
867
- */
868
- etag?: string;
869
- /**
870
- * Type of the machine group. Possible values include: 'unknown', 'azure-cs', 'azure-sf',
871
- * 'azure-vmss', 'user-static'
872
- */
873
- groupType?: MachineGroupType;
874
- /**
875
- * User defined name for the group
876
- */
877
- displayName: string;
878
- /**
879
- * Count of machines in this group. The value of count may be bigger than the number of machines
880
- * in case of the group has been truncated due to exceeding the max number of machines a group
881
- * can handle.
882
- */
883
- count?: number;
884
- /**
885
- * References of the machines in this group. The hints within each reference do not represent the
886
- * current value of the corresponding fields. They are a snapshot created during the last time
887
- * the machine group was updated.
888
- */
889
- machines?: MachineReferenceWithHints[];
890
- }
891
-
892
- /**
893
- * Base for all resource summaries.
894
- */
895
- export interface Summary extends Resource {
896
- }
897
-
898
- /**
899
- * Machines by operating system.
900
- */
901
- export interface MachineCountsByOperatingSystem {
902
- /**
903
- * Number of live Windows machines.
904
- */
905
- windows: number;
906
- /**
907
- * Number of live Linux machines.
908
- */
909
- linux: number;
910
- }
911
-
912
- /**
913
- * A summary of the machines in the workspace.
914
- */
915
- export interface MachinesSummary extends Summary {
916
- /**
917
- * Summary interval start time.
918
- */
919
- startTime: Date;
920
- /**
921
- * Summary interval end time.
922
- */
923
- endTime: Date;
924
- /**
925
- * Total number of machines.
926
- */
927
- total: number;
928
- /**
929
- * Number of live machines.
930
- */
931
- live: number;
932
- /**
933
- * Machine counts by operating system.
934
- */
935
- os: MachineCountsByOperatingSystem;
936
- }
937
-
938
- /**
939
- * Contains the possible cases for Relationship.
940
- */
941
- export type RelationshipUnion = Relationship | Connection | Acceptor;
942
-
943
- /**
944
- * A typed relationship between two entities.
945
- */
946
- export interface Relationship {
947
- /**
948
- * Polymorphic Discriminator
949
- */
950
- kind: "Relationship";
951
- /**
952
- * Resource identifier.
953
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
954
- */
955
- readonly id?: string;
956
- /**
957
- * Resource type.
958
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
959
- */
960
- readonly type?: string;
961
- /**
962
- * Resource name.
963
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
964
- */
965
- readonly name?: string;
966
- }
967
-
968
- /**
969
- * A network connection.
970
- */
971
- export interface Connection {
972
- /**
973
- * Polymorphic Discriminator
974
- */
975
- kind: "rel:connection";
976
- /**
977
- * Resource identifier.
978
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
979
- */
980
- readonly id?: string;
981
- /**
982
- * Resource type.
983
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
984
- */
985
- readonly type?: string;
986
- /**
987
- * Resource name.
988
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
989
- */
990
- readonly name?: string;
991
- /**
992
- * Source resource of the relationship.
993
- */
223
+ /** Relationship properties. */
224
+ export interface RelationshipProperties {
225
+ /** Source resource of the relationship. */
994
226
  source: ResourceReferenceUnion;
995
- /**
996
- * Destination resource of the relationship.
997
- */
227
+ /** Destination resource of the relationship. */
998
228
  destination: ResourceReferenceUnion;
999
- /**
1000
- * Relationship start time.
1001
- */
229
+ /** Relationship start time. */
1002
230
  startTime?: Date;
1003
- /**
1004
- * Relationship end time.
1005
- */
231
+ /** Relationship end time. */
1006
232
  endTime?: Date;
1007
- /**
1008
- * Reference to the server port via which this connection has been established.
1009
- */
1010
- serverPort?: PortReference;
1011
- /**
1012
- * Specifies whether there are only successful, failed or a mixture of both connections
1013
- * represented by this resource. Possible values include: 'ok', 'failed', 'mixed'
1014
- */
1015
- failureState?: ConnectionFailureState;
1016
233
  }
1017
234
 
1018
- /**
1019
- * A process accepting on a port.
1020
- */
1021
- export interface Acceptor {
1022
- /**
1023
- * Polymorphic Discriminator
1024
- */
1025
- kind: "rel:acceptor";
1026
- /**
1027
- * Resource identifier.
1028
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
1029
- */
1030
- readonly id?: string;
1031
- /**
1032
- * Resource type.
1033
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
1034
- */
1035
- readonly type?: string;
1036
- /**
1037
- * Resource name.
1038
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
1039
- */
1040
- readonly name?: string;
1041
- /**
1042
- * Port being accepted.
1043
- */
1044
- source: PortReference;
1045
- /**
1046
- * Accepting process.
1047
- */
1048
- destination: ProcessReference;
1049
- /**
1050
- * Relationship start time.
1051
- */
1052
- startTime?: Date;
1053
- /**
1054
- * Relationship end time.
1055
- */
1056
- endTime?: Date;
235
+ /** Collection of Process resources. */
236
+ export interface ProcessCollection {
237
+ /** Collection of Process resources. */
238
+ value?: Process[];
239
+ /** The URL to the next set of resources. */
240
+ nextLink?: string;
1057
241
  }
1058
242
 
1059
- /**
1060
- * Base for all summaries.
1061
- */
1062
- export interface SummaryProperties {
1063
- /**
1064
- * Summary interval start time.
1065
- */
1066
- startTime: Date;
1067
- /**
1068
- * Summary interval end time.
1069
- */
1070
- endTime: Date;
243
+ /** Describes process metadata. */
244
+ export interface ProcessDetails {
245
+ /** A unique identifier for a process, generally resilient to process restart, computed by Service Map. */
246
+ persistentKey?: string;
247
+ /** Represents the identity of the process pool assigned to the process by Dependency Agent. */
248
+ poolId?: number;
249
+ /** The Operating System Process Identifier (PID) of the first process in this process pool. */
250
+ firstPid?: number;
251
+ /** Process description. */
252
+ description?: string;
253
+ /** Name of company that created the process executable. */
254
+ companyName?: string;
255
+ /** Internal process name. */
256
+ internalName?: string;
257
+ /** Product name. */
258
+ productName?: string;
259
+ /** Product version. */
260
+ productVersion?: string;
261
+ /** File version. */
262
+ fileVersion?: string;
263
+ /** Process command line. */
264
+ commandLine?: string;
265
+ /** Process executable path. */
266
+ executablePath?: string;
267
+ /** Process workingDirectory. */
268
+ workingDirectory?: string;
269
+ /** Collection of services hosted by this Process (Windows only). */
270
+ services?: ProcessHostedService[];
271
+ /** Process zone name (Linux only). */
272
+ zoneName?: string;
1071
273
  }
1072
274
 
1073
- /**
1074
- * Relationship properties.
1075
- */
1076
- export interface RelationshipProperties {
1077
- /**
1078
- * Source resource of the relationship.
1079
- */
1080
- source: ResourceReferenceUnion;
1081
- /**
1082
- * Destination resource of the relationship.
1083
- */
1084
- destination: ResourceReferenceUnion;
1085
- /**
1086
- * Relationship start time.
1087
- */
1088
- startTime?: Date;
1089
- /**
1090
- * Relationship end time.
1091
- */
1092
- endTime?: Date;
275
+ /** A service hosted by a process. */
276
+ export interface ProcessHostedService {
277
+ /** The name of the service. */
278
+ name?: string;
279
+ /** The service's display name. */
280
+ displayName?: string;
1093
281
  }
1094
282
 
1095
- /**
1096
- * Describes the VM image of a machine.
1097
- */
1098
- export interface ImageConfiguration {
1099
- /**
1100
- * Publisher of the VM image.
1101
- */
1102
- publisher?: string;
1103
- /**
1104
- * Offering of the VM image.
1105
- */
1106
- offering?: string;
1107
- /**
1108
- * SKU of the VM image.
1109
- */
1110
- sku?: string;
1111
- /**
1112
- * Version of the VM image.
1113
- */
1114
- version?: string;
283
+ /** Describes the user under which a process is running. */
284
+ export interface ProcessUser {
285
+ /** User name under which the process is running. */
286
+ userName?: string;
287
+ /** Domain name for the user. */
288
+ userDomain?: string;
1115
289
  }
1116
290
 
1117
- /**
1118
- * Describes an Azure Cloud Service
1119
- */
1120
- export interface AzureCloudServiceConfiguration {
1121
- /**
1122
- * Cloud Service name
1123
- */
1124
- name?: string;
1125
- /**
1126
- * Cloud Service instance identifier
1127
- */
1128
- instanceId?: string;
1129
- /**
1130
- * Cloud Service deployment identifier
1131
- */
1132
- deployment?: string;
1133
- /**
1134
- * Cloud Service role name
1135
- */
1136
- roleName?: string;
1137
- /**
1138
- * Used to specify type of an Azure Cloud Service role. Possible values include: 'unknown',
1139
- * 'worker', 'web'
1140
- */
1141
- roleType?: AzureCloudServiceRoleType;
291
+ /** Describes the hosting configuration of a process. */
292
+ export interface ProcessHostingConfiguration {
293
+ /** Polymorphic discriminator, which specifies the different types this object can be */
294
+ kind: "provider:azure";
295
+ /** The hosting provider of the VM. */
296
+ provider?: "azure";
1142
297
  }
1143
298
 
1144
- /**
1145
- * Describes an Azure Virtual Machine Scale Set
1146
- */
1147
- export interface AzureVmScaleSetConfiguration {
1148
- /**
1149
- * Virtual Machine Scale Set name
1150
- */
1151
- name?: string;
1152
- /**
1153
- * Virtual Machine Scale Set instance identifier
1154
- */
1155
- instanceId?: string;
1156
- /**
1157
- * Virtual Machine Scale Set deployment identifier
1158
- */
1159
- deployment?: string;
1160
- /**
1161
- * Unique identifier of the resource.
1162
- */
1163
- resourceId?: string;
299
+ /** Collection of Port resources. */
300
+ export interface PortCollection {
301
+ /** Collection of Port resources. */
302
+ value?: Port[];
303
+ /** The URL to the next set of resources. */
304
+ nextLink?: string;
1164
305
  }
1165
306
 
1166
- /**
1167
- * Describes an Azure Service Fabric Cluster
1168
- */
1169
- export interface AzureServiceFabricClusterConfiguration {
1170
- /**
1171
- * Service Fabric cluster name.
1172
- */
1173
- name?: string;
1174
- /**
1175
- * Service Fabric cluster identifier.
1176
- */
1177
- clusterId?: string;
307
+ /** Collection of Machine Group resources. */
308
+ export interface MachineGroupCollection {
309
+ /** Collection of Machine Group resources. */
310
+ value?: MachineGroup[];
311
+ /** The URL to the next set of resources. */
312
+ nextLink?: string;
1178
313
  }
1179
314
 
1180
- /**
1181
- * Provides information about how a machine is hosted in Azure
1182
- */
1183
- export interface AzureHostingConfiguration {
1184
- /**
1185
- * Polymorphic Discriminator
1186
- */
1187
- kind: "provider:azure";
1188
- /**
1189
- * The hosting provider of the VM. Possible values include: 'azure'
1190
- */
1191
- provider?: Provider;
1192
- /**
1193
- * Virtual Machine ID (unique identifier).
1194
- */
1195
- vmId?: string;
1196
- /**
1197
- * Geographical location of the VM.
1198
- */
1199
- location?: string;
1200
- /**
1201
- * Machine name according to the hosting provider.
1202
- */
1203
- name?: string;
1204
- /**
1205
- * Size of the VM.
1206
- */
1207
- size?: string;
1208
- /**
1209
- * Update domain of the VM.
1210
- */
1211
- updateDomain?: string;
1212
- /**
1213
- * Fault domain of the VM.
1214
- */
1215
- faultDomain?: string;
1216
- /**
1217
- * Subscription ID.
1218
- */
1219
- subscriptionId?: string;
1220
- /**
1221
- * Resource group name within the specified subscription.
1222
- */
1223
- resourceGroup?: string;
1224
- /**
1225
- * Unique identifier of the resource.
1226
- */
1227
- resourceId?: string;
1228
- /**
1229
- * Image of the machine.
1230
- */
1231
- image?: ImageConfiguration;
1232
- /**
1233
- * Contains information about machines hosted as an Azure Cloud Service
1234
- */
1235
- cloudService?: AzureCloudServiceConfiguration;
1236
- /**
1237
- * Contains information about machines hosted as an Azure Virtual Machine Scale Set
1238
- */
1239
- vmScaleSet?: AzureVmScaleSetConfiguration;
1240
- /**
1241
- * Contains information about machines that belong an Azure Service Fabric Cluster
1242
- */
1243
- serviceFabricCluster?: AzureServiceFabricClusterConfiguration;
315
+ /** Specifies the number of members in a client group. */
316
+ export interface ClientGroupMembersCount {
317
+ /** Membership interval start time. */
318
+ startTime: Date;
319
+ /** Membership interval start time. */
320
+ endTime: Date;
321
+ /** Client Group URI. */
322
+ groupId: string;
323
+ /** Number of members in the client group. Use this value together with the value of ```accuracy```. If accuracy is `exact` then the value represents the actual number of members in the cloud. When accuracy is `estimated`, the actual number of members is larger than the value of ```count```. */
324
+ count: number;
325
+ /** Accuracy of the reported count. */
326
+ accuracy: Accuracy;
1244
327
  }
1245
328
 
1246
- /**
1247
- * Describes the hosting configuration of a process when hosted on azure
1248
- */
1249
- export interface AzureProcessHostingConfiguration {
1250
- /**
1251
- * Polymorphic Discriminator
1252
- */
1253
- kind: "provider:azure";
1254
- /**
1255
- * The hosting provider of the VM. Possible values include: 'azure'
1256
- */
1257
- provider?: Provider1;
1258
- /**
1259
- * Contains information about the cloud service the process belongs to
1260
- */
1261
- cloudService?: AzureCloudServiceConfiguration;
329
+ /** Collection of ClientGroupMember resources. */
330
+ export interface ClientGroupMembersCollection {
331
+ /** Collection of ClientGroupMember resources. */
332
+ value?: ClientGroupMember[];
333
+ /** The URL to the next set of resources. */
334
+ nextLink?: string;
1262
335
  }
1263
336
 
1264
- /**
1265
- * The nodes (entities) of a map.
1266
- */
337
+ /** Specifies the contents of request to generate a map. */
338
+ export interface MapRequest {
339
+ /** Polymorphic discriminator, which specifies the different types this object can be */
340
+ kind:
341
+ | "map:single-machine-dependency"
342
+ | "MultipleMachinesMapRequest"
343
+ | "map:machine-list-dependency"
344
+ | "map:machine-group-dependency";
345
+ /** Map interval start time. */
346
+ startTime?: Date;
347
+ /** Map interval end time. */
348
+ endTime?: Date;
349
+ }
350
+
351
+ /** Specified the contents of a map response. */
352
+ export interface MapResponse {
353
+ /** Map interval start time. */
354
+ startTime: Date;
355
+ /** Map interval end time. */
356
+ endTime: Date;
357
+ /** The generated map. */
358
+ map: Map;
359
+ }
360
+
361
+ /** A map of resources and relationships between them. */
362
+ export interface Map {
363
+ /** The nodes (entities) of a map. */
364
+ nodes: MapNodes;
365
+ /** The edges (relationships) of a map. */
366
+ edges: MapEdges;
367
+ }
368
+
369
+ /** The nodes (entities) of a map. */
1267
370
  export interface MapNodes {
1268
- /**
1269
- * Machine resources.
1270
- */
371
+ /** Machine resources. */
1271
372
  machines?: Machine[];
1272
- /**
1273
- * Process resources.
1274
- */
373
+ /** Process resources. */
1275
374
  processes?: Process[];
1276
- /**
1277
- * Port resources.
1278
- */
375
+ /** Port resources. */
1279
376
  ports?: Port[];
1280
- /**
1281
- * Client Group resources.
1282
- */
377
+ /** Client Group resources. */
1283
378
  clientGroups?: ClientGroup[];
1284
379
  }
1285
380
 
1286
- /**
1287
- * The edges (relationships) of a map.
1288
- */
381
+ /** The edges (relationships) of a map. */
1289
382
  export interface MapEdges {
1290
- /**
1291
- * Network connections.
1292
- */
383
+ /** Network connections. */
1293
384
  connections?: Connection[];
1294
- /**
1295
- * Processes accepting on a port.
1296
- */
385
+ /** Processes accepting on a port. */
1297
386
  acceptors?: Acceptor[];
1298
387
  }
1299
388
 
1300
- /**
1301
- * A map of resources and relationships between them.
1302
- */
1303
- export interface Map {
1304
- nodes: MapNodes;
1305
- edges: MapEdges;
389
+ /** Machines by operating system. */
390
+ export interface MachineCountsByOperatingSystem {
391
+ /** Number of live Windows machines. */
392
+ windows: number;
393
+ /** Number of live Linux machines. */
394
+ linux: number;
1306
395
  }
1307
396
 
1308
- /**
1309
- * Specifies the contents of a check liveness response.
1310
- */
1311
- export interface Liveness {
1312
- /**
1313
- * Liveness interval start time.
1314
- */
397
+ /** Base for all summaries. */
398
+ export interface SummaryProperties {
399
+ /** Summary interval start time. */
1315
400
  startTime: Date;
1316
- /**
1317
- * Liveness interval end time.
1318
- */
401
+ /** Summary interval end time. */
1319
402
  endTime: Date;
1320
- /**
1321
- * `true` if the resource is live during [startTime, endTime], `false` otherwise
1322
- */
1323
- live: boolean;
1324
403
  }
1325
404
 
1326
- /**
1327
- * Contains the possible cases for MapRequest.
1328
- */
1329
- export type MapRequestUnion = MapRequest | SingleMachineDependencyMapRequest | MultipleMachinesMapRequestUnion;
1330
-
1331
- /**
1332
- * Specifies the contents of request to generate a map.
1333
- */
1334
- export interface MapRequest {
1335
- /**
1336
- * Polymorphic Discriminator
1337
- */
1338
- kind: "MapRequest";
1339
- /**
1340
- * Map interval start time.
1341
- */
1342
- startTime?: Date;
1343
- /**
1344
- * Map interval end time.
1345
- */
1346
- endTime?: Date;
405
+ /** Describes the VM image of a machine. */
406
+ export interface ImageConfiguration {
407
+ /** Publisher of the VM image. */
408
+ publisher?: string;
409
+ /** Offering of the VM image. */
410
+ offering?: string;
411
+ /** SKU of the VM image. */
412
+ sku?: string;
413
+ /** Version of the VM image. */
414
+ version?: string;
1347
415
  }
1348
416
 
1349
- /**
1350
- * Specifies the computation of a single server dependency map. A single server dependency map
1351
- * includes all direct dependencies of a given machine.
1352
- */
1353
- export interface SingleMachineDependencyMapRequest {
1354
- /**
1355
- * Polymorphic Discriminator
1356
- */
1357
- kind: "map:single-machine-dependency";
1358
- /**
1359
- * Map interval start time.
1360
- */
1361
- startTime?: Date;
1362
- /**
1363
- * Map interval end time.
1364
- */
1365
- endTime?: Date;
1366
- /**
1367
- * URI of machine resource for which to generate the map.
1368
- */
1369
- machineId: string;
417
+ /** Describes an Azure Cloud Service */
418
+ export interface AzureCloudServiceConfiguration {
419
+ /** Cloud Service name */
420
+ name?: string;
421
+ /** Cloud Service instance identifier */
422
+ instanceId?: string;
423
+ /** Cloud Service deployment identifier */
424
+ deployment?: string;
425
+ /** Cloud Service role name */
426
+ roleName?: string;
427
+ /** Used to specify type of an Azure Cloud Service role */
428
+ roleType?: AzureCloudServiceRoleType;
1370
429
  }
1371
430
 
1372
- /**
1373
- * Contains the possible cases for MultipleMachinesMapRequest.
1374
- */
1375
- export type MultipleMachinesMapRequestUnion = MultipleMachinesMapRequest | MachineListMapRequest | MachineGroupMapRequest;
431
+ /** Describes an Azure Virtual Machine Scale Set */
432
+ export interface AzureVmScaleSetConfiguration {
433
+ /** Virtual Machine Scale Set name */
434
+ name?: string;
435
+ /** Virtual Machine Scale Set instance identifier */
436
+ instanceId?: string;
437
+ /** Virtual Machine Scale Set deployment identifier */
438
+ deployment?: string;
439
+ /** Unique identifier of the resource. */
440
+ resourceId?: string;
441
+ }
1376
442
 
1377
- /**
1378
- * Provides a base class for describing map requests for a collection of machines
1379
- */
1380
- export interface MultipleMachinesMapRequest {
1381
- /**
1382
- * Polymorphic Discriminator
1383
- */
1384
- kind: "MultipleMachinesMapRequest";
1385
- /**
1386
- * Map interval start time.
1387
- */
1388
- startTime?: Date;
1389
- /**
1390
- * Map interval end time.
1391
- */
1392
- endTime?: Date;
1393
- /**
1394
- * If true, only processes between specified machines will be included. Any connections in or out
1395
- * of those processes will be included.
1396
- */
1397
- filterProcesses?: boolean;
443
+ /** Describes an Azure Service Fabric Cluster */
444
+ export interface AzureServiceFabricClusterConfiguration {
445
+ /** Service Fabric cluster name. */
446
+ name?: string;
447
+ /** Service Fabric cluster identifier. */
448
+ clusterId?: string;
1398
449
  }
1399
450
 
1400
- /**
1401
- * Specifies the computation of a one hope dependency map for a list of machines. The resulting map
1402
- * includes all direct dependencies for the specified machines.
1403
- */
1404
- export interface MachineListMapRequest {
1405
- /**
1406
- * Polymorphic Discriminator
1407
- */
1408
- kind: "map:machine-list-dependency";
1409
- /**
1410
- * Map interval start time.
1411
- */
1412
- startTime?: Date;
1413
- /**
1414
- * Map interval end time.
1415
- */
1416
- endTime?: Date;
451
+ /** Provides information about how a machine is hosted in Azure */
452
+ export type AzureHostingConfiguration = HostingConfiguration & {
453
+ /** Polymorphic discriminator, which specifies the different types this object can be */
454
+ kind: "provider:azure";
455
+ /** Virtual Machine ID (unique identifier). */
456
+ vmId?: string;
457
+ /** Geographical location of the VM. */
458
+ location?: string;
459
+ /** Machine name according to the hosting provider. */
460
+ name?: string;
461
+ /** Size of the VM. */
462
+ size?: string;
463
+ /** Update domain of the VM. */
464
+ updateDomain?: string;
465
+ /** Fault domain of the VM. */
466
+ faultDomain?: string;
467
+ /** Subscription ID. */
468
+ subscriptionId?: string;
469
+ /** Resource group name within the specified subscription. */
470
+ resourceGroup?: string;
471
+ /** Unique identifier of the resource. */
472
+ resourceId?: string;
473
+ /** Image of the machine. */
474
+ image?: ImageConfiguration;
475
+ /** Contains information about machines hosted as an Azure Cloud Service */
476
+ cloudService?: AzureCloudServiceConfiguration;
477
+ /** Contains information about machines hosted as an Azure Virtual Machine Scale Set */
478
+ vmScaleSet?: AzureVmScaleSetConfiguration;
479
+ /** Contains information about machines that belong an Azure Service Fabric Cluster */
480
+ serviceFabricCluster?: AzureServiceFabricClusterConfiguration;
481
+ };
482
+
483
+ /** Marker resource for the core Service Map resources */
484
+ export type CoreResource = Resource & {
485
+ /** Resource ETAG. */
486
+ etag?: string;
487
+ /** Additional resource type qualifier. */
488
+ kind: CoreResourceKind;
489
+ };
490
+
491
+ /** A typed relationship between two entities. */
492
+ export type Relationship = Resource & {
493
+ /** Additional resource type qualifier. */
494
+ kind: RelationshipKind;
495
+ };
496
+
497
+ /** Represents a member of a client group */
498
+ export type ClientGroupMember = Resource & {
499
+ /** IP address. */
500
+ ipAddress?: string;
501
+ /** Port into which this client connected */
502
+ port?: PortReference;
503
+ /** Processes accepting on the above port that received connections from this client. */
504
+ processes?: ProcessReference[];
505
+ };
506
+
507
+ /** Base for all resource summaries. */
508
+ export type Summary = Resource & {};
509
+
510
+ /** Reference to a machine. */
511
+ export type MachineReference = ResourceReference & {
512
+ /** Polymorphic discriminator, which specifies the different types this object can be */
513
+ kind: "ref:machine";
514
+ };
515
+
516
+ /** Reference to a port. */
517
+ export type PortReference = ResourceReference & {
518
+ /** Polymorphic discriminator, which specifies the different types this object can be */
519
+ kind: "ref:port";
1417
520
  /**
1418
- * If true, only processes between specified machines will be included. Any connections in or out
1419
- * of those processes will be included.
521
+ * Machine hosting the port.
522
+ * NOTE: This property will not be serialized. It can only be populated by the server.
1420
523
  */
1421
- filterProcesses?: boolean;
524
+ readonly machine?: MachineReference;
1422
525
  /**
1423
- * a list of URIs of machine resources for which to generate the map.
526
+ * IP address of the port.
527
+ * NOTE: This property will not be serialized. It can only be populated by the server.
1424
528
  */
1425
- machineIds: string[];
1426
- }
529
+ readonly ipAddress?: string;
530
+ /** Port number. */
531
+ portNumber?: number;
532
+ };
1427
533
 
1428
- /**
1429
- * Specifies the computation of a machine group dependency map. A machine group dependency map
1430
- * includes all direct dependencies the machines in the group.
1431
- */
1432
- export interface MachineGroupMapRequest {
1433
- /**
1434
- * Polymorphic Discriminator
1435
- */
1436
- kind: "map:machine-group-dependency";
534
+ /** A machine reference with a hint of the machine's name and operating system. */
535
+ export type MachineReferenceWithHints = ResourceReference & {
536
+ /** Polymorphic discriminator, which specifies the different types this object can be */
537
+ kind: "ref:machinewithhints";
1437
538
  /**
1438
- * Map interval start time.
539
+ * Last known display name.
540
+ * NOTE: This property will not be serialized. It can only be populated by the server.
1439
541
  */
1440
- startTime?: Date;
542
+ readonly displayNameHint?: string;
1441
543
  /**
1442
- * Map interval end time.
544
+ * Last known operating system family.
545
+ * NOTE: This property will not be serialized. It can only be populated by the server.
1443
546
  */
1444
- endTime?: Date;
547
+ readonly osFamilyHint?: OperatingSystemFamily;
548
+ };
549
+
550
+ /** Reference to a process. */
551
+ export type ProcessReference = ResourceReference & {
552
+ /** Polymorphic discriminator, which specifies the different types this object can be */
553
+ kind: "ref:process";
1445
554
  /**
1446
- * If true, only processes between specified machines will be included. Any connections in or out
1447
- * of those processes will be included.
555
+ * Machine hosting the process.
556
+ * NOTE: This property will not be serialized. It can only be populated by the server.
1448
557
  */
558
+ readonly machine?: MachineReference;
559
+ };
560
+
561
+ /** Reference to a client group. */
562
+ export type ClientGroupReference = ResourceReference & {
563
+ /** Polymorphic discriminator, which specifies the different types this object can be */
564
+ kind: "ref:clientgroup";
565
+ };
566
+
567
+ /** Properties for a connection resource. */
568
+ export type ConnectionProperties = RelationshipProperties & {
569
+ /** Reference to the server port via which this connection has been established. */
570
+ serverPort?: PortReference;
571
+ /** Specifies whether there are only successful, failed or a mixture of both connections represented by this resource. */
572
+ failureState?: ConnectionFailureState;
573
+ };
574
+
575
+ /** Describes the hosting configuration of a process when hosted on azure */
576
+ export type AzureProcessHostingConfiguration = ProcessHostingConfiguration & {
577
+ /** Polymorphic discriminator, which specifies the different types this object can be */
578
+ kind: "provider:azure";
579
+ /** Contains information about the cloud service the process belongs to */
580
+ cloudService?: AzureCloudServiceConfiguration;
581
+ };
582
+
583
+ /** Specifies the computation of a single server dependency map. A single server dependency map includes all direct dependencies of a given machine. */
584
+ export type SingleMachineDependencyMapRequest = MapRequest & {
585
+ /** Polymorphic discriminator, which specifies the different types this object can be */
586
+ kind: "map:single-machine-dependency";
587
+ /** URI of machine resource for which to generate the map. */
588
+ machineId: string;
589
+ };
590
+
591
+ /** Provides a base class for describing map requests for a collection of machines */
592
+ export type MultipleMachinesMapRequest = MapRequest & {
593
+ /** Polymorphic discriminator, which specifies the different types this object can be */
594
+ kind:
595
+ | "MultipleMachinesMapRequest"
596
+ | "map:machine-list-dependency"
597
+ | "map:machine-group-dependency";
598
+ /** If true, only processes between specified machines will be included. Any connections in or out of those processes will be included. */
1449
599
  filterProcesses?: boolean;
1450
- /**
1451
- * URI of machine group resource for which to generate the map.
1452
- */
1453
- machineGroupId: string;
1454
- }
600
+ };
1455
601
 
1456
- /**
1457
- * Specified the contents of a map response.
1458
- */
1459
- export interface MapResponse {
1460
- /**
1461
- * Map interval start time.
1462
- */
1463
- startTime: Date;
1464
- /**
1465
- * Map interval end time.
1466
- */
1467
- endTime: Date;
1468
- /**
1469
- * The generated map.
1470
- */
1471
- map: Map;
1472
- }
602
+ /** Summarizes machines in the workspace. */
603
+ export type MachinesSummaryProperties = SummaryProperties & {
604
+ /** Total number of machines. */
605
+ total: number;
606
+ /** Number of live machines. */
607
+ live: number;
608
+ /** Machine counts by operating system. */
609
+ os: MachineCountsByOperatingSystem;
610
+ };
1473
611
 
1474
- /**
1475
- * Specifies the number of members in a client group.
1476
- */
1477
- export interface ClientGroupMembersCount {
1478
- /**
1479
- * Membership interval start time.
1480
- */
1481
- startTime: Date;
1482
- /**
1483
- * Membership interval start time.
1484
- */
1485
- endTime: Date;
1486
- /**
1487
- * Client Group URI.
1488
- */
1489
- groupId: string;
1490
- /**
1491
- * Number of members in the client group. Use this value together with the value of
1492
- * ```accuracy```. If accuracy is `exact` then the value represents the actual number of members
1493
- * in the cloud. When accuracy is `estimated`, the actual number of members is larger than the
1494
- * value of ```count```.
1495
- */
1496
- count: number;
1497
- /**
1498
- * Accuracy of the reported count. Possible values include: 'actual', 'estimated'
1499
- */
1500
- accuracy: Accuracy;
1501
- }
612
+ /** A machine resource represents a discovered computer system. It can be *monitored*, i.e., a Dependency Agent is running on it, or *discovered*, i.e., its existence was inferred by observing the data stream from monitored machines. As machines change, prior versions of the machine resource are preserved and available for access. A machine is live during an interval of time, if either its Dependency Agent has reported data during (parts) of that interval, or a Dependency agent running on other machines has reported activity associated with the machine. */
613
+ export type Machine = CoreResource & {
614
+ /** UTC date and time when this resource was updated in the system. */
615
+ timestamp?: Date;
616
+ /** Specifies whether the machine is actively monitored or discovered. */
617
+ monitoringState?: MonitoringState;
618
+ /** Specifies whether the machine is virtualized. */
619
+ virtualizationState?: VirtualizationState;
620
+ /** Name to use for display purposes */
621
+ displayName?: string;
622
+ /** Name of the machine, e.g., server */
623
+ computerName?: string;
624
+ /** Fully-qualified name of the machine, e.g., server.company.com */
625
+ fullyQualifiedDomainName?: string;
626
+ /** UTC date and time when the machine last booted */
627
+ bootTime?: Date;
628
+ /** Timezone of the machine. */
629
+ timezone?: Timezone;
630
+ /** Dependency Agent configuration. */
631
+ agent?: AgentConfiguration;
632
+ /** Machine resources (memory, cpu, etc.). */
633
+ resources?: MachineResourcesConfiguration;
634
+ /** Network configuration (ips, gateways, dns, etc.) */
635
+ networking?: NetworkConfiguration;
636
+ /** Operating system information. */
637
+ operatingSystem?: OperatingSystemConfiguration;
638
+ /** Virtualization-related configuration. Present only when `virtualizationState` is `virtual`. */
639
+ virtualMachine?: VirtualMachineConfiguration;
640
+ /** Hypervisor-related configuration. Present only when 'virtualizationState' is `hypervisor`. */
641
+ hypervisor?: HypervisorConfiguration;
642
+ /** Hosting-related configuration. Present if hosting information is discovered for the VM. */
643
+ hosting?: HostingConfigurationUnion;
644
+ };
1502
645
 
1503
- /**
1504
- * Error details.
1505
- */
1506
- export interface ErrorModel {
1507
- /**
1508
- * Error code identifying the specific error.
1509
- */
1510
- code: string;
1511
- /**
1512
- * Error message in the caller's locale.
1513
- */
1514
- message?: string;
1515
- }
646
+ /** A process resource represents a process running on a machine. The process may be actively *monitored*, i.e., a Dependency Agent is running on its machine, or *discovered*, i.e., its existence was inferred by observing the data stream from monitored machines. A process resource represents a pool of actual operating system resources that share command lines and metadata. As the process pool evolves over time, prior versions of the process resource are preserved and available for access. A process is live during an interval of time, if that process is executing during (parts) of that interval */
647
+ export type Process = CoreResource & {
648
+ /** UTC date and time when this process resource was updated in the system */
649
+ timestamp?: Date;
650
+ /** Specifies whether the process is actively monitored or discovered. */
651
+ monitoringState?: MonitoringState;
652
+ /** Machine hosting this process. */
653
+ machine?: ResourceReferenceUnion;
654
+ /** The name of the process executable */
655
+ executableName?: string;
656
+ /** Name to use for display purposes */
657
+ displayName?: string;
658
+ /** UTC date and time when the process started */
659
+ startTime?: Date;
660
+ /** The inferred role of this process based on its name, command line, etc. */
661
+ role?: ProcessRole;
662
+ /** The name of the product or suite of the process. The group is determined by its executable name, command line, etc. */
663
+ group?: string;
664
+ /** Process metadata (command line, product name, etc.). */
665
+ details?: ProcessDetails;
666
+ /** Information about the account under which the process is executing. */
667
+ user?: ProcessUser;
668
+ /** Present only for a discovered process acting as a client of a monitored process/machine/port. References the monitored process/machine/port that this process is a client of. */
669
+ clientOf?: ResourceReferenceUnion;
670
+ /** Present only for a discovered process acting as a server. References the port on which the discovered process is accepting. */
671
+ acceptorOf?: ResourceReferenceUnion;
672
+ /** Information about the hosting environment */
673
+ hosting?: ProcessHostingConfigurationUnion;
674
+ };
675
+
676
+ /** A port resource represents a server port on a machine. The port may be actively *monitored*, i.e., a Dependency Agent is running on its machine, or *discovered*, i.e., its existence was inferred by observing the data stream from monitored machines. A port is live during an interval of time, if that port had associated activity during (parts) of that interval. */
677
+ export type Port = CoreResource & {
678
+ /** Specifies whether the port is actively monitored or discovered. */
679
+ monitoringState?: MonitoringState;
680
+ /** Machine hosting this port. */
681
+ machine?: ResourceReferenceUnion;
682
+ /** Name to use for display purposes. */
683
+ displayName?: string;
684
+ /** IP address associated with the port. At present only IPv4 addresses are supported. */
685
+ ipAddress?: string;
686
+ /** Port number. */
687
+ portNumber?: number;
688
+ };
1516
689
 
1517
- /**
1518
- * An error response from the API.
1519
- */
1520
- export interface ErrorResponse {
1521
- /**
1522
- * Error information.
1523
- */
1524
- error: ErrorModel;
1525
- }
690
+ /** A user-defined logical grouping of machines. */
691
+ export type MachineGroup = CoreResource & {
692
+ /** Type of the machine group */
693
+ groupType?: MachineGroupType;
694
+ /** User defined name for the group */
695
+ displayName?: string;
696
+ /** Count of machines in this group. The value of count may be bigger than the number of machines in case of the group has been truncated due to exceeding the max number of machines a group can handle. */
697
+ count?: number;
698
+ /** References of the machines in this group. The hints within each reference do not represent the current value of the corresponding fields. They are a snapshot created during the last time the machine group was updated. */
699
+ machines?: MachineReferenceWithHints[];
700
+ };
1526
701
 
1527
- /**
1528
- * Optional Parameters.
1529
- */
1530
- export interface MachinesListByWorkspaceOptionalParams extends msRest.RequestOptionsBase {
1531
- /**
1532
- * Specifies whether to return live resources (true) or inventory resources (false). Defaults to
1533
- * **true**. When retrieving live resources, the start time (`startTime`) and end time
1534
- * (`endTime`) of the desired interval should be included. When retrieving inventory resources,
1535
- * an optional timestamp (`timestamp`) parameter can be specified to return the version of each
1536
- * resource closest (not-after) that timestamp. Default value: true.
1537
- */
1538
- live?: boolean;
1539
- /**
1540
- * UTC date and time specifying the start time of an interval. When not specified the service
1541
- * uses DateTime.UtcNow - 10m
1542
- */
702
+ /** Represents a collection of clients of a resource. A client group can represent the clients of a port, process, or a machine. */
703
+ export type ClientGroup = CoreResource & {
704
+ /** Reference to the resource whose clients are represented by this group. */
705
+ clientsOf?: ResourceReferenceUnion;
706
+ };
707
+
708
+ /** A network connection. */
709
+ export type Connection = Relationship & {
710
+ /** Source resource of the relationship. */
711
+ source?: ResourceReferenceUnion;
712
+ /** Destination resource of the relationship. */
713
+ destination?: ResourceReferenceUnion;
714
+ /** Relationship start time. */
1543
715
  startTime?: Date;
1544
- /**
1545
- * UTC date and time specifying the end time of an interval. When not specified the service uses
1546
- * DateTime.UtcNow
1547
- */
716
+ /** Relationship end time. */
1548
717
  endTime?: Date;
1549
- /**
1550
- * UTC date and time specifying a time instance relative to which to evaluate each machine
1551
- * resource. Only applies when `live=false`. When not specified, the service uses
1552
- * DateTime.UtcNow.
1553
- */
1554
- timestamp?: Date;
1555
- /**
1556
- * Page size to use. When not specified, the default page size is 100 records.
1557
- */
1558
- top?: number;
1559
- }
1560
-
1561
- /**
1562
- * Optional Parameters.
1563
- */
1564
- export interface MachinesGetOptionalParams extends msRest.RequestOptionsBase {
1565
- /**
1566
- * UTC date and time specifying a time instance relative to which to evaluate the machine
1567
- * resource. When not specified, the service uses DateTime.UtcNow.
1568
- */
1569
- timestamp?: Date;
1570
- }
718
+ /** Reference to the server port via which this connection has been established. */
719
+ serverPort?: PortReference;
720
+ /** Specifies whether there are only successful, failed or a mixture of both connections represented by this resource. */
721
+ failureState?: ConnectionFailureState;
722
+ };
1571
723
 
1572
- /**
1573
- * Optional Parameters.
1574
- */
1575
- export interface MachinesGetLivenessOptionalParams extends msRest.RequestOptionsBase {
1576
- /**
1577
- * UTC date and time specifying the start time of an interval. When not specified the service
1578
- * uses DateTime.UtcNow - 10m
1579
- */
724
+ /** A process accepting on a port. */
725
+ export type Acceptor = Relationship & {
726
+ /** Port being accepted. */
727
+ source?: PortReference;
728
+ /** Accepting process. */
729
+ destination?: ProcessReference;
730
+ /** Relationship start time. */
1580
731
  startTime?: Date;
1581
- /**
1582
- * UTC date and time specifying the end time of an interval. When not specified the service uses
1583
- * DateTime.UtcNow
1584
- */
732
+ /** Relationship end time. */
1585
733
  endTime?: Date;
1586
- }
734
+ };
1587
735
 
1588
- /**
1589
- * Optional Parameters.
1590
- */
1591
- export interface MachinesListConnectionsOptionalParams extends msRest.RequestOptionsBase {
1592
- /**
1593
- * UTC date and time specifying the start time of an interval. When not specified the service
1594
- * uses DateTime.UtcNow - 10m
1595
- */
736
+ /** A summary of the machines in the workspace. */
737
+ export type MachinesSummary = Summary & {
738
+ /** Summary interval start time. */
1596
739
  startTime?: Date;
1597
- /**
1598
- * UTC date and time specifying the end time of an interval. When not specified the service uses
1599
- * DateTime.UtcNow
1600
- */
740
+ /** Summary interval end time. */
1601
741
  endTime?: Date;
1602
- }
742
+ /** Total number of machines. */
743
+ total?: number;
744
+ /** Number of live machines. */
745
+ live?: number;
746
+ /** Machine counts by operating system. */
747
+ os?: MachineCountsByOperatingSystem;
748
+ };
1603
749
 
1604
- /**
1605
- * Optional Parameters.
1606
- */
1607
- export interface MachinesListProcessesOptionalParams extends msRest.RequestOptionsBase {
1608
- /**
1609
- * Specifies whether to return live resources (true) or inventory resources (false). Defaults to
1610
- * **true**. When retrieving live resources, the start time (`startTime`) and end time
1611
- * (`endTime`) of the desired interval should be included. When retrieving inventory resources,
1612
- * an optional timestamp (`timestamp`) parameter can be specified to return the version of each
1613
- * resource closest (not-after) that timestamp. Default value: true.
1614
- */
750
+ /** Specifies the computation of a one hope dependency map for a list of machines. The resulting map includes all direct dependencies for the specified machines. */
751
+ export type MachineListMapRequest = MultipleMachinesMapRequest & {
752
+ /** Polymorphic discriminator, which specifies the different types this object can be */
753
+ kind: "map:machine-list-dependency";
754
+ /** a list of URIs of machine resources for which to generate the map. */
755
+ machineIds: string[];
756
+ };
757
+
758
+ /** Specifies the computation of a machine group dependency map. A machine group dependency map includes all direct dependencies the machines in the group. */
759
+ export type MachineGroupMapRequest = MultipleMachinesMapRequest & {
760
+ /** Polymorphic discriminator, which specifies the different types this object can be */
761
+ kind: "map:machine-group-dependency";
762
+ /** URI of machine group resource for which to generate the map. */
763
+ machineGroupId: string;
764
+ };
765
+
766
+ /** Known values of {@link CoreResourceKind} that the service accepts. */
767
+ export enum KnownCoreResourceKind {
768
+ Machine = "machine",
769
+ Process = "process",
770
+ Port = "port",
771
+ ClientGroup = "clientGroup",
772
+ MachineGroup = "machineGroup"
773
+ }
774
+
775
+ /**
776
+ * Defines values for CoreResourceKind. \
777
+ * {@link KnownCoreResourceKind} can be used interchangeably with CoreResourceKind,
778
+ * this enum contains the known values that the service supports.
779
+ * ### Known values supported by the service
780
+ * **machine** \
781
+ * **process** \
782
+ * **port** \
783
+ * **clientGroup** \
784
+ * **machineGroup**
785
+ */
786
+ export type CoreResourceKind = string;
787
+
788
+ /** Known values of {@link ResourceReferenceKind} that the service accepts. */
789
+ export enum KnownResourceReferenceKind {
790
+ RefMachine = "ref:machine",
791
+ RefMachinewithhints = "ref:machinewithhints",
792
+ RefProcess = "ref:process",
793
+ RefPort = "ref:port",
794
+ RefOnmachine = "ref:onmachine",
795
+ RefClientgroup = "ref:clientgroup"
796
+ }
797
+
798
+ /**
799
+ * Defines values for ResourceReferenceKind. \
800
+ * {@link KnownResourceReferenceKind} can be used interchangeably with ResourceReferenceKind,
801
+ * this enum contains the known values that the service supports.
802
+ * ### Known values supported by the service
803
+ * **ref:machine** \
804
+ * **ref:machinewithhints** \
805
+ * **ref:process** \
806
+ * **ref:port** \
807
+ * **ref:onmachine** \
808
+ * **ref:clientgroup**
809
+ */
810
+ export type ResourceReferenceKind = string;
811
+
812
+ /** Known values of {@link RelationshipKind} that the service accepts. */
813
+ export enum KnownRelationshipKind {
814
+ RelConnection = "rel:connection",
815
+ RelAcceptor = "rel:acceptor"
816
+ }
817
+
818
+ /**
819
+ * Defines values for RelationshipKind. \
820
+ * {@link KnownRelationshipKind} can be used interchangeably with RelationshipKind,
821
+ * this enum contains the known values that the service supports.
822
+ * ### Known values supported by the service
823
+ * **rel:connection** \
824
+ * **rel:acceptor**
825
+ */
826
+ export type RelationshipKind = string;
827
+
828
+ /** Known values of {@link ProcessRole} that the service accepts. */
829
+ export enum KnownProcessRole {
830
+ WebServer = "webServer",
831
+ AppServer = "appServer",
832
+ DatabaseServer = "databaseServer",
833
+ LdapServer = "ldapServer",
834
+ SmbServer = "smbServer"
835
+ }
836
+
837
+ /**
838
+ * Defines values for ProcessRole. \
839
+ * {@link KnownProcessRole} can be used interchangeably with ProcessRole,
840
+ * this enum contains the known values that the service supports.
841
+ * ### Known values supported by the service
842
+ * **webServer** \
843
+ * **appServer** \
844
+ * **databaseServer** \
845
+ * **ldapServer** \
846
+ * **smbServer**
847
+ */
848
+ export type ProcessRole = string;
849
+
850
+ /** Known values of {@link MachineGroupType} that the service accepts. */
851
+ export enum KnownMachineGroupType {
852
+ Unknown = "unknown",
853
+ AzureCs = "azure-cs",
854
+ AzureSf = "azure-sf",
855
+ AzureVmss = "azure-vmss",
856
+ UserStatic = "user-static"
857
+ }
858
+
859
+ /**
860
+ * Defines values for MachineGroupType. \
861
+ * {@link KnownMachineGroupType} can be used interchangeably with MachineGroupType,
862
+ * this enum contains the known values that the service supports.
863
+ * ### Known values supported by the service
864
+ * **unknown** \
865
+ * **azure-cs** \
866
+ * **azure-sf** \
867
+ * **azure-vmss** \
868
+ * **user-static**
869
+ */
870
+ export type MachineGroupType = string;
871
+
872
+ /** Known values of {@link MapRequestKind} that the service accepts. */
873
+ export enum KnownMapRequestKind {
874
+ MapSingleMachineDependency = "map:single-machine-dependency",
875
+ MapMachineGroupDependency = "map:machine-group-dependency",
876
+ MapMachineListDependency = "map:machine-list-dependency"
877
+ }
878
+
879
+ /**
880
+ * Defines values for MapRequestKind. \
881
+ * {@link KnownMapRequestKind} can be used interchangeably with MapRequestKind,
882
+ * this enum contains the known values that the service supports.
883
+ * ### Known values supported by the service
884
+ * **map:single-machine-dependency** \
885
+ * **map:machine-group-dependency** \
886
+ * **map:machine-list-dependency**
887
+ */
888
+ export type MapRequestKind = string;
889
+ /** Defines values for MonitoringState. */
890
+ export type MonitoringState = "monitored" | "discovered";
891
+ /** Defines values for VirtualizationState. */
892
+ export type VirtualizationState =
893
+ | "unknown"
894
+ | "physical"
895
+ | "virtual"
896
+ | "hypervisor";
897
+ /** Defines values for MachineRebootStatus. */
898
+ export type MachineRebootStatus = "unknown" | "rebooted" | "notRebooted";
899
+ /** Defines values for Accuracy. */
900
+ export type Accuracy = "actual" | "estimated";
901
+ /** Defines values for OperatingSystemFamily. */
902
+ export type OperatingSystemFamily =
903
+ | "unknown"
904
+ | "windows"
905
+ | "linux"
906
+ | "solaris"
907
+ | "aix";
908
+ /** Defines values for Bitness. */
909
+ export type Bitness = "32bit" | "64bit";
910
+ /** Defines values for VirtualMachineType. */
911
+ export type VirtualMachineType =
912
+ | "unknown"
913
+ | "hyperv"
914
+ | "ldom"
915
+ | "lpar"
916
+ | "vmware"
917
+ | "virtualPc"
918
+ | "xen";
919
+ /** Defines values for HypervisorType. */
920
+ export type HypervisorType = "unknown" | "hyperv";
921
+ /** Defines values for ConnectionFailureState. */
922
+ export type ConnectionFailureState = "ok" | "failed" | "mixed";
923
+ /** Defines values for AzureCloudServiceRoleType. */
924
+ export type AzureCloudServiceRoleType = "unknown" | "worker" | "web";
925
+
926
+ /** Optional parameters. */
927
+ export interface MachinesListByWorkspaceOptionalParams
928
+ extends coreClient.OperationOptions {
929
+ /** Specifies whether to return live resources (true) or inventory resources (false). Defaults to **true**. When retrieving live resources, the start time (`startTime`) and end time (`endTime`) of the desired interval should be included. When retrieving inventory resources, an optional timestamp (`timestamp`) parameter can be specified to return the version of each resource closest (not-after) that timestamp. */
1615
930
  live?: boolean;
1616
- /**
1617
- * UTC date and time specifying the start time of an interval. When not specified the service
1618
- * uses DateTime.UtcNow - 10m
1619
- */
931
+ /** UTC date and time specifying the start time of an interval. When not specified the service uses DateTime.UtcNow - 10m */
1620
932
  startTime?: Date;
1621
- /**
1622
- * UTC date and time specifying the end time of an interval. When not specified the service uses
1623
- * DateTime.UtcNow
1624
- */
933
+ /** UTC date and time specifying the end time of an interval. When not specified the service uses DateTime.UtcNow */
1625
934
  endTime?: Date;
1626
- /**
1627
- * UTC date and time specifying a time instance relative to which to evaluate all process
1628
- * resource. Only applies when `live=false`. When not specified, the service uses
1629
- * DateTime.UtcNow.
1630
- */
935
+ /** UTC date and time specifying a time instance relative to which to evaluate each machine resource. Only applies when `live=false`. When not specified, the service uses DateTime.UtcNow. */
1631
936
  timestamp?: Date;
937
+ /** Page size to use. When not specified, the default page size is 100 records. */
938
+ top?: number;
1632
939
  }
1633
940
 
1634
- /**
1635
- * Optional Parameters.
1636
- */
1637
- export interface MachinesListPortsOptionalParams extends msRest.RequestOptionsBase {
1638
- /**
1639
- * UTC date and time specifying the start time of an interval. When not specified the service
1640
- * uses DateTime.UtcNow - 10m
1641
- */
1642
- startTime?: Date;
1643
- /**
1644
- * UTC date and time specifying the end time of an interval. When not specified the service uses
1645
- * DateTime.UtcNow
1646
- */
1647
- endTime?: Date;
1648
- }
1649
-
1650
- /**
1651
- * Optional Parameters.
1652
- */
1653
- export interface MachinesListMachineGroupMembershipOptionalParams extends msRest.RequestOptionsBase {
1654
- /**
1655
- * UTC date and time specifying the start time of an interval. When not specified the service
1656
- * uses DateTime.UtcNow - 10m
1657
- */
1658
- startTime?: Date;
1659
- /**
1660
- * UTC date and time specifying the end time of an interval. When not specified the service uses
1661
- * DateTime.UtcNow
1662
- */
1663
- endTime?: Date;
1664
- }
941
+ /** Contains response data for the listByWorkspace operation. */
942
+ export type MachinesListByWorkspaceResponse = MachineCollection;
1665
943
 
1666
- /**
1667
- * Optional Parameters.
1668
- */
1669
- export interface ProcessesGetOptionalParams extends msRest.RequestOptionsBase {
1670
- /**
1671
- * UTC date and time specifying a time instance relative to which to evaluate a resource. When
1672
- * not specified, the service uses DateTime.UtcNow.
1673
- */
944
+ /** Optional parameters. */
945
+ export interface MachinesGetOptionalParams extends coreClient.OperationOptions {
946
+ /** UTC date and time specifying a time instance relative to which to evaluate the machine resource. When not specified, the service uses DateTime.UtcNow. */
1674
947
  timestamp?: Date;
1675
948
  }
1676
949
 
1677
- /**
1678
- * Optional Parameters.
1679
- */
1680
- export interface ProcessesGetLivenessOptionalParams extends msRest.RequestOptionsBase {
1681
- /**
1682
- * UTC date and time specifying the start time of an interval. When not specified the service
1683
- * uses DateTime.UtcNow - 10m
1684
- */
1685
- startTime?: Date;
1686
- /**
1687
- * UTC date and time specifying the end time of an interval. When not specified the service uses
1688
- * DateTime.UtcNow
1689
- */
1690
- endTime?: Date;
1691
- }
950
+ /** Contains response data for the get operation. */
951
+ export type MachinesGetResponse = Machine;
1692
952
 
1693
- /**
1694
- * Optional Parameters.
1695
- */
1696
- export interface ProcessesListAcceptingPortsOptionalParams extends msRest.RequestOptionsBase {
1697
- /**
1698
- * UTC date and time specifying the start time of an interval. When not specified the service
1699
- * uses DateTime.UtcNow - 10m
1700
- */
953
+ /** Optional parameters. */
954
+ export interface MachinesGetLivenessOptionalParams
955
+ extends coreClient.OperationOptions {
956
+ /** UTC date and time specifying the start time of an interval. When not specified the service uses DateTime.UtcNow - 10m */
1701
957
  startTime?: Date;
1702
- /**
1703
- * UTC date and time specifying the end time of an interval. When not specified the service uses
1704
- * DateTime.UtcNow
1705
- */
958
+ /** UTC date and time specifying the end time of an interval. When not specified the service uses DateTime.UtcNow */
1706
959
  endTime?: Date;
1707
960
  }
1708
961
 
1709
- /**
1710
- * Optional Parameters.
1711
- */
1712
- export interface ProcessesListConnectionsOptionalParams extends msRest.RequestOptionsBase {
1713
- /**
1714
- * UTC date and time specifying the start time of an interval. When not specified the service
1715
- * uses DateTime.UtcNow - 10m
1716
- */
1717
- startTime?: Date;
1718
- /**
1719
- * UTC date and time specifying the end time of an interval. When not specified the service uses
1720
- * DateTime.UtcNow
1721
- */
1722
- endTime?: Date;
1723
- }
962
+ /** Contains response data for the getLiveness operation. */
963
+ export type MachinesGetLivenessResponse = Liveness;
1724
964
 
1725
- /**
1726
- * Optional Parameters.
1727
- */
1728
- export interface PortsGetOptionalParams extends msRest.RequestOptionsBase {
1729
- /**
1730
- * UTC date and time specifying the start time of an interval. When not specified the service
1731
- * uses DateTime.UtcNow - 10m
1732
- */
965
+ /** Optional parameters. */
966
+ export interface MachinesListConnectionsOptionalParams
967
+ extends coreClient.OperationOptions {
968
+ /** UTC date and time specifying the start time of an interval. When not specified the service uses DateTime.UtcNow - 10m */
1733
969
  startTime?: Date;
1734
- /**
1735
- * UTC date and time specifying the end time of an interval. When not specified the service uses
1736
- * DateTime.UtcNow
1737
- */
970
+ /** UTC date and time specifying the end time of an interval. When not specified the service uses DateTime.UtcNow */
1738
971
  endTime?: Date;
1739
972
  }
1740
973
 
1741
- /**
1742
- * Optional Parameters.
1743
- */
1744
- export interface PortsGetLivenessOptionalParams extends msRest.RequestOptionsBase {
1745
- /**
1746
- * UTC date and time specifying the start time of an interval. When not specified the service
1747
- * uses DateTime.UtcNow - 10m
1748
- */
1749
- startTime?: Date;
1750
- /**
1751
- * UTC date and time specifying the end time of an interval. When not specified the service uses
1752
- * DateTime.UtcNow
1753
- */
1754
- endTime?: Date;
1755
- }
974
+ /** Contains response data for the listConnections operation. */
975
+ export type MachinesListConnectionsResponse = ConnectionCollection;
1756
976
 
1757
- /**
1758
- * Optional Parameters.
1759
- */
1760
- export interface PortsListAcceptingProcessesOptionalParams extends msRest.RequestOptionsBase {
1761
- /**
1762
- * UTC date and time specifying the start time of an interval. When not specified the service
1763
- * uses DateTime.UtcNow - 10m
1764
- */
977
+ /** Optional parameters. */
978
+ export interface MachinesListProcessesOptionalParams
979
+ extends coreClient.OperationOptions {
980
+ /** Specifies whether to return live resources (true) or inventory resources (false). Defaults to **true**. When retrieving live resources, the start time (`startTime`) and end time (`endTime`) of the desired interval should be included. When retrieving inventory resources, an optional timestamp (`timestamp`) parameter can be specified to return the version of each resource closest (not-after) that timestamp. */
981
+ live?: boolean;
982
+ /** UTC date and time specifying the start time of an interval. When not specified the service uses DateTime.UtcNow - 10m */
1765
983
  startTime?: Date;
1766
- /**
1767
- * UTC date and time specifying the end time of an interval. When not specified the service uses
1768
- * DateTime.UtcNow
1769
- */
984
+ /** UTC date and time specifying the end time of an interval. When not specified the service uses DateTime.UtcNow */
1770
985
  endTime?: Date;
986
+ /** UTC date and time specifying a time instance relative to which to evaluate all process resource. Only applies when `live=false`. When not specified, the service uses DateTime.UtcNow. */
987
+ timestamp?: Date;
1771
988
  }
1772
989
 
1773
- /**
1774
- * Optional Parameters.
1775
- */
1776
- export interface PortsListConnectionsOptionalParams extends msRest.RequestOptionsBase {
1777
- /**
1778
- * UTC date and time specifying the start time of an interval. When not specified the service
1779
- * uses DateTime.UtcNow - 10m
1780
- */
1781
- startTime?: Date;
1782
- /**
1783
- * UTC date and time specifying the end time of an interval. When not specified the service uses
1784
- * DateTime.UtcNow
1785
- */
1786
- endTime?: Date;
1787
- }
990
+ /** Contains response data for the listProcesses operation. */
991
+ export type MachinesListProcessesResponse = ProcessCollection;
1788
992
 
1789
- /**
1790
- * Optional Parameters.
1791
- */
1792
- export interface ClientGroupsGetOptionalParams extends msRest.RequestOptionsBase {
1793
- /**
1794
- * UTC date and time specifying the start time of an interval. When not specified the service
1795
- * uses DateTime.UtcNow - 10m
1796
- */
993
+ /** Optional parameters. */
994
+ export interface MachinesListPortsOptionalParams
995
+ extends coreClient.OperationOptions {
996
+ /** UTC date and time specifying the start time of an interval. When not specified the service uses DateTime.UtcNow - 10m */
1797
997
  startTime?: Date;
1798
- /**
1799
- * UTC date and time specifying the end time of an interval. When not specified the service uses
1800
- * DateTime.UtcNow
1801
- */
998
+ /** UTC date and time specifying the end time of an interval. When not specified the service uses DateTime.UtcNow */
1802
999
  endTime?: Date;
1803
1000
  }
1804
1001
 
1805
- /**
1806
- * Optional Parameters.
1807
- */
1808
- export interface ClientGroupsGetMembersCountOptionalParams extends msRest.RequestOptionsBase {
1809
- /**
1810
- * UTC date and time specifying the start time of an interval. When not specified the service
1811
- * uses DateTime.UtcNow - 10m
1812
- */
1002
+ /** Contains response data for the listPorts operation. */
1003
+ export type MachinesListPortsResponse = PortCollection;
1004
+
1005
+ /** Optional parameters. */
1006
+ export interface MachinesListMachineGroupMembershipOptionalParams
1007
+ extends coreClient.OperationOptions {
1008
+ /** UTC date and time specifying the start time of an interval. When not specified the service uses DateTime.UtcNow - 10m */
1813
1009
  startTime?: Date;
1814
- /**
1815
- * UTC date and time specifying the end time of an interval. When not specified the service uses
1816
- * DateTime.UtcNow
1817
- */
1010
+ /** UTC date and time specifying the end time of an interval. When not specified the service uses DateTime.UtcNow */
1818
1011
  endTime?: Date;
1819
1012
  }
1820
1013
 
1821
- /**
1822
- * Optional Parameters.
1823
- */
1824
- export interface ClientGroupsListMembersOptionalParams extends msRest.RequestOptionsBase {
1825
- /**
1826
- * UTC date and time specifying the start time of an interval. When not specified the service
1827
- * uses DateTime.UtcNow - 10m
1828
- */
1014
+ /** Contains response data for the listMachineGroupMembership operation. */
1015
+ export type MachinesListMachineGroupMembershipResponse = MachineGroupCollection;
1016
+
1017
+ /** Optional parameters. */
1018
+ export interface MachinesListByWorkspaceNextOptionalParams
1019
+ extends coreClient.OperationOptions {
1020
+ /** Specifies whether to return live resources (true) or inventory resources (false). Defaults to **true**. When retrieving live resources, the start time (`startTime`) and end time (`endTime`) of the desired interval should be included. When retrieving inventory resources, an optional timestamp (`timestamp`) parameter can be specified to return the version of each resource closest (not-after) that timestamp. */
1021
+ live?: boolean;
1022
+ /** UTC date and time specifying the start time of an interval. When not specified the service uses DateTime.UtcNow - 10m */
1829
1023
  startTime?: Date;
1830
- /**
1831
- * UTC date and time specifying the end time of an interval. When not specified the service uses
1832
- * DateTime.UtcNow
1833
- */
1024
+ /** UTC date and time specifying the end time of an interval. When not specified the service uses DateTime.UtcNow */
1834
1025
  endTime?: Date;
1835
- /**
1836
- * Page size to use. When not specified, the default page size is 100 records.
1837
- */
1026
+ /** UTC date and time specifying a time instance relative to which to evaluate each machine resource. Only applies when `live=false`. When not specified, the service uses DateTime.UtcNow. */
1027
+ timestamp?: Date;
1028
+ /** Page size to use. When not specified, the default page size is 100 records. */
1838
1029
  top?: number;
1839
1030
  }
1840
1031
 
1841
- /**
1842
- * Optional Parameters.
1843
- */
1844
- export interface SummariesGetMachinesOptionalParams extends msRest.RequestOptionsBase {
1845
- /**
1846
- * UTC date and time specifying the start time of an interval. When not specified the service
1847
- * uses DateTime.UtcNow - 10m
1848
- */
1849
- startTime?: Date;
1850
- /**
1851
- * UTC date and time specifying the end time of an interval. When not specified the service uses
1852
- * DateTime.UtcNow
1853
- */
1854
- endTime?: Date;
1855
- }
1032
+ /** Contains response data for the listByWorkspaceNext operation. */
1033
+ export type MachinesListByWorkspaceNextResponse = MachineCollection;
1856
1034
 
1857
- /**
1858
- * Optional Parameters.
1859
- */
1860
- export interface MachineGroupsListByWorkspaceOptionalParams extends msRest.RequestOptionsBase {
1861
- /**
1862
- * UTC date and time specifying the start time of an interval. When not specified the service
1863
- * uses DateTime.UtcNow - 10m
1864
- */
1035
+ /** Optional parameters. */
1036
+ export interface MachinesListConnectionsNextOptionalParams
1037
+ extends coreClient.OperationOptions {
1038
+ /** UTC date and time specifying the start time of an interval. When not specified the service uses DateTime.UtcNow - 10m */
1865
1039
  startTime?: Date;
1866
- /**
1867
- * UTC date and time specifying the end time of an interval. When not specified the service uses
1868
- * DateTime.UtcNow
1869
- */
1040
+ /** UTC date and time specifying the end time of an interval. When not specified the service uses DateTime.UtcNow */
1870
1041
  endTime?: Date;
1871
1042
  }
1872
1043
 
1873
- /**
1874
- * Optional Parameters.
1875
- */
1876
- export interface MachineGroupsGetOptionalParams extends msRest.RequestOptionsBase {
1877
- /**
1878
- * UTC date and time specifying the start time of an interval. When not specified the service
1879
- * uses DateTime.UtcNow - 10m
1880
- */
1044
+ /** Contains response data for the listConnectionsNext operation. */
1045
+ export type MachinesListConnectionsNextResponse = ConnectionCollection;
1046
+
1047
+ /** Optional parameters. */
1048
+ export interface MachinesListProcessesNextOptionalParams
1049
+ extends coreClient.OperationOptions {
1050
+ /** Specifies whether to return live resources (true) or inventory resources (false). Defaults to **true**. When retrieving live resources, the start time (`startTime`) and end time (`endTime`) of the desired interval should be included. When retrieving inventory resources, an optional timestamp (`timestamp`) parameter can be specified to return the version of each resource closest (not-after) that timestamp. */
1051
+ live?: boolean;
1052
+ /** UTC date and time specifying the start time of an interval. When not specified the service uses DateTime.UtcNow - 10m */
1881
1053
  startTime?: Date;
1882
- /**
1883
- * UTC date and time specifying the end time of an interval. When not specified the service uses
1884
- * DateTime.UtcNow
1885
- */
1054
+ /** UTC date and time specifying the end time of an interval. When not specified the service uses DateTime.UtcNow */
1886
1055
  endTime?: Date;
1056
+ /** UTC date and time specifying a time instance relative to which to evaluate all process resource. Only applies when `live=false`. When not specified, the service uses DateTime.UtcNow. */
1057
+ timestamp?: Date;
1887
1058
  }
1888
1059
 
1889
- /**
1890
- * An interface representing ServicemapManagementClientOptions.
1891
- */
1892
- export interface ServicemapManagementClientOptions extends AzureServiceClientOptions {
1893
- baseUri?: string;
1894
- }
1895
-
1896
- /**
1897
- * @interface
1898
- * Collection of Machine resources.
1899
- * @extends Array<Machine>
1900
- */
1901
- export interface MachineCollection extends Array<Machine> {
1902
- /**
1903
- * The URL to the next set of resources.
1904
- */
1905
- nextLink?: string;
1906
- }
1060
+ /** Contains response data for the listProcessesNext operation. */
1061
+ export type MachinesListProcessesNextResponse = ProcessCollection;
1907
1062
 
1908
- /**
1909
- * @interface
1910
- * Collection of Connection resources.
1911
- * @extends Array<Connection>
1912
- */
1913
- export interface ConnectionCollection extends Array<Connection> {
1914
- /**
1915
- * The URL to the next set of resources.
1916
- */
1917
- nextLink?: string;
1063
+ /** Optional parameters. */
1064
+ export interface MachinesListPortsNextOptionalParams
1065
+ extends coreClient.OperationOptions {
1066
+ /** UTC date and time specifying the start time of an interval. When not specified the service uses DateTime.UtcNow - 10m */
1067
+ startTime?: Date;
1068
+ /** UTC date and time specifying the end time of an interval. When not specified the service uses DateTime.UtcNow */
1069
+ endTime?: Date;
1918
1070
  }
1919
1071
 
1920
- /**
1921
- * @interface
1922
- * Collection of Process resources.
1923
- * @extends Array<Process>
1924
- */
1925
- export interface ProcessCollection extends Array<Process> {
1926
- /**
1927
- * The URL to the next set of resources.
1928
- */
1929
- nextLink?: string;
1930
- }
1072
+ /** Contains response data for the listPortsNext operation. */
1073
+ export type MachinesListPortsNextResponse = PortCollection;
1931
1074
 
1932
- /**
1933
- * @interface
1934
- * Collection of Port resources.
1935
- * @extends Array<Port>
1936
- */
1937
- export interface PortCollection extends Array<Port> {
1938
- /**
1939
- * The URL to the next set of resources.
1940
- */
1941
- nextLink?: string;
1075
+ /** Optional parameters. */
1076
+ export interface MachinesListMachineGroupMembershipNextOptionalParams
1077
+ extends coreClient.OperationOptions {
1078
+ /** UTC date and time specifying the start time of an interval. When not specified the service uses DateTime.UtcNow - 10m */
1079
+ startTime?: Date;
1080
+ /** UTC date and time specifying the end time of an interval. When not specified the service uses DateTime.UtcNow */
1081
+ endTime?: Date;
1942
1082
  }
1943
1083
 
1944
- /**
1945
- * @interface
1946
- * Collection of Machine Group resources.
1947
- * @extends Array<MachineGroup>
1948
- */
1949
- export interface MachineGroupCollection extends Array<MachineGroup> {
1950
- /**
1951
- * The URL to the next set of resources.
1952
- */
1953
- nextLink?: string;
1954
- }
1084
+ /** Contains response data for the listMachineGroupMembershipNext operation. */
1085
+ export type MachinesListMachineGroupMembershipNextResponse = MachineGroupCollection;
1955
1086
 
1956
- /**
1957
- * @interface
1958
- * Collection of ClientGroupMember resources.
1959
- * @extends Array<ClientGroupMember>
1960
- */
1961
- export interface ClientGroupMembersCollection extends Array<ClientGroupMember> {
1962
- /**
1963
- * The URL to the next set of resources.
1964
- */
1965
- nextLink?: string;
1087
+ /** Optional parameters. */
1088
+ export interface ProcessesGetOptionalParams
1089
+ extends coreClient.OperationOptions {
1090
+ /** UTC date and time specifying a time instance relative to which to evaluate a resource. When not specified, the service uses DateTime.UtcNow. */
1091
+ timestamp?: Date;
1966
1092
  }
1967
1093
 
1968
- /**
1969
- * Defines values for OperatingSystemFamily.
1970
- * Possible values include: 'unknown', 'windows', 'linux', 'solaris', 'aix'
1971
- * @readonly
1972
- * @enum {string}
1973
- */
1974
- export type OperatingSystemFamily = 'unknown' | 'windows' | 'linux' | 'solaris' | 'aix';
1975
-
1976
- /**
1977
- * Defines values for MonitoringState.
1978
- * Possible values include: 'monitored', 'discovered'
1979
- * @readonly
1980
- * @enum {string}
1981
- */
1982
- export type MonitoringState = 'monitored' | 'discovered';
1983
-
1984
- /**
1985
- * Defines values for VirtualizationState.
1986
- * Possible values include: 'unknown', 'physical', 'virtual', 'hypervisor'
1987
- * @readonly
1988
- * @enum {string}
1989
- */
1990
- export type VirtualizationState = 'unknown' | 'physical' | 'virtual' | 'hypervisor';
1991
-
1992
- /**
1993
- * Defines values for MachineRebootStatus.
1994
- * Possible values include: 'unknown', 'rebooted', 'notRebooted'
1995
- * @readonly
1996
- * @enum {string}
1997
- */
1998
- export type MachineRebootStatus = 'unknown' | 'rebooted' | 'notRebooted';
1094
+ /** Contains response data for the get operation. */
1095
+ export type ProcessesGetResponse = Process;
1999
1096
 
2000
- /**
2001
- * Defines values for Accuracy.
2002
- * Possible values include: 'actual', 'estimated'
2003
- * @readonly
2004
- * @enum {string}
2005
- */
2006
- export type Accuracy = 'actual' | 'estimated';
1097
+ /** Optional parameters. */
1098
+ export interface ProcessesGetLivenessOptionalParams
1099
+ extends coreClient.OperationOptions {
1100
+ /** UTC date and time specifying the start time of an interval. When not specified the service uses DateTime.UtcNow - 10m */
1101
+ startTime?: Date;
1102
+ /** UTC date and time specifying the end time of an interval. When not specified the service uses DateTime.UtcNow */
1103
+ endTime?: Date;
1104
+ }
2007
1105
 
2008
- /**
2009
- * Defines values for Bitness.
2010
- * Possible values include: '32bit', '64bit'
2011
- * @readonly
2012
- * @enum {string}
2013
- */
2014
- export type Bitness = '32bit' | '64bit';
1106
+ /** Contains response data for the getLiveness operation. */
1107
+ export type ProcessesGetLivenessResponse = Liveness;
2015
1108
 
2016
- /**
2017
- * Defines values for VirtualMachineType.
2018
- * Possible values include: 'unknown', 'hyperv', 'ldom', 'lpar', 'vmware', 'virtualPc', 'xen'
2019
- * @readonly
2020
- * @enum {string}
2021
- */
2022
- export type VirtualMachineType = 'unknown' | 'hyperv' | 'ldom' | 'lpar' | 'vmware' | 'virtualPc' | 'xen';
1109
+ /** Optional parameters. */
1110
+ export interface ProcessesListAcceptingPortsOptionalParams
1111
+ extends coreClient.OperationOptions {
1112
+ /** UTC date and time specifying the start time of an interval. When not specified the service uses DateTime.UtcNow - 10m */
1113
+ startTime?: Date;
1114
+ /** UTC date and time specifying the end time of an interval. When not specified the service uses DateTime.UtcNow */
1115
+ endTime?: Date;
1116
+ }
2023
1117
 
2024
- /**
2025
- * Defines values for HypervisorType.
2026
- * Possible values include: 'unknown', 'hyperv'
2027
- * @readonly
2028
- * @enum {string}
2029
- */
2030
- export type HypervisorType = 'unknown' | 'hyperv';
1118
+ /** Contains response data for the listAcceptingPorts operation. */
1119
+ export type ProcessesListAcceptingPortsResponse = PortCollection;
2031
1120
 
2032
- /**
2033
- * Defines values for ProcessRole.
2034
- * Possible values include: 'webServer', 'appServer', 'databaseServer', 'ldapServer', 'smbServer'
2035
- * @readonly
2036
- * @enum {string}
2037
- */
2038
- export type ProcessRole = 'webServer' | 'appServer' | 'databaseServer' | 'ldapServer' | 'smbServer';
1121
+ /** Optional parameters. */
1122
+ export interface ProcessesListConnectionsOptionalParams
1123
+ extends coreClient.OperationOptions {
1124
+ /** UTC date and time specifying the start time of an interval. When not specified the service uses DateTime.UtcNow - 10m */
1125
+ startTime?: Date;
1126
+ /** UTC date and time specifying the end time of an interval. When not specified the service uses DateTime.UtcNow */
1127
+ endTime?: Date;
1128
+ }
2039
1129
 
2040
- /**
2041
- * Defines values for MachineGroupType.
2042
- * Possible values include: 'unknown', 'azure-cs', 'azure-sf', 'azure-vmss', 'user-static'
2043
- * @readonly
2044
- * @enum {string}
2045
- */
2046
- export type MachineGroupType = 'unknown' | 'azure-cs' | 'azure-sf' | 'azure-vmss' | 'user-static';
1130
+ /** Contains response data for the listConnections operation. */
1131
+ export type ProcessesListConnectionsResponse = ConnectionCollection;
2047
1132
 
2048
- /**
2049
- * Defines values for ConnectionFailureState.
2050
- * Possible values include: 'ok', 'failed', 'mixed'
2051
- * @readonly
2052
- * @enum {string}
2053
- */
2054
- export type ConnectionFailureState = 'ok' | 'failed' | 'mixed';
1133
+ /** Optional parameters. */
1134
+ export interface ProcessesListAcceptingPortsNextOptionalParams
1135
+ extends coreClient.OperationOptions {
1136
+ /** UTC date and time specifying the start time of an interval. When not specified the service uses DateTime.UtcNow - 10m */
1137
+ startTime?: Date;
1138
+ /** UTC date and time specifying the end time of an interval. When not specified the service uses DateTime.UtcNow */
1139
+ endTime?: Date;
1140
+ }
2055
1141
 
2056
- /**
2057
- * Defines values for AzureCloudServiceRoleType.
2058
- * Possible values include: 'unknown', 'worker', 'web'
2059
- * @readonly
2060
- * @enum {string}
2061
- */
2062
- export type AzureCloudServiceRoleType = 'unknown' | 'worker' | 'web';
1142
+ /** Contains response data for the listAcceptingPortsNext operation. */
1143
+ export type ProcessesListAcceptingPortsNextResponse = PortCollection;
2063
1144
 
2064
- /**
2065
- * Defines values for Provider.
2066
- * Possible values include: 'azure'
2067
- * @readonly
2068
- * @enum {string}
2069
- */
2070
- export type Provider = 'azure';
1145
+ /** Optional parameters. */
1146
+ export interface ProcessesListConnectionsNextOptionalParams
1147
+ extends coreClient.OperationOptions {
1148
+ /** UTC date and time specifying the start time of an interval. When not specified the service uses DateTime.UtcNow - 10m */
1149
+ startTime?: Date;
1150
+ /** UTC date and time specifying the end time of an interval. When not specified the service uses DateTime.UtcNow */
1151
+ endTime?: Date;
1152
+ }
2071
1153
 
2072
- /**
2073
- * Defines values for Provider1.
2074
- * Possible values include: 'azure'
2075
- * @readonly
2076
- * @enum {string}
2077
- */
2078
- export type Provider1 = 'azure';
1154
+ /** Contains response data for the listConnectionsNext operation. */
1155
+ export type ProcessesListConnectionsNextResponse = ConnectionCollection;
2079
1156
 
2080
- /**
2081
- * Contains response data for the listByWorkspace operation.
2082
- */
2083
- export type MachinesListByWorkspaceResponse = MachineCollection & {
2084
- /**
2085
- * The underlying HTTP response.
2086
- */
2087
- _response: msRest.HttpResponse & {
2088
- /**
2089
- * The response body as text (string format)
2090
- */
2091
- bodyAsText: string;
2092
-
2093
- /**
2094
- * The response body as parsed JSON or XML
2095
- */
2096
- parsedBody: MachineCollection;
2097
- };
2098
- };
1157
+ /** Optional parameters. */
1158
+ export interface PortsGetOptionalParams extends coreClient.OperationOptions {
1159
+ /** UTC date and time specifying the start time of an interval. When not specified the service uses DateTime.UtcNow - 10m */
1160
+ startTime?: Date;
1161
+ /** UTC date and time specifying the end time of an interval. When not specified the service uses DateTime.UtcNow */
1162
+ endTime?: Date;
1163
+ }
2099
1164
 
2100
- /**
2101
- * Contains response data for the get operation.
2102
- */
2103
- export type MachinesGetResponse = Machine & {
2104
- /**
2105
- * The underlying HTTP response.
2106
- */
2107
- _response: msRest.HttpResponse & {
2108
- /**
2109
- * The response body as text (string format)
2110
- */
2111
- bodyAsText: string;
2112
-
2113
- /**
2114
- * The response body as parsed JSON or XML
2115
- */
2116
- parsedBody: Machine;
2117
- };
2118
- };
1165
+ /** Contains response data for the get operation. */
1166
+ export type PortsGetResponse = Port;
2119
1167
 
2120
- /**
2121
- * Contains response data for the getLiveness operation.
2122
- */
2123
- export type MachinesGetLivenessResponse = Liveness & {
2124
- /**
2125
- * The underlying HTTP response.
2126
- */
2127
- _response: msRest.HttpResponse & {
2128
- /**
2129
- * The response body as text (string format)
2130
- */
2131
- bodyAsText: string;
2132
-
2133
- /**
2134
- * The response body as parsed JSON or XML
2135
- */
2136
- parsedBody: Liveness;
2137
- };
2138
- };
1168
+ /** Optional parameters. */
1169
+ export interface PortsGetLivenessOptionalParams
1170
+ extends coreClient.OperationOptions {
1171
+ /** UTC date and time specifying the start time of an interval. When not specified the service uses DateTime.UtcNow - 10m */
1172
+ startTime?: Date;
1173
+ /** UTC date and time specifying the end time of an interval. When not specified the service uses DateTime.UtcNow */
1174
+ endTime?: Date;
1175
+ }
2139
1176
 
2140
- /**
2141
- * Contains response data for the listConnections operation.
2142
- */
2143
- export type MachinesListConnectionsResponse = ConnectionCollection & {
2144
- /**
2145
- * The underlying HTTP response.
2146
- */
2147
- _response: msRest.HttpResponse & {
2148
- /**
2149
- * The response body as text (string format)
2150
- */
2151
- bodyAsText: string;
2152
-
2153
- /**
2154
- * The response body as parsed JSON or XML
2155
- */
2156
- parsedBody: ConnectionCollection;
2157
- };
2158
- };
1177
+ /** Contains response data for the getLiveness operation. */
1178
+ export type PortsGetLivenessResponse = Liveness;
2159
1179
 
2160
- /**
2161
- * Contains response data for the listProcesses operation.
2162
- */
2163
- export type MachinesListProcessesResponse = ProcessCollection & {
2164
- /**
2165
- * The underlying HTTP response.
2166
- */
2167
- _response: msRest.HttpResponse & {
2168
- /**
2169
- * The response body as text (string format)
2170
- */
2171
- bodyAsText: string;
2172
-
2173
- /**
2174
- * The response body as parsed JSON or XML
2175
- */
2176
- parsedBody: ProcessCollection;
2177
- };
2178
- };
1180
+ /** Optional parameters. */
1181
+ export interface PortsListAcceptingProcessesOptionalParams
1182
+ extends coreClient.OperationOptions {
1183
+ /** UTC date and time specifying the start time of an interval. When not specified the service uses DateTime.UtcNow - 10m */
1184
+ startTime?: Date;
1185
+ /** UTC date and time specifying the end time of an interval. When not specified the service uses DateTime.UtcNow */
1186
+ endTime?: Date;
1187
+ }
2179
1188
 
2180
- /**
2181
- * Contains response data for the listPorts operation.
2182
- */
2183
- export type MachinesListPortsResponse = PortCollection & {
2184
- /**
2185
- * The underlying HTTP response.
2186
- */
2187
- _response: msRest.HttpResponse & {
2188
- /**
2189
- * The response body as text (string format)
2190
- */
2191
- bodyAsText: string;
2192
-
2193
- /**
2194
- * The response body as parsed JSON or XML
2195
- */
2196
- parsedBody: PortCollection;
2197
- };
2198
- };
1189
+ /** Contains response data for the listAcceptingProcesses operation. */
1190
+ export type PortsListAcceptingProcessesResponse = ProcessCollection;
2199
1191
 
2200
- /**
2201
- * Contains response data for the listMachineGroupMembership operation.
2202
- */
2203
- export type MachinesListMachineGroupMembershipResponse = MachineGroupCollection & {
2204
- /**
2205
- * The underlying HTTP response.
2206
- */
2207
- _response: msRest.HttpResponse & {
2208
- /**
2209
- * The response body as text (string format)
2210
- */
2211
- bodyAsText: string;
2212
-
2213
- /**
2214
- * The response body as parsed JSON or XML
2215
- */
2216
- parsedBody: MachineGroupCollection;
2217
- };
2218
- };
1192
+ /** Optional parameters. */
1193
+ export interface PortsListConnectionsOptionalParams
1194
+ extends coreClient.OperationOptions {
1195
+ /** UTC date and time specifying the start time of an interval. When not specified the service uses DateTime.UtcNow - 10m */
1196
+ startTime?: Date;
1197
+ /** UTC date and time specifying the end time of an interval. When not specified the service uses DateTime.UtcNow */
1198
+ endTime?: Date;
1199
+ }
2219
1200
 
2220
- /**
2221
- * Contains response data for the listByWorkspaceNext operation.
2222
- */
2223
- export type MachinesListByWorkspaceNextResponse = MachineCollection & {
2224
- /**
2225
- * The underlying HTTP response.
2226
- */
2227
- _response: msRest.HttpResponse & {
2228
- /**
2229
- * The response body as text (string format)
2230
- */
2231
- bodyAsText: string;
2232
-
2233
- /**
2234
- * The response body as parsed JSON or XML
2235
- */
2236
- parsedBody: MachineCollection;
2237
- };
2238
- };
1201
+ /** Contains response data for the listConnections operation. */
1202
+ export type PortsListConnectionsResponse = ConnectionCollection;
2239
1203
 
2240
- /**
2241
- * Contains response data for the listConnectionsNext operation.
2242
- */
2243
- export type MachinesListConnectionsNextResponse = ConnectionCollection & {
2244
- /**
2245
- * The underlying HTTP response.
2246
- */
2247
- _response: msRest.HttpResponse & {
2248
- /**
2249
- * The response body as text (string format)
2250
- */
2251
- bodyAsText: string;
2252
-
2253
- /**
2254
- * The response body as parsed JSON or XML
2255
- */
2256
- parsedBody: ConnectionCollection;
2257
- };
2258
- };
1204
+ /** Optional parameters. */
1205
+ export interface PortsListAcceptingProcessesNextOptionalParams
1206
+ extends coreClient.OperationOptions {
1207
+ /** UTC date and time specifying the start time of an interval. When not specified the service uses DateTime.UtcNow - 10m */
1208
+ startTime?: Date;
1209
+ /** UTC date and time specifying the end time of an interval. When not specified the service uses DateTime.UtcNow */
1210
+ endTime?: Date;
1211
+ }
2259
1212
 
2260
- /**
2261
- * Contains response data for the listProcessesNext operation.
2262
- */
2263
- export type MachinesListProcessesNextResponse = ProcessCollection & {
2264
- /**
2265
- * The underlying HTTP response.
2266
- */
2267
- _response: msRest.HttpResponse & {
2268
- /**
2269
- * The response body as text (string format)
2270
- */
2271
- bodyAsText: string;
2272
-
2273
- /**
2274
- * The response body as parsed JSON or XML
2275
- */
2276
- parsedBody: ProcessCollection;
2277
- };
2278
- };
1213
+ /** Contains response data for the listAcceptingProcessesNext operation. */
1214
+ export type PortsListAcceptingProcessesNextResponse = ProcessCollection;
2279
1215
 
2280
- /**
2281
- * Contains response data for the listPortsNext operation.
2282
- */
2283
- export type MachinesListPortsNextResponse = PortCollection & {
2284
- /**
2285
- * The underlying HTTP response.
2286
- */
2287
- _response: msRest.HttpResponse & {
2288
- /**
2289
- * The response body as text (string format)
2290
- */
2291
- bodyAsText: string;
2292
-
2293
- /**
2294
- * The response body as parsed JSON or XML
2295
- */
2296
- parsedBody: PortCollection;
2297
- };
2298
- };
1216
+ /** Optional parameters. */
1217
+ export interface PortsListConnectionsNextOptionalParams
1218
+ extends coreClient.OperationOptions {
1219
+ /** UTC date and time specifying the start time of an interval. When not specified the service uses DateTime.UtcNow - 10m */
1220
+ startTime?: Date;
1221
+ /** UTC date and time specifying the end time of an interval. When not specified the service uses DateTime.UtcNow */
1222
+ endTime?: Date;
1223
+ }
2299
1224
 
2300
- /**
2301
- * Contains response data for the listMachineGroupMembershipNext operation.
2302
- */
2303
- export type MachinesListMachineGroupMembershipNextResponse = MachineGroupCollection & {
2304
- /**
2305
- * The underlying HTTP response.
2306
- */
2307
- _response: msRest.HttpResponse & {
2308
- /**
2309
- * The response body as text (string format)
2310
- */
2311
- bodyAsText: string;
2312
-
2313
- /**
2314
- * The response body as parsed JSON or XML
2315
- */
2316
- parsedBody: MachineGroupCollection;
2317
- };
2318
- };
1225
+ /** Contains response data for the listConnectionsNext operation. */
1226
+ export type PortsListConnectionsNextResponse = ConnectionCollection;
2319
1227
 
2320
- /**
2321
- * Contains response data for the get operation.
2322
- */
2323
- export type ProcessesGetResponse = Process & {
2324
- /**
2325
- * The underlying HTTP response.
2326
- */
2327
- _response: msRest.HttpResponse & {
2328
- /**
2329
- * The response body as text (string format)
2330
- */
2331
- bodyAsText: string;
2332
-
2333
- /**
2334
- * The response body as parsed JSON or XML
2335
- */
2336
- parsedBody: Process;
2337
- };
2338
- };
1228
+ /** Optional parameters. */
1229
+ export interface ClientGroupsGetOptionalParams
1230
+ extends coreClient.OperationOptions {
1231
+ /** UTC date and time specifying the start time of an interval. When not specified the service uses DateTime.UtcNow - 10m */
1232
+ startTime?: Date;
1233
+ /** UTC date and time specifying the end time of an interval. When not specified the service uses DateTime.UtcNow */
1234
+ endTime?: Date;
1235
+ }
2339
1236
 
2340
- /**
2341
- * Contains response data for the getLiveness operation.
2342
- */
2343
- export type ProcessesGetLivenessResponse = Liveness & {
2344
- /**
2345
- * The underlying HTTP response.
2346
- */
2347
- _response: msRest.HttpResponse & {
2348
- /**
2349
- * The response body as text (string format)
2350
- */
2351
- bodyAsText: string;
2352
-
2353
- /**
2354
- * The response body as parsed JSON or XML
2355
- */
2356
- parsedBody: Liveness;
2357
- };
2358
- };
1237
+ /** Contains response data for the get operation. */
1238
+ export type ClientGroupsGetResponse = ClientGroup;
2359
1239
 
2360
- /**
2361
- * Contains response data for the listAcceptingPorts operation.
2362
- */
2363
- export type ProcessesListAcceptingPortsResponse = PortCollection & {
2364
- /**
2365
- * The underlying HTTP response.
2366
- */
2367
- _response: msRest.HttpResponse & {
2368
- /**
2369
- * The response body as text (string format)
2370
- */
2371
- bodyAsText: string;
2372
-
2373
- /**
2374
- * The response body as parsed JSON or XML
2375
- */
2376
- parsedBody: PortCollection;
2377
- };
2378
- };
1240
+ /** Optional parameters. */
1241
+ export interface ClientGroupsGetMembersCountOptionalParams
1242
+ extends coreClient.OperationOptions {
1243
+ /** UTC date and time specifying the start time of an interval. When not specified the service uses DateTime.UtcNow - 10m */
1244
+ startTime?: Date;
1245
+ /** UTC date and time specifying the end time of an interval. When not specified the service uses DateTime.UtcNow */
1246
+ endTime?: Date;
1247
+ }
2379
1248
 
2380
- /**
2381
- * Contains response data for the listConnections operation.
2382
- */
2383
- export type ProcessesListConnectionsResponse = ConnectionCollection & {
2384
- /**
2385
- * The underlying HTTP response.
2386
- */
2387
- _response: msRest.HttpResponse & {
2388
- /**
2389
- * The response body as text (string format)
2390
- */
2391
- bodyAsText: string;
2392
-
2393
- /**
2394
- * The response body as parsed JSON or XML
2395
- */
2396
- parsedBody: ConnectionCollection;
2397
- };
2398
- };
1249
+ /** Contains response data for the getMembersCount operation. */
1250
+ export type ClientGroupsGetMembersCountResponse = ClientGroupMembersCount;
2399
1251
 
2400
- /**
2401
- * Contains response data for the listAcceptingPortsNext operation.
2402
- */
2403
- export type ProcessesListAcceptingPortsNextResponse = PortCollection & {
2404
- /**
2405
- * The underlying HTTP response.
2406
- */
2407
- _response: msRest.HttpResponse & {
2408
- /**
2409
- * The response body as text (string format)
2410
- */
2411
- bodyAsText: string;
2412
-
2413
- /**
2414
- * The response body as parsed JSON or XML
2415
- */
2416
- parsedBody: PortCollection;
2417
- };
2418
- };
1252
+ /** Optional parameters. */
1253
+ export interface ClientGroupsListMembersOptionalParams
1254
+ extends coreClient.OperationOptions {
1255
+ /** UTC date and time specifying the start time of an interval. When not specified the service uses DateTime.UtcNow - 10m */
1256
+ startTime?: Date;
1257
+ /** UTC date and time specifying the end time of an interval. When not specified the service uses DateTime.UtcNow */
1258
+ endTime?: Date;
1259
+ /** Page size to use. When not specified, the default page size is 100 records. */
1260
+ top?: number;
1261
+ }
2419
1262
 
2420
- /**
2421
- * Contains response data for the listConnectionsNext operation.
2422
- */
2423
- export type ProcessesListConnectionsNextResponse = ConnectionCollection & {
2424
- /**
2425
- * The underlying HTTP response.
2426
- */
2427
- _response: msRest.HttpResponse & {
2428
- /**
2429
- * The response body as text (string format)
2430
- */
2431
- bodyAsText: string;
2432
-
2433
- /**
2434
- * The response body as parsed JSON or XML
2435
- */
2436
- parsedBody: ConnectionCollection;
2437
- };
2438
- };
1263
+ /** Contains response data for the listMembers operation. */
1264
+ export type ClientGroupsListMembersResponse = ClientGroupMembersCollection;
2439
1265
 
2440
- /**
2441
- * Contains response data for the get operation.
2442
- */
2443
- export type PortsGetResponse = Port & {
2444
- /**
2445
- * The underlying HTTP response.
2446
- */
2447
- _response: msRest.HttpResponse & {
2448
- /**
2449
- * The response body as text (string format)
2450
- */
2451
- bodyAsText: string;
2452
-
2453
- /**
2454
- * The response body as parsed JSON or XML
2455
- */
2456
- parsedBody: Port;
2457
- };
2458
- };
1266
+ /** Optional parameters. */
1267
+ export interface ClientGroupsListMembersNextOptionalParams
1268
+ extends coreClient.OperationOptions {
1269
+ /** UTC date and time specifying the start time of an interval. When not specified the service uses DateTime.UtcNow - 10m */
1270
+ startTime?: Date;
1271
+ /** UTC date and time specifying the end time of an interval. When not specified the service uses DateTime.UtcNow */
1272
+ endTime?: Date;
1273
+ /** Page size to use. When not specified, the default page size is 100 records. */
1274
+ top?: number;
1275
+ }
2459
1276
 
2460
- /**
2461
- * Contains response data for the getLiveness operation.
2462
- */
2463
- export type PortsGetLivenessResponse = Liveness & {
2464
- /**
2465
- * The underlying HTTP response.
2466
- */
2467
- _response: msRest.HttpResponse & {
2468
- /**
2469
- * The response body as text (string format)
2470
- */
2471
- bodyAsText: string;
2472
-
2473
- /**
2474
- * The response body as parsed JSON or XML
2475
- */
2476
- parsedBody: Liveness;
2477
- };
2478
- };
1277
+ /** Contains response data for the listMembersNext operation. */
1278
+ export type ClientGroupsListMembersNextResponse = ClientGroupMembersCollection;
2479
1279
 
2480
- /**
2481
- * Contains response data for the listAcceptingProcesses operation.
2482
- */
2483
- export type PortsListAcceptingProcessesResponse = ProcessCollection & {
2484
- /**
2485
- * The underlying HTTP response.
2486
- */
2487
- _response: msRest.HttpResponse & {
2488
- /**
2489
- * The response body as text (string format)
2490
- */
2491
- bodyAsText: string;
2492
-
2493
- /**
2494
- * The response body as parsed JSON or XML
2495
- */
2496
- parsedBody: ProcessCollection;
2497
- };
2498
- };
1280
+ /** Optional parameters. */
1281
+ export interface MapsGenerateOptionalParams
1282
+ extends coreClient.OperationOptions {}
2499
1283
 
2500
- /**
2501
- * Contains response data for the listConnections operation.
2502
- */
2503
- export type PortsListConnectionsResponse = ConnectionCollection & {
2504
- /**
2505
- * The underlying HTTP response.
2506
- */
2507
- _response: msRest.HttpResponse & {
2508
- /**
2509
- * The response body as text (string format)
2510
- */
2511
- bodyAsText: string;
2512
-
2513
- /**
2514
- * The response body as parsed JSON or XML
2515
- */
2516
- parsedBody: ConnectionCollection;
2517
- };
2518
- };
1284
+ /** Contains response data for the generate operation. */
1285
+ export type MapsGenerateResponse = MapResponse;
2519
1286
 
2520
- /**
2521
- * Contains response data for the listAcceptingProcessesNext operation.
2522
- */
2523
- export type PortsListAcceptingProcessesNextResponse = ProcessCollection & {
2524
- /**
2525
- * The underlying HTTP response.
2526
- */
2527
- _response: msRest.HttpResponse & {
2528
- /**
2529
- * The response body as text (string format)
2530
- */
2531
- bodyAsText: string;
2532
-
2533
- /**
2534
- * The response body as parsed JSON or XML
2535
- */
2536
- parsedBody: ProcessCollection;
2537
- };
2538
- };
1287
+ /** Optional parameters. */
1288
+ export interface SummariesGetMachinesOptionalParams
1289
+ extends coreClient.OperationOptions {
1290
+ /** UTC date and time specifying the start time of an interval. When not specified the service uses DateTime.UtcNow - 10m */
1291
+ startTime?: Date;
1292
+ /** UTC date and time specifying the end time of an interval. When not specified the service uses DateTime.UtcNow */
1293
+ endTime?: Date;
1294
+ }
2539
1295
 
2540
- /**
2541
- * Contains response data for the listConnectionsNext operation.
2542
- */
2543
- export type PortsListConnectionsNextResponse = ConnectionCollection & {
2544
- /**
2545
- * The underlying HTTP response.
2546
- */
2547
- _response: msRest.HttpResponse & {
2548
- /**
2549
- * The response body as text (string format)
2550
- */
2551
- bodyAsText: string;
2552
-
2553
- /**
2554
- * The response body as parsed JSON or XML
2555
- */
2556
- parsedBody: ConnectionCollection;
2557
- };
2558
- };
1296
+ /** Contains response data for the getMachines operation. */
1297
+ export type SummariesGetMachinesResponse = MachinesSummary;
2559
1298
 
2560
- /**
2561
- * Contains response data for the get operation.
2562
- */
2563
- export type ClientGroupsGetResponse = ClientGroup & {
2564
- /**
2565
- * The underlying HTTP response.
2566
- */
2567
- _response: msRest.HttpResponse & {
2568
- /**
2569
- * The response body as text (string format)
2570
- */
2571
- bodyAsText: string;
2572
-
2573
- /**
2574
- * The response body as parsed JSON or XML
2575
- */
2576
- parsedBody: ClientGroup;
2577
- };
2578
- };
1299
+ /** Optional parameters. */
1300
+ export interface MachineGroupsListByWorkspaceOptionalParams
1301
+ extends coreClient.OperationOptions {
1302
+ /** UTC date and time specifying the start time of an interval. When not specified the service uses DateTime.UtcNow - 10m */
1303
+ startTime?: Date;
1304
+ /** UTC date and time specifying the end time of an interval. When not specified the service uses DateTime.UtcNow */
1305
+ endTime?: Date;
1306
+ }
2579
1307
 
2580
- /**
2581
- * Contains response data for the getMembersCount operation.
2582
- */
2583
- export type ClientGroupsGetMembersCountResponse = ClientGroupMembersCount & {
2584
- /**
2585
- * The underlying HTTP response.
2586
- */
2587
- _response: msRest.HttpResponse & {
2588
- /**
2589
- * The response body as text (string format)
2590
- */
2591
- bodyAsText: string;
2592
-
2593
- /**
2594
- * The response body as parsed JSON or XML
2595
- */
2596
- parsedBody: ClientGroupMembersCount;
2597
- };
2598
- };
1308
+ /** Contains response data for the listByWorkspace operation. */
1309
+ export type MachineGroupsListByWorkspaceResponse = MachineGroupCollection;
2599
1310
 
2600
- /**
2601
- * Contains response data for the listMembers operation.
2602
- */
2603
- export type ClientGroupsListMembersResponse = ClientGroupMembersCollection & {
2604
- /**
2605
- * The underlying HTTP response.
2606
- */
2607
- _response: msRest.HttpResponse & {
2608
- /**
2609
- * The response body as text (string format)
2610
- */
2611
- bodyAsText: string;
2612
-
2613
- /**
2614
- * The response body as parsed JSON or XML
2615
- */
2616
- parsedBody: ClientGroupMembersCollection;
2617
- };
2618
- };
1311
+ /** Optional parameters. */
1312
+ export interface MachineGroupsCreateOptionalParams
1313
+ extends coreClient.OperationOptions {}
2619
1314
 
2620
- /**
2621
- * Contains response data for the listMembersNext operation.
2622
- */
2623
- export type ClientGroupsListMembersNextResponse = ClientGroupMembersCollection & {
2624
- /**
2625
- * The underlying HTTP response.
2626
- */
2627
- _response: msRest.HttpResponse & {
2628
- /**
2629
- * The response body as text (string format)
2630
- */
2631
- bodyAsText: string;
2632
-
2633
- /**
2634
- * The response body as parsed JSON or XML
2635
- */
2636
- parsedBody: ClientGroupMembersCollection;
2637
- };
2638
- };
1315
+ /** Contains response data for the create operation. */
1316
+ export type MachineGroupsCreateResponse = MachineGroup;
2639
1317
 
2640
- /**
2641
- * Contains response data for the generate operation.
2642
- */
2643
- export type MapsGenerateResponse = MapResponse & {
2644
- /**
2645
- * The underlying HTTP response.
2646
- */
2647
- _response: msRest.HttpResponse & {
2648
- /**
2649
- * The response body as text (string format)
2650
- */
2651
- bodyAsText: string;
2652
-
2653
- /**
2654
- * The response body as parsed JSON or XML
2655
- */
2656
- parsedBody: MapResponse;
2657
- };
2658
- };
1318
+ /** Optional parameters. */
1319
+ export interface MachineGroupsGetOptionalParams
1320
+ extends coreClient.OperationOptions {
1321
+ /** UTC date and time specifying the start time of an interval. When not specified the service uses DateTime.UtcNow - 10m */
1322
+ startTime?: Date;
1323
+ /** UTC date and time specifying the end time of an interval. When not specified the service uses DateTime.UtcNow */
1324
+ endTime?: Date;
1325
+ }
2659
1326
 
2660
- /**
2661
- * Contains response data for the getMachines operation.
2662
- */
2663
- export type SummariesGetMachinesResponse = MachinesSummary & {
2664
- /**
2665
- * The underlying HTTP response.
2666
- */
2667
- _response: msRest.HttpResponse & {
2668
- /**
2669
- * The response body as text (string format)
2670
- */
2671
- bodyAsText: string;
2672
-
2673
- /**
2674
- * The response body as parsed JSON or XML
2675
- */
2676
- parsedBody: MachinesSummary;
2677
- };
2678
- };
1327
+ /** Contains response data for the get operation. */
1328
+ export type MachineGroupsGetResponse = MachineGroup;
2679
1329
 
2680
- /**
2681
- * Contains response data for the listByWorkspace operation.
2682
- */
2683
- export type MachineGroupsListByWorkspaceResponse = MachineGroupCollection & {
2684
- /**
2685
- * The underlying HTTP response.
2686
- */
2687
- _response: msRest.HttpResponse & {
2688
- /**
2689
- * The response body as text (string format)
2690
- */
2691
- bodyAsText: string;
2692
-
2693
- /**
2694
- * The response body as parsed JSON or XML
2695
- */
2696
- parsedBody: MachineGroupCollection;
2697
- };
2698
- };
1330
+ /** Optional parameters. */
1331
+ export interface MachineGroupsUpdateOptionalParams
1332
+ extends coreClient.OperationOptions {}
2699
1333
 
2700
- /**
2701
- * Contains response data for the create operation.
2702
- */
2703
- export type MachineGroupsCreateResponse = MachineGroup & {
2704
- /**
2705
- * The underlying HTTP response.
2706
- */
2707
- _response: msRest.HttpResponse & {
2708
- /**
2709
- * The response body as text (string format)
2710
- */
2711
- bodyAsText: string;
2712
-
2713
- /**
2714
- * The response body as parsed JSON or XML
2715
- */
2716
- parsedBody: MachineGroup;
2717
- };
2718
- };
1334
+ /** Contains response data for the update operation. */
1335
+ export type MachineGroupsUpdateResponse = MachineGroup;
2719
1336
 
2720
- /**
2721
- * Contains response data for the get operation.
2722
- */
2723
- export type MachineGroupsGetResponse = MachineGroup & {
2724
- /**
2725
- * The underlying HTTP response.
2726
- */
2727
- _response: msRest.HttpResponse & {
2728
- /**
2729
- * The response body as text (string format)
2730
- */
2731
- bodyAsText: string;
2732
-
2733
- /**
2734
- * The response body as parsed JSON or XML
2735
- */
2736
- parsedBody: MachineGroup;
2737
- };
2738
- };
1337
+ /** Optional parameters. */
1338
+ export interface MachineGroupsDeleteOptionalParams
1339
+ extends coreClient.OperationOptions {}
2739
1340
 
2740
- /**
2741
- * Contains response data for the update operation.
2742
- */
2743
- export type MachineGroupsUpdateResponse = MachineGroup & {
2744
- /**
2745
- * The underlying HTTP response.
2746
- */
2747
- _response: msRest.HttpResponse & {
2748
- /**
2749
- * The response body as text (string format)
2750
- */
2751
- bodyAsText: string;
2752
-
2753
- /**
2754
- * The response body as parsed JSON or XML
2755
- */
2756
- parsedBody: MachineGroup;
2757
- };
2758
- };
1341
+ /** Optional parameters. */
1342
+ export interface MachineGroupsListByWorkspaceNextOptionalParams
1343
+ extends coreClient.OperationOptions {
1344
+ /** UTC date and time specifying the start time of an interval. When not specified the service uses DateTime.UtcNow - 10m */
1345
+ startTime?: Date;
1346
+ /** UTC date and time specifying the end time of an interval. When not specified the service uses DateTime.UtcNow */
1347
+ endTime?: Date;
1348
+ }
2759
1349
 
2760
- /**
2761
- * Contains response data for the listByWorkspaceNext operation.
2762
- */
2763
- export type MachineGroupsListByWorkspaceNextResponse = MachineGroupCollection & {
2764
- /**
2765
- * The underlying HTTP response.
2766
- */
2767
- _response: msRest.HttpResponse & {
2768
- /**
2769
- * The response body as text (string format)
2770
- */
2771
- bodyAsText: string;
2772
-
2773
- /**
2774
- * The response body as parsed JSON or XML
2775
- */
2776
- parsedBody: MachineGroupCollection;
2777
- };
2778
- };
1350
+ /** Contains response data for the listByWorkspaceNext operation. */
1351
+ export type MachineGroupsListByWorkspaceNextResponse = MachineGroupCollection;
1352
+
1353
+ /** Optional parameters. */
1354
+ export interface ServiceMapOptionalParams
1355
+ extends coreClient.ServiceClientOptions {
1356
+ /** server parameter */
1357
+ $host?: string;
1358
+ /** Api Version */
1359
+ apiVersion?: string;
1360
+ /** Overrides client endpoint. */
1361
+ endpoint?: string;
1362
+ }