@azure/arm-devspaces 2.1.1-alpha.20250115.1 → 2.1.1-alpha.20250116.2

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 (326) hide show
  1. package/{dist-esm/src → dist/browser}/devSpacesManagementClient.d.ts +2 -2
  2. package/dist/browser/devSpacesManagementClient.d.ts.map +1 -0
  3. package/{dist-esm/src → dist/browser}/devSpacesManagementClient.js +15 -18
  4. package/dist/browser/devSpacesManagementClient.js.map +1 -0
  5. package/dist/browser/index.d.ts +5 -0
  6. package/{dist-esm/src → dist/browser}/index.d.ts.map +1 -1
  7. package/{dist-esm/src → dist/browser}/index.js +4 -4
  8. package/dist/browser/index.js.map +1 -0
  9. package/dist/browser/lroImpl.js +25 -0
  10. package/dist/browser/lroImpl.js.map +1 -0
  11. package/dist/browser/models/index.js.map +1 -0
  12. package/dist/browser/models/mappers.js.map +1 -0
  13. package/{dist-esm/src → dist/browser}/models/parameters.js +1 -1
  14. package/dist/browser/models/parameters.js.map +1 -0
  15. package/{dist-esm/src → dist/browser}/operations/containerHostMappings.d.ts +3 -3
  16. package/dist/browser/operations/containerHostMappings.d.ts.map +1 -0
  17. package/{dist-esm/src → dist/browser}/operations/containerHostMappings.js +2 -2
  18. package/dist/browser/operations/containerHostMappings.js.map +1 -0
  19. package/{dist-esm/src → dist/browser}/operations/controllers.d.ts +3 -3
  20. package/dist/browser/operations/controllers.d.ts.map +1 -0
  21. package/{dist-esm/src → dist/browser}/operations/controllers.js +69 -77
  22. package/dist/browser/operations/controllers.js.map +1 -0
  23. package/dist/browser/operations/index.d.ts +4 -0
  24. package/{dist-esm/src → dist/browser}/operations/index.d.ts.map +1 -1
  25. package/{dist-esm/src/operationsInterfaces → dist/browser/operations}/index.js +3 -3
  26. package/dist/browser/operations/index.js.map +1 -0
  27. package/{dist-esm/src → dist/browser}/operations/operations.d.ts +3 -3
  28. package/dist/browser/operations/operations.d.ts.map +1 -0
  29. package/{dist-esm/src → dist/browser}/operations/operations.js +3 -3
  30. package/dist/browser/operations/operations.js.map +1 -0
  31. package/{dist-esm/src → dist/browser}/operationsInterfaces/containerHostMappings.d.ts +1 -1
  32. package/dist/browser/operationsInterfaces/containerHostMappings.d.ts.map +1 -0
  33. package/dist/browser/operationsInterfaces/containerHostMappings.js.map +1 -0
  34. package/{dist-esm/src → dist/browser}/operationsInterfaces/controllers.d.ts +1 -1
  35. package/dist/browser/operationsInterfaces/controllers.d.ts.map +1 -0
  36. package/dist/browser/operationsInterfaces/controllers.js.map +1 -0
  37. package/dist/browser/operationsInterfaces/index.d.ts +4 -0
  38. package/{dist-esm/src → dist/browser}/operationsInterfaces/index.d.ts.map +1 -1
  39. package/{dist-esm/src/operations → dist/browser/operationsInterfaces}/index.js +3 -3
  40. package/dist/browser/operationsInterfaces/index.js.map +1 -0
  41. package/{dist-esm/src → dist/browser}/operationsInterfaces/operations.d.ts +1 -1
  42. package/{dist-esm/src → dist/browser}/operationsInterfaces/operations.d.ts.map +1 -1
  43. package/dist/browser/operationsInterfaces/operations.js.map +1 -0
  44. package/dist/browser/package.json +3 -0
  45. package/dist/browser/pagingHelper.js.map +1 -0
  46. package/dist/commonjs/devSpacesManagementClient.d.ts +22 -0
  47. package/dist/commonjs/devSpacesManagementClient.d.ts.map +1 -0
  48. package/dist/commonjs/devSpacesManagementClient.js +104 -0
  49. package/dist/commonjs/devSpacesManagementClient.js.map +1 -0
  50. package/dist/commonjs/index.d.ts +5 -0
  51. package/dist/commonjs/index.d.ts.map +1 -0
  52. package/dist/commonjs/index.js +19 -0
  53. package/dist/commonjs/index.js.map +1 -0
  54. package/dist/commonjs/lroImpl.d.ts +16 -0
  55. package/dist/commonjs/lroImpl.d.ts.map +1 -0
  56. package/dist/commonjs/lroImpl.js +29 -0
  57. package/dist/commonjs/lroImpl.js.map +1 -0
  58. package/dist/commonjs/models/index.d.ts +296 -0
  59. package/dist/commonjs/models/index.d.ts.map +1 -0
  60. package/dist/commonjs/models/index.js +41 -0
  61. package/dist/commonjs/models/index.js.map +1 -0
  62. package/dist/commonjs/models/mappers.d.ts +23 -0
  63. package/dist/commonjs/models/mappers.d.ts.map +1 -0
  64. package/dist/commonjs/models/mappers.js +411 -0
  65. package/dist/commonjs/models/mappers.js.map +1 -0
  66. package/dist/commonjs/models/parameters.d.ts +15 -0
  67. package/dist/commonjs/models/parameters.d.ts.map +1 -0
  68. package/dist/commonjs/models/parameters.js +132 -0
  69. package/dist/commonjs/models/parameters.js.map +1 -0
  70. package/dist/commonjs/operations/containerHostMappings.d.ts +23 -0
  71. package/dist/commonjs/operations/containerHostMappings.d.ts.map +1 -0
  72. package/dist/commonjs/operations/containerHostMappings.js +64 -0
  73. package/dist/commonjs/operations/containerHostMappings.js.map +1 -0
  74. package/dist/commonjs/operations/controllers.d.ts +111 -0
  75. package/dist/commonjs/operations/controllers.d.ts.map +1 -0
  76. package/dist/commonjs/operations/controllers.js +517 -0
  77. package/dist/commonjs/operations/controllers.js.map +1 -0
  78. package/dist/commonjs/operations/index.d.ts +4 -0
  79. package/dist/commonjs/operations/index.d.ts.map +1 -0
  80. package/dist/commonjs/operations/index.js +14 -0
  81. package/dist/commonjs/operations/index.js.map +1 -0
  82. package/dist/commonjs/operations/operations.d.ts +34 -0
  83. package/dist/commonjs/operations/operations.d.ts.map +1 -0
  84. package/dist/commonjs/operations/operations.js +134 -0
  85. package/dist/commonjs/operations/operations.js.map +1 -0
  86. package/dist/commonjs/operationsInterfaces/containerHostMappings.d.ts +15 -0
  87. package/dist/commonjs/operationsInterfaces/containerHostMappings.d.ts.map +1 -0
  88. package/dist/commonjs/operationsInterfaces/containerHostMappings.js +10 -0
  89. package/dist/commonjs/operationsInterfaces/containerHostMappings.js.map +1 -0
  90. package/dist/commonjs/operationsInterfaces/controllers.d.ts +74 -0
  91. package/dist/commonjs/operationsInterfaces/controllers.d.ts.map +1 -0
  92. package/dist/commonjs/operationsInterfaces/controllers.js +10 -0
  93. package/dist/commonjs/operationsInterfaces/controllers.js.map +1 -0
  94. package/dist/commonjs/operationsInterfaces/index.d.ts +4 -0
  95. package/dist/commonjs/operationsInterfaces/index.d.ts.map +1 -0
  96. package/dist/commonjs/operationsInterfaces/index.js +14 -0
  97. package/dist/commonjs/operationsInterfaces/index.js.map +1 -0
  98. package/dist/commonjs/operationsInterfaces/operations.d.ts +12 -0
  99. package/dist/commonjs/operationsInterfaces/operations.d.ts.map +1 -0
  100. package/dist/commonjs/operationsInterfaces/operations.js +10 -0
  101. package/dist/commonjs/operationsInterfaces/operations.js.map +1 -0
  102. package/dist/commonjs/package.json +3 -0
  103. package/dist/commonjs/pagingHelper.d.ts +13 -0
  104. package/dist/commonjs/pagingHelper.d.ts.map +1 -0
  105. package/dist/commonjs/pagingHelper.js +36 -0
  106. package/dist/commonjs/pagingHelper.js.map +1 -0
  107. package/dist/esm/devSpacesManagementClient.d.ts +22 -0
  108. package/dist/esm/devSpacesManagementClient.d.ts.map +1 -0
  109. package/dist/esm/devSpacesManagementClient.js +99 -0
  110. package/dist/esm/devSpacesManagementClient.js.map +1 -0
  111. package/dist/esm/index.d.ts +5 -0
  112. package/dist/esm/index.d.ts.map +1 -0
  113. package/{src/index.ts → dist/esm/index.js} +5 -5
  114. package/dist/esm/index.js.map +1 -0
  115. package/dist/esm/lroImpl.d.ts +16 -0
  116. package/dist/esm/lroImpl.d.ts.map +1 -0
  117. package/dist/esm/lroImpl.js +25 -0
  118. package/dist/esm/lroImpl.js.map +1 -0
  119. package/dist/esm/models/index.d.ts +296 -0
  120. package/dist/esm/models/index.d.ts.map +1 -0
  121. package/dist/esm/models/index.js +38 -0
  122. package/dist/esm/models/index.js.map +1 -0
  123. package/dist/esm/models/mappers.d.ts +23 -0
  124. package/dist/esm/models/mappers.d.ts.map +1 -0
  125. package/dist/esm/models/mappers.js +408 -0
  126. package/dist/esm/models/mappers.js.map +1 -0
  127. package/dist/esm/models/parameters.d.ts +15 -0
  128. package/dist/esm/models/parameters.d.ts.map +1 -0
  129. package/dist/esm/models/parameters.js +129 -0
  130. package/dist/esm/models/parameters.js.map +1 -0
  131. package/dist/esm/operations/containerHostMappings.d.ts +23 -0
  132. package/dist/esm/operations/containerHostMappings.d.ts.map +1 -0
  133. package/dist/esm/operations/containerHostMappings.js +59 -0
  134. package/dist/esm/operations/containerHostMappings.js.map +1 -0
  135. package/dist/esm/operations/controllers.d.ts +111 -0
  136. package/dist/esm/operations/controllers.d.ts.map +1 -0
  137. package/dist/esm/operations/controllers.js +513 -0
  138. package/dist/esm/operations/controllers.js.map +1 -0
  139. package/dist/esm/operations/index.d.ts +4 -0
  140. package/dist/esm/operations/index.d.ts.map +1 -0
  141. package/dist/esm/operations/index.js +11 -0
  142. package/dist/esm/operations/index.js.map +1 -0
  143. package/dist/esm/operations/operations.d.ts +34 -0
  144. package/dist/esm/operations/operations.d.ts.map +1 -0
  145. package/dist/esm/operations/operations.js +130 -0
  146. package/dist/esm/operations/operations.js.map +1 -0
  147. package/dist/esm/operationsInterfaces/containerHostMappings.d.ts +15 -0
  148. package/dist/esm/operationsInterfaces/containerHostMappings.d.ts.map +1 -0
  149. package/{src/operations/index.ts → dist/esm/operationsInterfaces/containerHostMappings.js} +2 -4
  150. package/dist/esm/operationsInterfaces/containerHostMappings.js.map +1 -0
  151. package/dist/esm/operationsInterfaces/controllers.d.ts +74 -0
  152. package/dist/esm/operationsInterfaces/controllers.d.ts.map +1 -0
  153. package/dist/esm/operationsInterfaces/controllers.js +9 -0
  154. package/dist/esm/operationsInterfaces/controllers.js.map +1 -0
  155. package/dist/esm/operationsInterfaces/index.d.ts +4 -0
  156. package/dist/esm/operationsInterfaces/index.d.ts.map +1 -0
  157. package/dist/esm/operationsInterfaces/index.js +11 -0
  158. package/dist/esm/operationsInterfaces/index.js.map +1 -0
  159. package/dist/esm/operationsInterfaces/operations.d.ts +12 -0
  160. package/dist/esm/operationsInterfaces/operations.d.ts.map +1 -0
  161. package/dist/esm/operationsInterfaces/operations.js +9 -0
  162. package/dist/esm/operationsInterfaces/operations.js.map +1 -0
  163. package/dist/esm/package.json +3 -0
  164. package/dist/esm/pagingHelper.d.ts +13 -0
  165. package/dist/esm/pagingHelper.d.ts.map +1 -0
  166. package/dist/esm/pagingHelper.js +32 -0
  167. package/dist/esm/pagingHelper.js.map +1 -0
  168. package/dist/react-native/devSpacesManagementClient.d.ts +22 -0
  169. package/dist/react-native/devSpacesManagementClient.d.ts.map +1 -0
  170. package/dist/react-native/devSpacesManagementClient.js +99 -0
  171. package/dist/react-native/devSpacesManagementClient.js.map +1 -0
  172. package/dist/react-native/index.d.ts +5 -0
  173. package/dist/react-native/index.d.ts.map +1 -0
  174. package/dist/react-native/index.js +13 -0
  175. package/dist/react-native/index.js.map +1 -0
  176. package/dist/react-native/lroImpl.d.ts +16 -0
  177. package/dist/react-native/lroImpl.d.ts.map +1 -0
  178. package/dist/react-native/lroImpl.js +25 -0
  179. package/dist/react-native/lroImpl.js.map +1 -0
  180. package/dist/react-native/models/index.d.ts +296 -0
  181. package/dist/react-native/models/index.d.ts.map +1 -0
  182. package/dist/react-native/models/index.js +38 -0
  183. package/dist/react-native/models/index.js.map +1 -0
  184. package/dist/react-native/models/mappers.d.ts +23 -0
  185. package/dist/react-native/models/mappers.d.ts.map +1 -0
  186. package/dist/react-native/models/mappers.js +408 -0
  187. package/dist/react-native/models/mappers.js.map +1 -0
  188. package/dist/react-native/models/parameters.d.ts +15 -0
  189. package/dist/react-native/models/parameters.d.ts.map +1 -0
  190. package/dist/react-native/models/parameters.js +129 -0
  191. package/dist/react-native/models/parameters.js.map +1 -0
  192. package/dist/react-native/operations/containerHostMappings.d.ts +23 -0
  193. package/dist/react-native/operations/containerHostMappings.d.ts.map +1 -0
  194. package/dist/react-native/operations/containerHostMappings.js +59 -0
  195. package/dist/react-native/operations/containerHostMappings.js.map +1 -0
  196. package/dist/react-native/operations/controllers.d.ts +111 -0
  197. package/dist/react-native/operations/controllers.d.ts.map +1 -0
  198. package/dist/react-native/operations/controllers.js +513 -0
  199. package/dist/react-native/operations/controllers.js.map +1 -0
  200. package/dist/react-native/operations/index.d.ts +4 -0
  201. package/dist/react-native/operations/index.d.ts.map +1 -0
  202. package/dist/react-native/operations/index.js +11 -0
  203. package/dist/react-native/operations/index.js.map +1 -0
  204. package/dist/react-native/operations/operations.d.ts +34 -0
  205. package/dist/react-native/operations/operations.d.ts.map +1 -0
  206. package/dist/react-native/operations/operations.js +130 -0
  207. package/dist/react-native/operations/operations.js.map +1 -0
  208. package/dist/react-native/operationsInterfaces/containerHostMappings.d.ts +15 -0
  209. package/dist/react-native/operationsInterfaces/containerHostMappings.d.ts.map +1 -0
  210. package/dist/react-native/operationsInterfaces/containerHostMappings.js +9 -0
  211. package/dist/react-native/operationsInterfaces/containerHostMappings.js.map +1 -0
  212. package/dist/react-native/operationsInterfaces/controllers.d.ts +74 -0
  213. package/dist/react-native/operationsInterfaces/controllers.d.ts.map +1 -0
  214. package/dist/react-native/operationsInterfaces/controllers.js +9 -0
  215. package/dist/react-native/operationsInterfaces/controllers.js.map +1 -0
  216. package/dist/react-native/operationsInterfaces/index.d.ts +4 -0
  217. package/dist/react-native/operationsInterfaces/index.d.ts.map +1 -0
  218. package/dist/react-native/operationsInterfaces/index.js +11 -0
  219. package/dist/react-native/operationsInterfaces/index.js.map +1 -0
  220. package/dist/react-native/operationsInterfaces/operations.d.ts +12 -0
  221. package/dist/react-native/operationsInterfaces/operations.d.ts.map +1 -0
  222. package/dist/react-native/operationsInterfaces/operations.js +9 -0
  223. package/dist/react-native/operationsInterfaces/operations.js.map +1 -0
  224. package/dist/react-native/package.json +3 -0
  225. package/dist/react-native/pagingHelper.d.ts +13 -0
  226. package/dist/react-native/pagingHelper.d.ts.map +1 -0
  227. package/dist/react-native/pagingHelper.js +32 -0
  228. package/dist/react-native/pagingHelper.js.map +1 -0
  229. package/package.json +58 -28
  230. package/dist/index.js +0 -1481
  231. package/dist/index.js.map +0 -1
  232. package/dist/index.min.js +0 -1
  233. package/dist/index.min.js.map +0 -1
  234. package/dist-esm/samples-dev/containerHostMappingsGetContainerHostMappingSample.d.ts +0 -2
  235. package/dist-esm/samples-dev/containerHostMappingsGetContainerHostMappingSample.d.ts.map +0 -1
  236. package/dist-esm/samples-dev/containerHostMappingsGetContainerHostMappingSample.js +0 -34
  237. package/dist-esm/samples-dev/containerHostMappingsGetContainerHostMappingSample.js.map +0 -1
  238. package/dist-esm/samples-dev/controllersCreateSample.d.ts +0 -2
  239. package/dist-esm/samples-dev/controllersCreateSample.d.ts.map +0 -1
  240. package/dist-esm/samples-dev/controllersCreateSample.js +0 -38
  241. package/dist-esm/samples-dev/controllersCreateSample.js.map +0 -1
  242. package/dist-esm/samples-dev/controllersDeleteSample.d.ts +0 -2
  243. package/dist-esm/samples-dev/controllersDeleteSample.d.ts.map +0 -1
  244. package/dist-esm/samples-dev/controllersDeleteSample.js +0 -31
  245. package/dist-esm/samples-dev/controllersDeleteSample.js.map +0 -1
  246. package/dist-esm/samples-dev/controllersGetSample.d.ts +0 -2
  247. package/dist-esm/samples-dev/controllersGetSample.d.ts.map +0 -1
  248. package/dist-esm/samples-dev/controllersGetSample.js +0 -31
  249. package/dist-esm/samples-dev/controllersGetSample.js.map +0 -1
  250. package/dist-esm/samples-dev/controllersListByResourceGroupSample.d.ts +0 -2
  251. package/dist-esm/samples-dev/controllersListByResourceGroupSample.d.ts.map +0 -1
  252. package/dist-esm/samples-dev/controllersListByResourceGroupSample.js +0 -46
  253. package/dist-esm/samples-dev/controllersListByResourceGroupSample.js.map +0 -1
  254. package/dist-esm/samples-dev/controllersListConnectionDetailsSample.d.ts +0 -2
  255. package/dist-esm/samples-dev/controllersListConnectionDetailsSample.d.ts.map +0 -1
  256. package/dist-esm/samples-dev/controllersListConnectionDetailsSample.js +0 -34
  257. package/dist-esm/samples-dev/controllersListConnectionDetailsSample.js.map +0 -1
  258. package/dist-esm/samples-dev/controllersListSample.d.ts +0 -2
  259. package/dist-esm/samples-dev/controllersListSample.d.ts.map +0 -1
  260. package/dist-esm/samples-dev/controllersListSample.js +0 -45
  261. package/dist-esm/samples-dev/controllersListSample.js.map +0 -1
  262. package/dist-esm/samples-dev/controllersUpdateSample.d.ts +0 -2
  263. package/dist-esm/samples-dev/controllersUpdateSample.d.ts.map +0 -1
  264. package/dist-esm/samples-dev/controllersUpdateSample.js +0 -35
  265. package/dist-esm/samples-dev/controllersUpdateSample.js.map +0 -1
  266. package/dist-esm/src/devSpacesManagementClient.d.ts.map +0 -1
  267. package/dist-esm/src/devSpacesManagementClient.js.map +0 -1
  268. package/dist-esm/src/index.d.ts +0 -5
  269. package/dist-esm/src/index.js.map +0 -1
  270. package/dist-esm/src/lroImpl.js +0 -29
  271. package/dist-esm/src/lroImpl.js.map +0 -1
  272. package/dist-esm/src/models/index.js.map +0 -1
  273. package/dist-esm/src/models/mappers.js.map +0 -1
  274. package/dist-esm/src/models/parameters.js.map +0 -1
  275. package/dist-esm/src/operations/containerHostMappings.d.ts.map +0 -1
  276. package/dist-esm/src/operations/containerHostMappings.js.map +0 -1
  277. package/dist-esm/src/operations/controllers.d.ts.map +0 -1
  278. package/dist-esm/src/operations/controllers.js.map +0 -1
  279. package/dist-esm/src/operations/index.d.ts +0 -4
  280. package/dist-esm/src/operations/index.js.map +0 -1
  281. package/dist-esm/src/operations/operations.d.ts.map +0 -1
  282. package/dist-esm/src/operations/operations.js.map +0 -1
  283. package/dist-esm/src/operationsInterfaces/containerHostMappings.d.ts.map +0 -1
  284. package/dist-esm/src/operationsInterfaces/containerHostMappings.js.map +0 -1
  285. package/dist-esm/src/operationsInterfaces/controllers.d.ts.map +0 -1
  286. package/dist-esm/src/operationsInterfaces/controllers.js.map +0 -1
  287. package/dist-esm/src/operationsInterfaces/index.d.ts +0 -4
  288. package/dist-esm/src/operationsInterfaces/index.js.map +0 -1
  289. package/dist-esm/src/operationsInterfaces/operations.js.map +0 -1
  290. package/dist-esm/src/pagingHelper.js.map +0 -1
  291. package/dist-esm/test/sampleTest.d.ts +0 -2
  292. package/dist-esm/test/sampleTest.d.ts.map +0 -1
  293. package/dist-esm/test/sampleTest.js +0 -42
  294. package/dist-esm/test/sampleTest.js.map +0 -1
  295. package/src/devSpacesManagementClient.ts +0 -152
  296. package/src/lroImpl.ts +0 -34
  297. package/src/models/index.ts +0 -353
  298. package/src/models/mappers.ts +0 -444
  299. package/src/models/parameters.ts +0 -152
  300. package/src/operations/containerHostMappings.ts +0 -80
  301. package/src/operations/controllers.ts +0 -673
  302. package/src/operations/operations.ts +0 -146
  303. package/src/operationsInterfaces/containerHostMappings.ts +0 -32
  304. package/src/operationsInterfaces/controllers.ts +0 -140
  305. package/src/operationsInterfaces/index.ts +0 -11
  306. package/src/operationsInterfaces/operations.ts +0 -26
  307. package/src/pagingHelper.ts +0 -39
  308. package/tsconfig.json +0 -33
  309. package/types/arm-devspaces.d.ts +0 -471
  310. /package/{dist-esm/src → dist/browser}/lroImpl.d.ts +0 -0
  311. /package/{dist-esm/src → dist/browser}/lroImpl.d.ts.map +0 -0
  312. /package/{dist-esm/src → dist/browser}/models/index.d.ts +0 -0
  313. /package/{dist-esm/src → dist/browser}/models/index.d.ts.map +0 -0
  314. /package/{dist-esm/src → dist/browser}/models/index.js +0 -0
  315. /package/{dist-esm/src → dist/browser}/models/mappers.d.ts +0 -0
  316. /package/{dist-esm/src → dist/browser}/models/mappers.d.ts.map +0 -0
  317. /package/{dist-esm/src → dist/browser}/models/mappers.js +0 -0
  318. /package/{dist-esm/src → dist/browser}/models/parameters.d.ts +0 -0
  319. /package/{dist-esm/src → dist/browser}/models/parameters.d.ts.map +0 -0
  320. /package/{dist-esm/src → dist/browser}/operationsInterfaces/containerHostMappings.js +0 -0
  321. /package/{dist-esm/src → dist/browser}/operationsInterfaces/controllers.js +0 -0
  322. /package/{dist-esm/src → dist/browser}/operationsInterfaces/operations.js +0 -0
  323. /package/{dist-esm/src → dist/browser}/pagingHelper.d.ts +0 -0
  324. /package/{dist-esm/src → dist/browser}/pagingHelper.d.ts.map +0 -0
  325. /package/{dist-esm/src → dist/browser}/pagingHelper.js +0 -0
  326. /package/{types → dist/commonjs}/tsdoc-metadata.json +0 -0
