@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
@@ -1,2466 +1,1655 @@
1
- import * as coreAuth from '@azure/core-auth';
2
- import * as coreClient from '@azure/core-client';
3
- import { PagedAsyncIterableIterator } from '@azure/core-paging';
4
- import { PollerLike } from '@azure/core-lro';
5
- import { PollOperationState } from '@azure/core-lro';
6
-
7
- /**
8
- * Defines values for ActionType. \
9
- * {@link KnownActionType} can be used interchangeably with ActionType,
10
- * this enum contains the known values that the service supports.
11
- * ### Known values supported by the service
12
- * **Internal**
13
- */
14
- export declare type ActionType = string;
15
-
16
- /** Profile for how to handle shutting down virtual machines. */
17
- export declare interface AutoShutdownProfile {
18
- /** Whether shutdown on disconnect is enabled */
19
- shutdownOnDisconnect?: EnableState;
20
- /** Whether a VM will get shutdown when it hasn't been connected to after a period of time. */
21
- shutdownWhenNotConnected?: EnableState;
22
- /** Whether a VM will get shutdown when it has idled for a period of time. */
23
- shutdownOnIdle?: ShutdownOnIdleMode;
24
- /** The amount of time a VM will stay running after a user disconnects if this behavior is enabled. */
25
- disconnectDelay?: string;
26
- /** The amount of time a VM will stay running before it is shutdown if no connection is made and this behavior is enabled. */
27
- noConnectDelay?: string;
28
- /** The amount of time a VM will idle before it is shutdown if this behavior is enabled. */
29
- idleDelay?: string;
30
- }
31
-
32
- /** Connection profile for how users connect to lab virtual machines. */
33
- export declare interface ConnectionProfile {
34
- /** The enabled access level for Web Access over SSH. */
35
- webSshAccess?: ConnectionType;
36
- /** The enabled access level for Web Access over RDP. */
37
- webRdpAccess?: ConnectionType;
38
- /** The enabled access level for Client Access over SSH. */
39
- clientSshAccess?: ConnectionType;
40
- /** The enabled access level for Client Access over RDP. */
41
- clientRdpAccess?: ConnectionType;
42
- }
43
-
44
- /** Defines values for ConnectionType. */
45
- export declare type ConnectionType = "Public" | "Private" | "None";
46
-
47
- /**
48
- * Defines values for CreatedByType. \
49
- * {@link KnownCreatedByType} can be used interchangeably with CreatedByType,
50
- * this enum contains the known values that the service supports.
51
- * ### Known values supported by the service
52
- * **User** \
53
- * **Application** \
54
- * **ManagedIdentity** \
55
- * **Key**
56
- */
57
- export declare type CreatedByType = string;
58
-
59
- /** Defines values for CreateOption. */
60
- export declare type CreateOption = "Image" | "TemplateVM";
61
-
62
- /** Credentials for a user on a lab VM. */
63
- export declare interface Credentials {
64
- /** The username to use when signing in to lab VMs. */
65
- username: string;
66
- /** The password for the user. This is required for the TemplateVM createOption. */
67
- password?: string;
68
- }
69
-
70
- /** Defines values for EnableState. */
71
- export declare type EnableState = "Enabled" | "Disabled";
72
-
73
- /** The resource management error additional info. */
74
- export declare interface ErrorAdditionalInfo {
75
- /**
76
- * The additional info type.
77
- * NOTE: This property will not be serialized. It can only be populated by the server.
78
- */
79
- readonly type?: string;
80
- /**
81
- * The additional info.
82
- * NOTE: This property will not be serialized. It can only be populated by the server.
83
- */
84
- readonly info?: Record<string, unknown>;
85
- }
86
-
87
- /** The error detail. */
88
- export declare interface ErrorDetail {
89
- /**
90
- * The error code.
91
- * NOTE: This property will not be serialized. It can only be populated by the server.
92
- */
93
- readonly code?: string;
94
- /**
95
- * The error message.
96
- * NOTE: This property will not be serialized. It can only be populated by the server.
97
- */
98
- readonly message?: string;
99
- /**
100
- * The error target.
101
- * NOTE: This property will not be serialized. It can only be populated by the server.
102
- */
103
- readonly target?: string;
104
- /**
105
- * The error details.
106
- * NOTE: This property will not be serialized. It can only be populated by the server.
107
- */
108
- readonly details?: ErrorDetail[];
109
- /**
110
- * The error additional info.
111
- * NOTE: This property will not be serialized. It can only be populated by the server.
112
- */
113
- readonly additionalInfo?: ErrorAdditionalInfo[];
114
- }
115
-
116
- /** Common error response for all Azure Resource Manager APIs to return error details for failed operations. (This also follows the OData error response format.). */
117
- export declare interface ErrorResponse {
118
- /** The error object. */
119
- error?: ErrorDetail;
120
- }
121
-
122
- /**
123
- * Given the last `.value` produced by the `byPage` iterator,
124
- * returns a continuation token that can be used to begin paging from
125
- * that point later.
126
- * @param page An object from accessing `value` on the IteratorResult from a `byPage` iterator.
127
- * @returns The continuation token that can be passed into byPage() during future calls.
128
- */
129
- export declare function getContinuationToken(page: unknown): string | undefined;
130
-
131
- /** Identity for the resource. */
132
- export declare interface Identity {
133
- /**
134
- * The principal ID of resource identity.
135
- * NOTE: This property will not be serialized. It can only be populated by the server.
136
- */
137
- readonly principalId?: string;
138
- /**
139
- * The tenant ID of resource.
140
- * NOTE: This property will not be serialized. It can only be populated by the server.
141
- */
142
- readonly tenantId?: string;
143
- /** The identity type. */
144
- type?: "SystemAssigned";
145
- }
146
-
147
- /** Lab services virtual machine image */
148
- declare interface Image_2 extends ProxyResource {
149
- /**
150
- * Metadata pertaining to creation and last modification of the image.
151
- * NOTE: This property will not be serialized. It can only be populated by the server.
152
- */
153
- readonly systemData?: SystemData;
154
- /** Is the image enabled */
155
- enabledState?: EnableState;
156
- /**
157
- * Current provisioning state of the image.
158
- * NOTE: This property will not be serialized. It can only be populated by the server.
159
- */
160
- readonly provisioningState?: ProvisioningState;
161
- /**
162
- * The image display name.
163
- * NOTE: This property will not be serialized. It can only be populated by the server.
164
- */
165
- readonly displayName?: string;
166
- /**
167
- * A description of the image.
168
- * NOTE: This property will not be serialized. It can only be populated by the server.
169
- */
170
- readonly description?: string;
171
- /**
172
- * URL of the image icon.
173
- * NOTE: This property will not be serialized. It can only be populated by the server.
174
- */
175
- readonly iconUrl?: string;
176
- /**
177
- * The image author.
178
- * NOTE: This property will not be serialized. It can only be populated by the server.
179
- */
180
- readonly author?: string;
181
- /**
182
- * The OS Type of the image.
183
- * NOTE: This property will not be serialized. It can only be populated by the server.
184
- */
185
- readonly osType?: OsType;
186
- /**
187
- * The ID of marketplace plan associated with the image (optional).
188
- * NOTE: This property will not be serialized. It can only be populated by the server.
189
- */
190
- readonly plan?: string;
191
- /**
192
- * The status of image terms of use (enabled = accepted, disabled = not accepted).
193
- * NOTE: This property will not be serialized. It can only be populated by the server.
194
- */
195
- readonly termsStatus?: EnableState;
196
- /**
197
- * The ID of an offer associated with the image.
198
- * NOTE: This property will not be serialized. It can only be populated by the server.
199
- */
200
- readonly offer?: string;
201
- /**
202
- * The ID of the publisher of the image.
203
- * NOTE: This property will not be serialized. It can only be populated by the server.
204
- */
205
- readonly publisher?: string;
206
- /**
207
- * The image SKU.
208
- * NOTE: This property will not be serialized. It can only be populated by the server.
209
- */
210
- readonly sku?: string;
211
- /**
212
- * The image version.
213
- * NOTE: This property will not be serialized. It can only be populated by the server.
214
- */
215
- readonly version?: string;
216
- /**
217
- * The ID for the image in the shared gallery.
218
- * NOTE: This property will not be serialized. It can only be populated by the server.
219
- */
220
- readonly sharedGalleryId?: string;
221
- /** The available regions of the image in the shared gallery. */
222
- availableRegions?: string[];
223
- /**
224
- * The OS State of the image.
225
- * NOTE: This property will not be serialized. It can only be populated by the server.
226
- */
227
- readonly osState?: OsState;
228
- }
229
- export { Image_2 as Image }
230
-
231
- /** Properties of an image resource. */
232
- export declare interface ImageProperties extends ImageUpdateProperties {
233
- /**
234
- * Current provisioning state of the image.
235
- * NOTE: This property will not be serialized. It can only be populated by the server.
236
- */
237
- readonly provisioningState?: ProvisioningState;
238
- /**
239
- * The image display name.
240
- * NOTE: This property will not be serialized. It can only be populated by the server.
241
- */
242
- readonly displayName?: string;
243
- /**
244
- * A description of the image.
245
- * NOTE: This property will not be serialized. It can only be populated by the server.
246
- */
247
- readonly description?: string;
248
- /**
249
- * URL of the image icon.
250
- * NOTE: This property will not be serialized. It can only be populated by the server.
251
- */
252
- readonly iconUrl?: string;
253
- /**
254
- * The image author.
255
- * NOTE: This property will not be serialized. It can only be populated by the server.
256
- */
257
- readonly author?: string;
258
- /**
259
- * The OS Type of the image.
260
- * NOTE: This property will not be serialized. It can only be populated by the server.
261
- */
262
- readonly osType?: OsType;
263
- /**
264
- * The ID of marketplace plan associated with the image (optional).
265
- * NOTE: This property will not be serialized. It can only be populated by the server.
266
- */
267
- readonly plan?: string;
268
- /**
269
- * The status of image terms of use (enabled = accepted, disabled = not accepted).
270
- * NOTE: This property will not be serialized. It can only be populated by the server.
271
- */
272
- readonly termsStatus?: EnableState;
273
- /**
274
- * The ID of an offer associated with the image.
275
- * NOTE: This property will not be serialized. It can only be populated by the server.
276
- */
277
- readonly offer?: string;
278
- /**
279
- * The ID of the publisher of the image.
280
- * NOTE: This property will not be serialized. It can only be populated by the server.
281
- */
282
- readonly publisher?: string;
283
- /**
284
- * The image SKU.
285
- * NOTE: This property will not be serialized. It can only be populated by the server.
286
- */
287
- readonly sku?: string;
288
- /**
289
- * The image version.
290
- * NOTE: This property will not be serialized. It can only be populated by the server.
291
- */
292
- readonly version?: string;
293
- /**
294
- * The ID for the image in the shared gallery.
295
- * NOTE: This property will not be serialized. It can only be populated by the server.
296
- */
297
- readonly sharedGalleryId?: string;
298
- /** The available regions of the image in the shared gallery. */
299
- availableRegions?: string[];
300
- /**
301
- * The OS State of the image.
302
- * NOTE: This property will not be serialized. It can only be populated by the server.
303
- */
304
- readonly osState?: OsState;
305
- }
306
-
307
- /** Image reference information. Used in the virtual machine profile. */
308
- export declare interface ImageReference {
309
- /** Image resource ID */
310
- id?: string;
311
- /** The image offer if applicable. */
312
- offer?: string;
313
- /** The image publisher */
314
- publisher?: string;
315
- /** The image SKU */
316
- sku?: string;
317
- /** The image version specified on creation. */
318
- version?: string;
319
- /**
320
- * The actual version of the image after use.
321
- * NOTE: This property will not be serialized. It can only be populated by the server.
322
- */
323
- readonly exactVersion?: string;
324
- }
325
-
326
- /** Interface representing a Images. */
327
- export declare interface Images {
328
- /**
329
- * Gets all images from galleries attached to a lab plan.
330
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
331
- * @param labPlanName The name of the lab plan that uniquely identifies it within containing resource
332
- * group. Used in resource URIs and in UI.
333
- * @param options The options parameters.
334
- */
335
- listByLabPlan(resourceGroupName: string, labPlanName: string, options?: ImagesListByLabPlanOptionalParams): PagedAsyncIterableIterator<Image_2>;
336
- /**
337
- * Gets an image resource.
338
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
339
- * @param labPlanName The name of the lab plan that uniquely identifies it within containing resource
340
- * group. Used in resource URIs and in UI.
341
- * @param imageName The image name.
342
- * @param options The options parameters.
343
- */
344
- get(resourceGroupName: string, labPlanName: string, imageName: string, options?: ImagesGetOptionalParams): Promise<ImagesGetResponse>;
345
- /**
346
- * Updates an image resource via PUT. Creating new resources via PUT will not function.
347
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
348
- * @param labPlanName The name of the lab plan that uniquely identifies it within containing resource
349
- * group. Used in resource URIs and in UI.
350
- * @param imageName The image name.
351
- * @param body The request body.
352
- * @param options The options parameters.
353
- */
354
- createOrUpdate(resourceGroupName: string, labPlanName: string, imageName: string, body: Image_2, options?: ImagesCreateOrUpdateOptionalParams): Promise<ImagesCreateOrUpdateResponse>;
355
- /**
356
- * Updates an image resource.
357
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
358
- * @param labPlanName The name of the lab plan that uniquely identifies it within containing resource
359
- * group. Used in resource URIs and in UI.
360
- * @param imageName The image name.
361
- * @param body The request body.
362
- * @param options The options parameters.
363
- */
364
- update(resourceGroupName: string, labPlanName: string, imageName: string, body: ImageUpdate, options?: ImagesUpdateOptionalParams): Promise<ImagesUpdateResponse>;
365
- }
366
-
367
- /** Optional parameters. */
368
- export declare interface ImagesCreateOrUpdateOptionalParams extends coreClient.OperationOptions {
369
- }
370
-
371
- /** Contains response data for the createOrUpdate operation. */
372
- export declare type ImagesCreateOrUpdateResponse = Image_2;
373
-
374
- /** Optional parameters. */
375
- export declare interface ImagesGetOptionalParams extends coreClient.OperationOptions {
376
- }
377
-
378
- /** Contains response data for the get operation. */
379
- export declare type ImagesGetResponse = Image_2;
380
-
381
- /** Optional parameters. */
382
- export declare interface ImagesListByLabPlanNextOptionalParams extends coreClient.OperationOptions {
383
- }
384
-
385
- /** Contains response data for the listByLabPlanNext operation. */
386
- export declare type ImagesListByLabPlanNextResponse = PagedImages;
387
-
388
- /** Optional parameters. */
389
- export declare interface ImagesListByLabPlanOptionalParams extends coreClient.OperationOptions {
390
- /** The filter to apply to the operation. */
391
- filter?: string;
392
- }
393
-
394
- /** Contains response data for the listByLabPlan operation. */
395
- export declare type ImagesListByLabPlanResponse = PagedImages;
396
-
397
- /** Optional parameters. */
398
- export declare interface ImagesUpdateOptionalParams extends coreClient.OperationOptions {
399
- }
400
-
401
- /** Contains response data for the update operation. */
402
- export declare type ImagesUpdateResponse = Image_2;
403
-
404
- /** Lab services virtual machine image for updates. */
405
- export declare interface ImageUpdate {
406
- /** Is the image enabled */
407
- enabledState?: EnableState;
408
- }
409
-
410
- /** Properties of an image resource update */
411
- export declare interface ImageUpdateProperties {
412
- /** Is the image enabled */
413
- enabledState?: EnableState;
414
- }
415
-
416
- /** Defines values for InvitationState. */
417
- export declare type InvitationState = "NotSent" | "Sending" | "Sent" | "Failed";
418
-
419
- /** Body for a user invite request */
420
- export declare interface InviteBody {
421
- /** Custom text for the invite email. */
422
- text?: string;
423
- }
424
-
425
- /** Known values of {@link ActionType} that the service accepts. */
426
- export declare enum KnownActionType {
427
- /** Internal */
428
- Internal = "Internal"
429
- }
430
-
431
- /** Known values of {@link CreatedByType} that the service accepts. */
432
- export declare enum KnownCreatedByType {
433
- /** User */
434
- User = "User",
435
- /** Application */
436
- Application = "Application",
437
- /** ManagedIdentity */
438
- ManagedIdentity = "ManagedIdentity",
439
- /** Key */
440
- Key = "Key"
441
- }
442
-
443
- /** Known values of {@link LabServicesSkuTier} that the service accepts. */
444
- export declare enum KnownLabServicesSkuTier {
445
- /** Standard */
446
- Standard = "Standard",
447
- /** Premium */
448
- Premium = "Premium"
449
- }
450
-
451
- /** Known values of {@link Origin} that the service accepts. */
452
- export declare enum KnownOrigin {
453
- /** User */
454
- User = "user",
455
- /** System */
456
- System = "system",
457
- /** UserSystem */
458
- UserSystem = "user,system"
459
- }
460
-
461
- /** Known values of {@link RestrictionReasonCode} that the service accepts. */
462
- export declare enum KnownRestrictionReasonCode {
463
- /** QuotaId */
464
- QuotaId = "QuotaId",
465
- /** NotAvailableForSubscription */
466
- NotAvailableForSubscription = "NotAvailableForSubscription"
467
- }
468
-
469
- /** Known values of {@link RestrictionType} that the service accepts. */
470
- export declare enum KnownRestrictionType {
471
- /** Location */
472
- Location = "Location"
473
- }
474
-
475
- /** Known values of {@link ScaleType} that the service accepts. */
476
- export declare enum KnownScaleType {
477
- /** The capacity is not adjustable in any way. */
478
- None = "None",
479
- /** The user must manually scale this SKU in and out. */
480
- Manual = "Manual",
481
- /** The user is permitted to scale this SKU in and out. */
482
- Automatic = "Automatic"
483
- }
484
-
485
- /** Known values of {@link UsageUnit} that the service accepts. */
486
- export declare enum KnownUsageUnit {
487
- /** Count */
488
- Count = "Count"
489
- }
490
-
491
- /** The lab resource. */
492
- export declare interface Lab extends TrackedResource {
493
- /**
494
- * Metadata pertaining to creation and last modification of the lab.
495
- * NOTE: This property will not be serialized. It can only be populated by the server.
496
- */
497
- readonly systemData?: SystemData;
498
- /** The resource auto shutdown configuration for the lab. This controls whether actions are taken on resources that are sitting idle. */
499
- autoShutdownProfile?: AutoShutdownProfile;
500
- /** The connection profile for the lab. This controls settings such as web access to lab resources or whether RDP or SSH ports are open. */
501
- connectionProfile?: ConnectionProfile;
502
- /** The profile used for creating lab virtual machines. */
503
- virtualMachineProfile?: VirtualMachineProfile;
504
- /** The lab security profile. */
505
- securityProfile?: SecurityProfile;
506
- /** The lab user list management profile. */
507
- rosterProfile?: RosterProfile;
508
- /** The ID of the lab plan. Used during resource creation to provide defaults and acts as a permission container when creating a lab via labs.azure.com. Setting a labPlanId on an existing lab provides organization.. */
509
- labPlanId?: string;
510
- /** The title of the lab. */
511
- title?: string;
512
- /** The description of the lab. */
513
- description?: string;
514
- /**
515
- * Current provisioning state of the lab.
516
- * NOTE: This property will not be serialized. It can only be populated by the server.
517
- */
518
- readonly provisioningState?: ProvisioningState;
519
- /** The network profile for the lab, typically applied via a lab plan. This profile cannot be modified once a lab has been created. */
520
- networkProfile?: LabNetworkProfile;
521
- /**
522
- * The lab state.
523
- * NOTE: This property will not be serialized. It can only be populated by the server.
524
- */
525
- readonly state?: LabState;
526
- }
527
-
528
- /** Profile for how to handle networking for Labs. */
529
- export declare interface LabNetworkProfile {
530
- /** The external subnet resource id */
531
- subnetId?: string;
532
- /** The external load balancer resource id */
533
- loadBalancerId?: string;
534
- /** The external public IP resource id */
535
- publicIpId?: string;
536
- }
537
-
538
- /** Lab Plans act as a permission container for creating labs via labs.azure.com. Additionally, they can provide a set of default configurations that will apply at the time of creating a lab, but these defaults can still be overwritten. */
539
- export declare interface LabPlan extends TrackedResource {
540
- /**
541
- * Metadata pertaining to creation and last modification of the lab plan.
542
- * NOTE: This property will not be serialized. It can only be populated by the server.
543
- */
544
- readonly systemData?: SystemData;
545
- /** Managed Identity Information */
546
- identity?: Identity;
547
- /** The default lab connection profile. This can be changed on a lab resource and only provides a default profile. */
548
- defaultConnectionProfile?: ConnectionProfile;
549
- /** The default lab shutdown profile. This can be changed on a lab resource and only provides a default profile. */
550
- defaultAutoShutdownProfile?: AutoShutdownProfile;
551
- /** The lab plan network profile. To enforce lab network policies they must be defined here and cannot be changed when there are existing labs associated with this lab plan. */
552
- defaultNetworkProfile?: LabPlanNetworkProfile;
553
- /** The allowed regions for the lab creator to use when creating labs using this lab plan. */
554
- allowedRegions?: string[];
555
- /** Resource ID of the Shared Image Gallery attached to this lab plan. When saving a lab template virtual machine image it will be persisted in this gallery. Shared images from the gallery can be made available to use when creating new labs. */
556
- sharedGalleryId?: string;
557
- /** Support contact information and instructions for users of the lab plan. This information is displayed to lab owners and virtual machine users for all labs in the lab plan. */
558
- supportInfo?: SupportInfo;
559
- /** Base Url of the lms instance this lab plan can link lab rosters against. */
560
- linkedLmsInstance?: string;
561
- /**
562
- * Current provisioning state of the lab plan.
563
- * NOTE: This property will not be serialized. It can only be populated by the server.
564
- */
565
- readonly provisioningState?: ProvisioningState;
566
- }
567
-
568
- /** Profile for how to handle networking for Lab Plans. */
569
- export declare interface LabPlanNetworkProfile {
570
- /** The external subnet resource id */
571
- subnetId?: string;
572
- }
573
-
574
- /** Lab plan resource properties */
575
- export declare interface LabPlanProperties extends LabPlanUpdateProperties {
576
- /**
577
- * Current provisioning state of the lab plan.
578
- * NOTE: This property will not be serialized. It can only be populated by the server.
579
- */
580
- readonly provisioningState?: ProvisioningState;
581
- }
582
-
583
- /** Interface representing a LabPlans. */
584
- export declare interface LabPlans {
585
- /**
586
- * Returns a list of all lab plans within a subscription
587
- * @param options The options parameters.
588
- */
589
- listBySubscription(options?: LabPlansListBySubscriptionOptionalParams): PagedAsyncIterableIterator<LabPlan>;
590
- /**
591
- * Returns a list of all lab plans for a subscription and resource group.
592
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
593
- * @param options The options parameters.
594
- */
595
- listByResourceGroup(resourceGroupName: string, options?: LabPlansListByResourceGroupOptionalParams): PagedAsyncIterableIterator<LabPlan>;
596
- /**
597
- * Retrieves the properties of a Lab Plan.
598
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
599
- * @param labPlanName The name of the lab plan that uniquely identifies it within containing resource
600
- * group. Used in resource URIs and in UI.
601
- * @param options The options parameters.
602
- */
603
- get(resourceGroupName: string, labPlanName: string, options?: LabPlansGetOptionalParams): Promise<LabPlansGetResponse>;
604
- /**
605
- * Operation to create or update a Lab Plan resource.
606
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
607
- * @param labPlanName The name of the lab plan that uniquely identifies it within containing resource
608
- * group. Used in resource URIs and in UI.
609
- * @param body The request body.
610
- * @param options The options parameters.
611
- */
612
- beginCreateOrUpdate(resourceGroupName: string, labPlanName: string, body: LabPlan, options?: LabPlansCreateOrUpdateOptionalParams): Promise<PollerLike<PollOperationState<LabPlansCreateOrUpdateResponse>, LabPlansCreateOrUpdateResponse>>;
613
- /**
614
- * Operation to create or update a Lab Plan resource.
615
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
616
- * @param labPlanName The name of the lab plan that uniquely identifies it within containing resource
617
- * group. Used in resource URIs and in UI.
618
- * @param body The request body.
619
- * @param options The options parameters.
620
- */
621
- beginCreateOrUpdateAndWait(resourceGroupName: string, labPlanName: string, body: LabPlan, options?: LabPlansCreateOrUpdateOptionalParams): Promise<LabPlansCreateOrUpdateResponse>;
622
- /**
623
- * Operation to update a Lab Plan resource.
624
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
625
- * @param labPlanName The name of the lab plan that uniquely identifies it within containing resource
626
- * group. Used in resource URIs and in UI.
627
- * @param body The request body.
628
- * @param options The options parameters.
629
- */
630
- beginUpdate(resourceGroupName: string, labPlanName: string, body: LabPlanUpdate, options?: LabPlansUpdateOptionalParams): Promise<PollerLike<PollOperationState<LabPlansUpdateResponse>, LabPlansUpdateResponse>>;
631
- /**
632
- * Operation to update a Lab Plan resource.
633
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
634
- * @param labPlanName The name of the lab plan that uniquely identifies it within containing resource
635
- * group. Used in resource URIs and in UI.
636
- * @param body The request body.
637
- * @param options The options parameters.
638
- */
639
- beginUpdateAndWait(resourceGroupName: string, labPlanName: string, body: LabPlanUpdate, options?: LabPlansUpdateOptionalParams): Promise<LabPlansUpdateResponse>;
640
- /**
641
- * Operation to delete a Lab Plan resource. Deleting a lab plan does not delete labs associated with a
642
- * lab plan, nor does it delete shared images added to a gallery via the lab plan permission container.
643
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
644
- * @param labPlanName The name of the lab plan that uniquely identifies it within containing resource
645
- * group. Used in resource URIs and in UI.
646
- * @param options The options parameters.
647
- */
648
- beginDelete(resourceGroupName: string, labPlanName: string, options?: LabPlansDeleteOptionalParams): Promise<PollerLike<PollOperationState<void>, void>>;
649
- /**
650
- * Operation to delete a Lab Plan resource. Deleting a lab plan does not delete labs associated with a
651
- * lab plan, nor does it delete shared images added to a gallery via the lab plan permission container.
652
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
653
- * @param labPlanName The name of the lab plan that uniquely identifies it within containing resource
654
- * group. Used in resource URIs and in UI.
655
- * @param options The options parameters.
656
- */
657
- beginDeleteAndWait(resourceGroupName: string, labPlanName: string, options?: LabPlansDeleteOptionalParams): Promise<void>;
658
- /**
659
- * Saves an image from a lab VM to the attached shared image gallery.
660
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
661
- * @param labPlanName The name of the lab plan that uniquely identifies it within containing resource
662
- * group. Used in resource URIs and in UI.
663
- * @param body The request body.
664
- * @param options The options parameters.
665
- */
666
- beginSaveImage(resourceGroupName: string, labPlanName: string, body: SaveImageBody, options?: LabPlansSaveImageOptionalParams): Promise<PollerLike<PollOperationState<void>, void>>;
667
- /**
668
- * Saves an image from a lab VM to the attached shared image gallery.
669
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
670
- * @param labPlanName The name of the lab plan that uniquely identifies it within containing resource
671
- * group. Used in resource URIs and in UI.
672
- * @param body The request body.
673
- * @param options The options parameters.
674
- */
675
- beginSaveImageAndWait(resourceGroupName: string, labPlanName: string, body: SaveImageBody, options?: LabPlansSaveImageOptionalParams): Promise<void>;
676
- }
677
-
678
- /** Optional parameters. */
679
- export declare interface LabPlansCreateOrUpdateOptionalParams extends coreClient.OperationOptions {
680
- /** Delay to wait until next poll, in milliseconds. */
681
- updateIntervalInMs?: number;
682
- /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
683
- resumeFrom?: string;
684
- }
685
-
686
- /** Contains response data for the createOrUpdate operation. */
687
- export declare type LabPlansCreateOrUpdateResponse = LabPlan;
688
-
689
- /** Optional parameters. */
690
- export declare interface LabPlansDeleteOptionalParams extends coreClient.OperationOptions {
691
- /** Delay to wait until next poll, in milliseconds. */
692
- updateIntervalInMs?: number;
693
- /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
694
- resumeFrom?: string;
695
- }
696
-
697
- /** Optional parameters. */
698
- export declare interface LabPlansGetOptionalParams extends coreClient.OperationOptions {
699
- }
700
-
701
- /** Contains response data for the get operation. */
702
- export declare type LabPlansGetResponse = LabPlan;
703
-
704
- /** Optional parameters. */
705
- export declare interface LabPlansListByResourceGroupNextOptionalParams extends coreClient.OperationOptions {
706
- }
707
-
708
- /** Contains response data for the listByResourceGroupNext operation. */
709
- export declare type LabPlansListByResourceGroupNextResponse = PagedLabPlans;
710
-
711
- /** Optional parameters. */
712
- export declare interface LabPlansListByResourceGroupOptionalParams extends coreClient.OperationOptions {
713
- }
714
-
715
- /** Contains response data for the listByResourceGroup operation. */
716
- export declare type LabPlansListByResourceGroupResponse = PagedLabPlans;
717
-
718
- /** Optional parameters. */
719
- export declare interface LabPlansListBySubscriptionNextOptionalParams extends coreClient.OperationOptions {
720
- }
721
-
722
- /** Contains response data for the listBySubscriptionNext operation. */
723
- export declare type LabPlansListBySubscriptionNextResponse = PagedLabPlans;
724
-
725
- /** Optional parameters. */
726
- export declare interface LabPlansListBySubscriptionOptionalParams extends coreClient.OperationOptions {
727
- /** The filter to apply to the operation. */
728
- filter?: string;
729
- }
730
-
731
- /** Contains response data for the listBySubscription operation. */
732
- export declare type LabPlansListBySubscriptionResponse = PagedLabPlans;
733
-
734
- /** Optional parameters. */
735
- export declare interface LabPlansSaveImageOptionalParams extends coreClient.OperationOptions {
736
- /** Delay to wait until next poll, in milliseconds. */
737
- updateIntervalInMs?: number;
738
- /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
739
- resumeFrom?: string;
740
- }
741
-
742
- /** Optional parameters. */
743
- export declare interface LabPlansUpdateOptionalParams extends coreClient.OperationOptions {
744
- /** Delay to wait until next poll, in milliseconds. */
745
- updateIntervalInMs?: number;
746
- /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
747
- resumeFrom?: string;
748
- }
749
-
750
- /** Contains response data for the update operation. */
751
- export declare type LabPlansUpdateResponse = LabPlan;
752
-
753
- /** Contains lab configuration and default settings. This variant is used for PATCH. */
754
- export declare interface LabPlanUpdate extends TrackedResourceUpdate {
755
- /** Managed Identity Information */
756
- identity?: Identity;
757
- /** The default lab connection profile. This can be changed on a lab resource and only provides a default profile. */
758
- defaultConnectionProfile?: ConnectionProfile;
759
- /** The default lab shutdown profile. This can be changed on a lab resource and only provides a default profile. */
760
- defaultAutoShutdownProfile?: AutoShutdownProfile;
761
- /** The lab plan network profile. To enforce lab network policies they must be defined here and cannot be changed when there are existing labs associated with this lab plan. */
762
- defaultNetworkProfile?: LabPlanNetworkProfile;
763
- /** The allowed regions for the lab creator to use when creating labs using this lab plan. */
764
- allowedRegions?: string[];
765
- /** Resource ID of the Shared Image Gallery attached to this lab plan. When saving a lab template virtual machine image it will be persisted in this gallery. Shared images from the gallery can be made available to use when creating new labs. */
766
- sharedGalleryId?: string;
767
- /** Support contact information and instructions for users of the lab plan. This information is displayed to lab owners and virtual machine users for all labs in the lab plan. */
768
- supportInfo?: SupportInfo;
769
- /** Base Url of the lms instance this lab plan can link lab rosters against. */
770
- linkedLmsInstance?: string;
771
- }
772
-
773
- /** Lab plan resource properties for updates */
774
- export declare interface LabPlanUpdateProperties {
775
- /** The default lab connection profile. This can be changed on a lab resource and only provides a default profile. */
776
- defaultConnectionProfile?: ConnectionProfile;
777
- /** The default lab shutdown profile. This can be changed on a lab resource and only provides a default profile. */
778
- defaultAutoShutdownProfile?: AutoShutdownProfile;
779
- /** The lab plan network profile. To enforce lab network policies they must be defined here and cannot be changed when there are existing labs associated with this lab plan. */
780
- defaultNetworkProfile?: LabPlanNetworkProfile;
781
- /** The allowed regions for the lab creator to use when creating labs using this lab plan. */
782
- allowedRegions?: string[];
783
- /** Resource ID of the Shared Image Gallery attached to this lab plan. When saving a lab template virtual machine image it will be persisted in this gallery. Shared images from the gallery can be made available to use when creating new labs. */
784
- sharedGalleryId?: string;
785
- /** Support contact information and instructions for users of the lab plan. This information is displayed to lab owners and virtual machine users for all labs in the lab plan. */
786
- supportInfo?: SupportInfo;
787
- /** Base Url of the lms instance this lab plan can link lab rosters against. */
788
- linkedLmsInstance?: string;
789
- }
790
-
791
- /** Properties of a lab resource. */
792
- export declare interface LabProperties extends LabUpdateProperties {
793
- /**
794
- * Current provisioning state of the lab.
795
- * NOTE: This property will not be serialized. It can only be populated by the server.
796
- */
797
- readonly provisioningState?: ProvisioningState;
798
- /** The network profile for the lab, typically applied via a lab plan. This profile cannot be modified once a lab has been created. */
799
- networkProfile?: LabNetworkProfile;
800
- /**
801
- * The lab state.
802
- * NOTE: This property will not be serialized. It can only be populated by the server.
803
- */
804
- readonly state?: LabState;
805
- }
806
-
807
- /** Interface representing a Labs. */
808
- export declare interface Labs {
809
- /**
810
- * Returns a list of all labs for a subscription.
811
- * @param options The options parameters.
812
- */
813
- listBySubscription(options?: LabsListBySubscriptionOptionalParams): PagedAsyncIterableIterator<Lab>;
814
- /**
815
- * Returns a list of all labs in a resource group.
816
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
817
- * @param options The options parameters.
818
- */
819
- listByResourceGroup(resourceGroupName: string, options?: LabsListByResourceGroupOptionalParams): PagedAsyncIterableIterator<Lab>;
820
- /**
821
- * Returns the properties of a lab resource.
822
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
823
- * @param labName The name of the lab that uniquely identifies it within containing lab plan. Used in
824
- * resource URIs.
825
- * @param options The options parameters.
826
- */
827
- get(resourceGroupName: string, labName: string, options?: LabsGetOptionalParams): Promise<LabsGetResponse>;
828
- /**
829
- * Operation to create or update a lab resource.
830
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
831
- * @param labName The name of the lab that uniquely identifies it within containing lab plan. Used in
832
- * resource URIs.
833
- * @param body The request body.
834
- * @param options The options parameters.
835
- */
836
- beginCreateOrUpdate(resourceGroupName: string, labName: string, body: Lab, options?: LabsCreateOrUpdateOptionalParams): Promise<PollerLike<PollOperationState<LabsCreateOrUpdateResponse>, LabsCreateOrUpdateResponse>>;
837
- /**
838
- * Operation to create or update a lab resource.
839
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
840
- * @param labName The name of the lab that uniquely identifies it within containing lab plan. Used in
841
- * resource URIs.
842
- * @param body The request body.
843
- * @param options The options parameters.
844
- */
845
- beginCreateOrUpdateAndWait(resourceGroupName: string, labName: string, body: Lab, options?: LabsCreateOrUpdateOptionalParams): Promise<LabsCreateOrUpdateResponse>;
846
- /**
847
- * Operation to update a lab resource.
848
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
849
- * @param labName The name of the lab that uniquely identifies it within containing lab plan. Used in
850
- * resource URIs.
851
- * @param body The request body.
852
- * @param options The options parameters.
853
- */
854
- beginUpdate(resourceGroupName: string, labName: string, body: LabUpdate, options?: LabsUpdateOptionalParams): Promise<PollerLike<PollOperationState<LabsUpdateResponse>, LabsUpdateResponse>>;
855
- /**
856
- * Operation to update a lab resource.
857
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
858
- * @param labName The name of the lab that uniquely identifies it within containing lab plan. Used in
859
- * resource URIs.
860
- * @param body The request body.
861
- * @param options The options parameters.
862
- */
863
- beginUpdateAndWait(resourceGroupName: string, labName: string, body: LabUpdate, options?: LabsUpdateOptionalParams): Promise<LabsUpdateResponse>;
864
- /**
865
- * Operation to delete a lab resource.
866
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
867
- * @param labName The name of the lab that uniquely identifies it within containing lab plan. Used in
868
- * resource URIs.
869
- * @param options The options parameters.
870
- */
871
- beginDelete(resourceGroupName: string, labName: string, options?: LabsDeleteOptionalParams): Promise<PollerLike<PollOperationState<void>, void>>;
872
- /**
873
- * Operation to delete a lab resource.
874
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
875
- * @param labName The name of the lab that uniquely identifies it within containing lab plan. Used in
876
- * resource URIs.
877
- * @param options The options parameters.
878
- */
879
- beginDeleteAndWait(resourceGroupName: string, labName: string, options?: LabsDeleteOptionalParams): Promise<void>;
880
- /**
881
- * Publish or re-publish a lab. This will create or update all lab resources, such as virtual machines.
882
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
883
- * @param labName The name of the lab that uniquely identifies it within containing lab plan. Used in
884
- * resource URIs.
885
- * @param options The options parameters.
886
- */
887
- beginPublish(resourceGroupName: string, labName: string, options?: LabsPublishOptionalParams): Promise<PollerLike<PollOperationState<void>, void>>;
888
- /**
889
- * Publish or re-publish a lab. This will create or update all lab resources, such as virtual machines.
890
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
891
- * @param labName The name of the lab that uniquely identifies it within containing lab plan. Used in
892
- * resource URIs.
893
- * @param options The options parameters.
894
- */
895
- beginPublishAndWait(resourceGroupName: string, labName: string, options?: LabsPublishOptionalParams): Promise<void>;
896
- /**
897
- * Action used to manually kick off an AAD group sync job.
898
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
899
- * @param labName The name of the lab that uniquely identifies it within containing lab plan. Used in
900
- * resource URIs.
901
- * @param options The options parameters.
902
- */
903
- beginSyncGroup(resourceGroupName: string, labName: string, options?: LabsSyncGroupOptionalParams): Promise<PollerLike<PollOperationState<void>, void>>;
904
- /**
905
- * Action used to manually kick off an AAD group sync job.
906
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
907
- * @param labName The name of the lab that uniquely identifies it within containing lab plan. Used in
908
- * resource URIs.
909
- * @param options The options parameters.
910
- */
911
- beginSyncGroupAndWait(resourceGroupName: string, labName: string, options?: LabsSyncGroupOptionalParams): Promise<void>;
912
- }
913
-
914
- /** Optional parameters. */
915
- export declare interface LabsCreateOrUpdateOptionalParams extends coreClient.OperationOptions {
916
- /** Delay to wait until next poll, in milliseconds. */
917
- updateIntervalInMs?: number;
918
- /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
919
- resumeFrom?: string;
920
- }
921
-
922
- /** Contains response data for the createOrUpdate operation. */
923
- export declare type LabsCreateOrUpdateResponse = Lab;
924
-
925
- /** Optional parameters. */
926
- export declare interface LabsDeleteOptionalParams extends coreClient.OperationOptions {
927
- /** Delay to wait until next poll, in milliseconds. */
928
- updateIntervalInMs?: number;
929
- /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
930
- resumeFrom?: string;
931
- }
932
-
933
- export declare class LabServicesClient extends coreClient.ServiceClient {
934
- $host: string;
935
- apiVersion: string;
936
- subscriptionId: string;
937
- /**
938
- * Initializes a new instance of the LabServicesClient class.
939
- * @param credentials Subscription credentials which uniquely identify client subscription.
940
- * @param subscriptionId The ID of the target subscription.
941
- * @param options The parameter options
942
- */
943
- constructor(credentials: coreAuth.TokenCredential, subscriptionId: string, options?: LabServicesClientOptionalParams);
944
- /** A function that adds a policy that sets the api-version (or equivalent) to reflect the library version. */
945
- private addCustomApiVersionPolicy;
946
- images: Images;
947
- labPlans: LabPlans;
948
- operations: Operations;
949
- labs: Labs;
950
- operationResults: OperationResults;
951
- schedules: Schedules;
952
- skus: Skus;
953
- usages: Usages;
954
- users: Users;
955
- virtualMachines: VirtualMachines;
956
- }
957
-
958
- /** Optional parameters. */
959
- export declare interface LabServicesClientOptionalParams extends coreClient.ServiceClientOptions {
960
- /** server parameter */
961
- $host?: string;
962
- /** Api Version */
963
- apiVersion?: string;
964
- /** Overrides client endpoint. */
965
- endpoint?: string;
966
- }
967
-
968
- /** Azure Lab Services resource SKUs */
969
- export declare interface LabServicesSku {
970
- /**
971
- * The lab services resource type.
972
- * NOTE: This property will not be serialized. It can only be populated by the server.
973
- */
974
- readonly resourceType?: string;
975
- /**
976
- * The name of the SKU.
977
- * NOTE: This property will not be serialized. It can only be populated by the server.
978
- */
979
- readonly name?: string;
980
- /**
981
- * The tier of the SKU.
982
- * NOTE: This property will not be serialized. It can only be populated by the server.
983
- */
984
- readonly tier?: LabServicesSkuTier;
985
- /**
986
- * The SKU size.
987
- * NOTE: This property will not be serialized. It can only be populated by the server.
988
- */
989
- readonly size?: string;
990
- /**
991
- * The family of the SKU.
992
- * NOTE: This property will not be serialized. It can only be populated by the server.
993
- */
994
- readonly family?: string;
995
- /** The scale out/in options of the SKU. */
996
- capacity?: LabServicesSkuCapacity;
997
- /**
998
- * The capabilities of the SKU.
999
- * NOTE: This property will not be serialized. It can only be populated by the server.
1000
- */
1001
- readonly capabilities?: LabServicesSkuCapabilities[];
1002
- /**
1003
- * List of locations that are available for a size.
1004
- * NOTE: This property will not be serialized. It can only be populated by the server.
1005
- */
1006
- readonly locations?: string[];
1007
- /**
1008
- * Metadata for retrieving price info of a lab services SKUs.
1009
- * NOTE: This property will not be serialized. It can only be populated by the server.
1010
- */
1011
- readonly costs?: LabServicesSkuCost[];
1012
- /**
1013
- * Restrictions of a lab services SKUs.
1014
- * NOTE: This property will not be serialized. It can only be populated by the server.
1015
- */
1016
- readonly restrictions?: LabServicesSkuRestrictions[];
1017
- }
1018
-
1019
- /** The array of capabilities of a lab services SKU. */
1020
- export declare interface LabServicesSkuCapabilities {
1021
- /**
1022
- * The name of the capability for a SKU.
1023
- * NOTE: This property will not be serialized. It can only be populated by the server.
1024
- */
1025
- readonly name?: string;
1026
- /**
1027
- * The value of the capability for a SKU.
1028
- * NOTE: This property will not be serialized. It can only be populated by the server.
1029
- */
1030
- readonly value?: string;
1031
- }
1032
-
1033
- /** The scale out/in options of the SKU. */
1034
- export declare interface LabServicesSkuCapacity {
1035
- /**
1036
- * The default capacity for this resource.
1037
- * NOTE: This property will not be serialized. It can only be populated by the server.
1038
- */
1039
- readonly default?: number;
1040
- /**
1041
- * The lowest permitted capacity for this resource.
1042
- * NOTE: This property will not be serialized. It can only be populated by the server.
1043
- */
1044
- readonly minimum?: number;
1045
- /**
1046
- * The highest permitted capacity for this resource.
1047
- * NOTE: This property will not be serialized. It can only be populated by the server.
1048
- */
1049
- readonly maximum?: number;
1050
- /**
1051
- * The localized name of the resource.
1052
- * NOTE: This property will not be serialized. It can only be populated by the server.
1053
- */
1054
- readonly scaleType?: ScaleType;
1055
- }
1056
-
1057
- /** The array of costs of a lab services SKU. */
1058
- export declare interface LabServicesSkuCost {
1059
- /**
1060
- * The meter id.
1061
- * NOTE: This property will not be serialized. It can only be populated by the server.
1062
- */
1063
- readonly meterId?: string;
1064
- /**
1065
- * The quantity of units charged.
1066
- * NOTE: This property will not be serialized. It can only be populated by the server.
1067
- */
1068
- readonly quantity?: number;
1069
- /**
1070
- * The extended unit.
1071
- * NOTE: This property will not be serialized. It can only be populated by the server.
1072
- */
1073
- readonly extendedUnit?: string;
1074
- }
1075
-
1076
- /** The restriction details. */
1077
- export declare interface LabServicesSkuRestrictions {
1078
- /**
1079
- * The type of restriction.
1080
- * NOTE: This property will not be serialized. It can only be populated by the server.
1081
- */
1082
- readonly type?: RestrictionType;
1083
- /**
1084
- * The values of the restriction.
1085
- * NOTE: This property will not be serialized. It can only be populated by the server.
1086
- */
1087
- readonly values?: string[];
1088
- /**
1089
- * The reason for the restriction.
1090
- * NOTE: This property will not be serialized. It can only be populated by the server.
1091
- */
1092
- readonly reasonCode?: RestrictionReasonCode;
1093
- }
1094
-
1095
- /**
1096
- * Defines values for LabServicesSkuTier. \
1097
- * {@link KnownLabServicesSkuTier} can be used interchangeably with LabServicesSkuTier,
1098
- * this enum contains the known values that the service supports.
1099
- * ### Known values supported by the service
1100
- * **Standard** \
1101
- * **Premium**
1102
- */
1103
- export declare type LabServicesSkuTier = string;
1104
-
1105
- /** Optional parameters. */
1106
- export declare interface LabsGetOptionalParams extends coreClient.OperationOptions {
1107
- }
1108
-
1109
- /** Contains response data for the get operation. */
1110
- export declare type LabsGetResponse = Lab;
1111
-
1112
- /** Optional parameters. */
1113
- export declare interface LabsListByResourceGroupNextOptionalParams extends coreClient.OperationOptions {
1114
- }
1115
-
1116
- /** Contains response data for the listByResourceGroupNext operation. */
1117
- export declare type LabsListByResourceGroupNextResponse = PagedLabs;
1118
-
1119
- /** Optional parameters. */
1120
- export declare interface LabsListByResourceGroupOptionalParams extends coreClient.OperationOptions {
1121
- }
1122
-
1123
- /** Contains response data for the listByResourceGroup operation. */
1124
- export declare type LabsListByResourceGroupResponse = PagedLabs;
1125
-
1126
- /** Optional parameters. */
1127
- export declare interface LabsListBySubscriptionNextOptionalParams extends coreClient.OperationOptions {
1128
- }
1129
-
1130
- /** Contains response data for the listBySubscriptionNext operation. */
1131
- export declare type LabsListBySubscriptionNextResponse = PagedLabs;
1132
-
1133
- /** Optional parameters. */
1134
- export declare interface LabsListBySubscriptionOptionalParams extends coreClient.OperationOptions {
1135
- /** The filter to apply to the operation. */
1136
- filter?: string;
1137
- }
1138
-
1139
- /** Contains response data for the listBySubscription operation. */
1140
- export declare type LabsListBySubscriptionResponse = PagedLabs;
1141
-
1142
- /** Optional parameters. */
1143
- export declare interface LabsPublishOptionalParams extends coreClient.OperationOptions {
1144
- /** Delay to wait until next poll, in milliseconds. */
1145
- updateIntervalInMs?: number;
1146
- /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
1147
- resumeFrom?: string;
1148
- }
1149
-
1150
- /** Optional parameters. */
1151
- export declare interface LabsSyncGroupOptionalParams extends coreClient.OperationOptions {
1152
- /** Delay to wait until next poll, in milliseconds. */
1153
- updateIntervalInMs?: number;
1154
- /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
1155
- resumeFrom?: string;
1156
- }
1157
-
1158
- /** Defines values for LabState. */
1159
- export declare type LabState = "Draft" | "Publishing" | "Scaling" | "Syncing" | "Published";
1160
-
1161
- /** Optional parameters. */
1162
- export declare interface LabsUpdateOptionalParams extends coreClient.OperationOptions {
1163
- /** Delay to wait until next poll, in milliseconds. */
1164
- updateIntervalInMs?: number;
1165
- /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
1166
- resumeFrom?: string;
1167
- }
1168
-
1169
- /** Contains response data for the update operation. */
1170
- export declare type LabsUpdateResponse = Lab;
1171
-
1172
- /** The lab resource for updates. */
1173
- export declare interface LabUpdate extends TrackedResourceUpdate {
1174
- /** The resource auto shutdown configuration for the lab. This controls whether actions are taken on resources that are sitting idle. */
1175
- autoShutdownProfile?: AutoShutdownProfile;
1176
- /** The connection profile for the lab. This controls settings such as web access to lab resources or whether RDP or SSH ports are open. */
1177
- connectionProfile?: ConnectionProfile;
1178
- /** The profile used for creating lab virtual machines. */
1179
- virtualMachineProfile?: VirtualMachineProfile;
1180
- /** The lab security profile. */
1181
- securityProfile?: SecurityProfile;
1182
- /** The lab user list management profile. */
1183
- rosterProfile?: RosterProfile;
1184
- /** The ID of the lab plan. Used during resource creation to provide defaults and acts as a permission container when creating a lab via labs.azure.com. Setting a labPlanId on an existing lab provides organization.. */
1185
- labPlanId?: string;
1186
- /** The title of the lab. */
1187
- title?: string;
1188
- /** The description of the lab. */
1189
- description?: string;
1190
- }
1191
-
1192
- /** Properties of a lab resource used for updates. */
1193
- export declare interface LabUpdateProperties {
1194
- /** The resource auto shutdown configuration for the lab. This controls whether actions are taken on resources that are sitting idle. */
1195
- autoShutdownProfile?: AutoShutdownProfile;
1196
- /** The connection profile for the lab. This controls settings such as web access to lab resources or whether RDP or SSH ports are open. */
1197
- connectionProfile?: ConnectionProfile;
1198
- /** The profile used for creating lab virtual machines. */
1199
- virtualMachineProfile?: VirtualMachineProfile;
1200
- /** The lab security profile. */
1201
- securityProfile?: SecurityProfile;
1202
- /** The lab user list management profile. */
1203
- rosterProfile?: RosterProfile;
1204
- /** The ID of the lab plan. Used during resource creation to provide defaults and acts as a permission container when creating a lab via labs.azure.com. Setting a labPlanId on an existing lab provides organization.. */
1205
- labPlanId?: string;
1206
- /** The title of the lab. */
1207
- title?: string;
1208
- /** The description of the lab. */
1209
- description?: string;
1210
- }
1211
-
1212
- /** List of Core Usages. */
1213
- export declare interface ListUsagesResult {
1214
- /** The array page of Usages. */
1215
- value?: Usage[];
1216
- /**
1217
- * The link to get the next page of Usage result.
1218
- * NOTE: This property will not be serialized. It can only be populated by the server.
1219
- */
1220
- readonly nextLink?: string;
1221
- }
1222
-
1223
- /** Details of a REST API operation, returned from the Resource Provider Operations API */
1224
- export declare interface Operation {
1225
- /**
1226
- * The name of the operation, as per Resource-Based Access Control (RBAC). Examples: "Microsoft.Compute/virtualMachines/write", "Microsoft.Compute/virtualMachines/capture/action"
1227
- * NOTE: This property will not be serialized. It can only be populated by the server.
1228
- */
1229
- readonly name?: string;
1230
- /**
1231
- * Whether the operation applies to data-plane. This is "true" for data-plane operations and "false" for ARM/control-plane operations.
1232
- * NOTE: This property will not be serialized. It can only be populated by the server.
1233
- */
1234
- readonly isDataAction?: boolean;
1235
- /** Localized display information for this particular operation. */
1236
- display?: OperationDisplay;
1237
- /**
1238
- * The intended executor of the operation; as in Resource Based Access Control (RBAC) and audit logs UX. Default value is "user,system"
1239
- * NOTE: This property will not be serialized. It can only be populated by the server.
1240
- */
1241
- readonly origin?: Origin;
1242
- /**
1243
- * Enum. Indicates the action type. "Internal" refers to actions that are for internal only APIs.
1244
- * NOTE: This property will not be serialized. It can only be populated by the server.
1245
- */
1246
- readonly actionType?: ActionType;
1247
- }
1248
-
1249
- /** Localized display information for this particular operation. */
1250
- export declare interface OperationDisplay {
1251
- /**
1252
- * The localized friendly form of the resource provider name, e.g. "Microsoft Monitoring Insights" or "Microsoft Compute".
1253
- * NOTE: This property will not be serialized. It can only be populated by the server.
1254
- */
1255
- readonly provider?: string;
1256
- /**
1257
- * The localized friendly name of the resource type related to this operation. E.g. "Virtual Machines" or "Job Schedule Collections".
1258
- * NOTE: This property will not be serialized. It can only be populated by the server.
1259
- */
1260
- readonly resource?: string;
1261
- /**
1262
- * The concise, localized friendly name for the operation; suitable for dropdowns. E.g. "Create or Update Virtual Machine", "Restart Virtual Machine".
1263
- * NOTE: This property will not be serialized. It can only be populated by the server.
1264
- */
1265
- readonly operation?: string;
1266
- /**
1267
- * The short, localized friendly description of the operation; suitable for tool tips and detailed views.
1268
- * NOTE: This property will not be serialized. It can only be populated by the server.
1269
- */
1270
- readonly description?: string;
1271
- }
1272
-
1273
- /** A list of REST API operations supported by an Azure Resource Provider. It contains an URL link to get the next set of results. */
1274
- export declare interface OperationListResult {
1275
- /**
1276
- * List of operations supported by the resource provider
1277
- * NOTE: This property will not be serialized. It can only be populated by the server.
1278
- */
1279
- readonly value?: Operation[];
1280
- /**
1281
- * URL to get the next set of operation list results (if there are any).
1282
- * NOTE: This property will not be serialized. It can only be populated by the server.
1283
- */
1284
- readonly nextLink?: string;
1285
- }
1286
-
1287
- /** A long running operation result */
1288
- export declare interface OperationResult {
1289
- /**
1290
- * Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
1291
- * NOTE: This property will not be serialized. It can only be populated by the server.
1292
- */
1293
- readonly id?: string;
1294
- /**
1295
- * The name of the resource
1296
- * NOTE: This property will not be serialized. It can only be populated by the server.
1297
- */
1298
- readonly name?: string;
1299
- /** The operation status */
1300
- status: OperationStatus;
1301
- /** Start time */
1302
- startTime?: Date;
1303
- /** End time */
1304
- endTime?: Date;
1305
- /** Percent completion */
1306
- percentComplete?: number;
1307
- /** The error for a failure if the operation failed. */
1308
- error?: ErrorDetail;
1309
- }
1310
-
1311
- /** Interface representing a OperationResults. */
1312
- export declare interface OperationResults {
1313
- /**
1314
- * Returns an azure operation result.
1315
- * @param operationResultId The operation result ID / name.
1316
- * @param options The options parameters.
1317
- */
1318
- get(operationResultId: string, options?: OperationResultsGetOptionalParams): Promise<OperationResultsGetResponse>;
1319
- }
1320
-
1321
- /** Optional parameters. */
1322
- export declare interface OperationResultsGetOptionalParams extends coreClient.OperationOptions {
1323
- }
1324
-
1325
- /** Contains response data for the get operation. */
1326
- export declare type OperationResultsGetResponse = OperationResult;
1327
-
1328
- /** Interface representing a Operations. */
1329
- export declare interface Operations {
1330
- /**
1331
- * Returns a list of all operations.
1332
- * @param options The options parameters.
1333
- */
1334
- list(options?: OperationsListOptionalParams): PagedAsyncIterableIterator<Operation>;
1335
- }
1336
-
1337
- /** Optional parameters. */
1338
- export declare interface OperationsListNextOptionalParams extends coreClient.OperationOptions {
1339
- }
1340
-
1341
- /** Contains response data for the listNext operation. */
1342
- export declare type OperationsListNextResponse = OperationListResult;
1343
-
1344
- /** Optional parameters. */
1345
- export declare interface OperationsListOptionalParams extends coreClient.OperationOptions {
1346
- }
1347
-
1348
- /** Contains response data for the list operation. */
1349
- export declare type OperationsListResponse = OperationListResult;
1350
-
1351
- /** Defines values for OperationStatus. */
1352
- export declare type OperationStatus = "NotStarted" | "InProgress" | "Succeeded" | "Failed" | "Canceled";
1353
-
1354
- /**
1355
- * Defines values for Origin. \
1356
- * {@link KnownOrigin} can be used interchangeably with Origin,
1357
- * this enum contains the known values that the service supports.
1358
- * ### Known values supported by the service
1359
- * **user** \
1360
- * **system** \
1361
- * **user,system**
1362
- */
1363
- export declare type Origin = string;
1364
-
1365
- /** Defines values for OsState. */
1366
- export declare type OsState = "Generalized" | "Specialized";
1367
-
1368
- /** Defines values for OsType. */
1369
- export declare type OsType = "Windows" | "Linux";
1370
-
1371
- /** Paged list of Lab services virtual machine images. */
1372
- export declare interface PagedImages {
1373
- /**
1374
- * The array page of virtual machine images.
1375
- * NOTE: This property will not be serialized. It can only be populated by the server.
1376
- */
1377
- readonly value?: Image_2[];
1378
- /**
1379
- * The link to get the next page of image results.
1380
- * NOTE: This property will not be serialized. It can only be populated by the server.
1381
- */
1382
- readonly nextLink?: string;
1383
- }
1384
-
1385
- /** Paged list of lab plans. */
1386
- export declare interface PagedLabPlans {
1387
- /**
1388
- * The array page of lab plans.
1389
- * NOTE: This property will not be serialized. It can only be populated by the server.
1390
- */
1391
- readonly value?: LabPlan[];
1392
- /**
1393
- * The link to get the next page of lab plan results.
1394
- * NOTE: This property will not be serialized. It can only be populated by the server.
1395
- */
1396
- readonly nextLink?: string;
1397
- }
1398
-
1399
- /** Paged list of labs. */
1400
- export declare interface PagedLabs {
1401
- /**
1402
- * The array page of lab results.
1403
- * NOTE: This property will not be serialized. It can only be populated by the server.
1404
- */
1405
- readonly value?: Lab[];
1406
- /**
1407
- * The link to get the next page of image results.
1408
- * NOTE: This property will not be serialized. It can only be populated by the server.
1409
- */
1410
- readonly nextLink?: string;
1411
- }
1412
-
1413
- /** Paged list of lab services skus. */
1414
- export declare interface PagedLabServicesSkus {
1415
- /**
1416
- * The array page of sku results.
1417
- * NOTE: This property will not be serialized. It can only be populated by the server.
1418
- */
1419
- readonly value?: LabServicesSku[];
1420
- /**
1421
- * The link to get the next page of sku results.
1422
- * NOTE: This property will not be serialized. It can only be populated by the server.
1423
- */
1424
- readonly nextLink?: string;
1425
- }
1426
-
1427
- /** Paged list of schedules. */
1428
- export declare interface PagedSchedules {
1429
- /**
1430
- * The array page of schedule results.
1431
- * NOTE: This property will not be serialized. It can only be populated by the server.
1432
- */
1433
- readonly value?: Schedule[];
1434
- /**
1435
- * The link to get the next page of schedule results.
1436
- * NOTE: This property will not be serialized. It can only be populated by the server.
1437
- */
1438
- readonly nextLink?: string;
1439
- }
1440
-
1441
- /** Paged list of users. */
1442
- export declare interface PagedUsers {
1443
- /**
1444
- * The array page of user results.
1445
- * NOTE: This property will not be serialized. It can only be populated by the server.
1446
- */
1447
- readonly value?: User[];
1448
- /**
1449
- * The link to get the next page of image results.
1450
- * NOTE: This property will not be serialized. It can only be populated by the server.
1451
- */
1452
- readonly nextLink?: string;
1453
- }
1454
-
1455
- /** Paged list of lab services virtual machines. */
1456
- export declare interface PagedVirtualMachines {
1457
- /**
1458
- * The array page of virtual machine results.
1459
- * NOTE: This property will not be serialized. It can only be populated by the server.
1460
- */
1461
- readonly value?: VirtualMachine[];
1462
- /**
1463
- * The link to get the next page of virtual machine results.
1464
- * NOTE: This property will not be serialized. It can only be populated by the server.
1465
- */
1466
- readonly nextLink?: string;
1467
- }
1468
-
1469
- /** Defines values for ProvisioningState. */
1470
- export declare type ProvisioningState = "Creating" | "Updating" | "Deleting" | "Succeeded" | "Failed" | "Locked";
1471
-
1472
- /** The resource model definition for a Azure Resource Manager proxy resource. It will not have tags and a location */
1473
- export declare interface ProxyResource extends Resource {
1474
- }
1475
-
1476
- /** Defines values for RecurrenceFrequency. */
1477
- export declare type RecurrenceFrequency = "Daily" | "Weekly";
1478
-
1479
- /** Recurrence pattern of a lab schedule. */
1480
- export declare interface RecurrencePattern {
1481
- /** The frequency of the recurrence. */
1482
- frequency: RecurrenceFrequency;
1483
- /** The week days the schedule runs. Used for when the Frequency is set to Weekly. */
1484
- weekDays?: WeekDay[];
1485
- /** The interval to invoke the schedule on. For example, interval = 2 and RecurrenceFrequency.Daily will run every 2 days. When no interval is supplied, an interval of 1 is used. */
1486
- interval?: number;
1487
- /** When the recurrence will expire. This date is inclusive. */
1488
- expirationDate: Date;
1489
- }
1490
-
1491
- /** Defines values for RegistrationState. */
1492
- export declare type RegistrationState = "Registered" | "NotRegistered";
1493
-
1494
- /** Body of a reset password request. */
1495
- export declare interface ResetPasswordBody {
1496
- /** The user whose password is being reset */
1497
- username: string;
1498
- /** The password */
1499
- password: string;
1500
- }
1501
-
1502
- /** Common fields that are returned in the response for all Azure Resource Manager resources */
1503
- export declare interface Resource {
1504
- /**
1505
- * Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
1506
- * NOTE: This property will not be serialized. It can only be populated by the server.
1507
- */
1508
- readonly id?: string;
1509
- /**
1510
- * The name of the resource
1511
- * NOTE: This property will not be serialized. It can only be populated by the server.
1512
- */
1513
- readonly name?: string;
1514
- /**
1515
- * The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
1516
- * NOTE: This property will not be serialized. It can only be populated by the server.
1517
- */
1518
- readonly type?: string;
1519
- }
1520
-
1521
- /**
1522
- * Defines values for RestrictionReasonCode. \
1523
- * {@link KnownRestrictionReasonCode} can be used interchangeably with RestrictionReasonCode,
1524
- * this enum contains the known values that the service supports.
1525
- * ### Known values supported by the service
1526
- * **QuotaId** \
1527
- * **NotAvailableForSubscription**
1528
- */
1529
- export declare type RestrictionReasonCode = string;
1530
-
1531
- /**
1532
- * Defines values for RestrictionType. \
1533
- * {@link KnownRestrictionType} can be used interchangeably with RestrictionType,
1534
- * this enum contains the known values that the service supports.
1535
- * ### Known values supported by the service
1536
- * **Location**
1537
- */
1538
- export declare type RestrictionType = string;
1539
-
1540
- /** The lab user list management profile. */
1541
- export declare interface RosterProfile {
1542
- /** The AAD group ID which this lab roster is populated from. Having this set enables AAD sync mode. */
1543
- activeDirectoryGroupId?: string;
1544
- /** The unique context identifier for the lab in the lms. */
1545
- ltiContextId?: string;
1546
- /** The base URI identifying the lms instance. */
1547
- lmsInstance?: string;
1548
- /** The unique id of the azure lab services tool in the lms. */
1549
- ltiClientId?: string;
1550
- /** The uri of the names and roles service endpoint on the lms for the class attached to this lab. */
1551
- ltiRosterEndpoint?: string;
1552
- }
1553
-
1554
- /** Body for the save image POST */
1555
- export declare interface SaveImageBody {
1556
- /** The name for the image we create. */
1557
- name?: string;
1558
- /** The ID of the lab virtual machine you want to save an image from. */
1559
- labVirtualMachineId?: string;
1560
- }
1561
-
1562
- /**
1563
- * Defines values for ScaleType. \
1564
- * {@link KnownScaleType} can be used interchangeably with ScaleType,
1565
- * this enum contains the known values that the service supports.
1566
- * ### Known values supported by the service
1567
- * **None**: The capacity is not adjustable in any way. \
1568
- * **Manual**: The user must manually scale this SKU in and out. \
1569
- * **Automatic**: The user is permitted to scale this SKU in and out.
1570
- */
1571
- export declare type ScaleType = string;
1572
-
1573
- /** Schedule for automatically turning virtual machines in a lab on and off at specified times. */
1574
- export declare interface Schedule extends ProxyResource {
1575
- /**
1576
- * Metadata pertaining to creation and last modification of the schedule.
1577
- * NOTE: This property will not be serialized. It can only be populated by the server.
1578
- */
1579
- readonly systemData?: SystemData;
1580
- /** When lab user virtual machines will be started. Timestamp offsets will be ignored and timeZoneId is used instead. */
1581
- startAt?: Date;
1582
- /** When lab user virtual machines will be stopped. Timestamp offsets will be ignored and timeZoneId is used instead. */
1583
- stopAt?: Date;
1584
- /** The recurrence pattern of the scheduled actions. */
1585
- recurrencePattern?: RecurrencePattern;
1586
- /** The IANA timezone id for the schedule. */
1587
- timeZoneId?: string;
1588
- /** Notes for this schedule. */
1589
- notes?: string;
1590
- /**
1591
- * Current provisioning state of the schedule.
1592
- * NOTE: This property will not be serialized. It can only be populated by the server.
1593
- */
1594
- readonly provisioningState?: ProvisioningState;
1595
- }
1596
-
1597
- /** Schedule resource properties */
1598
- export declare interface ScheduleProperties extends ScheduleUpdateProperties {
1599
- /**
1600
- * Current provisioning state of the schedule.
1601
- * NOTE: This property will not be serialized. It can only be populated by the server.
1602
- */
1603
- readonly provisioningState?: ProvisioningState;
1604
- }
1605
-
1606
- /** Interface representing a Schedules. */
1607
- export declare interface Schedules {
1608
- /**
1609
- * Returns a list of all schedules for a lab.
1610
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
1611
- * @param labName The name of the lab that uniquely identifies it within containing lab plan. Used in
1612
- * resource URIs.
1613
- * @param options The options parameters.
1614
- */
1615
- listByLab(resourceGroupName: string, labName: string, options?: SchedulesListByLabOptionalParams): PagedAsyncIterableIterator<Schedule>;
1616
- /**
1617
- * Returns the properties of a lab Schedule.
1618
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
1619
- * @param labName The name of the lab that uniquely identifies it within containing lab plan. Used in
1620
- * resource URIs.
1621
- * @param scheduleName The name of the schedule that uniquely identifies it within containing lab. Used
1622
- * in resource URIs.
1623
- * @param options The options parameters.
1624
- */
1625
- get(resourceGroupName: string, labName: string, scheduleName: string, options?: SchedulesGetOptionalParams): Promise<SchedulesGetResponse>;
1626
- /**
1627
- * Operation to create or update a lab schedule.
1628
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
1629
- * @param labName The name of the lab that uniquely identifies it within containing lab plan. Used in
1630
- * resource URIs.
1631
- * @param scheduleName The name of the schedule that uniquely identifies it within containing lab. Used
1632
- * in resource URIs.
1633
- * @param body The request body.
1634
- * @param options The options parameters.
1635
- */
1636
- createOrUpdate(resourceGroupName: string, labName: string, scheduleName: string, body: Schedule, options?: SchedulesCreateOrUpdateOptionalParams): Promise<SchedulesCreateOrUpdateResponse>;
1637
- /**
1638
- * Operation to update a lab schedule.
1639
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
1640
- * @param labName The name of the lab that uniquely identifies it within containing lab plan. Used in
1641
- * resource URIs.
1642
- * @param scheduleName The name of the schedule that uniquely identifies it within containing lab. Used
1643
- * in resource URIs.
1644
- * @param body The request body.
1645
- * @param options The options parameters.
1646
- */
1647
- update(resourceGroupName: string, labName: string, scheduleName: string, body: ScheduleUpdate, options?: SchedulesUpdateOptionalParams): Promise<SchedulesUpdateResponse>;
1648
- /**
1649
- * Operation to delete a schedule resource.
1650
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
1651
- * @param labName The name of the lab that uniquely identifies it within containing lab plan. Used in
1652
- * resource URIs.
1653
- * @param scheduleName The name of the schedule that uniquely identifies it within containing lab. Used
1654
- * in resource URIs.
1655
- * @param options The options parameters.
1656
- */
1657
- beginDelete(resourceGroupName: string, labName: string, scheduleName: string, options?: SchedulesDeleteOptionalParams): Promise<PollerLike<PollOperationState<void>, void>>;
1658
- /**
1659
- * Operation to delete a schedule resource.
1660
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
1661
- * @param labName The name of the lab that uniquely identifies it within containing lab plan. Used in
1662
- * resource URIs.
1663
- * @param scheduleName The name of the schedule that uniquely identifies it within containing lab. Used
1664
- * in resource URIs.
1665
- * @param options The options parameters.
1666
- */
1667
- beginDeleteAndWait(resourceGroupName: string, labName: string, scheduleName: string, options?: SchedulesDeleteOptionalParams): Promise<void>;
1668
- }
1669
-
1670
- /** Optional parameters. */
1671
- export declare interface SchedulesCreateOrUpdateOptionalParams extends coreClient.OperationOptions {
1672
- }
1673
-
1674
- /** Contains response data for the createOrUpdate operation. */
1675
- export declare type SchedulesCreateOrUpdateResponse = Schedule;
1676
-
1677
- /** Optional parameters. */
1678
- export declare interface SchedulesDeleteOptionalParams extends coreClient.OperationOptions {
1679
- /** Delay to wait until next poll, in milliseconds. */
1680
- updateIntervalInMs?: number;
1681
- /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
1682
- resumeFrom?: string;
1683
- }
1684
-
1685
- /** Optional parameters. */
1686
- export declare interface SchedulesGetOptionalParams extends coreClient.OperationOptions {
1687
- }
1688
-
1689
- /** Contains response data for the get operation. */
1690
- export declare type SchedulesGetResponse = Schedule;
1691
-
1692
- /** Optional parameters. */
1693
- export declare interface SchedulesListByLabNextOptionalParams extends coreClient.OperationOptions {
1694
- }
1695
-
1696
- /** Contains response data for the listByLabNext operation. */
1697
- export declare type SchedulesListByLabNextResponse = PagedSchedules;
1698
-
1699
- /** Optional parameters. */
1700
- export declare interface SchedulesListByLabOptionalParams extends coreClient.OperationOptions {
1701
- /** The filter to apply to the operation. */
1702
- filter?: string;
1703
- }
1704
-
1705
- /** Contains response data for the listByLab operation. */
1706
- export declare type SchedulesListByLabResponse = PagedSchedules;
1707
-
1708
- /** Optional parameters. */
1709
- export declare interface SchedulesUpdateOptionalParams extends coreClient.OperationOptions {
1710
- }
1711
-
1712
- /** Contains response data for the update operation. */
1713
- export declare type SchedulesUpdateResponse = Schedule;
1714
-
1715
- /** Schedule for automatically turning virtual machines in a lab on and off at specified times. Used for updates. */
1716
- export declare interface ScheduleUpdate {
1717
- /** When lab user virtual machines will be started. Timestamp offsets will be ignored and timeZoneId is used instead. */
1718
- startAt?: Date;
1719
- /** When lab user virtual machines will be stopped. Timestamp offsets will be ignored and timeZoneId is used instead. */
1720
- stopAt?: Date;
1721
- /** The recurrence pattern of the scheduled actions. */
1722
- recurrencePattern?: RecurrencePattern;
1723
- /** The IANA timezone id for the schedule. */
1724
- timeZoneId?: string;
1725
- /** Notes for this schedule. */
1726
- notes?: string;
1727
- }
1728
-
1729
- /** Schedule resource properties used for updates. */
1730
- export declare interface ScheduleUpdateProperties {
1731
- /** When lab user virtual machines will be started. Timestamp offsets will be ignored and timeZoneId is used instead. */
1732
- startAt?: Date;
1733
- /** When lab user virtual machines will be stopped. Timestamp offsets will be ignored and timeZoneId is used instead. */
1734
- stopAt?: Date;
1735
- /** The recurrence pattern of the scheduled actions. */
1736
- recurrencePattern?: RecurrencePattern;
1737
- /** The IANA timezone id for the schedule. */
1738
- timeZoneId?: string;
1739
- /** Notes for this schedule. */
1740
- notes?: string;
1741
- }
1742
-
1743
- /** The lab security profile. */
1744
- export declare interface SecurityProfile {
1745
- /**
1746
- * The registration code for the lab.
1747
- * NOTE: This property will not be serialized. It can only be populated by the server.
1748
- */
1749
- readonly registrationCode?: string;
1750
- /** Whether any user or only specified users can register to a lab. */
1751
- openAccess?: EnableState;
1752
- }
1753
-
1754
- /** Defines values for ShutdownOnIdleMode. */
1755
- export declare type ShutdownOnIdleMode = "None" | "UserAbsence" | "LowUsage";
1756
-
1757
- /** The resource model definition representing SKU */
1758
- export declare interface Sku {
1759
- /** The name of the SKU. Ex - P3. It is typically a letter+number code */
1760
- name: string;
1761
- /** This field is required to be implemented by the Resource Provider if the service has more than one tier, but is not required on a PUT. */
1762
- tier?: SkuTier;
1763
- /** The SKU size. When the name field is the combination of tier and some other value, this would be the standalone code. */
1764
- size?: string;
1765
- /** If the service has different generations of hardware, for the same SKU, then that can be captured here. */
1766
- family?: string;
1767
- /** If the SKU supports scale out/in then the capacity integer should be included. If scale out/in is not possible for the resource this may be omitted. */
1768
- capacity?: number;
1769
- }
1770
-
1771
- /** Interface representing a Skus. */
1772
- export declare interface Skus {
1773
- /**
1774
- * Returns a list of Azure Lab Services resource SKUs.
1775
- * @param options The options parameters.
1776
- */
1777
- list(options?: SkusListOptionalParams): PagedAsyncIterableIterator<LabServicesSku>;
1778
- }
1779
-
1780
- /** Optional parameters. */
1781
- export declare interface SkusListNextOptionalParams extends coreClient.OperationOptions {
1782
- }
1783
-
1784
- /** Contains response data for the listNext operation. */
1785
- export declare type SkusListNextResponse = PagedLabServicesSkus;
1786
-
1787
- /** Optional parameters. */
1788
- export declare interface SkusListOptionalParams extends coreClient.OperationOptions {
1789
- /** The filter to apply to the operation. */
1790
- filter?: string;
1791
- }
1792
-
1793
- /** Contains response data for the list operation. */
1794
- export declare type SkusListResponse = PagedLabServicesSkus;
1795
-
1796
- /** Defines values for SkuTier. */
1797
- export declare type SkuTier = "Free" | "Basic" | "Standard" | "Premium";
1798
-
1799
- /** Support contact information and instructions. */
1800
- export declare interface SupportInfo {
1801
- /** Support web address. */
1802
- url?: string;
1803
- /** Support contact email address. */
1804
- email?: string;
1805
- /** Support contact phone number. */
1806
- phone?: string;
1807
- /** Support instructions. */
1808
- instructions?: string;
1809
- }
1810
-
1811
- /** Metadata pertaining to creation and last modification of the resource. */
1812
- export declare interface SystemData {
1813
- /** The identity that created the resource. */
1814
- createdBy?: string;
1815
- /** The type of identity that created the resource. */
1816
- createdByType?: CreatedByType;
1817
- /** The timestamp of resource creation (UTC). */
1818
- createdAt?: Date;
1819
- /** The identity that last modified the resource. */
1820
- lastModifiedBy?: string;
1821
- /** The type of identity that last modified the resource. */
1822
- lastModifiedByType?: CreatedByType;
1823
- /** The timestamp of resource last modification (UTC) */
1824
- lastModifiedAt?: Date;
1825
- }
1826
-
1827
- /** The resource model definition for an Azure Resource Manager tracked top level resource which has 'tags' and a 'location' */
1828
- export declare interface TrackedResource extends Resource {
1829
- /** Resource tags. */
1830
- tags?: {
1831
- [propertyName: string]: string;
1832
- };
1833
- /** The geo-location where the resource lives */
1834
- location: string;
1835
- }
1836
-
1837
- /** Base tracked resource type for all PATCH updates. */
1838
- export declare interface TrackedResourceUpdate {
1839
- /** Resource tags. */
1840
- tags?: string[];
1841
- }
1842
-
1843
- /** The core usage details. */
1844
- export declare interface Usage {
1845
- /** The current usage. */
1846
- currentValue?: number;
1847
- /** The limit integer. */
1848
- limit?: number;
1849
- /** The unit details. */
1850
- unit?: UsageUnit;
1851
- /** The name. */
1852
- name?: UsageName;
1853
- /** The fully qualified arm resource id. */
1854
- id?: string;
1855
- }
1856
-
1857
- /** The Usage Names. */
1858
- export declare interface UsageName {
1859
- /** The localized name of the resource. */
1860
- localizedValue?: string;
1861
- /** The instances of the resource. */
1862
- skuInstances?: string[];
1863
- /** The name of the resource. */
1864
- value?: string;
1865
- }
1866
-
1867
- /** Interface representing a Usages. */
1868
- export declare interface Usages {
1869
- /**
1870
- * Returns list of usage per SKU family for the specified subscription in the specified region.
1871
- * @param location The location name.
1872
- * @param options The options parameters.
1873
- */
1874
- listByLocation(location: string, options?: UsagesListByLocationOptionalParams): PagedAsyncIterableIterator<Usage>;
1875
- }
1876
-
1877
- /** Optional parameters. */
1878
- export declare interface UsagesListByLocationNextOptionalParams extends coreClient.OperationOptions {
1879
- }
1880
-
1881
- /** Contains response data for the listByLocationNext operation. */
1882
- export declare type UsagesListByLocationNextResponse = ListUsagesResult;
1883
-
1884
- /** Optional parameters. */
1885
- export declare interface UsagesListByLocationOptionalParams extends coreClient.OperationOptions {
1886
- /** The filter to apply to the operation. */
1887
- filter?: string;
1888
- }
1889
-
1890
- /** Contains response data for the listByLocation operation. */
1891
- export declare type UsagesListByLocationResponse = ListUsagesResult;
1892
-
1893
- /**
1894
- * Defines values for UsageUnit. \
1895
- * {@link KnownUsageUnit} can be used interchangeably with UsageUnit,
1896
- * this enum contains the known values that the service supports.
1897
- * ### Known values supported by the service
1898
- * **Count**
1899
- */
1900
- export declare type UsageUnit = string;
1901
-
1902
- /** User of a lab that can register for and use virtual machines within the lab. */
1903
- export declare interface User extends ProxyResource {
1904
- /**
1905
- * Metadata pertaining to creation and last modification of the user resource.
1906
- * NOTE: This property will not be serialized. It can only be populated by the server.
1907
- */
1908
- readonly systemData?: SystemData;
1909
- /** The amount of usage quota time the user gets in addition to the lab usage quota. */
1910
- additionalUsageQuota?: string;
1911
- /**
1912
- * Current provisioning state of the user resource.
1913
- * NOTE: This property will not be serialized. It can only be populated by the server.
1914
- */
1915
- readonly provisioningState?: ProvisioningState;
1916
- /**
1917
- * Display name of the user, for example user's full name.
1918
- * NOTE: This property will not be serialized. It can only be populated by the server.
1919
- */
1920
- readonly displayName?: string;
1921
- /** Email address of the user. */
1922
- email: string;
1923
- /**
1924
- * State of the user's registration within the lab.
1925
- * NOTE: This property will not be serialized. It can only be populated by the server.
1926
- */
1927
- readonly registrationState?: RegistrationState;
1928
- /**
1929
- * State of the invitation message for the user.
1930
- * NOTE: This property will not be serialized. It can only be populated by the server.
1931
- */
1932
- readonly invitationState?: InvitationState;
1933
- /**
1934
- * Date and time when the invitation message was sent to the user.
1935
- * NOTE: This property will not be serialized. It can only be populated by the server.
1936
- */
1937
- readonly invitationSent?: Date;
1938
- /**
1939
- * How long the user has used their virtual machines in this lab.
1940
- * NOTE: This property will not be serialized. It can only be populated by the server.
1941
- */
1942
- readonly totalUsage?: string;
1943
- }
1944
-
1945
- /** User resource properties */
1946
- export declare interface UserProperties extends UserUpdateProperties {
1947
- /**
1948
- * Current provisioning state of the user resource.
1949
- * NOTE: This property will not be serialized. It can only be populated by the server.
1950
- */
1951
- readonly provisioningState?: ProvisioningState;
1952
- /**
1953
- * Display name of the user, for example user's full name.
1954
- * NOTE: This property will not be serialized. It can only be populated by the server.
1955
- */
1956
- readonly displayName?: string;
1957
- /** Email address of the user. */
1958
- email: string;
1959
- /**
1960
- * State of the user's registration within the lab.
1961
- * NOTE: This property will not be serialized. It can only be populated by the server.
1962
- */
1963
- readonly registrationState?: RegistrationState;
1964
- /**
1965
- * State of the invitation message for the user.
1966
- * NOTE: This property will not be serialized. It can only be populated by the server.
1967
- */
1968
- readonly invitationState?: InvitationState;
1969
- /**
1970
- * Date and time when the invitation message was sent to the user.
1971
- * NOTE: This property will not be serialized. It can only be populated by the server.
1972
- */
1973
- readonly invitationSent?: Date;
1974
- /**
1975
- * How long the user has used their virtual machines in this lab.
1976
- * NOTE: This property will not be serialized. It can only be populated by the server.
1977
- */
1978
- readonly totalUsage?: string;
1979
- }
1980
-
1981
- /** Interface representing a Users. */
1982
- export declare interface Users {
1983
- /**
1984
- * Returns a list of all users for a lab.
1985
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
1986
- * @param labName The name of the lab that uniquely identifies it within containing lab plan. Used in
1987
- * resource URIs.
1988
- * @param options The options parameters.
1989
- */
1990
- listByLab(resourceGroupName: string, labName: string, options?: UsersListByLabOptionalParams): PagedAsyncIterableIterator<User>;
1991
- /**
1992
- * Returns the properties of a lab user.
1993
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
1994
- * @param labName The name of the lab that uniquely identifies it within containing lab plan. Used in
1995
- * resource URIs.
1996
- * @param userName The name of the user that uniquely identifies it within containing lab. Used in
1997
- * resource URIs.
1998
- * @param options The options parameters.
1999
- */
2000
- get(resourceGroupName: string, labName: string, userName: string, options?: UsersGetOptionalParams): Promise<UsersGetResponse>;
2001
- /**
2002
- * Operation to create or update a lab user.
2003
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
2004
- * @param labName The name of the lab that uniquely identifies it within containing lab plan. Used in
2005
- * resource URIs.
2006
- * @param userName The name of the user that uniquely identifies it within containing lab. Used in
2007
- * resource URIs.
2008
- * @param body The request body.
2009
- * @param options The options parameters.
2010
- */
2011
- beginCreateOrUpdate(resourceGroupName: string, labName: string, userName: string, body: User, options?: UsersCreateOrUpdateOptionalParams): Promise<PollerLike<PollOperationState<UsersCreateOrUpdateResponse>, UsersCreateOrUpdateResponse>>;
2012
- /**
2013
- * Operation to create or update a lab user.
2014
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
2015
- * @param labName The name of the lab that uniquely identifies it within containing lab plan. Used in
2016
- * resource URIs.
2017
- * @param userName The name of the user that uniquely identifies it within containing lab. Used in
2018
- * resource URIs.
2019
- * @param body The request body.
2020
- * @param options The options parameters.
2021
- */
2022
- beginCreateOrUpdateAndWait(resourceGroupName: string, labName: string, userName: string, body: User, options?: UsersCreateOrUpdateOptionalParams): Promise<UsersCreateOrUpdateResponse>;
2023
- /**
2024
- * Operation to update a lab user.
2025
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
2026
- * @param labName The name of the lab that uniquely identifies it within containing lab plan. Used in
2027
- * resource URIs.
2028
- * @param userName The name of the user that uniquely identifies it within containing lab. Used in
2029
- * resource URIs.
2030
- * @param body The request body.
2031
- * @param options The options parameters.
2032
- */
2033
- beginUpdate(resourceGroupName: string, labName: string, userName: string, body: UserUpdate, options?: UsersUpdateOptionalParams): Promise<PollerLike<PollOperationState<UsersUpdateResponse>, UsersUpdateResponse>>;
2034
- /**
2035
- * Operation to update a lab user.
2036
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
2037
- * @param labName The name of the lab that uniquely identifies it within containing lab plan. Used in
2038
- * resource URIs.
2039
- * @param userName The name of the user that uniquely identifies it within containing lab. Used in
2040
- * resource URIs.
2041
- * @param body The request body.
2042
- * @param options The options parameters.
2043
- */
2044
- beginUpdateAndWait(resourceGroupName: string, labName: string, userName: string, body: UserUpdate, options?: UsersUpdateOptionalParams): Promise<UsersUpdateResponse>;
2045
- /**
2046
- * Operation to delete a user resource.
2047
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
2048
- * @param labName The name of the lab that uniquely identifies it within containing lab plan. Used in
2049
- * resource URIs.
2050
- * @param userName The name of the user that uniquely identifies it within containing lab. Used in
2051
- * resource URIs.
2052
- * @param options The options parameters.
2053
- */
2054
- beginDelete(resourceGroupName: string, labName: string, userName: string, options?: UsersDeleteOptionalParams): Promise<PollerLike<PollOperationState<void>, void>>;
2055
- /**
2056
- * Operation to delete a user resource.
2057
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
2058
- * @param labName The name of the lab that uniquely identifies it within containing lab plan. Used in
2059
- * resource URIs.
2060
- * @param userName The name of the user that uniquely identifies it within containing lab. Used in
2061
- * resource URIs.
2062
- * @param options The options parameters.
2063
- */
2064
- beginDeleteAndWait(resourceGroupName: string, labName: string, userName: string, options?: UsersDeleteOptionalParams): Promise<void>;
2065
- /**
2066
- * Operation to invite a user to a lab.
2067
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
2068
- * @param labName The name of the lab that uniquely identifies it within containing lab plan. Used in
2069
- * resource URIs.
2070
- * @param userName The name of the user that uniquely identifies it within containing lab. Used in
2071
- * resource URIs.
2072
- * @param body The request body.
2073
- * @param options The options parameters.
2074
- */
2075
- beginInvite(resourceGroupName: string, labName: string, userName: string, body: InviteBody, options?: UsersInviteOptionalParams): Promise<PollerLike<PollOperationState<void>, void>>;
2076
- /**
2077
- * Operation to invite a user to a lab.
2078
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
2079
- * @param labName The name of the lab that uniquely identifies it within containing lab plan. Used in
2080
- * resource URIs.
2081
- * @param userName The name of the user that uniquely identifies it within containing lab. Used in
2082
- * resource URIs.
2083
- * @param body The request body.
2084
- * @param options The options parameters.
2085
- */
2086
- beginInviteAndWait(resourceGroupName: string, labName: string, userName: string, body: InviteBody, options?: UsersInviteOptionalParams): Promise<void>;
2087
- }
2088
-
2089
- /** Optional parameters. */
2090
- export declare interface UsersCreateOrUpdateOptionalParams extends coreClient.OperationOptions {
2091
- /** Delay to wait until next poll, in milliseconds. */
2092
- updateIntervalInMs?: number;
2093
- /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
2094
- resumeFrom?: string;
2095
- }
2096
-
2097
- /** Contains response data for the createOrUpdate operation. */
2098
- export declare type UsersCreateOrUpdateResponse = User;
2099
-
2100
- /** Optional parameters. */
2101
- export declare interface UsersDeleteOptionalParams extends coreClient.OperationOptions {
2102
- /** Delay to wait until next poll, in milliseconds. */
2103
- updateIntervalInMs?: number;
2104
- /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
2105
- resumeFrom?: string;
2106
- }
2107
-
2108
- /** Optional parameters. */
2109
- export declare interface UsersGetOptionalParams extends coreClient.OperationOptions {
2110
- }
2111
-
2112
- /** Contains response data for the get operation. */
2113
- export declare type UsersGetResponse = User;
2114
-
2115
- /** Optional parameters. */
2116
- export declare interface UsersInviteOptionalParams extends coreClient.OperationOptions {
2117
- /** Delay to wait until next poll, in milliseconds. */
2118
- updateIntervalInMs?: number;
2119
- /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
2120
- resumeFrom?: string;
2121
- }
2122
-
2123
- /** Optional parameters. */
2124
- export declare interface UsersListByLabNextOptionalParams extends coreClient.OperationOptions {
2125
- }
2126
-
2127
- /** Contains response data for the listByLabNext operation. */
2128
- export declare type UsersListByLabNextResponse = PagedUsers;
2129
-
2130
- /** Optional parameters. */
2131
- export declare interface UsersListByLabOptionalParams extends coreClient.OperationOptions {
2132
- /** The filter to apply to the operation. */
2133
- filter?: string;
2134
- }
2135
-
2136
- /** Contains response data for the listByLab operation. */
2137
- export declare type UsersListByLabResponse = PagedUsers;
2138
-
2139
- /** Optional parameters. */
2140
- export declare interface UsersUpdateOptionalParams extends coreClient.OperationOptions {
2141
- /** Delay to wait until next poll, in milliseconds. */
2142
- updateIntervalInMs?: number;
2143
- /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
2144
- resumeFrom?: string;
2145
- }
2146
-
2147
- /** Contains response data for the update operation. */
2148
- export declare type UsersUpdateResponse = User;
2149
-
2150
- /** User of a lab that can register for and use virtual machines within the lab. Used for updates. */
2151
- export declare interface UserUpdate {
2152
- /** The amount of usage quota time the user gets in addition to the lab usage quota. */
2153
- additionalUsageQuota?: string;
2154
- }
2155
-
2156
- /** User resource properties used for updates. */
2157
- export declare interface UserUpdateProperties {
2158
- /** The amount of usage quota time the user gets in addition to the lab usage quota. */
2159
- additionalUsageQuota?: string;
2160
- }
2161
-
2162
- /** A lab virtual machine resource. */
2163
- export declare interface VirtualMachine extends ProxyResource {
2164
- /**
2165
- * System data of the Lab virtual machine.
2166
- * NOTE: This property will not be serialized. It can only be populated by the server.
2167
- */
2168
- readonly systemData?: SystemData;
2169
- /**
2170
- * Current provisioning state of the virtual machine.
2171
- * NOTE: This property will not be serialized. It can only be populated by the server.
2172
- */
2173
- readonly provisioningState?: ProvisioningState;
2174
- /**
2175
- * The current state of the virtual machine
2176
- * NOTE: This property will not be serialized. It can only be populated by the server.
2177
- */
2178
- readonly state?: VirtualMachineState;
2179
- /**
2180
- * Profile for information about connecting to the virtual machine.
2181
- * NOTE: This property will not be serialized. It can only be populated by the server.
2182
- */
2183
- readonly connectionProfile?: VirtualMachineConnectionProfile;
2184
- /**
2185
- * The lab user ID (not the PUID!) of who claimed the virtual machine.
2186
- * NOTE: This property will not be serialized. It can only be populated by the server.
2187
- */
2188
- readonly claimedByUserId?: string;
2189
- /**
2190
- * The type of this VM resource
2191
- * NOTE: This property will not be serialized. It can only be populated by the server.
2192
- */
2193
- readonly vmType?: VirtualMachineType;
2194
- }
2195
-
2196
- /** The additional capabilities for a lab VM. */
2197
- export declare interface VirtualMachineAdditionalCapabilities {
2198
- /** Flag to pre-install dedicated GPU drivers. */
2199
- installGpuDrivers?: EnableState;
2200
- }
2201
-
2202
- /** The connection information for the virtual machine */
2203
- export declare interface VirtualMachineConnectionProfile {
2204
- /**
2205
- * The private IP address of the virtual machine.
2206
- * NOTE: This property will not be serialized. It can only be populated by the server.
2207
- */
2208
- readonly privateIpAddress?: string;
2209
- /**
2210
- * Port and host name separated by semicolon for connecting via SSH protocol to the virtual machine.
2211
- * NOTE: This property will not be serialized. It can only be populated by the server.
2212
- */
2213
- readonly sshAuthority?: string;
2214
- /**
2215
- * URL for connecting via SSH protocol to the virtual machine in browser.
2216
- * NOTE: This property will not be serialized. It can only be populated by the server.
2217
- */
2218
- readonly sshInBrowserUrl?: string;
2219
- /**
2220
- * Port and host name separated by semicolon for connecting via RDP protocol to the virtual machine.
2221
- * NOTE: This property will not be serialized. It can only be populated by the server.
2222
- */
2223
- readonly rdpAuthority?: string;
2224
- /**
2225
- * URL for connecting via RDP protocol to the virtual machine in browser.
2226
- * NOTE: This property will not be serialized. It can only be populated by the server.
2227
- */
2228
- readonly rdpInBrowserUrl?: string;
2229
- /**
2230
- * The username used to log on to the virtual machine as admin.
2231
- * NOTE: This property will not be serialized. It can only be populated by the server.
2232
- */
2233
- readonly adminUsername?: string;
2234
- /**
2235
- * The username used to log on to the virtual machine as non-admin, if one exists.
2236
- * NOTE: This property will not be serialized. It can only be populated by the server.
2237
- */
2238
- readonly nonAdminUsername?: string;
2239
- }
2240
-
2241
- /** The base virtual machine configuration for a lab. */
2242
- export declare interface VirtualMachineProfile {
2243
- /** Indicates what lab virtual machines are created from. */
2244
- createOption: CreateOption;
2245
- /** The image configuration for lab virtual machines. */
2246
- imageReference: ImageReference;
2247
- /**
2248
- * The OS type of the image
2249
- * NOTE: This property will not be serialized. It can only be populated by the server.
2250
- */
2251
- readonly osType?: OsType;
2252
- /** The SKU for the lab. Defines the type of virtual machines used in the lab. */
2253
- sku: Sku;
2254
- /** Additional VM capabilities. */
2255
- additionalCapabilities?: VirtualMachineAdditionalCapabilities;
2256
- /** The initial quota alloted to each lab user. Must be a time span between 0 and 9999 hours. */
2257
- usageQuota: string;
2258
- /** Enabling this option will use the same password for all user VMs. */
2259
- useSharedPassword?: EnableState;
2260
- /** Credentials for the admin user on the VM. */
2261
- adminUser: Credentials;
2262
- /** Credentials for the non-admin user on the VM, if one exists. */
2263
- nonAdminUser?: Credentials;
2264
- }
2265
-
2266
- /** Interface representing a VirtualMachines. */
2267
- export declare interface VirtualMachines {
2268
- /**
2269
- * Returns a list of all virtual machines for a lab.
2270
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
2271
- * @param labName The name of the lab that uniquely identifies it within containing lab plan. Used in
2272
- * resource URIs.
2273
- * @param options The options parameters.
2274
- */
2275
- listByLab(resourceGroupName: string, labName: string, options?: VirtualMachinesListByLabOptionalParams): PagedAsyncIterableIterator<VirtualMachine>;
2276
- /**
2277
- * Returns the properties for a lab virtual machine.
2278
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
2279
- * @param labName The name of the lab that uniquely identifies it within containing lab plan. Used in
2280
- * resource URIs.
2281
- * @param virtualMachineName The ID of the virtual machine that uniquely identifies it within the
2282
- * containing lab. Used in resource URIs.
2283
- * @param options The options parameters.
2284
- */
2285
- get(resourceGroupName: string, labName: string, virtualMachineName: string, options?: VirtualMachinesGetOptionalParams): Promise<VirtualMachinesGetResponse>;
2286
- /**
2287
- * Action to start a lab virtual machine.
2288
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
2289
- * @param labName The name of the lab that uniquely identifies it within containing lab plan. Used in
2290
- * resource URIs.
2291
- * @param virtualMachineName The ID of the virtual machine that uniquely identifies it within the
2292
- * containing lab. Used in resource URIs.
2293
- * @param options The options parameters.
2294
- */
2295
- beginStart(resourceGroupName: string, labName: string, virtualMachineName: string, options?: VirtualMachinesStartOptionalParams): Promise<PollerLike<PollOperationState<void>, void>>;
2296
- /**
2297
- * Action to start a lab virtual machine.
2298
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
2299
- * @param labName The name of the lab that uniquely identifies it within containing lab plan. Used in
2300
- * resource URIs.
2301
- * @param virtualMachineName The ID of the virtual machine that uniquely identifies it within the
2302
- * containing lab. Used in resource URIs.
2303
- * @param options The options parameters.
2304
- */
2305
- beginStartAndWait(resourceGroupName: string, labName: string, virtualMachineName: string, options?: VirtualMachinesStartOptionalParams): Promise<void>;
2306
- /**
2307
- * Action to stop a lab virtual machine.
2308
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
2309
- * @param labName The name of the lab that uniquely identifies it within containing lab plan. Used in
2310
- * resource URIs.
2311
- * @param virtualMachineName The ID of the virtual machine that uniquely identifies it within the
2312
- * containing lab. Used in resource URIs.
2313
- * @param options The options parameters.
2314
- */
2315
- beginStop(resourceGroupName: string, labName: string, virtualMachineName: string, options?: VirtualMachinesStopOptionalParams): Promise<PollerLike<PollOperationState<void>, void>>;
2316
- /**
2317
- * Action to stop a lab virtual machine.
2318
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
2319
- * @param labName The name of the lab that uniquely identifies it within containing lab plan. Used in
2320
- * resource URIs.
2321
- * @param virtualMachineName The ID of the virtual machine that uniquely identifies it within the
2322
- * containing lab. Used in resource URIs.
2323
- * @param options The options parameters.
2324
- */
2325
- beginStopAndWait(resourceGroupName: string, labName: string, virtualMachineName: string, options?: VirtualMachinesStopOptionalParams): Promise<void>;
2326
- /**
2327
- * Re-image a lab virtual machine. The virtual machine will be deleted and recreated using the latest
2328
- * published snapshot of the reference environment of the lab.
2329
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
2330
- * @param labName The name of the lab that uniquely identifies it within containing lab plan. Used in
2331
- * resource URIs.
2332
- * @param virtualMachineName The ID of the virtual machine that uniquely identifies it within the
2333
- * containing lab. Used in resource URIs.
2334
- * @param options The options parameters.
2335
- */
2336
- beginReimage(resourceGroupName: string, labName: string, virtualMachineName: string, options?: VirtualMachinesReimageOptionalParams): Promise<PollerLike<PollOperationState<void>, void>>;
2337
- /**
2338
- * Re-image a lab virtual machine. The virtual machine will be deleted and recreated using the latest
2339
- * published snapshot of the reference environment of the lab.
2340
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
2341
- * @param labName The name of the lab that uniquely identifies it within containing lab plan. Used in
2342
- * resource URIs.
2343
- * @param virtualMachineName The ID of the virtual machine that uniquely identifies it within the
2344
- * containing lab. Used in resource URIs.
2345
- * @param options The options parameters.
2346
- */
2347
- beginReimageAndWait(resourceGroupName: string, labName: string, virtualMachineName: string, options?: VirtualMachinesReimageOptionalParams): Promise<void>;
2348
- /**
2349
- * Action to redeploy a lab virtual machine to a different compute node. For troubleshooting
2350
- * connectivity.
2351
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
2352
- * @param labName The name of the lab that uniquely identifies it within containing lab plan. Used in
2353
- * resource URIs.
2354
- * @param virtualMachineName The ID of the virtual machine that uniquely identifies it within the
2355
- * containing lab. Used in resource URIs.
2356
- * @param options The options parameters.
2357
- */
2358
- beginRedeploy(resourceGroupName: string, labName: string, virtualMachineName: string, options?: VirtualMachinesRedeployOptionalParams): Promise<PollerLike<PollOperationState<void>, void>>;
2359
- /**
2360
- * Action to redeploy a lab virtual machine to a different compute node. For troubleshooting
2361
- * connectivity.
2362
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
2363
- * @param labName The name of the lab that uniquely identifies it within containing lab plan. Used in
2364
- * resource URIs.
2365
- * @param virtualMachineName The ID of the virtual machine that uniquely identifies it within the
2366
- * containing lab. Used in resource URIs.
2367
- * @param options The options parameters.
2368
- */
2369
- beginRedeployAndWait(resourceGroupName: string, labName: string, virtualMachineName: string, options?: VirtualMachinesRedeployOptionalParams): Promise<void>;
2370
- /**
2371
- * Resets a lab virtual machine password.
2372
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
2373
- * @param labName The name of the lab that uniquely identifies it within containing lab plan. Used in
2374
- * resource URIs.
2375
- * @param virtualMachineName The ID of the virtual machine that uniquely identifies it within the
2376
- * containing lab. Used in resource URIs.
2377
- * @param body The request body.
2378
- * @param options The options parameters.
2379
- */
2380
- beginResetPassword(resourceGroupName: string, labName: string, virtualMachineName: string, body: ResetPasswordBody, options?: VirtualMachinesResetPasswordOptionalParams): Promise<PollerLike<PollOperationState<void>, void>>;
2381
- /**
2382
- * Resets a lab virtual machine password.
2383
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
2384
- * @param labName The name of the lab that uniquely identifies it within containing lab plan. Used in
2385
- * resource URIs.
2386
- * @param virtualMachineName The ID of the virtual machine that uniquely identifies it within the
2387
- * containing lab. Used in resource URIs.
2388
- * @param body The request body.
2389
- * @param options The options parameters.
2390
- */
2391
- beginResetPasswordAndWait(resourceGroupName: string, labName: string, virtualMachineName: string, body: ResetPasswordBody, options?: VirtualMachinesResetPasswordOptionalParams): Promise<void>;
2392
- }
2393
-
2394
- /** Optional parameters. */
2395
- export declare interface VirtualMachinesGetOptionalParams extends coreClient.OperationOptions {
2396
- }
2397
-
2398
- /** Contains response data for the get operation. */
2399
- export declare type VirtualMachinesGetResponse = VirtualMachine;
2400
-
2401
- /** Optional parameters. */
2402
- export declare interface VirtualMachinesListByLabNextOptionalParams extends coreClient.OperationOptions {
2403
- }
2404
-
2405
- /** Contains response data for the listByLabNext operation. */
2406
- export declare type VirtualMachinesListByLabNextResponse = PagedVirtualMachines;
2407
-
2408
- /** Optional parameters. */
2409
- export declare interface VirtualMachinesListByLabOptionalParams extends coreClient.OperationOptions {
2410
- /** The filter to apply to the operation. */
2411
- filter?: string;
2412
- }
2413
-
2414
- /** Contains response data for the listByLab operation. */
2415
- export declare type VirtualMachinesListByLabResponse = PagedVirtualMachines;
2416
-
2417
- /** Optional parameters. */
2418
- export declare interface VirtualMachinesRedeployOptionalParams extends coreClient.OperationOptions {
2419
- /** Delay to wait until next poll, in milliseconds. */
2420
- updateIntervalInMs?: number;
2421
- /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
2422
- resumeFrom?: string;
2423
- }
2424
-
2425
- /** Optional parameters. */
2426
- export declare interface VirtualMachinesReimageOptionalParams extends coreClient.OperationOptions {
2427
- /** Delay to wait until next poll, in milliseconds. */
2428
- updateIntervalInMs?: number;
2429
- /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
2430
- resumeFrom?: string;
2431
- }
2432
-
2433
- /** Optional parameters. */
2434
- export declare interface VirtualMachinesResetPasswordOptionalParams extends coreClient.OperationOptions {
2435
- /** Delay to wait until next poll, in milliseconds. */
2436
- updateIntervalInMs?: number;
2437
- /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
2438
- resumeFrom?: string;
2439
- }
2440
-
2441
- /** Optional parameters. */
2442
- export declare interface VirtualMachinesStartOptionalParams extends coreClient.OperationOptions {
2443
- /** Delay to wait until next poll, in milliseconds. */
2444
- updateIntervalInMs?: number;
2445
- /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
2446
- resumeFrom?: string;
2447
- }
2448
-
2449
- /** Optional parameters. */
2450
- export declare interface VirtualMachinesStopOptionalParams extends coreClient.OperationOptions {
2451
- /** Delay to wait until next poll, in milliseconds. */
2452
- updateIntervalInMs?: number;
2453
- /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
2454
- resumeFrom?: string;
2455
- }
2456
-
2457
- /** Defines values for VirtualMachineState. */
2458
- export declare type VirtualMachineState = "Stopped" | "Starting" | "Running" | "Stopping" | "ResettingPassword" | "Reimaging" | "Redeploying";
2459
-
2460
- /** Defines values for VirtualMachineType. */
2461
- export declare type VirtualMachineType = "User" | "Template";
2462
-
2463
- /** Defines values for WeekDay. */
2464
- export declare type WeekDay = "Sunday" | "Monday" | "Tuesday" | "Wednesday" | "Thursday" | "Friday" | "Saturday";
2465
-
2466
- export { }
1
+ import * as coreClient from "@azure/core-client";
2
+ /** Paged list of Lab services virtual machine images. */
3
+ export interface PagedImages {
4
+ /**
5
+ * The array page of virtual machine images.
6
+ * NOTE: This property will not be serialized. It can only be populated by the server.
7
+ */
8
+ readonly value?: Image[];
9
+ /**
10
+ * The link to get the next page of image results.
11
+ * NOTE: This property will not be serialized. It can only be populated by the server.
12
+ */
13
+ readonly nextLink?: string;
14
+ }
15
+ /** Metadata pertaining to creation and last modification of the resource. */
16
+ export interface SystemData {
17
+ /** The identity that created the resource. */
18
+ createdBy?: string;
19
+ /** The type of identity that created the resource. */
20
+ createdByType?: CreatedByType;
21
+ /** The timestamp of resource creation (UTC). */
22
+ createdAt?: Date;
23
+ /** The identity that last modified the resource. */
24
+ lastModifiedBy?: string;
25
+ /** The type of identity that last modified the resource. */
26
+ lastModifiedByType?: CreatedByType;
27
+ /** The timestamp of resource last modification (UTC) */
28
+ lastModifiedAt?: Date;
29
+ }
30
+ /** Properties of an image resource update */
31
+ export interface ImageUpdateProperties {
32
+ /** Is the image enabled */
33
+ enabledState?: EnableState;
34
+ }
35
+ /** Common fields that are returned in the response for all Azure Resource Manager resources */
36
+ export interface Resource {
37
+ /**
38
+ * Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
39
+ * NOTE: This property will not be serialized. It can only be populated by the server.
40
+ */
41
+ readonly id?: string;
42
+ /**
43
+ * The name of the resource
44
+ * NOTE: This property will not be serialized. It can only be populated by the server.
45
+ */
46
+ readonly name?: string;
47
+ /**
48
+ * The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
49
+ * NOTE: This property will not be serialized. It can only be populated by the server.
50
+ */
51
+ readonly type?: string;
52
+ }
53
+ /** Common error response for all Azure Resource Manager APIs to return error details for failed operations. (This also follows the OData error response format.). */
54
+ export interface ErrorResponse {
55
+ /** The error object. */
56
+ error?: ErrorDetail;
57
+ }
58
+ /** The error detail. */
59
+ export interface ErrorDetail {
60
+ /**
61
+ * The error code.
62
+ * NOTE: This property will not be serialized. It can only be populated by the server.
63
+ */
64
+ readonly code?: string;
65
+ /**
66
+ * The error message.
67
+ * NOTE: This property will not be serialized. It can only be populated by the server.
68
+ */
69
+ readonly message?: string;
70
+ /**
71
+ * The error target.
72
+ * NOTE: This property will not be serialized. It can only be populated by the server.
73
+ */
74
+ readonly target?: string;
75
+ /**
76
+ * The error details.
77
+ * NOTE: This property will not be serialized. It can only be populated by the server.
78
+ */
79
+ readonly details?: ErrorDetail[];
80
+ /**
81
+ * The error additional info.
82
+ * NOTE: This property will not be serialized. It can only be populated by the server.
83
+ */
84
+ readonly additionalInfo?: ErrorAdditionalInfo[];
85
+ }
86
+ /** The resource management error additional info. */
87
+ export interface ErrorAdditionalInfo {
88
+ /**
89
+ * The additional info type.
90
+ * NOTE: This property will not be serialized. It can only be populated by the server.
91
+ */
92
+ readonly type?: string;
93
+ /**
94
+ * The additional info.
95
+ * NOTE: This property will not be serialized. It can only be populated by the server.
96
+ */
97
+ readonly info?: Record<string, unknown>;
98
+ }
99
+ /** Lab services virtual machine image for updates. */
100
+ export interface ImageUpdate {
101
+ /** Is the image enabled */
102
+ enabledState?: EnableState;
103
+ }
104
+ /** Paged list of lab plans. */
105
+ export interface PagedLabPlans {
106
+ /**
107
+ * The array page of lab plans.
108
+ * NOTE: This property will not be serialized. It can only be populated by the server.
109
+ */
110
+ readonly value?: LabPlan[];
111
+ /**
112
+ * The link to get the next page of lab plan results.
113
+ * NOTE: This property will not be serialized. It can only be populated by the server.
114
+ */
115
+ readonly nextLink?: string;
116
+ }
117
+ /** Lab plan resource properties for updates */
118
+ export interface LabPlanUpdateProperties {
119
+ /** The default lab connection profile. This can be changed on a lab resource and only provides a default profile. */
120
+ defaultConnectionProfile?: ConnectionProfile;
121
+ /** The default lab shutdown profile. This can be changed on a lab resource and only provides a default profile. */
122
+ defaultAutoShutdownProfile?: AutoShutdownProfile;
123
+ /** The lab plan network profile. To enforce lab network policies they must be defined here and cannot be changed when there are existing labs associated with this lab plan. */
124
+ defaultNetworkProfile?: LabPlanNetworkProfile;
125
+ /** The allowed regions for the lab creator to use when creating labs using this lab plan. */
126
+ allowedRegions?: string[];
127
+ /** Resource ID of the Shared Image Gallery attached to this lab plan. When saving a lab template virtual machine image it will be persisted in this gallery. Shared images from the gallery can be made available to use when creating new labs. */
128
+ sharedGalleryId?: string;
129
+ /** Support contact information and instructions for users of the lab plan. This information is displayed to lab owners and virtual machine users for all labs in the lab plan. */
130
+ supportInfo?: SupportInfo;
131
+ /** Base Url of the lms instance this lab plan can link lab rosters against. */
132
+ linkedLmsInstance?: string;
133
+ }
134
+ /** Connection profile for how users connect to lab virtual machines. */
135
+ export interface ConnectionProfile {
136
+ /** The enabled access level for Web Access over SSH. */
137
+ webSshAccess?: ConnectionType;
138
+ /** The enabled access level for Web Access over RDP. */
139
+ webRdpAccess?: ConnectionType;
140
+ /** The enabled access level for Client Access over SSH. */
141
+ clientSshAccess?: ConnectionType;
142
+ /** The enabled access level for Client Access over RDP. */
143
+ clientRdpAccess?: ConnectionType;
144
+ }
145
+ /** Profile for how to handle shutting down virtual machines. */
146
+ export interface AutoShutdownProfile {
147
+ /** Whether shutdown on disconnect is enabled */
148
+ shutdownOnDisconnect?: EnableState;
149
+ /** Whether a VM will get shutdown when it hasn't been connected to after a period of time. */
150
+ shutdownWhenNotConnected?: EnableState;
151
+ /** Whether a VM will get shutdown when it has idled for a period of time. */
152
+ shutdownOnIdle?: ShutdownOnIdleMode;
153
+ /** The amount of time a VM will stay running after a user disconnects if this behavior is enabled. */
154
+ disconnectDelay?: string;
155
+ /** The amount of time a VM will stay running before it is shutdown if no connection is made and this behavior is enabled. */
156
+ noConnectDelay?: string;
157
+ /** The amount of time a VM will idle before it is shutdown if this behavior is enabled. */
158
+ idleDelay?: string;
159
+ }
160
+ /** Profile for how to handle networking for Lab Plans. */
161
+ export interface LabPlanNetworkProfile {
162
+ /** The external subnet resource id */
163
+ subnetId?: string;
164
+ }
165
+ /** Support contact information and instructions. */
166
+ export interface SupportInfo {
167
+ /** Support web address. */
168
+ url?: string;
169
+ /** Support contact email address. */
170
+ email?: string;
171
+ /** Support contact phone number. */
172
+ phone?: string;
173
+ /** Support instructions. */
174
+ instructions?: string;
175
+ }
176
+ /** Identity for the resource. */
177
+ export interface Identity {
178
+ /**
179
+ * The principal ID of resource identity.
180
+ * NOTE: This property will not be serialized. It can only be populated by the server.
181
+ */
182
+ readonly principalId?: string;
183
+ /**
184
+ * The tenant ID of resource.
185
+ * NOTE: This property will not be serialized. It can only be populated by the server.
186
+ */
187
+ readonly tenantId?: string;
188
+ /** The identity type. */
189
+ type?: "SystemAssigned";
190
+ }
191
+ /** Base tracked resource type for all PATCH updates. */
192
+ export interface TrackedResourceUpdate {
193
+ /** Resource tags. */
194
+ tags?: string[];
195
+ }
196
+ /** Body for the save image POST */
197
+ export interface SaveImageBody {
198
+ /** The name for the image we create. */
199
+ name?: string;
200
+ /** The ID of the lab virtual machine you want to save an image from. */
201
+ labVirtualMachineId?: string;
202
+ }
203
+ /** A list of REST API operations supported by an Azure Resource Provider. It contains an URL link to get the next set of results. */
204
+ export interface OperationListResult {
205
+ /**
206
+ * List of operations supported by the resource provider
207
+ * NOTE: This property will not be serialized. It can only be populated by the server.
208
+ */
209
+ readonly value?: Operation[];
210
+ /**
211
+ * URL to get the next set of operation list results (if there are any).
212
+ * NOTE: This property will not be serialized. It can only be populated by the server.
213
+ */
214
+ readonly nextLink?: string;
215
+ }
216
+ /** Details of a REST API operation, returned from the Resource Provider Operations API */
217
+ export interface Operation {
218
+ /**
219
+ * The name of the operation, as per Resource-Based Access Control (RBAC). Examples: "Microsoft.Compute/virtualMachines/write", "Microsoft.Compute/virtualMachines/capture/action"
220
+ * NOTE: This property will not be serialized. It can only be populated by the server.
221
+ */
222
+ readonly name?: string;
223
+ /**
224
+ * Whether the operation applies to data-plane. This is "true" for data-plane operations and "false" for ARM/control-plane operations.
225
+ * NOTE: This property will not be serialized. It can only be populated by the server.
226
+ */
227
+ readonly isDataAction?: boolean;
228
+ /** Localized display information for this particular operation. */
229
+ display?: OperationDisplay;
230
+ /**
231
+ * The intended executor of the operation; as in Resource Based Access Control (RBAC) and audit logs UX. Default value is "user,system"
232
+ * NOTE: This property will not be serialized. It can only be populated by the server.
233
+ */
234
+ readonly origin?: Origin;
235
+ /**
236
+ * Enum. Indicates the action type. "Internal" refers to actions that are for internal only APIs.
237
+ * NOTE: This property will not be serialized. It can only be populated by the server.
238
+ */
239
+ readonly actionType?: ActionType;
240
+ }
241
+ /** Localized display information for this particular operation. */
242
+ export interface OperationDisplay {
243
+ /**
244
+ * The localized friendly form of the resource provider name, e.g. "Microsoft Monitoring Insights" or "Microsoft Compute".
245
+ * NOTE: This property will not be serialized. It can only be populated by the server.
246
+ */
247
+ readonly provider?: string;
248
+ /**
249
+ * The localized friendly name of the resource type related to this operation. E.g. "Virtual Machines" or "Job Schedule Collections".
250
+ * NOTE: This property will not be serialized. It can only be populated by the server.
251
+ */
252
+ readonly resource?: string;
253
+ /**
254
+ * The concise, localized friendly name for the operation; suitable for dropdowns. E.g. "Create or Update Virtual Machine", "Restart Virtual Machine".
255
+ * NOTE: This property will not be serialized. It can only be populated by the server.
256
+ */
257
+ readonly operation?: string;
258
+ /**
259
+ * The short, localized friendly description of the operation; suitable for tool tips and detailed views.
260
+ * NOTE: This property will not be serialized. It can only be populated by the server.
261
+ */
262
+ readonly description?: string;
263
+ }
264
+ /** Paged list of labs. */
265
+ export interface PagedLabs {
266
+ /**
267
+ * The array page of lab results.
268
+ * NOTE: This property will not be serialized. It can only be populated by the server.
269
+ */
270
+ readonly value?: Lab[];
271
+ /**
272
+ * The link to get the next page of image results.
273
+ * NOTE: This property will not be serialized. It can only be populated by the server.
274
+ */
275
+ readonly nextLink?: string;
276
+ }
277
+ /** Profile for how to handle networking for Labs. */
278
+ export interface LabNetworkProfile {
279
+ /** The external subnet resource id */
280
+ subnetId?: string;
281
+ /** The external load balancer resource id */
282
+ loadBalancerId?: string;
283
+ /** The external public IP resource id */
284
+ publicIpId?: string;
285
+ }
286
+ /** Properties of a lab resource used for updates. */
287
+ export interface LabUpdateProperties {
288
+ /** The resource auto shutdown configuration for the lab. This controls whether actions are taken on resources that are sitting idle. */
289
+ autoShutdownProfile?: AutoShutdownProfile;
290
+ /** The connection profile for the lab. This controls settings such as web access to lab resources or whether RDP or SSH ports are open. */
291
+ connectionProfile?: ConnectionProfile;
292
+ /** The profile used for creating lab virtual machines. */
293
+ virtualMachineProfile?: VirtualMachineProfile;
294
+ /** The lab security profile. */
295
+ securityProfile?: SecurityProfile;
296
+ /** The lab user list management profile. */
297
+ rosterProfile?: RosterProfile;
298
+ /** The ID of the lab plan. Used during resource creation to provide defaults and acts as a permission container when creating a lab via labs.azure.com. Setting a labPlanId on an existing lab provides organization.. */
299
+ labPlanId?: string;
300
+ /** The title of the lab. */
301
+ title?: string;
302
+ /** The description of the lab. */
303
+ description?: string;
304
+ }
305
+ /** The base virtual machine configuration for a lab. */
306
+ export interface VirtualMachineProfile {
307
+ /** Indicates what lab virtual machines are created from. */
308
+ createOption: CreateOption;
309
+ /** The image configuration for lab virtual machines. */
310
+ imageReference: ImageReference;
311
+ /**
312
+ * The OS type of the image
313
+ * NOTE: This property will not be serialized. It can only be populated by the server.
314
+ */
315
+ readonly osType?: OsType;
316
+ /** The SKU for the lab. Defines the type of virtual machines used in the lab. */
317
+ sku: Sku;
318
+ /** Additional VM capabilities. */
319
+ additionalCapabilities?: VirtualMachineAdditionalCapabilities;
320
+ /** The initial quota alloted to each lab user. Must be a time span between 0 and 9999 hours. */
321
+ usageQuota: string;
322
+ /** Enabling this option will use the same password for all user VMs. */
323
+ useSharedPassword?: EnableState;
324
+ /** Credentials for the admin user on the VM. */
325
+ adminUser: Credentials;
326
+ /** Credentials for the non-admin user on the VM, if one exists. */
327
+ nonAdminUser?: Credentials;
328
+ }
329
+ /** Image reference information. Used in the virtual machine profile. */
330
+ export interface ImageReference {
331
+ /** Image resource ID */
332
+ id?: string;
333
+ /** The image offer if applicable. */
334
+ offer?: string;
335
+ /** The image publisher */
336
+ publisher?: string;
337
+ /** The image SKU */
338
+ sku?: string;
339
+ /** The image version specified on creation. */
340
+ version?: string;
341
+ /**
342
+ * The actual version of the image after use.
343
+ * NOTE: This property will not be serialized. It can only be populated by the server.
344
+ */
345
+ readonly exactVersion?: string;
346
+ }
347
+ /** The resource model definition representing SKU */
348
+ export interface Sku {
349
+ /** The name of the SKU. Ex - P3. It is typically a letter+number code */
350
+ name: string;
351
+ /** This field is required to be implemented by the Resource Provider if the service has more than one tier, but is not required on a PUT. */
352
+ tier?: SkuTier;
353
+ /** The SKU size. When the name field is the combination of tier and some other value, this would be the standalone code. */
354
+ size?: string;
355
+ /** If the service has different generations of hardware, for the same SKU, then that can be captured here. */
356
+ family?: string;
357
+ /** If the SKU supports scale out/in then the capacity integer should be included. If scale out/in is not possible for the resource this may be omitted. */
358
+ capacity?: number;
359
+ }
360
+ /** The additional capabilities for a lab VM. */
361
+ export interface VirtualMachineAdditionalCapabilities {
362
+ /** Flag to pre-install dedicated GPU drivers. */
363
+ installGpuDrivers?: EnableState;
364
+ }
365
+ /** Credentials for a user on a lab VM. */
366
+ export interface Credentials {
367
+ /** The username to use when signing in to lab VMs. */
368
+ username: string;
369
+ /** The password for the user. This is required for the TemplateVM createOption. */
370
+ password?: string;
371
+ }
372
+ /** The lab security profile. */
373
+ export interface SecurityProfile {
374
+ /**
375
+ * The registration code for the lab.
376
+ * NOTE: This property will not be serialized. It can only be populated by the server.
377
+ */
378
+ readonly registrationCode?: string;
379
+ /** Whether any user or only specified users can register to a lab. */
380
+ openAccess?: EnableState;
381
+ }
382
+ /** The lab user list management profile. */
383
+ export interface RosterProfile {
384
+ /** The AAD group ID which this lab roster is populated from. Having this set enables AAD sync mode. */
385
+ activeDirectoryGroupId?: string;
386
+ /** The unique context identifier for the lab in the lms. */
387
+ ltiContextId?: string;
388
+ /** The base URI identifying the lms instance. */
389
+ lmsInstance?: string;
390
+ /** The unique id of the azure lab services tool in the lms. */
391
+ ltiClientId?: string;
392
+ /** The uri of the names and roles service endpoint on the lms for the class attached to this lab. */
393
+ ltiRosterEndpoint?: string;
394
+ }
395
+ /** A long running operation result */
396
+ export interface OperationResult {
397
+ /**
398
+ * Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
399
+ * NOTE: This property will not be serialized. It can only be populated by the server.
400
+ */
401
+ readonly id?: string;
402
+ /**
403
+ * The name of the resource
404
+ * NOTE: This property will not be serialized. It can only be populated by the server.
405
+ */
406
+ readonly name?: string;
407
+ /** The operation status */
408
+ status: OperationStatus;
409
+ /** Start time */
410
+ startTime?: Date;
411
+ /** End time */
412
+ endTime?: Date;
413
+ /** Percent completion */
414
+ percentComplete?: number;
415
+ /** The error for a failure if the operation failed. */
416
+ error?: ErrorDetail;
417
+ }
418
+ /** Paged list of schedules. */
419
+ export interface PagedSchedules {
420
+ /**
421
+ * The array page of schedule results.
422
+ * NOTE: This property will not be serialized. It can only be populated by the server.
423
+ */
424
+ readonly value?: Schedule[];
425
+ /**
426
+ * The link to get the next page of schedule results.
427
+ * NOTE: This property will not be serialized. It can only be populated by the server.
428
+ */
429
+ readonly nextLink?: string;
430
+ }
431
+ /** Schedule resource properties used for updates. */
432
+ export interface ScheduleUpdateProperties {
433
+ /** When lab user virtual machines will be started. Timestamp offsets will be ignored and timeZoneId is used instead. */
434
+ startAt?: Date;
435
+ /** When lab user virtual machines will be stopped. Timestamp offsets will be ignored and timeZoneId is used instead. */
436
+ stopAt?: Date;
437
+ /** The recurrence pattern of the scheduled actions. */
438
+ recurrencePattern?: RecurrencePattern;
439
+ /** The IANA timezone id for the schedule. */
440
+ timeZoneId?: string;
441
+ /** Notes for this schedule. */
442
+ notes?: string;
443
+ }
444
+ /** Recurrence pattern of a lab schedule. */
445
+ export interface RecurrencePattern {
446
+ /** The frequency of the recurrence. */
447
+ frequency: RecurrenceFrequency;
448
+ /** The week days the schedule runs. Used for when the Frequency is set to Weekly. */
449
+ weekDays?: WeekDay[];
450
+ /** The interval to invoke the schedule on. For example, interval = 2 and RecurrenceFrequency.Daily will run every 2 days. When no interval is supplied, an interval of 1 is used. */
451
+ interval?: number;
452
+ /** When the recurrence will expire. This date is inclusive. */
453
+ expirationDate: Date;
454
+ }
455
+ /** Schedule for automatically turning virtual machines in a lab on and off at specified times. Used for updates. */
456
+ export interface ScheduleUpdate {
457
+ /** When lab user virtual machines will be started. Timestamp offsets will be ignored and timeZoneId is used instead. */
458
+ startAt?: Date;
459
+ /** When lab user virtual machines will be stopped. Timestamp offsets will be ignored and timeZoneId is used instead. */
460
+ stopAt?: Date;
461
+ /** The recurrence pattern of the scheduled actions. */
462
+ recurrencePattern?: RecurrencePattern;
463
+ /** The IANA timezone id for the schedule. */
464
+ timeZoneId?: string;
465
+ /** Notes for this schedule. */
466
+ notes?: string;
467
+ }
468
+ /** Paged list of lab services skus. */
469
+ export interface PagedLabServicesSkus {
470
+ /**
471
+ * The array page of sku results.
472
+ * NOTE: This property will not be serialized. It can only be populated by the server.
473
+ */
474
+ readonly value?: LabServicesSku[];
475
+ /**
476
+ * The link to get the next page of sku results.
477
+ * NOTE: This property will not be serialized. It can only be populated by the server.
478
+ */
479
+ readonly nextLink?: string;
480
+ }
481
+ /** Azure Lab Services resource SKUs */
482
+ export interface LabServicesSku {
483
+ /**
484
+ * The lab services resource type.
485
+ * NOTE: This property will not be serialized. It can only be populated by the server.
486
+ */
487
+ readonly resourceType?: string;
488
+ /**
489
+ * The name of the SKU.
490
+ * NOTE: This property will not be serialized. It can only be populated by the server.
491
+ */
492
+ readonly name?: string;
493
+ /**
494
+ * The tier of the SKU.
495
+ * NOTE: This property will not be serialized. It can only be populated by the server.
496
+ */
497
+ readonly tier?: LabServicesSkuTier;
498
+ /**
499
+ * The SKU size.
500
+ * NOTE: This property will not be serialized. It can only be populated by the server.
501
+ */
502
+ readonly size?: string;
503
+ /**
504
+ * The family of the SKU.
505
+ * NOTE: This property will not be serialized. It can only be populated by the server.
506
+ */
507
+ readonly family?: string;
508
+ /** The scale out/in options of the SKU. */
509
+ capacity?: LabServicesSkuCapacity;
510
+ /**
511
+ * The capabilities of the SKU.
512
+ * NOTE: This property will not be serialized. It can only be populated by the server.
513
+ */
514
+ readonly capabilities?: LabServicesSkuCapabilities[];
515
+ /**
516
+ * List of locations that are available for a size.
517
+ * NOTE: This property will not be serialized. It can only be populated by the server.
518
+ */
519
+ readonly locations?: string[];
520
+ /**
521
+ * Metadata for retrieving price info of a lab services SKUs.
522
+ * NOTE: This property will not be serialized. It can only be populated by the server.
523
+ */
524
+ readonly costs?: LabServicesSkuCost[];
525
+ /**
526
+ * Restrictions of a lab services SKUs.
527
+ * NOTE: This property will not be serialized. It can only be populated by the server.
528
+ */
529
+ readonly restrictions?: LabServicesSkuRestrictions[];
530
+ }
531
+ /** The scale out/in options of the SKU. */
532
+ export interface LabServicesSkuCapacity {
533
+ /**
534
+ * The default capacity for this resource.
535
+ * NOTE: This property will not be serialized. It can only be populated by the server.
536
+ */
537
+ readonly default?: number;
538
+ /**
539
+ * The lowest permitted capacity for this resource.
540
+ * NOTE: This property will not be serialized. It can only be populated by the server.
541
+ */
542
+ readonly minimum?: number;
543
+ /**
544
+ * The highest permitted capacity for this resource.
545
+ * NOTE: This property will not be serialized. It can only be populated by the server.
546
+ */
547
+ readonly maximum?: number;
548
+ /**
549
+ * The localized name of the resource.
550
+ * NOTE: This property will not be serialized. It can only be populated by the server.
551
+ */
552
+ readonly scaleType?: ScaleType;
553
+ }
554
+ /** The array of capabilities of a lab services SKU. */
555
+ export interface LabServicesSkuCapabilities {
556
+ /**
557
+ * The name of the capability for a SKU.
558
+ * NOTE: This property will not be serialized. It can only be populated by the server.
559
+ */
560
+ readonly name?: string;
561
+ /**
562
+ * The value of the capability for a SKU.
563
+ * NOTE: This property will not be serialized. It can only be populated by the server.
564
+ */
565
+ readonly value?: string;
566
+ }
567
+ /** The array of costs of a lab services SKU. */
568
+ export interface LabServicesSkuCost {
569
+ /**
570
+ * The meter id.
571
+ * NOTE: This property will not be serialized. It can only be populated by the server.
572
+ */
573
+ readonly meterId?: string;
574
+ /**
575
+ * The quantity of units charged.
576
+ * NOTE: This property will not be serialized. It can only be populated by the server.
577
+ */
578
+ readonly quantity?: number;
579
+ /**
580
+ * The extended unit.
581
+ * NOTE: This property will not be serialized. It can only be populated by the server.
582
+ */
583
+ readonly extendedUnit?: string;
584
+ }
585
+ /** The restriction details. */
586
+ export interface LabServicesSkuRestrictions {
587
+ /**
588
+ * The type of restriction.
589
+ * NOTE: This property will not be serialized. It can only be populated by the server.
590
+ */
591
+ readonly type?: RestrictionType;
592
+ /**
593
+ * The values of the restriction.
594
+ * NOTE: This property will not be serialized. It can only be populated by the server.
595
+ */
596
+ readonly values?: string[];
597
+ /**
598
+ * The reason for the restriction.
599
+ * NOTE: This property will not be serialized. It can only be populated by the server.
600
+ */
601
+ readonly reasonCode?: RestrictionReasonCode;
602
+ }
603
+ /** List of Core Usages. */
604
+ export interface ListUsagesResult {
605
+ /** The array page of Usages. */
606
+ value?: Usage[];
607
+ /**
608
+ * The link to get the next page of Usage result.
609
+ * NOTE: This property will not be serialized. It can only be populated by the server.
610
+ */
611
+ readonly nextLink?: string;
612
+ }
613
+ /** The core usage details. */
614
+ export interface Usage {
615
+ /** The current usage. */
616
+ currentValue?: number;
617
+ /** The limit integer. */
618
+ limit?: number;
619
+ /** The unit details. */
620
+ unit?: UsageUnit;
621
+ /** The name. */
622
+ name?: UsageName;
623
+ /** The fully qualified arm resource id. */
624
+ id?: string;
625
+ }
626
+ /** The Usage Names. */
627
+ export interface UsageName {
628
+ /** The localized name of the resource. */
629
+ localizedValue?: string;
630
+ /** The instances of the resource. */
631
+ skuInstances?: string[];
632
+ /** The name of the resource. */
633
+ value?: string;
634
+ }
635
+ /** Paged list of users. */
636
+ export interface PagedUsers {
637
+ /**
638
+ * The array page of user results.
639
+ * NOTE: This property will not be serialized. It can only be populated by the server.
640
+ */
641
+ readonly value?: User[];
642
+ /**
643
+ * The link to get the next page of image results.
644
+ * NOTE: This property will not be serialized. It can only be populated by the server.
645
+ */
646
+ readonly nextLink?: string;
647
+ }
648
+ /** User resource properties used for updates. */
649
+ export interface UserUpdateProperties {
650
+ /** The amount of usage quota time the user gets in addition to the lab usage quota. */
651
+ additionalUsageQuota?: string;
652
+ }
653
+ /** User of a lab that can register for and use virtual machines within the lab. Used for updates. */
654
+ export interface UserUpdate {
655
+ /** The amount of usage quota time the user gets in addition to the lab usage quota. */
656
+ additionalUsageQuota?: string;
657
+ }
658
+ /** Body for a user invite request */
659
+ export interface InviteBody {
660
+ /** Custom text for the invite email. */
661
+ text?: string;
662
+ }
663
+ /** Paged list of lab services virtual machines. */
664
+ export interface PagedVirtualMachines {
665
+ /**
666
+ * The array page of virtual machine results.
667
+ * NOTE: This property will not be serialized. It can only be populated by the server.
668
+ */
669
+ readonly value?: VirtualMachine[];
670
+ /**
671
+ * The link to get the next page of virtual machine results.
672
+ * NOTE: This property will not be serialized. It can only be populated by the server.
673
+ */
674
+ readonly nextLink?: string;
675
+ }
676
+ /** The connection information for the virtual machine */
677
+ export interface VirtualMachineConnectionProfile {
678
+ /**
679
+ * The private IP address of the virtual machine.
680
+ * NOTE: This property will not be serialized. It can only be populated by the server.
681
+ */
682
+ readonly privateIpAddress?: string;
683
+ /**
684
+ * Port and host name separated by semicolon for connecting via SSH protocol to the virtual machine.
685
+ * NOTE: This property will not be serialized. It can only be populated by the server.
686
+ */
687
+ readonly sshAuthority?: string;
688
+ /**
689
+ * URL for connecting via SSH protocol to the virtual machine in browser.
690
+ * NOTE: This property will not be serialized. It can only be populated by the server.
691
+ */
692
+ readonly sshInBrowserUrl?: string;
693
+ /**
694
+ * Port and host name separated by semicolon for connecting via RDP protocol to the virtual machine.
695
+ * NOTE: This property will not be serialized. It can only be populated by the server.
696
+ */
697
+ readonly rdpAuthority?: string;
698
+ /**
699
+ * URL for connecting via RDP protocol to the virtual machine in browser.
700
+ * NOTE: This property will not be serialized. It can only be populated by the server.
701
+ */
702
+ readonly rdpInBrowserUrl?: string;
703
+ /**
704
+ * The username used to log on to the virtual machine as admin.
705
+ * NOTE: This property will not be serialized. It can only be populated by the server.
706
+ */
707
+ readonly adminUsername?: string;
708
+ /**
709
+ * The username used to log on to the virtual machine as non-admin, if one exists.
710
+ * NOTE: This property will not be serialized. It can only be populated by the server.
711
+ */
712
+ readonly nonAdminUsername?: string;
713
+ }
714
+ /** Body of a reset password request. */
715
+ export interface ResetPasswordBody {
716
+ /** The user whose password is being reset */
717
+ username: string;
718
+ /** The password */
719
+ password: string;
720
+ }
721
+ /** Properties of an image resource. */
722
+ export interface ImageProperties extends ImageUpdateProperties {
723
+ /**
724
+ * Current provisioning state of the image.
725
+ * NOTE: This property will not be serialized. It can only be populated by the server.
726
+ */
727
+ readonly provisioningState?: ProvisioningState;
728
+ /**
729
+ * The image display name.
730
+ * NOTE: This property will not be serialized. It can only be populated by the server.
731
+ */
732
+ readonly displayName?: string;
733
+ /**
734
+ * A description of the image.
735
+ * NOTE: This property will not be serialized. It can only be populated by the server.
736
+ */
737
+ readonly description?: string;
738
+ /**
739
+ * URL of the image icon.
740
+ * NOTE: This property will not be serialized. It can only be populated by the server.
741
+ */
742
+ readonly iconUrl?: string;
743
+ /**
744
+ * The image author.
745
+ * NOTE: This property will not be serialized. It can only be populated by the server.
746
+ */
747
+ readonly author?: string;
748
+ /**
749
+ * The OS Type of the image.
750
+ * NOTE: This property will not be serialized. It can only be populated by the server.
751
+ */
752
+ readonly osType?: OsType;
753
+ /**
754
+ * The ID of marketplace plan associated with the image (optional).
755
+ * NOTE: This property will not be serialized. It can only be populated by the server.
756
+ */
757
+ readonly plan?: string;
758
+ /**
759
+ * The status of image terms of use (enabled = accepted, disabled = not accepted).
760
+ * NOTE: This property will not be serialized. It can only be populated by the server.
761
+ */
762
+ readonly termsStatus?: EnableState;
763
+ /**
764
+ * The ID of an offer associated with the image.
765
+ * NOTE: This property will not be serialized. It can only be populated by the server.
766
+ */
767
+ readonly offer?: string;
768
+ /**
769
+ * The ID of the publisher of the image.
770
+ * NOTE: This property will not be serialized. It can only be populated by the server.
771
+ */
772
+ readonly publisher?: string;
773
+ /**
774
+ * The image SKU.
775
+ * NOTE: This property will not be serialized. It can only be populated by the server.
776
+ */
777
+ readonly sku?: string;
778
+ /**
779
+ * The image version.
780
+ * NOTE: This property will not be serialized. It can only be populated by the server.
781
+ */
782
+ readonly version?: string;
783
+ /**
784
+ * The ID for the image in the shared gallery.
785
+ * NOTE: This property will not be serialized. It can only be populated by the server.
786
+ */
787
+ readonly sharedGalleryId?: string;
788
+ /** The available regions of the image in the shared gallery. */
789
+ availableRegions?: string[];
790
+ /**
791
+ * The OS State of the image.
792
+ * NOTE: This property will not be serialized. It can only be populated by the server.
793
+ */
794
+ readonly osState?: OsState;
795
+ }
796
+ /** The resource model definition for a Azure Resource Manager proxy resource. It will not have tags and a location */
797
+ export interface ProxyResource extends Resource {
798
+ }
799
+ /** The resource model definition for an Azure Resource Manager tracked top level resource which has 'tags' and a 'location' */
800
+ export interface TrackedResource extends Resource {
801
+ /** Resource tags. */
802
+ tags?: {
803
+ [propertyName: string]: string;
804
+ };
805
+ /** The geo-location where the resource lives */
806
+ location: string;
807
+ }
808
+ /** Lab plan resource properties */
809
+ export interface LabPlanProperties extends LabPlanUpdateProperties {
810
+ /**
811
+ * Current provisioning state of the lab plan.
812
+ * NOTE: This property will not be serialized. It can only be populated by the server.
813
+ */
814
+ readonly provisioningState?: ProvisioningState;
815
+ }
816
+ /** Contains lab configuration and default settings. This variant is used for PATCH. */
817
+ export interface LabPlanUpdate extends TrackedResourceUpdate {
818
+ /** Managed Identity Information */
819
+ identity?: Identity;
820
+ /** The default lab connection profile. This can be changed on a lab resource and only provides a default profile. */
821
+ defaultConnectionProfile?: ConnectionProfile;
822
+ /** The default lab shutdown profile. This can be changed on a lab resource and only provides a default profile. */
823
+ defaultAutoShutdownProfile?: AutoShutdownProfile;
824
+ /** The lab plan network profile. To enforce lab network policies they must be defined here and cannot be changed when there are existing labs associated with this lab plan. */
825
+ defaultNetworkProfile?: LabPlanNetworkProfile;
826
+ /** The allowed regions for the lab creator to use when creating labs using this lab plan. */
827
+ allowedRegions?: string[];
828
+ /** Resource ID of the Shared Image Gallery attached to this lab plan. When saving a lab template virtual machine image it will be persisted in this gallery. Shared images from the gallery can be made available to use when creating new labs. */
829
+ sharedGalleryId?: string;
830
+ /** Support contact information and instructions for users of the lab plan. This information is displayed to lab owners and virtual machine users for all labs in the lab plan. */
831
+ supportInfo?: SupportInfo;
832
+ /** Base Url of the lms instance this lab plan can link lab rosters against. */
833
+ linkedLmsInstance?: string;
834
+ }
835
+ /** The lab resource for updates. */
836
+ export interface LabUpdate extends TrackedResourceUpdate {
837
+ /** The resource auto shutdown configuration for the lab. This controls whether actions are taken on resources that are sitting idle. */
838
+ autoShutdownProfile?: AutoShutdownProfile;
839
+ /** The connection profile for the lab. This controls settings such as web access to lab resources or whether RDP or SSH ports are open. */
840
+ connectionProfile?: ConnectionProfile;
841
+ /** The profile used for creating lab virtual machines. */
842
+ virtualMachineProfile?: VirtualMachineProfile;
843
+ /** The lab security profile. */
844
+ securityProfile?: SecurityProfile;
845
+ /** The lab user list management profile. */
846
+ rosterProfile?: RosterProfile;
847
+ /** The ID of the lab plan. Used during resource creation to provide defaults and acts as a permission container when creating a lab via labs.azure.com. Setting a labPlanId on an existing lab provides organization.. */
848
+ labPlanId?: string;
849
+ /** The title of the lab. */
850
+ title?: string;
851
+ /** The description of the lab. */
852
+ description?: string;
853
+ }
854
+ /** Properties of a lab resource. */
855
+ export interface LabProperties extends LabUpdateProperties {
856
+ /**
857
+ * Current provisioning state of the lab.
858
+ * NOTE: This property will not be serialized. It can only be populated by the server.
859
+ */
860
+ readonly provisioningState?: ProvisioningState;
861
+ /** The network profile for the lab, typically applied via a lab plan. This profile cannot be modified once a lab has been created. */
862
+ networkProfile?: LabNetworkProfile;
863
+ /**
864
+ * The lab state.
865
+ * NOTE: This property will not be serialized. It can only be populated by the server.
866
+ */
867
+ readonly state?: LabState;
868
+ }
869
+ /** Schedule resource properties */
870
+ export interface ScheduleProperties extends ScheduleUpdateProperties {
871
+ /**
872
+ * Current provisioning state of the schedule.
873
+ * NOTE: This property will not be serialized. It can only be populated by the server.
874
+ */
875
+ readonly provisioningState?: ProvisioningState;
876
+ }
877
+ /** User resource properties */
878
+ export interface UserProperties extends UserUpdateProperties {
879
+ /**
880
+ * Current provisioning state of the user resource.
881
+ * NOTE: This property will not be serialized. It can only be populated by the server.
882
+ */
883
+ readonly provisioningState?: ProvisioningState;
884
+ /**
885
+ * Display name of the user, for example user's full name.
886
+ * NOTE: This property will not be serialized. It can only be populated by the server.
887
+ */
888
+ readonly displayName?: string;
889
+ /** Email address of the user. */
890
+ email: string;
891
+ /**
892
+ * State of the user's registration within the lab.
893
+ * NOTE: This property will not be serialized. It can only be populated by the server.
894
+ */
895
+ readonly registrationState?: RegistrationState;
896
+ /**
897
+ * State of the invitation message for the user.
898
+ * NOTE: This property will not be serialized. It can only be populated by the server.
899
+ */
900
+ readonly invitationState?: InvitationState;
901
+ /**
902
+ * Date and time when the invitation message was sent to the user.
903
+ * NOTE: This property will not be serialized. It can only be populated by the server.
904
+ */
905
+ readonly invitationSent?: Date;
906
+ /**
907
+ * How long the user has used their virtual machines in this lab.
908
+ * NOTE: This property will not be serialized. It can only be populated by the server.
909
+ */
910
+ readonly totalUsage?: string;
911
+ }
912
+ /** Lab services virtual machine image */
913
+ export interface Image extends ProxyResource {
914
+ /**
915
+ * Metadata pertaining to creation and last modification of the image.
916
+ * NOTE: This property will not be serialized. It can only be populated by the server.
917
+ */
918
+ readonly systemData?: SystemData;
919
+ /** Is the image enabled */
920
+ enabledState?: EnableState;
921
+ /**
922
+ * Current provisioning state of the image.
923
+ * NOTE: This property will not be serialized. It can only be populated by the server.
924
+ */
925
+ readonly provisioningState?: ProvisioningState;
926
+ /**
927
+ * The image display name.
928
+ * NOTE: This property will not be serialized. It can only be populated by the server.
929
+ */
930
+ readonly displayName?: string;
931
+ /**
932
+ * A description of the image.
933
+ * NOTE: This property will not be serialized. It can only be populated by the server.
934
+ */
935
+ readonly description?: string;
936
+ /**
937
+ * URL of the image icon.
938
+ * NOTE: This property will not be serialized. It can only be populated by the server.
939
+ */
940
+ readonly iconUrl?: string;
941
+ /**
942
+ * The image author.
943
+ * NOTE: This property will not be serialized. It can only be populated by the server.
944
+ */
945
+ readonly author?: string;
946
+ /**
947
+ * The OS Type of the image.
948
+ * NOTE: This property will not be serialized. It can only be populated by the server.
949
+ */
950
+ readonly osType?: OsType;
951
+ /**
952
+ * The ID of marketplace plan associated with the image (optional).
953
+ * NOTE: This property will not be serialized. It can only be populated by the server.
954
+ */
955
+ readonly plan?: string;
956
+ /**
957
+ * The status of image terms of use (enabled = accepted, disabled = not accepted).
958
+ * NOTE: This property will not be serialized. It can only be populated by the server.
959
+ */
960
+ readonly termsStatus?: EnableState;
961
+ /**
962
+ * The ID of an offer associated with the image.
963
+ * NOTE: This property will not be serialized. It can only be populated by the server.
964
+ */
965
+ readonly offer?: string;
966
+ /**
967
+ * The ID of the publisher of the image.
968
+ * NOTE: This property will not be serialized. It can only be populated by the server.
969
+ */
970
+ readonly publisher?: string;
971
+ /**
972
+ * The image SKU.
973
+ * NOTE: This property will not be serialized. It can only be populated by the server.
974
+ */
975
+ readonly sku?: string;
976
+ /**
977
+ * The image version.
978
+ * NOTE: This property will not be serialized. It can only be populated by the server.
979
+ */
980
+ readonly version?: string;
981
+ /**
982
+ * The ID for the image in the shared gallery.
983
+ * NOTE: This property will not be serialized. It can only be populated by the server.
984
+ */
985
+ readonly sharedGalleryId?: string;
986
+ /** The available regions of the image in the shared gallery. */
987
+ availableRegions?: string[];
988
+ /**
989
+ * The OS State of the image.
990
+ * NOTE: This property will not be serialized. It can only be populated by the server.
991
+ */
992
+ readonly osState?: OsState;
993
+ }
994
+ /** Schedule for automatically turning virtual machines in a lab on and off at specified times. */
995
+ export interface Schedule extends ProxyResource {
996
+ /**
997
+ * Metadata pertaining to creation and last modification of the schedule.
998
+ * NOTE: This property will not be serialized. It can only be populated by the server.
999
+ */
1000
+ readonly systemData?: SystemData;
1001
+ /** When lab user virtual machines will be started. Timestamp offsets will be ignored and timeZoneId is used instead. */
1002
+ startAt?: Date;
1003
+ /** When lab user virtual machines will be stopped. Timestamp offsets will be ignored and timeZoneId is used instead. */
1004
+ stopAt?: Date;
1005
+ /** The recurrence pattern of the scheduled actions. */
1006
+ recurrencePattern?: RecurrencePattern;
1007
+ /** The IANA timezone id for the schedule. */
1008
+ timeZoneId?: string;
1009
+ /** Notes for this schedule. */
1010
+ notes?: string;
1011
+ /**
1012
+ * Current provisioning state of the schedule.
1013
+ * NOTE: This property will not be serialized. It can only be populated by the server.
1014
+ */
1015
+ readonly provisioningState?: ProvisioningState;
1016
+ }
1017
+ /** User of a lab that can register for and use virtual machines within the lab. */
1018
+ export interface User extends ProxyResource {
1019
+ /**
1020
+ * Metadata pertaining to creation and last modification of the user resource.
1021
+ * NOTE: This property will not be serialized. It can only be populated by the server.
1022
+ */
1023
+ readonly systemData?: SystemData;
1024
+ /** The amount of usage quota time the user gets in addition to the lab usage quota. */
1025
+ additionalUsageQuota?: string;
1026
+ /**
1027
+ * Current provisioning state of the user resource.
1028
+ * NOTE: This property will not be serialized. It can only be populated by the server.
1029
+ */
1030
+ readonly provisioningState?: ProvisioningState;
1031
+ /**
1032
+ * Display name of the user, for example user's full name.
1033
+ * NOTE: This property will not be serialized. It can only be populated by the server.
1034
+ */
1035
+ readonly displayName?: string;
1036
+ /** Email address of the user. */
1037
+ email: string;
1038
+ /**
1039
+ * State of the user's registration within the lab.
1040
+ * NOTE: This property will not be serialized. It can only be populated by the server.
1041
+ */
1042
+ readonly registrationState?: RegistrationState;
1043
+ /**
1044
+ * State of the invitation message for the user.
1045
+ * NOTE: This property will not be serialized. It can only be populated by the server.
1046
+ */
1047
+ readonly invitationState?: InvitationState;
1048
+ /**
1049
+ * Date and time when the invitation message was sent to the user.
1050
+ * NOTE: This property will not be serialized. It can only be populated by the server.
1051
+ */
1052
+ readonly invitationSent?: Date;
1053
+ /**
1054
+ * How long the user has used their virtual machines in this lab.
1055
+ * NOTE: This property will not be serialized. It can only be populated by the server.
1056
+ */
1057
+ readonly totalUsage?: string;
1058
+ }
1059
+ /** A lab virtual machine resource. */
1060
+ export interface VirtualMachine extends ProxyResource {
1061
+ /**
1062
+ * System data of the Lab virtual machine.
1063
+ * NOTE: This property will not be serialized. It can only be populated by the server.
1064
+ */
1065
+ readonly systemData?: SystemData;
1066
+ /**
1067
+ * Current provisioning state of the virtual machine.
1068
+ * NOTE: This property will not be serialized. It can only be populated by the server.
1069
+ */
1070
+ readonly provisioningState?: ProvisioningState;
1071
+ /**
1072
+ * The current state of the virtual machine
1073
+ * NOTE: This property will not be serialized. It can only be populated by the server.
1074
+ */
1075
+ readonly state?: VirtualMachineState;
1076
+ /**
1077
+ * Profile for information about connecting to the virtual machine.
1078
+ * NOTE: This property will not be serialized. It can only be populated by the server.
1079
+ */
1080
+ readonly connectionProfile?: VirtualMachineConnectionProfile;
1081
+ /**
1082
+ * The lab user ID (not the PUID!) of who claimed the virtual machine.
1083
+ * NOTE: This property will not be serialized. It can only be populated by the server.
1084
+ */
1085
+ readonly claimedByUserId?: string;
1086
+ /**
1087
+ * The type of this VM resource
1088
+ * NOTE: This property will not be serialized. It can only be populated by the server.
1089
+ */
1090
+ readonly vmType?: VirtualMachineType;
1091
+ }
1092
+ /** Lab Plans act as a permission container for creating labs via labs.azure.com. Additionally, they can provide a set of default configurations that will apply at the time of creating a lab, but these defaults can still be overwritten. */
1093
+ export interface LabPlan extends TrackedResource {
1094
+ /**
1095
+ * Metadata pertaining to creation and last modification of the lab plan.
1096
+ * NOTE: This property will not be serialized. It can only be populated by the server.
1097
+ */
1098
+ readonly systemData?: SystemData;
1099
+ /** Managed Identity Information */
1100
+ identity?: Identity;
1101
+ /** The default lab connection profile. This can be changed on a lab resource and only provides a default profile. */
1102
+ defaultConnectionProfile?: ConnectionProfile;
1103
+ /** The default lab shutdown profile. This can be changed on a lab resource and only provides a default profile. */
1104
+ defaultAutoShutdownProfile?: AutoShutdownProfile;
1105
+ /** The lab plan network profile. To enforce lab network policies they must be defined here and cannot be changed when there are existing labs associated with this lab plan. */
1106
+ defaultNetworkProfile?: LabPlanNetworkProfile;
1107
+ /** The allowed regions for the lab creator to use when creating labs using this lab plan. */
1108
+ allowedRegions?: string[];
1109
+ /** Resource ID of the Shared Image Gallery attached to this lab plan. When saving a lab template virtual machine image it will be persisted in this gallery. Shared images from the gallery can be made available to use when creating new labs. */
1110
+ sharedGalleryId?: string;
1111
+ /** Support contact information and instructions for users of the lab plan. This information is displayed to lab owners and virtual machine users for all labs in the lab plan. */
1112
+ supportInfo?: SupportInfo;
1113
+ /** Base Url of the lms instance this lab plan can link lab rosters against. */
1114
+ linkedLmsInstance?: string;
1115
+ /**
1116
+ * Current provisioning state of the lab plan.
1117
+ * NOTE: This property will not be serialized. It can only be populated by the server.
1118
+ */
1119
+ readonly provisioningState?: ProvisioningState;
1120
+ }
1121
+ /** The lab resource. */
1122
+ export interface Lab extends TrackedResource {
1123
+ /**
1124
+ * Metadata pertaining to creation and last modification of the lab.
1125
+ * NOTE: This property will not be serialized. It can only be populated by the server.
1126
+ */
1127
+ readonly systemData?: SystemData;
1128
+ /** The resource auto shutdown configuration for the lab. This controls whether actions are taken on resources that are sitting idle. */
1129
+ autoShutdownProfile?: AutoShutdownProfile;
1130
+ /** The connection profile for the lab. This controls settings such as web access to lab resources or whether RDP or SSH ports are open. */
1131
+ connectionProfile?: ConnectionProfile;
1132
+ /** The profile used for creating lab virtual machines. */
1133
+ virtualMachineProfile?: VirtualMachineProfile;
1134
+ /** The lab security profile. */
1135
+ securityProfile?: SecurityProfile;
1136
+ /** The lab user list management profile. */
1137
+ rosterProfile?: RosterProfile;
1138
+ /** The ID of the lab plan. Used during resource creation to provide defaults and acts as a permission container when creating a lab via labs.azure.com. Setting a labPlanId on an existing lab provides organization.. */
1139
+ labPlanId?: string;
1140
+ /** The title of the lab. */
1141
+ title?: string;
1142
+ /** The description of the lab. */
1143
+ description?: string;
1144
+ /**
1145
+ * Current provisioning state of the lab.
1146
+ * NOTE: This property will not be serialized. It can only be populated by the server.
1147
+ */
1148
+ readonly provisioningState?: ProvisioningState;
1149
+ /** The network profile for the lab, typically applied via a lab plan. This profile cannot be modified once a lab has been created. */
1150
+ networkProfile?: LabNetworkProfile;
1151
+ /**
1152
+ * The lab state.
1153
+ * NOTE: This property will not be serialized. It can only be populated by the server.
1154
+ */
1155
+ readonly state?: LabState;
1156
+ }
1157
+ /** Known values of {@link CreatedByType} that the service accepts. */
1158
+ export declare enum KnownCreatedByType {
1159
+ /** User */
1160
+ User = "User",
1161
+ /** Application */
1162
+ Application = "Application",
1163
+ /** ManagedIdentity */
1164
+ ManagedIdentity = "ManagedIdentity",
1165
+ /** Key */
1166
+ Key = "Key"
1167
+ }
1168
+ /**
1169
+ * Defines values for CreatedByType. \
1170
+ * {@link KnownCreatedByType} can be used interchangeably with CreatedByType,
1171
+ * this enum contains the known values that the service supports.
1172
+ * ### Known values supported by the service
1173
+ * **User** \
1174
+ * **Application** \
1175
+ * **ManagedIdentity** \
1176
+ * **Key**
1177
+ */
1178
+ export type CreatedByType = string;
1179
+ /** Known values of {@link Origin} that the service accepts. */
1180
+ export declare enum KnownOrigin {
1181
+ /** User */
1182
+ User = "user",
1183
+ /** System */
1184
+ System = "system",
1185
+ /** UserSystem */
1186
+ UserSystem = "user,system"
1187
+ }
1188
+ /**
1189
+ * Defines values for Origin. \
1190
+ * {@link KnownOrigin} can be used interchangeably with Origin,
1191
+ * this enum contains the known values that the service supports.
1192
+ * ### Known values supported by the service
1193
+ * **user** \
1194
+ * **system** \
1195
+ * **user,system**
1196
+ */
1197
+ export type Origin = string;
1198
+ /** Known values of {@link ActionType} that the service accepts. */
1199
+ export declare enum KnownActionType {
1200
+ /** Internal */
1201
+ Internal = "Internal"
1202
+ }
1203
+ /**
1204
+ * Defines values for ActionType. \
1205
+ * {@link KnownActionType} can be used interchangeably with ActionType,
1206
+ * this enum contains the known values that the service supports.
1207
+ * ### Known values supported by the service
1208
+ * **Internal**
1209
+ */
1210
+ export type ActionType = string;
1211
+ /** Known values of {@link LabServicesSkuTier} that the service accepts. */
1212
+ export declare enum KnownLabServicesSkuTier {
1213
+ /** Standard */
1214
+ Standard = "Standard",
1215
+ /** Premium */
1216
+ Premium = "Premium"
1217
+ }
1218
+ /**
1219
+ * Defines values for LabServicesSkuTier. \
1220
+ * {@link KnownLabServicesSkuTier} can be used interchangeably with LabServicesSkuTier,
1221
+ * this enum contains the known values that the service supports.
1222
+ * ### Known values supported by the service
1223
+ * **Standard** \
1224
+ * **Premium**
1225
+ */
1226
+ export type LabServicesSkuTier = string;
1227
+ /** Known values of {@link ScaleType} that the service accepts. */
1228
+ export declare enum KnownScaleType {
1229
+ /** The capacity is not adjustable in any way. */
1230
+ None = "None",
1231
+ /** The user must manually scale this SKU in and out. */
1232
+ Manual = "Manual",
1233
+ /** The user is permitted to scale this SKU in and out. */
1234
+ Automatic = "Automatic"
1235
+ }
1236
+ /**
1237
+ * Defines values for ScaleType. \
1238
+ * {@link KnownScaleType} can be used interchangeably with ScaleType,
1239
+ * this enum contains the known values that the service supports.
1240
+ * ### Known values supported by the service
1241
+ * **None**: The capacity is not adjustable in any way. \
1242
+ * **Manual**: The user must manually scale this SKU in and out. \
1243
+ * **Automatic**: The user is permitted to scale this SKU in and out.
1244
+ */
1245
+ export type ScaleType = string;
1246
+ /** Known values of {@link RestrictionType} that the service accepts. */
1247
+ export declare enum KnownRestrictionType {
1248
+ /** Location */
1249
+ Location = "Location"
1250
+ }
1251
+ /**
1252
+ * Defines values for RestrictionType. \
1253
+ * {@link KnownRestrictionType} can be used interchangeably with RestrictionType,
1254
+ * this enum contains the known values that the service supports.
1255
+ * ### Known values supported by the service
1256
+ * **Location**
1257
+ */
1258
+ export type RestrictionType = string;
1259
+ /** Known values of {@link RestrictionReasonCode} that the service accepts. */
1260
+ export declare enum KnownRestrictionReasonCode {
1261
+ /** QuotaId */
1262
+ QuotaId = "QuotaId",
1263
+ /** NotAvailableForSubscription */
1264
+ NotAvailableForSubscription = "NotAvailableForSubscription"
1265
+ }
1266
+ /**
1267
+ * Defines values for RestrictionReasonCode. \
1268
+ * {@link KnownRestrictionReasonCode} can be used interchangeably with RestrictionReasonCode,
1269
+ * this enum contains the known values that the service supports.
1270
+ * ### Known values supported by the service
1271
+ * **QuotaId** \
1272
+ * **NotAvailableForSubscription**
1273
+ */
1274
+ export type RestrictionReasonCode = string;
1275
+ /** Known values of {@link UsageUnit} that the service accepts. */
1276
+ export declare enum KnownUsageUnit {
1277
+ /** Count */
1278
+ Count = "Count"
1279
+ }
1280
+ /**
1281
+ * Defines values for UsageUnit. \
1282
+ * {@link KnownUsageUnit} can be used interchangeably with UsageUnit,
1283
+ * this enum contains the known values that the service supports.
1284
+ * ### Known values supported by the service
1285
+ * **Count**
1286
+ */
1287
+ export type UsageUnit = string;
1288
+ /** Defines values for ProvisioningState. */
1289
+ export type ProvisioningState = "Creating" | "Updating" | "Deleting" | "Succeeded" | "Failed" | "Locked";
1290
+ /** Defines values for OsType. */
1291
+ export type OsType = "Windows" | "Linux";
1292
+ /** Defines values for EnableState. */
1293
+ export type EnableState = "Enabled" | "Disabled";
1294
+ /** Defines values for OsState. */
1295
+ export type OsState = "Generalized" | "Specialized";
1296
+ /** Defines values for ConnectionType. */
1297
+ export type ConnectionType = "Public" | "Private" | "None";
1298
+ /** Defines values for ShutdownOnIdleMode. */
1299
+ export type ShutdownOnIdleMode = "None" | "UserAbsence" | "LowUsage";
1300
+ /** Defines values for LabState. */
1301
+ export type LabState = "Draft" | "Publishing" | "Scaling" | "Syncing" | "Published";
1302
+ /** Defines values for CreateOption. */
1303
+ export type CreateOption = "Image" | "TemplateVM";
1304
+ /** Defines values for SkuTier. */
1305
+ export type SkuTier = "Free" | "Basic" | "Standard" | "Premium";
1306
+ /** Defines values for OperationStatus. */
1307
+ export type OperationStatus = "NotStarted" | "InProgress" | "Succeeded" | "Failed" | "Canceled";
1308
+ /** Defines values for RecurrenceFrequency. */
1309
+ export type RecurrenceFrequency = "Daily" | "Weekly";
1310
+ /** Defines values for WeekDay. */
1311
+ export type WeekDay = "Sunday" | "Monday" | "Tuesday" | "Wednesday" | "Thursday" | "Friday" | "Saturday";
1312
+ /** Defines values for RegistrationState. */
1313
+ export type RegistrationState = "Registered" | "NotRegistered";
1314
+ /** Defines values for InvitationState. */
1315
+ export type InvitationState = "NotSent" | "Sending" | "Sent" | "Failed";
1316
+ /** Defines values for VirtualMachineState. */
1317
+ export type VirtualMachineState = "Stopped" | "Starting" | "Running" | "Stopping" | "ResettingPassword" | "Reimaging" | "Redeploying";
1318
+ /** Defines values for VirtualMachineType. */
1319
+ export type VirtualMachineType = "User" | "Template";
1320
+ /** Optional parameters. */
1321
+ export interface ImagesListByLabPlanOptionalParams extends coreClient.OperationOptions {
1322
+ /** The filter to apply to the operation. */
1323
+ filter?: string;
1324
+ }
1325
+ /** Contains response data for the listByLabPlan operation. */
1326
+ export type ImagesListByLabPlanResponse = PagedImages;
1327
+ /** Optional parameters. */
1328
+ export interface ImagesGetOptionalParams extends coreClient.OperationOptions {
1329
+ }
1330
+ /** Contains response data for the get operation. */
1331
+ export type ImagesGetResponse = Image;
1332
+ /** Optional parameters. */
1333
+ export interface ImagesCreateOrUpdateOptionalParams extends coreClient.OperationOptions {
1334
+ }
1335
+ /** Contains response data for the createOrUpdate operation. */
1336
+ export type ImagesCreateOrUpdateResponse = Image;
1337
+ /** Optional parameters. */
1338
+ export interface ImagesUpdateOptionalParams extends coreClient.OperationOptions {
1339
+ }
1340
+ /** Contains response data for the update operation. */
1341
+ export type ImagesUpdateResponse = Image;
1342
+ /** Optional parameters. */
1343
+ export interface ImagesListByLabPlanNextOptionalParams extends coreClient.OperationOptions {
1344
+ }
1345
+ /** Contains response data for the listByLabPlanNext operation. */
1346
+ export type ImagesListByLabPlanNextResponse = PagedImages;
1347
+ /** Optional parameters. */
1348
+ export interface LabPlansListBySubscriptionOptionalParams extends coreClient.OperationOptions {
1349
+ /** The filter to apply to the operation. */
1350
+ filter?: string;
1351
+ }
1352
+ /** Contains response data for the listBySubscription operation. */
1353
+ export type LabPlansListBySubscriptionResponse = PagedLabPlans;
1354
+ /** Optional parameters. */
1355
+ export interface LabPlansListByResourceGroupOptionalParams extends coreClient.OperationOptions {
1356
+ }
1357
+ /** Contains response data for the listByResourceGroup operation. */
1358
+ export type LabPlansListByResourceGroupResponse = PagedLabPlans;
1359
+ /** Optional parameters. */
1360
+ export interface LabPlansGetOptionalParams extends coreClient.OperationOptions {
1361
+ }
1362
+ /** Contains response data for the get operation. */
1363
+ export type LabPlansGetResponse = LabPlan;
1364
+ /** Optional parameters. */
1365
+ export interface LabPlansCreateOrUpdateOptionalParams extends coreClient.OperationOptions {
1366
+ /** Delay to wait until next poll, in milliseconds. */
1367
+ updateIntervalInMs?: number;
1368
+ /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
1369
+ resumeFrom?: string;
1370
+ }
1371
+ /** Contains response data for the createOrUpdate operation. */
1372
+ export type LabPlansCreateOrUpdateResponse = LabPlan;
1373
+ /** Optional parameters. */
1374
+ export interface LabPlansUpdateOptionalParams extends coreClient.OperationOptions {
1375
+ /** Delay to wait until next poll, in milliseconds. */
1376
+ updateIntervalInMs?: number;
1377
+ /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
1378
+ resumeFrom?: string;
1379
+ }
1380
+ /** Contains response data for the update operation. */
1381
+ export type LabPlansUpdateResponse = LabPlan;
1382
+ /** Optional parameters. */
1383
+ export interface LabPlansDeleteOptionalParams extends coreClient.OperationOptions {
1384
+ /** Delay to wait until next poll, in milliseconds. */
1385
+ updateIntervalInMs?: number;
1386
+ /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
1387
+ resumeFrom?: string;
1388
+ }
1389
+ /** Optional parameters. */
1390
+ export interface LabPlansSaveImageOptionalParams extends coreClient.OperationOptions {
1391
+ /** Delay to wait until next poll, in milliseconds. */
1392
+ updateIntervalInMs?: number;
1393
+ /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
1394
+ resumeFrom?: string;
1395
+ }
1396
+ /** Optional parameters. */
1397
+ export interface LabPlansListBySubscriptionNextOptionalParams extends coreClient.OperationOptions {
1398
+ }
1399
+ /** Contains response data for the listBySubscriptionNext operation. */
1400
+ export type LabPlansListBySubscriptionNextResponse = PagedLabPlans;
1401
+ /** Optional parameters. */
1402
+ export interface LabPlansListByResourceGroupNextOptionalParams extends coreClient.OperationOptions {
1403
+ }
1404
+ /** Contains response data for the listByResourceGroupNext operation. */
1405
+ export type LabPlansListByResourceGroupNextResponse = PagedLabPlans;
1406
+ /** Optional parameters. */
1407
+ export interface OperationsListOptionalParams extends coreClient.OperationOptions {
1408
+ }
1409
+ /** Contains response data for the list operation. */
1410
+ export type OperationsListResponse = OperationListResult;
1411
+ /** Optional parameters. */
1412
+ export interface OperationsListNextOptionalParams extends coreClient.OperationOptions {
1413
+ }
1414
+ /** Contains response data for the listNext operation. */
1415
+ export type OperationsListNextResponse = OperationListResult;
1416
+ /** Optional parameters. */
1417
+ export interface LabsListBySubscriptionOptionalParams extends coreClient.OperationOptions {
1418
+ /** The filter to apply to the operation. */
1419
+ filter?: string;
1420
+ }
1421
+ /** Contains response data for the listBySubscription operation. */
1422
+ export type LabsListBySubscriptionResponse = PagedLabs;
1423
+ /** Optional parameters. */
1424
+ export interface LabsListByResourceGroupOptionalParams extends coreClient.OperationOptions {
1425
+ }
1426
+ /** Contains response data for the listByResourceGroup operation. */
1427
+ export type LabsListByResourceGroupResponse = PagedLabs;
1428
+ /** Optional parameters. */
1429
+ export interface LabsGetOptionalParams extends coreClient.OperationOptions {
1430
+ }
1431
+ /** Contains response data for the get operation. */
1432
+ export type LabsGetResponse = Lab;
1433
+ /** Optional parameters. */
1434
+ export interface LabsCreateOrUpdateOptionalParams extends coreClient.OperationOptions {
1435
+ /** Delay to wait until next poll, in milliseconds. */
1436
+ updateIntervalInMs?: number;
1437
+ /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
1438
+ resumeFrom?: string;
1439
+ }
1440
+ /** Contains response data for the createOrUpdate operation. */
1441
+ export type LabsCreateOrUpdateResponse = Lab;
1442
+ /** Optional parameters. */
1443
+ export interface LabsUpdateOptionalParams extends coreClient.OperationOptions {
1444
+ /** Delay to wait until next poll, in milliseconds. */
1445
+ updateIntervalInMs?: number;
1446
+ /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
1447
+ resumeFrom?: string;
1448
+ }
1449
+ /** Contains response data for the update operation. */
1450
+ export type LabsUpdateResponse = Lab;
1451
+ /** Optional parameters. */
1452
+ export interface LabsDeleteOptionalParams extends coreClient.OperationOptions {
1453
+ /** Delay to wait until next poll, in milliseconds. */
1454
+ updateIntervalInMs?: number;
1455
+ /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
1456
+ resumeFrom?: string;
1457
+ }
1458
+ /** Optional parameters. */
1459
+ export interface LabsPublishOptionalParams extends coreClient.OperationOptions {
1460
+ /** Delay to wait until next poll, in milliseconds. */
1461
+ updateIntervalInMs?: number;
1462
+ /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
1463
+ resumeFrom?: string;
1464
+ }
1465
+ /** Optional parameters. */
1466
+ export interface LabsSyncGroupOptionalParams extends coreClient.OperationOptions {
1467
+ /** Delay to wait until next poll, in milliseconds. */
1468
+ updateIntervalInMs?: number;
1469
+ /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
1470
+ resumeFrom?: string;
1471
+ }
1472
+ /** Optional parameters. */
1473
+ export interface LabsListBySubscriptionNextOptionalParams extends coreClient.OperationOptions {
1474
+ }
1475
+ /** Contains response data for the listBySubscriptionNext operation. */
1476
+ export type LabsListBySubscriptionNextResponse = PagedLabs;
1477
+ /** Optional parameters. */
1478
+ export interface LabsListByResourceGroupNextOptionalParams extends coreClient.OperationOptions {
1479
+ }
1480
+ /** Contains response data for the listByResourceGroupNext operation. */
1481
+ export type LabsListByResourceGroupNextResponse = PagedLabs;
1482
+ /** Optional parameters. */
1483
+ export interface OperationResultsGetOptionalParams extends coreClient.OperationOptions {
1484
+ }
1485
+ /** Contains response data for the get operation. */
1486
+ export type OperationResultsGetResponse = OperationResult;
1487
+ /** Optional parameters. */
1488
+ export interface SchedulesListByLabOptionalParams extends coreClient.OperationOptions {
1489
+ /** The filter to apply to the operation. */
1490
+ filter?: string;
1491
+ }
1492
+ /** Contains response data for the listByLab operation. */
1493
+ export type SchedulesListByLabResponse = PagedSchedules;
1494
+ /** Optional parameters. */
1495
+ export interface SchedulesGetOptionalParams extends coreClient.OperationOptions {
1496
+ }
1497
+ /** Contains response data for the get operation. */
1498
+ export type SchedulesGetResponse = Schedule;
1499
+ /** Optional parameters. */
1500
+ export interface SchedulesCreateOrUpdateOptionalParams extends coreClient.OperationOptions {
1501
+ }
1502
+ /** Contains response data for the createOrUpdate operation. */
1503
+ export type SchedulesCreateOrUpdateResponse = Schedule;
1504
+ /** Optional parameters. */
1505
+ export interface SchedulesUpdateOptionalParams extends coreClient.OperationOptions {
1506
+ }
1507
+ /** Contains response data for the update operation. */
1508
+ export type SchedulesUpdateResponse = Schedule;
1509
+ /** Optional parameters. */
1510
+ export interface SchedulesDeleteOptionalParams extends coreClient.OperationOptions {
1511
+ /** Delay to wait until next poll, in milliseconds. */
1512
+ updateIntervalInMs?: number;
1513
+ /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
1514
+ resumeFrom?: string;
1515
+ }
1516
+ /** Optional parameters. */
1517
+ export interface SchedulesListByLabNextOptionalParams extends coreClient.OperationOptions {
1518
+ }
1519
+ /** Contains response data for the listByLabNext operation. */
1520
+ export type SchedulesListByLabNextResponse = PagedSchedules;
1521
+ /** Optional parameters. */
1522
+ export interface SkusListOptionalParams extends coreClient.OperationOptions {
1523
+ /** The filter to apply to the operation. */
1524
+ filter?: string;
1525
+ }
1526
+ /** Contains response data for the list operation. */
1527
+ export type SkusListResponse = PagedLabServicesSkus;
1528
+ /** Optional parameters. */
1529
+ export interface SkusListNextOptionalParams extends coreClient.OperationOptions {
1530
+ }
1531
+ /** Contains response data for the listNext operation. */
1532
+ export type SkusListNextResponse = PagedLabServicesSkus;
1533
+ /** Optional parameters. */
1534
+ export interface UsagesListByLocationOptionalParams extends coreClient.OperationOptions {
1535
+ /** The filter to apply to the operation. */
1536
+ filter?: string;
1537
+ }
1538
+ /** Contains response data for the listByLocation operation. */
1539
+ export type UsagesListByLocationResponse = ListUsagesResult;
1540
+ /** Optional parameters. */
1541
+ export interface UsagesListByLocationNextOptionalParams extends coreClient.OperationOptions {
1542
+ }
1543
+ /** Contains response data for the listByLocationNext operation. */
1544
+ export type UsagesListByLocationNextResponse = ListUsagesResult;
1545
+ /** Optional parameters. */
1546
+ export interface UsersListByLabOptionalParams extends coreClient.OperationOptions {
1547
+ /** The filter to apply to the operation. */
1548
+ filter?: string;
1549
+ }
1550
+ /** Contains response data for the listByLab operation. */
1551
+ export type UsersListByLabResponse = PagedUsers;
1552
+ /** Optional parameters. */
1553
+ export interface UsersGetOptionalParams extends coreClient.OperationOptions {
1554
+ }
1555
+ /** Contains response data for the get operation. */
1556
+ export type UsersGetResponse = User;
1557
+ /** Optional parameters. */
1558
+ export interface UsersCreateOrUpdateOptionalParams extends coreClient.OperationOptions {
1559
+ /** Delay to wait until next poll, in milliseconds. */
1560
+ updateIntervalInMs?: number;
1561
+ /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
1562
+ resumeFrom?: string;
1563
+ }
1564
+ /** Contains response data for the createOrUpdate operation. */
1565
+ export type UsersCreateOrUpdateResponse = User;
1566
+ /** Optional parameters. */
1567
+ export interface UsersUpdateOptionalParams extends coreClient.OperationOptions {
1568
+ /** Delay to wait until next poll, in milliseconds. */
1569
+ updateIntervalInMs?: number;
1570
+ /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
1571
+ resumeFrom?: string;
1572
+ }
1573
+ /** Contains response data for the update operation. */
1574
+ export type UsersUpdateResponse = User;
1575
+ /** Optional parameters. */
1576
+ export interface UsersDeleteOptionalParams extends coreClient.OperationOptions {
1577
+ /** Delay to wait until next poll, in milliseconds. */
1578
+ updateIntervalInMs?: number;
1579
+ /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
1580
+ resumeFrom?: string;
1581
+ }
1582
+ /** Optional parameters. */
1583
+ export interface UsersInviteOptionalParams extends coreClient.OperationOptions {
1584
+ /** Delay to wait until next poll, in milliseconds. */
1585
+ updateIntervalInMs?: number;
1586
+ /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
1587
+ resumeFrom?: string;
1588
+ }
1589
+ /** Optional parameters. */
1590
+ export interface UsersListByLabNextOptionalParams extends coreClient.OperationOptions {
1591
+ }
1592
+ /** Contains response data for the listByLabNext operation. */
1593
+ export type UsersListByLabNextResponse = PagedUsers;
1594
+ /** Optional parameters. */
1595
+ export interface VirtualMachinesListByLabOptionalParams extends coreClient.OperationOptions {
1596
+ /** The filter to apply to the operation. */
1597
+ filter?: string;
1598
+ }
1599
+ /** Contains response data for the listByLab operation. */
1600
+ export type VirtualMachinesListByLabResponse = PagedVirtualMachines;
1601
+ /** Optional parameters. */
1602
+ export interface VirtualMachinesGetOptionalParams extends coreClient.OperationOptions {
1603
+ }
1604
+ /** Contains response data for the get operation. */
1605
+ export type VirtualMachinesGetResponse = VirtualMachine;
1606
+ /** Optional parameters. */
1607
+ export interface VirtualMachinesStartOptionalParams extends coreClient.OperationOptions {
1608
+ /** Delay to wait until next poll, in milliseconds. */
1609
+ updateIntervalInMs?: number;
1610
+ /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
1611
+ resumeFrom?: string;
1612
+ }
1613
+ /** Optional parameters. */
1614
+ export interface VirtualMachinesStopOptionalParams extends coreClient.OperationOptions {
1615
+ /** Delay to wait until next poll, in milliseconds. */
1616
+ updateIntervalInMs?: number;
1617
+ /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
1618
+ resumeFrom?: string;
1619
+ }
1620
+ /** Optional parameters. */
1621
+ export interface VirtualMachinesReimageOptionalParams extends coreClient.OperationOptions {
1622
+ /** Delay to wait until next poll, in milliseconds. */
1623
+ updateIntervalInMs?: number;
1624
+ /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
1625
+ resumeFrom?: string;
1626
+ }
1627
+ /** Optional parameters. */
1628
+ export interface VirtualMachinesRedeployOptionalParams extends coreClient.OperationOptions {
1629
+ /** Delay to wait until next poll, in milliseconds. */
1630
+ updateIntervalInMs?: number;
1631
+ /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
1632
+ resumeFrom?: string;
1633
+ }
1634
+ /** Optional parameters. */
1635
+ export interface VirtualMachinesResetPasswordOptionalParams extends coreClient.OperationOptions {
1636
+ /** Delay to wait until next poll, in milliseconds. */
1637
+ updateIntervalInMs?: number;
1638
+ /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
1639
+ resumeFrom?: string;
1640
+ }
1641
+ /** Optional parameters. */
1642
+ export interface VirtualMachinesListByLabNextOptionalParams extends coreClient.OperationOptions {
1643
+ }
1644
+ /** Contains response data for the listByLabNext operation. */
1645
+ export type VirtualMachinesListByLabNextResponse = PagedVirtualMachines;
1646
+ /** Optional parameters. */
1647
+ export interface LabServicesClientOptionalParams extends coreClient.ServiceClientOptions {
1648
+ /** server parameter */
1649
+ $host?: string;
1650
+ /** Api Version */
1651
+ apiVersion?: string;
1652
+ /** Overrides client endpoint. */
1653
+ endpoint?: string;
1654
+ }
1655
+ //# sourceMappingURL=index.d.ts.map