@azure/arm-largeinstance 1.0.0-beta.1 → 1.0.0-beta.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 (346) hide show
  1. package/CHANGELOG.md +11 -1
  2. package/LICENSE +4 -4
  3. package/README.md +26 -19
  4. package/dist/browser/index.d.ts +5 -0
  5. package/dist/browser/index.d.ts.map +1 -0
  6. package/{dist-esm/src → dist/browser}/index.js +4 -4
  7. package/dist/browser/index.js.map +1 -0
  8. package/{dist-esm/src → dist/browser}/largeInstanceManagementClient.d.ts +2 -2
  9. package/dist/browser/largeInstanceManagementClient.d.ts.map +1 -0
  10. package/{dist-esm/src → dist/browser}/largeInstanceManagementClient.js +32 -24
  11. package/dist/browser/largeInstanceManagementClient.js.map +1 -0
  12. package/{dist-esm/src → dist/browser}/lroImpl.d.ts.map +1 -1
  13. package/dist/browser/lroImpl.js +18 -0
  14. package/dist/browser/lroImpl.js.map +1 -0
  15. package/dist/browser/models/index.js.map +1 -0
  16. package/{dist-esm/src → dist/browser}/models/mappers.js +17 -7
  17. package/dist/browser/models/mappers.js.map +1 -0
  18. package/{dist-esm/src → dist/browser}/models/parameters.js +1 -1
  19. package/dist/browser/models/parameters.js.map +1 -0
  20. package/{dist-esm/src → dist/browser}/operations/azureLargeInstanceOperations.d.ts +3 -3
  21. package/dist/browser/operations/azureLargeInstanceOperations.d.ts.map +1 -0
  22. package/{dist-esm/src → dist/browser}/operations/azureLargeInstanceOperations.js +175 -206
  23. package/dist/browser/operations/azureLargeInstanceOperations.js.map +1 -0
  24. package/{dist-esm/src → dist/browser}/operations/azureLargeStorageInstanceOperations.d.ts +3 -3
  25. package/dist/browser/operations/azureLargeStorageInstanceOperations.d.ts.map +1 -0
  26. package/{dist-esm/src → dist/browser}/operations/azureLargeStorageInstanceOperations.js +48 -82
  27. package/dist/browser/operations/azureLargeStorageInstanceOperations.js.map +1 -0
  28. package/dist/browser/operations/index.d.ts +4 -0
  29. package/{dist-esm/src → dist/browser}/operations/index.d.ts.map +1 -1
  30. package/{dist-esm/src/operationsInterfaces → dist/browser/operations}/index.js +3 -3
  31. package/dist/browser/operations/index.js.map +1 -0
  32. package/{dist-esm/src → dist/browser}/operations/operations.d.ts +3 -3
  33. package/dist/browser/operations/operations.d.ts.map +1 -0
  34. package/{dist-esm/src → dist/browser}/operations/operations.js +26 -43
  35. package/dist/browser/operations/operations.js.map +1 -0
  36. package/{dist-esm/src → dist/browser}/operationsInterfaces/azureLargeInstanceOperations.d.ts +1 -1
  37. package/dist/browser/operationsInterfaces/azureLargeInstanceOperations.d.ts.map +1 -0
  38. package/dist/browser/operationsInterfaces/azureLargeInstanceOperations.js.map +1 -0
  39. package/{dist-esm/src → dist/browser}/operationsInterfaces/azureLargeStorageInstanceOperations.d.ts +1 -1
  40. package/dist/browser/operationsInterfaces/azureLargeStorageInstanceOperations.d.ts.map +1 -0
  41. package/dist/browser/operationsInterfaces/azureLargeStorageInstanceOperations.js.map +1 -0
  42. package/dist/browser/operationsInterfaces/index.d.ts +4 -0
  43. package/{dist-esm/src → dist/browser}/operationsInterfaces/index.d.ts.map +1 -1
  44. package/{dist-esm/src/operations → dist/browser/operationsInterfaces}/index.js +3 -3
  45. package/dist/browser/operationsInterfaces/index.js.map +1 -0
  46. package/{dist-esm/src → dist/browser}/operationsInterfaces/operations.d.ts +1 -1
  47. package/{dist-esm/src → dist/browser}/operationsInterfaces/operations.d.ts.map +1 -1
  48. package/dist/browser/operationsInterfaces/operations.js.map +1 -0
  49. package/dist/browser/package.json +3 -0
  50. package/{dist-esm/src → dist/browser}/pagingHelper.js +2 -4
  51. package/dist/browser/pagingHelper.js.map +1 -0
  52. package/dist/commonjs/index.d.ts +5 -0
  53. package/dist/commonjs/index.d.ts.map +1 -0
  54. package/dist/commonjs/index.js +19 -0
  55. package/dist/commonjs/index.js.map +1 -0
  56. package/dist/commonjs/largeInstanceManagementClient.d.ts +22 -0
  57. package/dist/commonjs/largeInstanceManagementClient.d.ts.map +1 -0
  58. package/dist/commonjs/largeInstanceManagementClient.js +116 -0
  59. package/dist/commonjs/largeInstanceManagementClient.js.map +1 -0
  60. package/dist/commonjs/lroImpl.d.ts +11 -0
  61. package/dist/commonjs/lroImpl.d.ts.map +1 -0
  62. package/dist/commonjs/lroImpl.js +21 -0
  63. package/dist/commonjs/lroImpl.js.map +1 -0
  64. package/{types/arm-largeinstance.d.ts → dist/commonjs/models/index.d.ts} +858 -1096
  65. package/dist/commonjs/models/index.d.ts.map +1 -0
  66. package/dist/commonjs/models/index.js +213 -0
  67. package/dist/commonjs/models/index.js.map +1 -0
  68. package/dist/commonjs/models/mappers.d.ts +33 -0
  69. package/dist/commonjs/models/mappers.d.ts.map +1 -0
  70. package/dist/commonjs/models/mappers.js +915 -0
  71. package/dist/commonjs/models/mappers.js.map +1 -0
  72. package/dist/commonjs/models/parameters.d.ts +14 -0
  73. package/dist/commonjs/models/parameters.d.ts.map +1 -0
  74. package/dist/commonjs/models/parameters.js +129 -0
  75. package/dist/commonjs/models/parameters.js.map +1 -0
  76. package/dist/commonjs/operations/azureLargeInstanceOperations.d.ts +117 -0
  77. package/dist/commonjs/operations/azureLargeInstanceOperations.d.ts.map +1 -0
  78. package/dist/commonjs/operations/azureLargeInstanceOperations.js +561 -0
  79. package/dist/commonjs/operations/azureLargeInstanceOperations.js.map +1 -0
  80. package/dist/commonjs/operations/azureLargeStorageInstanceOperations.d.ts +76 -0
  81. package/dist/commonjs/operations/azureLargeStorageInstanceOperations.d.ts.map +1 -0
  82. package/dist/commonjs/operations/azureLargeStorageInstanceOperations.js +303 -0
  83. package/dist/commonjs/operations/azureLargeStorageInstanceOperations.js.map +1 -0
  84. package/dist/commonjs/operations/index.d.ts +4 -0
  85. package/dist/commonjs/operations/index.d.ts.map +1 -0
  86. package/dist/commonjs/operations/index.js +14 -0
  87. package/dist/commonjs/operations/index.js.map +1 -0
  88. package/dist/commonjs/operations/operations.d.ts +32 -0
  89. package/dist/commonjs/operations/operations.d.ts.map +1 -0
  90. package/dist/commonjs/operations/operations.js +121 -0
  91. package/dist/commonjs/operations/operations.js.map +1 -0
  92. package/dist/commonjs/operationsInterfaces/azureLargeInstanceOperations.d.ts +79 -0
  93. package/dist/commonjs/operationsInterfaces/azureLargeInstanceOperations.d.ts.map +1 -0
  94. package/{src/operations/index.ts → dist/commonjs/operationsInterfaces/azureLargeInstanceOperations.js} +3 -4
  95. package/dist/commonjs/operationsInterfaces/azureLargeInstanceOperations.js.map +1 -0
  96. package/dist/commonjs/operationsInterfaces/azureLargeStorageInstanceOperations.d.ts +37 -0
  97. package/dist/commonjs/operationsInterfaces/azureLargeStorageInstanceOperations.d.ts.map +1 -0
  98. package/dist/commonjs/operationsInterfaces/azureLargeStorageInstanceOperations.js +10 -0
  99. package/dist/commonjs/operationsInterfaces/azureLargeStorageInstanceOperations.js.map +1 -0
  100. package/dist/commonjs/operationsInterfaces/index.d.ts +4 -0
  101. package/dist/commonjs/operationsInterfaces/index.d.ts.map +1 -0
  102. package/dist/commonjs/operationsInterfaces/index.js +14 -0
  103. package/dist/commonjs/operationsInterfaces/index.js.map +1 -0
  104. package/dist/commonjs/operationsInterfaces/operations.d.ts +11 -0
  105. package/dist/commonjs/operationsInterfaces/operations.d.ts.map +1 -0
  106. package/dist/commonjs/operationsInterfaces/operations.js +10 -0
  107. package/dist/commonjs/operationsInterfaces/operations.js.map +1 -0
  108. package/dist/commonjs/package.json +3 -0
  109. package/dist/commonjs/pagingHelper.d.ts +13 -0
  110. package/dist/commonjs/pagingHelper.d.ts.map +1 -0
  111. package/dist/commonjs/pagingHelper.js +34 -0
  112. package/dist/commonjs/pagingHelper.js.map +1 -0
  113. package/{types → dist/commonjs}/tsdoc-metadata.json +11 -11
  114. package/dist/esm/index.d.ts +5 -0
  115. package/dist/esm/index.d.ts.map +1 -0
  116. package/{src/index.ts → dist/esm/index.js} +5 -5
  117. package/dist/esm/index.js.map +1 -0
  118. package/dist/esm/largeInstanceManagementClient.d.ts +22 -0
  119. package/dist/esm/largeInstanceManagementClient.d.ts.map +1 -0
  120. package/dist/esm/largeInstanceManagementClient.js +111 -0
  121. package/dist/esm/largeInstanceManagementClient.js.map +1 -0
  122. package/dist/esm/lroImpl.d.ts +11 -0
  123. package/dist/esm/lroImpl.d.ts.map +1 -0
  124. package/dist/esm/lroImpl.js +18 -0
  125. package/dist/esm/lroImpl.js.map +1 -0
  126. package/dist/esm/models/index.d.ts +858 -0
  127. package/dist/esm/models/index.d.ts.map +1 -0
  128. package/dist/esm/models/index.js +210 -0
  129. package/dist/esm/models/index.js.map +1 -0
  130. package/dist/esm/models/mappers.d.ts +33 -0
  131. package/dist/esm/models/mappers.d.ts.map +1 -0
  132. package/dist/esm/models/mappers.js +912 -0
  133. package/dist/esm/models/mappers.js.map +1 -0
  134. package/dist/esm/models/parameters.d.ts +14 -0
  135. package/dist/esm/models/parameters.d.ts.map +1 -0
  136. package/dist/esm/models/parameters.js +126 -0
  137. package/dist/esm/models/parameters.js.map +1 -0
  138. package/dist/esm/operations/azureLargeInstanceOperations.d.ts +117 -0
  139. package/dist/esm/operations/azureLargeInstanceOperations.d.ts.map +1 -0
  140. package/dist/esm/operations/azureLargeInstanceOperations.js +556 -0
  141. package/dist/esm/operations/azureLargeInstanceOperations.js.map +1 -0
  142. package/dist/esm/operations/azureLargeStorageInstanceOperations.d.ts +76 -0
  143. package/dist/esm/operations/azureLargeStorageInstanceOperations.d.ts.map +1 -0
  144. package/dist/esm/operations/azureLargeStorageInstanceOperations.js +298 -0
  145. package/dist/esm/operations/azureLargeStorageInstanceOperations.js.map +1 -0
  146. package/dist/esm/operations/index.d.ts +4 -0
  147. package/dist/esm/operations/index.d.ts.map +1 -0
  148. package/dist/esm/operations/index.js +11 -0
  149. package/dist/esm/operations/index.js.map +1 -0
  150. package/dist/esm/operations/operations.d.ts +32 -0
  151. package/dist/esm/operations/operations.d.ts.map +1 -0
  152. package/dist/esm/operations/operations.js +116 -0
  153. package/dist/esm/operations/operations.js.map +1 -0
  154. package/dist/esm/operationsInterfaces/azureLargeInstanceOperations.d.ts +79 -0
  155. package/dist/esm/operationsInterfaces/azureLargeInstanceOperations.d.ts.map +1 -0
  156. package/dist/esm/operationsInterfaces/azureLargeInstanceOperations.js +9 -0
  157. package/dist/esm/operationsInterfaces/azureLargeInstanceOperations.js.map +1 -0
  158. package/dist/esm/operationsInterfaces/azureLargeStorageInstanceOperations.d.ts +37 -0
  159. package/dist/esm/operationsInterfaces/azureLargeStorageInstanceOperations.d.ts.map +1 -0
  160. package/dist/esm/operationsInterfaces/azureLargeStorageInstanceOperations.js +9 -0
  161. package/dist/esm/operationsInterfaces/azureLargeStorageInstanceOperations.js.map +1 -0
  162. package/dist/esm/operationsInterfaces/index.d.ts +4 -0
  163. package/dist/esm/operationsInterfaces/index.d.ts.map +1 -0
  164. package/dist/esm/operationsInterfaces/index.js +11 -0
  165. package/dist/esm/operationsInterfaces/index.js.map +1 -0
  166. package/dist/esm/operationsInterfaces/operations.d.ts +11 -0
  167. package/dist/esm/operationsInterfaces/operations.d.ts.map +1 -0
  168. package/dist/esm/operationsInterfaces/operations.js +9 -0
  169. package/dist/esm/operationsInterfaces/operations.js.map +1 -0
  170. package/dist/esm/package.json +3 -0
  171. package/dist/esm/pagingHelper.d.ts +13 -0
  172. package/dist/esm/pagingHelper.d.ts.map +1 -0
  173. package/dist/esm/pagingHelper.js +30 -0
  174. package/dist/esm/pagingHelper.js.map +1 -0
  175. package/dist/react-native/index.d.ts +5 -0
  176. package/dist/react-native/index.d.ts.map +1 -0
  177. package/dist/react-native/index.js +13 -0
  178. package/dist/react-native/index.js.map +1 -0
  179. package/dist/react-native/largeInstanceManagementClient.d.ts +22 -0
  180. package/dist/react-native/largeInstanceManagementClient.d.ts.map +1 -0
  181. package/dist/react-native/largeInstanceManagementClient.js +111 -0
  182. package/dist/react-native/largeInstanceManagementClient.js.map +1 -0
  183. package/dist/react-native/lroImpl.d.ts +11 -0
  184. package/dist/react-native/lroImpl.d.ts.map +1 -0
  185. package/dist/react-native/lroImpl.js +18 -0
  186. package/dist/react-native/lroImpl.js.map +1 -0
  187. package/dist/react-native/models/index.d.ts +858 -0
  188. package/dist/react-native/models/index.d.ts.map +1 -0
  189. package/dist/react-native/models/index.js +210 -0
  190. package/dist/react-native/models/index.js.map +1 -0
  191. package/dist/react-native/models/mappers.d.ts +33 -0
  192. package/dist/react-native/models/mappers.d.ts.map +1 -0
  193. package/dist/react-native/models/mappers.js +912 -0
  194. package/dist/react-native/models/mappers.js.map +1 -0
  195. package/dist/react-native/models/parameters.d.ts +14 -0
  196. package/dist/react-native/models/parameters.d.ts.map +1 -0
  197. package/dist/react-native/models/parameters.js +126 -0
  198. package/dist/react-native/models/parameters.js.map +1 -0
  199. package/dist/react-native/operations/azureLargeInstanceOperations.d.ts +117 -0
  200. package/dist/react-native/operations/azureLargeInstanceOperations.d.ts.map +1 -0
  201. package/dist/react-native/operations/azureLargeInstanceOperations.js +556 -0
  202. package/dist/react-native/operations/azureLargeInstanceOperations.js.map +1 -0
  203. package/dist/react-native/operations/azureLargeStorageInstanceOperations.d.ts +76 -0
  204. package/dist/react-native/operations/azureLargeStorageInstanceOperations.d.ts.map +1 -0
  205. package/dist/react-native/operations/azureLargeStorageInstanceOperations.js +298 -0
  206. package/dist/react-native/operations/azureLargeStorageInstanceOperations.js.map +1 -0
  207. package/dist/react-native/operations/index.d.ts +4 -0
  208. package/dist/react-native/operations/index.d.ts.map +1 -0
  209. package/dist/react-native/operations/index.js +11 -0
  210. package/dist/react-native/operations/index.js.map +1 -0
  211. package/dist/react-native/operations/operations.d.ts +32 -0
  212. package/dist/react-native/operations/operations.d.ts.map +1 -0
  213. package/dist/react-native/operations/operations.js +116 -0
  214. package/dist/react-native/operations/operations.js.map +1 -0
  215. package/dist/react-native/operationsInterfaces/azureLargeInstanceOperations.d.ts +79 -0
  216. package/dist/react-native/operationsInterfaces/azureLargeInstanceOperations.d.ts.map +1 -0
  217. package/dist/react-native/operationsInterfaces/azureLargeInstanceOperations.js +9 -0
  218. package/dist/react-native/operationsInterfaces/azureLargeInstanceOperations.js.map +1 -0
  219. package/dist/react-native/operationsInterfaces/azureLargeStorageInstanceOperations.d.ts +37 -0
  220. package/dist/react-native/operationsInterfaces/azureLargeStorageInstanceOperations.d.ts.map +1 -0
  221. package/dist/react-native/operationsInterfaces/azureLargeStorageInstanceOperations.js +9 -0
  222. package/dist/react-native/operationsInterfaces/azureLargeStorageInstanceOperations.js.map +1 -0
  223. package/dist/react-native/operationsInterfaces/index.d.ts +4 -0
  224. package/dist/react-native/operationsInterfaces/index.d.ts.map +1 -0
  225. package/dist/react-native/operationsInterfaces/index.js +11 -0
  226. package/dist/react-native/operationsInterfaces/index.js.map +1 -0
  227. package/dist/react-native/operationsInterfaces/operations.d.ts +11 -0
  228. package/dist/react-native/operationsInterfaces/operations.d.ts.map +1 -0
  229. package/dist/react-native/operationsInterfaces/operations.js +9 -0
  230. package/dist/react-native/operationsInterfaces/operations.js.map +1 -0
  231. package/dist/react-native/package.json +3 -0
  232. package/dist/react-native/pagingHelper.d.ts +13 -0
  233. package/dist/react-native/pagingHelper.d.ts.map +1 -0
  234. package/dist/react-native/pagingHelper.js +30 -0
  235. package/dist/react-native/pagingHelper.js.map +1 -0
  236. package/package.json +86 -72
  237. package/dist/index.js +0 -2490
  238. package/dist/index.js.map +0 -1
  239. package/dist/index.min.js +0 -1
  240. package/dist/index.min.js.map +0 -1
  241. package/dist-esm/samples-dev/azureLargeInstanceGetSample.d.ts +0 -2
  242. package/dist-esm/samples-dev/azureLargeInstanceGetSample.d.ts.map +0 -1
  243. package/dist-esm/samples-dev/azureLargeInstanceGetSample.js +0 -41
  244. package/dist-esm/samples-dev/azureLargeInstanceGetSample.js.map +0 -1
  245. package/dist-esm/samples-dev/azureLargeInstanceListByResourceGroupSample.d.ts +0 -2
  246. package/dist-esm/samples-dev/azureLargeInstanceListByResourceGroupSample.d.ts.map +0 -1
  247. package/dist-esm/samples-dev/azureLargeInstanceListByResourceGroupSample.js +0 -56
  248. package/dist-esm/samples-dev/azureLargeInstanceListByResourceGroupSample.js.map +0 -1
  249. package/dist-esm/samples-dev/azureLargeInstanceListBySubscriptionSample.d.ts +0 -2
  250. package/dist-esm/samples-dev/azureLargeInstanceListBySubscriptionSample.d.ts.map +0 -1
  251. package/dist-esm/samples-dev/azureLargeInstanceListBySubscriptionSample.js +0 -55
  252. package/dist-esm/samples-dev/azureLargeInstanceListBySubscriptionSample.js.map +0 -1
  253. package/dist-esm/samples-dev/azureLargeInstanceRestartSample.d.ts +0 -2
  254. package/dist-esm/samples-dev/azureLargeInstanceRestartSample.d.ts.map +0 -1
  255. package/dist-esm/samples-dev/azureLargeInstanceRestartSample.js +0 -39
  256. package/dist-esm/samples-dev/azureLargeInstanceRestartSample.js.map +0 -1
  257. package/dist-esm/samples-dev/azureLargeInstanceShutdownSample.d.ts +0 -2
  258. package/dist-esm/samples-dev/azureLargeInstanceShutdownSample.d.ts.map +0 -1
  259. package/dist-esm/samples-dev/azureLargeInstanceShutdownSample.js +0 -39
  260. package/dist-esm/samples-dev/azureLargeInstanceShutdownSample.js.map +0 -1
  261. package/dist-esm/samples-dev/azureLargeInstanceStartSample.d.ts +0 -2
  262. package/dist-esm/samples-dev/azureLargeInstanceStartSample.d.ts.map +0 -1
  263. package/dist-esm/samples-dev/azureLargeInstanceStartSample.js +0 -39
  264. package/dist-esm/samples-dev/azureLargeInstanceStartSample.js.map +0 -1
  265. package/dist-esm/samples-dev/azureLargeInstanceUpdateSample.d.ts +0 -2
  266. package/dist-esm/samples-dev/azureLargeInstanceUpdateSample.d.ts.map +0 -1
  267. package/dist-esm/samples-dev/azureLargeInstanceUpdateSample.js +0 -66
  268. package/dist-esm/samples-dev/azureLargeInstanceUpdateSample.js.map +0 -1
  269. package/dist-esm/samples-dev/azureLargeStorageInstanceGetSample.d.ts +0 -2
  270. package/dist-esm/samples-dev/azureLargeStorageInstanceGetSample.d.ts.map +0 -1
  271. package/dist-esm/samples-dev/azureLargeStorageInstanceGetSample.js +0 -41
  272. package/dist-esm/samples-dev/azureLargeStorageInstanceGetSample.js.map +0 -1
  273. package/dist-esm/samples-dev/azureLargeStorageInstanceListByResourceGroupSample.d.ts +0 -2
  274. package/dist-esm/samples-dev/azureLargeStorageInstanceListByResourceGroupSample.d.ts.map +0 -1
  275. package/dist-esm/samples-dev/azureLargeStorageInstanceListByResourceGroupSample.js +0 -58
  276. package/dist-esm/samples-dev/azureLargeStorageInstanceListByResourceGroupSample.js.map +0 -1
  277. package/dist-esm/samples-dev/azureLargeStorageInstanceListBySubscriptionSample.d.ts +0 -2
  278. package/dist-esm/samples-dev/azureLargeStorageInstanceListBySubscriptionSample.d.ts.map +0 -1
  279. package/dist-esm/samples-dev/azureLargeStorageInstanceListBySubscriptionSample.js +0 -55
  280. package/dist-esm/samples-dev/azureLargeStorageInstanceListBySubscriptionSample.js.map +0 -1
  281. package/dist-esm/samples-dev/azureLargeStorageInstanceUpdateSample.d.ts +0 -2
  282. package/dist-esm/samples-dev/azureLargeStorageInstanceUpdateSample.d.ts.map +0 -1
  283. package/dist-esm/samples-dev/azureLargeStorageInstanceUpdateSample.js +0 -66
  284. package/dist-esm/samples-dev/azureLargeStorageInstanceUpdateSample.js.map +0 -1
  285. package/dist-esm/samples-dev/operationsListSample.d.ts +0 -2
  286. package/dist-esm/samples-dev/operationsListSample.d.ts.map +0 -1
  287. package/dist-esm/samples-dev/operationsListSample.js +0 -53
  288. package/dist-esm/samples-dev/operationsListSample.js.map +0 -1
  289. package/dist-esm/src/index.d.ts +0 -6
  290. package/dist-esm/src/index.d.ts.map +0 -1
  291. package/dist-esm/src/index.js.map +0 -1
  292. package/dist-esm/src/largeInstanceManagementClient.d.ts.map +0 -1
  293. package/dist-esm/src/largeInstanceManagementClient.js.map +0 -1
  294. package/dist-esm/src/lroImpl.js +0 -21
  295. package/dist-esm/src/lroImpl.js.map +0 -1
  296. package/dist-esm/src/models/index.js.map +0 -1
  297. package/dist-esm/src/models/mappers.js.map +0 -1
  298. package/dist-esm/src/models/parameters.js.map +0 -1
  299. package/dist-esm/src/operations/azureLargeInstanceOperations.d.ts.map +0 -1
  300. package/dist-esm/src/operations/azureLargeInstanceOperations.js.map +0 -1
  301. package/dist-esm/src/operations/azureLargeStorageInstanceOperations.d.ts.map +0 -1
  302. package/dist-esm/src/operations/azureLargeStorageInstanceOperations.js.map +0 -1
  303. package/dist-esm/src/operations/index.d.ts +0 -4
  304. package/dist-esm/src/operations/index.js.map +0 -1
  305. package/dist-esm/src/operations/operations.d.ts.map +0 -1
  306. package/dist-esm/src/operations/operations.js.map +0 -1
  307. package/dist-esm/src/operationsInterfaces/azureLargeInstanceOperations.d.ts.map +0 -1
  308. package/dist-esm/src/operationsInterfaces/azureLargeInstanceOperations.js.map +0 -1
  309. package/dist-esm/src/operationsInterfaces/azureLargeStorageInstanceOperations.d.ts.map +0 -1
  310. package/dist-esm/src/operationsInterfaces/azureLargeStorageInstanceOperations.js.map +0 -1
  311. package/dist-esm/src/operationsInterfaces/index.d.ts +0 -4
  312. package/dist-esm/src/operationsInterfaces/index.js.map +0 -1
  313. package/dist-esm/src/operationsInterfaces/operations.js.map +0 -1
  314. package/dist-esm/src/pagingHelper.js.map +0 -1
  315. package/dist-esm/test/largeinstance_operations_test.spec.d.ts +0 -4
  316. package/dist-esm/test/largeinstance_operations_test.spec.d.ts.map +0 -1
  317. package/dist-esm/test/largeinstance_operations_test.spec.js +0 -73
  318. package/dist-esm/test/largeinstance_operations_test.spec.js.map +0 -1
  319. package/src/largeInstanceManagementClient.ts +0 -156
  320. package/src/lroImpl.ts +0 -42
  321. package/src/models/index.ts +0 -955
  322. package/src/models/mappers.ts +0 -944
  323. package/src/models/parameters.ts +0 -147
  324. package/src/operations/azureLargeInstanceOperations.ts +0 -768
  325. package/src/operations/azureLargeStorageInstanceOperations.ts +0 -401
  326. package/src/operations/operations.ts +0 -149
  327. package/src/operationsInterfaces/azureLargeInstanceOperations.ts +0 -156
  328. package/src/operationsInterfaces/azureLargeStorageInstanceOperations.ts +0 -69
  329. package/src/operationsInterfaces/index.ts +0 -11
  330. package/src/operationsInterfaces/operations.ts +0 -22
  331. package/src/pagingHelper.ts +0 -39
  332. package/tsconfig.json +0 -33
  333. /package/{dist-esm/src → dist/browser}/lroImpl.d.ts +0 -0
  334. /package/{dist-esm/src → dist/browser}/models/index.d.ts +0 -0
  335. /package/{dist-esm/src → dist/browser}/models/index.d.ts.map +0 -0
  336. /package/{dist-esm/src → dist/browser}/models/index.js +0 -0
  337. /package/{dist-esm/src → dist/browser}/models/mappers.d.ts +0 -0
  338. /package/{dist-esm/src → dist/browser}/models/mappers.d.ts.map +0 -0
  339. /package/{dist-esm/src → dist/browser}/models/parameters.d.ts +0 -0
  340. /package/{dist-esm/src → dist/browser}/models/parameters.d.ts.map +0 -0
  341. /package/{dist-esm/src → dist/browser}/operationsInterfaces/azureLargeInstanceOperations.js +0 -0
  342. /package/{dist-esm/src → dist/browser}/operationsInterfaces/azureLargeStorageInstanceOperations.js +0 -0
  343. /package/{dist-esm/src → dist/browser}/operationsInterfaces/operations.js +0 -0
  344. /package/{dist-esm/src → dist/browser}/pagingHelper.d.ts +0 -0
  345. /package/{dist-esm/src → dist/browser}/pagingHelper.d.ts.map +0 -0
  346. /package/review/{arm-largeinstance.api.md → arm-largeinstance-node.api.md} +0 -0
