@azure/arm-education 1.0.0-beta.3 → 1.0.0-beta.4

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 (480) hide show
  1. package/CHANGELOG.md +14 -4
  2. package/LICENSE +4 -4
  3. package/README.md +26 -17
  4. package/{dist-esm/src → dist/browser}/educationManagementClient.d.ts +2 -2
  5. package/dist/browser/educationManagementClient.d.ts.map +1 -0
  6. package/{dist-esm/src → dist/browser}/educationManagementClient.js +36 -26
  7. package/dist/browser/educationManagementClient.js.map +1 -0
  8. package/dist/browser/index.d.ts +5 -0
  9. package/dist/browser/index.d.ts.map +1 -0
  10. package/{dist-esm/src → dist/browser}/index.js +4 -4
  11. package/dist/browser/index.js.map +1 -0
  12. package/{dist-esm/src → dist/browser}/models/index.d.ts +32 -32
  13. package/{dist-esm/src → dist/browser}/models/index.d.ts.map +1 -1
  14. package/dist/browser/models/index.js.map +1 -0
  15. package/{dist-esm/src → dist/browser}/models/mappers.js +99 -47
  16. package/dist/browser/models/mappers.js.map +1 -0
  17. package/{dist-esm/src → dist/browser}/models/parameters.js +1 -1
  18. package/dist/browser/models/parameters.js.map +1 -0
  19. package/{dist-esm/src → dist/browser}/operations/grants.d.ts +3 -3
  20. package/dist/browser/operations/grants.d.ts.map +1 -0
  21. package/{dist-esm/src → dist/browser}/operations/grants.js +48 -78
  22. package/dist/browser/operations/grants.js.map +1 -0
  23. package/dist/browser/operations/index.d.ts +7 -0
  24. package/{dist-esm/src → dist/browser}/operations/index.d.ts.map +1 -1
  25. package/{dist-esm/src/operationsInterfaces → dist/browser/operations}/index.js +6 -6
  26. package/dist/browser/operations/index.js.map +1 -0
  27. package/{dist-esm/src → dist/browser}/operations/joinRequests.d.ts +3 -3
  28. package/dist/browser/operations/joinRequests.d.ts.map +1 -0
  29. package/{dist-esm/src → dist/browser}/operations/joinRequests.js +26 -41
  30. package/dist/browser/operations/joinRequests.js.map +1 -0
  31. package/{dist-esm/src → dist/browser}/operations/labs.d.ts +3 -3
  32. package/dist/browser/operations/labs.d.ts.map +1 -0
  33. package/{dist-esm/src → dist/browser}/operations/labs.js +48 -78
  34. package/dist/browser/operations/labs.js.map +1 -0
  35. package/{dist-esm/src → dist/browser}/operations/operations.d.ts +3 -3
  36. package/dist/browser/operations/operations.d.ts.map +1 -0
  37. package/{dist-esm/src → dist/browser}/operations/operations.js +3 -2
  38. package/dist/browser/operations/operations.js.map +1 -0
  39. package/{dist-esm/src → dist/browser}/operations/studentLabs.d.ts +3 -3
  40. package/dist/browser/operations/studentLabs.d.ts.map +1 -0
  41. package/{dist-esm/src → dist/browser}/operations/studentLabs.js +26 -41
  42. package/dist/browser/operations/studentLabs.js.map +1 -0
  43. package/{dist-esm/src → dist/browser}/operations/students.d.ts +3 -3
  44. package/dist/browser/operations/students.d.ts.map +1 -0
  45. package/{dist-esm/src → dist/browser}/operations/students.js +26 -41
  46. package/dist/browser/operations/students.js.map +1 -0
  47. package/{dist-esm/src → dist/browser}/operationsInterfaces/grants.d.ts +1 -1
  48. package/dist/browser/operationsInterfaces/grants.d.ts.map +1 -0
  49. package/dist/browser/operationsInterfaces/grants.js.map +1 -0
  50. package/dist/browser/operationsInterfaces/index.d.ts +7 -0
  51. package/dist/browser/operationsInterfaces/index.d.ts.map +1 -0
  52. package/{dist-esm/src/operations → dist/browser/operationsInterfaces}/index.js +6 -6
  53. package/dist/browser/operationsInterfaces/index.js.map +1 -0
  54. package/{dist-esm/src → dist/browser}/operationsInterfaces/joinRequests.d.ts +1 -1
  55. package/dist/browser/operationsInterfaces/joinRequests.d.ts.map +1 -0
  56. package/dist/browser/operationsInterfaces/joinRequests.js.map +1 -0
  57. package/{dist-esm/src → dist/browser}/operationsInterfaces/labs.d.ts +1 -1
  58. package/dist/browser/operationsInterfaces/labs.d.ts.map +1 -0
  59. package/dist/browser/operationsInterfaces/labs.js.map +1 -0
  60. package/{dist-esm/src → dist/browser}/operationsInterfaces/operations.d.ts +1 -1
  61. package/dist/browser/operationsInterfaces/operations.d.ts.map +1 -0
  62. package/dist/browser/operationsInterfaces/operations.js.map +1 -0
  63. package/{dist-esm/src → dist/browser}/operationsInterfaces/studentLabs.d.ts +1 -1
  64. package/{dist-esm/src → dist/browser}/operationsInterfaces/studentLabs.d.ts.map +1 -1
  65. package/dist/browser/operationsInterfaces/studentLabs.js.map +1 -0
  66. package/{dist-esm/src → dist/browser}/operationsInterfaces/students.d.ts +1 -1
  67. package/dist/browser/operationsInterfaces/students.d.ts.map +1 -0
  68. package/dist/browser/operationsInterfaces/students.js.map +1 -0
  69. package/dist/browser/package.json +3 -0
  70. package/{dist-esm/src → dist/browser}/pagingHelper.js +2 -4
  71. package/dist/browser/pagingHelper.js.map +1 -0
  72. package/dist/commonjs/educationManagementClient.d.ts +29 -0
  73. package/dist/commonjs/educationManagementClient.d.ts.map +1 -0
  74. package/dist/commonjs/educationManagementClient.js +142 -0
  75. package/dist/commonjs/educationManagementClient.js.map +1 -0
  76. package/dist/commonjs/index.d.ts +5 -0
  77. package/dist/commonjs/index.d.ts.map +1 -0
  78. package/dist/commonjs/index.js +19 -0
  79. package/dist/commonjs/index.js.map +1 -0
  80. package/{types/arm-education.d.ts → dist/commonjs/models/index.d.ts} +685 -995
  81. package/dist/commonjs/models/index.d.ts.map +1 -0
  82. package/dist/commonjs/models/index.js +95 -0
  83. package/dist/commonjs/models/index.js.map +1 -0
  84. package/dist/commonjs/models/mappers.d.ts +22 -0
  85. package/dist/commonjs/models/mappers.d.ts.map +1 -0
  86. package/dist/commonjs/models/mappers.js +757 -0
  87. package/dist/commonjs/models/mappers.js.map +1 -0
  88. package/dist/commonjs/models/parameters.d.ts +22 -0
  89. package/dist/commonjs/models/parameters.d.ts.map +1 -0
  90. package/dist/commonjs/models/parameters.js +188 -0
  91. package/dist/commonjs/models/parameters.js.map +1 -0
  92. package/dist/commonjs/operations/grants.d.ts +63 -0
  93. package/dist/commonjs/operations/grants.d.ts.map +1 -0
  94. package/dist/commonjs/operations/grants.js +255 -0
  95. package/dist/commonjs/operations/grants.js.map +1 -0
  96. package/dist/commonjs/operations/index.d.ts +7 -0
  97. package/dist/commonjs/operations/index.d.ts.map +1 -0
  98. package/dist/commonjs/operations/index.js +17 -0
  99. package/dist/commonjs/operations/index.js.map +1 -0
  100. package/dist/commonjs/operations/joinRequests.d.ts +68 -0
  101. package/dist/commonjs/operations/joinRequests.d.ts.map +1 -0
  102. package/dist/commonjs/operations/joinRequests.js +260 -0
  103. package/dist/commonjs/operations/joinRequests.js.map +1 -0
  104. package/dist/commonjs/operations/labs.d.ts +103 -0
  105. package/dist/commonjs/operations/labs.d.ts.map +1 -0
  106. package/dist/commonjs/operations/labs.js +407 -0
  107. package/dist/commonjs/operations/labs.js.map +1 -0
  108. package/dist/commonjs/operations/operations.d.ts +18 -0
  109. package/dist/commonjs/operations/operations.d.ts.map +1 -0
  110. package/dist/commonjs/operations/operations.js +52 -0
  111. package/dist/commonjs/operations/operations.js.map +1 -0
  112. package/dist/commonjs/operations/studentLabs.d.ts +38 -0
  113. package/dist/commonjs/operations/studentLabs.d.ts.map +1 -0
  114. package/dist/commonjs/operations/studentLabs.js +145 -0
  115. package/dist/commonjs/operations/studentLabs.js.map +1 -0
  116. package/dist/commonjs/operations/students.d.ts +70 -0
  117. package/dist/commonjs/operations/students.d.ts.map +1 -0
  118. package/dist/commonjs/operations/students.js +271 -0
  119. package/dist/commonjs/operations/students.js.map +1 -0
  120. package/dist/commonjs/operationsInterfaces/grants.d.ts +25 -0
  121. package/dist/commonjs/operationsInterfaces/grants.d.ts.map +1 -0
  122. package/dist/commonjs/operationsInterfaces/grants.js +10 -0
  123. package/dist/commonjs/operationsInterfaces/grants.js.map +1 -0
  124. package/dist/commonjs/operationsInterfaces/index.d.ts +7 -0
  125. package/dist/commonjs/operationsInterfaces/index.d.ts.map +1 -0
  126. package/dist/commonjs/operationsInterfaces/index.js +17 -0
  127. package/dist/commonjs/operationsInterfaces/index.js.map +1 -0
  128. package/dist/commonjs/operationsInterfaces/joinRequests.d.ts +41 -0
  129. package/dist/commonjs/operationsInterfaces/joinRequests.d.ts.map +1 -0
  130. package/dist/commonjs/operationsInterfaces/joinRequests.js +10 -0
  131. package/dist/commonjs/operationsInterfaces/joinRequests.js.map +1 -0
  132. package/dist/commonjs/operationsInterfaces/labs.d.ts +58 -0
  133. package/dist/commonjs/operationsInterfaces/labs.d.ts.map +1 -0
  134. package/dist/commonjs/operationsInterfaces/labs.js +10 -0
  135. package/dist/commonjs/operationsInterfaces/labs.js.map +1 -0
  136. package/dist/commonjs/operationsInterfaces/operations.d.ts +10 -0
  137. package/dist/commonjs/operationsInterfaces/operations.d.ts.map +1 -0
  138. package/dist/commonjs/operationsInterfaces/operations.js +10 -0
  139. package/dist/commonjs/operationsInterfaces/operations.js.map +1 -0
  140. package/dist/commonjs/operationsInterfaces/studentLabs.d.ts +17 -0
  141. package/dist/commonjs/operationsInterfaces/studentLabs.d.ts.map +1 -0
  142. package/dist/commonjs/operationsInterfaces/studentLabs.js +10 -0
  143. package/dist/commonjs/operationsInterfaces/studentLabs.js.map +1 -0
  144. package/dist/commonjs/operationsInterfaces/students.d.ts +43 -0
  145. package/dist/commonjs/operationsInterfaces/students.d.ts.map +1 -0
  146. package/dist/commonjs/operationsInterfaces/students.js +10 -0
  147. package/dist/commonjs/operationsInterfaces/students.js.map +1 -0
  148. package/dist/commonjs/package.json +3 -0
  149. package/dist/commonjs/pagingHelper.d.ts +13 -0
  150. package/dist/commonjs/pagingHelper.d.ts.map +1 -0
  151. package/dist/commonjs/pagingHelper.js +34 -0
  152. package/dist/commonjs/pagingHelper.js.map +1 -0
  153. package/{types → dist/commonjs}/tsdoc-metadata.json +11 -11
  154. package/dist/esm/educationManagementClient.d.ts +29 -0
  155. package/dist/esm/educationManagementClient.d.ts.map +1 -0
  156. package/dist/esm/educationManagementClient.js +137 -0
  157. package/dist/esm/educationManagementClient.js.map +1 -0
  158. package/dist/esm/index.d.ts +5 -0
  159. package/dist/esm/index.d.ts.map +1 -0
  160. package/{src/index.ts → dist/esm/index.js} +5 -5
  161. package/dist/esm/index.js.map +1 -0
  162. package/dist/esm/models/index.d.ts +685 -0
  163. package/dist/esm/models/index.d.ts.map +1 -0
  164. package/dist/esm/models/index.js +92 -0
  165. package/dist/esm/models/index.js.map +1 -0
  166. package/dist/esm/models/mappers.d.ts +22 -0
  167. package/dist/esm/models/mappers.d.ts.map +1 -0
  168. package/dist/esm/models/mappers.js +754 -0
  169. package/dist/esm/models/mappers.js.map +1 -0
  170. package/dist/esm/models/parameters.d.ts +22 -0
  171. package/dist/esm/models/parameters.d.ts.map +1 -0
  172. package/dist/esm/models/parameters.js +185 -0
  173. package/dist/esm/models/parameters.js.map +1 -0
  174. package/dist/esm/operations/grants.d.ts +63 -0
  175. package/dist/esm/operations/grants.d.ts.map +1 -0
  176. package/dist/esm/operations/grants.js +250 -0
  177. package/dist/esm/operations/grants.js.map +1 -0
  178. package/dist/esm/operations/index.d.ts +7 -0
  179. package/dist/esm/operations/index.d.ts.map +1 -0
  180. package/dist/esm/operations/index.js +14 -0
  181. package/dist/esm/operations/index.js.map +1 -0
  182. package/dist/esm/operations/joinRequests.d.ts +68 -0
  183. package/dist/esm/operations/joinRequests.d.ts.map +1 -0
  184. package/dist/esm/operations/joinRequests.js +255 -0
  185. package/dist/esm/operations/joinRequests.js.map +1 -0
  186. package/dist/esm/operations/labs.d.ts +103 -0
  187. package/dist/esm/operations/labs.d.ts.map +1 -0
  188. package/dist/esm/operations/labs.js +402 -0
  189. package/dist/esm/operations/labs.js.map +1 -0
  190. package/dist/esm/operations/operations.d.ts +18 -0
  191. package/dist/esm/operations/operations.d.ts.map +1 -0
  192. package/dist/esm/operations/operations.js +47 -0
  193. package/dist/esm/operations/operations.js.map +1 -0
  194. package/dist/esm/operations/studentLabs.d.ts +38 -0
  195. package/dist/esm/operations/studentLabs.d.ts.map +1 -0
  196. package/dist/esm/operations/studentLabs.js +140 -0
  197. package/dist/esm/operations/studentLabs.js.map +1 -0
  198. package/dist/esm/operations/students.d.ts +70 -0
  199. package/dist/esm/operations/students.d.ts.map +1 -0
  200. package/dist/esm/operations/students.js +266 -0
  201. package/dist/esm/operations/students.js.map +1 -0
  202. package/dist/esm/operationsInterfaces/grants.d.ts +25 -0
  203. package/dist/esm/operationsInterfaces/grants.d.ts.map +1 -0
  204. package/dist/esm/operationsInterfaces/grants.js +9 -0
  205. package/dist/esm/operationsInterfaces/grants.js.map +1 -0
  206. package/dist/esm/operationsInterfaces/index.d.ts +7 -0
  207. package/dist/esm/operationsInterfaces/index.d.ts.map +1 -0
  208. package/dist/esm/operationsInterfaces/index.js +14 -0
  209. package/dist/esm/operationsInterfaces/index.js.map +1 -0
  210. package/dist/esm/operationsInterfaces/joinRequests.d.ts +41 -0
  211. package/dist/esm/operationsInterfaces/joinRequests.d.ts.map +1 -0
  212. package/dist/esm/operationsInterfaces/joinRequests.js +9 -0
  213. package/dist/esm/operationsInterfaces/joinRequests.js.map +1 -0
  214. package/dist/esm/operationsInterfaces/labs.d.ts +58 -0
  215. package/dist/esm/operationsInterfaces/labs.d.ts.map +1 -0
  216. package/dist/esm/operationsInterfaces/labs.js +9 -0
  217. package/dist/esm/operationsInterfaces/labs.js.map +1 -0
  218. package/dist/esm/operationsInterfaces/operations.d.ts +10 -0
  219. package/dist/esm/operationsInterfaces/operations.d.ts.map +1 -0
  220. package/dist/esm/operationsInterfaces/operations.js +9 -0
  221. package/dist/esm/operationsInterfaces/operations.js.map +1 -0
  222. package/dist/esm/operationsInterfaces/studentLabs.d.ts +17 -0
  223. package/dist/esm/operationsInterfaces/studentLabs.d.ts.map +1 -0
  224. package/dist/esm/operationsInterfaces/studentLabs.js +9 -0
  225. package/dist/esm/operationsInterfaces/studentLabs.js.map +1 -0
  226. package/dist/esm/operationsInterfaces/students.d.ts +43 -0
  227. package/dist/esm/operationsInterfaces/students.d.ts.map +1 -0
  228. package/dist/esm/operationsInterfaces/students.js +9 -0
  229. package/dist/esm/operationsInterfaces/students.js.map +1 -0
  230. package/dist/esm/package.json +3 -0
  231. package/dist/esm/pagingHelper.d.ts +13 -0
  232. package/dist/esm/pagingHelper.d.ts.map +1 -0
  233. package/dist/esm/pagingHelper.js +30 -0
  234. package/dist/esm/pagingHelper.js.map +1 -0
  235. package/dist/react-native/educationManagementClient.d.ts +29 -0
  236. package/dist/react-native/educationManagementClient.d.ts.map +1 -0
  237. package/dist/react-native/educationManagementClient.js +137 -0
  238. package/dist/react-native/educationManagementClient.js.map +1 -0
  239. package/dist/react-native/index.d.ts +5 -0
  240. package/dist/react-native/index.d.ts.map +1 -0
  241. package/dist/react-native/index.js +13 -0
  242. package/dist/react-native/index.js.map +1 -0
  243. package/dist/react-native/models/index.d.ts +685 -0
  244. package/dist/react-native/models/index.d.ts.map +1 -0
  245. package/dist/react-native/models/index.js +92 -0
  246. package/dist/react-native/models/index.js.map +1 -0
  247. package/dist/react-native/models/mappers.d.ts +22 -0
  248. package/dist/react-native/models/mappers.d.ts.map +1 -0
  249. package/dist/react-native/models/mappers.js +754 -0
  250. package/dist/react-native/models/mappers.js.map +1 -0
  251. package/dist/react-native/models/parameters.d.ts +22 -0
  252. package/dist/react-native/models/parameters.d.ts.map +1 -0
  253. package/dist/react-native/models/parameters.js +185 -0
  254. package/dist/react-native/models/parameters.js.map +1 -0
  255. package/dist/react-native/operations/grants.d.ts +63 -0
  256. package/dist/react-native/operations/grants.d.ts.map +1 -0
  257. package/dist/react-native/operations/grants.js +250 -0
  258. package/dist/react-native/operations/grants.js.map +1 -0
  259. package/dist/react-native/operations/index.d.ts +7 -0
  260. package/dist/react-native/operations/index.d.ts.map +1 -0
  261. package/dist/react-native/operations/index.js +14 -0
  262. package/dist/react-native/operations/index.js.map +1 -0
  263. package/dist/react-native/operations/joinRequests.d.ts +68 -0
  264. package/dist/react-native/operations/joinRequests.d.ts.map +1 -0
  265. package/dist/react-native/operations/joinRequests.js +255 -0
  266. package/dist/react-native/operations/joinRequests.js.map +1 -0
  267. package/dist/react-native/operations/labs.d.ts +103 -0
  268. package/dist/react-native/operations/labs.d.ts.map +1 -0
  269. package/dist/react-native/operations/labs.js +402 -0
  270. package/dist/react-native/operations/labs.js.map +1 -0
  271. package/dist/react-native/operations/operations.d.ts +18 -0
  272. package/dist/react-native/operations/operations.d.ts.map +1 -0
  273. package/dist/react-native/operations/operations.js +47 -0
  274. package/dist/react-native/operations/operations.js.map +1 -0
  275. package/dist/react-native/operations/studentLabs.d.ts +38 -0
  276. package/dist/react-native/operations/studentLabs.d.ts.map +1 -0
  277. package/dist/react-native/operations/studentLabs.js +140 -0
  278. package/dist/react-native/operations/studentLabs.js.map +1 -0
  279. package/dist/react-native/operations/students.d.ts +70 -0
  280. package/dist/react-native/operations/students.d.ts.map +1 -0
  281. package/dist/react-native/operations/students.js +266 -0
  282. package/dist/react-native/operations/students.js.map +1 -0
  283. package/dist/react-native/operationsInterfaces/grants.d.ts +25 -0
  284. package/dist/react-native/operationsInterfaces/grants.d.ts.map +1 -0
  285. package/dist/react-native/operationsInterfaces/grants.js +9 -0
  286. package/dist/react-native/operationsInterfaces/grants.js.map +1 -0
  287. package/dist/react-native/operationsInterfaces/index.d.ts +7 -0
  288. package/dist/react-native/operationsInterfaces/index.d.ts.map +1 -0
  289. package/dist/react-native/operationsInterfaces/index.js +14 -0
  290. package/dist/react-native/operationsInterfaces/index.js.map +1 -0
  291. package/dist/react-native/operationsInterfaces/joinRequests.d.ts +41 -0
  292. package/dist/react-native/operationsInterfaces/joinRequests.d.ts.map +1 -0
  293. package/dist/react-native/operationsInterfaces/joinRequests.js +9 -0
  294. package/dist/react-native/operationsInterfaces/joinRequests.js.map +1 -0
  295. package/dist/react-native/operationsInterfaces/labs.d.ts +58 -0
  296. package/dist/react-native/operationsInterfaces/labs.d.ts.map +1 -0
  297. package/dist/react-native/operationsInterfaces/labs.js +9 -0
  298. package/dist/react-native/operationsInterfaces/labs.js.map +1 -0
  299. package/dist/react-native/operationsInterfaces/operations.d.ts +10 -0
  300. package/dist/react-native/operationsInterfaces/operations.d.ts.map +1 -0
  301. package/dist/react-native/operationsInterfaces/operations.js +9 -0
  302. package/dist/react-native/operationsInterfaces/operations.js.map +1 -0
  303. package/dist/react-native/operationsInterfaces/studentLabs.d.ts +17 -0
  304. package/dist/react-native/operationsInterfaces/studentLabs.d.ts.map +1 -0
  305. package/dist/react-native/operationsInterfaces/studentLabs.js +9 -0
  306. package/dist/react-native/operationsInterfaces/studentLabs.js.map +1 -0
  307. package/dist/react-native/operationsInterfaces/students.d.ts +43 -0
  308. package/dist/react-native/operationsInterfaces/students.d.ts.map +1 -0
  309. package/dist/react-native/operationsInterfaces/students.js +9 -0
  310. package/dist/react-native/operationsInterfaces/students.js.map +1 -0
  311. package/dist/react-native/package.json +3 -0
  312. package/dist/react-native/pagingHelper.d.ts +13 -0
  313. package/dist/react-native/pagingHelper.d.ts.map +1 -0
  314. package/dist/react-native/pagingHelper.js +30 -0
  315. package/dist/react-native/pagingHelper.js.map +1 -0
  316. package/package.json +85 -76
  317. package/dist/index.js +0 -2623
  318. package/dist/index.js.map +0 -1
  319. package/dist/index.min.js +0 -1
  320. package/dist/index.min.js.map +0 -1
  321. package/dist-esm/samples-dev/grantsGetSample.d.ts +0 -2
  322. package/dist-esm/samples-dev/grantsGetSample.d.ts.map +0 -1
  323. package/dist-esm/samples-dev/grantsGetSample.js +0 -58
  324. package/dist-esm/samples-dev/grantsGetSample.js.map +0 -1
  325. package/dist-esm/samples-dev/grantsListAllSample.d.ts +0 -2
  326. package/dist-esm/samples-dev/grantsListAllSample.d.ts.map +0 -1
  327. package/dist-esm/samples-dev/grantsListAllSample.js +0 -82
  328. package/dist-esm/samples-dev/grantsListAllSample.js.map +0 -1
  329. package/dist-esm/samples-dev/grantsListSample.d.ts +0 -2
  330. package/dist-esm/samples-dev/grantsListSample.d.ts.map +0 -1
  331. package/dist-esm/samples-dev/grantsListSample.js +0 -86
  332. package/dist-esm/samples-dev/grantsListSample.js.map +0 -1
  333. package/dist-esm/samples-dev/joinRequestsApproveSample.d.ts +0 -2
  334. package/dist-esm/samples-dev/joinRequestsApproveSample.d.ts.map +0 -1
  335. package/dist-esm/samples-dev/joinRequestsApproveSample.js +0 -39
  336. package/dist-esm/samples-dev/joinRequestsApproveSample.js.map +0 -1
  337. package/dist-esm/samples-dev/joinRequestsDenySample.d.ts +0 -2
  338. package/dist-esm/samples-dev/joinRequestsDenySample.d.ts.map +0 -1
  339. package/dist-esm/samples-dev/joinRequestsDenySample.js +0 -39
  340. package/dist-esm/samples-dev/joinRequestsDenySample.js.map +0 -1
  341. package/dist-esm/samples-dev/joinRequestsGetSample.d.ts +0 -2
  342. package/dist-esm/samples-dev/joinRequestsGetSample.d.ts.map +0 -1
  343. package/dist-esm/samples-dev/joinRequestsGetSample.js +0 -39
  344. package/dist-esm/samples-dev/joinRequestsGetSample.js.map +0 -1
  345. package/dist-esm/samples-dev/joinRequestsListSample.d.ts +0 -2
  346. package/dist-esm/samples-dev/joinRequestsListSample.d.ts.map +0 -1
  347. package/dist-esm/samples-dev/joinRequestsListSample.js +0 -54
  348. package/dist-esm/samples-dev/joinRequestsListSample.js.map +0 -1
  349. package/dist-esm/samples-dev/labsCreateOrUpdateSample.d.ts +0 -2
  350. package/dist-esm/samples-dev/labsCreateOrUpdateSample.d.ts.map +0 -1
  351. package/dist-esm/samples-dev/labsCreateOrUpdateSample.js +0 -44
  352. package/dist-esm/samples-dev/labsCreateOrUpdateSample.js.map +0 -1
  353. package/dist-esm/samples-dev/labsDeleteSample.d.ts +0 -2
  354. package/dist-esm/samples-dev/labsDeleteSample.d.ts.map +0 -1
  355. package/dist-esm/samples-dev/labsDeleteSample.js +0 -38
  356. package/dist-esm/samples-dev/labsDeleteSample.js.map +0 -1
  357. package/dist-esm/samples-dev/labsGenerateInviteCodeSample.d.ts +0 -2
  358. package/dist-esm/samples-dev/labsGenerateInviteCodeSample.d.ts.map +0 -1
  359. package/dist-esm/samples-dev/labsGenerateInviteCodeSample.js +0 -39
  360. package/dist-esm/samples-dev/labsGenerateInviteCodeSample.js.map +0 -1
  361. package/dist-esm/samples-dev/labsGetSample.d.ts +0 -2
  362. package/dist-esm/samples-dev/labsGetSample.d.ts.map +0 -1
  363. package/dist-esm/samples-dev/labsGetSample.js +0 -60
  364. package/dist-esm/samples-dev/labsGetSample.js.map +0 -1
  365. package/dist-esm/samples-dev/labsListAllSample.d.ts +0 -2
  366. package/dist-esm/samples-dev/labsListAllSample.d.ts.map +0 -1
  367. package/dist-esm/samples-dev/labsListAllSample.js +0 -86
  368. package/dist-esm/samples-dev/labsListAllSample.js.map +0 -1
  369. package/dist-esm/samples-dev/labsListSample.d.ts +0 -2
  370. package/dist-esm/samples-dev/labsListSample.d.ts.map +0 -1
  371. package/dist-esm/samples-dev/labsListSample.js +0 -88
  372. package/dist-esm/samples-dev/labsListSample.js.map +0 -1
  373. package/dist-esm/samples-dev/operationsListSample.d.ts +0 -2
  374. package/dist-esm/samples-dev/operationsListSample.d.ts.map +0 -1
  375. package/dist-esm/samples-dev/operationsListSample.js +0 -35
  376. package/dist-esm/samples-dev/operationsListSample.js.map +0 -1
  377. package/dist-esm/samples-dev/redeemInvitationCodeSample.d.ts +0 -2
  378. package/dist-esm/samples-dev/redeemInvitationCodeSample.d.ts.map +0 -1
  379. package/dist-esm/samples-dev/redeemInvitationCodeSample.js +0 -40
  380. package/dist-esm/samples-dev/redeemInvitationCodeSample.js.map +0 -1
  381. package/dist-esm/samples-dev/studentLabsGetSample.d.ts +0 -2
  382. package/dist-esm/samples-dev/studentLabsGetSample.d.ts.map +0 -1
  383. package/dist-esm/samples-dev/studentLabsGetSample.js +0 -36
  384. package/dist-esm/samples-dev/studentLabsGetSample.js.map +0 -1
  385. package/dist-esm/samples-dev/studentLabsListAllSample.d.ts +0 -2
  386. package/dist-esm/samples-dev/studentLabsListAllSample.d.ts.map +0 -1
  387. package/dist-esm/samples-dev/studentLabsListAllSample.js +0 -49
  388. package/dist-esm/samples-dev/studentLabsListAllSample.js.map +0 -1
  389. package/dist-esm/samples-dev/studentsCreateOrUpdateSample.d.ts +0 -2
  390. package/dist-esm/samples-dev/studentsCreateOrUpdateSample.d.ts.map +0 -1
  391. package/dist-esm/samples-dev/studentsCreateOrUpdateSample.js +0 -47
  392. package/dist-esm/samples-dev/studentsCreateOrUpdateSample.js.map +0 -1
  393. package/dist-esm/samples-dev/studentsDeleteSample.d.ts +0 -2
  394. package/dist-esm/samples-dev/studentsDeleteSample.d.ts.map +0 -1
  395. package/dist-esm/samples-dev/studentsDeleteSample.js +0 -39
  396. package/dist-esm/samples-dev/studentsDeleteSample.js.map +0 -1
  397. package/dist-esm/samples-dev/studentsGetSample.d.ts +0 -2
  398. package/dist-esm/samples-dev/studentsGetSample.d.ts.map +0 -1
  399. package/dist-esm/samples-dev/studentsGetSample.js +0 -39
  400. package/dist-esm/samples-dev/studentsGetSample.js.map +0 -1
  401. package/dist-esm/samples-dev/studentsListSample.d.ts +0 -2
  402. package/dist-esm/samples-dev/studentsListSample.d.ts.map +0 -1
  403. package/dist-esm/samples-dev/studentsListSample.js +0 -52
  404. package/dist-esm/samples-dev/studentsListSample.js.map +0 -1
  405. package/dist-esm/src/educationManagementClient.d.ts.map +0 -1
  406. package/dist-esm/src/educationManagementClient.js.map +0 -1
  407. package/dist-esm/src/index.d.ts +0 -6
  408. package/dist-esm/src/index.d.ts.map +0 -1
  409. package/dist-esm/src/index.js.map +0 -1
  410. package/dist-esm/src/models/index.js.map +0 -1
  411. package/dist-esm/src/models/mappers.js.map +0 -1
  412. package/dist-esm/src/models/parameters.js.map +0 -1
  413. package/dist-esm/src/operations/grants.d.ts.map +0 -1
  414. package/dist-esm/src/operations/grants.js.map +0 -1
  415. package/dist-esm/src/operations/index.d.ts +0 -7
  416. package/dist-esm/src/operations/index.js.map +0 -1
  417. package/dist-esm/src/operations/joinRequests.d.ts.map +0 -1
  418. package/dist-esm/src/operations/joinRequests.js.map +0 -1
  419. package/dist-esm/src/operations/labs.d.ts.map +0 -1
  420. package/dist-esm/src/operations/labs.js.map +0 -1
  421. package/dist-esm/src/operations/operations.d.ts.map +0 -1
  422. package/dist-esm/src/operations/operations.js.map +0 -1
  423. package/dist-esm/src/operations/studentLabs.d.ts.map +0 -1
  424. package/dist-esm/src/operations/studentLabs.js.map +0 -1
  425. package/dist-esm/src/operations/students.d.ts.map +0 -1
  426. package/dist-esm/src/operations/students.js.map +0 -1
  427. package/dist-esm/src/operationsInterfaces/grants.d.ts.map +0 -1
  428. package/dist-esm/src/operationsInterfaces/grants.js.map +0 -1
  429. package/dist-esm/src/operationsInterfaces/index.d.ts +0 -7
  430. package/dist-esm/src/operationsInterfaces/index.d.ts.map +0 -1
  431. package/dist-esm/src/operationsInterfaces/index.js.map +0 -1
  432. package/dist-esm/src/operationsInterfaces/joinRequests.d.ts.map +0 -1
  433. package/dist-esm/src/operationsInterfaces/joinRequests.js.map +0 -1
  434. package/dist-esm/src/operationsInterfaces/labs.d.ts.map +0 -1
  435. package/dist-esm/src/operationsInterfaces/labs.js.map +0 -1
  436. package/dist-esm/src/operationsInterfaces/operations.d.ts.map +0 -1
  437. package/dist-esm/src/operationsInterfaces/operations.js.map +0 -1
  438. package/dist-esm/src/operationsInterfaces/studentLabs.js.map +0 -1
  439. package/dist-esm/src/operationsInterfaces/students.d.ts.map +0 -1
  440. package/dist-esm/src/operationsInterfaces/students.js.map +0 -1
  441. package/dist-esm/src/pagingHelper.js.map +0 -1
  442. package/dist-esm/test/sampleTest.d.ts +0 -2
  443. package/dist-esm/test/sampleTest.d.ts.map +0 -1
  444. package/dist-esm/test/sampleTest.js +0 -38
  445. package/dist-esm/test/sampleTest.js.map +0 -1
  446. package/rollup.config.js +0 -122
  447. package/src/educationManagementClient.ts +0 -196
  448. package/src/models/index.ts +0 -786
  449. package/src/models/mappers.ts +0 -775
  450. package/src/models/parameters.ts +0 -215
  451. package/src/operations/grants.ts +0 -354
  452. package/src/operations/index.ts +0 -14
  453. package/src/operations/joinRequests.ts +0 -371
  454. package/src/operations/labs.ts +0 -591
  455. package/src/operations/operations.ts +0 -59
  456. package/src/operations/studentLabs.ts +0 -182
  457. package/src/operations/students.ts +0 -384
  458. package/src/operationsInterfaces/grants.ts +0 -50
  459. package/src/operationsInterfaces/index.ts +0 -14
  460. package/src/operationsInterfaces/joinRequests.ts +0 -80
  461. package/src/operationsInterfaces/labs.ts +0 -110
  462. package/src/operationsInterfaces/operations.ts +0 -21
  463. package/src/operationsInterfaces/studentLabs.ts +0 -36
  464. package/src/operationsInterfaces/students.ts +0 -84
  465. package/src/pagingHelper.ts +0 -39
  466. package/tsconfig.json +0 -33
  467. /package/{dist-esm/src → dist/browser}/models/index.js +0 -0
  468. /package/{dist-esm/src → dist/browser}/models/mappers.d.ts +0 -0
  469. /package/{dist-esm/src → dist/browser}/models/mappers.d.ts.map +0 -0
  470. /package/{dist-esm/src → dist/browser}/models/parameters.d.ts +0 -0
  471. /package/{dist-esm/src → dist/browser}/models/parameters.d.ts.map +0 -0
  472. /package/{dist-esm/src → dist/browser}/operationsInterfaces/grants.js +0 -0
  473. /package/{dist-esm/src → dist/browser}/operationsInterfaces/joinRequests.js +0 -0
  474. /package/{dist-esm/src → dist/browser}/operationsInterfaces/labs.js +0 -0
  475. /package/{dist-esm/src → dist/browser}/operationsInterfaces/operations.js +0 -0
  476. /package/{dist-esm/src → dist/browser}/operationsInterfaces/studentLabs.js +0 -0
  477. /package/{dist-esm/src → dist/browser}/operationsInterfaces/students.js +0 -0
  478. /package/{dist-esm/src → dist/browser}/pagingHelper.d.ts +0 -0
  479. /package/{dist-esm/src → dist/browser}/pagingHelper.d.ts.map +0 -0
  480. /package/review/{arm-education.api.md → arm-education-node.api.md} +0 -0
