@azure/arm-labservices 3.1.1-alpha.20250211.1 → 3.1.1-alpha.20250213.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 (726) hide show
  1. package/README.md +20 -14
  2. package/dist/browser/index.d.ts +5 -0
  3. package/{dist-esm/src → dist/browser}/index.d.ts.map +1 -1
  4. package/{dist-esm/src → dist/browser}/index.js +4 -4
  5. package/dist/browser/index.js.map +1 -0
  6. package/{dist-esm/src → dist/browser}/labServicesClient.d.ts +2 -2
  7. package/dist/browser/labServicesClient.d.ts.map +1 -0
  8. package/{dist-esm/src → dist/browser}/labServicesClient.js +15 -18
  9. package/dist/browser/labServicesClient.js.map +1 -0
  10. package/dist/browser/lroImpl.js +25 -0
  11. package/dist/browser/lroImpl.js.map +1 -0
  12. package/dist/browser/models/index.js.map +1 -0
  13. package/dist/browser/models/mappers.js.map +1 -0
  14. package/{dist-esm/src → dist/browser}/models/parameters.js +1 -1
  15. package/dist/browser/models/parameters.js.map +1 -0
  16. package/{dist-esm/src → dist/browser}/operations/images.d.ts +3 -3
  17. package/dist/browser/operations/images.d.ts.map +1 -0
  18. package/{dist-esm/src → dist/browser}/operations/images.js +3 -3
  19. package/dist/browser/operations/images.js.map +1 -0
  20. package/dist/browser/operations/index.d.ts +11 -0
  21. package/dist/browser/operations/index.d.ts.map +1 -0
  22. package/dist/browser/operations/index.js +18 -0
  23. package/dist/browser/operations/index.js.map +1 -0
  24. package/{dist-esm/src → dist/browser}/operations/labPlans.d.ts +3 -3
  25. package/dist/browser/operations/labPlans.d.ts.map +1 -0
  26. package/{dist-esm/src → dist/browser}/operations/labPlans.js +137 -153
  27. package/dist/browser/operations/labPlans.js.map +1 -0
  28. package/{dist-esm/src → dist/browser}/operations/labs.d.ts +3 -3
  29. package/dist/browser/operations/labs.d.ts.map +1 -0
  30. package/{dist-esm/src → dist/browser}/operations/labs.js +170 -190
  31. package/dist/browser/operations/labs.js.map +1 -0
  32. package/{dist-esm/src → dist/browser}/operations/operationResults.d.ts +3 -3
  33. package/dist/browser/operations/operationResults.d.ts.map +1 -0
  34. package/{dist-esm/src → dist/browser}/operations/operationResults.js +2 -2
  35. package/dist/browser/operations/operationResults.js.map +1 -0
  36. package/{dist-esm/src → dist/browser}/operations/operations.d.ts +3 -3
  37. package/dist/browser/operations/operations.d.ts.map +1 -0
  38. package/{dist-esm/src → dist/browser}/operations/operations.js +3 -3
  39. package/dist/browser/operations/operations.js.map +1 -0
  40. package/{dist-esm/src → dist/browser}/operations/schedules.d.ts +3 -3
  41. package/dist/browser/operations/schedules.d.ts.map +1 -0
  42. package/{dist-esm/src → dist/browser}/operations/schedules.js +38 -42
  43. package/dist/browser/operations/schedules.js.map +1 -0
  44. package/{dist-esm/src → dist/browser}/operations/skus.d.ts +3 -3
  45. package/dist/browser/operations/skus.d.ts.map +1 -0
  46. package/{dist-esm/src → dist/browser}/operations/skus.js +3 -3
  47. package/dist/browser/operations/skus.js.map +1 -0
  48. package/{dist-esm/src → dist/browser}/operations/usages.d.ts +3 -3
  49. package/dist/browser/operations/usages.d.ts.map +1 -0
  50. package/{dist-esm/src → dist/browser}/operations/usages.js +3 -3
  51. package/dist/browser/operations/usages.js.map +1 -0
  52. package/{dist-esm/src → dist/browser}/operations/users.d.ts +3 -3
  53. package/dist/browser/operations/users.d.ts.map +1 -0
  54. package/{dist-esm/src → dist/browser}/operations/users.js +137 -153
  55. package/dist/browser/operations/users.js.map +1 -0
  56. package/{dist-esm/src → dist/browser}/operations/virtualMachines.d.ts +3 -3
  57. package/dist/browser/operations/virtualMachines.d.ts.map +1 -0
  58. package/{dist-esm/src → dist/browser}/operations/virtualMachines.js +170 -190
  59. package/dist/browser/operations/virtualMachines.js.map +1 -0
  60. package/{dist-esm/src → dist/browser}/operationsInterfaces/images.d.ts +1 -1
  61. package/dist/browser/operationsInterfaces/images.d.ts.map +1 -0
  62. package/dist/browser/operationsInterfaces/images.js.map +1 -0
  63. package/dist/browser/operationsInterfaces/index.d.ts +11 -0
  64. package/dist/browser/operationsInterfaces/index.d.ts.map +1 -0
  65. package/dist/browser/operationsInterfaces/index.js +18 -0
  66. package/dist/browser/operationsInterfaces/index.js.map +1 -0
  67. package/{dist-esm/src → dist/browser}/operationsInterfaces/labPlans.d.ts +1 -1
  68. package/dist/browser/operationsInterfaces/labPlans.d.ts.map +1 -0
  69. package/dist/browser/operationsInterfaces/labPlans.js.map +1 -0
  70. package/{dist-esm/src → dist/browser}/operationsInterfaces/labs.d.ts +1 -1
  71. package/dist/browser/operationsInterfaces/labs.d.ts.map +1 -0
  72. package/dist/browser/operationsInterfaces/labs.js.map +1 -0
  73. package/{dist-esm/src → dist/browser}/operationsInterfaces/operationResults.d.ts +1 -1
  74. package/{dist-esm/src → dist/browser}/operationsInterfaces/operationResults.d.ts.map +1 -1
  75. package/dist/browser/operationsInterfaces/operationResults.js.map +1 -0
  76. package/{dist-esm/src → dist/browser}/operationsInterfaces/operations.d.ts +1 -1
  77. package/{dist-esm/src → dist/browser}/operationsInterfaces/operations.d.ts.map +1 -1
  78. package/dist/browser/operationsInterfaces/operations.js.map +1 -0
  79. package/{dist-esm/src → dist/browser}/operationsInterfaces/schedules.d.ts +1 -1
  80. package/dist/browser/operationsInterfaces/schedules.d.ts.map +1 -0
  81. package/dist/browser/operationsInterfaces/schedules.js.map +1 -0
  82. package/{dist-esm/src → dist/browser}/operationsInterfaces/skus.d.ts +1 -1
  83. package/{dist-esm/src → dist/browser}/operationsInterfaces/skus.d.ts.map +1 -1
  84. package/dist/browser/operationsInterfaces/skus.js.map +1 -0
  85. package/{dist-esm/src → dist/browser}/operationsInterfaces/usages.d.ts +1 -1
  86. package/{dist-esm/src → dist/browser}/operationsInterfaces/usages.d.ts.map +1 -1
  87. package/dist/browser/operationsInterfaces/usages.js.map +1 -0
  88. package/{dist-esm/src → dist/browser}/operationsInterfaces/users.d.ts +1 -1
  89. package/dist/browser/operationsInterfaces/users.d.ts.map +1 -0
  90. package/dist/browser/operationsInterfaces/users.js.map +1 -0
  91. package/{dist-esm/src → dist/browser}/operationsInterfaces/virtualMachines.d.ts +1 -1
  92. package/dist/browser/operationsInterfaces/virtualMachines.d.ts.map +1 -0
  93. package/dist/browser/operationsInterfaces/virtualMachines.js.map +1 -0
  94. package/dist/browser/package.json +3 -0
  95. package/dist/browser/pagingHelper.js.map +1 -0
  96. package/dist/commonjs/index.d.ts +5 -0
  97. package/dist/commonjs/index.d.ts.map +1 -0
  98. package/dist/commonjs/index.js +19 -0
  99. package/dist/commonjs/index.js.map +1 -0
  100. package/dist/commonjs/labServicesClient.d.ts +29 -0
  101. package/dist/commonjs/labServicesClient.d.ts.map +1 -0
  102. package/dist/commonjs/labServicesClient.js +111 -0
  103. package/dist/commonjs/labServicesClient.js.map +1 -0
  104. package/dist/commonjs/lroImpl.d.ts +16 -0
  105. package/dist/commonjs/lroImpl.d.ts.map +1 -0
  106. package/dist/commonjs/lroImpl.js +29 -0
  107. package/dist/commonjs/lroImpl.js.map +1 -0
  108. package/{types/arm-labservices.d.ts → dist/commonjs/models/index.d.ts} +1655 -2466
  109. package/dist/commonjs/models/index.d.ts.map +1 -0
  110. package/dist/commonjs/models/index.js +77 -0
  111. package/dist/commonjs/models/index.js.map +1 -0
  112. package/dist/commonjs/models/mappers.d.ts +68 -0
  113. package/dist/commonjs/models/mappers.d.ts.map +1 -0
  114. package/dist/commonjs/models/mappers.js +2731 -0
  115. package/dist/commonjs/models/mappers.js.map +1 -0
  116. package/dist/commonjs/models/parameters.d.ts +31 -0
  117. package/dist/commonjs/models/parameters.d.ts.map +1 -0
  118. package/dist/commonjs/models/parameters.js +273 -0
  119. package/dist/commonjs/models/parameters.js.map +1 -0
  120. package/dist/commonjs/operations/images.d.ts +70 -0
  121. package/dist/commonjs/operations/images.d.ts.map +1 -0
  122. package/dist/commonjs/operations/images.js +262 -0
  123. package/dist/commonjs/operations/images.js.map +1 -0
  124. package/dist/commonjs/operations/index.d.ts +11 -0
  125. package/dist/commonjs/operations/index.d.ts.map +1 -0
  126. package/dist/commonjs/operations/index.js +21 -0
  127. package/dist/commonjs/operations/index.js.map +1 -0
  128. package/dist/commonjs/operations/labPlans.d.ts +134 -0
  129. package/dist/commonjs/operations/labPlans.d.ts.map +1 -0
  130. package/dist/commonjs/operations/labPlans.js +611 -0
  131. package/dist/commonjs/operations/labPlans.js.map +1 -0
  132. package/dist/commonjs/operations/labs.d.ts +146 -0
  133. package/dist/commonjs/operations/labs.d.ts.map +1 -0
  134. package/dist/commonjs/operations/labs.js +677 -0
  135. package/dist/commonjs/operations/labs.js.map +1 -0
  136. package/dist/commonjs/operations/operationResults.d.ts +19 -0
  137. package/dist/commonjs/operations/operationResults.d.ts.map +1 -0
  138. package/dist/commonjs/operations/operationResults.js +57 -0
  139. package/dist/commonjs/operations/operationResults.js.map +1 -0
  140. package/dist/commonjs/operations/operations.d.ts +32 -0
  141. package/dist/commonjs/operations/operations.d.ts.map +1 -0
  142. package/dist/commonjs/operations/operations.js +137 -0
  143. package/dist/commonjs/operations/operations.js.map +1 -0
  144. package/dist/commonjs/operations/schedules.d.ts +94 -0
  145. package/dist/commonjs/operations/schedules.d.ts.map +1 -0
  146. package/dist/commonjs/operations/schedules.js +347 -0
  147. package/dist/commonjs/operations/schedules.js.map +1 -0
  148. package/dist/commonjs/operations/skus.d.ts +32 -0
  149. package/dist/commonjs/operations/skus.d.ts.map +1 -0
  150. package/dist/commonjs/operations/skus.js +141 -0
  151. package/dist/commonjs/operations/skus.js.map +1 -0
  152. package/dist/commonjs/operations/usages.d.ts +35 -0
  153. package/dist/commonjs/operations/usages.d.ts.map +1 -0
  154. package/dist/commonjs/operations/usages.js +149 -0
  155. package/dist/commonjs/operations/usages.js.map +1 -0
  156. package/dist/commonjs/operations/users.d.ts +138 -0
  157. package/dist/commonjs/operations/users.d.ts.map +1 -0
  158. package/dist/commonjs/operations/users.js +529 -0
  159. package/dist/commonjs/operations/users.js.map +1 -0
  160. package/dist/commonjs/operations/virtualMachines.d.ts +158 -0
  161. package/dist/commonjs/operations/virtualMachines.d.ts.map +1 -0
  162. package/dist/commonjs/operations/virtualMachines.js +586 -0
  163. package/dist/commonjs/operations/virtualMachines.js.map +1 -0
  164. package/dist/commonjs/operationsInterfaces/images.d.ts +43 -0
  165. package/dist/commonjs/operationsInterfaces/images.d.ts.map +1 -0
  166. package/dist/commonjs/operationsInterfaces/images.js +10 -0
  167. package/dist/commonjs/operationsInterfaces/images.js.map +1 -0
  168. package/dist/commonjs/operationsInterfaces/index.d.ts +11 -0
  169. package/dist/commonjs/operationsInterfaces/index.d.ts.map +1 -0
  170. package/dist/commonjs/operationsInterfaces/index.js +21 -0
  171. package/dist/commonjs/operationsInterfaces/index.js.map +1 -0
  172. package/dist/commonjs/operationsInterfaces/labPlans.d.ts +98 -0
  173. package/dist/commonjs/operationsInterfaces/labPlans.d.ts.map +1 -0
  174. package/dist/commonjs/operationsInterfaces/labPlans.js +10 -0
  175. package/dist/commonjs/operationsInterfaces/labPlans.js.map +1 -0
  176. package/dist/commonjs/operationsInterfaces/labs.d.ts +110 -0
  177. package/dist/commonjs/operationsInterfaces/labs.d.ts.map +1 -0
  178. package/dist/commonjs/operationsInterfaces/labs.js +10 -0
  179. package/dist/commonjs/operationsInterfaces/labs.js.map +1 -0
  180. package/dist/commonjs/operationsInterfaces/operationResults.d.ts +11 -0
  181. package/dist/commonjs/operationsInterfaces/operationResults.d.ts.map +1 -0
  182. package/dist/commonjs/operationsInterfaces/operationResults.js +10 -0
  183. package/dist/commonjs/operationsInterfaces/operationResults.js.map +1 -0
  184. package/dist/commonjs/operationsInterfaces/operations.d.ts +11 -0
  185. package/dist/commonjs/operationsInterfaces/operations.d.ts.map +1 -0
  186. package/dist/commonjs/operationsInterfaces/operations.js +10 -0
  187. package/dist/commonjs/operationsInterfaces/operations.js.map +1 -0
  188. package/dist/commonjs/operationsInterfaces/schedules.d.ts +67 -0
  189. package/dist/commonjs/operationsInterfaces/schedules.d.ts.map +1 -0
  190. package/dist/commonjs/operationsInterfaces/schedules.js +10 -0
  191. package/dist/commonjs/operationsInterfaces/schedules.js.map +1 -0
  192. package/dist/commonjs/operationsInterfaces/skus.d.ts +11 -0
  193. package/dist/commonjs/operationsInterfaces/skus.d.ts.map +1 -0
  194. package/dist/commonjs/operationsInterfaces/skus.js +10 -0
  195. package/dist/commonjs/operationsInterfaces/skus.js.map +1 -0
  196. package/dist/commonjs/operationsInterfaces/usages.d.ts +12 -0
  197. package/dist/commonjs/operationsInterfaces/usages.d.ts.map +1 -0
  198. package/dist/commonjs/operationsInterfaces/usages.js +10 -0
  199. package/dist/commonjs/operationsInterfaces/usages.js.map +1 -0
  200. package/dist/commonjs/operationsInterfaces/users.d.ts +111 -0
  201. package/dist/commonjs/operationsInterfaces/users.d.ts.map +1 -0
  202. package/dist/commonjs/operationsInterfaces/users.js +10 -0
  203. package/dist/commonjs/operationsInterfaces/users.js.map +1 -0
  204. package/dist/commonjs/operationsInterfaces/virtualMachines.d.ts +131 -0
  205. package/dist/commonjs/operationsInterfaces/virtualMachines.d.ts.map +1 -0
  206. package/dist/commonjs/operationsInterfaces/virtualMachines.js +10 -0
  207. package/dist/commonjs/operationsInterfaces/virtualMachines.js.map +1 -0
  208. package/dist/commonjs/package.json +3 -0
  209. package/dist/commonjs/pagingHelper.d.ts +13 -0
  210. package/dist/commonjs/pagingHelper.d.ts.map +1 -0
  211. package/dist/commonjs/pagingHelper.js +36 -0
  212. package/dist/commonjs/pagingHelper.js.map +1 -0
  213. package/dist/esm/index.d.ts +5 -0
  214. package/dist/esm/index.d.ts.map +1 -0
  215. package/{src/index.ts → dist/esm/index.js} +5 -5
  216. package/dist/esm/index.js.map +1 -0
  217. package/dist/esm/labServicesClient.d.ts +29 -0
  218. package/dist/esm/labServicesClient.d.ts.map +1 -0
  219. package/dist/esm/labServicesClient.js +106 -0
  220. package/dist/esm/labServicesClient.js.map +1 -0
  221. package/dist/esm/lroImpl.d.ts +16 -0
  222. package/dist/esm/lroImpl.d.ts.map +1 -0
  223. package/dist/esm/lroImpl.js +25 -0
  224. package/dist/esm/lroImpl.js.map +1 -0
  225. package/dist/esm/models/index.d.ts +1655 -0
  226. package/dist/esm/models/index.d.ts.map +1 -0
  227. package/dist/esm/models/index.js +74 -0
  228. package/dist/esm/models/index.js.map +1 -0
  229. package/dist/esm/models/mappers.d.ts +68 -0
  230. package/dist/esm/models/mappers.d.ts.map +1 -0
  231. package/dist/esm/models/mappers.js +2727 -0
  232. package/dist/esm/models/mappers.js.map +1 -0
  233. package/dist/esm/models/parameters.d.ts +31 -0
  234. package/dist/esm/models/parameters.d.ts.map +1 -0
  235. package/dist/esm/models/parameters.js +270 -0
  236. package/dist/esm/models/parameters.js.map +1 -0
  237. package/dist/esm/operations/images.d.ts +70 -0
  238. package/dist/esm/operations/images.d.ts.map +1 -0
  239. package/dist/esm/operations/images.js +258 -0
  240. package/dist/esm/operations/images.js.map +1 -0
  241. package/dist/esm/operations/index.d.ts +11 -0
  242. package/dist/esm/operations/index.d.ts.map +1 -0
  243. package/dist/esm/operations/index.js +18 -0
  244. package/dist/esm/operations/index.js.map +1 -0
  245. package/dist/esm/operations/labPlans.d.ts +134 -0
  246. package/dist/esm/operations/labPlans.d.ts.map +1 -0
  247. package/dist/esm/operations/labPlans.js +607 -0
  248. package/dist/esm/operations/labPlans.js.map +1 -0
  249. package/dist/esm/operations/labs.d.ts +146 -0
  250. package/dist/esm/operations/labs.d.ts.map +1 -0
  251. package/dist/esm/operations/labs.js +673 -0
  252. package/dist/esm/operations/labs.js.map +1 -0
  253. package/dist/esm/operations/operationResults.d.ts +19 -0
  254. package/dist/esm/operations/operationResults.d.ts.map +1 -0
  255. package/dist/esm/operations/operationResults.js +52 -0
  256. package/dist/esm/operations/operationResults.js.map +1 -0
  257. package/dist/esm/operations/operations.d.ts +32 -0
  258. package/dist/esm/operations/operations.d.ts.map +1 -0
  259. package/dist/esm/operations/operations.js +133 -0
  260. package/dist/esm/operations/operations.js.map +1 -0
  261. package/dist/esm/operations/schedules.d.ts +94 -0
  262. package/dist/esm/operations/schedules.d.ts.map +1 -0
  263. package/dist/esm/operations/schedules.js +343 -0
  264. package/dist/esm/operations/schedules.js.map +1 -0
  265. package/dist/esm/operations/skus.d.ts +32 -0
  266. package/dist/esm/operations/skus.d.ts.map +1 -0
  267. package/dist/esm/operations/skus.js +137 -0
  268. package/dist/esm/operations/skus.js.map +1 -0
  269. package/dist/esm/operations/usages.d.ts +35 -0
  270. package/dist/esm/operations/usages.d.ts.map +1 -0
  271. package/dist/esm/operations/usages.js +145 -0
  272. package/dist/esm/operations/usages.js.map +1 -0
  273. package/dist/esm/operations/users.d.ts +138 -0
  274. package/dist/esm/operations/users.d.ts.map +1 -0
  275. package/dist/esm/operations/users.js +525 -0
  276. package/dist/esm/operations/users.js.map +1 -0
  277. package/dist/esm/operations/virtualMachines.d.ts +158 -0
  278. package/dist/esm/operations/virtualMachines.d.ts.map +1 -0
  279. package/dist/esm/operations/virtualMachines.js +582 -0
  280. package/dist/esm/operations/virtualMachines.js.map +1 -0
  281. package/dist/esm/operationsInterfaces/images.d.ts +43 -0
  282. package/dist/esm/operationsInterfaces/images.d.ts.map +1 -0
  283. package/dist/esm/operationsInterfaces/images.js +9 -0
  284. package/dist/esm/operationsInterfaces/images.js.map +1 -0
  285. package/dist/esm/operationsInterfaces/index.d.ts +11 -0
  286. package/dist/esm/operationsInterfaces/index.d.ts.map +1 -0
  287. package/dist/esm/operationsInterfaces/index.js +18 -0
  288. package/dist/esm/operationsInterfaces/index.js.map +1 -0
  289. package/dist/esm/operationsInterfaces/labPlans.d.ts +98 -0
  290. package/dist/esm/operationsInterfaces/labPlans.d.ts.map +1 -0
  291. package/dist/esm/operationsInterfaces/labPlans.js +9 -0
  292. package/dist/esm/operationsInterfaces/labPlans.js.map +1 -0
  293. package/dist/esm/operationsInterfaces/labs.d.ts +110 -0
  294. package/dist/esm/operationsInterfaces/labs.d.ts.map +1 -0
  295. package/dist/esm/operationsInterfaces/labs.js +9 -0
  296. package/dist/esm/operationsInterfaces/labs.js.map +1 -0
  297. package/dist/esm/operationsInterfaces/operationResults.d.ts +11 -0
  298. package/dist/esm/operationsInterfaces/operationResults.d.ts.map +1 -0
  299. package/dist/esm/operationsInterfaces/operationResults.js +9 -0
  300. package/dist/esm/operationsInterfaces/operationResults.js.map +1 -0
  301. package/dist/esm/operationsInterfaces/operations.d.ts +11 -0
  302. package/dist/esm/operationsInterfaces/operations.d.ts.map +1 -0
  303. package/dist/esm/operationsInterfaces/operations.js +9 -0
  304. package/dist/esm/operationsInterfaces/operations.js.map +1 -0
  305. package/dist/esm/operationsInterfaces/schedules.d.ts +67 -0
  306. package/dist/esm/operationsInterfaces/schedules.d.ts.map +1 -0
  307. package/dist/esm/operationsInterfaces/schedules.js +9 -0
  308. package/dist/esm/operationsInterfaces/schedules.js.map +1 -0
  309. package/dist/esm/operationsInterfaces/skus.d.ts +11 -0
  310. package/dist/esm/operationsInterfaces/skus.d.ts.map +1 -0
  311. package/dist/esm/operationsInterfaces/skus.js +9 -0
  312. package/dist/esm/operationsInterfaces/skus.js.map +1 -0
  313. package/dist/esm/operationsInterfaces/usages.d.ts +12 -0
  314. package/dist/esm/operationsInterfaces/usages.d.ts.map +1 -0
  315. package/dist/esm/operationsInterfaces/usages.js +9 -0
  316. package/dist/esm/operationsInterfaces/usages.js.map +1 -0
  317. package/dist/esm/operationsInterfaces/users.d.ts +111 -0
  318. package/dist/esm/operationsInterfaces/users.d.ts.map +1 -0
  319. package/dist/esm/operationsInterfaces/users.js +9 -0
  320. package/dist/esm/operationsInterfaces/users.js.map +1 -0
  321. package/dist/esm/operationsInterfaces/virtualMachines.d.ts +131 -0
  322. package/dist/esm/operationsInterfaces/virtualMachines.d.ts.map +1 -0
  323. package/dist/esm/operationsInterfaces/virtualMachines.js +9 -0
  324. package/dist/esm/operationsInterfaces/virtualMachines.js.map +1 -0
  325. package/dist/esm/package.json +3 -0
  326. package/dist/esm/pagingHelper.d.ts +13 -0
  327. package/dist/esm/pagingHelper.d.ts.map +1 -0
  328. package/dist/esm/pagingHelper.js +32 -0
  329. package/dist/esm/pagingHelper.js.map +1 -0
  330. package/dist/react-native/index.d.ts +5 -0
  331. package/dist/react-native/index.d.ts.map +1 -0
  332. package/dist/react-native/index.js +13 -0
  333. package/dist/react-native/index.js.map +1 -0
  334. package/dist/react-native/labServicesClient.d.ts +29 -0
  335. package/dist/react-native/labServicesClient.d.ts.map +1 -0
  336. package/dist/react-native/labServicesClient.js +106 -0
  337. package/dist/react-native/labServicesClient.js.map +1 -0
  338. package/dist/react-native/lroImpl.d.ts +16 -0
  339. package/dist/react-native/lroImpl.d.ts.map +1 -0
  340. package/dist/react-native/lroImpl.js +25 -0
  341. package/dist/react-native/lroImpl.js.map +1 -0
  342. package/dist/react-native/models/index.d.ts +1655 -0
  343. package/dist/react-native/models/index.d.ts.map +1 -0
  344. package/dist/react-native/models/index.js +74 -0
  345. package/dist/react-native/models/index.js.map +1 -0
  346. package/dist/react-native/models/mappers.d.ts +68 -0
  347. package/dist/react-native/models/mappers.d.ts.map +1 -0
  348. package/dist/react-native/models/mappers.js +2727 -0
  349. package/dist/react-native/models/mappers.js.map +1 -0
  350. package/dist/react-native/models/parameters.d.ts +31 -0
  351. package/dist/react-native/models/parameters.d.ts.map +1 -0
  352. package/dist/react-native/models/parameters.js +270 -0
  353. package/dist/react-native/models/parameters.js.map +1 -0
  354. package/dist/react-native/operations/images.d.ts +70 -0
  355. package/dist/react-native/operations/images.d.ts.map +1 -0
  356. package/dist/react-native/operations/images.js +258 -0
  357. package/dist/react-native/operations/images.js.map +1 -0
  358. package/dist/react-native/operations/index.d.ts +11 -0
  359. package/dist/react-native/operations/index.d.ts.map +1 -0
  360. package/dist/react-native/operations/index.js +18 -0
  361. package/dist/react-native/operations/index.js.map +1 -0
  362. package/dist/react-native/operations/labPlans.d.ts +134 -0
  363. package/dist/react-native/operations/labPlans.d.ts.map +1 -0
  364. package/dist/react-native/operations/labPlans.js +607 -0
  365. package/dist/react-native/operations/labPlans.js.map +1 -0
  366. package/dist/react-native/operations/labs.d.ts +146 -0
  367. package/dist/react-native/operations/labs.d.ts.map +1 -0
  368. package/dist/react-native/operations/labs.js +673 -0
  369. package/dist/react-native/operations/labs.js.map +1 -0
  370. package/dist/react-native/operations/operationResults.d.ts +19 -0
  371. package/dist/react-native/operations/operationResults.d.ts.map +1 -0
  372. package/dist/react-native/operations/operationResults.js +52 -0
  373. package/dist/react-native/operations/operationResults.js.map +1 -0
  374. package/dist/react-native/operations/operations.d.ts +32 -0
  375. package/dist/react-native/operations/operations.d.ts.map +1 -0
  376. package/dist/react-native/operations/operations.js +133 -0
  377. package/dist/react-native/operations/operations.js.map +1 -0
  378. package/dist/react-native/operations/schedules.d.ts +94 -0
  379. package/dist/react-native/operations/schedules.d.ts.map +1 -0
  380. package/dist/react-native/operations/schedules.js +343 -0
  381. package/dist/react-native/operations/schedules.js.map +1 -0
  382. package/dist/react-native/operations/skus.d.ts +32 -0
  383. package/dist/react-native/operations/skus.d.ts.map +1 -0
  384. package/dist/react-native/operations/skus.js +137 -0
  385. package/dist/react-native/operations/skus.js.map +1 -0
  386. package/dist/react-native/operations/usages.d.ts +35 -0
  387. package/dist/react-native/operations/usages.d.ts.map +1 -0
  388. package/dist/react-native/operations/usages.js +145 -0
  389. package/dist/react-native/operations/usages.js.map +1 -0
  390. package/dist/react-native/operations/users.d.ts +138 -0
  391. package/dist/react-native/operations/users.d.ts.map +1 -0
  392. package/dist/react-native/operations/users.js +525 -0
  393. package/dist/react-native/operations/users.js.map +1 -0
  394. package/dist/react-native/operations/virtualMachines.d.ts +158 -0
  395. package/dist/react-native/operations/virtualMachines.d.ts.map +1 -0
  396. package/dist/react-native/operations/virtualMachines.js +582 -0
  397. package/dist/react-native/operations/virtualMachines.js.map +1 -0
  398. package/dist/react-native/operationsInterfaces/images.d.ts +43 -0
  399. package/dist/react-native/operationsInterfaces/images.d.ts.map +1 -0
  400. package/dist/react-native/operationsInterfaces/images.js +9 -0
  401. package/dist/react-native/operationsInterfaces/images.js.map +1 -0
  402. package/dist/react-native/operationsInterfaces/index.d.ts +11 -0
  403. package/dist/react-native/operationsInterfaces/index.d.ts.map +1 -0
  404. package/dist/react-native/operationsInterfaces/index.js +18 -0
  405. package/dist/react-native/operationsInterfaces/index.js.map +1 -0
  406. package/dist/react-native/operationsInterfaces/labPlans.d.ts +98 -0
  407. package/dist/react-native/operationsInterfaces/labPlans.d.ts.map +1 -0
  408. package/dist/react-native/operationsInterfaces/labPlans.js +9 -0
  409. package/dist/react-native/operationsInterfaces/labPlans.js.map +1 -0
  410. package/dist/react-native/operationsInterfaces/labs.d.ts +110 -0
  411. package/dist/react-native/operationsInterfaces/labs.d.ts.map +1 -0
  412. package/dist/react-native/operationsInterfaces/labs.js +9 -0
  413. package/dist/react-native/operationsInterfaces/labs.js.map +1 -0
  414. package/dist/react-native/operationsInterfaces/operationResults.d.ts +11 -0
  415. package/dist/react-native/operationsInterfaces/operationResults.d.ts.map +1 -0
  416. package/dist/react-native/operationsInterfaces/operationResults.js +9 -0
  417. package/dist/react-native/operationsInterfaces/operationResults.js.map +1 -0
  418. package/dist/react-native/operationsInterfaces/operations.d.ts +11 -0
  419. package/dist/react-native/operationsInterfaces/operations.d.ts.map +1 -0
  420. package/dist/react-native/operationsInterfaces/operations.js +9 -0
  421. package/dist/react-native/operationsInterfaces/operations.js.map +1 -0
  422. package/dist/react-native/operationsInterfaces/schedules.d.ts +67 -0
  423. package/dist/react-native/operationsInterfaces/schedules.d.ts.map +1 -0
  424. package/dist/react-native/operationsInterfaces/schedules.js +9 -0
  425. package/dist/react-native/operationsInterfaces/schedules.js.map +1 -0
  426. package/dist/react-native/operationsInterfaces/skus.d.ts +11 -0
  427. package/dist/react-native/operationsInterfaces/skus.d.ts.map +1 -0
  428. package/dist/react-native/operationsInterfaces/skus.js +9 -0
  429. package/dist/react-native/operationsInterfaces/skus.js.map +1 -0
  430. package/dist/react-native/operationsInterfaces/usages.d.ts +12 -0
  431. package/dist/react-native/operationsInterfaces/usages.d.ts.map +1 -0
  432. package/dist/react-native/operationsInterfaces/usages.js +9 -0
  433. package/dist/react-native/operationsInterfaces/usages.js.map +1 -0
  434. package/dist/react-native/operationsInterfaces/users.d.ts +111 -0
  435. package/dist/react-native/operationsInterfaces/users.d.ts.map +1 -0
  436. package/dist/react-native/operationsInterfaces/users.js +9 -0
  437. package/dist/react-native/operationsInterfaces/users.js.map +1 -0
  438. package/dist/react-native/operationsInterfaces/virtualMachines.d.ts +131 -0
  439. package/dist/react-native/operationsInterfaces/virtualMachines.d.ts.map +1 -0
  440. package/dist/react-native/operationsInterfaces/virtualMachines.js +9 -0
  441. package/dist/react-native/operationsInterfaces/virtualMachines.js.map +1 -0
  442. package/dist/react-native/package.json +3 -0
  443. package/dist/react-native/pagingHelper.d.ts +13 -0
  444. package/dist/react-native/pagingHelper.d.ts.map +1 -0
  445. package/dist/react-native/pagingHelper.js +32 -0
  446. package/dist/react-native/pagingHelper.js.map +1 -0
  447. package/package.json +70 -41
  448. package/dist/index.js +0 -6810
  449. package/dist/index.js.map +0 -1
  450. package/dist/index.min.js +0 -1
  451. package/dist/index.min.js.map +0 -1
  452. package/dist-esm/samples-dev/imagesCreateOrUpdateSample.d.ts +0 -2
  453. package/dist-esm/samples-dev/imagesCreateOrUpdateSample.d.ts.map +0 -1
  454. package/dist-esm/samples-dev/imagesCreateOrUpdateSample.js +0 -31
  455. package/dist-esm/samples-dev/imagesCreateOrUpdateSample.js.map +0 -1
  456. package/dist-esm/samples-dev/imagesGetSample.d.ts +0 -2
  457. package/dist-esm/samples-dev/imagesGetSample.d.ts.map +0 -1
  458. package/dist-esm/samples-dev/imagesGetSample.js +0 -37
  459. package/dist-esm/samples-dev/imagesGetSample.js.map +0 -1
  460. package/dist-esm/samples-dev/imagesListByLabPlanSample.d.ts +0 -2
  461. package/dist-esm/samples-dev/imagesListByLabPlanSample.d.ts.map +0 -1
  462. package/dist-esm/samples-dev/imagesListByLabPlanSample.js +0 -52
  463. package/dist-esm/samples-dev/imagesListByLabPlanSample.js.map +0 -1
  464. package/dist-esm/samples-dev/imagesUpdateSample.d.ts +0 -2
  465. package/dist-esm/samples-dev/imagesUpdateSample.d.ts.map +0 -1
  466. package/dist-esm/samples-dev/imagesUpdateSample.js +0 -31
  467. package/dist-esm/samples-dev/imagesUpdateSample.js.map +0 -1
  468. package/dist-esm/samples-dev/labPlansCreateOrUpdateSample.d.ts +0 -2
  469. package/dist-esm/samples-dev/labPlansCreateOrUpdateSample.d.ts.map +0 -1
  470. package/dist-esm/samples-dev/labPlansCreateOrUpdateSample.js +0 -56
  471. package/dist-esm/samples-dev/labPlansCreateOrUpdateSample.js.map +0 -1
  472. package/dist-esm/samples-dev/labPlansDeleteSample.d.ts +0 -2
  473. package/dist-esm/samples-dev/labPlansDeleteSample.d.ts.map +0 -1
  474. package/dist-esm/samples-dev/labPlansDeleteSample.js +0 -36
  475. package/dist-esm/samples-dev/labPlansDeleteSample.js.map +0 -1
  476. package/dist-esm/samples-dev/labPlansGetSample.d.ts +0 -2
  477. package/dist-esm/samples-dev/labPlansGetSample.d.ts.map +0 -1
  478. package/dist-esm/samples-dev/labPlansGetSample.js +0 -36
  479. package/dist-esm/samples-dev/labPlansGetSample.js.map +0 -1
  480. package/dist-esm/samples-dev/labPlansListByResourceGroupSample.d.ts +0 -2
  481. package/dist-esm/samples-dev/labPlansListByResourceGroupSample.d.ts.map +0 -1
  482. package/dist-esm/samples-dev/labPlansListByResourceGroupSample.js +0 -51
  483. package/dist-esm/samples-dev/labPlansListByResourceGroupSample.js.map +0 -1
  484. package/dist-esm/samples-dev/labPlansListBySubscriptionSample.d.ts +0 -2
  485. package/dist-esm/samples-dev/labPlansListBySubscriptionSample.d.ts.map +0 -1
  486. package/dist-esm/samples-dev/labPlansListBySubscriptionSample.js +0 -50
  487. package/dist-esm/samples-dev/labPlansListBySubscriptionSample.js.map +0 -1
  488. package/dist-esm/samples-dev/labPlansSaveImageSample.d.ts +0 -2
  489. package/dist-esm/samples-dev/labPlansSaveImageSample.d.ts.map +0 -1
  490. package/dist-esm/samples-dev/labPlansSaveImageSample.js +0 -33
  491. package/dist-esm/samples-dev/labPlansSaveImageSample.js.map +0 -1
  492. package/dist-esm/samples-dev/labPlansUpdateSample.d.ts +0 -2
  493. package/dist-esm/samples-dev/labPlansUpdateSample.d.ts.map +0 -1
  494. package/dist-esm/samples-dev/labPlansUpdateSample.js +0 -37
  495. package/dist-esm/samples-dev/labPlansUpdateSample.js.map +0 -1
  496. package/dist-esm/samples-dev/labsCreateOrUpdateSample.d.ts +0 -2
  497. package/dist-esm/samples-dev/labsCreateOrUpdateSample.d.ts.map +0 -1
  498. package/dist-esm/samples-dev/labsCreateOrUpdateSample.js +0 -68
  499. package/dist-esm/samples-dev/labsCreateOrUpdateSample.js.map +0 -1
  500. package/dist-esm/samples-dev/labsDeleteSample.d.ts +0 -2
  501. package/dist-esm/samples-dev/labsDeleteSample.d.ts.map +0 -1
  502. package/dist-esm/samples-dev/labsDeleteSample.js +0 -36
  503. package/dist-esm/samples-dev/labsDeleteSample.js.map +0 -1
  504. package/dist-esm/samples-dev/labsGetSample.d.ts +0 -2
  505. package/dist-esm/samples-dev/labsGetSample.d.ts.map +0 -1
  506. package/dist-esm/samples-dev/labsGetSample.js +0 -36
  507. package/dist-esm/samples-dev/labsGetSample.js.map +0 -1
  508. package/dist-esm/samples-dev/labsListByResourceGroupSample.d.ts +0 -2
  509. package/dist-esm/samples-dev/labsListByResourceGroupSample.d.ts.map +0 -1
  510. package/dist-esm/samples-dev/labsListByResourceGroupSample.js +0 -51
  511. package/dist-esm/samples-dev/labsListByResourceGroupSample.js.map +0 -1
  512. package/dist-esm/samples-dev/labsListBySubscriptionSample.d.ts +0 -2
  513. package/dist-esm/samples-dev/labsListBySubscriptionSample.d.ts.map +0 -1
  514. package/dist-esm/samples-dev/labsListBySubscriptionSample.js +0 -50
  515. package/dist-esm/samples-dev/labsListBySubscriptionSample.js.map +0 -1
  516. package/dist-esm/samples-dev/labsPublishSample.d.ts +0 -2
  517. package/dist-esm/samples-dev/labsPublishSample.d.ts.map +0 -1
  518. package/dist-esm/samples-dev/labsPublishSample.js +0 -36
  519. package/dist-esm/samples-dev/labsPublishSample.js.map +0 -1
  520. package/dist-esm/samples-dev/labsSyncGroupSample.d.ts +0 -2
  521. package/dist-esm/samples-dev/labsSyncGroupSample.d.ts.map +0 -1
  522. package/dist-esm/samples-dev/labsSyncGroupSample.js +0 -36
  523. package/dist-esm/samples-dev/labsSyncGroupSample.js.map +0 -1
  524. package/dist-esm/samples-dev/labsUpdateSample.d.ts +0 -2
  525. package/dist-esm/samples-dev/labsUpdateSample.d.ts.map +0 -1
  526. package/dist-esm/samples-dev/labsUpdateSample.js +0 -30
  527. package/dist-esm/samples-dev/labsUpdateSample.js.map +0 -1
  528. package/dist-esm/samples-dev/operationResultsGetSample.d.ts +0 -2
  529. package/dist-esm/samples-dev/operationResultsGetSample.d.ts.map +0 -1
  530. package/dist-esm/samples-dev/operationResultsGetSample.js +0 -35
  531. package/dist-esm/samples-dev/operationResultsGetSample.js.map +0 -1
  532. package/dist-esm/samples-dev/operationsListSample.d.ts +0 -2
  533. package/dist-esm/samples-dev/operationsListSample.d.ts.map +0 -1
  534. package/dist-esm/samples-dev/operationsListSample.js +0 -50
  535. package/dist-esm/samples-dev/operationsListSample.js.map +0 -1
  536. package/dist-esm/samples-dev/schedulesCreateOrUpdateSample.d.ts +0 -2
  537. package/dist-esm/samples-dev/schedulesCreateOrUpdateSample.d.ts.map +0 -1
  538. package/dist-esm/samples-dev/schedulesCreateOrUpdateSample.js +0 -41
  539. package/dist-esm/samples-dev/schedulesCreateOrUpdateSample.js.map +0 -1
  540. package/dist-esm/samples-dev/schedulesDeleteSample.d.ts +0 -2
  541. package/dist-esm/samples-dev/schedulesDeleteSample.d.ts.map +0 -1
  542. package/dist-esm/samples-dev/schedulesDeleteSample.js +0 -37
  543. package/dist-esm/samples-dev/schedulesDeleteSample.js.map +0 -1
  544. package/dist-esm/samples-dev/schedulesGetSample.d.ts +0 -2
  545. package/dist-esm/samples-dev/schedulesGetSample.d.ts.map +0 -1
  546. package/dist-esm/samples-dev/schedulesGetSample.js +0 -37
  547. package/dist-esm/samples-dev/schedulesGetSample.js.map +0 -1
  548. package/dist-esm/samples-dev/schedulesListByLabSample.d.ts +0 -2
  549. package/dist-esm/samples-dev/schedulesListByLabSample.d.ts.map +0 -1
  550. package/dist-esm/samples-dev/schedulesListByLabSample.js +0 -52
  551. package/dist-esm/samples-dev/schedulesListByLabSample.js.map +0 -1
  552. package/dist-esm/samples-dev/schedulesUpdateSample.d.ts +0 -2
  553. package/dist-esm/samples-dev/schedulesUpdateSample.d.ts.map +0 -1
  554. package/dist-esm/samples-dev/schedulesUpdateSample.js +0 -37
  555. package/dist-esm/samples-dev/schedulesUpdateSample.js.map +0 -1
  556. package/dist-esm/samples-dev/skusListSample.d.ts +0 -2
  557. package/dist-esm/samples-dev/skusListSample.d.ts.map +0 -1
  558. package/dist-esm/samples-dev/skusListSample.js +0 -50
  559. package/dist-esm/samples-dev/skusListSample.js.map +0 -1
  560. package/dist-esm/samples-dev/usagesListByLocationSample.d.ts +0 -2
  561. package/dist-esm/samples-dev/usagesListByLocationSample.d.ts.map +0 -1
  562. package/dist-esm/samples-dev/usagesListByLocationSample.js +0 -51
  563. package/dist-esm/samples-dev/usagesListByLocationSample.js.map +0 -1
  564. package/dist-esm/samples-dev/usersCreateOrUpdateSample.d.ts +0 -2
  565. package/dist-esm/samples-dev/usersCreateOrUpdateSample.d.ts.map +0 -1
  566. package/dist-esm/samples-dev/usersCreateOrUpdateSample.js +0 -34
  567. package/dist-esm/samples-dev/usersCreateOrUpdateSample.js.map +0 -1
  568. package/dist-esm/samples-dev/usersDeleteSample.d.ts +0 -2
  569. package/dist-esm/samples-dev/usersDeleteSample.d.ts.map +0 -1
  570. package/dist-esm/samples-dev/usersDeleteSample.js +0 -37
  571. package/dist-esm/samples-dev/usersDeleteSample.js.map +0 -1
  572. package/dist-esm/samples-dev/usersGetSample.d.ts +0 -2
  573. package/dist-esm/samples-dev/usersGetSample.d.ts.map +0 -1
  574. package/dist-esm/samples-dev/usersGetSample.js +0 -37
  575. package/dist-esm/samples-dev/usersGetSample.js.map +0 -1
  576. package/dist-esm/samples-dev/usersInviteSample.d.ts +0 -2
  577. package/dist-esm/samples-dev/usersInviteSample.d.ts.map +0 -1
  578. package/dist-esm/samples-dev/usersInviteSample.js +0 -31
  579. package/dist-esm/samples-dev/usersInviteSample.js.map +0 -1
  580. package/dist-esm/samples-dev/usersListByLabSample.d.ts +0 -2
  581. package/dist-esm/samples-dev/usersListByLabSample.d.ts.map +0 -1
  582. package/dist-esm/samples-dev/usersListByLabSample.js +0 -52
  583. package/dist-esm/samples-dev/usersListByLabSample.js.map +0 -1
  584. package/dist-esm/samples-dev/usersUpdateSample.d.ts +0 -2
  585. package/dist-esm/samples-dev/usersUpdateSample.d.ts.map +0 -1
  586. package/dist-esm/samples-dev/usersUpdateSample.js +0 -31
  587. package/dist-esm/samples-dev/usersUpdateSample.js.map +0 -1
  588. package/dist-esm/samples-dev/virtualMachinesGetSample.d.ts +0 -2
  589. package/dist-esm/samples-dev/virtualMachinesGetSample.d.ts.map +0 -1
  590. package/dist-esm/samples-dev/virtualMachinesGetSample.js +0 -37
  591. package/dist-esm/samples-dev/virtualMachinesGetSample.js.map +0 -1
  592. package/dist-esm/samples-dev/virtualMachinesListByLabSample.d.ts +0 -2
  593. package/dist-esm/samples-dev/virtualMachinesListByLabSample.d.ts.map +0 -1
  594. package/dist-esm/samples-dev/virtualMachinesListByLabSample.js +0 -52
  595. package/dist-esm/samples-dev/virtualMachinesListByLabSample.js.map +0 -1
  596. package/dist-esm/samples-dev/virtualMachinesRedeploySample.d.ts +0 -2
  597. package/dist-esm/samples-dev/virtualMachinesRedeploySample.d.ts.map +0 -1
  598. package/dist-esm/samples-dev/virtualMachinesRedeploySample.js +0 -37
  599. package/dist-esm/samples-dev/virtualMachinesRedeploySample.js.map +0 -1
  600. package/dist-esm/samples-dev/virtualMachinesReimageSample.d.ts +0 -2
  601. package/dist-esm/samples-dev/virtualMachinesReimageSample.d.ts.map +0 -1
  602. package/dist-esm/samples-dev/virtualMachinesReimageSample.js +0 -37
  603. package/dist-esm/samples-dev/virtualMachinesReimageSample.js.map +0 -1
  604. package/dist-esm/samples-dev/virtualMachinesResetPasswordSample.d.ts +0 -2
  605. package/dist-esm/samples-dev/virtualMachinesResetPasswordSample.d.ts.map +0 -1
  606. package/dist-esm/samples-dev/virtualMachinesResetPasswordSample.js +0 -34
  607. package/dist-esm/samples-dev/virtualMachinesResetPasswordSample.js.map +0 -1
  608. package/dist-esm/samples-dev/virtualMachinesStartSample.d.ts +0 -2
  609. package/dist-esm/samples-dev/virtualMachinesStartSample.d.ts.map +0 -1
  610. package/dist-esm/samples-dev/virtualMachinesStartSample.js +0 -37
  611. package/dist-esm/samples-dev/virtualMachinesStartSample.js.map +0 -1
  612. package/dist-esm/samples-dev/virtualMachinesStopSample.d.ts +0 -2
  613. package/dist-esm/samples-dev/virtualMachinesStopSample.d.ts.map +0 -1
  614. package/dist-esm/samples-dev/virtualMachinesStopSample.js +0 -37
  615. package/dist-esm/samples-dev/virtualMachinesStopSample.js.map +0 -1
  616. package/dist-esm/src/index.d.ts +0 -5
  617. package/dist-esm/src/index.js.map +0 -1
  618. package/dist-esm/src/labServicesClient.d.ts.map +0 -1
  619. package/dist-esm/src/labServicesClient.js.map +0 -1
  620. package/dist-esm/src/lroImpl.js +0 -29
  621. package/dist-esm/src/lroImpl.js.map +0 -1
  622. package/dist-esm/src/models/index.js.map +0 -1
  623. package/dist-esm/src/models/mappers.js.map +0 -1
  624. package/dist-esm/src/models/parameters.js.map +0 -1
  625. package/dist-esm/src/operations/images.d.ts.map +0 -1
  626. package/dist-esm/src/operations/images.js.map +0 -1
  627. package/dist-esm/src/operations/index.d.ts +0 -11
  628. package/dist-esm/src/operations/index.d.ts.map +0 -1
  629. package/dist-esm/src/operations/index.js +0 -18
  630. package/dist-esm/src/operations/index.js.map +0 -1
  631. package/dist-esm/src/operations/labPlans.d.ts.map +0 -1
  632. package/dist-esm/src/operations/labPlans.js.map +0 -1
  633. package/dist-esm/src/operations/labs.d.ts.map +0 -1
  634. package/dist-esm/src/operations/labs.js.map +0 -1
  635. package/dist-esm/src/operations/operationResults.d.ts.map +0 -1
  636. package/dist-esm/src/operations/operationResults.js.map +0 -1
  637. package/dist-esm/src/operations/operations.d.ts.map +0 -1
  638. package/dist-esm/src/operations/operations.js.map +0 -1
  639. package/dist-esm/src/operations/schedules.d.ts.map +0 -1
  640. package/dist-esm/src/operations/schedules.js.map +0 -1
  641. package/dist-esm/src/operations/skus.d.ts.map +0 -1
  642. package/dist-esm/src/operations/skus.js.map +0 -1
  643. package/dist-esm/src/operations/usages.d.ts.map +0 -1
  644. package/dist-esm/src/operations/usages.js.map +0 -1
  645. package/dist-esm/src/operations/users.d.ts.map +0 -1
  646. package/dist-esm/src/operations/users.js.map +0 -1
  647. package/dist-esm/src/operations/virtualMachines.d.ts.map +0 -1
  648. package/dist-esm/src/operations/virtualMachines.js.map +0 -1
  649. package/dist-esm/src/operationsInterfaces/images.d.ts.map +0 -1
  650. package/dist-esm/src/operationsInterfaces/images.js.map +0 -1
  651. package/dist-esm/src/operationsInterfaces/index.d.ts +0 -11
  652. package/dist-esm/src/operationsInterfaces/index.d.ts.map +0 -1
  653. package/dist-esm/src/operationsInterfaces/index.js +0 -18
  654. package/dist-esm/src/operationsInterfaces/index.js.map +0 -1
  655. package/dist-esm/src/operationsInterfaces/labPlans.d.ts.map +0 -1
  656. package/dist-esm/src/operationsInterfaces/labPlans.js.map +0 -1
  657. package/dist-esm/src/operationsInterfaces/labs.d.ts.map +0 -1
  658. package/dist-esm/src/operationsInterfaces/labs.js.map +0 -1
  659. package/dist-esm/src/operationsInterfaces/operationResults.js.map +0 -1
  660. package/dist-esm/src/operationsInterfaces/operations.js.map +0 -1
  661. package/dist-esm/src/operationsInterfaces/schedules.d.ts.map +0 -1
  662. package/dist-esm/src/operationsInterfaces/schedules.js.map +0 -1
  663. package/dist-esm/src/operationsInterfaces/skus.js.map +0 -1
  664. package/dist-esm/src/operationsInterfaces/usages.js.map +0 -1
  665. package/dist-esm/src/operationsInterfaces/users.d.ts.map +0 -1
  666. package/dist-esm/src/operationsInterfaces/users.js.map +0 -1
  667. package/dist-esm/src/operationsInterfaces/virtualMachines.d.ts.map +0 -1
  668. package/dist-esm/src/operationsInterfaces/virtualMachines.js.map +0 -1
  669. package/dist-esm/src/pagingHelper.js.map +0 -1
  670. package/dist-esm/test/sampleTest.d.ts +0 -2
  671. package/dist-esm/test/sampleTest.d.ts.map +0 -1
  672. package/dist-esm/test/sampleTest.js +0 -42
  673. package/dist-esm/test/sampleTest.js.map +0 -1
  674. package/src/labServicesClient.ts +0 -180
  675. package/src/lroImpl.ts +0 -34
  676. package/src/models/index.ts +0 -1881
  677. package/src/models/mappers.ts +0 -2930
  678. package/src/models/parameters.ts +0 -318
  679. package/src/operations/images.ts +0 -349
  680. package/src/operations/index.ts +0 -18
  681. package/src/operations/labPlans.ts +0 -836
  682. package/src/operations/labs.ts +0 -923
  683. package/src/operations/operationResults.ts +0 -70
  684. package/src/operations/operations.ts +0 -149
  685. package/src/operations/schedules.ts +0 -466
  686. package/src/operations/skus.ts +0 -151
  687. package/src/operations/usages.ts +0 -174
  688. package/src/operations/users.ts +0 -761
  689. package/src/operations/virtualMachines.ts +0 -842
  690. package/src/operationsInterfaces/images.ts +0 -83
  691. package/src/operationsInterfaces/index.ts +0 -18
  692. package/src/operationsInterfaces/labPlans.ts +0 -178
  693. package/src/operationsInterfaces/labs.ts +0 -193
  694. package/src/operationsInterfaces/operationResults.ts +0 -25
  695. package/src/operationsInterfaces/operations.ts +0 -22
  696. package/src/operationsInterfaces/schedules.ts +0 -118
  697. package/src/operationsInterfaces/skus.ts +0 -22
  698. package/src/operationsInterfaces/usages.ts +0 -24
  699. package/src/operationsInterfaces/users.ts +0 -195
  700. package/src/operationsInterfaces/virtualMachines.ts +0 -212
  701. package/src/pagingHelper.ts +0 -39
  702. package/tsconfig.json +0 -33
  703. /package/{dist-esm/src → dist/browser}/lroImpl.d.ts +0 -0
  704. /package/{dist-esm/src → dist/browser}/lroImpl.d.ts.map +0 -0
  705. /package/{dist-esm/src → dist/browser}/models/index.d.ts +0 -0
  706. /package/{dist-esm/src → dist/browser}/models/index.d.ts.map +0 -0
  707. /package/{dist-esm/src → dist/browser}/models/index.js +0 -0
  708. /package/{dist-esm/src → dist/browser}/models/mappers.d.ts +0 -0
  709. /package/{dist-esm/src → dist/browser}/models/mappers.d.ts.map +0 -0
  710. /package/{dist-esm/src → dist/browser}/models/mappers.js +0 -0
  711. /package/{dist-esm/src → dist/browser}/models/parameters.d.ts +0 -0
  712. /package/{dist-esm/src → dist/browser}/models/parameters.d.ts.map +0 -0
  713. /package/{dist-esm/src → dist/browser}/operationsInterfaces/images.js +0 -0
  714. /package/{dist-esm/src → dist/browser}/operationsInterfaces/labPlans.js +0 -0
  715. /package/{dist-esm/src → dist/browser}/operationsInterfaces/labs.js +0 -0
  716. /package/{dist-esm/src → dist/browser}/operationsInterfaces/operationResults.js +0 -0
  717. /package/{dist-esm/src → dist/browser}/operationsInterfaces/operations.js +0 -0
  718. /package/{dist-esm/src → dist/browser}/operationsInterfaces/schedules.js +0 -0
  719. /package/{dist-esm/src → dist/browser}/operationsInterfaces/skus.js +0 -0
  720. /package/{dist-esm/src → dist/browser}/operationsInterfaces/usages.js +0 -0
  721. /package/{dist-esm/src → dist/browser}/operationsInterfaces/users.js +0 -0
  722. /package/{dist-esm/src → dist/browser}/operationsInterfaces/virtualMachines.js +0 -0
  723. /package/{dist-esm/src → dist/browser}/pagingHelper.d.ts +0 -0
  724. /package/{dist-esm/src → dist/browser}/pagingHelper.d.ts.map +0 -0
  725. /package/{dist-esm/src → dist/browser}/pagingHelper.js +0 -0
  726. /package/{types → dist/commonjs}/tsdoc-metadata.json +0 -0