@@ -0,0 +1,513 @@
1
+ /*
2
+ * Copyright (c) Microsoft Corporation.
3
+ * Licensed under the MIT License.
4
+ *
5
+ * Code generated by Microsoft (R) AutoRest Code Generator.
6
+ * Changes may cause incorrect behavior and will be lost if the code is regenerated.
7
+ */
8
+ import { __asyncDelegator, __asyncGenerator, __asyncValues, __await } from "tslib";
9
+ import { setContinuationToken } from "../pagingHelper.js";
10
+ import * as coreClient from "@azure/core-client";
11
+ import * as Mappers from "../models/mappers.js";
12
+ import * as Parameters from "../models/parameters.js";
13
+ import { LroEngine } from "@azure/core-lro";
14
+ import { LroImpl } from "../lroImpl.js";
15
+ /// <reference lib="esnext.asynciterable" />
16
+ /** Class containing Controllers operations. */
17
+ export class ControllersImpl {
18
+ /**
19
+ * Initialize a new instance of the class Controllers class.
20
+ * @param client Reference to the service client
21
+ */
22
+ constructor(client) {
23
+ this.client = client;
24
+ }
25
+ /**
26
+ * Lists all the Azure Dev Spaces Controllers with their properties in the specified resource group and
27
+ * subscription.
28
+ * @param resourceGroupName Resource group to which the resource belongs.
29
+ * @param options The options parameters.
30
+ */
31
+ listByResourceGroup(resourceGroupName, options) {
32
+ const iter = this.listByResourceGroupPagingAll(resourceGroupName, options);
33
+ return {
34
+ next() {
35
+ return iter.next();
36
+ },
37
+ [Symbol.asyncIterator]() {
38
+ return this;
39
+ },
40
+ byPage: (settings) => {
41
+ if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
42
+ throw new Error("maxPageSize is not supported by this operation.");
43
+ }
44
+ return this.listByResourceGroupPagingPage(resourceGroupName, options, settings);
45
+ }
46
+ };
47
+ }
48
+ listByResourceGroupPagingPage(resourceGroupName, options, settings) {
49
+ return __asyncGenerator(this, arguments, function* listByResourceGroupPagingPage_1() {
50
+ let result;
51
+ let continuationToken = settings === null || settings === void 0 ? void 0 : settings.continuationToken;
52
+ if (!continuationToken) {
53
+ result = yield __await(this._listByResourceGroup(resourceGroupName, options));
54
+ let page = result.value || [];
55
+ continuationToken = result.nextLink;
56
+ setContinuationToken(page, continuationToken);
57
+ yield yield __await(page);
58
+ }
59
+ while (continuationToken) {
60
+ result = yield __await(this._listByResourceGroupNext(resourceGroupName, continuationToken, options));
61
+ continuationToken = result.nextLink;
62
+ let page = result.value || [];
63
+ setContinuationToken(page, continuationToken);
64
+ yield yield __await(page);
65
+ }
66
+ });
67
+ }
68
+ listByResourceGroupPagingAll(resourceGroupName, options) {
69
+ return __asyncGenerator(this, arguments, function* listByResourceGroupPagingAll_1() {
70
+ var _a, e_1, _b, _c;
71
+ try {
72
+ for (var _d = true, _e = __asyncValues(this.listByResourceGroupPagingPage(resourceGroupName, options)), _f; _f = yield __await(_e.next()), _a = _f.done, !_a; _d = true) {
73
+ _c = _f.value;
74
+ _d = false;
75
+ const page = _c;
76
+ yield __await(yield* __asyncDelegator(__asyncValues(page)));
77
+ }
78
+ }
79
+ catch (e_1_1) { e_1 = { error: e_1_1 }; }
80
+ finally {
81
+ try {
82
+ if (!_d && !_a && (_b = _e.return)) yield __await(_b.call(_e));
83
+ }
84
+ finally { if (e_1) throw e_1.error; }
85
+ }
86
+ });
87
+ }
88
+ /**
89
+ * Lists all the Azure Dev Spaces Controllers with their properties in the subscription.
90
+ * @param options The options parameters.
91
+ */
92
+ list(options) {
93
+ const iter = this.listPagingAll(options);
94
+ return {
95
+ next() {
96
+ return iter.next();
97
+ },
98
+ [Symbol.asyncIterator]() {
99
+ return this;
100
+ },
101
+ byPage: (settings) => {
102
+ if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
103
+ throw new Error("maxPageSize is not supported by this operation.");
104
+ }
105
+ return this.listPagingPage(options, settings);
106
+ }
107
+ };
108
+ }
109
+ listPagingPage(options, settings) {
110
+ return __asyncGenerator(this, arguments, function* listPagingPage_1() {
111
+ let result;
112
+ let continuationToken = settings === null || settings === void 0 ? void 0 : settings.continuationToken;
113
+ if (!continuationToken) {
114
+ result = yield __await(this._list(options));
115
+ let page = result.value || [];
116
+ continuationToken = result.nextLink;
117
+ setContinuationToken(page, continuationToken);
118
+ yield yield __await(page);
119
+ }
120
+ while (continuationToken) {
121
+ result = yield __await(this._listNext(continuationToken, options));
122
+ continuationToken = result.nextLink;
123
+ let page = result.value || [];
124
+ setContinuationToken(page, continuationToken);
125
+ yield yield __await(page);
126
+ }
127
+ });
128
+ }
129
+ listPagingAll(options) {
130
+ return __asyncGenerator(this, arguments, function* listPagingAll_1() {
131
+ var _a, e_2, _b, _c;
132
+ try {
133
+ for (var _d = true, _e = __asyncValues(this.listPagingPage(options)), _f; _f = yield __await(_e.next()), _a = _f.done, !_a; _d = true) {
134
+ _c = _f.value;
135
+ _d = false;
136
+ const page = _c;
137
+ yield __await(yield* __asyncDelegator(__asyncValues(page)));
138
+ }
139
+ }
140
+ catch (e_2_1) { e_2 = { error: e_2_1 }; }
141
+ finally {
142
+ try {
143
+ if (!_d && !_a && (_b = _e.return)) yield __await(_b.call(_e));
144
+ }
145
+ finally { if (e_2) throw e_2.error; }
146
+ }
147
+ });
148
+ }
149
+ /**
150
+ * Gets the properties for an Azure Dev Spaces Controller.
151
+ * @param resourceGroupName Resource group to which the resource belongs.
152
+ * @param name Name of the resource.
153
+ * @param options The options parameters.
154
+ */
155
+ get(resourceGroupName, name, options) {
156
+ return this.client.sendOperationRequest({ resourceGroupName, name, options }, getOperationSpec);
157
+ }
158
+ /**
159
+ * Creates an Azure Dev Spaces Controller with the specified create parameters.
160
+ * @param resourceGroupName Resource group to which the resource belongs.
161
+ * @param name Name of the resource.
162
+ * @param controller Controller create parameters.
163
+ * @param options The options parameters.
164
+ */
165
+ async beginCreate(resourceGroupName, name, controller, options) {
166
+ const directSendOperation = async (args, spec) => {
167
+ return this.client.sendOperationRequest(args, spec);
168
+ };
169
+ const sendOperation = async (args, spec) => {
170
+ var _a;
171
+ let currentRawResponse = undefined;
172
+ const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
173
+ const callback = (rawResponse, flatResponse) => {
174
+ currentRawResponse = rawResponse;
175
+ providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
176
+ };
177
+ const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
178
+ const flatResponse = await directSendOperation(updatedArgs, spec);
179
+ return {
180
+ flatResponse,
181
+ rawResponse: {
182
+ statusCode: currentRawResponse.status,
183
+ body: currentRawResponse.parsedBody,
184
+ headers: currentRawResponse.headers.toJSON()
185
+ }
186
+ };
187
+ };
188
+ const lro = new LroImpl(sendOperation, { resourceGroupName, name, controller, options }, createOperationSpec);
189
+ const poller = new LroEngine(lro, {
190
+ resumeFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
191
+ intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs
192
+ });
193
+ await poller.poll();
194
+ return poller;
195
+ }
196
+ /**
197
+ * Creates an Azure Dev Spaces Controller with the specified create parameters.
198
+ * @param resourceGroupName Resource group to which the resource belongs.
199
+ * @param name Name of the resource.
200
+ * @param controller Controller create parameters.
201
+ * @param options The options parameters.
202
+ */
203
+ async beginCreateAndWait(resourceGroupName, name, controller, options) {
204
+ const poller = await this.beginCreate(resourceGroupName, name, controller, options);
205
+ return poller.pollUntilDone();
206
+ }
207
+ /**
208
+ * Deletes an existing Azure Dev Spaces Controller.
209
+ * @param resourceGroupName Resource group to which the resource belongs.
210
+ * @param name Name of the resource.
211
+ * @param options The options parameters.
212
+ */
213
+ async beginDelete(resourceGroupName, name, options) {
214
+ const directSendOperation = async (args, spec) => {
215
+ return this.client.sendOperationRequest(args, spec);
216
+ };
217
+ const sendOperation = async (args, spec) => {
218
+ var _a;
219
+ let currentRawResponse = undefined;
220
+ const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
221
+ const callback = (rawResponse, flatResponse) => {
222
+ currentRawResponse = rawResponse;
223
+ providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
224
+ };
225
+ const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
226
+ const flatResponse = await directSendOperation(updatedArgs, spec);
227
+ return {
228
+ flatResponse,
229
+ rawResponse: {
230
+ statusCode: currentRawResponse.status,
231
+ body: currentRawResponse.parsedBody,
232
+ headers: currentRawResponse.headers.toJSON()
233
+ }
234
+ };
235
+ };
236
+ const lro = new LroImpl(sendOperation, { resourceGroupName, name, options }, deleteOperationSpec);
237
+ const poller = new LroEngine(lro, {
238
+ resumeFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
239
+ intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs
240
+ });
241
+ await poller.poll();
242
+ return poller;
243
+ }
244
+ /**
245
+ * Deletes an existing Azure Dev Spaces Controller.
246
+ * @param resourceGroupName Resource group to which the resource belongs.
247
+ * @param name Name of the resource.
248
+ * @param options The options parameters.
249
+ */
250
+ async beginDeleteAndWait(resourceGroupName, name, options) {
251
+ const poller = await this.beginDelete(resourceGroupName, name, options);
252
+ return poller.pollUntilDone();
253
+ }
254
+ /**
255
+ * Updates the properties of an existing Azure Dev Spaces Controller with the specified update
256
+ * parameters.
257
+ * @param resourceGroupName Resource group to which the resource belongs.
258
+ * @param name Name of the resource.
259
+ * @param controllerUpdateParameters Parameters for updating the Azure Dev Spaces Controller.
260
+ * @param options The options parameters.
261
+ */
262
+ update(resourceGroupName, name, controllerUpdateParameters, options) {
263
+ return this.client.sendOperationRequest({ resourceGroupName, name, controllerUpdateParameters, options }, updateOperationSpec);
264
+ }
265
+ /**
266
+ * Lists all the Azure Dev Spaces Controllers with their properties in the specified resource group and
267
+ * subscription.
268
+ * @param resourceGroupName Resource group to which the resource belongs.
269
+ * @param options The options parameters.
270
+ */
271
+ _listByResourceGroup(resourceGroupName, options) {
272
+ return this.client.sendOperationRequest({ resourceGroupName, options }, listByResourceGroupOperationSpec);
273
+ }
274
+ /**
275
+ * Lists all the Azure Dev Spaces Controllers with their properties in the subscription.
276
+ * @param options The options parameters.
277
+ */
278
+ _list(options) {
279
+ return this.client.sendOperationRequest({ options }, listOperationSpec);
280
+ }
281
+ /**
282
+ * Lists connection details for the underlying container resources of an Azure Dev Spaces Controller.
283
+ * @param resourceGroupName Resource group to which the resource belongs.
284
+ * @param name Name of the resource.
285
+ * @param listConnectionDetailsParameters Parameters for listing connection details of Azure Dev Spaces
286
+ * Controller.
287
+ * @param options The options parameters.
288
+ */
289
+ listConnectionDetails(resourceGroupName, name, listConnectionDetailsParameters, options) {
290
+ return this.client.sendOperationRequest({ resourceGroupName, name, listConnectionDetailsParameters, options }, listConnectionDetailsOperationSpec);
291
+ }
292
+ /**
293
+ * ListByResourceGroupNext
294
+ * @param resourceGroupName Resource group to which the resource belongs.
295
+ * @param nextLink The nextLink from the previous successful call to the ListByResourceGroup method.
296
+ * @param options The options parameters.
297
+ */
298
+ _listByResourceGroupNext(resourceGroupName, nextLink, options) {
299
+ return this.client.sendOperationRequest({ resourceGroupName, nextLink, options }, listByResourceGroupNextOperationSpec);
300
+ }
301
+ /**
302
+ * ListNext
303
+ * @param nextLink The nextLink from the previous successful call to the List method.
304
+ * @param options The options parameters.
305
+ */
306
+ _listNext(nextLink, options) {
307
+ return this.client.sendOperationRequest({ nextLink, options }, listNextOperationSpec);
308
+ }
309
+ }
310
+ // Operation Specifications
311
+ const serializer = coreClient.createSerializer(Mappers, /* isXml */ false);
312
+ const getOperationSpec = {
313
+ path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevSpaces/controllers/{name}",
314
+ httpMethod: "GET",
315
+ responses: {
316
+ 200: {
317
+ bodyMapper: Mappers.Controller
318
+ },
319
+ default: {
320
+ bodyMapper: Mappers.DevSpacesErrorResponse
321
+ }
322
+ },
323
+ queryParameters: [Parameters.apiVersion],
324
+ urlParameters: [
325
+ Parameters.$host,
326
+ Parameters.subscriptionId,
327
+ Parameters.resourceGroupName,
328
+ Parameters.name
329
+ ],
330
+ headerParameters: [Parameters.accept],
331
+ serializer
332
+ };
333
+ const createOperationSpec = {
334
+ path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevSpaces/controllers/{name}",
335
+ httpMethod: "PUT",
336
+ responses: {
337
+ 200: {
338
+ bodyMapper: Mappers.Controller
339
+ },
340
+ 201: {
341
+ bodyMapper: Mappers.Controller
342
+ },
343
+ 202: {
344
+ bodyMapper: Mappers.Controller
345
+ },
346
+ 204: {
347
+ bodyMapper: Mappers.Controller
348
+ },
349
+ default: {
350
+ bodyMapper: Mappers.DevSpacesErrorResponse
351
+ }
352
+ },
353
+ requestBody: Parameters.controller,
354
+ queryParameters: [Parameters.apiVersion],
355
+ urlParameters: [
356
+ Parameters.$host,
357
+ Parameters.subscriptionId,
358
+ Parameters.resourceGroupName,
359
+ Parameters.name
360
+ ],
361
+ headerParameters: [Parameters.contentType, Parameters.accept],
362
+ mediaType: "json",
363
+ serializer
364
+ };
365
+ const deleteOperationSpec = {
366
+ path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevSpaces/controllers/{name}",
367
+ httpMethod: "DELETE",
368
+ responses: {
369
+ 200: {},
370
+ 201: {},
371
+ 202: {},
372
+ 204: {},
373
+ default: {
374
+ bodyMapper: Mappers.DevSpacesErrorResponse
375
+ }
376
+ },
377
+ queryParameters: [Parameters.apiVersion],
378
+ urlParameters: [
379
+ Parameters.$host,
380
+ Parameters.subscriptionId,
381
+ Parameters.resourceGroupName,
382
+ Parameters.name
383
+ ],
384
+ headerParameters: [Parameters.accept],
385
+ serializer
386
+ };
387
+ const updateOperationSpec = {
388
+ path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevSpaces/controllers/{name}",
389
+ httpMethod: "PATCH",
390
+ responses: {
391
+ 200: {
392
+ bodyMapper: Mappers.Controller
393
+ },
394
+ 201: {
395
+ bodyMapper: Mappers.Controller
396
+ },
397
+ default: {
398
+ bodyMapper: Mappers.DevSpacesErrorResponse
399
+ }
400
+ },
401
+ requestBody: Parameters.controllerUpdateParameters,
402
+ queryParameters: [Parameters.apiVersion],
403
+ urlParameters: [
404
+ Parameters.$host,
405
+ Parameters.subscriptionId,
406
+ Parameters.resourceGroupName,
407
+ Parameters.name
408
+ ],
409
+ headerParameters: [Parameters.contentType, Parameters.accept],
410
+ mediaType: "json",
411
+ serializer
412
+ };
413
+ const listByResourceGroupOperationSpec = {
414
+ path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevSpaces/controllers",
415
+ httpMethod: "GET",
416
+ responses: {
417
+ 200: {
418
+ bodyMapper: Mappers.ControllerList
419
+ },
420
+ default: {
421
+ bodyMapper: Mappers.DevSpacesErrorResponse
422
+ }
423
+ },
424
+ queryParameters: [Parameters.apiVersion],
425
+ urlParameters: [
426
+ Parameters.$host,
427
+ Parameters.subscriptionId,
428
+ Parameters.resourceGroupName
429
+ ],
430
+ headerParameters: [Parameters.accept],
431
+ serializer
432
+ };
433
+ const listOperationSpec = {
434
+ path: "/subscriptions/{subscriptionId}/providers/Microsoft.DevSpaces/controllers",
435
+ httpMethod: "GET",
436
+ responses: {
437
+ 200: {
438
+ bodyMapper: Mappers.ControllerList
439
+ },
440
+ default: {
441
+ bodyMapper: Mappers.DevSpacesErrorResponse
442
+ }
443
+ },
444
+ queryParameters: [Parameters.apiVersion],
445
+ urlParameters: [Parameters.$host, Parameters.subscriptionId],
446
+ headerParameters: [Parameters.accept],
447
+ serializer
448
+ };
449
+ const listConnectionDetailsOperationSpec = {
450
+ path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevSpaces/controllers/{name}/listConnectionDetails",
451
+ httpMethod: "POST",
452
+ responses: {
453
+ 200: {
454
+ bodyMapper: Mappers.ControllerConnectionDetailsList
455
+ },
456
+ default: {
457
+ bodyMapper: Mappers.DevSpacesErrorResponse
458
+ }
459
+ },
460
+ requestBody: Parameters.listConnectionDetailsParameters,
461
+ queryParameters: [Parameters.apiVersion],
462
+ urlParameters: [
463
+ Parameters.$host,
464
+ Parameters.subscriptionId,
465
+ Parameters.resourceGroupName,
466
+ Parameters.name
467
+ ],
468
+ headerParameters: [Parameters.contentType, Parameters.accept],
469
+ mediaType: "json",
470
+ serializer
471
+ };
472
+ const listByResourceGroupNextOperationSpec = {
473
+ path: "{nextLink}",
474
+ httpMethod: "GET",
475
+ responses: {
476
+ 200: {
477
+ bodyMapper: Mappers.ControllerList
478
+ },
479
+ default: {
480
+ bodyMapper: Mappers.DevSpacesErrorResponse
481
+ }
482
+ },
483
+ queryParameters: [Parameters.apiVersion],
484
+ urlParameters: [
485
+ Parameters.$host,
486
+ Parameters.subscriptionId,
487
+ Parameters.resourceGroupName,
488
+ Parameters.nextLink
489
+ ],
490
+ headerParameters: [Parameters.accept],
491
+ serializer
492
+ };
493
+ const listNextOperationSpec = {
494
+ path: "{nextLink}",
495
+ httpMethod: "GET",
496
+ responses: {
497
+ 200: {
498
+ bodyMapper: Mappers.ControllerList
499
+ },
500
+ default: {
501
+ bodyMapper: Mappers.DevSpacesErrorResponse
502
+ }
503
+ },
504
+ queryParameters: [Parameters.apiVersion],
505
+ urlParameters: [
506
+ Parameters.$host,
507
+ Parameters.subscriptionId,
508
+ Parameters.nextLink
509
+ ],
510
+ headerParameters: [Parameters.accept],
511
+ serializer
512
+ };
513
+ //# sourceMappingURL=controllers.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"controllers.js","sourceRoot":"","sources":["../../../src/operations/controllers.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAGH,OAAO,EAAE,oBAAoB,EAAE,MAAM,oBAAoB,CAAC;AAE1D,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AACjD,OAAO,KAAK,OAAO,MAAM,sBAAsB,CAAC;AAChD,OAAO,KAAK,UAAU,MAAM,yBAAyB,CAAC;A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ACH,UAAU,EAAE,OAAO,CAAC,cAAc;SACnC;QACD,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,sBAAsB;SAC3C;KACF;IACD,eAAe,EAAE,CAAC,UAAU,CAAC,UAAU,CAAC;IACxC,aAAa,EAAE;QACb,UAAU,CAAC,KAAK;QAChB,UAAU,CAAC,cAAc;QACzB,UAAU,CAAC,iBAAiB;QAC5B,UAAU,CAAC,QAAQ;KACpB;IACD,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC;AACF,MAAM,qBAAqB,GAA6B;IACtD,IAAI,EAAE,YAAY;IAClB,UAAU,EAAE,KAAK;IACjB,SAAS,EAAE;QACT,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,cAAc;SACnC;QACD,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,sBAAsB;SAC3C;KACF;IACD,eAAe,EAAE,CAAC,UAAU,CAAC,UAAU,CAAC;IACxC,aAAa,EAAE;QACb,UAAU,CAAC,KAAK;QAChB,UAAU,CAAC,cAAc;QACzB,UAAU,CAAC,QAAQ;KACpB;IACD,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC","sourcesContent":["/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport { PagedAsyncIterableIterator, PageSettings } from \"@azure/core-paging\";\nimport { setContinuationToken } from \"../pagingHelper.js\";\nimport { Controllers } from \"../operationsInterfaces/index.js\";\nimport * as coreClient from \"@azure/core-client\";\nimport * as Mappers from \"../models/mappers.js\";\nimport * as Parameters from \"../models/parameters.js\";\nimport { DevSpacesManagementClient } from \"../devSpacesManagementClient.js\";\nimport { PollerLike, PollOperationState, LroEngine } from \"@azure/core-lro\";\nimport { LroImpl } from \"../lroImpl.js\";\nimport {\n Controller,\n ControllersListByResourceGroupNextOptionalParams,\n ControllersListByResourceGroupOptionalParams,\n ControllersListByResourceGroupResponse,\n ControllersListNextOptionalParams,\n ControllersListOptionalParams,\n ControllersListResponse,\n ControllersGetOptionalParams,\n ControllersGetResponse,\n ControllersCreateOptionalParams,\n ControllersCreateResponse,\n ControllersDeleteOptionalParams,\n ControllerUpdateParameters,\n ControllersUpdateOptionalParams,\n ControllersUpdateResponse,\n ListConnectionDetailsParameters,\n ControllersListConnectionDetailsOptionalParams,\n ControllersListConnectionDetailsResponse,\n ControllersListByResourceGroupNextResponse,\n ControllersListNextResponse\n} from \"../models/index.js\";\n\n/// <reference lib=\"esnext.asynciterable\" />\n/** Class containing Controllers operations. */\nexport class ControllersImpl implements Controllers {\n private readonly client: DevSpacesManagementClient;\n\n /**\n * Initialize a new instance of the class Controllers class.\n * @param client Reference to the service client\n */\n constructor(client: DevSpacesManagementClient) {\n this.client = client;\n }\n\n /**\n * Lists all the Azure Dev Spaces Controllers with their properties in the specified resource group and\n * subscription.\n * @param resourceGroupName Resource group to which the resource belongs.\n * @param options The options parameters.\n */\n public listByResourceGroup(\n resourceGroupName: string,\n options?: ControllersListByResourceGroupOptionalParams\n ): PagedAsyncIterableIterator<Controller> {\n const iter = this.listByResourceGroupPagingAll(resourceGroupName, options);\n return {\n next() {\n return iter.next();\n },\n [Symbol.asyncIterator]() {\n return this;\n },\n byPage: (settings?: PageSettings) => {\n if (settings?.maxPageSize) {\n throw new Error(\"maxPageSize is not supported by this operation.\");\n }\n return this.listByResourceGroupPagingPage(\n resourceGroupName,\n options,\n settings\n );\n }\n };\n }\n\n private async *listByResourceGroupPagingPage(\n resourceGroupName: string,\n options?: ControllersListByResourceGroupOptionalParams,\n settings?: PageSettings\n ): AsyncIterableIterator<Controller[]> {\n let result: ControllersListByResourceGroupResponse;\n let continuationToken = settings?.continuationToken;\n if (!continuationToken) {\n result = await this._listByResourceGroup(resourceGroupName, options);\n let page = result.value || [];\n continuationToken = result.nextLink;\n setContinuationToken(page, continuationToken);\n yield page;\n }\n while (continuationToken) {\n result = await this._listByResourceGroupNext(\n resourceGroupName,\n continuationToken,\n options\n );\n continuationToken = result.nextLink;\n let page = result.value || [];\n setContinuationToken(page, continuationToken);\n yield page;\n }\n }\n\n private async *listByResourceGroupPagingAll(\n resourceGroupName: string,\n options?: ControllersListByResourceGroupOptionalParams\n ): AsyncIterableIterator<Controller> {\n for await (const page of this.listByResourceGroupPagingPage(\n resourceGroupName,\n options\n )) {\n yield* page;\n }\n }\n\n /**\n * Lists all the Azure Dev Spaces Controllers with their properties in the subscription.\n * @param options The options parameters.\n */\n public list(\n options?: ControllersListOptionalParams\n ): PagedAsyncIterableIterator<Controller> {\n const iter = this.listPagingAll(options);\n return {\n next() {\n return iter.next();\n },\n [Symbol.asyncIterator]() {\n return this;\n },\n byPage: (settings?: PageSettings) => {\n if (settings?.maxPageSize) {\n throw new Error(\"maxPageSize is not supported by this operation.\");\n }\n return this.listPagingPage(options, settings);\n }\n };\n }\n\n private async *listPagingPage(\n options?: ControllersListOptionalParams,\n settings?: PageSettings\n ): AsyncIterableIterator<Controller[]> {\n let result: ControllersListResponse;\n let continuationToken = settings?.continuationToken;\n if (!continuationToken) {\n result = await this._list(options);\n let page = result.value || [];\n continuationToken = result.nextLink;\n setContinuationToken(page, continuationToken);\n yield page;\n }\n while (continuationToken) {\n result = await this._listNext(continuationToken, options);\n continuationToken = result.nextLink;\n let page = result.value || [];\n setContinuationToken(page, continuationToken);\n yield page;\n }\n }\n\n private async *listPagingAll(\n options?: ControllersListOptionalParams\n ): AsyncIterableIterator<Controller> {\n for await (const page of this.listPagingPage(options)) {\n yield* page;\n }\n }\n\n /**\n * Gets the properties for an Azure Dev Spaces Controller.\n * @param resourceGroupName Resource group to which the resource belongs.\n * @param name Name of the resource.\n * @param options The options parameters.\n */\n get(\n resourceGroupName: string,\n name: string,\n options?: ControllersGetOptionalParams\n ): Promise<ControllersGetResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, name, options },\n getOperationSpec\n );\n }\n\n /**\n * Creates an Azure Dev Spaces Controller with the specified create parameters.\n * @param resourceGroupName Resource group to which the resource belongs.\n * @param name Name of the resource.\n * @param controller Controller create parameters.\n * @param options The options parameters.\n */\n async beginCreate(\n resourceGroupName: string,\n name: string,\n controller: Controller,\n options?: ControllersCreateOptionalParams\n ): Promise<\n PollerLike<\n PollOperationState<ControllersCreateResponse>,\n ControllersCreateResponse\n >\n > {\n const directSendOperation = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec\n ): Promise<ControllersCreateResponse> => {\n return this.client.sendOperationRequest(args, spec);\n };\n const sendOperation = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec\n ) => {\n let currentRawResponse:\n | coreClient.FullOperationResponse\n | undefined = undefined;\n const providedCallback = args.options?.onResponse;\n const callback: coreClient.RawResponseCallback = (\n rawResponse: coreClient.FullOperationResponse,\n flatResponse: unknown\n ) => {\n currentRawResponse = rawResponse;\n providedCallback?.(rawResponse, flatResponse);\n };\n const updatedArgs = {\n ...args,\n options: {\n ...args.options,\n onResponse: callback\n }\n };\n const flatResponse = await directSendOperation(updatedArgs, spec);\n return {\n flatResponse,\n rawResponse: {\n statusCode: currentRawResponse!.status,\n body: currentRawResponse!.parsedBody,\n headers: currentRawResponse!.headers.toJSON()\n }\n };\n };\n\n const lro = new LroImpl(\n sendOperation,\n { resourceGroupName, name, controller, options },\n createOperationSpec\n );\n const poller = new LroEngine(lro, {\n resumeFrom: options?.resumeFrom,\n intervalInMs: options?.updateIntervalInMs\n });\n await poller.poll();\n return poller;\n }\n\n /**\n * Creates an Azure Dev Spaces Controller with the specified create parameters.\n * @param resourceGroupName Resource group to which the resource belongs.\n * @param name Name of the resource.\n * @param controller Controller create parameters.\n * @param options The options parameters.\n */\n async beginCreateAndWait(\n resourceGroupName: string,\n name: string,\n controller: Controller,\n options?: ControllersCreateOptionalParams\n ): Promise<ControllersCreateResponse> {\n const poller = await this.beginCreate(\n resourceGroupName,\n name,\n controller,\n options\n );\n return poller.pollUntilDone();\n }\n\n /**\n * Deletes an existing Azure Dev Spaces Controller.\n * @param resourceGroupName Resource group to which the resource belongs.\n * @param name Name of the resource.\n * @param options The options parameters.\n */\n async beginDelete(\n resourceGroupName: string,\n name: string,\n options?: ControllersDeleteOptionalParams\n ): Promise<PollerLike<PollOperationState<void>, void>> {\n const directSendOperation = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec\n ): Promise<void> => {\n return this.client.sendOperationRequest(args, spec);\n };\n const sendOperation = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec\n ) => {\n let currentRawResponse:\n | coreClient.FullOperationResponse\n | undefined = undefined;\n const providedCallback = args.options?.onResponse;\n const callback: coreClient.RawResponseCallback = (\n rawResponse: coreClient.FullOperationResponse,\n flatResponse: unknown\n ) => {\n currentRawResponse = rawResponse;\n providedCallback?.(rawResponse, flatResponse);\n };\n const updatedArgs = {\n ...args,\n options: {\n ...args.options,\n onResponse: callback\n }\n };\n const flatResponse = await directSendOperation(updatedArgs, spec);\n return {\n flatResponse,\n rawResponse: {\n statusCode: currentRawResponse!.status,\n body: currentRawResponse!.parsedBody,\n headers: currentRawResponse!.headers.toJSON()\n }\n };\n };\n\n const lro = new LroImpl(\n sendOperation,\n { resourceGroupName, name, options },\n deleteOperationSpec\n );\n const poller = new LroEngine(lro, {\n resumeFrom: options?.resumeFrom,\n intervalInMs: options?.updateIntervalInMs\n });\n await poller.poll();\n return poller;\n }\n\n /**\n * Deletes an existing Azure Dev Spaces Controller.\n * @param resourceGroupName Resource group to which the resource belongs.\n * @param name Name of the resource.\n * @param options The options parameters.\n */\n async beginDeleteAndWait(\n resourceGroupName: string,\n name: string,\n options?: ControllersDeleteOptionalParams\n ): Promise<void> {\n const poller = await this.beginDelete(resourceGroupName, name, options);\n return poller.pollUntilDone();\n }\n\n /**\n * Updates the properties of an existing Azure Dev Spaces Controller with the specified update\n * parameters.\n * @param resourceGroupName Resource group to which the resource belongs.\n * @param name Name of the resource.\n * @param controllerUpdateParameters Parameters for updating the Azure Dev Spaces Controller.\n * @param options The options parameters.\n */\n update(\n resourceGroupName: string,\n name: string,\n controllerUpdateParameters: ControllerUpdateParameters,\n options?: ControllersUpdateOptionalParams\n ): Promise<ControllersUpdateResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, name, controllerUpdateParameters, options },\n updateOperationSpec\n );\n }\n\n /**\n * Lists all the Azure Dev Spaces Controllers with their properties in the specified resource group and\n * subscription.\n * @param resourceGroupName Resource group to which the resource belongs.\n * @param options The options parameters.\n */\n private _listByResourceGroup(\n resourceGroupName: string,\n options?: ControllersListByResourceGroupOptionalParams\n ): Promise<ControllersListByResourceGroupResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, options },\n listByResourceGroupOperationSpec\n );\n }\n\n /**\n * Lists all the Azure Dev Spaces Controllers with their properties in the subscription.\n * @param options The options parameters.\n */\n private _list(\n options?: ControllersListOptionalParams\n ): Promise<ControllersListResponse> {\n return this.client.sendOperationRequest({ options }, listOperationSpec);\n }\n\n /**\n * Lists connection details for the underlying container resources of an Azure Dev Spaces Controller.\n * @param resourceGroupName Resource group to which the resource belongs.\n * @param name Name of the resource.\n * @param listConnectionDetailsParameters Parameters for listing connection details of Azure Dev Spaces\n * Controller.\n * @param options The options parameters.\n */\n listConnectionDetails(\n resourceGroupName: string,\n name: string,\n listConnectionDetailsParameters: ListConnectionDetailsParameters,\n options?: ControllersListConnectionDetailsOptionalParams\n ): Promise<ControllersListConnectionDetailsResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, name, listConnectionDetailsParameters, options },\n listConnectionDetailsOperationSpec\n );\n }\n\n /**\n * ListByResourceGroupNext\n * @param resourceGroupName Resource group to which the resource belongs.\n * @param nextLink The nextLink from the previous successful call to the ListByResourceGroup method.\n * @param options The options parameters.\n */\n private _listByResourceGroupNext(\n resourceGroupName: string,\n nextLink: string,\n options?: ControllersListByResourceGroupNextOptionalParams\n ): Promise<ControllersListByResourceGroupNextResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, nextLink, options },\n listByResourceGroupNextOperationSpec\n );\n }\n\n /**\n * ListNext\n * @param nextLink The nextLink from the previous successful call to the List method.\n * @param options The options parameters.\n */\n private _listNext(\n nextLink: string,\n options?: ControllersListNextOptionalParams\n ): Promise<ControllersListNextResponse> {\n return this.client.sendOperationRequest(\n { nextLink, options },\n listNextOperationSpec\n );\n }\n}\n// Operation Specifications\nconst serializer = coreClient.createSerializer(Mappers, /* isXml */ false);\n\nconst getOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevSpaces/controllers/{name}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.Controller\n },\n default: {\n bodyMapper: Mappers.DevSpacesErrorResponse\n }\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.name\n ],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst createOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevSpaces/controllers/{name}\",\n httpMethod: \"PUT\",\n responses: {\n 200: {\n bodyMapper: Mappers.Controller\n },\n 201: {\n bodyMapper: Mappers.Controller\n },\n 202: {\n bodyMapper: Mappers.Controller\n },\n 204: {\n bodyMapper: Mappers.Controller\n },\n default: {\n bodyMapper: Mappers.DevSpacesErrorResponse\n }\n },\n requestBody: Parameters.controller,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.name\n ],\n headerParameters: [Parameters.contentType, Parameters.accept],\n mediaType: \"json\",\n serializer\n};\nconst deleteOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevSpaces/controllers/{name}\",\n httpMethod: \"DELETE\",\n responses: {\n 200: {},\n 201: {},\n 202: {},\n 204: {},\n default: {\n bodyMapper: Mappers.DevSpacesErrorResponse\n }\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.name\n ],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst updateOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevSpaces/controllers/{name}\",\n httpMethod: \"PATCH\",\n responses: {\n 200: {\n bodyMapper: Mappers.Controller\n },\n 201: {\n bodyMapper: Mappers.Controller\n },\n default: {\n bodyMapper: Mappers.DevSpacesErrorResponse\n }\n },\n requestBody: Parameters.controllerUpdateParameters,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.name\n ],\n headerParameters: [Parameters.contentType, Parameters.accept],\n mediaType: \"json\",\n serializer\n};\nconst listByResourceGroupOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevSpaces/controllers\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.ControllerList\n },\n default: {\n bodyMapper: Mappers.DevSpacesErrorResponse\n }\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName\n ],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst listOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/providers/Microsoft.DevSpaces/controllers\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.ControllerList\n },\n default: {\n bodyMapper: Mappers.DevSpacesErrorResponse\n }\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [Parameters.$host, Parameters.subscriptionId],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst listConnectionDetailsOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevSpaces/controllers/{name}/listConnectionDetails\",\n httpMethod: \"POST\",\n responses: {\n 200: {\n bodyMapper: Mappers.ControllerConnectionDetailsList\n },\n default: {\n bodyMapper: Mappers.DevSpacesErrorResponse\n }\n },\n requestBody: Parameters.listConnectionDetailsParameters,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.name\n ],\n headerParameters: [Parameters.contentType, Parameters.accept],\n mediaType: \"json\",\n serializer\n};\nconst listByResourceGroupNextOperationSpec: coreClient.OperationSpec = {\n path: \"{nextLink}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.ControllerList\n },\n default: {\n bodyMapper: Mappers.DevSpacesErrorResponse\n }\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.nextLink\n ],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst listNextOperationSpec: coreClient.OperationSpec = {\n path: \"{nextLink}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.ControllerList\n },\n default: {\n bodyMapper: Mappers.DevSpacesErrorResponse\n }\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.nextLink\n ],\n headerParameters: [Parameters.accept],\n serializer\n};\n"]}
@@ -0,0 +1,4 @@
1
+ export * from "./containerHostMappings.js";
2
+ export * from "./operations.js";
3
+ export * from "./controllers.js";
4
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/operations/index.ts"],"names":[],"mappings":"AAQA,cAAc,4BAA4B,CAAC;AAC3C,cAAc,iBAAiB,CAAC;AAChC,cAAc,kBAAkB,CAAC"}
@@ -0,0 +1,11 @@
1
+ /*
2
+ * Copyright (c) Microsoft Corporation.
3
+ * Licensed under the MIT License.
4
+ *
5
+ * Code generated by Microsoft (R) AutoRest Code Generator.
6
+ * Changes may cause incorrect behavior and will be lost if the code is regenerated.
7
+ */
8
+ export * from "./containerHostMappings.js";
9
+ export * from "./operations.js";
10
+ export * from "./controllers.js";
11
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/operations/index.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,cAAc,4BAA4B,CAAC;AAC3C,cAAc,iBAAiB,CAAC;AAChC,cAAc,kBAAkB,CAAC","sourcesContent":["/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nexport * from \"./containerHostMappings.js\";\nexport * from \"./operations.js\";\nexport * from \"./controllers.js\";\n"]}
@@ -0,0 +1,34 @@
1
+ import { PagedAsyncIterableIterator } from "@azure/core-paging";
2
+ import { Operations } from "../operationsInterfaces/index.js";
3
+ import { DevSpacesManagementClient } from "../devSpacesManagementClient.js";
4
+ import { ResourceProviderOperationDefinition, OperationsListOptionalParams } from "../models/index.js";
5
+ /** Class containing Operations operations. */
6
+ export declare class OperationsImpl implements Operations {
7
+ private readonly client;
8
+ /**
9
+ * Initialize a new instance of the class Operations class.
10
+ * @param client Reference to the service client
11
+ */
12
+ constructor(client: DevSpacesManagementClient);
13
+ /**
14
+ * Lists all the supported operations by the Microsoft.DevSpaces resource provider along with their
15
+ * description.
16
+ * @param options The options parameters.
17
+ */
18
+ list(options?: OperationsListOptionalParams): PagedAsyncIterableIterator<ResourceProviderOperationDefinition>;
19
+ private listPagingPage;
20
+ private listPagingAll;
21
+ /**
22
+ * Lists all the supported operations by the Microsoft.DevSpaces resource provider along with their
23
+ * description.
24
+ * @param options The options parameters.
25
+ */
26
+ private _list;
27
+ /**
28
+ * ListNext
29
+ * @param nextLink The nextLink from the previous successful call to the List method.
30
+ * @param options The options parameters.
31
+ */
32
+ private _listNext;
33
+ }
34
+ //# sourceMappingURL=operations.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"operations.d.ts","sourceRoot":"","sources":["../../../src/operations/operations.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,0BAA0B,EAAgB,MAAM,oBAAoB,CAAC;AAE9E,OAAO,EAAE,UAAU,EAAE,MAAM,kCAAkC,CAAC;AAI9D,OAAO,EAAE,yBAAyB,EAAE,MAAM,iCAAiC,CAAC;AAC5E,OAAO,EACL,mCAAmC,EAEnC,4BAA4B,EAG7B,MAAM,oBAAoB,CAAC;AAG5B,8CAA8C;AAC9C,qBAAa,cAAe,YAAW,UAAU;IAC/C,OAAO,CAAC,QAAQ,CAAC,MAAM,CAA4B;IAEnD;;;OAGG;gBACS,MAAM,EAAE,yBAAyB;IAI7C;;;;OAIG;IACI,IAAI,CACT,OAAO,CAAC,EAAE,4BAA4B,GACrC,0BAA0B,CAAC,mCAAmC,CAAC;YAkBnD,cAAc;YAsBd,aAAa;IAQ5B;;;;OAIG;IACH,OAAO,CAAC,KAAK;IAMb;;;;OAIG;IACH,OAAO,CAAC,SAAS;CASlB"}