@@ -1 +0,0 @@
1
- {"version":3,"file":"labsCreateOrUpdateSample.js","sourceRoot":"","sources":["../../samples-dev/labsCreateOrUpdateSample.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,uCAAuC;AACvC,kCAAkC;AAClC,OAAO,EAAc,yBAAyB,EAAE,MAAM,sBAAsB,CAAC;AAC7E,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AACzD,OAAO,KAAK,MAAM,MAAM,QAAQ,CAAC;AAEjC,MAAM,CAAC,MAAM,EAAE,CAAC;AAEhB;;;;;GAKG;AACH,SAAe,SAAS;;QACtB,MAAM,kBAAkB,GAAG,sBAAsB,CAAC;QAClD,MAAM,kBAAkB,GAAG,sBAAsB,CAAC;QAClD,MAAM,kBAAkB,GAAG,sBAAsB,CAAC;QAClD,MAAM,UAAU,GAAe;YAC7B,WAAW,EAAE,yBAAyB;YACtC,gBAAgB,EAAE,EAAE,QAAQ,EAAE,KAAK,EAAE,KAAK,EAAE,GAAG,EAAE;YACjD,WAAW,EAAE,aAAa;YAC1B,cAAc,EAAE,IAAI,IAAI,CAAC,0BAA0B,CAAC;SACrD,CAAC;QACF,MAAM,UAAU,GAAG,IAAI,sBAAsB,EAAE,CAAC;QAChD,MAAM,MAAM,GAAG,IAAI,yBAAyB,CAAC,UAAU,CAAC,CAAC;QACzD,MAAM,MAAM,GAAG,MAAM,MAAM,CAAC,IAAI,CAAC,cAAc,CAC7C,kBAAkB,EAClB,kBAAkB,EAClB,kBAAkB,EAClB,UAAU,CACX,CAAC;QACF,OAAO,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC;IACtB,CAAC;CAAA;AAED,SAAe,IAAI;;QACjB,SAAS,EAAE,CAAC;IACd,CAAC;CAAA;AAED,IAAI,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC"}
@@ -1,2 +0,0 @@
1
- export {};
2
- //# sourceMappingURL=labsDeleteSample.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"labsDeleteSample.d.ts","sourceRoot":"","sources":["../../samples-dev/labsDeleteSample.ts"],"names":[],"mappings":""}
@@ -1,38 +0,0 @@
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 { __awaiter } from "tslib";
9
- // Copyright (c) Microsoft Corporation.
10
- // Licensed under the MIT License.
11
- import { EducationManagementClient } from "@azure/arm-education";
12
- import { DefaultAzureCredential } from "@azure/identity";
13
- import * as dotenv from "dotenv";
14
- dotenv.config();
15
- /**
16
- * This sample demonstrates how to Delete a specific lab associated with the provided billing account name, billing profile name, and invoice section name. Note all students must be removed from the lab in order to delete the lab.
17
- *
18
- * @summary Delete a specific lab associated with the provided billing account name, billing profile name, and invoice section name. Note all students must be removed from the lab in order to delete the lab.
19
- * x-ms-original-file: specification/education/resource-manager/Microsoft.Education/preview/2021-12-01-preview/examples/DeleteLab.json
20
- */
21
- function deleteLab() {
22
- return __awaiter(this, void 0, void 0, function* () {
23
- const billingAccountName = "{billingAccountName}";
24
- const billingProfileName = "{billingProfileName}";
25
- const invoiceSectionName = "{invoiceSectionName}";
26
- const credential = new DefaultAzureCredential();
27
- const client = new EducationManagementClient(credential);
28
- const result = yield client.labs.delete(billingAccountName, billingProfileName, invoiceSectionName);
29
- console.log(result);
30
- });
31
- }
32
- function main() {
33
- return __awaiter(this, void 0, void 0, function* () {
34
- deleteLab();
35
- });
36
- }
37
- main().catch(console.error);
38
- //# sourceMappingURL=labsDeleteSample.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"labsDeleteSample.js","sourceRoot":"","sources":["../../samples-dev/labsDeleteSample.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,uCAAuC;AACvC,kCAAkC;AAClC,OAAO,EAAE,yBAAyB,EAAE,MAAM,sBAAsB,CAAC;AACjE,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AACzD,OAAO,KAAK,MAAM,MAAM,QAAQ,CAAC;AAEjC,MAAM,CAAC,MAAM,EAAE,CAAC;AAEhB;;;;;GAKG;AACH,SAAe,SAAS;;QACtB,MAAM,kBAAkB,GAAG,sBAAsB,CAAC;QAClD,MAAM,kBAAkB,GAAG,sBAAsB,CAAC;QAClD,MAAM,kBAAkB,GAAG,sBAAsB,CAAC;QAClD,MAAM,UAAU,GAAG,IAAI,sBAAsB,EAAE,CAAC;QAChD,MAAM,MAAM,GAAG,IAAI,yBAAyB,CAAC,UAAU,CAAC,CAAC;QACzD,MAAM,MAAM,GAAG,MAAM,MAAM,CAAC,IAAI,CAAC,MAAM,CACrC,kBAAkB,EAClB,kBAAkB,EAClB,kBAAkB,CACnB,CAAC;QACF,OAAO,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC;IACtB,CAAC;CAAA;AAED,SAAe,IAAI;;QACjB,SAAS,EAAE,CAAC;IACd,CAAC;CAAA;AAED,IAAI,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC"}
@@ -1,2 +0,0 @@
1
- export {};
2
- //# sourceMappingURL=labsGenerateInviteCodeSample.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"labsGenerateInviteCodeSample.d.ts","sourceRoot":"","sources":["../../samples-dev/labsGenerateInviteCodeSample.ts"],"names":[],"mappings":""}
@@ -1,39 +0,0 @@
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 { __awaiter } from "tslib";
9
- // Copyright (c) Microsoft Corporation.
10
- // Licensed under the MIT License.
11
- import { EducationManagementClient } from "@azure/arm-education";
12
- import { DefaultAzureCredential } from "@azure/identity";
13
- import * as dotenv from "dotenv";
14
- dotenv.config();
15
- /**
16
- * This sample demonstrates how to Generate invite code for a lab
17
- *
18
- * @summary Generate invite code for a lab
19
- * x-ms-original-file: specification/education/resource-manager/Microsoft.Education/preview/2021-12-01-preview/examples/GenerateInviteCode.json
20
- */
21
- function createLab() {
22
- return __awaiter(this, void 0, void 0, function* () {
23
- const billingAccountName = "{billingAccountName}";
24
- const billingProfileName = "{billingProfileName}";
25
- const invoiceSectionName = "{invoiceSectionName}";
26
- const parameters = { maxStudentCount: 10 };
27
- const credential = new DefaultAzureCredential();
28
- const client = new EducationManagementClient(credential);
29
- const result = yield client.labs.generateInviteCode(billingAccountName, billingProfileName, invoiceSectionName, parameters);
30
- console.log(result);
31
- });
32
- }
33
- function main() {
34
- return __awaiter(this, void 0, void 0, function* () {
35
- createLab();
36
- });
37
- }
38
- main().catch(console.error);
39
- //# sourceMappingURL=labsGenerateInviteCodeSample.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"labsGenerateInviteCodeSample.js","sourceRoot":"","sources":["../../samples-dev/labsGenerateInviteCodeSample.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,uCAAuC;AACvC,kCAAkC;AAClC,OAAO,EAEL,yBAAyB,EAC1B,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AACzD,OAAO,KAAK,MAAM,MAAM,QAAQ,CAAC;AAEjC,MAAM,CAAC,MAAM,EAAE,CAAC;AAEhB;;;;;GAKG;AACH,SAAe,SAAS;;QACtB,MAAM,kBAAkB,GAAG,sBAAsB,CAAC;QAClD,MAAM,kBAAkB,GAAG,sBAAsB,CAAC;QAClD,MAAM,kBAAkB,GAAG,sBAAsB,CAAC;QAClD,MAAM,UAAU,GAA8B,EAAE,eAAe,EAAE,EAAE,EAAE,CAAC;QACtE,MAAM,UAAU,GAAG,IAAI,sBAAsB,EAAE,CAAC;QAChD,MAAM,MAAM,GAAG,IAAI,yBAAyB,CAAC,UAAU,CAAC,CAAC;QACzD,MAAM,MAAM,GAAG,MAAM,MAAM,CAAC,IAAI,CAAC,kBAAkB,CACjD,kBAAkB,EAClB,kBAAkB,EAClB,kBAAkB,EAClB,UAAU,CACX,CAAC;QACF,OAAO,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC;IACtB,CAAC;CAAA;AAED,SAAe,IAAI;;QACjB,SAAS,EAAE,CAAC;IACd,CAAC;CAAA;AAED,IAAI,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC"}
@@ -1,2 +0,0 @@
1
- export {};
2
- //# sourceMappingURL=labsGetSample.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"labsGetSample.d.ts","sourceRoot":"","sources":["../../samples-dev/labsGetSample.ts"],"names":[],"mappings":""}
@@ -1,60 +0,0 @@
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 { __awaiter } from "tslib";
9
- // Copyright (c) Microsoft Corporation.
10
- // Licensed under the MIT License.
11
- import { EducationManagementClient } from "@azure/arm-education";
12
- import { DefaultAzureCredential } from "@azure/identity";
13
- import * as dotenv from "dotenv";
14
- dotenv.config();
15
- /**
16
- * This sample demonstrates how to Get the details for a specific lab associated with the provided billing account name, billing profile name, and invoice section name.
17
- *
18
- * @summary Get the details for a specific lab associated with the provided billing account name, billing profile name, and invoice section name.
19
- * x-ms-original-file: specification/education/resource-manager/Microsoft.Education/preview/2021-12-01-preview/examples/Lab.json
20
- */
21
- function lab() {
22
- return __awaiter(this, void 0, void 0, function* () {
23
- const billingAccountName = "{billingAccountName}";
24
- const billingProfileName = "{billingProfileName}";
25
- const invoiceSectionName = "{invoiceSectionName}";
26
- const includeBudget = false;
27
- const options = { includeBudget };
28
- const credential = new DefaultAzureCredential();
29
- const client = new EducationManagementClient(credential);
30
- const result = yield client.labs.get(billingAccountName, billingProfileName, invoiceSectionName, options);
31
- console.log(result);
32
- });
33
- }
34
- /**
35
- * This sample demonstrates how to Get the details for a specific lab associated with the provided billing account name, billing profile name, and invoice section name.
36
- *
37
- * @summary Get the details for a specific lab associated with the provided billing account name, billing profile name, and invoice section name.
38
- * x-ms-original-file: specification/education/resource-manager/Microsoft.Education/preview/2021-12-01-preview/examples/LabIncludeBudget.json
39
- */
40
- function labIncludeBudget() {
41
- return __awaiter(this, void 0, void 0, function* () {
42
- const billingAccountName = "{billingAccountName}";
43
- const billingProfileName = "{billingProfileName}";
44
- const invoiceSectionName = "{invoiceSectionName}";
45
- const includeBudget = true;
46
- const options = { includeBudget };
47
- const credential = new DefaultAzureCredential();
48
- const client = new EducationManagementClient(credential);
49
- const result = yield client.labs.get(billingAccountName, billingProfileName, invoiceSectionName, options);
50
- console.log(result);
51
- });
52
- }
53
- function main() {
54
- return __awaiter(this, void 0, void 0, function* () {
55
- lab();
56
- labIncludeBudget();
57
- });
58
- }
59
- main().catch(console.error);
60
- //# sourceMappingURL=labsGetSample.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"labsGetSample.js","sourceRoot":"","sources":["../../samples-dev/labsGetSample.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,uCAAuC;AACvC,kCAAkC;AAClC,OAAO,EAEL,yBAAyB,EAC1B,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AACzD,OAAO,KAAK,MAAM,MAAM,QAAQ,CAAC;AAEjC,MAAM,CAAC,MAAM,EAAE,CAAC;AAEhB;;;;;GAKG;AACH,SAAe,GAAG;;QAChB,MAAM,kBAAkB,GAAG,sBAAsB,CAAC;QAClD,MAAM,kBAAkB,GAAG,sBAAsB,CAAC;QAClD,MAAM,kBAAkB,GAAG,sBAAsB,CAAC;QAClD,MAAM,aAAa,GAAG,KAAK,CAAC;QAC5B,MAAM,OAAO,GAA0B,EAAE,aAAa,EAAE,CAAC;QACzD,MAAM,UAAU,GAAG,IAAI,sBAAsB,EAAE,CAAC;QAChD,MAAM,MAAM,GAAG,IAAI,yBAAyB,CAAC,UAAU,CAAC,CAAC;QACzD,MAAM,MAAM,GAAG,MAAM,MAAM,CAAC,IAAI,CAAC,GAAG,CAClC,kBAAkB,EAClB,kBAAkB,EAClB,kBAAkB,EAClB,OAAO,CACR,CAAC;QACF,OAAO,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC;IACtB,CAAC;CAAA;AAED;;;;;GAKG;AACH,SAAe,gBAAgB;;QAC7B,MAAM,kBAAkB,GAAG,sBAAsB,CAAC;QAClD,MAAM,kBAAkB,GAAG,sBAAsB,CAAC;QAClD,MAAM,kBAAkB,GAAG,sBAAsB,CAAC;QAClD,MAAM,aAAa,GAAG,IAAI,CAAC;QAC3B,MAAM,OAAO,GAA0B,EAAE,aAAa,EAAE,CAAC;QACzD,MAAM,UAAU,GAAG,IAAI,sBAAsB,EAAE,CAAC;QAChD,MAAM,MAAM,GAAG,IAAI,yBAAyB,CAAC,UAAU,CAAC,CAAC;QACzD,MAAM,MAAM,GAAG,MAAM,MAAM,CAAC,IAAI,CAAC,GAAG,CAClC,kBAAkB,EAClB,kBAAkB,EAClB,kBAAkB,EAClB,OAAO,CACR,CAAC;QACF,OAAO,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC;IACtB,CAAC;CAAA;AAED,SAAe,IAAI;;QACjB,GAAG,EAAE,CAAC;QACN,gBAAgB,EAAE,CAAC;IACrB,CAAC;CAAA;AAED,IAAI,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC"}
@@ -1,2 +0,0 @@
1
- export {};
2
- //# sourceMappingURL=labsListAllSample.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"labsListAllSample.d.ts","sourceRoot":"","sources":["../../samples-dev/labsListAllSample.ts"],"names":[],"mappings":""}
@@ -1,86 +0,0 @@
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 { __asyncValues, __awaiter } from "tslib";
9
- // Copyright (c) Microsoft Corporation.
10
- // Licensed under the MIT License.
11
- import { EducationManagementClient } from "@azure/arm-education";
12
- import { DefaultAzureCredential } from "@azure/identity";
13
- import * as dotenv from "dotenv";
14
- dotenv.config();
15
- /**
16
- * This sample demonstrates how to Get a list of labs associated with the provided billing account name and billing profile name.
17
- *
18
- * @summary Get a list of labs associated with the provided billing account name and billing profile name.
19
- * x-ms-original-file: specification/education/resource-manager/Microsoft.Education/preview/2021-12-01-preview/examples/LabList.json
20
- */
21
- function labList() {
22
- var e_1, _a;
23
- return __awaiter(this, void 0, void 0, function* () {
24
- const billingAccountName = "{billingAccountName}";
25
- const billingProfileName = "{billingProfileName}";
26
- const includeBudget = false;
27
- const options = { includeBudget };
28
- const credential = new DefaultAzureCredential();
29
- const client = new EducationManagementClient(credential);
30
- const resArray = new Array();
31
- try {
32
- for (var _b = __asyncValues(client.labs.listAll(billingAccountName, billingProfileName, options)), _c; _c = yield _b.next(), !_c.done;) {
33
- let item = _c.value;
34
- resArray.push(item);
35
- }
36
- }
37
- catch (e_1_1) { e_1 = { error: e_1_1 }; }
38
- finally {
39
- try {
40
- if (_c && !_c.done && (_a = _b.return)) yield _a.call(_b);
41
- }
42
- finally { if (e_1) throw e_1.error; }
43
- }
44
- console.log(resArray);
45
- });
46
- }
47
- /**
48
- * This sample demonstrates how to Get a list of labs associated with the provided billing account name and billing profile name.
49
- *
50
- * @summary Get a list of labs associated with the provided billing account name and billing profile name.
51
- * x-ms-original-file: specification/education/resource-manager/Microsoft.Education/preview/2021-12-01-preview/examples/LabListIncludeBudget.json
52
- */
53
- function labListIncludeBudget() {
54
- var e_2, _a;
55
- return __awaiter(this, void 0, void 0, function* () {
56
- const billingAccountName = "{billingAccountName}";
57
- const billingProfileName = "{billingProfileName}";
58
- const includeBudget = true;
59
- const options = { includeBudget };
60
- const credential = new DefaultAzureCredential();
61
- const client = new EducationManagementClient(credential);
62
- const resArray = new Array();
63
- try {
64
- for (var _b = __asyncValues(client.labs.listAll(billingAccountName, billingProfileName, options)), _c; _c = yield _b.next(), !_c.done;) {
65
- let item = _c.value;
66
- resArray.push(item);
67
- }
68
- }
69
- catch (e_2_1) { e_2 = { error: e_2_1 }; }
70
- finally {
71
- try {
72
- if (_c && !_c.done && (_a = _b.return)) yield _a.call(_b);
73
- }
74
- finally { if (e_2) throw e_2.error; }
75
- }
76
- console.log(resArray);
77
- });
78
- }
79
- function main() {
80
- return __awaiter(this, void 0, void 0, function* () {
81
- labList();
82
- labListIncludeBudget();
83
- });
84
- }
85
- main().catch(console.error);
86
- //# sourceMappingURL=labsListAllSample.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"labsListAllSample.js","sourceRoot":"","sources":["../../samples-dev/labsListAllSample.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,uCAAuC;AACvC,kCAAkC;AAClC,OAAO,EAEL,yBAAyB,EAC1B,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AACzD,OAAO,KAAK,MAAM,MAAM,QAAQ,CAAC;AAEjC,MAAM,CAAC,MAAM,EAAE,CAAC;AAEhB;;;;;GAKG;AACH,SAAe,OAAO;;;QACpB,MAAM,kBAAkB,GAAG,sBAAsB,CAAC;QAClD,MAAM,kBAAkB,GAAG,sBAAsB,CAAC;QAClD,MAAM,aAAa,GAAG,KAAK,CAAC;QAC5B,MAAM,OAAO,GAA8B,EAAE,aAAa,EAAE,CAAC;QAC7D,MAAM,UAAU,GAAG,IAAI,sBAAsB,EAAE,CAAC;QAChD,MAAM,MAAM,GAAG,IAAI,yBAAyB,CAAC,UAAU,CAAC,CAAC;QACzD,MAAM,QAAQ,GAAG,IAAI,KAAK,EAAE,CAAC;;YAC7B,KAAuB,IAAA,KAAA,cAAA,MAAM,CAAC,IAAI,CAAC,OAAO,CACxC,kBAAkB,EAClB,kBAAkB,EAClB,OAAO,CACR,CAAA,IAAA;gBAJU,IAAI,IAAI,WAAA,CAAA;gBAKjB,QAAQ,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;aACrB;;;;;;;;;QACD,OAAO,CAAC,GAAG,CAAC,QAAQ,CAAC,CAAC;;CACvB;AAED;;;;;GAKG;AACH,SAAe,oBAAoB;;;QACjC,MAAM,kBAAkB,GAAG,sBAAsB,CAAC;QAClD,MAAM,kBAAkB,GAAG,sBAAsB,CAAC;QAClD,MAAM,aAAa,GAAG,IAAI,CAAC;QAC3B,MAAM,OAAO,GAA8B,EAAE,aAAa,EAAE,CAAC;QAC7D,MAAM,UAAU,GAAG,IAAI,sBAAsB,EAAE,CAAC;QAChD,MAAM,MAAM,GAAG,IAAI,yBAAyB,CAAC,UAAU,CAAC,CAAC;QACzD,MAAM,QAAQ,GAAG,IAAI,KAAK,EAAE,CAAC;;YAC7B,KAAuB,IAAA,KAAA,cAAA,MAAM,CAAC,IAAI,CAAC,OAAO,CACxC,kBAAkB,EAClB,kBAAkB,EAClB,OAAO,CACR,CAAA,IAAA;gBAJU,IAAI,IAAI,WAAA,CAAA;gBAKjB,QAAQ,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;aACrB;;;;;;;;;QACD,OAAO,CAAC,GAAG,CAAC,QAAQ,CAAC,CAAC;;CACvB;AAED,SAAe,IAAI;;QACjB,OAAO,EAAE,CAAC;QACV,oBAAoB,EAAE,CAAC;IACzB,CAAC;CAAA;AAED,IAAI,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC"}
@@ -1,2 +0,0 @@
1
- export {};
2
- //# sourceMappingURL=labsListSample.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"labsListSample.d.ts","sourceRoot":"","sources":["../../samples-dev/labsListSample.ts"],"names":[],"mappings":""}
@@ -1,88 +0,0 @@
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 { __asyncValues, __awaiter } from "tslib";
9
- // Copyright (c) Microsoft Corporation.
10
- // Licensed under the MIT License.
11
- import { EducationManagementClient } from "@azure/arm-education";
12
- import { DefaultAzureCredential } from "@azure/identity";
13
- import * as dotenv from "dotenv";
14
- dotenv.config();
15
- /**
16
- * This sample demonstrates how to Get the details for a specific lab associated with the provided billing account name, billing profile name, and invoice section name.
17
- *
18
- * @summary Get the details for a specific lab associated with the provided billing account name, billing profile name, and invoice section name.
19
- * x-ms-original-file: specification/education/resource-manager/Microsoft.Education/preview/2021-12-01-preview/examples/LabListWithInvoiceSectionName.json
20
- */
21
- function labListWithInvoiceSectionName() {
22
- var e_1, _a;
23
- return __awaiter(this, void 0, void 0, function* () {
24
- const billingAccountName = "{billingAccountName}";
25
- const billingProfileName = "{billingProfileName}";
26
- const invoiceSectionName = "{invoiceSectionName}";
27
- const includeBudget = true;
28
- const options = { includeBudget };
29
- const credential = new DefaultAzureCredential();
30
- const client = new EducationManagementClient(credential);
31
- const resArray = new Array();
32
- try {
33
- for (var _b = __asyncValues(client.labs.list(billingAccountName, billingProfileName, invoiceSectionName, options)), _c; _c = yield _b.next(), !_c.done;) {
34
- let item = _c.value;
35
- resArray.push(item);
36
- }
37
- }
38
- catch (e_1_1) { e_1 = { error: e_1_1 }; }
39
- finally {
40
- try {
41
- if (_c && !_c.done && (_a = _b.return)) yield _a.call(_b);
42
- }
43
- finally { if (e_1) throw e_1.error; }
44
- }
45
- console.log(resArray);
46
- });
47
- }
48
- /**
49
- * This sample demonstrates how to Get the details for a specific lab associated with the provided billing account name, billing profile name, and invoice section name.
50
- *
51
- * @summary Get the details for a specific lab associated with the provided billing account name, billing profile name, and invoice section name.
52
- * x-ms-original-file: specification/education/resource-manager/Microsoft.Education/preview/2021-12-01-preview/examples/LabListWithInvoiceSectionNameIncludeBudget.json
53
- */
54
- function labListWithInvoiceSectionNameIncludeBudget() {
55
- var e_2, _a;
56
- return __awaiter(this, void 0, void 0, function* () {
57
- const billingAccountName = "{billingAccountName}";
58
- const billingProfileName = "{billingProfileName}";
59
- const invoiceSectionName = "{invoiceSectionName}";
60
- const includeBudget = true;
61
- const options = { includeBudget };
62
- const credential = new DefaultAzureCredential();
63
- const client = new EducationManagementClient(credential);
64
- const resArray = new Array();
65
- try {
66
- for (var _b = __asyncValues(client.labs.list(billingAccountName, billingProfileName, invoiceSectionName, options)), _c; _c = yield _b.next(), !_c.done;) {
67
- let item = _c.value;
68
- resArray.push(item);
69
- }
70
- }
71
- catch (e_2_1) { e_2 = { error: e_2_1 }; }
72
- finally {
73
- try {
74
- if (_c && !_c.done && (_a = _b.return)) yield _a.call(_b);
75
- }
76
- finally { if (e_2) throw e_2.error; }
77
- }
78
- console.log(resArray);
79
- });
80
- }
81
- function main() {
82
- return __awaiter(this, void 0, void 0, function* () {
83
- labListWithInvoiceSectionName();
84
- labListWithInvoiceSectionNameIncludeBudget();
85
- });
86
- }
87
- main().catch(console.error);
88
- //# sourceMappingURL=labsListSample.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"labsListSample.js","sourceRoot":"","sources":["../../samples-dev/labsListSample.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,uCAAuC;AACvC,kCAAkC;AAClC,OAAO,EAEL,yBAAyB,EAC1B,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AACzD,OAAO,KAAK,MAAM,MAAM,QAAQ,CAAC;AAEjC,MAAM,CAAC,MAAM,EAAE,CAAC;AAEhB;;;;;GAKG;AACH,SAAe,6BAA6B;;;QAC1C,MAAM,kBAAkB,GAAG,sBAAsB,CAAC;QAClD,MAAM,kBAAkB,GAAG,sBAAsB,CAAC;QAClD,MAAM,kBAAkB,GAAG,sBAAsB,CAAC;QAClD,MAAM,aAAa,GAAG,IAAI,CAAC;QAC3B,MAAM,OAAO,GAA2B,EAAE,aAAa,EAAE,CAAC;QAC1D,MAAM,UAAU,GAAG,IAAI,sBAAsB,EAAE,CAAC;QAChD,MAAM,MAAM,GAAG,IAAI,yBAAyB,CAAC,UAAU,CAAC,CAAC;QACzD,MAAM,QAAQ,GAAG,IAAI,KAAK,EAAE,CAAC;;YAC7B,KAAuB,IAAA,KAAA,cAAA,MAAM,CAAC,IAAI,CAAC,IAAI,CACrC,kBAAkB,EAClB,kBAAkB,EAClB,kBAAkB,EAClB,OAAO,CACR,CAAA,IAAA;gBALU,IAAI,IAAI,WAAA,CAAA;gBAMjB,QAAQ,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;aACrB;;;;;;;;;QACD,OAAO,CAAC,GAAG,CAAC,QAAQ,CAAC,CAAC;;CACvB;AAED;;;;;GAKG;AACH,SAAe,0CAA0C;;;QACvD,MAAM,kBAAkB,GAAG,sBAAsB,CAAC;QAClD,MAAM,kBAAkB,GAAG,sBAAsB,CAAC;QAClD,MAAM,kBAAkB,GAAG,sBAAsB,CAAC;QAClD,MAAM,aAAa,GAAG,IAAI,CAAC;QAC3B,MAAM,OAAO,GAA2B,EAAE,aAAa,EAAE,CAAC;QAC1D,MAAM,UAAU,GAAG,IAAI,sBAAsB,EAAE,CAAC;QAChD,MAAM,MAAM,GAAG,IAAI,yBAAyB,CAAC,UAAU,CAAC,CAAC;QACzD,MAAM,QAAQ,GAAG,IAAI,KAAK,EAAE,CAAC;;YAC7B,KAAuB,IAAA,KAAA,cAAA,MAAM,CAAC,IAAI,CAAC,IAAI,CACrC,kBAAkB,EAClB,kBAAkB,EAClB,kBAAkB,EAClB,OAAO,CACR,CAAA,IAAA;gBALU,IAAI,IAAI,WAAA,CAAA;gBAMjB,QAAQ,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;aACrB;;;;;;;;;QACD,OAAO,CAAC,GAAG,CAAC,QAAQ,CAAC,CAAC;;CACvB;AAED,SAAe,IAAI;;QACjB,6BAA6B,EAAE,CAAC;QAChC,0CAA0C,EAAE,CAAC;IAC/C,CAAC;CAAA;AAED,IAAI,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC"}
@@ -1,2 +0,0 @@
1
- export {};
2
- //# sourceMappingURL=operationsListSample.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"operationsListSample.d.ts","sourceRoot":"","sources":["../../samples-dev/operationsListSample.ts"],"names":[],"mappings":""}
@@ -1,35 +0,0 @@
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 { __awaiter } from "tslib";
9
- // Copyright (c) Microsoft Corporation.
10
- // Licensed under the MIT License.
11
- import { EducationManagementClient } from "@azure/arm-education";
12
- import { DefaultAzureCredential } from "@azure/identity";
13
- import * as dotenv from "dotenv";
14
- dotenv.config();
15
- /**
16
- * This sample demonstrates how to Lists all of the available Microsoft.Education API operations.
17
- *
18
- * @summary Lists all of the available Microsoft.Education API operations.
19
- * x-ms-original-file: specification/education/resource-manager/Microsoft.Education/preview/2021-12-01-preview/examples/GetOperations.json
20
- */
21
- function getOperations() {
22
- return __awaiter(this, void 0, void 0, function* () {
23
- const credential = new DefaultAzureCredential();
24
- const client = new EducationManagementClient(credential);
25
- const result = yield client.operations.list();
26
- console.log(result);
27
- });
28
- }
29
- function main() {
30
- return __awaiter(this, void 0, void 0, function* () {
31
- getOperations();
32
- });
33
- }
34
- main().catch(console.error);
35
- //# sourceMappingURL=operationsListSample.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"operationsListSample.js","sourceRoot":"","sources":["../../samples-dev/operationsListSample.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,uCAAuC;AACvC,kCAAkC;AAClC,OAAO,EAAE,yBAAyB,EAAE,MAAM,sBAAsB,CAAC;AACjE,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AACzD,OAAO,KAAK,MAAM,MAAM,QAAQ,CAAC;AAEjC,MAAM,CAAC,MAAM,EAAE,CAAC;AAEhB;;;;;GAKG;AACH,SAAe,aAAa;;QAC1B,MAAM,UAAU,GAAG,IAAI,sBAAsB,EAAE,CAAC;QAChD,MAAM,MAAM,GAAG,IAAI,yBAAyB,CAAC,UAAU,CAAC,CAAC;QACzD,MAAM,MAAM,GAAG,MAAM,MAAM,CAAC,UAAU,CAAC,IAAI,EAAE,CAAC;QAC9C,OAAO,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC;IACtB,CAAC;CAAA;AAED,SAAe,IAAI;;QACjB,aAAa,EAAE,CAAC;IAClB,CAAC;CAAA;AAED,IAAI,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC"}
@@ -1,2 +0,0 @@
1
- export {};
2
- //# sourceMappingURL=redeemInvitationCodeSample.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"redeemInvitationCodeSample.d.ts","sourceRoot":"","sources":["../../samples-dev/redeemInvitationCodeSample.ts"],"names":[],"mappings":""}
@@ -1,40 +0,0 @@
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 { __awaiter } from "tslib";
9
- // Copyright (c) Microsoft Corporation.
10
- // Licensed under the MIT License.
11
- import { EducationManagementClient } from "@azure/arm-education";
12
- import { DefaultAzureCredential } from "@azure/identity";
13
- import * as dotenv from "dotenv";
14
- dotenv.config();
15
- /**
16
- * This sample demonstrates how to Redeem invite code to join a redeemable lab
17
- *
18
- * @summary Redeem invite code to join a redeemable lab
19
- * x-ms-original-file: specification/education/resource-manager/Microsoft.Education/preview/2021-12-01-preview/examples/RedeemCode.json
20
- */
21
- function redeemCode() {
22
- return __awaiter(this, void 0, void 0, function* () {
23
- const parameters = {
24
- firstName: "test",
25
- lastName: "user",
26
- redeemCode: "exampleRedeemCode"
27
- };
28
- const credential = new DefaultAzureCredential();
29
- const client = new EducationManagementClient(credential);
30
- const result = yield client.redeemInvitationCode(parameters);
31
- console.log(result);
32
- });
33
- }
34
- function main() {
35
- return __awaiter(this, void 0, void 0, function* () {
36
- redeemCode();
37
- });
38
- }
39
- main().catch(console.error);
40
- //# sourceMappingURL=redeemInvitationCodeSample.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"redeemInvitationCodeSample.js","sourceRoot":"","sources":["../../samples-dev/redeemInvitationCodeSample.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,uCAAuC;AACvC,kCAAkC;AAClC,OAAO,EAAiB,yBAAyB,EAAE,MAAM,sBAAsB,CAAC;AAChF,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AACzD,OAAO,KAAK,MAAM,MAAM,QAAQ,CAAC;AAEjC,MAAM,CAAC,MAAM,EAAE,CAAC;AAEhB;;;;;GAKG;AACH,SAAe,UAAU;;QACvB,MAAM,UAAU,GAAkB;YAChC,SAAS,EAAE,MAAM;YACjB,QAAQ,EAAE,MAAM;YAChB,UAAU,EAAE,mBAAmB;SAChC,CAAC;QACF,MAAM,UAAU,GAAG,IAAI,sBAAsB,EAAE,CAAC;QAChD,MAAM,MAAM,GAAG,IAAI,yBAAyB,CAAC,UAAU,CAAC,CAAC;QACzD,MAAM,MAAM,GAAG,MAAM,MAAM,CAAC,oBAAoB,CAAC,UAAU,CAAC,CAAC;QAC7D,OAAO,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC;IACtB,CAAC;CAAA;AAED,SAAe,IAAI;;QACjB,UAAU,EAAE,CAAC;IACf,CAAC;CAAA;AAED,IAAI,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC"}
@@ -1,2 +0,0 @@
1
- export {};
2
- //# sourceMappingURL=studentLabsGetSample.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"studentLabsGetSample.d.ts","sourceRoot":"","sources":["../../samples-dev/studentLabsGetSample.ts"],"names":[],"mappings":""}
@@ -1,36 +0,0 @@
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 { __awaiter } from "tslib";
9
- // Copyright (c) Microsoft Corporation.
10
- // Licensed under the MIT License.
11
- import { EducationManagementClient } from "@azure/arm-education";
12
- import { DefaultAzureCredential } from "@azure/identity";
13
- import * as dotenv from "dotenv";
14
- dotenv.config();
15
- /**
16
- * This sample demonstrates how to Get the details for a specified lab associated with the student lab.
17
- *
18
- * @summary Get the details for a specified lab associated with the student lab.
19
- * x-ms-original-file: specification/education/resource-manager/Microsoft.Education/preview/2021-12-01-preview/examples/StudentLab.json
20
- */
21
- function studentLab() {
22
- return __awaiter(this, void 0, void 0, function* () {
23
- const studentLabName = "{studentLabName}";
24
- const credential = new DefaultAzureCredential();
25
- const client = new EducationManagementClient(credential);
26
- const result = yield client.studentLabs.get(studentLabName);
27
- console.log(result);
28
- });
29
- }
30
- function main() {
31
- return __awaiter(this, void 0, void 0, function* () {
32
- studentLab();
33
- });
34
- }
35
- main().catch(console.error);
36
- //# sourceMappingURL=studentLabsGetSample.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"studentLabsGetSample.js","sourceRoot":"","sources":["../../samples-dev/studentLabsGetSample.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,uCAAuC;AACvC,kCAAkC;AAClC,OAAO,EAAE,yBAAyB,EAAE,MAAM,sBAAsB,CAAC;AACjE,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AACzD,OAAO,KAAK,MAAM,MAAM,QAAQ,CAAC;AAEjC,MAAM,CAAC,MAAM,EAAE,CAAC;AAEhB;;;;;GAKG;AACH,SAAe,UAAU;;QACvB,MAAM,cAAc,GAAG,kBAAkB,CAAC;QAC1C,MAAM,UAAU,GAAG,IAAI,sBAAsB,EAAE,CAAC;QAChD,MAAM,MAAM,GAAG,IAAI,yBAAyB,CAAC,UAAU,CAAC,CAAC;QACzD,MAAM,MAAM,GAAG,MAAM,MAAM,CAAC,WAAW,CAAC,GAAG,CAAC,cAAc,CAAC,CAAC;QAC5D,OAAO,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC;IACtB,CAAC;CAAA;AAED,SAAe,IAAI;;QACjB,UAAU,EAAE,CAAC;IACf,CAAC;CAAA;AAED,IAAI,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC"}
@@ -1,2 +0,0 @@
1
- export {};
2
- //# sourceMappingURL=studentLabsListAllSample.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"studentLabsListAllSample.d.ts","sourceRoot":"","sources":["../../samples-dev/studentLabsListAllSample.ts"],"names":[],"mappings":""}
@@ -1,49 +0,0 @@
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 { __asyncValues, __awaiter } from "tslib";
9
- // Copyright (c) Microsoft Corporation.
10
- // Licensed under the MIT License.
11
- import { EducationManagementClient } from "@azure/arm-education";
12
- import { DefaultAzureCredential } from "@azure/identity";
13
- import * as dotenv from "dotenv";
14
- dotenv.config();
15
- /**
16
- * This sample demonstrates how to Get a list of all labs associated with the caller of the API.
17
- *
18
- * @summary Get a list of all labs associated with the caller of the API.
19
- * x-ms-original-file: specification/education/resource-manager/Microsoft.Education/preview/2021-12-01-preview/examples/StudentLabList.json
20
- */
21
- function studentLabList() {
22
- var e_1, _a;
23
- return __awaiter(this, void 0, void 0, function* () {
24
- const credential = new DefaultAzureCredential();
25
- const client = new EducationManagementClient(credential);
26
- const resArray = new Array();
27
- try {
28
- for (var _b = __asyncValues(client.studentLabs.listAll()), _c; _c = yield _b.next(), !_c.done;) {
29
- let item = _c.value;
30
- resArray.push(item);
31
- }
32
- }
33
- catch (e_1_1) { e_1 = { error: e_1_1 }; }
34
- finally {
35
- try {
36
- if (_c && !_c.done && (_a = _b.return)) yield _a.call(_b);
37
- }
38
- finally { if (e_1) throw e_1.error; }
39
- }
40
- console.log(resArray);
41
- });
42
- }
43
- function main() {
44
- return __awaiter(this, void 0, void 0, function* () {
45
- studentLabList();
46
- });
47
- }
48
- main().catch(console.error);
49
- //# sourceMappingURL=studentLabsListAllSample.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"studentLabsListAllSample.js","sourceRoot":"","sources":["../../samples-dev/studentLabsListAllSample.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,uCAAuC;AACvC,kCAAkC;AAClC,OAAO,EAAE,yBAAyB,EAAE,MAAM,sBAAsB,CAAC;AACjE,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AACzD,OAAO,KAAK,MAAM,MAAM,QAAQ,CAAC;AAEjC,MAAM,CAAC,MAAM,EAAE,CAAC;AAEhB;;;;;GAKG;AACH,SAAe,cAAc;;;QAC3B,MAAM,UAAU,GAAG,IAAI,sBAAsB,EAAE,CAAC;QAChD,MAAM,MAAM,GAAG,IAAI,yBAAyB,CAAC,UAAU,CAAC,CAAC;QACzD,MAAM,QAAQ,GAAG,IAAI,KAAK,EAAE,CAAC;;YAC7B,KAAuB,IAAA,KAAA,cAAA,MAAM,CAAC,WAAW,CAAC,OAAO,EAAE,CAAA,IAAA;gBAAxC,IAAI,IAAI,WAAA,CAAA;gBACjB,QAAQ,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;aACrB;;;;;;;;;QACD,OAAO,CAAC,GAAG,CAAC,QAAQ,CAAC,CAAC;;CACvB;AAED,SAAe,IAAI;;QACjB,cAAc,EAAE,CAAC;IACnB,CAAC;CAAA;AAED,IAAI,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC"}
@@ -1,2 +0,0 @@
1
- export {};
2
- //# sourceMappingURL=studentsCreateOrUpdateSample.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"studentsCreateOrUpdateSample.d.ts","sourceRoot":"","sources":["../../samples-dev/studentsCreateOrUpdateSample.ts"],"names":[],"mappings":""}