@@ -0,0 +1,525 @@
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 { setContinuationToken } from "../pagingHelper.js";
10
+ import * as coreClient from "@azure/core-client";
11
+ import * as Mappers from "../models/mappers.js";
12
+ import * as Parameters from "../models/parameters.js";
13
+ import { LroEngine } from "@azure/core-lro";
14
+ import { LroImpl } from "../lroImpl.js";
15
+ /// <reference lib="esnext.asynciterable" />
16
+ /** Class containing Users operations. */
17
+ export class UsersImpl {
18
+ /**
19
+ * Initialize a new instance of the class Users class.
20
+ * @param client Reference to the service client
21
+ */
22
+ constructor(client) {
23
+ this.client = client;
24
+ }
25
+ /**
26
+ * Returns a list of all users for a lab.
27
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
28
+ * @param labName The name of the lab that uniquely identifies it within containing lab plan. Used in
29
+ * resource URIs.
30
+ * @param options The options parameters.
31
+ */
32
+ listByLab(resourceGroupName, labName, options) {
33
+ const iter = this.listByLabPagingAll(resourceGroupName, labName, options);
34
+ return {
35
+ next() {
36
+ return iter.next();
37
+ },
38
+ [Symbol.asyncIterator]() {
39
+ return this;
40
+ },
41
+ byPage: (settings) => {
42
+ if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
43
+ throw new Error("maxPageSize is not supported by this operation.");
44
+ }
45
+ return this.listByLabPagingPage(resourceGroupName, labName, options, settings);
46
+ }
47
+ };
48
+ }
49
+ listByLabPagingPage(resourceGroupName, labName, options, settings) {
50
+ return __asyncGenerator(this, arguments, function* listByLabPagingPage_1() {
51
+ let result;
52
+ let continuationToken = settings === null || settings === void 0 ? void 0 : settings.continuationToken;
53
+ if (!continuationToken) {
54
+ result = yield __await(this._listByLab(resourceGroupName, labName, options));
55
+ let page = result.value || [];
56
+ continuationToken = result.nextLink;
57
+ setContinuationToken(page, continuationToken);
58
+ yield yield __await(page);
59
+ }
60
+ while (continuationToken) {
61
+ result = yield __await(this._listByLabNext(resourceGroupName, labName, continuationToken, options));
62
+ continuationToken = result.nextLink;
63
+ let page = result.value || [];
64
+ setContinuationToken(page, continuationToken);
65
+ yield yield __await(page);
66
+ }
67
+ });
68
+ }
69
+ listByLabPagingAll(resourceGroupName, labName, options) {
70
+ return __asyncGenerator(this, arguments, function* listByLabPagingAll_1() {
71
+ var _a, e_1, _b, _c;
72
+ try {
73
+ for (var _d = true, _e = __asyncValues(this.listByLabPagingPage(resourceGroupName, labName, options)), _f; _f = yield __await(_e.next()), _a = _f.done, !_a; _d = true) {
74
+ _c = _f.value;
75
+ _d = false;
76
+ const page = _c;
77
+ yield __await(yield* __asyncDelegator(__asyncValues(page)));
78
+ }
79
+ }
80
+ catch (e_1_1) { e_1 = { error: e_1_1 }; }
81
+ finally {
82
+ try {
83
+ if (!_d && !_a && (_b = _e.return)) yield __await(_b.call(_e));
84
+ }
85
+ finally { if (e_1) throw e_1.error; }
86
+ }
87
+ });
88
+ }
89
+ /**
90
+ * Returns a list of all users for a lab.
91
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
92
+ * @param labName The name of the lab that uniquely identifies it within containing lab plan. Used in
93
+ * resource URIs.
94
+ * @param options The options parameters.
95
+ */
96
+ _listByLab(resourceGroupName, labName, options) {
97
+ return this.client.sendOperationRequest({ resourceGroupName, labName, options }, listByLabOperationSpec);
98
+ }
99
+ /**
100
+ * Returns the properties of a lab user.
101
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
102
+ * @param labName The name of the lab that uniquely identifies it within containing lab plan. Used in
103
+ * resource URIs.
104
+ * @param userName The name of the user that uniquely identifies it within containing lab. Used in
105
+ * resource URIs.
106
+ * @param options The options parameters.
107
+ */
108
+ get(resourceGroupName, labName, userName, options) {
109
+ return this.client.sendOperationRequest({ resourceGroupName, labName, userName, options }, getOperationSpec);
110
+ }
111
+ /**
112
+ * Operation to create or update a lab user.
113
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
114
+ * @param labName The name of the lab that uniquely identifies it within containing lab plan. Used in
115
+ * resource URIs.
116
+ * @param userName The name of the user that uniquely identifies it within containing lab. Used in
117
+ * resource URIs.
118
+ * @param body The request body.
119
+ * @param options The options parameters.
120
+ */
121
+ async beginCreateOrUpdate(resourceGroupName, labName, userName, body, options) {
122
+ const directSendOperation = async (args, spec) => {
123
+ return this.client.sendOperationRequest(args, spec);
124
+ };
125
+ const sendOperation = async (args, spec) => {
126
+ var _a;
127
+ let currentRawResponse = undefined;
128
+ const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
129
+ const callback = (rawResponse, flatResponse) => {
130
+ currentRawResponse = rawResponse;
131
+ providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
132
+ };
133
+ const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
134
+ const flatResponse = await directSendOperation(updatedArgs, spec);
135
+ return {
136
+ flatResponse,
137
+ rawResponse: {
138
+ statusCode: currentRawResponse.status,
139
+ body: currentRawResponse.parsedBody,
140
+ headers: currentRawResponse.headers.toJSON()
141
+ }
142
+ };
143
+ };
144
+ const lro = new LroImpl(sendOperation, { resourceGroupName, labName, userName, body, options }, createOrUpdateOperationSpec);
145
+ const poller = new LroEngine(lro, {
146
+ resumeFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
147
+ intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
148
+ lroResourceLocationConfig: "original-uri"
149
+ });
150
+ await poller.poll();
151
+ return poller;
152
+ }
153
+ /**
154
+ * Operation to create or update a lab user.
155
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
156
+ * @param labName The name of the lab that uniquely identifies it within containing lab plan. Used in
157
+ * resource URIs.
158
+ * @param userName The name of the user that uniquely identifies it within containing lab. Used in
159
+ * resource URIs.
160
+ * @param body The request body.
161
+ * @param options The options parameters.
162
+ */
163
+ async beginCreateOrUpdateAndWait(resourceGroupName, labName, userName, body, options) {
164
+ const poller = await this.beginCreateOrUpdate(resourceGroupName, labName, userName, body, options);
165
+ return poller.pollUntilDone();
166
+ }
167
+ /**
168
+ * Operation to update a lab user.
169
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
170
+ * @param labName The name of the lab that uniquely identifies it within containing lab plan. Used in
171
+ * resource URIs.
172
+ * @param userName The name of the user that uniquely identifies it within containing lab. Used in
173
+ * resource URIs.
174
+ * @param body The request body.
175
+ * @param options The options parameters.
176
+ */
177
+ async beginUpdate(resourceGroupName, labName, userName, body, options) {
178
+ const directSendOperation = async (args, spec) => {
179
+ return this.client.sendOperationRequest(args, spec);
180
+ };
181
+ const sendOperation = async (args, spec) => {
182
+ var _a;
183
+ let currentRawResponse = undefined;
184
+ const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
185
+ const callback = (rawResponse, flatResponse) => {
186
+ currentRawResponse = rawResponse;
187
+ providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
188
+ };
189
+ const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
190
+ const flatResponse = await directSendOperation(updatedArgs, spec);
191
+ return {
192
+ flatResponse,
193
+ rawResponse: {
194
+ statusCode: currentRawResponse.status,
195
+ body: currentRawResponse.parsedBody,
196
+ headers: currentRawResponse.headers.toJSON()
197
+ }
198
+ };
199
+ };
200
+ const lro = new LroImpl(sendOperation, { resourceGroupName, labName, userName, body, options }, updateOperationSpec);
201
+ const poller = new LroEngine(lro, {
202
+ resumeFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
203
+ intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
204
+ lroResourceLocationConfig: "location"
205
+ });
206
+ await poller.poll();
207
+ return poller;
208
+ }
209
+ /**
210
+ * Operation to update a lab user.
211
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
212
+ * @param labName The name of the lab that uniquely identifies it within containing lab plan. Used in
213
+ * resource URIs.
214
+ * @param userName The name of the user that uniquely identifies it within containing lab. Used in
215
+ * resource URIs.
216
+ * @param body The request body.
217
+ * @param options The options parameters.
218
+ */
219
+ async beginUpdateAndWait(resourceGroupName, labName, userName, body, options) {
220
+ const poller = await this.beginUpdate(resourceGroupName, labName, userName, body, options);
221
+ return poller.pollUntilDone();
222
+ }
223
+ /**
224
+ * Operation to delete a user resource.
225
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
226
+ * @param labName The name of the lab that uniquely identifies it within containing lab plan. Used in
227
+ * resource URIs.
228
+ * @param userName The name of the user that uniquely identifies it within containing lab. Used in
229
+ * resource URIs.
230
+ * @param options The options parameters.
231
+ */
232
+ async beginDelete(resourceGroupName, labName, userName, options) {
233
+ const directSendOperation = async (args, spec) => {
234
+ return this.client.sendOperationRequest(args, spec);
235
+ };
236
+ const sendOperation = async (args, spec) => {
237
+ var _a;
238
+ let currentRawResponse = undefined;
239
+ const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
240
+ const callback = (rawResponse, flatResponse) => {
241
+ currentRawResponse = rawResponse;
242
+ providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
243
+ };
244
+ const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
245
+ const flatResponse = await directSendOperation(updatedArgs, spec);
246
+ return {
247
+ flatResponse,
248
+ rawResponse: {
249
+ statusCode: currentRawResponse.status,
250
+ body: currentRawResponse.parsedBody,
251
+ headers: currentRawResponse.headers.toJSON()
252
+ }
253
+ };
254
+ };
255
+ const lro = new LroImpl(sendOperation, { resourceGroupName, labName, userName, options }, deleteOperationSpec);
256
+ const poller = new LroEngine(lro, {
257
+ resumeFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
258
+ intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
259
+ lroResourceLocationConfig: "location"
260
+ });
261
+ await poller.poll();
262
+ return poller;
263
+ }
264
+ /**
265
+ * Operation to delete a user resource.
266
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
267
+ * @param labName The name of the lab that uniquely identifies it within containing lab plan. Used in
268
+ * resource URIs.
269
+ * @param userName The name of the user that uniquely identifies it within containing lab. Used in
270
+ * resource URIs.
271
+ * @param options The options parameters.
272
+ */
273
+ async beginDeleteAndWait(resourceGroupName, labName, userName, options) {
274
+ const poller = await this.beginDelete(resourceGroupName, labName, userName, options);
275
+ return poller.pollUntilDone();
276
+ }
277
+ /**
278
+ * Operation to invite a user to a lab.
279
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
280
+ * @param labName The name of the lab that uniquely identifies it within containing lab plan. Used in
281
+ * resource URIs.
282
+ * @param userName The name of the user that uniquely identifies it within containing lab. Used in
283
+ * resource URIs.
284
+ * @param body The request body.
285
+ * @param options The options parameters.
286
+ */
287
+ async beginInvite(resourceGroupName, labName, userName, body, options) {
288
+ const directSendOperation = async (args, spec) => {
289
+ return this.client.sendOperationRequest(args, spec);
290
+ };
291
+ const sendOperation = async (args, spec) => {
292
+ var _a;
293
+ let currentRawResponse = undefined;
294
+ const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
295
+ const callback = (rawResponse, flatResponse) => {
296
+ currentRawResponse = rawResponse;
297
+ providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
298
+ };
299
+ const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
300
+ const flatResponse = await directSendOperation(updatedArgs, spec);
301
+ return {
302
+ flatResponse,
303
+ rawResponse: {
304
+ statusCode: currentRawResponse.status,
305
+ body: currentRawResponse.parsedBody,
306
+ headers: currentRawResponse.headers.toJSON()
307
+ }
308
+ };
309
+ };
310
+ const lro = new LroImpl(sendOperation, { resourceGroupName, labName, userName, body, options }, inviteOperationSpec);
311
+ const poller = new LroEngine(lro, {
312
+ resumeFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
313
+ intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
314
+ lroResourceLocationConfig: "location"
315
+ });
316
+ await poller.poll();
317
+ return poller;
318
+ }
319
+ /**
320
+ * Operation to invite a user to a lab.
321
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
322
+ * @param labName The name of the lab that uniquely identifies it within containing lab plan. Used in
323
+ * resource URIs.
324
+ * @param userName The name of the user that uniquely identifies it within containing lab. Used in
325
+ * resource URIs.
326
+ * @param body The request body.
327
+ * @param options The options parameters.
328
+ */
329
+ async beginInviteAndWait(resourceGroupName, labName, userName, body, options) {
330
+ const poller = await this.beginInvite(resourceGroupName, labName, userName, body, options);
331
+ return poller.pollUntilDone();
332
+ }
333
+ /**
334
+ * ListByLabNext
335
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
336
+ * @param labName The name of the lab that uniquely identifies it within containing lab plan. Used in
337
+ * resource URIs.
338
+ * @param nextLink The nextLink from the previous successful call to the ListByLab method.
339
+ * @param options The options parameters.
340
+ */
341
+ _listByLabNext(resourceGroupName, labName, nextLink, options) {
342
+ return this.client.sendOperationRequest({ resourceGroupName, labName, nextLink, options }, listByLabNextOperationSpec);
343
+ }
344
+ }
345
+ // Operation Specifications
346
+ const serializer = coreClient.createSerializer(Mappers, /* isXml */ false);
347
+ const listByLabOperationSpec = {
348
+ path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.LabServices/labs/{labName}/users",
349
+ httpMethod: "GET",
350
+ responses: {
351
+ 200: {
352
+ bodyMapper: Mappers.PagedUsers
353
+ },
354
+ default: {
355
+ bodyMapper: Mappers.ErrorResponse
356
+ }
357
+ },
358
+ queryParameters: [Parameters.apiVersion, Parameters.filter],
359
+ urlParameters: [
360
+ Parameters.$host,
361
+ Parameters.subscriptionId,
362
+ Parameters.resourceGroupName,
363
+ Parameters.labName
364
+ ],
365
+ headerParameters: [Parameters.accept],
366
+ serializer
367
+ };
368
+ const getOperationSpec = {
369
+ path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.LabServices/labs/{labName}/users/{userName}",
370
+ httpMethod: "GET",
371
+ responses: {
372
+ 200: {
373
+ bodyMapper: Mappers.User
374
+ },
375
+ default: {
376
+ bodyMapper: Mappers.ErrorResponse
377
+ }
378
+ },
379
+ queryParameters: [Parameters.apiVersion],
380
+ urlParameters: [
381
+ Parameters.$host,
382
+ Parameters.subscriptionId,
383
+ Parameters.resourceGroupName,
384
+ Parameters.labName,
385
+ Parameters.userName
386
+ ],
387
+ headerParameters: [Parameters.accept],
388
+ serializer
389
+ };
390
+ const createOrUpdateOperationSpec = {
391
+ path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.LabServices/labs/{labName}/users/{userName}",
392
+ httpMethod: "PUT",
393
+ responses: {
394
+ 200: {
395
+ bodyMapper: Mappers.User
396
+ },
397
+ 201: {
398
+ bodyMapper: Mappers.User
399
+ },
400
+ 202: {
401
+ bodyMapper: Mappers.User
402
+ },
403
+ 204: {
404
+ bodyMapper: Mappers.User
405
+ },
406
+ default: {
407
+ bodyMapper: Mappers.ErrorResponse
408
+ }
409
+ },
410
+ requestBody: Parameters.body9,
411
+ queryParameters: [Parameters.apiVersion],
412
+ urlParameters: [
413
+ Parameters.$host,
414
+ Parameters.subscriptionId,
415
+ Parameters.resourceGroupName,
416
+ Parameters.labName,
417
+ Parameters.userName
418
+ ],
419
+ headerParameters: [Parameters.accept, Parameters.contentType],
420
+ mediaType: "json",
421
+ serializer
422
+ };
423
+ const updateOperationSpec = {
424
+ path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.LabServices/labs/{labName}/users/{userName}",
425
+ httpMethod: "PATCH",
426
+ responses: {
427
+ 200: {
428
+ bodyMapper: Mappers.User
429
+ },
430
+ 201: {
431
+ bodyMapper: Mappers.User
432
+ },
433
+ 202: {
434
+ bodyMapper: Mappers.User
435
+ },
436
+ 204: {
437
+ bodyMapper: Mappers.User
438
+ },
439
+ default: {
440
+ bodyMapper: Mappers.ErrorResponse
441
+ }
442
+ },
443
+ requestBody: Parameters.body10,
444
+ queryParameters: [Parameters.apiVersion],
445
+ urlParameters: [
446
+ Parameters.$host,
447
+ Parameters.subscriptionId,
448
+ Parameters.resourceGroupName,
449
+ Parameters.labName,
450
+ Parameters.userName
451
+ ],
452
+ headerParameters: [Parameters.accept, Parameters.contentType],
453
+ mediaType: "json",
454
+ serializer
455
+ };
456
+ const deleteOperationSpec = {
457
+ path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.LabServices/labs/{labName}/users/{userName}",
458
+ httpMethod: "DELETE",
459
+ responses: {
460
+ 200: {},
461
+ 201: {},
462
+ 202: {},
463
+ 204: {},
464
+ default: {
465
+ bodyMapper: Mappers.ErrorResponse
466
+ }
467
+ },
468
+ queryParameters: [Parameters.apiVersion],
469
+ urlParameters: [
470
+ Parameters.$host,
471
+ Parameters.subscriptionId,
472
+ Parameters.resourceGroupName,
473
+ Parameters.labName,
474
+ Parameters.userName
475
+ ],
476
+ headerParameters: [Parameters.accept],
477
+ serializer
478
+ };
479
+ const inviteOperationSpec = {
480
+ path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.LabServices/labs/{labName}/users/{userName}/invite",
481
+ httpMethod: "POST",
482
+ responses: {
483
+ 200: {},
484
+ 201: {},
485
+ 202: {},
486
+ 204: {},
487
+ default: {
488
+ bodyMapper: Mappers.ErrorResponse
489
+ }
490
+ },
491
+ requestBody: Parameters.body11,
492
+ queryParameters: [Parameters.apiVersion],
493
+ urlParameters: [
494
+ Parameters.$host,
495
+ Parameters.subscriptionId,
496
+ Parameters.resourceGroupName,
497
+ Parameters.labName,
498
+ Parameters.userName
499
+ ],
500
+ headerParameters: [Parameters.accept, Parameters.contentType],
501
+ mediaType: "json",
502
+ serializer
503
+ };
504
+ const listByLabNextOperationSpec = {
505
+ path: "{nextLink}",
506
+ httpMethod: "GET",
507
+ responses: {
508
+ 200: {
509
+ bodyMapper: Mappers.PagedUsers
510
+ },
511
+ default: {
512
+ bodyMapper: Mappers.ErrorResponse
513
+ }
514
+ },
515
+ urlParameters: [
516
+ Parameters.$host,
517
+ Parameters.subscriptionId,
518
+ Parameters.resourceGroupName,
519
+ Parameters.nextLink,
520
+ Parameters.labName
521
+ ],
522
+ headerParameters: [Parameters.accept],
523
+ serializer
524
+ };
525
+ //# sourceMappingURL=users.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"users.js","sourceRoot":"","sources":["../../../src/operations/users.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAGH,OAAO,EAAE,oBAAoB,EAAE,MAAM,oBAAoB,CAAC;AAE1D,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AACjD,OAAO,KAAK,OAAO,MAAM,sBAAsB,CAAC;AAChD,OAAO,KAAK,UAAU,MAAM,yBAAyB,CAAC;AAEtD,OAAO,EAAkC,SAAS,EAAE,MAAM,iBAAiB,CAAC;AAC5E,OAAO,EAAE,OAAO,EAAE,MAAM,eAAe,CAAC;AAmBxC,4CAA4C;AAC5C,yCAAyC;AACzC,MAAM,OAAO,SAAS;IAGpB;;;OAGG;IACH,YAAY,MAAyB;QACnC,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACvB,CAAC;IAED;;;;;;OAMG;IACI,SAAS,CACd,iBAAyB,EACzB,OAAe,EACf,OAAsC;QAEtC,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;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IACD,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC;AACF,MAAM,mBAAmB,GAA6B;IACpD,IAAI,EACF,2IAA2I;IAC7I,UAAU,EAAE,MAAM;IAClB,SAAS,EAAE;QACT,GAAG,EAAE,EAAE;QACP,GAAG,EAAE,EAAE;QACP,GAAG,EAAE,EAAE;QACP,GAAG,EAAE,EAAE;QACP,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,aAAa;SAClC;KACF;IACD,WAAW,EAAE,UAAU,CAAC,MAAM;IAC9B,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,QAAQ;KACpB;IACD,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,EAAE,UAAU,CAAC,WAAW,CAAC;IAC7D,SAAS,EAAE,MAAM;IACjB,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,UAAU;SAC/B;QACD,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,aAAa;SAClC;KACF;IACD,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","sourcesContent":["/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport { PagedAsyncIterableIterator, PageSettings } from \"@azure/core-paging\";\nimport { setContinuationToken } from \"../pagingHelper.js\";\nimport { Users } from \"../operationsInterfaces/index.js\";\nimport * as coreClient from \"@azure/core-client\";\nimport * as Mappers from \"../models/mappers.js\";\nimport * as Parameters from \"../models/parameters.js\";\nimport { LabServicesClient } from \"../labServicesClient.js\";\nimport { PollerLike, PollOperationState, LroEngine } from \"@azure/core-lro\";\nimport { LroImpl } from \"../lroImpl.js\";\nimport {\n User,\n UsersListByLabNextOptionalParams,\n UsersListByLabOptionalParams,\n UsersListByLabResponse,\n UsersGetOptionalParams,\n UsersGetResponse,\n UsersCreateOrUpdateOptionalParams,\n UsersCreateOrUpdateResponse,\n UserUpdate,\n UsersUpdateOptionalParams,\n UsersUpdateResponse,\n UsersDeleteOptionalParams,\n InviteBody,\n UsersInviteOptionalParams,\n UsersListByLabNextResponse\n} from \"../models/index.js\";\n\n/// <reference lib=\"esnext.asynciterable\" />\n/** Class containing Users operations. */\nexport class UsersImpl implements Users {\n private readonly client: LabServicesClient;\n\n /**\n * Initialize a new instance of the class Users class.\n * @param client Reference to the service client\n */\n constructor(client: LabServicesClient) {\n this.client = client;\n }\n\n /**\n * Returns a list of all users for a lab.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param labName The name of the lab that uniquely identifies it within containing lab plan. Used in\n * resource URIs.\n * @param options The options parameters.\n */\n public listByLab(\n resourceGroupName: string,\n labName: string,\n options?: UsersListByLabOptionalParams\n ): PagedAsyncIterableIterator<User> {\n const iter = this.listByLabPagingAll(resourceGroupName, labName, options);\n return {\n next() {\n return iter.next();\n },\n [Symbol.asyncIterator]() {\n return this;\n },\n byPage: (settings?: PageSettings) => {\n if (settings?.maxPageSize) {\n throw new Error(\"maxPageSize is not supported by this operation.\");\n }\n return this.listByLabPagingPage(\n resourceGroupName,\n labName,\n options,\n settings\n );\n }\n };\n }\n\n private async *listByLabPagingPage(\n resourceGroupName: string,\n labName: string,\n options?: UsersListByLabOptionalParams,\n settings?: PageSettings\n ): AsyncIterableIterator<User[]> {\n let result: UsersListByLabResponse;\n let continuationToken = settings?.continuationToken;\n if (!continuationToken) {\n result = await this._listByLab(resourceGroupName, labName, options);\n let page = result.value || [];\n continuationToken = result.nextLink;\n setContinuationToken(page, continuationToken);\n yield page;\n }\n while (continuationToken) {\n result = await this._listByLabNext(\n resourceGroupName,\n labName,\n continuationToken,\n options\n );\n continuationToken = result.nextLink;\n let page = result.value || [];\n setContinuationToken(page, continuationToken);\n yield page;\n }\n }\n\n private async *listByLabPagingAll(\n resourceGroupName: string,\n labName: string,\n options?: UsersListByLabOptionalParams\n ): AsyncIterableIterator<User> {\n for await (const page of this.listByLabPagingPage(\n resourceGroupName,\n labName,\n options\n )) {\n yield* page;\n }\n }\n\n /**\n * Returns a list of all users for a lab.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param labName The name of the lab that uniquely identifies it within containing lab plan. Used in\n * resource URIs.\n * @param options The options parameters.\n */\n private _listByLab(\n resourceGroupName: string,\n labName: string,\n options?: UsersListByLabOptionalParams\n ): Promise<UsersListByLabResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, labName, options },\n listByLabOperationSpec\n );\n }\n\n /**\n * Returns the properties of a lab user.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param labName The name of the lab that uniquely identifies it within containing lab plan. Used in\n * resource URIs.\n * @param userName The name of the user that uniquely identifies it within containing lab. Used in\n * resource URIs.\n * @param options The options parameters.\n */\n get(\n resourceGroupName: string,\n labName: string,\n userName: string,\n options?: UsersGetOptionalParams\n ): Promise<UsersGetResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, labName, userName, options },\n getOperationSpec\n );\n }\n\n /**\n * Operation to create or update a lab user.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param labName The name of the lab that uniquely identifies it within containing lab plan. Used in\n * resource URIs.\n * @param userName The name of the user that uniquely identifies it within containing lab. Used in\n * resource URIs.\n * @param body The request body.\n * @param options The options parameters.\n */\n async beginCreateOrUpdate(\n resourceGroupName: string,\n labName: string,\n userName: string,\n body: User,\n options?: UsersCreateOrUpdateOptionalParams\n ): Promise<\n PollerLike<\n PollOperationState<UsersCreateOrUpdateResponse>,\n UsersCreateOrUpdateResponse\n >\n > {\n const directSendOperation = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec\n ): Promise<UsersCreateOrUpdateResponse> => {\n return this.client.sendOperationRequest(args, spec);\n };\n const sendOperation = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec\n ) => {\n let currentRawResponse:\n | coreClient.FullOperationResponse\n | undefined = undefined;\n const providedCallback = args.options?.onResponse;\n const callback: coreClient.RawResponseCallback = (\n rawResponse: coreClient.FullOperationResponse,\n flatResponse: unknown\n ) => {\n currentRawResponse = rawResponse;\n providedCallback?.(rawResponse, flatResponse);\n };\n const updatedArgs = {\n ...args,\n options: {\n ...args.options,\n onResponse: callback\n }\n };\n const flatResponse = await directSendOperation(updatedArgs, spec);\n return {\n flatResponse,\n rawResponse: {\n statusCode: currentRawResponse!.status,\n body: currentRawResponse!.parsedBody,\n headers: currentRawResponse!.headers.toJSON()\n }\n };\n };\n\n const lro = new LroImpl(\n sendOperation,\n { resourceGroupName, labName, userName, body, options },\n createOrUpdateOperationSpec\n );\n const poller = new LroEngine(lro, {\n resumeFrom: options?.resumeFrom,\n intervalInMs: options?.updateIntervalInMs,\n lroResourceLocationConfig: \"original-uri\"\n });\n await poller.poll();\n return poller;\n }\n\n /**\n * Operation to create or update a lab user.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param labName The name of the lab that uniquely identifies it within containing lab plan. Used in\n * resource URIs.\n * @param userName The name of the user that uniquely identifies it within containing lab. Used in\n * resource URIs.\n * @param body The request body.\n * @param options The options parameters.\n */\n async beginCreateOrUpdateAndWait(\n resourceGroupName: string,\n labName: string,\n userName: string,\n body: User,\n options?: UsersCreateOrUpdateOptionalParams\n ): Promise<UsersCreateOrUpdateResponse> {\n const poller = await this.beginCreateOrUpdate(\n resourceGroupName,\n labName,\n userName,\n body,\n options\n );\n return poller.pollUntilDone();\n }\n\n /**\n * Operation to update a lab user.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param labName The name of the lab that uniquely identifies it within containing lab plan. Used in\n * resource URIs.\n * @param userName The name of the user that uniquely identifies it within containing lab. Used in\n * resource URIs.\n * @param body The request body.\n * @param options The options parameters.\n */\n async beginUpdate(\n resourceGroupName: string,\n labName: string,\n userName: string,\n body: UserUpdate,\n options?: UsersUpdateOptionalParams\n ): Promise<\n PollerLike<PollOperationState<UsersUpdateResponse>, UsersUpdateResponse>\n > {\n const directSendOperation = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec\n ): Promise<UsersUpdateResponse> => {\n return this.client.sendOperationRequest(args, spec);\n };\n const sendOperation = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec\n ) => {\n let currentRawResponse:\n | coreClient.FullOperationResponse\n | undefined = undefined;\n const providedCallback = args.options?.onResponse;\n const callback: coreClient.RawResponseCallback = (\n rawResponse: coreClient.FullOperationResponse,\n flatResponse: unknown\n ) => {\n currentRawResponse = rawResponse;\n providedCallback?.(rawResponse, flatResponse);\n };\n const updatedArgs = {\n ...args,\n options: {\n ...args.options,\n onResponse: callback\n }\n };\n const flatResponse = await directSendOperation(updatedArgs, spec);\n return {\n flatResponse,\n rawResponse: {\n statusCode: currentRawResponse!.status,\n body: currentRawResponse!.parsedBody,\n headers: currentRawResponse!.headers.toJSON()\n }\n };\n };\n\n const lro = new LroImpl(\n sendOperation,\n { resourceGroupName, labName, userName, body, options },\n updateOperationSpec\n );\n const poller = new LroEngine(lro, {\n resumeFrom: options?.resumeFrom,\n intervalInMs: options?.updateIntervalInMs,\n lroResourceLocationConfig: \"location\"\n });\n await poller.poll();\n return poller;\n }\n\n /**\n * Operation to update a lab user.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param labName The name of the lab that uniquely identifies it within containing lab plan. Used in\n * resource URIs.\n * @param userName The name of the user that uniquely identifies it within containing lab. Used in\n * resource URIs.\n * @param body The request body.\n * @param options The options parameters.\n */\n async beginUpdateAndWait(\n resourceGroupName: string,\n labName: string,\n userName: string,\n body: UserUpdate,\n options?: UsersUpdateOptionalParams\n ): Promise<UsersUpdateResponse> {\n const poller = await this.beginUpdate(\n resourceGroupName,\n labName,\n userName,\n body,\n options\n );\n return poller.pollUntilDone();\n }\n\n /**\n * Operation to delete a user resource.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param labName The name of the lab that uniquely identifies it within containing lab plan. Used in\n * resource URIs.\n * @param userName The name of the user that uniquely identifies it within containing lab. Used in\n * resource URIs.\n * @param options The options parameters.\n */\n async beginDelete(\n resourceGroupName: string,\n labName: string,\n userName: string,\n options?: UsersDeleteOptionalParams\n ): Promise<PollerLike<PollOperationState<void>, void>> {\n const directSendOperation = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec\n ): Promise<void> => {\n return this.client.sendOperationRequest(args, spec);\n };\n const sendOperation = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec\n ) => {\n let currentRawResponse:\n | coreClient.FullOperationResponse\n | undefined = undefined;\n const providedCallback = args.options?.onResponse;\n const callback: coreClient.RawResponseCallback = (\n rawResponse: coreClient.FullOperationResponse,\n flatResponse: unknown\n ) => {\n currentRawResponse = rawResponse;\n providedCallback?.(rawResponse, flatResponse);\n };\n const updatedArgs = {\n ...args,\n options: {\n ...args.options,\n onResponse: callback\n }\n };\n const flatResponse = await directSendOperation(updatedArgs, spec);\n return {\n flatResponse,\n rawResponse: {\n statusCode: currentRawResponse!.status,\n body: currentRawResponse!.parsedBody,\n headers: currentRawResponse!.headers.toJSON()\n }\n };\n };\n\n const lro = new LroImpl(\n sendOperation,\n { resourceGroupName, labName, userName, options },\n deleteOperationSpec\n );\n const poller = new LroEngine(lro, {\n resumeFrom: options?.resumeFrom,\n intervalInMs: options?.updateIntervalInMs,\n lroResourceLocationConfig: \"location\"\n });\n await poller.poll();\n return poller;\n }\n\n /**\n * Operation to delete a user resource.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param labName The name of the lab that uniquely identifies it within containing lab plan. Used in\n * resource URIs.\n * @param userName The name of the user that uniquely identifies it within containing lab. Used in\n * resource URIs.\n * @param options The options parameters.\n */\n async beginDeleteAndWait(\n resourceGroupName: string,\n labName: string,\n userName: string,\n options?: UsersDeleteOptionalParams\n ): Promise<void> {\n const poller = await this.beginDelete(\n resourceGroupName,\n labName,\n userName,\n options\n );\n return poller.pollUntilDone();\n }\n\n /**\n * Operation to invite a user to a lab.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param labName The name of the lab that uniquely identifies it within containing lab plan. Used in\n * resource URIs.\n * @param userName The name of the user that uniquely identifies it within containing lab. Used in\n * resource URIs.\n * @param body The request body.\n * @param options The options parameters.\n */\n async beginInvite(\n resourceGroupName: string,\n labName: string,\n userName: string,\n body: InviteBody,\n options?: UsersInviteOptionalParams\n ): Promise<PollerLike<PollOperationState<void>, void>> {\n const directSendOperation = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec\n ): Promise<void> => {\n return this.client.sendOperationRequest(args, spec);\n };\n const sendOperation = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec\n ) => {\n let currentRawResponse:\n | coreClient.FullOperationResponse\n | undefined = undefined;\n const providedCallback = args.options?.onResponse;\n const callback: coreClient.RawResponseCallback = (\n rawResponse: coreClient.FullOperationResponse,\n flatResponse: unknown\n ) => {\n currentRawResponse = rawResponse;\n providedCallback?.(rawResponse, flatResponse);\n };\n const updatedArgs = {\n ...args,\n options: {\n ...args.options,\n onResponse: callback\n }\n };\n const flatResponse = await directSendOperation(updatedArgs, spec);\n return {\n flatResponse,\n rawResponse: {\n statusCode: currentRawResponse!.status,\n body: currentRawResponse!.parsedBody,\n headers: currentRawResponse!.headers.toJSON()\n }\n };\n };\n\n const lro = new LroImpl(\n sendOperation,\n { resourceGroupName, labName, userName, body, options },\n inviteOperationSpec\n );\n const poller = new LroEngine(lro, {\n resumeFrom: options?.resumeFrom,\n intervalInMs: options?.updateIntervalInMs,\n lroResourceLocationConfig: \"location\"\n });\n await poller.poll();\n return poller;\n }\n\n /**\n * Operation to invite a user to a lab.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param labName The name of the lab that uniquely identifies it within containing lab plan. Used in\n * resource URIs.\n * @param userName The name of the user that uniquely identifies it within containing lab. Used in\n * resource URIs.\n * @param body The request body.\n * @param options The options parameters.\n */\n async beginInviteAndWait(\n resourceGroupName: string,\n labName: string,\n userName: string,\n body: InviteBody,\n options?: UsersInviteOptionalParams\n ): Promise<void> {\n const poller = await this.beginInvite(\n resourceGroupName,\n labName,\n userName,\n body,\n options\n );\n return poller.pollUntilDone();\n }\n\n /**\n * ListByLabNext\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param labName The name of the lab that uniquely identifies it within containing lab plan. Used in\n * resource URIs.\n * @param nextLink The nextLink from the previous successful call to the ListByLab method.\n * @param options The options parameters.\n */\n private _listByLabNext(\n resourceGroupName: string,\n labName: string,\n nextLink: string,\n options?: UsersListByLabNextOptionalParams\n ): Promise<UsersListByLabNextResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, labName, nextLink, options },\n listByLabNextOperationSpec\n );\n }\n}\n// Operation Specifications\nconst serializer = coreClient.createSerializer(Mappers, /* isXml */ false);\n\nconst listByLabOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.LabServices/labs/{labName}/users\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.PagedUsers\n },\n default: {\n bodyMapper: Mappers.ErrorResponse\n }\n },\n queryParameters: [Parameters.apiVersion, Parameters.filter],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.labName\n ],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst getOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.LabServices/labs/{labName}/users/{userName}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.User\n },\n default: {\n bodyMapper: Mappers.ErrorResponse\n }\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.labName,\n Parameters.userName\n ],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst createOrUpdateOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.LabServices/labs/{labName}/users/{userName}\",\n httpMethod: \"PUT\",\n responses: {\n 200: {\n bodyMapper: Mappers.User\n },\n 201: {\n bodyMapper: Mappers.User\n },\n 202: {\n bodyMapper: Mappers.User\n },\n 204: {\n bodyMapper: Mappers.User\n },\n default: {\n bodyMapper: Mappers.ErrorResponse\n }\n },\n requestBody: Parameters.body9,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.labName,\n Parameters.userName\n ],\n headerParameters: [Parameters.accept, Parameters.contentType],\n mediaType: \"json\",\n serializer\n};\nconst updateOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.LabServices/labs/{labName}/users/{userName}\",\n httpMethod: \"PATCH\",\n responses: {\n 200: {\n bodyMapper: Mappers.User\n },\n 201: {\n bodyMapper: Mappers.User\n },\n 202: {\n bodyMapper: Mappers.User\n },\n 204: {\n bodyMapper: Mappers.User\n },\n default: {\n bodyMapper: Mappers.ErrorResponse\n }\n },\n requestBody: Parameters.body10,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.labName,\n Parameters.userName\n ],\n headerParameters: [Parameters.accept, Parameters.contentType],\n mediaType: \"json\",\n serializer\n};\nconst deleteOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.LabServices/labs/{labName}/users/{userName}\",\n httpMethod: \"DELETE\",\n responses: {\n 200: {},\n 201: {},\n 202: {},\n 204: {},\n default: {\n bodyMapper: Mappers.ErrorResponse\n }\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.labName,\n Parameters.userName\n ],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst inviteOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.LabServices/labs/{labName}/users/{userName}/invite\",\n httpMethod: \"POST\",\n responses: {\n 200: {},\n 201: {},\n 202: {},\n 204: {},\n default: {\n bodyMapper: Mappers.ErrorResponse\n }\n },\n requestBody: Parameters.body11,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.labName,\n Parameters.userName\n ],\n headerParameters: [Parameters.accept, Parameters.contentType],\n mediaType: \"json\",\n serializer\n};\nconst listByLabNextOperationSpec: coreClient.OperationSpec = {\n path: \"{nextLink}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.PagedUsers\n },\n default: {\n bodyMapper: Mappers.ErrorResponse\n }\n },\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.nextLink,\n Parameters.labName\n ],\n headerParameters: [Parameters.accept],\n serializer\n};\n"]}