@azure/arm-servicemap 2.1.0 → 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 (328) hide show
  1. package/CHANGELOG.md +11 -0
  2. package/LICENSE +21 -0
  3. package/LICENSE.txt +21 -21
  4. package/README.md +98 -110
  5. package/dist/index.js +4469 -0
  6. package/dist/index.js.map +1 -0
  7. package/dist/index.min.js +1 -0
  8. package/dist/index.min.js.map +1 -0
  9. package/dist-esm/samples-dev/smClientGroupsGet.d.ts +2 -0
  10. package/dist-esm/samples-dev/smClientGroupsGet.d.ts.map +1 -0
  11. package/dist-esm/samples-dev/smClientGroupsGet.js +35 -0
  12. package/dist-esm/samples-dev/smClientGroupsGet.js.map +1 -0
  13. package/dist-esm/samples-dev/smClientGroupsGetMembersCountGet.d.ts +2 -0
  14. package/dist-esm/samples-dev/smClientGroupsGetMembersCountGet.d.ts.map +1 -0
  15. package/dist-esm/samples-dev/smClientGroupsGetMembersCountGet.js +35 -0
  16. package/dist-esm/samples-dev/smClientGroupsGetMembersCountGet.js.map +1 -0
  17. package/dist-esm/samples-dev/smClientGroupsListMembersGet.d.ts +2 -0
  18. package/dist-esm/samples-dev/smClientGroupsListMembersGet.d.ts.map +1 -0
  19. package/dist-esm/samples-dev/smClientGroupsListMembersGet.js +49 -0
  20. package/dist-esm/samples-dev/smClientGroupsListMembersGet.js.map +1 -0
  21. package/dist-esm/samples-dev/smMachineGroupsCreatePost.d.ts +2 -0
  22. package/dist-esm/samples-dev/smMachineGroupsCreatePost.d.ts.map +1 -0
  23. package/dist-esm/samples-dev/smMachineGroupsCreatePost.js +43 -0
  24. package/dist-esm/samples-dev/smMachineGroupsCreatePost.js.map +1 -0
  25. package/dist-esm/samples-dev/smMachineGroupsDelete.d.ts +2 -0
  26. package/dist-esm/samples-dev/smMachineGroupsDelete.d.ts.map +1 -0
  27. package/dist-esm/samples-dev/smMachineGroupsDelete.js +32 -0
  28. package/dist-esm/samples-dev/smMachineGroupsDelete.js.map +1 -0
  29. package/dist-esm/samples-dev/smMachineGroupsGet.d.ts +2 -0
  30. package/dist-esm/samples-dev/smMachineGroupsGet.d.ts.map +1 -0
  31. package/dist-esm/samples-dev/smMachineGroupsGet.js +32 -0
  32. package/dist-esm/samples-dev/smMachineGroupsGet.js.map +1 -0
  33. package/dist-esm/samples-dev/smMachineGroupsListByWorkspaceGet.d.ts +2 -0
  34. package/dist-esm/samples-dev/smMachineGroupsListByWorkspaceGet.d.ts.map +1 -0
  35. package/dist-esm/samples-dev/smMachineGroupsListByWorkspaceGet.js +48 -0
  36. package/dist-esm/samples-dev/smMachineGroupsListByWorkspaceGet.js.map +1 -0
  37. package/dist-esm/samples-dev/smMachineGroupsUpdatePut.d.ts +2 -0
  38. package/dist-esm/samples-dev/smMachineGroupsUpdatePut.d.ts.map +1 -0
  39. package/dist-esm/samples-dev/smMachineGroupsUpdatePut.js +44 -0
  40. package/dist-esm/samples-dev/smMachineGroupsUpdatePut.js.map +1 -0
  41. package/dist-esm/samples-dev/smMachinesGet.d.ts +2 -0
  42. package/dist-esm/samples-dev/smMachinesGet.d.ts.map +1 -0
  43. package/dist-esm/samples-dev/smMachinesGet.js +34 -0
  44. package/dist-esm/samples-dev/smMachinesGet.js.map +1 -0
  45. package/dist-esm/samples-dev/smMachinesGetLivenessGet.d.ts +2 -0
  46. package/dist-esm/samples-dev/smMachinesGetLivenessGet.d.ts.map +1 -0
  47. package/dist-esm/samples-dev/smMachinesGetLivenessGet.js +35 -0
  48. package/dist-esm/samples-dev/smMachinesGetLivenessGet.js.map +1 -0
  49. package/dist-esm/samples-dev/smMachinesListByWorkspaceGet.d.ts +2 -0
  50. package/dist-esm/samples-dev/smMachinesListByWorkspaceGet.d.ts.map +1 -0
  51. package/dist-esm/samples-dev/smMachinesListByWorkspaceGet.js +48 -0
  52. package/dist-esm/samples-dev/smMachinesListByWorkspaceGet.js.map +1 -0
  53. package/dist-esm/samples-dev/smMachinesListConnectionsGet.d.ts +2 -0
  54. package/dist-esm/samples-dev/smMachinesListConnectionsGet.d.ts.map +1 -0
  55. package/dist-esm/samples-dev/smMachinesListConnectionsGet.js +49 -0
  56. package/dist-esm/samples-dev/smMachinesListConnectionsGet.js.map +1 -0
  57. package/dist-esm/samples-dev/smMachinesListMachineGroupMembershipGet.d.ts +2 -0
  58. package/dist-esm/samples-dev/smMachinesListMachineGroupMembershipGet.d.ts.map +1 -0
  59. package/dist-esm/samples-dev/smMachinesListMachineGroupMembershipGet.js +49 -0
  60. package/dist-esm/samples-dev/smMachinesListMachineGroupMembershipGet.js.map +1 -0
  61. package/dist-esm/samples-dev/smMachinesListPortsGet.d.ts +2 -0
  62. package/dist-esm/samples-dev/smMachinesListPortsGet.d.ts.map +1 -0
  63. package/dist-esm/samples-dev/smMachinesListPortsGet.js +49 -0
  64. package/dist-esm/samples-dev/smMachinesListPortsGet.js.map +1 -0
  65. package/dist-esm/samples-dev/smMachinesListProcessesGet.d.ts +2 -0
  66. package/dist-esm/samples-dev/smMachinesListProcessesGet.d.ts.map +1 -0
  67. package/dist-esm/samples-dev/smMachinesListProcessesGet.js +49 -0
  68. package/dist-esm/samples-dev/smMachinesListProcessesGet.js.map +1 -0
  69. package/dist-esm/samples-dev/smMachinesPortsGet.d.ts +2 -0
  70. package/dist-esm/samples-dev/smMachinesPortsGet.d.ts.map +1 -0
  71. package/dist-esm/samples-dev/smMachinesPortsGet.js +36 -0
  72. package/dist-esm/samples-dev/smMachinesPortsGet.js.map +1 -0
  73. package/dist-esm/samples-dev/smMachinesPortsGetLivenessGet.d.ts +2 -0
  74. package/dist-esm/samples-dev/smMachinesPortsGetLivenessGet.d.ts.map +1 -0
  75. package/dist-esm/samples-dev/smMachinesPortsGetLivenessGet.js +36 -0
  76. package/dist-esm/samples-dev/smMachinesPortsGetLivenessGet.js.map +1 -0
  77. package/dist-esm/samples-dev/smMachinesPortsListAcceptingProcessesGet.d.ts +2 -0
  78. package/dist-esm/samples-dev/smMachinesPortsListAcceptingProcessesGet.d.ts.map +1 -0
  79. package/dist-esm/samples-dev/smMachinesPortsListAcceptingProcessesGet.js +50 -0
  80. package/dist-esm/samples-dev/smMachinesPortsListAcceptingProcessesGet.js.map +1 -0
  81. package/dist-esm/samples-dev/smMachinesPortsListConnectionsGet.d.ts +2 -0
  82. package/dist-esm/samples-dev/smMachinesPortsListConnectionsGet.d.ts.map +1 -0
  83. package/dist-esm/samples-dev/smMachinesPortsListConnectionsGet.js +50 -0
  84. package/dist-esm/samples-dev/smMachinesPortsListConnectionsGet.js.map +1 -0
  85. package/dist-esm/samples-dev/smMachinesProcessesGet.d.ts +2 -0
  86. package/dist-esm/samples-dev/smMachinesProcessesGet.d.ts.map +1 -0
  87. package/dist-esm/samples-dev/smMachinesProcessesGet.js +35 -0
  88. package/dist-esm/samples-dev/smMachinesProcessesGet.js.map +1 -0
  89. package/dist-esm/samples-dev/smMachinesProcessesGetLivenessGet.d.ts +2 -0
  90. package/dist-esm/samples-dev/smMachinesProcessesGetLivenessGet.d.ts.map +1 -0
  91. package/dist-esm/samples-dev/smMachinesProcessesGetLivenessGet.js +36 -0
  92. package/dist-esm/samples-dev/smMachinesProcessesGetLivenessGet.js.map +1 -0
  93. package/dist-esm/samples-dev/smMachinesProcessesListAcceptingPortsGet.d.ts +2 -0
  94. package/dist-esm/samples-dev/smMachinesProcessesListAcceptingPortsGet.d.ts.map +1 -0
  95. package/dist-esm/samples-dev/smMachinesProcessesListAcceptingPortsGet.js +50 -0
  96. package/dist-esm/samples-dev/smMachinesProcessesListAcceptingPortsGet.js.map +1 -0
  97. package/dist-esm/samples-dev/smMachinesProcessesListConnectionsGet.d.ts +2 -0
  98. package/dist-esm/samples-dev/smMachinesProcessesListConnectionsGet.d.ts.map +1 -0
  99. package/dist-esm/samples-dev/smMachinesProcessesListConnectionsGet.js +50 -0
  100. package/dist-esm/samples-dev/smMachinesProcessesListConnectionsGet.js.map +1 -0
  101. package/dist-esm/samples-dev/smMapsGenerateMachineGroupDependencyPost.d.ts +2 -0
  102. package/dist-esm/samples-dev/smMapsGenerateMachineGroupDependencyPost.d.ts.map +1 -0
  103. package/dist-esm/samples-dev/smMapsGenerateMachineGroupDependencyPost.js +38 -0
  104. package/dist-esm/samples-dev/smMapsGenerateMachineGroupDependencyPost.js.map +1 -0
  105. package/dist-esm/samples-dev/smMapsGenerateMachineListDependencyPost.d.ts +2 -0
  106. package/dist-esm/samples-dev/smMapsGenerateMachineListDependencyPost.d.ts.map +1 -0
  107. package/dist-esm/samples-dev/smMapsGenerateMachineListDependencyPost.js +41 -0
  108. package/dist-esm/samples-dev/smMapsGenerateMachineListDependencyPost.js.map +1 -0
  109. package/dist-esm/samples-dev/smMapsGenerateSingleMachineDependencyPost.d.ts +2 -0
  110. package/dist-esm/samples-dev/smMapsGenerateSingleMachineDependencyPost.d.ts.map +1 -0
  111. package/dist-esm/samples-dev/smMapsGenerateSingleMachineDependencyPost.js +37 -0
  112. package/dist-esm/samples-dev/smMapsGenerateSingleMachineDependencyPost.js.map +1 -0
  113. package/dist-esm/samples-dev/smSummariesGetMachinesGet.d.ts +2 -0
  114. package/dist-esm/samples-dev/smSummariesGetMachinesGet.d.ts.map +1 -0
  115. package/dist-esm/samples-dev/smSummariesGetMachinesGet.js +34 -0
  116. package/dist-esm/samples-dev/smSummariesGetMachinesGet.js.map +1 -0
  117. package/dist-esm/src/index.d.ts +5 -0
  118. package/dist-esm/src/index.d.ts.map +1 -0
  119. package/dist-esm/src/index.js +12 -0
  120. package/dist-esm/src/index.js.map +1 -0
  121. package/dist-esm/src/models/index.d.ts +1126 -0
  122. package/dist-esm/src/models/index.d.ts.map +1 -0
  123. package/dist-esm/src/models/index.js +58 -0
  124. package/dist-esm/src/models/index.js.map +1 -0
  125. package/dist-esm/src/models/mappers.d.ts +91 -0
  126. package/dist-esm/src/models/mappers.d.ts.map +1 -0
  127. package/{esm → dist-esm/src}/models/mappers.js +1005 -1054
  128. package/dist-esm/src/models/mappers.js.map +1 -0
  129. package/dist-esm/src/models/parameters.d.ts +22 -0
  130. package/dist-esm/src/models/parameters.d.ts.map +1 -0
  131. package/{esm → dist-esm/src}/models/parameters.js +124 -108
  132. package/dist-esm/src/models/parameters.js.map +1 -0
  133. package/dist-esm/src/operations/clientGroups.d.ts +57 -0
  134. package/dist-esm/src/operations/clientGroups.d.ts.map +1 -0
  135. package/dist-esm/src/operations/clientGroups.js +224 -0
  136. package/dist-esm/src/operations/clientGroups.js.map +1 -0
  137. package/{esm → dist-esm/src}/operations/index.d.ts +0 -0
  138. package/dist-esm/src/operations/index.d.ts.map +1 -0
  139. package/{esm → dist-esm/src}/operations/index.js +3 -5
  140. package/dist-esm/src/operations/index.js.map +1 -0
  141. package/dist-esm/src/operations/machineGroups.d.ts +71 -0
  142. package/dist-esm/src/operations/machineGroups.d.ts.map +1 -0
  143. package/dist-esm/src/operations/machineGroups.js +285 -0
  144. package/dist-esm/src/operations/machineGroups.js.map +1 -0
  145. package/dist-esm/src/operations/machines.d.ts +177 -0
  146. package/dist-esm/src/operations/machines.d.ts.map +1 -0
  147. package/dist-esm/src/operations/machines.js +738 -0
  148. package/dist-esm/src/operations/machines.js.map +1 -0
  149. package/dist-esm/src/operations/maps.d.ts +21 -0
  150. package/dist-esm/src/operations/maps.d.ts.map +1 -0
  151. package/dist-esm/src/operations/maps.js +56 -0
  152. package/dist-esm/src/operations/maps.js.map +1 -0
  153. package/dist-esm/src/operations/ports.d.ts +93 -0
  154. package/dist-esm/src/operations/ports.d.ts.map +1 -0
  155. package/dist-esm/src/operations/ports.js +376 -0
  156. package/dist-esm/src/operations/ports.js.map +1 -0
  157. package/dist-esm/src/operations/processes.d.ts +92 -0
  158. package/dist-esm/src/operations/processes.d.ts.map +1 -0
  159. package/dist-esm/src/operations/processes.js +371 -0
  160. package/dist-esm/src/operations/processes.js.map +1 -0
  161. package/dist-esm/src/operations/summaries.d.ts +20 -0
  162. package/dist-esm/src/operations/summaries.d.ts.map +1 -0
  163. package/dist-esm/src/operations/summaries.js +57 -0
  164. package/dist-esm/src/operations/summaries.js.map +1 -0
  165. package/dist-esm/src/operationsInterfaces/clientGroups.d.ts +30 -0
  166. package/dist-esm/src/operationsInterfaces/clientGroups.d.ts.map +1 -0
  167. package/dist-esm/src/operationsInterfaces/clientGroups.js +9 -0
  168. package/dist-esm/src/operationsInterfaces/clientGroups.js.map +1 -0
  169. package/dist-esm/src/operationsInterfaces/index.d.ts +8 -0
  170. package/dist-esm/src/operationsInterfaces/index.d.ts.map +1 -0
  171. package/dist-esm/src/operationsInterfaces/index.js +15 -0
  172. package/dist-esm/src/operationsInterfaces/index.js.map +1 -0
  173. package/dist-esm/src/operationsInterfaces/machineGroups.d.ts +46 -0
  174. package/dist-esm/src/operationsInterfaces/machineGroups.d.ts.map +1 -0
  175. package/dist-esm/src/operationsInterfaces/machineGroups.js +9 -0
  176. package/dist-esm/src/operationsInterfaces/machineGroups.js.map +1 -0
  177. package/dist-esm/src/operationsInterfaces/machines.d.ts +68 -0
  178. package/dist-esm/src/operationsInterfaces/machines.d.ts.map +1 -0
  179. package/dist-esm/src/operationsInterfaces/machines.js +9 -0
  180. package/dist-esm/src/operationsInterfaces/machines.js.map +1 -0
  181. package/dist-esm/src/operationsInterfaces/maps.d.ts +13 -0
  182. package/dist-esm/src/operationsInterfaces/maps.d.ts.map +1 -0
  183. package/dist-esm/src/operationsInterfaces/maps.js +9 -0
  184. package/dist-esm/src/operationsInterfaces/maps.js.map +1 -0
  185. package/dist-esm/src/operationsInterfaces/ports.d.ts +43 -0
  186. package/dist-esm/src/operationsInterfaces/ports.d.ts.map +1 -0
  187. package/dist-esm/src/operationsInterfaces/ports.js +9 -0
  188. package/dist-esm/src/operationsInterfaces/ports.js.map +1 -0
  189. package/dist-esm/src/operationsInterfaces/processes.d.ts +42 -0
  190. package/dist-esm/src/operationsInterfaces/processes.d.ts.map +1 -0
  191. package/dist-esm/src/operationsInterfaces/processes.js +9 -0
  192. package/dist-esm/src/operationsInterfaces/processes.js.map +1 -0
  193. package/dist-esm/src/operationsInterfaces/summaries.d.ts +12 -0
  194. package/dist-esm/src/operationsInterfaces/summaries.d.ts.map +1 -0
  195. package/dist-esm/src/operationsInterfaces/summaries.js +9 -0
  196. package/dist-esm/src/operationsInterfaces/summaries.js.map +1 -0
  197. package/dist-esm/src/serviceMap.d.ts +24 -0
  198. package/dist-esm/src/serviceMap.d.ts.map +1 -0
  199. package/dist-esm/src/serviceMap.js +57 -0
  200. package/dist-esm/src/serviceMap.js.map +1 -0
  201. package/dist-esm/test/sampleTest.d.ts +2 -0
  202. package/dist-esm/test/sampleTest.d.ts.map +1 -0
  203. package/dist-esm/test/sampleTest.js +40 -0
  204. package/dist-esm/test/sampleTest.js.map +1 -0
  205. package/package.json +79 -34
  206. package/review/arm-servicemap.api.md +1034 -0
  207. package/rollup.config.js +184 -27
  208. package/src/index.ts +12 -0
  209. package/src/models/index.ts +1362 -0
  210. package/{lib → src}/models/mappers.ts +1116 -1152
  211. package/{lib → src}/models/parameters.ts +151 -109
  212. package/src/operations/clientGroups.ts +310 -0
  213. package/{lib → src}/operations/index.ts +3 -5
  214. package/src/operations/machineGroups.ts +385 -0
  215. package/src/operations/machines.ts +1030 -0
  216. package/src/operations/maps.ts +77 -0
  217. package/src/operations/ports.ts +538 -0
  218. package/src/operations/processes.ts +533 -0
  219. package/src/operations/summaries.ts +76 -0
  220. package/src/operationsInterfaces/clientGroups.ts +61 -0
  221. package/src/operationsInterfaces/index.ts +15 -0
  222. package/src/operationsInterfaces/machineGroups.ts +90 -0
  223. package/src/operationsInterfaces/machines.ts +126 -0
  224. package/src/operationsInterfaces/maps.ts +30 -0
  225. package/src/operationsInterfaces/ports.ts +85 -0
  226. package/src/operationsInterfaces/processes.ts +84 -0
  227. package/src/operationsInterfaces/summaries.ts +27 -0
  228. package/src/serviceMap.ts +103 -0
  229. package/tsconfig.json +6 -5
  230. package/types/arm-servicemap.d.ts +1556 -0
  231. package/types/tsdoc-metadata.json +11 -0
  232. package/dist/arm-servicemap.js +0 -4248
  233. package/dist/arm-servicemap.js.map +0 -1
  234. package/dist/arm-servicemap.min.js +0 -1
  235. package/dist/arm-servicemap.min.js.map +0 -1
  236. package/esm/models/clientGroupsMappers.d.ts +0 -2
  237. package/esm/models/clientGroupsMappers.d.ts.map +0 -1
  238. package/esm/models/clientGroupsMappers.js +0 -11
  239. package/esm/models/clientGroupsMappers.js.map +0 -1
  240. package/esm/models/index.d.ts +0 -3005
  241. package/esm/models/index.d.ts.map +0 -1
  242. package/esm/models/index.js +0 -10
  243. package/esm/models/index.js.map +0 -1
  244. package/esm/models/machineGroupsMappers.d.ts +0 -2
  245. package/esm/models/machineGroupsMappers.d.ts.map +0 -1
  246. package/esm/models/machineGroupsMappers.js +0 -11
  247. package/esm/models/machineGroupsMappers.js.map +0 -1
  248. package/esm/models/machinesMappers.d.ts +0 -2
  249. package/esm/models/machinesMappers.d.ts.map +0 -1
  250. package/esm/models/machinesMappers.js +0 -11
  251. package/esm/models/machinesMappers.js.map +0 -1
  252. package/esm/models/mappers.d.ts +0 -91
  253. package/esm/models/mappers.d.ts.map +0 -1
  254. package/esm/models/mappers.js.map +0 -1
  255. package/esm/models/mapsMappers.d.ts +0 -2
  256. package/esm/models/mapsMappers.d.ts.map +0 -1
  257. package/esm/models/mapsMappers.js +0 -11
  258. package/esm/models/mapsMappers.js.map +0 -1
  259. package/esm/models/parameters.d.ts +0 -18
  260. package/esm/models/parameters.d.ts.map +0 -1
  261. package/esm/models/parameters.js.map +0 -1
  262. package/esm/models/portsMappers.d.ts +0 -2
  263. package/esm/models/portsMappers.d.ts.map +0 -1
  264. package/esm/models/portsMappers.js +0 -11
  265. package/esm/models/portsMappers.js.map +0 -1
  266. package/esm/models/processesMappers.d.ts +0 -2
  267. package/esm/models/processesMappers.d.ts.map +0 -1
  268. package/esm/models/processesMappers.js +0 -11
  269. package/esm/models/processesMappers.js.map +0 -1
  270. package/esm/models/summariesMappers.d.ts +0 -2
  271. package/esm/models/summariesMappers.d.ts.map +0 -1
  272. package/esm/models/summariesMappers.js +0 -11
  273. package/esm/models/summariesMappers.js.map +0 -1
  274. package/esm/operations/clientGroups.d.ts +0 -103
  275. package/esm/operations/clientGroups.d.ts.map +0 -1
  276. package/esm/operations/clientGroups.js +0 -159
  277. package/esm/operations/clientGroups.js.map +0 -1
  278. package/esm/operations/index.d.ts.map +0 -1
  279. package/esm/operations/index.js.map +0 -1
  280. package/esm/operations/machineGroups.d.ts +0 -151
  281. package/esm/operations/machineGroups.d.ts.map +0 -1
  282. package/esm/operations/machineGroups.js +0 -227
  283. package/esm/operations/machineGroups.js.map +0 -1
  284. package/esm/operations/machines.d.ts +0 -284
  285. package/esm/operations/machines.d.ts.map +0 -1
  286. package/esm/operations/machines.js +0 -404
  287. package/esm/operations/machines.js.map +0 -1
  288. package/esm/operations/maps.d.ts +0 -37
  289. package/esm/operations/maps.d.ts.map +0 -1
  290. package/esm/operations/maps.js +0 -64
  291. package/esm/operations/maps.js.map +0 -1
  292. package/esm/operations/ports.d.ts +0 -158
  293. package/esm/operations/ports.d.ts.map +0 -1
  294. package/esm/operations/ports.js +0 -227
  295. package/esm/operations/ports.js.map +0 -1
  296. package/esm/operations/processes.d.ts +0 -157
  297. package/esm/operations/processes.d.ts.map +0 -1
  298. package/esm/operations/processes.js +0 -226
  299. package/esm/operations/processes.js.map +0 -1
  300. package/esm/operations/summaries.d.ts +0 -34
  301. package/esm/operations/summaries.d.ts.map +0 -1
  302. package/esm/operations/summaries.js +0 -60
  303. package/esm/operations/summaries.js.map +0 -1
  304. package/esm/servicemapManagementClient.d.ts +0 -24
  305. package/esm/servicemapManagementClient.d.ts.map +0 -1
  306. package/esm/servicemapManagementClient.js +0 -39
  307. package/esm/servicemapManagementClient.js.map +0 -1
  308. package/esm/servicemapManagementClientContext.d.ts +0 -16
  309. package/esm/servicemapManagementClientContext.d.ts.map +0 -1
  310. package/esm/servicemapManagementClientContext.js +0 -56
  311. package/esm/servicemapManagementClientContext.js.map +0 -1
  312. package/lib/models/clientGroupsMappers.ts +0 -59
  313. package/lib/models/index.ts +0 -3156
  314. package/lib/models/machineGroupsMappers.ts +0 -58
  315. package/lib/models/machinesMappers.ts +0 -63
  316. package/lib/models/mapsMappers.ts +0 -66
  317. package/lib/models/portsMappers.ts +0 -60
  318. package/lib/models/processesMappers.ts +0 -60
  319. package/lib/models/summariesMappers.ts +0 -57
  320. package/lib/operations/clientGroups.ts +0 -272
  321. package/lib/operations/machineGroups.ts +0 -403
  322. package/lib/operations/machines.ts +0 -738
  323. package/lib/operations/maps.ts +0 -98
  324. package/lib/operations/ports.ts +0 -405
  325. package/lib/operations/processes.ts +0 -403
  326. package/lib/operations/summaries.ts +0 -89
  327. package/lib/servicemapManagementClient.ts +0 -54
  328. package/lib/servicemapManagementClientContext.ts +0 -62
