@azure/arm-labservices 2.0.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 (415) hide show
  1. package/CHANGELOG.md +11 -0
  2. package/LICENSE +21 -0
  3. package/LICENSE.txt +1 -1
  4. package/README.md +70 -78
  5. package/dist/index.js +6456 -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/deleteLab.d.ts +2 -0
  10. package/dist-esm/samples-dev/deleteLab.d.ts.map +1 -0
  11. package/dist-esm/samples-dev/deleteLab.js +31 -0
  12. package/dist-esm/samples-dev/deleteLab.js.map +1 -0
  13. package/dist-esm/samples-dev/deleteLabPlan.d.ts +2 -0
  14. package/dist-esm/samples-dev/deleteLabPlan.d.ts.map +1 -0
  15. package/dist-esm/samples-dev/deleteLabPlan.js +31 -0
  16. package/dist-esm/samples-dev/deleteLabPlan.js.map +1 -0
  17. package/dist-esm/samples-dev/deleteSchedule.d.ts +2 -0
  18. package/dist-esm/samples-dev/deleteSchedule.d.ts.map +1 -0
  19. package/dist-esm/samples-dev/deleteSchedule.js +32 -0
  20. package/dist-esm/samples-dev/deleteSchedule.js.map +1 -0
  21. package/dist-esm/samples-dev/deleteUser.d.ts +2 -0
  22. package/dist-esm/samples-dev/deleteUser.d.ts.map +1 -0
  23. package/dist-esm/samples-dev/deleteUser.js +32 -0
  24. package/dist-esm/samples-dev/deleteUser.js.map +1 -0
  25. package/dist-esm/samples-dev/getImage.d.ts +2 -0
  26. package/dist-esm/samples-dev/getImage.d.ts.map +1 -0
  27. package/dist-esm/samples-dev/getImage.js +32 -0
  28. package/dist-esm/samples-dev/getImage.js.map +1 -0
  29. package/dist-esm/samples-dev/getLab.d.ts +2 -0
  30. package/dist-esm/samples-dev/getLab.d.ts.map +1 -0
  31. package/dist-esm/samples-dev/getLab.js +31 -0
  32. package/dist-esm/samples-dev/getLab.js.map +1 -0
  33. package/dist-esm/samples-dev/getLabPlan.d.ts +2 -0
  34. package/dist-esm/samples-dev/getLabPlan.d.ts.map +1 -0
  35. package/dist-esm/samples-dev/getLabPlan.js +31 -0
  36. package/dist-esm/samples-dev/getLabPlan.js.map +1 -0
  37. package/dist-esm/samples-dev/getListSchedule.d.ts +2 -0
  38. package/dist-esm/samples-dev/getListSchedule.d.ts.map +1 -0
  39. package/dist-esm/samples-dev/getListSchedule.js +45 -0
  40. package/dist-esm/samples-dev/getListSchedule.js.map +1 -0
  41. package/dist-esm/samples-dev/getOperationResult.d.ts +2 -0
  42. package/dist-esm/samples-dev/getOperationResult.d.ts.map +1 -0
  43. package/dist-esm/samples-dev/getOperationResult.js +30 -0
  44. package/dist-esm/samples-dev/getOperationResult.js.map +1 -0
  45. package/dist-esm/samples-dev/getSchedule.d.ts +2 -0
  46. package/dist-esm/samples-dev/getSchedule.d.ts.map +1 -0
  47. package/dist-esm/samples-dev/getSchedule.js +32 -0
  48. package/dist-esm/samples-dev/getSchedule.js.map +1 -0
  49. package/dist-esm/samples-dev/getUser.d.ts +2 -0
  50. package/dist-esm/samples-dev/getUser.d.ts.map +1 -0
  51. package/dist-esm/samples-dev/getUser.js +32 -0
  52. package/dist-esm/samples-dev/getUser.js.map +1 -0
  53. package/dist-esm/samples-dev/getVirtualMachine.d.ts +2 -0
  54. package/dist-esm/samples-dev/getVirtualMachine.d.ts.map +1 -0
  55. package/dist-esm/samples-dev/getVirtualMachine.js +32 -0
  56. package/dist-esm/samples-dev/getVirtualMachine.js.map +1 -0
  57. package/dist-esm/samples-dev/inviteUser.d.ts +2 -0
  58. package/dist-esm/samples-dev/inviteUser.d.ts.map +1 -0
  59. package/dist-esm/samples-dev/inviteUser.js +33 -0
  60. package/dist-esm/samples-dev/inviteUser.js.map +1 -0
  61. package/dist-esm/samples-dev/listImages.d.ts +2 -0
  62. package/dist-esm/samples-dev/listImages.d.ts.map +1 -0
  63. package/dist-esm/samples-dev/listImages.js +45 -0
  64. package/dist-esm/samples-dev/listImages.js.map +1 -0
  65. package/dist-esm/samples-dev/listLabPlans.d.ts +2 -0
  66. package/dist-esm/samples-dev/listLabPlans.d.ts.map +1 -0
  67. package/dist-esm/samples-dev/listLabPlans.js +43 -0
  68. package/dist-esm/samples-dev/listLabPlans.js.map +1 -0
  69. package/dist-esm/samples-dev/listLabs.d.ts +2 -0
  70. package/dist-esm/samples-dev/listLabs.d.ts.map +1 -0
  71. package/dist-esm/samples-dev/listLabs.js +43 -0
  72. package/dist-esm/samples-dev/listLabs.js.map +1 -0
  73. package/dist-esm/samples-dev/listOperations.d.ts +2 -0
  74. package/dist-esm/samples-dev/listOperations.d.ts.map +1 -0
  75. package/dist-esm/samples-dev/listOperations.js +43 -0
  76. package/dist-esm/samples-dev/listOperations.js.map +1 -0
  77. package/dist-esm/samples-dev/listResourceGroupLabPlans.d.ts +2 -0
  78. package/dist-esm/samples-dev/listResourceGroupLabPlans.d.ts.map +1 -0
  79. package/dist-esm/samples-dev/listResourceGroupLabPlans.js +44 -0
  80. package/dist-esm/samples-dev/listResourceGroupLabPlans.js.map +1 -0
  81. package/dist-esm/samples-dev/listResourceGroupLabs.d.ts +2 -0
  82. package/dist-esm/samples-dev/listResourceGroupLabs.d.ts.map +1 -0
  83. package/dist-esm/samples-dev/listResourceGroupLabs.js +44 -0
  84. package/dist-esm/samples-dev/listResourceGroupLabs.js.map +1 -0
  85. package/dist-esm/samples-dev/listSkus.d.ts +2 -0
  86. package/dist-esm/samples-dev/listSkus.d.ts.map +1 -0
  87. package/dist-esm/samples-dev/listSkus.js +43 -0
  88. package/dist-esm/samples-dev/listSkus.js.map +1 -0
  89. package/dist-esm/samples-dev/listUsages.d.ts +2 -0
  90. package/dist-esm/samples-dev/listUsages.d.ts.map +1 -0
  91. package/dist-esm/samples-dev/listUsages.js +44 -0
  92. package/dist-esm/samples-dev/listUsages.js.map +1 -0
  93. package/dist-esm/samples-dev/listUser.d.ts +2 -0
  94. package/dist-esm/samples-dev/listUser.d.ts.map +1 -0
  95. package/dist-esm/samples-dev/listUser.js +45 -0
  96. package/dist-esm/samples-dev/listUser.js.map +1 -0
  97. package/dist-esm/samples-dev/listVirtualMachine.d.ts +2 -0
  98. package/dist-esm/samples-dev/listVirtualMachine.d.ts.map +1 -0
  99. package/dist-esm/samples-dev/listVirtualMachine.js +45 -0
  100. package/dist-esm/samples-dev/listVirtualMachine.js.map +1 -0
  101. package/dist-esm/samples-dev/patchImage.d.ts +2 -0
  102. package/dist-esm/samples-dev/patchImage.d.ts.map +1 -0
  103. package/dist-esm/samples-dev/patchImage.js +33 -0
  104. package/dist-esm/samples-dev/patchImage.js.map +1 -0
  105. package/dist-esm/samples-dev/patchLab.d.ts +2 -0
  106. package/dist-esm/samples-dev/patchLab.d.ts.map +1 -0
  107. package/dist-esm/samples-dev/patchLab.js +32 -0
  108. package/dist-esm/samples-dev/patchLab.js.map +1 -0
  109. package/dist-esm/samples-dev/patchLabPlan.d.ts +2 -0
  110. package/dist-esm/samples-dev/patchLabPlan.d.ts.map +1 -0
  111. package/dist-esm/samples-dev/patchLabPlan.js +39 -0
  112. package/dist-esm/samples-dev/patchLabPlan.js.map +1 -0
  113. package/dist-esm/samples-dev/patchSchedule.d.ts +2 -0
  114. package/dist-esm/samples-dev/patchSchedule.d.ts.map +1 -0
  115. package/dist-esm/samples-dev/patchSchedule.js +39 -0
  116. package/dist-esm/samples-dev/patchSchedule.js.map +1 -0
  117. package/dist-esm/samples-dev/patchUser.d.ts +2 -0
  118. package/dist-esm/samples-dev/patchUser.d.ts.map +1 -0
  119. package/dist-esm/samples-dev/patchUser.js +33 -0
  120. package/dist-esm/samples-dev/patchUser.js.map +1 -0
  121. package/dist-esm/samples-dev/publishLab.d.ts +2 -0
  122. package/dist-esm/samples-dev/publishLab.d.ts.map +1 -0
  123. package/dist-esm/samples-dev/publishLab.js +31 -0
  124. package/dist-esm/samples-dev/publishLab.js.map +1 -0
  125. package/dist-esm/samples-dev/putImage.d.ts +2 -0
  126. package/dist-esm/samples-dev/putImage.d.ts.map +1 -0
  127. package/dist-esm/samples-dev/putImage.js +33 -0
  128. package/dist-esm/samples-dev/putImage.js.map +1 -0
  129. package/dist-esm/samples-dev/putLab.d.ts +2 -0
  130. package/dist-esm/samples-dev/putLab.d.ts.map +1 -0
  131. package/dist-esm/samples-dev/putLab.js +70 -0
  132. package/dist-esm/samples-dev/putLab.js.map +1 -0
  133. package/dist-esm/samples-dev/putLabPlan.d.ts +2 -0
  134. package/dist-esm/samples-dev/putLabPlan.d.ts.map +1 -0
  135. package/dist-esm/samples-dev/putLabPlan.js +58 -0
  136. package/dist-esm/samples-dev/putLabPlan.js.map +1 -0
  137. package/dist-esm/samples-dev/putSchedule.d.ts +2 -0
  138. package/dist-esm/samples-dev/putSchedule.d.ts.map +1 -0
  139. package/dist-esm/samples-dev/putSchedule.js +43 -0
  140. package/dist-esm/samples-dev/putSchedule.js.map +1 -0
  141. package/dist-esm/samples-dev/putUser.d.ts +2 -0
  142. package/dist-esm/samples-dev/putUser.d.ts.map +1 -0
  143. package/dist-esm/samples-dev/putUser.js +36 -0
  144. package/dist-esm/samples-dev/putUser.js.map +1 -0
  145. package/dist-esm/samples-dev/redeployVirtualMachine.d.ts +2 -0
  146. package/dist-esm/samples-dev/redeployVirtualMachine.d.ts.map +1 -0
  147. package/dist-esm/samples-dev/redeployVirtualMachine.js +32 -0
  148. package/dist-esm/samples-dev/redeployVirtualMachine.js.map +1 -0
  149. package/dist-esm/samples-dev/reimageVirtualMachine.d.ts +2 -0
  150. package/dist-esm/samples-dev/reimageVirtualMachine.d.ts.map +1 -0
  151. package/dist-esm/samples-dev/reimageVirtualMachine.js +32 -0
  152. package/dist-esm/samples-dev/reimageVirtualMachine.js.map +1 -0
  153. package/dist-esm/samples-dev/resetPasswordVirtualMachine.d.ts +2 -0
  154. package/dist-esm/samples-dev/resetPasswordVirtualMachine.d.ts.map +1 -0
  155. package/dist-esm/samples-dev/resetPasswordVirtualMachine.js +36 -0
  156. package/dist-esm/samples-dev/resetPasswordVirtualMachine.js.map +1 -0
  157. package/dist-esm/samples-dev/saveImageVirtualMachine.d.ts +2 -0
  158. package/dist-esm/samples-dev/saveImageVirtualMachine.d.ts.map +1 -0
  159. package/dist-esm/samples-dev/saveImageVirtualMachine.js +35 -0
  160. package/dist-esm/samples-dev/saveImageVirtualMachine.js.map +1 -0
  161. package/dist-esm/samples-dev/startVirtualMachine.d.ts +2 -0
  162. package/dist-esm/samples-dev/startVirtualMachine.d.ts.map +1 -0
  163. package/dist-esm/samples-dev/startVirtualMachine.js +32 -0
  164. package/dist-esm/samples-dev/startVirtualMachine.js.map +1 -0
  165. package/dist-esm/samples-dev/stopVirtualMachine.d.ts +2 -0
  166. package/dist-esm/samples-dev/stopVirtualMachine.d.ts.map +1 -0
  167. package/dist-esm/samples-dev/stopVirtualMachine.js +32 -0
  168. package/dist-esm/samples-dev/stopVirtualMachine.js.map +1 -0
  169. package/dist-esm/samples-dev/syncLab.d.ts +2 -0
  170. package/dist-esm/samples-dev/syncLab.d.ts.map +1 -0
  171. package/dist-esm/samples-dev/syncLab.js +31 -0
  172. package/dist-esm/samples-dev/syncLab.js.map +1 -0
  173. package/dist-esm/src/index.d.ts +5 -0
  174. package/dist-esm/src/index.d.ts.map +1 -0
  175. package/{esm/models/operationsMappers.js → dist-esm/src/index.js} +5 -2
  176. package/dist-esm/src/index.js.map +1 -0
  177. package/dist-esm/src/labServicesClient.d.ts +27 -0
  178. package/dist-esm/src/labServicesClient.d.ts.map +1 -0
  179. package/dist-esm/src/labServicesClient.js +60 -0
  180. package/dist-esm/src/labServicesClient.js.map +1 -0
  181. package/dist-esm/src/lroImpl.d.ts +16 -0
  182. package/dist-esm/src/lroImpl.d.ts.map +1 -0
  183. package/dist-esm/src/lroImpl.js +29 -0
  184. package/dist-esm/src/lroImpl.js.map +1 -0
  185. package/dist-esm/src/models/index.d.ts +1638 -0
  186. package/dist-esm/src/models/index.d.ts.map +1 -0
  187. package/dist-esm/src/models/index.js +60 -0
  188. package/dist-esm/src/models/index.js.map +1 -0
  189. package/dist-esm/src/models/mappers.d.ts +67 -0
  190. package/dist-esm/src/models/mappers.d.ts.map +1 -0
  191. package/{esm → dist-esm/src}/models/mappers.js +1768 -1224
  192. package/dist-esm/src/models/mappers.js.map +1 -0
  193. package/dist-esm/src/models/parameters.d.ts +31 -0
  194. package/dist-esm/src/models/parameters.d.ts.map +1 -0
  195. package/dist-esm/src/models/parameters.js +270 -0
  196. package/dist-esm/src/models/parameters.js.map +1 -0
  197. package/dist-esm/src/operations/images.d.ts +70 -0
  198. package/dist-esm/src/operations/images.d.ts.map +1 -0
  199. package/dist-esm/src/operations/images.js +245 -0
  200. package/dist-esm/src/operations/images.js.map +1 -0
  201. package/{esm → dist-esm/src}/operations/index.d.ts +6 -4
  202. package/dist-esm/src/operations/index.d.ts.map +1 -0
  203. package/dist-esm/src/operations/index.js +18 -0
  204. package/dist-esm/src/operations/index.js.map +1 -0
  205. package/dist-esm/src/operations/labPlans.d.ts +134 -0
  206. package/dist-esm/src/operations/labPlans.d.ts.map +1 -0
  207. package/dist-esm/src/operations/labPlans.js +590 -0
  208. package/dist-esm/src/operations/labPlans.js.map +1 -0
  209. package/dist-esm/src/operations/labs.d.ts +146 -0
  210. package/dist-esm/src/operations/labs.d.ts.map +1 -0
  211. package/dist-esm/src/operations/labs.js +658 -0
  212. package/dist-esm/src/operations/labs.js.map +1 -0
  213. package/dist-esm/src/operations/operationResults.d.ts +19 -0
  214. package/dist-esm/src/operations/operationResults.d.ts.map +1 -0
  215. package/dist-esm/src/operations/operationResults.js +52 -0
  216. package/dist-esm/src/operations/operationResults.js.map +1 -0
  217. package/dist-esm/src/operations/operations.d.ts +32 -0
  218. package/dist-esm/src/operations/operations.d.ts.map +1 -0
  219. package/dist-esm/src/operations/operations.js +120 -0
  220. package/dist-esm/src/operations/operations.js.map +1 -0
  221. package/dist-esm/src/operations/schedules.d.ts +94 -0
  222. package/dist-esm/src/operations/schedules.d.ts.map +1 -0
  223. package/dist-esm/src/operations/schedules.js +332 -0
  224. package/dist-esm/src/operations/schedules.js.map +1 -0
  225. package/dist-esm/src/operations/skus.d.ts +32 -0
  226. package/dist-esm/src/operations/skus.d.ts.map +1 -0
  227. package/dist-esm/src/operations/skus.js +124 -0
  228. package/dist-esm/src/operations/skus.js.map +1 -0
  229. package/dist-esm/src/operations/usages.d.ts +35 -0
  230. package/dist-esm/src/operations/usages.d.ts.map +1 -0
  231. package/dist-esm/src/operations/usages.js +132 -0
  232. package/dist-esm/src/operations/usages.js.map +1 -0
  233. package/dist-esm/src/operations/users.d.ts +138 -0
  234. package/dist-esm/src/operations/users.d.ts.map +1 -0
  235. package/dist-esm/src/operations/users.js +520 -0
  236. package/dist-esm/src/operations/users.js.map +1 -0
  237. package/dist-esm/src/operations/virtualMachines.d.ts +158 -0
  238. package/dist-esm/src/operations/virtualMachines.d.ts.map +1 -0
  239. package/dist-esm/src/operations/virtualMachines.js +579 -0
  240. package/dist-esm/src/operations/virtualMachines.js.map +1 -0
  241. package/dist-esm/src/operationsInterfaces/images.d.ts +43 -0
  242. package/dist-esm/src/operationsInterfaces/images.d.ts.map +1 -0
  243. package/{src/models/operationResultsMappers.ts → dist-esm/src/operationsInterfaces/images.js} +2 -7
  244. package/dist-esm/src/operationsInterfaces/images.js.map +1 -0
  245. package/dist-esm/src/operationsInterfaces/index.d.ts +11 -0
  246. package/dist-esm/src/operationsInterfaces/index.d.ts.map +1 -0
  247. package/dist-esm/src/operationsInterfaces/index.js +18 -0
  248. package/dist-esm/src/operationsInterfaces/index.js.map +1 -0
  249. package/dist-esm/src/operationsInterfaces/labPlans.d.ts +98 -0
  250. package/dist-esm/src/operationsInterfaces/labPlans.d.ts.map +1 -0
  251. package/{src/models/operationsMappers.ts → dist-esm/src/operationsInterfaces/labPlans.js} +2 -9
  252. package/dist-esm/src/operationsInterfaces/labPlans.js.map +1 -0
  253. package/dist-esm/src/operationsInterfaces/labs.d.ts +110 -0
  254. package/dist-esm/src/operationsInterfaces/labs.d.ts.map +1 -0
  255. package/{esm/models/index.js → dist-esm/src/operationsInterfaces/labs.js} +2 -1
  256. package/dist-esm/src/operationsInterfaces/labs.js.map +1 -0
  257. package/dist-esm/src/operationsInterfaces/operationResults.d.ts +11 -0
  258. package/dist-esm/src/operationsInterfaces/operationResults.d.ts.map +1 -0
  259. package/{esm/models/operationResultsMappers.js → dist-esm/src/operationsInterfaces/operationResults.js} +2 -2
  260. package/dist-esm/src/operationsInterfaces/operationResults.js.map +1 -0
  261. package/dist-esm/src/operationsInterfaces/operations.d.ts +11 -0
  262. package/dist-esm/src/operationsInterfaces/operations.d.ts.map +1 -0
  263. package/dist-esm/src/operationsInterfaces/operations.js +9 -0
  264. package/dist-esm/src/operationsInterfaces/operations.js.map +1 -0
  265. package/dist-esm/src/operationsInterfaces/schedules.d.ts +67 -0
  266. package/dist-esm/src/operationsInterfaces/schedules.d.ts.map +1 -0
  267. package/dist-esm/src/operationsInterfaces/schedules.js +9 -0
  268. package/dist-esm/src/operationsInterfaces/schedules.js.map +1 -0
  269. package/dist-esm/src/operationsInterfaces/skus.d.ts +11 -0
  270. package/dist-esm/src/operationsInterfaces/skus.d.ts.map +1 -0
  271. package/dist-esm/src/operationsInterfaces/skus.js +9 -0
  272. package/dist-esm/src/operationsInterfaces/skus.js.map +1 -0
  273. package/dist-esm/src/operationsInterfaces/usages.d.ts +12 -0
  274. package/dist-esm/src/operationsInterfaces/usages.d.ts.map +1 -0
  275. package/dist-esm/src/operationsInterfaces/usages.js +9 -0
  276. package/dist-esm/src/operationsInterfaces/usages.js.map +1 -0
  277. package/dist-esm/src/operationsInterfaces/users.d.ts +111 -0
  278. package/dist-esm/src/operationsInterfaces/users.d.ts.map +1 -0
  279. package/dist-esm/src/operationsInterfaces/users.js +9 -0
  280. package/dist-esm/src/operationsInterfaces/users.js.map +1 -0
  281. package/dist-esm/src/operationsInterfaces/virtualMachines.d.ts +131 -0
  282. package/dist-esm/src/operationsInterfaces/virtualMachines.d.ts.map +1 -0
  283. package/dist-esm/src/operationsInterfaces/virtualMachines.js +9 -0
  284. package/dist-esm/src/operationsInterfaces/virtualMachines.js.map +1 -0
  285. package/dist-esm/test/sampleTest.d.ts +2 -0
  286. package/dist-esm/test/sampleTest.d.ts.map +1 -0
  287. package/dist-esm/test/sampleTest.js +40 -0
  288. package/dist-esm/test/sampleTest.js.map +1 -0
  289. package/package.json +77 -33
  290. package/review/arm-labservices.api.md +1208 -0
  291. package/rollup.config.js +181 -30
  292. package/src/index.ts +12 -0
  293. package/src/labServicesClient.ts +101 -47
  294. package/src/lroImpl.ts +34 -0
  295. package/src/models/index.ts +1402 -1988
  296. package/src/models/mappers.ts +1816 -1232
  297. package/src/models/parameters.ts +199 -68
  298. package/src/operations/images.ts +216 -245
  299. package/src/operations/index.ts +7 -6
  300. package/src/operations/labPlans.ts +593 -370
  301. package/src/operations/labs.ts +656 -394
  302. package/src/operations/operationResults.ts +35 -48
  303. package/src/operations/operations.ts +85 -75
  304. package/src/operations/schedules.ts +301 -297
  305. package/src/operations/skus.ts +139 -0
  306. package/src/operations/usages.ts +162 -0
  307. package/src/operations/users.ts +548 -325
  308. package/src/operations/virtualMachines.ts +614 -350
  309. package/src/operationsInterfaces/images.ts +83 -0
  310. package/{esm/operations/index.js → src/operationsInterfaces/index.ts} +8 -7
  311. package/src/operationsInterfaces/labPlans.ts +178 -0
  312. package/src/operationsInterfaces/labs.ts +193 -0
  313. package/src/operationsInterfaces/operationResults.ts +25 -0
  314. package/src/operationsInterfaces/operations.ts +22 -0
  315. package/src/operationsInterfaces/schedules.ts +118 -0
  316. package/src/operationsInterfaces/skus.ts +22 -0
  317. package/src/operationsInterfaces/usages.ts +24 -0
  318. package/src/operationsInterfaces/users.ts +195 -0
  319. package/src/operationsInterfaces/virtualMachines.ts +212 -0
  320. package/tsconfig.json +5 -4
  321. package/types/arm-labservices.d.ts +2438 -0
  322. package/types/tsdoc-metadata.json +11 -0
  323. package/dist/arm-labservices.js +0 -5130
  324. package/dist/arm-labservices.js.map +0 -1
  325. package/dist/arm-labservices.min.js +0 -1
  326. package/dist/arm-labservices.min.js.map +0 -1
  327. package/esm/labServicesClient.d.ts +0 -31
  328. package/esm/labServicesClient.d.ts.map +0 -1
  329. package/esm/labServicesClient.js +0 -44
  330. package/esm/labServicesClient.js.map +0 -1
  331. package/esm/labServicesClientContext.d.ts +0 -22
  332. package/esm/labServicesClientContext.d.ts.map +0 -1
  333. package/esm/labServicesClientContext.js +0 -60
  334. package/esm/labServicesClientContext.js.map +0 -1
  335. package/esm/models/imagesMappers.d.ts +0 -2
  336. package/esm/models/imagesMappers.d.ts.map +0 -1
  337. package/esm/models/imagesMappers.js +0 -9
  338. package/esm/models/imagesMappers.js.map +0 -1
  339. package/esm/models/index.d.ts +0 -2286
  340. package/esm/models/index.d.ts.map +0 -1
  341. package/esm/models/index.js.map +0 -1
  342. package/esm/models/labPlansMappers.d.ts +0 -2
  343. package/esm/models/labPlansMappers.d.ts.map +0 -1
  344. package/esm/models/labPlansMappers.js +0 -9
  345. package/esm/models/labPlansMappers.js.map +0 -1
  346. package/esm/models/labsMappers.d.ts +0 -2
  347. package/esm/models/labsMappers.d.ts.map +0 -1
  348. package/esm/models/labsMappers.js +0 -9
  349. package/esm/models/labsMappers.js.map +0 -1
  350. package/esm/models/mappers.d.ts +0 -57
  351. package/esm/models/mappers.d.ts.map +0 -1
  352. package/esm/models/mappers.js.map +0 -1
  353. package/esm/models/operationResultsMappers.d.ts +0 -2
  354. package/esm/models/operationResultsMappers.d.ts.map +0 -1
  355. package/esm/models/operationResultsMappers.js.map +0 -1
  356. package/esm/models/operationsMappers.d.ts +0 -2
  357. package/esm/models/operationsMappers.d.ts.map +0 -1
  358. package/esm/models/operationsMappers.js.map +0 -1
  359. package/esm/models/parameters.d.ts +0 -15
  360. package/esm/models/parameters.d.ts.map +0 -1
  361. package/esm/models/parameters.js +0 -185
  362. package/esm/models/parameters.js.map +0 -1
  363. package/esm/models/schedulesMappers.d.ts +0 -2
  364. package/esm/models/schedulesMappers.d.ts.map +0 -1
  365. package/esm/models/schedulesMappers.js +0 -9
  366. package/esm/models/schedulesMappers.js.map +0 -1
  367. package/esm/models/usersMappers.d.ts +0 -2
  368. package/esm/models/usersMappers.d.ts.map +0 -1
  369. package/esm/models/usersMappers.js +0 -9
  370. package/esm/models/usersMappers.js.map +0 -1
  371. package/esm/models/virtualMachinesMappers.d.ts +0 -2
  372. package/esm/models/virtualMachinesMappers.d.ts.map +0 -1
  373. package/esm/models/virtualMachinesMappers.js +0 -9
  374. package/esm/models/virtualMachinesMappers.js.map +0 -1
  375. package/esm/operations/images.d.ts +0 -147
  376. package/esm/operations/images.d.ts.map +0 -1
  377. package/esm/operations/images.js +0 -198
  378. package/esm/operations/images.js.map +0 -1
  379. package/esm/operations/index.d.ts.map +0 -1
  380. package/esm/operations/index.js.map +0 -1
  381. package/esm/operations/labPlans.d.ts +0 -202
  382. package/esm/operations/labPlans.d.ts.map +0 -1
  383. package/esm/operations/labPlans.js +0 -419
  384. package/esm/operations/labPlans.js.map +0 -1
  385. package/esm/operations/labs.d.ts +0 -218
  386. package/esm/operations/labs.d.ts.map +0 -1
  387. package/esm/operations/labs.js +0 -462
  388. package/esm/operations/labs.js.map +0 -1
  389. package/esm/operations/operationResults.d.ts +0 -32
  390. package/esm/operations/operationResults.d.ts.map +0 -1
  391. package/esm/operations/operationResults.js +0 -56
  392. package/esm/operations/operationResults.js.map +0 -1
  393. package/esm/operations/operations.d.ts +0 -48
  394. package/esm/operations/operations.d.ts.map +0 -1
  395. package/esm/operations/operations.js +0 -79
  396. package/esm/operations/operations.js.map +0 -1
  397. package/esm/operations/schedules.d.ts +0 -181
  398. package/esm/operations/schedules.d.ts.map +0 -1
  399. package/esm/operations/schedules.js +0 -260
  400. package/esm/operations/schedules.js.map +0 -1
  401. package/esm/operations/users.d.ts +0 -191
  402. package/esm/operations/users.d.ts.map +0 -1
  403. package/esm/operations/users.js +0 -387
  404. package/esm/operations/users.js.map +0 -1
  405. package/esm/operations/virtualMachines.d.ts +0 -217
  406. package/esm/operations/virtualMachines.d.ts.map +0 -1
  407. package/esm/operations/virtualMachines.js +0 -425
  408. package/esm/operations/virtualMachines.js.map +0 -1
  409. package/src/labServicesClientContext.ts +0 -67
  410. package/src/models/imagesMappers.ts +0 -47
  411. package/src/models/labPlansMappers.ts +0 -50
  412. package/src/models/labsMappers.ts +0 -49
  413. package/src/models/schedulesMappers.ts +0 -47
  414. package/src/models/usersMappers.ts +0 -48
  415. package/src/models/virtualMachinesMappers.ts +0 -47