@@ -0,0 +1,76 @@
1
+ import { PagedAsyncIterableIterator } from "@azure/core-paging";
2
+ import { AzureLargeStorageInstanceOperations } from "../operationsInterfaces/index.js";
3
+ import { LargeInstanceManagementClient } from "../largeInstanceManagementClient.js";
4
+ import { AzureLargeStorageInstance, AzureLargeStorageInstanceListBySubscriptionOptionalParams, AzureLargeStorageInstanceListByResourceGroupOptionalParams, AzureLargeStorageInstanceGetOptionalParams, AzureLargeStorageInstanceGetResponse, AzureLargeStorageInstanceTagsUpdate, AzureLargeStorageInstanceUpdateOptionalParams, AzureLargeStorageInstanceUpdateResponse } from "../models/index.js";
5
+ /** Class containing AzureLargeStorageInstanceOperations operations. */
6
+ export declare class AzureLargeStorageInstanceOperationsImpl implements AzureLargeStorageInstanceOperations {
7
+ private readonly client;
8
+ /**
9
+ * Initialize a new instance of the class AzureLargeStorageInstanceOperations class.
10
+ * @param client Reference to the service client
11
+ */
12
+ constructor(client: LargeInstanceManagementClient);
13
+ /**
14
+ * Gets a list of AzureLargeStorageInstances in the specified subscription. The
15
+ * operations returns various properties of each Azure LargeStorage instance.
16
+ * @param options The options parameters.
17
+ */
18
+ listBySubscription(options?: AzureLargeStorageInstanceListBySubscriptionOptionalParams): PagedAsyncIterableIterator<AzureLargeStorageInstance>;
19
+ private listBySubscriptionPagingPage;
20
+ private listBySubscriptionPagingAll;
21
+ /**
22
+ * Gets a list of AzureLargeStorageInstances in the specified subscription and
23
+ * resource group. The operations returns various properties of each Azure
24
+ * LargeStorage instance.
25
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
26
+ * @param options The options parameters.
27
+ */
28
+ listByResourceGroup(resourceGroupName: string, options?: AzureLargeStorageInstanceListByResourceGroupOptionalParams): PagedAsyncIterableIterator<AzureLargeStorageInstance>;
29
+ private listByResourceGroupPagingPage;
30
+ private listByResourceGroupPagingAll;
31
+ /**
32
+ * Gets a list of AzureLargeStorageInstances in the specified subscription. The
33
+ * operations returns various properties of each Azure LargeStorage instance.
34
+ * @param options The options parameters.
35
+ */
36
+ private _listBySubscription;
37
+ /**
38
+ * Gets a list of AzureLargeStorageInstances in the specified subscription and
39
+ * resource group. The operations returns various properties of each Azure
40
+ * LargeStorage instance.
41
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
42
+ * @param options The options parameters.
43
+ */
44
+ private _listByResourceGroup;
45
+ /**
46
+ * Gets an Azure Large Storage instance for the specified subscription, resource
47
+ * group, and instance name.
48
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
49
+ * @param azureLargeStorageInstanceName Name of the AzureLargeStorageInstance.
50
+ * @param options The options parameters.
51
+ */
52
+ get(resourceGroupName: string, azureLargeStorageInstanceName: string, options?: AzureLargeStorageInstanceGetOptionalParams): Promise<AzureLargeStorageInstanceGetResponse>;
53
+ /**
54
+ * Patches the Tags field of a Azure Large Storage Instance for the specified
55
+ * subscription, resource group, and instance name.
56
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
57
+ * @param azureLargeStorageInstanceName Name of the AzureLargeStorageInstance.
58
+ * @param tagsParameter The resource properties to be updated.
59
+ * @param options The options parameters.
60
+ */
61
+ update(resourceGroupName: string, azureLargeStorageInstanceName: string, tagsParameter: AzureLargeStorageInstanceTagsUpdate, options?: AzureLargeStorageInstanceUpdateOptionalParams): Promise<AzureLargeStorageInstanceUpdateResponse>;
62
+ /**
63
+ * ListBySubscriptionNext
64
+ * @param nextLink The nextLink from the previous successful call to the ListBySubscription method.
65
+ * @param options The options parameters.
66
+ */
67
+ private _listBySubscriptionNext;
68
+ /**
69
+ * ListByResourceGroupNext
70
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
71
+ * @param nextLink The nextLink from the previous successful call to the ListByResourceGroup method.
72
+ * @param options The options parameters.
73
+ */
74
+ private _listByResourceGroupNext;
75
+ }
76
+ //# sourceMappingURL=azureLargeStorageInstanceOperations.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"azureLargeStorageInstanceOperations.d.ts","sourceRoot":"","sources":["../../../src/operations/azureLargeStorageInstanceOperations.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,0BAA0B,EAAgB,MAAM,oBAAoB,CAAC;AAE9E,OAAO,EAAE,mCAAmC,EAAE,MAAM,kCAAkC,CAAC;AAIvF,OAAO,EAAE,6BAA6B,EAAE,MAAM,qCAAqC,CAAC;AACpF,OAAO,EACL,yBAAyB,EAEzB,yDAAyD,EAGzD,0DAA0D,EAE1D,0CAA0C,EAC1C,oCAAoC,EACpC,mCAAmC,EACnC,6CAA6C,EAC7C,uCAAuC,EAGxC,MAAM,oBAAoB,CAAC;AAG5B,uEAAuE;AACvE,qBAAa,uCACX,YAAW,mCAAmC;IAE9C,OAAO,CAAC,QAAQ,CAAC,MAAM,CAAgC;IAEvD;;;OAGG;gBACS,MAAM,EAAE,6BAA6B;IAIjD;;;;OAIG;IACI,kBAAkB,CACvB,OAAO,CAAC,EAAE,yDAAyD,GAClE,0BAA0B,CAAC,yBAAyB,CAAC;YAkBzC,4BAA4B;YAsB5B,2BAA2B;IAQ1C;;;;;;OAMG;IACI,mBAAmB,CACxB,iBAAiB,EAAE,MAAM,EACzB,OAAO,CAAC,EAAE,0DAA0D,GACnE,0BAA0B,CAAC,yBAAyB,CAAC;YAsBzC,6BAA6B;YA2B7B,4BAA4B;IAY3C;;;;OAIG;IACH,OAAO,CAAC,mBAAmB;IAS3B;;;;;;OAMG;IACH,OAAO,CAAC,oBAAoB;IAU5B;;;;;;OAMG;IACH,GAAG,CACD,iBAAiB,EAAE,MAAM,EACzB,6BAA6B,EAAE,MAAM,EACrC,OAAO,CAAC,EAAE,0CAA0C,GACnD,OAAO,CAAC,oCAAoC,CAAC;IAOhD;;;;;;;OAOG;IACH,MAAM,CACJ,iBAAiB,EAAE,MAAM,EACzB,6BAA6B,EAAE,MAAM,EACrC,aAAa,EAAE,mCAAmC,EAClD,OAAO,CAAC,EAAE,6CAA6C,GACtD,OAAO,CAAC,uCAAuC,CAAC;IAYnD;;;;OAIG;IACH,OAAO,CAAC,uBAAuB;IAU/B;;;;;OAKG;IACH,OAAO,CAAC,wBAAwB;CAUjC"}
@@ -0,0 +1,298 @@
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 { setContinuationToken } from "../pagingHelper.js";
9
+ import * as coreClient from "@azure/core-client";
10
+ import * as Mappers from "../models/mappers.js";
11
+ import * as Parameters from "../models/parameters.js";
12
+ /// <reference lib="esnext.asynciterable" />
13
+ /** Class containing AzureLargeStorageInstanceOperations operations. */
14
+ export class AzureLargeStorageInstanceOperationsImpl {
15
+ client;
16
+ /**
17
+ * Initialize a new instance of the class AzureLargeStorageInstanceOperations class.
18
+ * @param client Reference to the service client
19
+ */
20
+ constructor(client) {
21
+ this.client = client;
22
+ }
23
+ /**
24
+ * Gets a list of AzureLargeStorageInstances in the specified subscription. The
25
+ * operations returns various properties of each Azure LargeStorage instance.
26
+ * @param options The options parameters.
27
+ */
28
+ listBySubscription(options) {
29
+ const iter = this.listBySubscriptionPagingAll(options);
30
+ return {
31
+ next() {
32
+ return iter.next();
33
+ },
34
+ [Symbol.asyncIterator]() {
35
+ return this;
36
+ },
37
+ byPage: (settings) => {
38
+ if (settings?.maxPageSize) {
39
+ throw new Error("maxPageSize is not supported by this operation.");
40
+ }
41
+ return this.listBySubscriptionPagingPage(options, settings);
42
+ },
43
+ };
44
+ }
45
+ async *listBySubscriptionPagingPage(options, settings) {
46
+ let result;
47
+ let continuationToken = settings?.continuationToken;
48
+ if (!continuationToken) {
49
+ result = await this._listBySubscription(options);
50
+ let page = result.value || [];
51
+ continuationToken = result.nextLink;
52
+ setContinuationToken(page, continuationToken);
53
+ yield page;
54
+ }
55
+ while (continuationToken) {
56
+ result = await this._listBySubscriptionNext(continuationToken, options);
57
+ continuationToken = result.nextLink;
58
+ let page = result.value || [];
59
+ setContinuationToken(page, continuationToken);
60
+ yield page;
61
+ }
62
+ }
63
+ async *listBySubscriptionPagingAll(options) {
64
+ for await (const page of this.listBySubscriptionPagingPage(options)) {
65
+ yield* page;
66
+ }
67
+ }
68
+ /**
69
+ * Gets a list of AzureLargeStorageInstances in the specified subscription and
70
+ * resource group. The operations returns various properties of each Azure
71
+ * LargeStorage instance.
72
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
73
+ * @param options The options parameters.
74
+ */
75
+ listByResourceGroup(resourceGroupName, options) {
76
+ const iter = this.listByResourceGroupPagingAll(resourceGroupName, options);
77
+ return {
78
+ next() {
79
+ return iter.next();
80
+ },
81
+ [Symbol.asyncIterator]() {
82
+ return this;
83
+ },
84
+ byPage: (settings) => {
85
+ if (settings?.maxPageSize) {
86
+ throw new Error("maxPageSize is not supported by this operation.");
87
+ }
88
+ return this.listByResourceGroupPagingPage(resourceGroupName, options, settings);
89
+ },
90
+ };
91
+ }
92
+ async *listByResourceGroupPagingPage(resourceGroupName, options, settings) {
93
+ let result;
94
+ let continuationToken = settings?.continuationToken;
95
+ if (!continuationToken) {
96
+ result = await this._listByResourceGroup(resourceGroupName, options);
97
+ let page = result.value || [];
98
+ continuationToken = result.nextLink;
99
+ setContinuationToken(page, continuationToken);
100
+ yield page;
101
+ }
102
+ while (continuationToken) {
103
+ result = await this._listByResourceGroupNext(resourceGroupName, continuationToken, options);
104
+ continuationToken = result.nextLink;
105
+ let page = result.value || [];
106
+ setContinuationToken(page, continuationToken);
107
+ yield page;
108
+ }
109
+ }
110
+ async *listByResourceGroupPagingAll(resourceGroupName, options) {
111
+ for await (const page of this.listByResourceGroupPagingPage(resourceGroupName, options)) {
112
+ yield* page;
113
+ }
114
+ }
115
+ /**
116
+ * Gets a list of AzureLargeStorageInstances in the specified subscription. The
117
+ * operations returns various properties of each Azure LargeStorage instance.
118
+ * @param options The options parameters.
119
+ */
120
+ _listBySubscription(options) {
121
+ return this.client.sendOperationRequest({ options }, listBySubscriptionOperationSpec);
122
+ }
123
+ /**
124
+ * Gets a list of AzureLargeStorageInstances in the specified subscription and
125
+ * resource group. The operations returns various properties of each Azure
126
+ * LargeStorage instance.
127
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
128
+ * @param options The options parameters.
129
+ */
130
+ _listByResourceGroup(resourceGroupName, options) {
131
+ return this.client.sendOperationRequest({ resourceGroupName, options }, listByResourceGroupOperationSpec);
132
+ }
133
+ /**
134
+ * Gets an Azure Large Storage instance for the specified subscription, resource
135
+ * group, and instance name.
136
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
137
+ * @param azureLargeStorageInstanceName Name of the AzureLargeStorageInstance.
138
+ * @param options The options parameters.
139
+ */
140
+ get(resourceGroupName, azureLargeStorageInstanceName, options) {
141
+ return this.client.sendOperationRequest({ resourceGroupName, azureLargeStorageInstanceName, options }, getOperationSpec);
142
+ }
143
+ /**
144
+ * Patches the Tags field of a Azure Large Storage Instance for the specified
145
+ * subscription, resource group, and instance name.
146
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
147
+ * @param azureLargeStorageInstanceName Name of the AzureLargeStorageInstance.
148
+ * @param tagsParameter The resource properties to be updated.
149
+ * @param options The options parameters.
150
+ */
151
+ update(resourceGroupName, azureLargeStorageInstanceName, tagsParameter, options) {
152
+ return this.client.sendOperationRequest({
153
+ resourceGroupName,
154
+ azureLargeStorageInstanceName,
155
+ tagsParameter,
156
+ options,
157
+ }, updateOperationSpec);
158
+ }
159
+ /**
160
+ * ListBySubscriptionNext
161
+ * @param nextLink The nextLink from the previous successful call to the ListBySubscription method.
162
+ * @param options The options parameters.
163
+ */
164
+ _listBySubscriptionNext(nextLink, options) {
165
+ return this.client.sendOperationRequest({ nextLink, options }, listBySubscriptionNextOperationSpec);
166
+ }
167
+ /**
168
+ * ListByResourceGroupNext
169
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
170
+ * @param nextLink The nextLink from the previous successful call to the ListByResourceGroup method.
171
+ * @param options The options parameters.
172
+ */
173
+ _listByResourceGroupNext(resourceGroupName, nextLink, options) {
174
+ return this.client.sendOperationRequest({ resourceGroupName, nextLink, options }, listByResourceGroupNextOperationSpec);
175
+ }
176
+ }
177
+ // Operation Specifications
178
+ const serializer = coreClient.createSerializer(Mappers, /* isXml */ false);
179
+ const listBySubscriptionOperationSpec = {
180
+ path: "/subscriptions/{subscriptionId}/providers/Microsoft.AzureLargeInstance/azureLargeStorageInstances",
181
+ httpMethod: "GET",
182
+ responses: {
183
+ 200: {
184
+ bodyMapper: Mappers.AzureLargeStorageInstanceListResult,
185
+ },
186
+ default: {
187
+ bodyMapper: Mappers.ErrorResponse,
188
+ },
189
+ },
190
+ queryParameters: [Parameters.apiVersion],
191
+ urlParameters: [Parameters.$host, Parameters.subscriptionId],
192
+ headerParameters: [Parameters.accept],
193
+ serializer,
194
+ };
195
+ const listByResourceGroupOperationSpec = {
196
+ path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureLargeInstance/azureLargeStorageInstances",
197
+ httpMethod: "GET",
198
+ responses: {
199
+ 200: {
200
+ bodyMapper: Mappers.AzureLargeStorageInstanceListResult,
201
+ },
202
+ default: {
203
+ bodyMapper: Mappers.ErrorResponse,
204
+ },
205
+ },
206
+ queryParameters: [Parameters.apiVersion],
207
+ urlParameters: [
208
+ Parameters.$host,
209
+ Parameters.subscriptionId,
210
+ Parameters.resourceGroupName,
211
+ ],
212
+ headerParameters: [Parameters.accept],
213
+ serializer,
214
+ };
215
+ const getOperationSpec = {
216
+ path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureLargeInstance/azureLargeStorageInstances/{azureLargeStorageInstanceName}",
217
+ httpMethod: "GET",
218
+ responses: {
219
+ 200: {
220
+ bodyMapper: Mappers.AzureLargeStorageInstance,
221
+ },
222
+ default: {
223
+ bodyMapper: Mappers.ErrorResponse,
224
+ },
225
+ },
226
+ queryParameters: [Parameters.apiVersion],
227
+ urlParameters: [
228
+ Parameters.$host,
229
+ Parameters.subscriptionId,
230
+ Parameters.resourceGroupName,
231
+ Parameters.azureLargeStorageInstanceName,
232
+ ],
233
+ headerParameters: [Parameters.accept],
234
+ serializer,
235
+ };
236
+ const updateOperationSpec = {
237
+ path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureLargeInstance/azureLargeStorageInstances/{azureLargeStorageInstanceName}",
238
+ httpMethod: "PATCH",
239
+ responses: {
240
+ 200: {
241
+ bodyMapper: Mappers.AzureLargeStorageInstance,
242
+ },
243
+ default: {
244
+ bodyMapper: Mappers.ErrorResponse,
245
+ },
246
+ },
247
+ requestBody: Parameters.tagsParameter1,
248
+ queryParameters: [Parameters.apiVersion],
249
+ urlParameters: [
250
+ Parameters.$host,
251
+ Parameters.subscriptionId,
252
+ Parameters.resourceGroupName,
253
+ Parameters.azureLargeStorageInstanceName,
254
+ ],
255
+ headerParameters: [Parameters.accept, Parameters.contentType],
256
+ mediaType: "json",
257
+ serializer,
258
+ };
259
+ const listBySubscriptionNextOperationSpec = {
260
+ path: "{nextLink}",
261
+ httpMethod: "GET",
262
+ responses: {
263
+ 200: {
264
+ bodyMapper: Mappers.AzureLargeStorageInstanceListResult,
265
+ },
266
+ default: {
267
+ bodyMapper: Mappers.ErrorResponse,
268
+ },
269
+ },
270
+ urlParameters: [
271
+ Parameters.$host,
272
+ Parameters.nextLink,
273
+ Parameters.subscriptionId,
274
+ ],
275
+ headerParameters: [Parameters.accept],
276
+ serializer,
277
+ };
278
+ const listByResourceGroupNextOperationSpec = {
279
+ path: "{nextLink}",
280
+ httpMethod: "GET",
281
+ responses: {
282
+ 200: {
283
+ bodyMapper: Mappers.AzureLargeStorageInstanceListResult,
284
+ },
285
+ default: {
286
+ bodyMapper: Mappers.ErrorResponse,
287
+ },
288
+ },
289
+ urlParameters: [
290
+ Parameters.$host,
291
+ Parameters.nextLink,
292
+ Parameters.subscriptionId,
293
+ Parameters.resourceGroupName,
294
+ ],
295
+ headerParameters: [Parameters.accept],
296
+ serializer,
297
+ };
298
+ //# sourceMappingURL=azureLargeStorageInstanceOperations.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"azureLargeStorageInstanceOperations.js","sourceRoot":"","sources":["../../../src/operations/azureLargeStorageInstanceOperations.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;AAmBtD,4CAA4C;AAC5C,u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ACzB,UAAU,CAAC,iBAAiB;QAC5B,UAAU,CAAC,6BAA6B;KACzC;IACD,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,EAAE,UAAU,CAAC,WAAW,CAAC;IAC7D,SAAS,EAAE,MAAM;IACjB,UAAU;CACX,CAAC;AACF,MAAM,mCAAmC,GAA6B;IACpE,IAAI,EAAE,YAAY;IAClB,UAAU,EAAE,KAAK;IACjB,SAAS,EAAE;QACT,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,mCAAmC;SACxD;QACD,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,aAAa;SAClC;KACF;IACD,aAAa,EAAE;QACb,UAAU,CAAC,KAAK;QAChB,UAAU,CAAC,QAAQ;QACnB,UAAU,CAAC,cAAc;KAC1B;IACD,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC;AACF,MAAM,oCAAoC,GAA6B;IACrE,IAAI,EAAE,YAAY;IAClB,UAAU,EAAE,KAAK;IACjB,SAAS,EAAE;QACT,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,mCAAmC;SACxD;QACD,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,aAAa;SAClC;KACF;IACD,aAAa,EAAE;QACb,UAAU,CAAC,KAAK;QAChB,UAAU,CAAC,QAAQ;QACnB,UAAU,CAAC,cAAc;QACzB,UAAU,CAAC,iBAAiB;KAC7B;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 { AzureLargeStorageInstanceOperations } 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 { LargeInstanceManagementClient } from \"../largeInstanceManagementClient.js\";\nimport {\n AzureLargeStorageInstance,\n AzureLargeStorageInstanceListBySubscriptionNextOptionalParams,\n AzureLargeStorageInstanceListBySubscriptionOptionalParams,\n AzureLargeStorageInstanceListBySubscriptionResponse,\n AzureLargeStorageInstanceListByResourceGroupNextOptionalParams,\n AzureLargeStorageInstanceListByResourceGroupOptionalParams,\n AzureLargeStorageInstanceListByResourceGroupResponse,\n AzureLargeStorageInstanceGetOptionalParams,\n AzureLargeStorageInstanceGetResponse,\n AzureLargeStorageInstanceTagsUpdate,\n AzureLargeStorageInstanceUpdateOptionalParams,\n AzureLargeStorageInstanceUpdateResponse,\n AzureLargeStorageInstanceListBySubscriptionNextResponse,\n AzureLargeStorageInstanceListByResourceGroupNextResponse,\n} from \"../models/index.js\";\n\n/// <reference lib=\"esnext.asynciterable\" />\n/** Class containing AzureLargeStorageInstanceOperations operations. */\nexport class AzureLargeStorageInstanceOperationsImpl\n implements AzureLargeStorageInstanceOperations\n{\n private readonly client: LargeInstanceManagementClient;\n\n /**\n * Initialize a new instance of the class AzureLargeStorageInstanceOperations class.\n * @param client Reference to the service client\n */\n constructor(client: LargeInstanceManagementClient) {\n this.client = client;\n }\n\n /**\n * Gets a list of AzureLargeStorageInstances in the specified subscription. The\n * operations returns various properties of each Azure LargeStorage instance.\n * @param options The options parameters.\n */\n public listBySubscription(\n options?: AzureLargeStorageInstanceListBySubscriptionOptionalParams,\n ): PagedAsyncIterableIterator<AzureLargeStorageInstance> {\n const iter = this.listBySubscriptionPagingAll(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.listBySubscriptionPagingPage(options, settings);\n },\n };\n }\n\n private async *listBySubscriptionPagingPage(\n options?: AzureLargeStorageInstanceListBySubscriptionOptionalParams,\n settings?: PageSettings,\n ): AsyncIterableIterator<AzureLargeStorageInstance[]> {\n let result: AzureLargeStorageInstanceListBySubscriptionResponse;\n let continuationToken = settings?.continuationToken;\n if (!continuationToken) {\n result = await this._listBySubscription(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._listBySubscriptionNext(continuationToken, options);\n continuationToken = result.nextLink;\n let page = result.value || [];\n setContinuationToken(page, continuationToken);\n yield page;\n }\n }\n\n private async *listBySubscriptionPagingAll(\n options?: AzureLargeStorageInstanceListBySubscriptionOptionalParams,\n ): AsyncIterableIterator<AzureLargeStorageInstance> {\n for await (const page of this.listBySubscriptionPagingPage(options)) {\n yield* page;\n }\n }\n\n /**\n * Gets a list of AzureLargeStorageInstances in the specified subscription and\n * resource group. The operations returns various properties of each Azure\n * LargeStorage instance.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param options The options parameters.\n */\n public listByResourceGroup(\n resourceGroupName: string,\n options?: AzureLargeStorageInstanceListByResourceGroupOptionalParams,\n ): PagedAsyncIterableIterator<AzureLargeStorageInstance> {\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?: AzureLargeStorageInstanceListByResourceGroupOptionalParams,\n settings?: PageSettings,\n ): AsyncIterableIterator<AzureLargeStorageInstance[]> {\n let result: AzureLargeStorageInstanceListByResourceGroupResponse;\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?: AzureLargeStorageInstanceListByResourceGroupOptionalParams,\n ): AsyncIterableIterator<AzureLargeStorageInstance> {\n for await (const page of this.listByResourceGroupPagingPage(\n resourceGroupName,\n options,\n )) {\n yield* page;\n }\n }\n\n /**\n * Gets a list of AzureLargeStorageInstances in the specified subscription. The\n * operations returns various properties of each Azure LargeStorage instance.\n * @param options The options parameters.\n */\n private _listBySubscription(\n options?: AzureLargeStorageInstanceListBySubscriptionOptionalParams,\n ): Promise<AzureLargeStorageInstanceListBySubscriptionResponse> {\n return this.client.sendOperationRequest(\n { options },\n listBySubscriptionOperationSpec,\n );\n }\n\n /**\n * Gets a list of AzureLargeStorageInstances in the specified subscription and\n * resource group. The operations returns various properties of each Azure\n * LargeStorage instance.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param options The options parameters.\n */\n private _listByResourceGroup(\n resourceGroupName: string,\n options?: AzureLargeStorageInstanceListByResourceGroupOptionalParams,\n ): Promise<AzureLargeStorageInstanceListByResourceGroupResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, options },\n listByResourceGroupOperationSpec,\n );\n }\n\n /**\n * Gets an Azure Large Storage instance for the specified subscription, resource\n * group, and instance name.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param azureLargeStorageInstanceName Name of the AzureLargeStorageInstance.\n * @param options The options parameters.\n */\n get(\n resourceGroupName: string,\n azureLargeStorageInstanceName: string,\n options?: AzureLargeStorageInstanceGetOptionalParams,\n ): Promise<AzureLargeStorageInstanceGetResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, azureLargeStorageInstanceName, options },\n getOperationSpec,\n );\n }\n\n /**\n * Patches the Tags field of a Azure Large Storage Instance for the specified\n * subscription, resource group, and instance name.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param azureLargeStorageInstanceName Name of the AzureLargeStorageInstance.\n * @param tagsParameter The resource properties to be updated.\n * @param options The options parameters.\n */\n update(\n resourceGroupName: string,\n azureLargeStorageInstanceName: string,\n tagsParameter: AzureLargeStorageInstanceTagsUpdate,\n options?: AzureLargeStorageInstanceUpdateOptionalParams,\n ): Promise<AzureLargeStorageInstanceUpdateResponse> {\n return this.client.sendOperationRequest(\n {\n resourceGroupName,\n azureLargeStorageInstanceName,\n tagsParameter,\n options,\n },\n updateOperationSpec,\n );\n }\n\n /**\n * ListBySubscriptionNext\n * @param nextLink The nextLink from the previous successful call to the ListBySubscription method.\n * @param options The options parameters.\n */\n private _listBySubscriptionNext(\n nextLink: string,\n options?: AzureLargeStorageInstanceListBySubscriptionNextOptionalParams,\n ): Promise<AzureLargeStorageInstanceListBySubscriptionNextResponse> {\n return this.client.sendOperationRequest(\n { nextLink, options },\n listBySubscriptionNextOperationSpec,\n );\n }\n\n /**\n * ListByResourceGroupNext\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\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?: AzureLargeStorageInstanceListByResourceGroupNextOptionalParams,\n ): Promise<AzureLargeStorageInstanceListByResourceGroupNextResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, nextLink, options },\n listByResourceGroupNextOperationSpec,\n );\n }\n}\n// Operation Specifications\nconst serializer = coreClient.createSerializer(Mappers, /* isXml */ false);\n\nconst listBySubscriptionOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/providers/Microsoft.AzureLargeInstance/azureLargeStorageInstances\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.AzureLargeStorageInstanceListResult,\n },\n default: {\n bodyMapper: Mappers.ErrorResponse,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [Parameters.$host, Parameters.subscriptionId],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst listByResourceGroupOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureLargeInstance/azureLargeStorageInstances\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.AzureLargeStorageInstanceListResult,\n },\n default: {\n bodyMapper: Mappers.ErrorResponse,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst getOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureLargeInstance/azureLargeStorageInstances/{azureLargeStorageInstanceName}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.AzureLargeStorageInstance,\n },\n default: {\n bodyMapper: Mappers.ErrorResponse,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.azureLargeStorageInstanceName,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst updateOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureLargeInstance/azureLargeStorageInstances/{azureLargeStorageInstanceName}\",\n httpMethod: \"PATCH\",\n responses: {\n 200: {\n bodyMapper: Mappers.AzureLargeStorageInstance,\n },\n default: {\n bodyMapper: Mappers.ErrorResponse,\n },\n },\n requestBody: Parameters.tagsParameter1,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.azureLargeStorageInstanceName,\n ],\n headerParameters: [Parameters.accept, Parameters.contentType],\n mediaType: \"json\",\n serializer,\n};\nconst listBySubscriptionNextOperationSpec: coreClient.OperationSpec = {\n path: \"{nextLink}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.AzureLargeStorageInstanceListResult,\n },\n default: {\n bodyMapper: Mappers.ErrorResponse,\n },\n },\n urlParameters: [\n Parameters.$host,\n Parameters.nextLink,\n Parameters.subscriptionId,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst listByResourceGroupNextOperationSpec: coreClient.OperationSpec = {\n path: \"{nextLink}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.AzureLargeStorageInstanceListResult,\n },\n default: {\n bodyMapper: Mappers.ErrorResponse,\n },\n },\n urlParameters: [\n Parameters.$host,\n Parameters.nextLink,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\n"]}
@@ -0,0 +1,4 @@
1
+ export * from "./operations.js";
2
+ export * from "./azureLargeInstanceOperations.js";
3
+ export * from "./azureLargeStorageInstanceOperations.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,iBAAiB,CAAC;AAChC,cAAc,mCAAmC,CAAC;AAClD,cAAc,0CAA0C,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 "./operations.js";
9
+ export * from "./azureLargeInstanceOperations.js";
10
+ export * from "./azureLargeStorageInstanceOperations.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,iBAAiB,CAAC;AAChC,cAAc,mCAAmC,CAAC;AAClD,cAAc,0CAA0C,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 \"./operations.js\";\nexport * from \"./azureLargeInstanceOperations.js\";\nexport * from \"./azureLargeStorageInstanceOperations.js\";\n"]}
@@ -0,0 +1,32 @@
1
+ import { PagedAsyncIterableIterator } from "@azure/core-paging";
2
+ import { Operations } from "../operationsInterfaces/index.js";
3
+ import { LargeInstanceManagementClient } from "../largeInstanceManagementClient.js";
4
+ import { Operation, 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: LargeInstanceManagementClient);
13
+ /**
14
+ * List the operations for the provider
15
+ * @param options The options parameters.
16
+ */
17
+ list(options?: OperationsListOptionalParams): PagedAsyncIterableIterator<Operation>;
18
+ private listPagingPage;
19
+ private listPagingAll;
20
+ /**
21
+ * List the operations for the provider
22
+ * @param options The options parameters.
23
+ */
24
+ private _list;
25
+ /**
26
+ * ListNext
27
+ * @param nextLink The nextLink from the previous successful call to the List method.
28
+ * @param options The options parameters.
29
+ */
30
+ private _listNext;
31
+ }
32
+ //# sourceMappingURL=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,6BAA6B,EAAE,MAAM,qCAAqC,CAAC;AACpF,OAAO,EACL,SAAS,EAET,4BAA4B,EAG7B,MAAM,oBAAoB,CAAC;AAG5B,8CAA8C;AAC9C,qBAAa,cAAe,YAAW,UAAU;IAC/C,OAAO,CAAC,QAAQ,CAAC,MAAM,CAAgC;IAEvD;;;OAGG;gBACS,MAAM,EAAE,6BAA6B;IAIjD;;;OAGG;IACI,IAAI,CACT,OAAO,CAAC,EAAE,4BAA4B,GACrC,0BAA0B,CAAC,SAAS,CAAC;YAkBzB,cAAc;YAsBd,aAAa;IAQ5B;;;OAGG;IACH,OAAO,CAAC,KAAK;IAMb;;;;OAIG;IACH,OAAO,CAAC,SAAS;CASlB"}
@@ -0,0 +1,116 @@
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 { setContinuationToken } from "../pagingHelper.js";
9
+ import * as coreClient from "@azure/core-client";
10
+ import * as Mappers from "../models/mappers.js";
11
+ import * as Parameters from "../models/parameters.js";
12
+ /// <reference lib="esnext.asynciterable" />
13
+ /** Class containing Operations operations. */
14
+ export class OperationsImpl {
15
+ client;
16
+ /**
17
+ * Initialize a new instance of the class Operations class.
18
+ * @param client Reference to the service client
19
+ */
20
+ constructor(client) {
21
+ this.client = client;
22
+ }
23
+ /**
24
+ * List the operations for the provider
25
+ * @param options The options parameters.
26
+ */
27
+ list(options) {
28
+ const iter = this.listPagingAll(options);
29
+ return {
30
+ next() {
31
+ return iter.next();
32
+ },
33
+ [Symbol.asyncIterator]() {
34
+ return this;
35
+ },
36
+ byPage: (settings) => {
37
+ if (settings?.maxPageSize) {
38
+ throw new Error("maxPageSize is not supported by this operation.");
39
+ }
40
+ return this.listPagingPage(options, settings);
41
+ },
42
+ };
43
+ }
44
+ async *listPagingPage(options, settings) {
45
+ let result;
46
+ let continuationToken = settings?.continuationToken;
47
+ if (!continuationToken) {
48
+ result = await this._list(options);
49
+ let page = result.value || [];
50
+ continuationToken = result.nextLink;
51
+ setContinuationToken(page, continuationToken);
52
+ yield page;
53
+ }
54
+ while (continuationToken) {
55
+ result = await this._listNext(continuationToken, options);
56
+ continuationToken = result.nextLink;
57
+ let page = result.value || [];
58
+ setContinuationToken(page, continuationToken);
59
+ yield page;
60
+ }
61
+ }
62
+ async *listPagingAll(options) {
63
+ for await (const page of this.listPagingPage(options)) {
64
+ yield* page;
65
+ }
66
+ }
67
+ /**
68
+ * List the operations for the provider
69
+ * @param options The options parameters.
70
+ */
71
+ _list(options) {
72
+ return this.client.sendOperationRequest({ options }, listOperationSpec);
73
+ }
74
+ /**
75
+ * ListNext
76
+ * @param nextLink The nextLink from the previous successful call to the List method.
77
+ * @param options The options parameters.
78
+ */
79
+ _listNext(nextLink, options) {
80
+ return this.client.sendOperationRequest({ nextLink, options }, listNextOperationSpec);
81
+ }
82
+ }
83
+ // Operation Specifications
84
+ const serializer = coreClient.createSerializer(Mappers, /* isXml */ false);
85
+ const listOperationSpec = {
86
+ path: "/providers/Microsoft.AzureLargeInstance/operations",
87
+ httpMethod: "GET",
88
+ responses: {
89
+ 200: {
90
+ bodyMapper: Mappers.OperationListResult,
91
+ },
92
+ default: {
93
+ bodyMapper: Mappers.ErrorResponse,
94
+ },
95
+ },
96
+ queryParameters: [Parameters.apiVersion],
97
+ urlParameters: [Parameters.$host],
98
+ headerParameters: [Parameters.accept],
99
+ serializer,
100
+ };
101
+ const listNextOperationSpec = {
102
+ path: "{nextLink}",
103
+ httpMethod: "GET",
104
+ responses: {
105
+ 200: {
106
+ bodyMapper: Mappers.OperationListResult,
107
+ },
108
+ default: {
109
+ bodyMapper: Mappers.ErrorResponse,
110
+ },
111
+ },
112
+ urlParameters: [Parameters.$host, Parameters.nextLink],
113
+ headerParameters: [Parameters.accept],
114
+ serializer,
115
+ };
116
+ //# sourceMappingURL=operations.js.map
@@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AU,EAAE,OAAO,CAAC,mBAAmB;SACxC;QACD,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,aAAa;SAClC;KACF;IACD,eAAe,EAAE,CAAC,UAAU,CAAC,UAAU,CAAC;IACxC,aAAa,EAAE,CAAC,UAAU,CAAC,KAAK,CAAC;IACjC,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,mBAAmB;SACxC;QACD,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,aAAa;SAClC;KACF;IACD,aAAa,EAAE,CAAC,UAAU,CAAC,KAAK,EAAE,UAAU,CAAC,QAAQ,CAAC;IACtD,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 { Operations } 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 { LargeInstanceManagementClient } from \"../largeInstanceManagementClient.js\";\nimport {\n Operation,\n OperationsListNextOptionalParams,\n OperationsListOptionalParams,\n OperationsListResponse,\n OperationsListNextResponse,\n} from \"../models/index.js\";\n\n/// <reference lib=\"esnext.asynciterable\" />\n/** Class containing Operations operations. */\nexport class OperationsImpl implements Operations {\n private readonly client: LargeInstanceManagementClient;\n\n /**\n * Initialize a new instance of the class Operations class.\n * @param client Reference to the service client\n */\n constructor(client: LargeInstanceManagementClient) {\n this.client = client;\n }\n\n /**\n * List the operations for the provider\n * @param options The options parameters.\n */\n public list(\n options?: OperationsListOptionalParams,\n ): PagedAsyncIterableIterator<Operation> {\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?: OperationsListOptionalParams,\n settings?: PageSettings,\n ): AsyncIterableIterator<Operation[]> {\n let result: OperationsListResponse;\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?: OperationsListOptionalParams,\n ): AsyncIterableIterator<Operation> {\n for await (const page of this.listPagingPage(options)) {\n yield* page;\n }\n }\n\n /**\n * List the operations for the provider\n * @param options The options parameters.\n */\n private _list(\n options?: OperationsListOptionalParams,\n ): Promise<OperationsListResponse> {\n return this.client.sendOperationRequest({ options }, listOperationSpec);\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?: OperationsListNextOptionalParams,\n ): Promise<OperationsListNextResponse> {\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 listOperationSpec: coreClient.OperationSpec = {\n path: \"/providers/Microsoft.AzureLargeInstance/operations\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.OperationListResult,\n },\n default: {\n bodyMapper: Mappers.ErrorResponse,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [Parameters.$host],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst listNextOperationSpec: coreClient.OperationSpec = {\n path: \"{nextLink}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.OperationListResult,\n },\n default: {\n bodyMapper: Mappers.ErrorResponse,\n },\n },\n urlParameters: [Parameters.$host, Parameters.nextLink],\n headerParameters: [Parameters.accept],\n serializer,\n};\n"]}