@@ -0,0 +1,90 @@
1
+ /*
2
+ * Copyright (c) Microsoft Corporation.
3
+ * Licensed under the MIT License.
4
+ *
5
+ * Code generated by Microsoft (R) AutoRest Code Generator.
6
+ * Changes may cause incorrect behavior and will be lost if the code is regenerated.
7
+ */
8
+
9
+ import { PagedAsyncIterableIterator } from "@azure/core-paging";
10
+ import {
11
+ MachineGroup,
12
+ MachineGroupsListByWorkspaceOptionalParams,
13
+ MachineGroupsCreateOptionalParams,
14
+ MachineGroupsCreateResponse,
15
+ MachineGroupsGetOptionalParams,
16
+ MachineGroupsGetResponse,
17
+ MachineGroupsUpdateOptionalParams,
18
+ MachineGroupsUpdateResponse,
19
+ MachineGroupsDeleteOptionalParams
20
+ } from "../models";
21
+
22
+ /// <reference lib="esnext.asynciterable" />
23
+ /** Interface representing a MachineGroups. */
24
+ export interface MachineGroups {
25
+ /**
26
+ * Returns all machine groups during the specified time interval.
27
+ * @param resourceGroupName Resource group name within the specified subscriptionId.
28
+ * @param workspaceName OMS workspace containing the resources of interest.
29
+ * @param options The options parameters.
30
+ */
31
+ listByWorkspace(
32
+ resourceGroupName: string,
33
+ workspaceName: string,
34
+ options?: MachineGroupsListByWorkspaceOptionalParams
35
+ ): PagedAsyncIterableIterator<MachineGroup>;
36
+ /**
37
+ * Creates a new machine group.
38
+ * @param resourceGroupName Resource group name within the specified subscriptionId.
39
+ * @param workspaceName OMS workspace containing the resources of interest.
40
+ * @param machineGroup Machine Group resource to create.
41
+ * @param options The options parameters.
42
+ */
43
+ create(
44
+ resourceGroupName: string,
45
+ workspaceName: string,
46
+ machineGroup: MachineGroup,
47
+ options?: MachineGroupsCreateOptionalParams
48
+ ): Promise<MachineGroupsCreateResponse>;
49
+ /**
50
+ * Returns the specified machine group as it existed during the specified time interval.
51
+ * @param resourceGroupName Resource group name within the specified subscriptionId.
52
+ * @param workspaceName OMS workspace containing the resources of interest.
53
+ * @param machineGroupName Machine Group resource name.
54
+ * @param options The options parameters.
55
+ */
56
+ get(
57
+ resourceGroupName: string,
58
+ workspaceName: string,
59
+ machineGroupName: string,
60
+ options?: MachineGroupsGetOptionalParams
61
+ ): Promise<MachineGroupsGetResponse>;
62
+ /**
63
+ * Updates a machine group.
64
+ * @param resourceGroupName Resource group name within the specified subscriptionId.
65
+ * @param workspaceName OMS workspace containing the resources of interest.
66
+ * @param machineGroupName Machine Group resource name.
67
+ * @param machineGroup Machine Group resource to update.
68
+ * @param options The options parameters.
69
+ */
70
+ update(
71
+ resourceGroupName: string,
72
+ workspaceName: string,
73
+ machineGroupName: string,
74
+ machineGroup: MachineGroup,
75
+ options?: MachineGroupsUpdateOptionalParams
76
+ ): Promise<MachineGroupsUpdateResponse>;
77
+ /**
78
+ * Deletes the specified Machine Group.
79
+ * @param resourceGroupName Resource group name within the specified subscriptionId.
80
+ * @param workspaceName OMS workspace containing the resources of interest.
81
+ * @param machineGroupName Machine Group resource name.
82
+ * @param options The options parameters.
83
+ */
84
+ delete(
85
+ resourceGroupName: string,
86
+ workspaceName: string,
87
+ machineGroupName: string,
88
+ options?: MachineGroupsDeleteOptionalParams
89
+ ): Promise<void>;
90
+ }
@@ -0,0 +1,126 @@
1
+ /*
2
+ * Copyright (c) Microsoft Corporation.
3
+ * Licensed under the MIT License.
4
+ *
5
+ * Code generated by Microsoft (R) AutoRest Code Generator.
6
+ * Changes may cause incorrect behavior and will be lost if the code is regenerated.
7
+ */
8
+
9
+ import { PagedAsyncIterableIterator } from "@azure/core-paging";
10
+ import {
11
+ Machine,
12
+ MachinesListByWorkspaceOptionalParams,
13
+ Connection,
14
+ MachinesListConnectionsOptionalParams,
15
+ Process,
16
+ MachinesListProcessesOptionalParams,
17
+ Port,
18
+ MachinesListPortsOptionalParams,
19
+ MachineGroup,
20
+ MachinesListMachineGroupMembershipOptionalParams,
21
+ MachinesGetOptionalParams,
22
+ MachinesGetResponse,
23
+ MachinesGetLivenessOptionalParams,
24
+ MachinesGetLivenessResponse
25
+ } from "../models";
26
+
27
+ /// <reference lib="esnext.asynciterable" />
28
+ /** Interface representing a Machines. */
29
+ export interface Machines {
30
+ /**
31
+ * Returns a collection of machines matching the specified conditions. The returned collection
32
+ * represents either machines that are active/live during the specified interval of time (`live=true`
33
+ * and `startTime`/`endTime` are specified) or that are known to have existed at or some time prior to
34
+ * the specified point in time (`live=false` and `timestamp` is specified).
35
+ * @param resourceGroupName Resource group name within the specified subscriptionId.
36
+ * @param workspaceName OMS workspace containing the resources of interest.
37
+ * @param options The options parameters.
38
+ */
39
+ listByWorkspace(
40
+ resourceGroupName: string,
41
+ workspaceName: string,
42
+ options?: MachinesListByWorkspaceOptionalParams
43
+ ): PagedAsyncIterableIterator<Machine>;
44
+ /**
45
+ * Returns a collection of connections terminating or originating at the specified machine
46
+ * @param resourceGroupName Resource group name within the specified subscriptionId.
47
+ * @param workspaceName OMS workspace containing the resources of interest.
48
+ * @param machineName Machine resource name.
49
+ * @param options The options parameters.
50
+ */
51
+ listConnections(
52
+ resourceGroupName: string,
53
+ workspaceName: string,
54
+ machineName: string,
55
+ options?: MachinesListConnectionsOptionalParams
56
+ ): PagedAsyncIterableIterator<Connection>;
57
+ /**
58
+ * Returns a collection of processes on the specified machine matching the specified conditions. The
59
+ * returned collection represents either processes that are active/live during the specified interval
60
+ * of time (`live=true` and `startTime`/`endTime` are specified) or that are known to have existed at
61
+ * or some time prior to the specified point in time (`live=false` and `timestamp` is specified).
62
+ *
63
+ * @param resourceGroupName Resource group name within the specified subscriptionId.
64
+ * @param workspaceName OMS workspace containing the resources of interest.
65
+ * @param machineName Machine resource name.
66
+ * @param options The options parameters.
67
+ */
68
+ listProcesses(
69
+ resourceGroupName: string,
70
+ workspaceName: string,
71
+ machineName: string,
72
+ options?: MachinesListProcessesOptionalParams
73
+ ): PagedAsyncIterableIterator<Process>;
74
+ /**
75
+ * Returns a collection of live ports on the specified machine during the specified time interval.
76
+ * @param resourceGroupName Resource group name within the specified subscriptionId.
77
+ * @param workspaceName OMS workspace containing the resources of interest.
78
+ * @param machineName Machine resource name.
79
+ * @param options The options parameters.
80
+ */
81
+ listPorts(
82
+ resourceGroupName: string,
83
+ workspaceName: string,
84
+ machineName: string,
85
+ options?: MachinesListPortsOptionalParams
86
+ ): PagedAsyncIterableIterator<Port>;
87
+ /**
88
+ * Returns a collection of machine groups this machine belongs to during the specified time interval.
89
+ * @param resourceGroupName Resource group name within the specified subscriptionId.
90
+ * @param workspaceName OMS workspace containing the resources of interest.
91
+ * @param machineName Machine resource name.
92
+ * @param options The options parameters.
93
+ */
94
+ listMachineGroupMembership(
95
+ resourceGroupName: string,
96
+ workspaceName: string,
97
+ machineName: string,
98
+ options?: MachinesListMachineGroupMembershipOptionalParams
99
+ ): PagedAsyncIterableIterator<MachineGroup>;
100
+ /**
101
+ * Returns the specified machine.
102
+ * @param resourceGroupName Resource group name within the specified subscriptionId.
103
+ * @param workspaceName OMS workspace containing the resources of interest.
104
+ * @param machineName Machine resource name.
105
+ * @param options The options parameters.
106
+ */
107
+ get(
108
+ resourceGroupName: string,
109
+ workspaceName: string,
110
+ machineName: string,
111
+ options?: MachinesGetOptionalParams
112
+ ): Promise<MachinesGetResponse>;
113
+ /**
114
+ * Obtains the liveness status of the machine during the specified time interval.
115
+ * @param resourceGroupName Resource group name within the specified subscriptionId.
116
+ * @param workspaceName OMS workspace containing the resources of interest.
117
+ * @param machineName Machine resource name.
118
+ * @param options The options parameters.
119
+ */
120
+ getLiveness(
121
+ resourceGroupName: string,
122
+ workspaceName: string,
123
+ machineName: string,
124
+ options?: MachinesGetLivenessOptionalParams
125
+ ): Promise<MachinesGetLivenessResponse>;
126
+ }
@@ -0,0 +1,30 @@
1
+ /*
2
+ * Copyright (c) Microsoft Corporation.
3
+ * Licensed under the MIT License.
4
+ *
5
+ * Code generated by Microsoft (R) AutoRest Code Generator.
6
+ * Changes may cause incorrect behavior and will be lost if the code is regenerated.
7
+ */
8
+
9
+ import {
10
+ MapRequestUnion,
11
+ MapsGenerateOptionalParams,
12
+ MapsGenerateResponse
13
+ } from "../models";
14
+
15
+ /** Interface representing a Maps. */
16
+ export interface Maps {
17
+ /**
18
+ * Generates the specified map.
19
+ * @param resourceGroupName Resource group name within the specified subscriptionId.
20
+ * @param workspaceName OMS workspace containing the resources of interest.
21
+ * @param request Request options.
22
+ * @param options The options parameters.
23
+ */
24
+ generate(
25
+ resourceGroupName: string,
26
+ workspaceName: string,
27
+ request: MapRequestUnion,
28
+ options?: MapsGenerateOptionalParams
29
+ ): Promise<MapsGenerateResponse>;
30
+ }
@@ -0,0 +1,85 @@
1
+ /*
2
+ * Copyright (c) Microsoft Corporation.
3
+ * Licensed under the MIT License.
4
+ *
5
+ * Code generated by Microsoft (R) AutoRest Code Generator.
6
+ * Changes may cause incorrect behavior and will be lost if the code is regenerated.
7
+ */
8
+
9
+ import { PagedAsyncIterableIterator } from "@azure/core-paging";
10
+ import {
11
+ Process,
12
+ PortsListAcceptingProcessesOptionalParams,
13
+ Connection,
14
+ PortsListConnectionsOptionalParams,
15
+ PortsGetOptionalParams,
16
+ PortsGetResponse,
17
+ PortsGetLivenessOptionalParams,
18
+ PortsGetLivenessResponse
19
+ } from "../models";
20
+
21
+ /// <reference lib="esnext.asynciterable" />
22
+ /** Interface representing a Ports. */
23
+ export interface Ports {
24
+ /**
25
+ * Returns a collection of processes accepting on the specified port
26
+ * @param resourceGroupName Resource group name within the specified subscriptionId.
27
+ * @param workspaceName OMS workspace containing the resources of interest.
28
+ * @param machineName Machine resource name.
29
+ * @param portName Port resource name.
30
+ * @param options The options parameters.
31
+ */
32
+ listAcceptingProcesses(
33
+ resourceGroupName: string,
34
+ workspaceName: string,
35
+ machineName: string,
36
+ portName: string,
37
+ options?: PortsListAcceptingProcessesOptionalParams
38
+ ): PagedAsyncIterableIterator<Process>;
39
+ /**
40
+ * Returns a collection of connections established via the specified port.
41
+ * @param resourceGroupName Resource group name within the specified subscriptionId.
42
+ * @param workspaceName OMS workspace containing the resources of interest.
43
+ * @param machineName Machine resource name.
44
+ * @param portName Port resource name.
45
+ * @param options The options parameters.
46
+ */
47
+ listConnections(
48
+ resourceGroupName: string,
49
+ workspaceName: string,
50
+ machineName: string,
51
+ portName: string,
52
+ options?: PortsListConnectionsOptionalParams
53
+ ): PagedAsyncIterableIterator<Connection>;
54
+ /**
55
+ * Returns the specified port. The port must be live during the specified time interval. If the port is
56
+ * not live during the interval, status 404 (Not Found) is returned.
57
+ * @param resourceGroupName Resource group name within the specified subscriptionId.
58
+ * @param workspaceName OMS workspace containing the resources of interest.
59
+ * @param machineName Machine resource name.
60
+ * @param portName Port resource name.
61
+ * @param options The options parameters.
62
+ */
63
+ get(
64
+ resourceGroupName: string,
65
+ workspaceName: string,
66
+ machineName: string,
67
+ portName: string,
68
+ options?: PortsGetOptionalParams
69
+ ): Promise<PortsGetResponse>;
70
+ /**
71
+ * Obtains the liveness status of the port during the specified time interval.
72
+ * @param resourceGroupName Resource group name within the specified subscriptionId.
73
+ * @param workspaceName OMS workspace containing the resources of interest.
74
+ * @param machineName Machine resource name.
75
+ * @param portName Port resource name.
76
+ * @param options The options parameters.
77
+ */
78
+ getLiveness(
79
+ resourceGroupName: string,
80
+ workspaceName: string,
81
+ machineName: string,
82
+ portName: string,
83
+ options?: PortsGetLivenessOptionalParams
84
+ ): Promise<PortsGetLivenessResponse>;
85
+ }
@@ -0,0 +1,84 @@
1
+ /*
2
+ * Copyright (c) Microsoft Corporation.
3
+ * Licensed under the MIT License.
4
+ *
5
+ * Code generated by Microsoft (R) AutoRest Code Generator.
6
+ * Changes may cause incorrect behavior and will be lost if the code is regenerated.
7
+ */
8
+
9
+ import { PagedAsyncIterableIterator } from "@azure/core-paging";
10
+ import {
11
+ Port,
12
+ ProcessesListAcceptingPortsOptionalParams,
13
+ Connection,
14
+ ProcessesListConnectionsOptionalParams,
15
+ ProcessesGetOptionalParams,
16
+ ProcessesGetResponse,
17
+ ProcessesGetLivenessOptionalParams,
18
+ ProcessesGetLivenessResponse
19
+ } from "../models";
20
+
21
+ /// <reference lib="esnext.asynciterable" />
22
+ /** Interface representing a Processes. */
23
+ export interface Processes {
24
+ /**
25
+ * Returns a collection of ports on which this process is accepting
26
+ * @param resourceGroupName Resource group name within the specified subscriptionId.
27
+ * @param workspaceName OMS workspace containing the resources of interest.
28
+ * @param machineName Machine resource name.
29
+ * @param processName Process resource name.
30
+ * @param options The options parameters.
31
+ */
32
+ listAcceptingPorts(
33
+ resourceGroupName: string,
34
+ workspaceName: string,
35
+ machineName: string,
36
+ processName: string,
37
+ options?: ProcessesListAcceptingPortsOptionalParams
38
+ ): PagedAsyncIterableIterator<Port>;
39
+ /**
40
+ * Returns a collection of connections terminating or originating at the specified process
41
+ * @param resourceGroupName Resource group name within the specified subscriptionId.
42
+ * @param workspaceName OMS workspace containing the resources of interest.
43
+ * @param machineName Machine resource name.
44
+ * @param processName Process resource name.
45
+ * @param options The options parameters.
46
+ */
47
+ listConnections(
48
+ resourceGroupName: string,
49
+ workspaceName: string,
50
+ machineName: string,
51
+ processName: string,
52
+ options?: ProcessesListConnectionsOptionalParams
53
+ ): PagedAsyncIterableIterator<Connection>;
54
+ /**
55
+ * Returns the specified process.
56
+ * @param resourceGroupName Resource group name within the specified subscriptionId.
57
+ * @param workspaceName OMS workspace containing the resources of interest.
58
+ * @param machineName Machine resource name.
59
+ * @param processName Process resource name.
60
+ * @param options The options parameters.
61
+ */
62
+ get(
63
+ resourceGroupName: string,
64
+ workspaceName: string,
65
+ machineName: string,
66
+ processName: string,
67
+ options?: ProcessesGetOptionalParams
68
+ ): Promise<ProcessesGetResponse>;
69
+ /**
70
+ * Obtains the liveness status of the process during the specified time interval.
71
+ * @param resourceGroupName Resource group name within the specified subscriptionId.
72
+ * @param workspaceName OMS workspace containing the resources of interest.
73
+ * @param machineName Machine resource name.
74
+ * @param processName Process resource name.
75
+ * @param options The options parameters.
76
+ */
77
+ getLiveness(
78
+ resourceGroupName: string,
79
+ workspaceName: string,
80
+ machineName: string,
81
+ processName: string,
82
+ options?: ProcessesGetLivenessOptionalParams
83
+ ): Promise<ProcessesGetLivenessResponse>;
84
+ }
@@ -0,0 +1,27 @@
1
+ /*
2
+ * Copyright (c) Microsoft Corporation.
3
+ * Licensed under the MIT License.
4
+ *
5
+ * Code generated by Microsoft (R) AutoRest Code Generator.
6
+ * Changes may cause incorrect behavior and will be lost if the code is regenerated.
7
+ */
8
+
9
+ import {
10
+ SummariesGetMachinesOptionalParams,
11
+ SummariesGetMachinesResponse
12
+ } from "../models";
13
+
14
+ /** Interface representing a Summaries. */
15
+ export interface Summaries {
16
+ /**
17
+ * Returns summary information about the machines in the workspace.
18
+ * @param resourceGroupName Resource group name within the specified subscriptionId.
19
+ * @param workspaceName OMS workspace containing the resources of interest.
20
+ * @param options The options parameters.
21
+ */
22
+ getMachines(
23
+ resourceGroupName: string,
24
+ workspaceName: string,
25
+ options?: SummariesGetMachinesOptionalParams
26
+ ): Promise<SummariesGetMachinesResponse>;
27
+ }
@@ -0,0 +1,103 @@
1
+ /*
2
+ * Copyright (c) Microsoft Corporation.
3
+ * Licensed under the MIT License.
4
+ *
5
+ * Code generated by Microsoft (R) AutoRest Code Generator.
6
+ * Changes may cause incorrect behavior and will be lost if the code is regenerated.
7
+ */
8
+
9
+ import * as coreClient from "@azure/core-client";
10
+ import * as coreAuth from "@azure/core-auth";
11
+ import {
12
+ MachinesImpl,
13
+ ProcessesImpl,
14
+ PortsImpl,
15
+ ClientGroupsImpl,
16
+ MapsImpl,
17
+ SummariesImpl,
18
+ MachineGroupsImpl
19
+ } from "./operations";
20
+ import {
21
+ Machines,
22
+ Processes,
23
+ Ports,
24
+ ClientGroups,
25
+ Maps,
26
+ Summaries,
27
+ MachineGroups
28
+ } from "./operationsInterfaces";
29
+ import { ServiceMapOptionalParams } from "./models";
30
+
31
+ export class ServiceMap extends coreClient.ServiceClient {
32
+ $host: string;
33
+ subscriptionId: string;
34
+ apiVersion: string;
35
+
36
+ /**
37
+ * Initializes a new instance of the ServiceMap class.
38
+ * @param credentials Subscription credentials which uniquely identify client subscription.
39
+ * @param subscriptionId Azure subscription identifier.
40
+ * @param options The parameter options
41
+ */
42
+ constructor(
43
+ credentials: coreAuth.TokenCredential,
44
+ subscriptionId: string,
45
+ options?: ServiceMapOptionalParams
46
+ ) {
47
+ if (credentials === undefined) {
48
+ throw new Error("'credentials' cannot be null");
49
+ }
50
+ if (subscriptionId === undefined) {
51
+ throw new Error("'subscriptionId' cannot be null");
52
+ }
53
+
54
+ // Initializing default values for options
55
+ if (!options) {
56
+ options = {};
57
+ }
58
+ const defaults: ServiceMapOptionalParams = {
59
+ requestContentType: "application/json; charset=utf-8",
60
+ credential: credentials
61
+ };
62
+
63
+ const packageDetails = `azsdk-js-arm-servicemap/3.0.0-beta.1`;
64
+ const userAgentPrefix =
65
+ options.userAgentOptions && options.userAgentOptions.userAgentPrefix
66
+ ? `${options.userAgentOptions.userAgentPrefix} ${packageDetails}`
67
+ : `${packageDetails}`;
68
+
69
+ if (!options.credentialScopes) {
70
+ options.credentialScopes = ["https://management.azure.com/.default"];
71
+ }
72
+ const optionsWithDefaults = {
73
+ ...defaults,
74
+ ...options,
75
+ userAgentOptions: {
76
+ userAgentPrefix
77
+ },
78
+ baseUri: options.endpoint || "https://management.azure.com"
79
+ };
80
+ super(optionsWithDefaults);
81
+ // Parameter assignments
82
+ this.subscriptionId = subscriptionId;
83
+
84
+ // Assigning values to Constant parameters
85
+ this.$host = options.$host || "https://management.azure.com";
86
+ this.apiVersion = options.apiVersion || "2015-11-01-preview";
87
+ this.machines = new MachinesImpl(this);
88
+ this.processes = new ProcessesImpl(this);
89
+ this.ports = new PortsImpl(this);
90
+ this.clientGroups = new ClientGroupsImpl(this);
91
+ this.maps = new MapsImpl(this);
92
+ this.summaries = new SummariesImpl(this);
93
+ this.machineGroups = new MachineGroupsImpl(this);
94
+ }
95
+
96
+ machines: Machines;
97
+ processes: Processes;
98
+ ports: Ports;
99
+ clientGroups: ClientGroups;
100
+ maps: Maps;
101
+ summaries: Summaries;
102
+ machineGroups: MachineGroups;
103
+ }
package/tsconfig.json CHANGED
@@ -3,17 +3,18 @@
3
3
  "module": "es6",
4
4
  "moduleResolution": "node",
5
5
  "strict": true,
6
- "target": "es5",
6
+ "target": "es6",
7
7
  "sourceMap": true,
8
8
  "declarationMap": true,
9
9
  "esModuleInterop": true,
10
10
  "allowSyntheticDefaultImports": true,
11
11
  "forceConsistentCasingInFileNames": true,
12
- "lib": ["es6"],
12
+ "lib": ["es6", "dom"],
13
13
  "declaration": true,
14
- "outDir": "./esm",
15
- "importHelpers": true
14
+ "outDir": "./dist-esm",
15
+ "importHelpers": true,
16
+ "paths": { "@azure/arm-servicemap": ["./src/index"] }
16
17
  },
17
- "include": ["./lib/**/*.ts"],
18
+ "include": ["./src/**/*.ts", "./test/**/*.ts", "samples-dev/**/*.ts"],
18
19
  "exclude": ["node_modules"]
19
20
  }