@@ -0,0 +1 @@
1
+ {"version":3,"file":"schedules.js","sourceRoot":"","sources":["../../../src/operations/schedules.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAIH,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AACjD,OAAO,KAAK,OAAO,MAAM,mBAAmB,CAAC;AAC7C,OAAO,KAAK,UAAU,MAAM,sBAAsB,CAAC;AAEnD,OAAO,EAAkC,SAAS,EAAE,MAAM,iBAAiB,CAAC;AAC5E,OAAO,EAAE,OAAO,EAAE,MAAM,YAAY,CAAC;AAiBrC,4CAA4C;AAC5C,6CAA6C;AAC7C,MAAM,OAAO,aAAa;IAGxB;;;OAGG;IACH,YAAY,MAAyB;QACnC,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACvB,CAAC;IAED;;;;;;OAMG;IACI,SAAS,CACd,iBAAyB,EACzB,OAAe,EACf,OAA0C;QAE1C,MAAM,IAAI,GAAG,IAAI,CAAC,kBAAkB,CAAC,iBAAiB,EAAE,OAAO,EAAE,OAAO,CAAC,CAAC;QAC1E,OAAO;YACL,IAAI;gBACF,OAAO,IAAI,CAAC,IAAI,EAAE,CAAC;YACrB,CAAC;YACD,CAAC,MAAM,CAAC,aAAa,CAAC;gBACpB,OAAO,IAAI,CAAC;YACd,CAAC;YACD,MAAM,EAAE,GAAG,EAAE;gBACX,OAAO,IAAI,CAAC,mBAAmB,CAAC,iBAAiB,EA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,GAAG,EAAE,EAAE;QACP,GAAG,EAAE,EAAE;QACP,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,aAAa;SAClC;KACF;IACD,eAAe,EAAE,CAAC,UAAU,CAAC,UAAU,CAAC;IACxC,aAAa,EAAE;QACb,UAAU,CAAC,KAAK;QAChB,UAAU,CAAC,cAAc;QACzB,UAAU,CAAC,iBAAiB;QAC5B,UAAU,CAAC,OAAO;QAClB,UAAU,CAAC,YAAY;KACxB;IACD,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC;AACF,MAAM,0BAA0B,GAA6B;IAC3D,IAAI,EAAE,YAAY;IAClB,UAAU,EAAE,KAAK;IACjB,SAAS,EAAE;QACT,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,cAAc;SACnC;QACD,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,aAAa;SAClC;KACF;IACD,eAAe,EAAE,CAAC,UAAU,CAAC,UAAU,EAAE,UAAU,CAAC,MAAM,CAAC;IAC3D,aAAa,EAAE;QACb,UAAU,CAAC,KAAK;QAChB,UAAU,CAAC,cAAc;QACzB,UAAU,CAAC,iBAAiB;QAC5B,UAAU,CAAC,QAAQ;QACnB,UAAU,CAAC,OAAO;KACnB;IACD,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC"}
@@ -0,0 +1,32 @@
1
+ import { PagedAsyncIterableIterator } from "@azure/core-paging";
2
+ import { Skus } from "../operationsInterfaces";
3
+ import { LabServicesClient } from "../labServicesClient";
4
+ import { LabServicesSku, SkusListOptionalParams } from "../models";
5
+ /** Class containing Skus operations. */
6
+ export declare class SkusImpl implements Skus {
7
+ private readonly client;
8
+ /**
9
+ * Initialize a new instance of the class Skus class.
10
+ * @param client Reference to the service client
11
+ */
12
+ constructor(client: LabServicesClient);
13
+ /**
14
+ * Returns a list of all the Azure Lab Services resource SKUs.
15
+ * @param options The options parameters.
16
+ */
17
+ list(options?: SkusListOptionalParams): PagedAsyncIterableIterator<LabServicesSku>;
18
+ private listPagingPage;
19
+ private listPagingAll;
20
+ /**
21
+ * Returns a list of all the Azure Lab Services resource SKUs.
22
+ * @param options The options parameters.
23
+ */
24
+ private _list;
25
+ /**
26
+ * ListNext
27
+ * @param nextLink The nextLink from the previous successful call to the List method.
28
+ * @param options The options parameters.
29
+ */
30
+ private _listNext;
31
+ }
32
+ //# sourceMappingURL=skus.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"skus.d.ts","sourceRoot":"","sources":["../../../src/operations/skus.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,0BAA0B,EAAE,MAAM,oBAAoB,CAAC;AAChE,OAAO,EAAE,IAAI,EAAE,MAAM,yBAAyB,CAAC;AAI/C,OAAO,EAAE,iBAAiB,EAAE,MAAM,sBAAsB,CAAC;AACzD,OAAO,EACL,cAAc,EAEd,sBAAsB,EAGvB,MAAM,WAAW,CAAC;AAGnB,wCAAwC;AACxC,qBAAa,QAAS,YAAW,IAAI;IACnC,OAAO,CAAC,QAAQ,CAAC,MAAM,CAAoB;IAE3C;;;OAGG;gBACS,MAAM,EAAE,iBAAiB;IAIrC;;;OAGG;IACI,IAAI,CACT,OAAO,CAAC,EAAE,sBAAsB,GAC/B,0BAA0B,CAAC,cAAc,CAAC;YAe9B,cAAc;YAad,aAAa;IAQ5B;;;OAGG;IACH,OAAO,CAAC,KAAK;IAIb;;;;OAIG;IACH,OAAO,CAAC,SAAS;CASlB"}
@@ -0,0 +1,124 @@
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
+ import { __asyncDelegator, __asyncGenerator, __asyncValues, __await } from "tslib";
9
+ import * as coreClient from "@azure/core-client";
10
+ import * as Mappers from "../models/mappers";
11
+ import * as Parameters from "../models/parameters";
12
+ /// <reference lib="esnext.asynciterable" />
13
+ /** Class containing Skus operations. */
14
+ export class SkusImpl {
15
+ /**
16
+ * Initialize a new instance of the class Skus class.
17
+ * @param client Reference to the service client
18
+ */
19
+ constructor(client) {
20
+ this.client = client;
21
+ }
22
+ /**
23
+ * Returns a list of all the Azure Lab Services resource SKUs.
24
+ * @param options The options parameters.
25
+ */
26
+ list(options) {
27
+ const iter = this.listPagingAll(options);
28
+ return {
29
+ next() {
30
+ return iter.next();
31
+ },
32
+ [Symbol.asyncIterator]() {
33
+ return this;
34
+ },
35
+ byPage: () => {
36
+ return this.listPagingPage(options);
37
+ }
38
+ };
39
+ }
40
+ listPagingPage(options) {
41
+ return __asyncGenerator(this, arguments, function* listPagingPage_1() {
42
+ let result = yield __await(this._list(options));
43
+ yield yield __await(result.value || []);
44
+ let continuationToken = result.nextLink;
45
+ while (continuationToken) {
46
+ result = yield __await(this._listNext(continuationToken, options));
47
+ continuationToken = result.nextLink;
48
+ yield yield __await(result.value || []);
49
+ }
50
+ });
51
+ }
52
+ listPagingAll(options) {
53
+ return __asyncGenerator(this, arguments, function* listPagingAll_1() {
54
+ var e_1, _a;
55
+ try {
56
+ for (var _b = __asyncValues(this.listPagingPage(options)), _c; _c = yield __await(_b.next()), !_c.done;) {
57
+ const page = _c.value;
58
+ yield __await(yield* __asyncDelegator(__asyncValues(page)));
59
+ }
60
+ }
61
+ catch (e_1_1) { e_1 = { error: e_1_1 }; }
62
+ finally {
63
+ try {
64
+ if (_c && !_c.done && (_a = _b.return)) yield __await(_a.call(_b));
65
+ }
66
+ finally { if (e_1) throw e_1.error; }
67
+ }
68
+ });
69
+ }
70
+ /**
71
+ * Returns a list of all the Azure Lab Services resource SKUs.
72
+ * @param options The options parameters.
73
+ */
74
+ _list(options) {
75
+ return this.client.sendOperationRequest({ options }, listOperationSpec);
76
+ }
77
+ /**
78
+ * ListNext
79
+ * @param nextLink The nextLink from the previous successful call to the List method.
80
+ * @param options The options parameters.
81
+ */
82
+ _listNext(nextLink, options) {
83
+ return this.client.sendOperationRequest({ nextLink, options }, listNextOperationSpec);
84
+ }
85
+ }
86
+ // Operation Specifications
87
+ const serializer = coreClient.createSerializer(Mappers, /* isXml */ false);
88
+ const listOperationSpec = {
89
+ path: "/subscriptions/{subscriptionId}/providers/Microsoft.LabServices/skus",
90
+ httpMethod: "GET",
91
+ responses: {
92
+ 200: {
93
+ bodyMapper: Mappers.PagedLabServicesSkus
94
+ },
95
+ default: {
96
+ bodyMapper: Mappers.ErrorResponse
97
+ }
98
+ },
99
+ queryParameters: [Parameters.apiVersion, Parameters.filter],
100
+ urlParameters: [Parameters.$host, Parameters.subscriptionId],
101
+ headerParameters: [Parameters.accept],
102
+ serializer
103
+ };
104
+ const listNextOperationSpec = {
105
+ path: "{nextLink}",
106
+ httpMethod: "GET",
107
+ responses: {
108
+ 200: {
109
+ bodyMapper: Mappers.PagedLabServicesSkus
110
+ },
111
+ default: {
112
+ bodyMapper: Mappers.ErrorResponse
113
+ }
114
+ },
115
+ queryParameters: [Parameters.apiVersion, Parameters.filter],
116
+ urlParameters: [
117
+ Parameters.$host,
118
+ Parameters.subscriptionId,
119
+ Parameters.nextLink
120
+ ],
121
+ headerParameters: [Parameters.accept],
122
+ serializer
123
+ };
124
+ //# sourceMappingURL=skus.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"skus.js","sourceRoot":"","sources":["../../../src/operations/skus.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAIH,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AACjD,OAAO,KAAK,OAAO,MAAM,mBAAmB,CAAC;AAC7C,OAAO,KAAK,UAAU,MAAM,sBAAsB,CAAC;AAUnD,4CAA4C;AAC5C,wCAAwC;AACxC,MAAM,OAAO,QAAQ;IAGnB;;;OAGG;IACH,YAAY,MAAyB;QACnC,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACvB,CAAC;IAED;;;OAGG;IACI,IAAI,CACT,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,EAChB,OAAoC;QAEpC,OAAO,IAAI,CAAC,MAAM,CAAC,oBAAoB,CACrC,EAAE,QAAQ,EAAE,OAAO,EAAE,EACrB,qBAAqB,CACtB,CAAC;IACJ,CAAC;CACF;AACD,2BAA2B;AAC3B,MAAM,UAAU,GAAG,UAAU,CAAC,gBAAgB,CAAC,OAAO,EAAE,WAAW,CAAC,KAAK,CAAC,CAAC;AAE3E,MAAM,iBAAiB,GAA6B;IAClD,IAAI,EAAE,sEAAsE;IAC5E,UAAU,EAAE,KAAK;IACjB,SAAS,EAAE;QACT,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,oBAAoB;SACzC;QACD,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,aAAa;SAClC;KACF;IACD,eAAe,EAAE,CAAC,UAAU,CAAC,UAAU,EAAE,UAAU,CAAC,MAAM,CAAC;IAC3D,aAAa,EAAE,CAAC,UAAU,CAAC,KAAK,EAAE,UAAU,CAAC,cAAc,CAAC;IAC5D,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC;AACF,MAAM,qBAAqB,GAA6B;IACtD,IAAI,EAAE,YAAY;IAClB,UAAU,EAAE,KAAK;IACjB,SAAS,EAAE;QACT,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,oBAAoB;SACzC;QACD,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,aAAa;SAClC;KACF;IACD,eAAe,EAAE,CAAC,UAAU,CAAC,UAAU,EAAE,UAAU,CAAC,MAAM,CAAC;IAC3D,aAAa,EAAE;QACb,UAAU,CAAC,KAAK;QAChB,UAAU,CAAC,cAAc;QACzB,UAAU,CAAC,QAAQ;KACpB;IACD,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC"}
@@ -0,0 +1,35 @@
1
+ import { PagedAsyncIterableIterator } from "@azure/core-paging";
2
+ import { Usages } from "../operationsInterfaces";
3
+ import { LabServicesClient } from "../labServicesClient";
4
+ import { Usage, UsagesListByLocationOptionalParams } from "../models";
5
+ /** Class containing Usages operations. */
6
+ export declare class UsagesImpl implements Usages {
7
+ private readonly client;
8
+ /**
9
+ * Initialize a new instance of the class Usages class.
10
+ * @param client Reference to the service client
11
+ */
12
+ constructor(client: LabServicesClient);
13
+ /**
14
+ * Returns list of usage per SKU family for the specified subscription in the specified region.
15
+ * @param location The location name.
16
+ * @param options The options parameters.
17
+ */
18
+ listByLocation(location: string, options?: UsagesListByLocationOptionalParams): PagedAsyncIterableIterator<Usage>;
19
+ private listByLocationPagingPage;
20
+ private listByLocationPagingAll;
21
+ /**
22
+ * Returns list of usage per SKU family for the specified subscription in the specified region.
23
+ * @param location The location name.
24
+ * @param options The options parameters.
25
+ */
26
+ private _listByLocation;
27
+ /**
28
+ * ListByLocationNext
29
+ * @param location The location name.
30
+ * @param nextLink The nextLink from the previous successful call to the ListByLocation method.
31
+ * @param options The options parameters.
32
+ */
33
+ private _listByLocationNext;
34
+ }
35
+ //# sourceMappingURL=usages.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"usages.d.ts","sourceRoot":"","sources":["../../../src/operations/usages.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,0BAA0B,EAAE,MAAM,oBAAoB,CAAC;AAChE,OAAO,EAAE,MAAM,EAAE,MAAM,yBAAyB,CAAC;AAIjD,OAAO,EAAE,iBAAiB,EAAE,MAAM,sBAAsB,CAAC;AACzD,OAAO,EACL,KAAK,EAEL,kCAAkC,EAGnC,MAAM,WAAW,CAAC;AAGnB,0CAA0C;AAC1C,qBAAa,UAAW,YAAW,MAAM;IACvC,OAAO,CAAC,QAAQ,CAAC,MAAM,CAAoB;IAE3C;;;OAGG;gBACS,MAAM,EAAE,iBAAiB;IAIrC;;;;OAIG;IACI,cAAc,CACnB,QAAQ,EAAE,MAAM,EAChB,OAAO,CAAC,EAAE,kCAAkC,GAC3C,0BAA0B,CAAC,KAAK,CAAC;YAerB,wBAAwB;YAkBxB,uBAAuB;IAStC;;;;OAIG;IACH,OAAO,CAAC,eAAe;IAUvB;;;;;OAKG;IACH,OAAO,CAAC,mBAAmB;CAU5B"}
@@ -0,0 +1,132 @@
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
+ import { __asyncDelegator, __asyncGenerator, __asyncValues, __await } from "tslib";
9
+ import * as coreClient from "@azure/core-client";
10
+ import * as Mappers from "../models/mappers";
11
+ import * as Parameters from "../models/parameters";
12
+ /// <reference lib="esnext.asynciterable" />
13
+ /** Class containing Usages operations. */
14
+ export class UsagesImpl {
15
+ /**
16
+ * Initialize a new instance of the class Usages class.
17
+ * @param client Reference to the service client
18
+ */
19
+ constructor(client) {
20
+ this.client = client;
21
+ }
22
+ /**
23
+ * Returns list of usage per SKU family for the specified subscription in the specified region.
24
+ * @param location The location name.
25
+ * @param options The options parameters.
26
+ */
27
+ listByLocation(location, options) {
28
+ const iter = this.listByLocationPagingAll(location, options);
29
+ return {
30
+ next() {
31
+ return iter.next();
32
+ },
33
+ [Symbol.asyncIterator]() {
34
+ return this;
35
+ },
36
+ byPage: () => {
37
+ return this.listByLocationPagingPage(location, options);
38
+ }
39
+ };
40
+ }
41
+ listByLocationPagingPage(location, options) {
42
+ return __asyncGenerator(this, arguments, function* listByLocationPagingPage_1() {
43
+ let result = yield __await(this._listByLocation(location, options));
44
+ yield yield __await(result.value || []);
45
+ let continuationToken = result.nextLink;
46
+ while (continuationToken) {
47
+ result = yield __await(this._listByLocationNext(location, continuationToken, options));
48
+ continuationToken = result.nextLink;
49
+ yield yield __await(result.value || []);
50
+ }
51
+ });
52
+ }
53
+ listByLocationPagingAll(location, options) {
54
+ return __asyncGenerator(this, arguments, function* listByLocationPagingAll_1() {
55
+ var e_1, _a;
56
+ try {
57
+ for (var _b = __asyncValues(this.listByLocationPagingPage(location, options)), _c; _c = yield __await(_b.next()), !_c.done;) {
58
+ const page = _c.value;
59
+ yield __await(yield* __asyncDelegator(__asyncValues(page)));
60
+ }
61
+ }
62
+ catch (e_1_1) { e_1 = { error: e_1_1 }; }
63
+ finally {
64
+ try {
65
+ if (_c && !_c.done && (_a = _b.return)) yield __await(_a.call(_b));
66
+ }
67
+ finally { if (e_1) throw e_1.error; }
68
+ }
69
+ });
70
+ }
71
+ /**
72
+ * Returns list of usage per SKU family for the specified subscription in the specified region.
73
+ * @param location The location name.
74
+ * @param options The options parameters.
75
+ */
76
+ _listByLocation(location, options) {
77
+ return this.client.sendOperationRequest({ location, options }, listByLocationOperationSpec);
78
+ }
79
+ /**
80
+ * ListByLocationNext
81
+ * @param location The location name.
82
+ * @param nextLink The nextLink from the previous successful call to the ListByLocation method.
83
+ * @param options The options parameters.
84
+ */
85
+ _listByLocationNext(location, nextLink, options) {
86
+ return this.client.sendOperationRequest({ location, nextLink, options }, listByLocationNextOperationSpec);
87
+ }
88
+ }
89
+ // Operation Specifications
90
+ const serializer = coreClient.createSerializer(Mappers, /* isXml */ false);
91
+ const listByLocationOperationSpec = {
92
+ path: "/subscriptions/{subscriptionId}/providers/Microsoft.LabServices/locations/{location}/usages",
93
+ httpMethod: "GET",
94
+ responses: {
95
+ 200: {
96
+ bodyMapper: Mappers.ListUsagesResult
97
+ },
98
+ default: {
99
+ bodyMapper: Mappers.ErrorResponse
100
+ }
101
+ },
102
+ queryParameters: [Parameters.apiVersion, Parameters.filter],
103
+ urlParameters: [
104
+ Parameters.$host,
105
+ Parameters.subscriptionId,
106
+ Parameters.location
107
+ ],
108
+ headerParameters: [Parameters.accept],
109
+ serializer
110
+ };
111
+ const listByLocationNextOperationSpec = {
112
+ path: "{nextLink}",
113
+ httpMethod: "GET",
114
+ responses: {
115
+ 200: {
116
+ bodyMapper: Mappers.ListUsagesResult
117
+ },
118
+ default: {
119
+ bodyMapper: Mappers.ErrorResponse
120
+ }
121
+ },
122
+ queryParameters: [Parameters.apiVersion, Parameters.filter],
123
+ urlParameters: [
124
+ Parameters.$host,
125
+ Parameters.subscriptionId,
126
+ Parameters.nextLink,
127
+ Parameters.location
128
+ ],
129
+ headerParameters: [Parameters.accept],
130
+ serializer
131
+ };
132
+ //# sourceMappingURL=usages.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"usages.js","sourceRoot":"","sources":["../../../src/operations/usages.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAIH,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AACjD,OAAO,KAAK,OAAO,MAAM,mBAAmB,CAAC;AAC7C,OAAO,KAAK,UAAU,MAAM,sBAAsB,CAAC;AAUnD,4CAA4C;AAC5C,0CAA0C;AAC1C,MAAM,OAAO,UAAU;IAGrB;;;OAGG;IACH,YAAY,MAAyB;QACnC,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACvB,CAAC;IAED;;;;OAIG;IACI,cAAc,CACnB,QAAgB,EAChB,OAA4C;QAE5C,MAAM,IAAI,GAAG,IAAI,CAAC,uBAAuB,CAAC,QAAQ,EAAE,OAAO,CAAC,CAAC;QAC7D,OAAO;YACL,IAAI;gBACF,OAAO,IAAI,CAAC,IAAI,EAAE,CAAC;YACrB,CAAC;YACD,CAAC,MAAM,CAAC,aAAa,CAAC;gBACpB,OAAO,IAAI,CAAC;YACd,CAAC;YACD,MAAM,EAAE,GAAG,EAAE;gBACX,OAAO,IAAI,CAAC,wBAAwB,CAAC,QAAQ,EAAE,OAAO,CAAC,CAAC;YAC1D,CAAC;SACF,CAAC;IACJ,CAAC;IAEc,wBAAwB,CACrC,QAAgB,EAChB,OAA4C;;YAE5C,IAAI,MAAM,GAAG,cAAM,IAAI,CAAC,eAAe,CAAC,QAAQ,EAAE,OAAO,CAAC,CAAA,CAAC;YAC3D,oBAAM,MAAM,CAAC,KAAK,IAAI,EAAE,CAAA,CAAC;YACzB,IAAI,iBAAiB,GAAG,MA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AU,EAAE,OAAO,CAAC,aAAa;SAClC;KACF;IACD,eAAe,EAAE,CAAC,UAAU,CAAC,UAAU,EAAE,UAAU,CAAC,MAAM,CAAC;IAC3D,aAAa,EAAE;QACb,UAAU,CAAC,KAAK;QAChB,UAAU,CAAC,cAAc;QACzB,UAAU,CAAC,QAAQ;KACpB;IACD,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC;AACF,MAAM,+BAA+B,GAA6B;IAChE,IAAI,EAAE,YAAY;IAClB,UAAU,EAAE,KAAK;IACjB,SAAS,EAAE;QACT,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,gBAAgB;SACrC;QACD,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,aAAa;SAClC;KACF;IACD,eAAe,EAAE,CAAC,UAAU,CAAC,UAAU,EAAE,UAAU,CAAC,MAAM,CAAC;IAC3D,aAAa,EAAE;QACb,UAAU,CAAC,KAAK;QAChB,UAAU,CAAC,cAAc;QACzB,UAAU,CAAC,QAAQ;QACnB,UAAU,CAAC,QAAQ;KACpB;IACD,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC"}
@@ -0,0 +1,138 @@
1
+ import { PagedAsyncIterableIterator } from "@azure/core-paging";
2
+ import { Users } from "../operationsInterfaces";
3
+ import { LabServicesClient } from "../labServicesClient";
4
+ import { PollerLike, PollOperationState } from "@azure/core-lro";
5
+ import { User, UsersListByLabOptionalParams, UsersGetOptionalParams, UsersGetResponse, UsersCreateOrUpdateOptionalParams, UsersCreateOrUpdateResponse, UserUpdate, UsersUpdateOptionalParams, UsersUpdateResponse, UsersDeleteOptionalParams, InviteBody, UsersInviteOptionalParams } from "../models";
6
+ /** Class containing Users operations. */
7
+ export declare class UsersImpl implements Users {
8
+ private readonly client;
9
+ /**
10
+ * Initialize a new instance of the class Users class.
11
+ * @param client Reference to the service client
12
+ */
13
+ constructor(client: LabServicesClient);
14
+ /**
15
+ * Returns a list of all users for a lab.
16
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
17
+ * @param labName The name of the lab that uniquely identifies it within containing lab account. Used
18
+ * in resource URIs.
19
+ * @param options The options parameters.
20
+ */
21
+ listByLab(resourceGroupName: string, labName: string, options?: UsersListByLabOptionalParams): PagedAsyncIterableIterator<User>;
22
+ private listByLabPagingPage;
23
+ private listByLabPagingAll;
24
+ /**
25
+ * Returns a list of all users for a lab.
26
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
27
+ * @param labName The name of the lab that uniquely identifies it within containing lab account. Used
28
+ * in resource URIs.
29
+ * @param options The options parameters.
30
+ */
31
+ private _listByLab;
32
+ /**
33
+ * Returns the properties of a lab user.
34
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
35
+ * @param labName The name of the lab that uniquely identifies it within containing lab account. Used
36
+ * in resource URIs.
37
+ * @param userName The name of the user that uniquely identifies it within containing lab. Used in
38
+ * resource URIs.
39
+ * @param options The options parameters.
40
+ */
41
+ get(resourceGroupName: string, labName: string, userName: string, options?: UsersGetOptionalParams): Promise<UsersGetResponse>;
42
+ /**
43
+ * Operation to create or update a lab user.
44
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
45
+ * @param labName The name of the lab that uniquely identifies it within containing lab account. Used
46
+ * in resource URIs.
47
+ * @param userName The name of the user that uniquely identifies it within containing lab. Used in
48
+ * resource URIs.
49
+ * @param body The request body.
50
+ * @param options The options parameters.
51
+ */
52
+ beginCreateOrUpdate(resourceGroupName: string, labName: string, userName: string, body: User, options?: UsersCreateOrUpdateOptionalParams): Promise<PollerLike<PollOperationState<UsersCreateOrUpdateResponse>, UsersCreateOrUpdateResponse>>;
53
+ /**
54
+ * Operation to create or update a lab user.
55
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
56
+ * @param labName The name of the lab that uniquely identifies it within containing lab account. Used
57
+ * in resource URIs.
58
+ * @param userName The name of the user that uniquely identifies it within containing lab. Used in
59
+ * resource URIs.
60
+ * @param body The request body.
61
+ * @param options The options parameters.
62
+ */
63
+ beginCreateOrUpdateAndWait(resourceGroupName: string, labName: string, userName: string, body: User, options?: UsersCreateOrUpdateOptionalParams): Promise<UsersCreateOrUpdateResponse>;
64
+ /**
65
+ * Operation to update a lab user.
66
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
67
+ * @param labName The name of the lab that uniquely identifies it within containing lab account. Used
68
+ * in resource URIs.
69
+ * @param userName The name of the user that uniquely identifies it within containing lab. Used in
70
+ * resource URIs.
71
+ * @param body The request body.
72
+ * @param options The options parameters.
73
+ */
74
+ beginUpdate(resourceGroupName: string, labName: string, userName: string, body: UserUpdate, options?: UsersUpdateOptionalParams): Promise<PollerLike<PollOperationState<UsersUpdateResponse>, UsersUpdateResponse>>;
75
+ /**
76
+ * Operation to update a lab user.
77
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
78
+ * @param labName The name of the lab that uniquely identifies it within containing lab account. Used
79
+ * in resource URIs.
80
+ * @param userName The name of the user that uniquely identifies it within containing lab. Used in
81
+ * resource URIs.
82
+ * @param body The request body.
83
+ * @param options The options parameters.
84
+ */
85
+ beginUpdateAndWait(resourceGroupName: string, labName: string, userName: string, body: UserUpdate, options?: UsersUpdateOptionalParams): Promise<UsersUpdateResponse>;
86
+ /**
87
+ * Operation to delete a user resource.
88
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
89
+ * @param labName The name of the lab that uniquely identifies it within containing lab account. Used
90
+ * in resource URIs.
91
+ * @param userName The name of the user that uniquely identifies it within containing lab. Used in
92
+ * resource URIs.
93
+ * @param options The options parameters.
94
+ */
95
+ beginDelete(resourceGroupName: string, labName: string, userName: string, options?: UsersDeleteOptionalParams): Promise<PollerLike<PollOperationState<void>, void>>;
96
+ /**
97
+ * Operation to delete a user resource.
98
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
99
+ * @param labName The name of the lab that uniquely identifies it within containing lab account. Used
100
+ * in resource URIs.
101
+ * @param userName The name of the user that uniquely identifies it within containing lab. Used in
102
+ * resource URIs.
103
+ * @param options The options parameters.
104
+ */
105
+ beginDeleteAndWait(resourceGroupName: string, labName: string, userName: string, options?: UsersDeleteOptionalParams): Promise<void>;
106
+ /**
107
+ * Operation to invite a user to a lab.
108
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
109
+ * @param labName The name of the lab that uniquely identifies it within containing lab account. Used
110
+ * in resource URIs.
111
+ * @param userName The name of the user that uniquely identifies it within containing lab. Used in
112
+ * resource URIs.
113
+ * @param body The request body.
114
+ * @param options The options parameters.
115
+ */
116
+ beginInvite(resourceGroupName: string, labName: string, userName: string, body: InviteBody, options?: UsersInviteOptionalParams): Promise<PollerLike<PollOperationState<void>, void>>;
117
+ /**
118
+ * Operation to invite a user to a lab.
119
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
120
+ * @param labName The name of the lab that uniquely identifies it within containing lab account. Used
121
+ * in resource URIs.
122
+ * @param userName The name of the user that uniquely identifies it within containing lab. Used in
123
+ * resource URIs.
124
+ * @param body The request body.
125
+ * @param options The options parameters.
126
+ */
127
+ beginInviteAndWait(resourceGroupName: string, labName: string, userName: string, body: InviteBody, options?: UsersInviteOptionalParams): Promise<void>;
128
+ /**
129
+ * ListByLabNext
130
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
131
+ * @param labName The name of the lab that uniquely identifies it within containing lab account. Used
132
+ * in resource URIs.
133
+ * @param nextLink The nextLink from the previous successful call to the ListByLab method.
134
+ * @param options The options parameters.
135
+ */
136
+ private _listByLabNext;
137
+ }
138
+ //# sourceMappingURL=users.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"users.d.ts","sourceRoot":"","sources":["../../../src/operations/users.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,0BAA0B,EAAE,MAAM,oBAAoB,CAAC;AAChE,OAAO,EAAE,KAAK,EAAE,MAAM,yBAAyB,CAAC;AAIhD,OAAO,EAAE,iBAAiB,EAAE,MAAM,sBAAsB,C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