@azure/arm-quantum 1.0.0-beta.2 → 1.0.0-beta.3

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 (381) hide show
  1. package/CHANGELOG.md +13 -3
  2. package/LICENSE +4 -4
  3. package/README.md +26 -19
  4. package/{dist-esm/src → dist/browser}/azureQuantumManagementClient.d.ts +2 -2
  5. package/dist/browser/azureQuantumManagementClient.d.ts.map +1 -0
  6. package/{dist-esm/src → dist/browser}/azureQuantumManagementClient.js +33 -24
  7. package/dist/browser/azureQuantumManagementClient.js.map +1 -0
  8. package/dist/browser/index.d.ts +5 -0
  9. package/dist/browser/index.d.ts.map +1 -0
  10. package/{dist-esm/src → dist/browser}/index.js +4 -4
  11. package/dist/browser/index.js.map +1 -0
  12. package/{dist-esm/src → dist/browser}/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 +14 -6
  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/browser/operations/index.d.ts +5 -0
  21. package/{dist-esm/src → dist/browser}/operations/index.d.ts.map +1 -1
  22. package/{dist-esm/src → dist/browser}/operations/index.js +4 -4
  23. package/dist/browser/operations/index.js.map +1 -0
  24. package/{dist-esm/src → dist/browser}/operations/offerings.d.ts +3 -3
  25. package/dist/browser/operations/offerings.d.ts.map +1 -0
  26. package/{dist-esm/src → dist/browser}/operations/offerings.js +26 -43
  27. package/dist/browser/operations/offerings.js.map +1 -0
  28. package/{dist-esm/src → dist/browser}/operations/operations.d.ts +3 -3
  29. package/dist/browser/operations/operations.d.ts.map +1 -0
  30. package/{dist-esm/src → dist/browser}/operations/operations.js +26 -43
  31. package/dist/browser/operations/operations.js.map +1 -0
  32. package/{dist-esm/src → dist/browser}/operations/workspace.d.ts +3 -3
  33. package/dist/browser/operations/workspace.d.ts.map +1 -0
  34. package/{dist-esm/src → dist/browser}/operations/workspace.js +3 -2
  35. package/dist/browser/operations/workspace.js.map +1 -0
  36. package/{dist-esm/src → dist/browser}/operations/workspaces.d.ts +3 -3
  37. package/dist/browser/operations/workspaces.d.ts.map +1 -0
  38. package/{dist-esm/src → dist/browser}/operations/workspaces.js +133 -165
  39. package/dist/browser/operations/workspaces.js.map +1 -0
  40. package/dist/browser/operationsInterfaces/index.d.ts +5 -0
  41. package/{dist-esm/src → dist/browser}/operationsInterfaces/index.d.ts.map +1 -1
  42. package/{dist-esm/src → dist/browser}/operationsInterfaces/index.js +4 -4
  43. package/dist/browser/operationsInterfaces/index.js.map +1 -0
  44. package/{dist-esm/src → dist/browser}/operationsInterfaces/offerings.d.ts +1 -1
  45. package/dist/browser/operationsInterfaces/offerings.d.ts.map +1 -0
  46. package/dist/browser/operationsInterfaces/offerings.js.map +1 -0
  47. package/{dist-esm/src → dist/browser}/operationsInterfaces/operations.d.ts +1 -1
  48. package/{dist-esm/src → dist/browser}/operationsInterfaces/operations.d.ts.map +1 -1
  49. package/dist/browser/operationsInterfaces/operations.js.map +1 -0
  50. package/{dist-esm/src → dist/browser}/operationsInterfaces/workspace.d.ts +1 -1
  51. package/dist/browser/operationsInterfaces/workspace.d.ts.map +1 -0
  52. package/dist/browser/operationsInterfaces/workspace.js.map +1 -0
  53. package/{dist-esm/src → dist/browser}/operationsInterfaces/workspaces.d.ts +1 -1
  54. package/dist/browser/operationsInterfaces/workspaces.d.ts.map +1 -0
  55. package/dist/browser/operationsInterfaces/workspaces.js.map +1 -0
  56. package/dist/browser/package.json +3 -0
  57. package/{dist-esm/src → dist/browser}/pagingHelper.js +2 -4
  58. package/dist/browser/pagingHelper.js.map +1 -0
  59. package/dist/commonjs/azureQuantumManagementClient.d.ts +23 -0
  60. package/dist/commonjs/azureQuantumManagementClient.d.ts.map +1 -0
  61. package/dist/commonjs/azureQuantumManagementClient.js +117 -0
  62. package/dist/commonjs/azureQuantumManagementClient.js.map +1 -0
  63. package/dist/commonjs/index.d.ts +5 -0
  64. package/dist/commonjs/index.d.ts.map +1 -0
  65. package/dist/commonjs/index.js +19 -0
  66. package/dist/commonjs/index.js.map +1 -0
  67. package/dist/commonjs/lroImpl.d.ts +11 -0
  68. package/dist/commonjs/lroImpl.d.ts.map +1 -0
  69. package/dist/commonjs/lroImpl.js +21 -0
  70. package/dist/commonjs/lroImpl.js.map +1 -0
  71. package/{types/arm-quantum.d.ts → dist/commonjs/models/index.d.ts} +614 -827
  72. package/dist/commonjs/models/index.d.ts.map +1 -0
  73. package/dist/commonjs/models/index.js +81 -0
  74. package/dist/commonjs/models/index.js.map +1 -0
  75. package/dist/commonjs/models/mappers.d.ts +32 -0
  76. package/dist/commonjs/models/mappers.d.ts.map +1 -0
  77. package/dist/commonjs/models/mappers.js +1032 -0
  78. package/dist/commonjs/models/mappers.js.map +1 -0
  79. package/dist/commonjs/models/parameters.d.ts +15 -0
  80. package/dist/commonjs/models/parameters.d.ts.map +1 -0
  81. package/dist/commonjs/models/parameters.js +130 -0
  82. package/dist/commonjs/models/parameters.js.map +1 -0
  83. package/dist/commonjs/operations/index.d.ts +5 -0
  84. package/dist/commonjs/operations/index.d.ts.map +1 -0
  85. package/dist/commonjs/operations/index.js +15 -0
  86. package/dist/commonjs/operations/index.js.map +1 -0
  87. package/dist/commonjs/operations/offerings.d.ts +35 -0
  88. package/dist/commonjs/operations/offerings.d.ts.map +1 -0
  89. package/dist/commonjs/operations/offerings.js +133 -0
  90. package/dist/commonjs/operations/offerings.js.map +1 -0
  91. package/dist/commonjs/operations/operations.d.ts +32 -0
  92. package/dist/commonjs/operations/operations.d.ts.map +1 -0
  93. package/dist/commonjs/operations/operations.js +121 -0
  94. package/dist/commonjs/operations/operations.js.map +1 -0
  95. package/dist/commonjs/operations/workspace.d.ts +38 -0
  96. package/dist/commonjs/operations/workspace.d.ts.map +1 -0
  97. package/dist/commonjs/operations/workspace.js +124 -0
  98. package/dist/commonjs/operations/workspace.js.map +1 -0
  99. package/dist/commonjs/operations/workspaces.d.ts +99 -0
  100. package/dist/commonjs/operations/workspaces.d.ts.map +1 -0
  101. package/dist/commonjs/operations/workspaces.js +462 -0
  102. package/dist/commonjs/operations/workspaces.js.map +1 -0
  103. package/dist/commonjs/operationsInterfaces/index.d.ts +5 -0
  104. package/dist/commonjs/operationsInterfaces/index.d.ts.map +1 -0
  105. package/dist/commonjs/operationsInterfaces/index.js +15 -0
  106. package/dist/commonjs/operationsInterfaces/index.js.map +1 -0
  107. package/dist/commonjs/operationsInterfaces/offerings.d.ts +12 -0
  108. package/dist/commonjs/operationsInterfaces/offerings.d.ts.map +1 -0
  109. package/dist/commonjs/operationsInterfaces/offerings.js +10 -0
  110. package/dist/commonjs/operationsInterfaces/offerings.js.map +1 -0
  111. package/dist/commonjs/operationsInterfaces/operations.d.ts +11 -0
  112. package/dist/commonjs/operationsInterfaces/operations.d.ts.map +1 -0
  113. package/dist/commonjs/operationsInterfaces/operations.js +10 -0
  114. package/dist/commonjs/operationsInterfaces/operations.js.map +1 -0
  115. package/dist/commonjs/operationsInterfaces/workspace.d.ts +30 -0
  116. package/dist/commonjs/operationsInterfaces/workspace.d.ts.map +1 -0
  117. package/dist/commonjs/operationsInterfaces/workspace.js +10 -0
  118. package/dist/commonjs/operationsInterfaces/workspace.js.map +1 -0
  119. package/dist/commonjs/operationsInterfaces/workspaces.d.ts +63 -0
  120. package/dist/commonjs/operationsInterfaces/workspaces.d.ts.map +1 -0
  121. package/dist/commonjs/operationsInterfaces/workspaces.js +10 -0
  122. package/dist/commonjs/operationsInterfaces/workspaces.js.map +1 -0
  123. package/dist/commonjs/package.json +3 -0
  124. package/dist/commonjs/pagingHelper.d.ts +13 -0
  125. package/dist/commonjs/pagingHelper.d.ts.map +1 -0
  126. package/dist/commonjs/pagingHelper.js +34 -0
  127. package/dist/commonjs/pagingHelper.js.map +1 -0
  128. package/{types → dist/commonjs}/tsdoc-metadata.json +11 -11
  129. package/dist/esm/azureQuantumManagementClient.d.ts +23 -0
  130. package/dist/esm/azureQuantumManagementClient.d.ts.map +1 -0
  131. package/dist/esm/azureQuantumManagementClient.js +112 -0
  132. package/dist/esm/azureQuantumManagementClient.js.map +1 -0
  133. package/dist/esm/index.d.ts +5 -0
  134. package/dist/esm/index.d.ts.map +1 -0
  135. package/{src/index.ts → dist/esm/index.js} +5 -5
  136. package/dist/esm/index.js.map +1 -0
  137. package/dist/esm/lroImpl.d.ts +11 -0
  138. package/dist/esm/lroImpl.d.ts.map +1 -0
  139. package/dist/esm/lroImpl.js +18 -0
  140. package/dist/esm/lroImpl.js.map +1 -0
  141. package/dist/esm/models/index.d.ts +614 -0
  142. package/dist/esm/models/index.d.ts.map +1 -0
  143. package/dist/esm/models/index.js +78 -0
  144. package/dist/esm/models/index.js.map +1 -0
  145. package/dist/esm/models/mappers.d.ts +32 -0
  146. package/dist/esm/models/mappers.d.ts.map +1 -0
  147. package/dist/esm/models/mappers.js +1029 -0
  148. package/dist/esm/models/mappers.js.map +1 -0
  149. package/dist/esm/models/parameters.d.ts +15 -0
  150. package/dist/esm/models/parameters.d.ts.map +1 -0
  151. package/dist/esm/models/parameters.js +127 -0
  152. package/dist/esm/models/parameters.js.map +1 -0
  153. package/dist/esm/operations/index.d.ts +5 -0
  154. package/dist/esm/operations/index.d.ts.map +1 -0
  155. package/dist/esm/operations/index.js +12 -0
  156. package/dist/esm/operations/index.js.map +1 -0
  157. package/dist/esm/operations/offerings.d.ts +35 -0
  158. package/dist/esm/operations/offerings.d.ts.map +1 -0
  159. package/dist/esm/operations/offerings.js +128 -0
  160. package/dist/esm/operations/offerings.js.map +1 -0
  161. package/dist/esm/operations/operations.d.ts +32 -0
  162. package/dist/esm/operations/operations.d.ts.map +1 -0
  163. package/dist/esm/operations/operations.js +116 -0
  164. package/dist/esm/operations/operations.js.map +1 -0
  165. package/dist/esm/operations/workspace.d.ts +38 -0
  166. package/dist/esm/operations/workspace.d.ts.map +1 -0
  167. package/dist/esm/operations/workspace.js +119 -0
  168. package/dist/esm/operations/workspace.js.map +1 -0
  169. package/dist/esm/operations/workspaces.d.ts +99 -0
  170. package/dist/esm/operations/workspaces.d.ts.map +1 -0
  171. package/dist/esm/operations/workspaces.js +457 -0
  172. package/dist/esm/operations/workspaces.js.map +1 -0
  173. package/dist/esm/operationsInterfaces/index.d.ts +5 -0
  174. package/dist/esm/operationsInterfaces/index.d.ts.map +1 -0
  175. package/dist/esm/operationsInterfaces/index.js +12 -0
  176. package/dist/esm/operationsInterfaces/index.js.map +1 -0
  177. package/dist/esm/operationsInterfaces/offerings.d.ts +12 -0
  178. package/dist/esm/operationsInterfaces/offerings.d.ts.map +1 -0
  179. package/dist/esm/operationsInterfaces/offerings.js +9 -0
  180. package/dist/esm/operationsInterfaces/offerings.js.map +1 -0
  181. package/dist/esm/operationsInterfaces/operations.d.ts +11 -0
  182. package/dist/esm/operationsInterfaces/operations.d.ts.map +1 -0
  183. package/dist/esm/operationsInterfaces/operations.js +9 -0
  184. package/dist/esm/operationsInterfaces/operations.js.map +1 -0
  185. package/dist/esm/operationsInterfaces/workspace.d.ts +30 -0
  186. package/dist/esm/operationsInterfaces/workspace.d.ts.map +1 -0
  187. package/dist/esm/operationsInterfaces/workspace.js +9 -0
  188. package/dist/esm/operationsInterfaces/workspace.js.map +1 -0
  189. package/dist/esm/operationsInterfaces/workspaces.d.ts +63 -0
  190. package/dist/esm/operationsInterfaces/workspaces.d.ts.map +1 -0
  191. package/dist/esm/operationsInterfaces/workspaces.js +9 -0
  192. package/dist/esm/operationsInterfaces/workspaces.js.map +1 -0
  193. package/dist/esm/package.json +3 -0
  194. package/dist/esm/pagingHelper.d.ts +13 -0
  195. package/dist/esm/pagingHelper.d.ts.map +1 -0
  196. package/dist/esm/pagingHelper.js +30 -0
  197. package/dist/esm/pagingHelper.js.map +1 -0
  198. package/dist/react-native/azureQuantumManagementClient.d.ts +23 -0
  199. package/dist/react-native/azureQuantumManagementClient.d.ts.map +1 -0
  200. package/dist/react-native/azureQuantumManagementClient.js +112 -0
  201. package/dist/react-native/azureQuantumManagementClient.js.map +1 -0
  202. package/dist/react-native/index.d.ts +5 -0
  203. package/dist/react-native/index.d.ts.map +1 -0
  204. package/dist/react-native/index.js +13 -0
  205. package/dist/react-native/index.js.map +1 -0
  206. package/dist/react-native/lroImpl.d.ts +11 -0
  207. package/dist/react-native/lroImpl.d.ts.map +1 -0
  208. package/dist/react-native/lroImpl.js +18 -0
  209. package/dist/react-native/lroImpl.js.map +1 -0
  210. package/dist/react-native/models/index.d.ts +614 -0
  211. package/dist/react-native/models/index.d.ts.map +1 -0
  212. package/dist/react-native/models/index.js +78 -0
  213. package/dist/react-native/models/index.js.map +1 -0
  214. package/dist/react-native/models/mappers.d.ts +32 -0
  215. package/dist/react-native/models/mappers.d.ts.map +1 -0
  216. package/dist/react-native/models/mappers.js +1029 -0
  217. package/dist/react-native/models/mappers.js.map +1 -0
  218. package/dist/react-native/models/parameters.d.ts +15 -0
  219. package/dist/react-native/models/parameters.d.ts.map +1 -0
  220. package/dist/react-native/models/parameters.js +127 -0
  221. package/dist/react-native/models/parameters.js.map +1 -0
  222. package/dist/react-native/operations/index.d.ts +5 -0
  223. package/dist/react-native/operations/index.d.ts.map +1 -0
  224. package/dist/react-native/operations/index.js +12 -0
  225. package/dist/react-native/operations/index.js.map +1 -0
  226. package/dist/react-native/operations/offerings.d.ts +35 -0
  227. package/dist/react-native/operations/offerings.d.ts.map +1 -0
  228. package/dist/react-native/operations/offerings.js +128 -0
  229. package/dist/react-native/operations/offerings.js.map +1 -0
  230. package/dist/react-native/operations/operations.d.ts +32 -0
  231. package/dist/react-native/operations/operations.d.ts.map +1 -0
  232. package/dist/react-native/operations/operations.js +116 -0
  233. package/dist/react-native/operations/operations.js.map +1 -0
  234. package/dist/react-native/operations/workspace.d.ts +38 -0
  235. package/dist/react-native/operations/workspace.d.ts.map +1 -0
  236. package/dist/react-native/operations/workspace.js +119 -0
  237. package/dist/react-native/operations/workspace.js.map +1 -0
  238. package/dist/react-native/operations/workspaces.d.ts +99 -0
  239. package/dist/react-native/operations/workspaces.d.ts.map +1 -0
  240. package/dist/react-native/operations/workspaces.js +457 -0
  241. package/dist/react-native/operations/workspaces.js.map +1 -0
  242. package/dist/react-native/operationsInterfaces/index.d.ts +5 -0
  243. package/dist/react-native/operationsInterfaces/index.d.ts.map +1 -0
  244. package/dist/react-native/operationsInterfaces/index.js +12 -0
  245. package/dist/react-native/operationsInterfaces/index.js.map +1 -0
  246. package/dist/react-native/operationsInterfaces/offerings.d.ts +12 -0
  247. package/dist/react-native/operationsInterfaces/offerings.d.ts.map +1 -0
  248. package/dist/react-native/operationsInterfaces/offerings.js +9 -0
  249. package/dist/react-native/operationsInterfaces/offerings.js.map +1 -0
  250. package/dist/react-native/operationsInterfaces/operations.d.ts +11 -0
  251. package/dist/react-native/operationsInterfaces/operations.d.ts.map +1 -0
  252. package/dist/react-native/operationsInterfaces/operations.js +9 -0
  253. package/dist/react-native/operationsInterfaces/operations.js.map +1 -0
  254. package/dist/react-native/operationsInterfaces/workspace.d.ts +30 -0
  255. package/dist/react-native/operationsInterfaces/workspace.d.ts.map +1 -0
  256. package/dist/react-native/operationsInterfaces/workspace.js +9 -0
  257. package/dist/react-native/operationsInterfaces/workspace.js.map +1 -0
  258. package/dist/react-native/operationsInterfaces/workspaces.d.ts +63 -0
  259. package/dist/react-native/operationsInterfaces/workspaces.d.ts.map +1 -0
  260. package/dist/react-native/operationsInterfaces/workspaces.js +9 -0
  261. package/dist/react-native/operationsInterfaces/workspaces.js.map +1 -0
  262. package/dist/react-native/package.json +3 -0
  263. package/dist/react-native/pagingHelper.d.ts +13 -0
  264. package/dist/react-native/pagingHelper.d.ts.map +1 -0
  265. package/dist/react-native/pagingHelper.js +30 -0
  266. package/dist/react-native/pagingHelper.js.map +1 -0
  267. package/package.json +83 -67
  268. package/review/{arm-quantum.api.md → arm-quantum-node.api.md} +2 -3
  269. package/dist/index.js +0 -2307
  270. package/dist/index.js.map +0 -1
  271. package/dist/index.min.js +0 -1
  272. package/dist/index.min.js.map +0 -1
  273. package/dist-esm/samples-dev/offeringsListSample.d.ts +0 -2
  274. package/dist-esm/samples-dev/offeringsListSample.d.ts.map +0 -1
  275. package/dist-esm/samples-dev/offeringsListSample.js +0 -54
  276. package/dist-esm/samples-dev/offeringsListSample.js.map +0 -1
  277. package/dist-esm/samples-dev/operationsListSample.d.ts +0 -2
  278. package/dist-esm/samples-dev/operationsListSample.d.ts.map +0 -1
  279. package/dist-esm/samples-dev/operationsListSample.js +0 -53
  280. package/dist-esm/samples-dev/operationsListSample.js.map +0 -1
  281. package/dist-esm/samples-dev/workspaceCheckNameAvailabilitySample.d.ts +0 -2
  282. package/dist-esm/samples-dev/workspaceCheckNameAvailabilitySample.d.ts.map +0 -1
  283. package/dist-esm/samples-dev/workspaceCheckNameAvailabilitySample.js +0 -42
  284. package/dist-esm/samples-dev/workspaceCheckNameAvailabilitySample.js.map +0 -1
  285. package/dist-esm/samples-dev/workspaceListKeysSample.d.ts +0 -2
  286. package/dist-esm/samples-dev/workspaceListKeysSample.d.ts.map +0 -1
  287. package/dist-esm/samples-dev/workspaceListKeysSample.js +0 -39
  288. package/dist-esm/samples-dev/workspaceListKeysSample.js.map +0 -1
  289. package/dist-esm/samples-dev/workspaceRegenerateKeysSample.d.ts +0 -2
  290. package/dist-esm/samples-dev/workspaceRegenerateKeysSample.d.ts.map +0 -1
  291. package/dist-esm/samples-dev/workspaceRegenerateKeysSample.js +0 -40
  292. package/dist-esm/samples-dev/workspaceRegenerateKeysSample.js.map +0 -1
  293. package/dist-esm/samples-dev/workspacesCreateOrUpdateSample.d.ts +0 -2
  294. package/dist-esm/samples-dev/workspacesCreateOrUpdateSample.d.ts.map +0 -1
  295. package/dist-esm/samples-dev/workspacesCreateOrUpdateSample.js +0 -50
  296. package/dist-esm/samples-dev/workspacesCreateOrUpdateSample.js.map +0 -1
  297. package/dist-esm/samples-dev/workspacesDeleteSample.d.ts +0 -2
  298. package/dist-esm/samples-dev/workspacesDeleteSample.d.ts.map +0 -1
  299. package/dist-esm/samples-dev/workspacesDeleteSample.js +0 -39
  300. package/dist-esm/samples-dev/workspacesDeleteSample.js.map +0 -1
  301. package/dist-esm/samples-dev/workspacesGetSample.d.ts +0 -2
  302. package/dist-esm/samples-dev/workspacesGetSample.d.ts.map +0 -1
  303. package/dist-esm/samples-dev/workspacesGetSample.js +0 -39
  304. package/dist-esm/samples-dev/workspacesGetSample.js.map +0 -1
  305. package/dist-esm/samples-dev/workspacesListByResourceGroupSample.d.ts +0 -2
  306. package/dist-esm/samples-dev/workspacesListByResourceGroupSample.d.ts.map +0 -1
  307. package/dist-esm/samples-dev/workspacesListByResourceGroupSample.js +0 -54
  308. package/dist-esm/samples-dev/workspacesListByResourceGroupSample.js.map +0 -1
  309. package/dist-esm/samples-dev/workspacesListBySubscriptionSample.d.ts +0 -2
  310. package/dist-esm/samples-dev/workspacesListBySubscriptionSample.d.ts.map +0 -1
  311. package/dist-esm/samples-dev/workspacesListBySubscriptionSample.js +0 -53
  312. package/dist-esm/samples-dev/workspacesListBySubscriptionSample.js.map +0 -1
  313. package/dist-esm/samples-dev/workspacesUpdateTagsSample.d.ts +0 -2
  314. package/dist-esm/samples-dev/workspacesUpdateTagsSample.d.ts.map +0 -1
  315. package/dist-esm/samples-dev/workspacesUpdateTagsSample.js +0 -42
  316. package/dist-esm/samples-dev/workspacesUpdateTagsSample.js.map +0 -1
  317. package/dist-esm/src/azureQuantumManagementClient.d.ts.map +0 -1
  318. package/dist-esm/src/azureQuantumManagementClient.js.map +0 -1
  319. package/dist-esm/src/index.d.ts +0 -6
  320. package/dist-esm/src/index.d.ts.map +0 -1
  321. package/dist-esm/src/index.js.map +0 -1
  322. package/dist-esm/src/lroImpl.js +0 -21
  323. package/dist-esm/src/lroImpl.js.map +0 -1
  324. package/dist-esm/src/models/index.js.map +0 -1
  325. package/dist-esm/src/models/mappers.js.map +0 -1
  326. package/dist-esm/src/models/parameters.js.map +0 -1
  327. package/dist-esm/src/operations/index.d.ts +0 -5
  328. package/dist-esm/src/operations/index.js.map +0 -1
  329. package/dist-esm/src/operations/offerings.d.ts.map +0 -1
  330. package/dist-esm/src/operations/offerings.js.map +0 -1
  331. package/dist-esm/src/operations/operations.d.ts.map +0 -1
  332. package/dist-esm/src/operations/operations.js.map +0 -1
  333. package/dist-esm/src/operations/workspace.d.ts.map +0 -1
  334. package/dist-esm/src/operations/workspace.js.map +0 -1
  335. package/dist-esm/src/operations/workspaces.d.ts.map +0 -1
  336. package/dist-esm/src/operations/workspaces.js.map +0 -1
  337. package/dist-esm/src/operationsInterfaces/index.d.ts +0 -5
  338. package/dist-esm/src/operationsInterfaces/index.js.map +0 -1
  339. package/dist-esm/src/operationsInterfaces/offerings.d.ts.map +0 -1
  340. package/dist-esm/src/operationsInterfaces/offerings.js.map +0 -1
  341. package/dist-esm/src/operationsInterfaces/operations.js.map +0 -1
  342. package/dist-esm/src/operationsInterfaces/workspace.d.ts.map +0 -1
  343. package/dist-esm/src/operationsInterfaces/workspace.js.map +0 -1
  344. package/dist-esm/src/operationsInterfaces/workspaces.d.ts.map +0 -1
  345. package/dist-esm/src/operationsInterfaces/workspaces.js.map +0 -1
  346. package/dist-esm/src/pagingHelper.js.map +0 -1
  347. package/dist-esm/test/quantum_operations_test.spec.d.ts +0 -4
  348. package/dist-esm/test/quantum_operations_test.spec.d.ts.map +0 -1
  349. package/dist-esm/test/quantum_operations_test.spec.js +0 -121
  350. package/dist-esm/test/quantum_operations_test.spec.js.map +0 -1
  351. package/src/azureQuantumManagementClient.ts +0 -157
  352. package/src/lroImpl.ts +0 -42
  353. package/src/models/index.ts +0 -692
  354. package/src/models/mappers.ts +0 -1061
  355. package/src/models/parameters.ts +0 -150
  356. package/src/operations/index.ts +0 -12
  357. package/src/operations/offerings.ts +0 -169
  358. package/src/operations/operations.ts +0 -149
  359. package/src/operations/workspace.ts +0 -158
  360. package/src/operations/workspaces.ts +0 -626
  361. package/src/operationsInterfaces/index.ts +0 -12
  362. package/src/operationsInterfaces/offerings.ts +0 -24
  363. package/src/operationsInterfaces/operations.ts +0 -22
  364. package/src/operationsInterfaces/workspace.ts +0 -59
  365. package/src/operationsInterfaces/workspaces.ts +0 -121
  366. package/src/pagingHelper.ts +0 -39
  367. package/tsconfig.json +0 -33
  368. /package/{dist-esm/src → dist/browser}/lroImpl.d.ts +0 -0
  369. /package/{dist-esm/src → dist/browser}/models/index.d.ts +0 -0
  370. /package/{dist-esm/src → dist/browser}/models/index.d.ts.map +0 -0
  371. /package/{dist-esm/src → dist/browser}/models/index.js +0 -0
  372. /package/{dist-esm/src → dist/browser}/models/mappers.d.ts +0 -0
  373. /package/{dist-esm/src → dist/browser}/models/mappers.d.ts.map +0 -0
  374. /package/{dist-esm/src → dist/browser}/models/parameters.d.ts +0 -0
  375. /package/{dist-esm/src → dist/browser}/models/parameters.d.ts.map +0 -0
  376. /package/{dist-esm/src → dist/browser}/operationsInterfaces/offerings.js +0 -0
  377. /package/{dist-esm/src → dist/browser}/operationsInterfaces/operations.js +0 -0
  378. /package/{dist-esm/src → dist/browser}/operationsInterfaces/workspace.js +0 -0
  379. /package/{dist-esm/src → dist/browser}/operationsInterfaces/workspaces.js +0 -0
  380. /package/{dist-esm/src → dist/browser}/pagingHelper.d.ts +0 -0
  381. /package/{dist-esm/src → dist/browser}/pagingHelper.d.ts.map +0 -0
@@ -0,0 +1 @@
1
+ {"version":3,"file":"mappers.js","sourceRoot":"","sources":["../../../src/models/mappers.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAIH,MAAM,CAAC,MAAM,2BAA2B,GAA+B;IACrE,IAAI,EAAE;QACJ,IAAI,EAAE,WAAW;QACjB,SAAS,EAAE,6BAA6B;QACxC,eAAe,EAAE;YACf,SAAS,EAAE;gBACT,cAAc,EAAE,WAAW;gBAC3B,IAAI,EAAE;oBACJ,IAAI,EAAE,UA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,CAAC,MAAM,gBAAgB,GAA+B;IAC1D,IAAI,EAAE;QACJ,IAAI,EAAE,WAAW;QACjB,SAAS,EAAE,kBAAkB;QAC7B,eAAe,EAAE;YACf,GAAG,eAAe,CAAC,IAAI,CAAC,eAAe;YACvC,UAAU,EAAE;gBACV,cAAc,EAAE,YAAY;gBAC5B,IAAI,EAAE;oBACJ,IAAI,EAAE,WAAW;oBACjB,SAAS,EAAE,6BAA6B;iBACzC;aACF;YACD,QAAQ,EAAE;gBACR,cAAc,EAAE,UAAU;gBAC1B,IAAI,EAAE;oBACJ,IAAI,EAAE,WAAW;oBACjB,SAAS,EAAE,0BAA0B;iBACtC;aACF;SACF;KACF;CACF,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 * as coreClient from \"@azure/core-client\";\n\nexport const WorkspaceResourceProperties: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"WorkspaceResourceProperties\",\n modelProperties: {\n providers: {\n serializedName: \"providers\",\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"Composite\",\n className: \"Provider\",\n },\n },\n },\n },\n usable: {\n serializedName: \"usable\",\n readOnly: true,\n type: {\n name: \"String\",\n },\n },\n provisioningState: {\n serializedName: \"provisioningState\",\n readOnly: true,\n type: {\n name: \"String\",\n },\n },\n storageAccount: {\n serializedName: \"storageAccount\",\n type: {\n name: \"String\",\n },\n },\n endpointUri: {\n serializedName: \"endpointUri\",\n readOnly: true,\n type: {\n name: \"String\",\n },\n },\n apiKeyEnabled: {\n serializedName: \"apiKeyEnabled\",\n type: {\n name: \"Boolean\",\n },\n },\n },\n },\n};\n\nexport const Provider: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"Provider\",\n modelProperties: {\n providerId: {\n serializedName: \"providerId\",\n type: {\n name: \"String\",\n },\n },\n providerSku: {\n serializedName: \"providerSku\",\n type: {\n name: \"String\",\n },\n },\n instanceUri: {\n serializedName: \"instanceUri\",\n type: {\n name: \"String\",\n },\n },\n applicationName: {\n serializedName: \"applicationName\",\n type: {\n name: \"String\",\n },\n },\n provisioningState: {\n serializedName: \"provisioningState\",\n type: {\n name: \"String\",\n },\n },\n resourceUsageId: {\n serializedName: \"resourceUsageId\",\n type: {\n name: \"String\",\n },\n },\n },\n },\n};\n\nexport const QuantumWorkspaceIdentity: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"QuantumWorkspaceIdentity\",\n modelProperties: {\n principalId: {\n serializedName: \"principalId\",\n readOnly: true,\n type: {\n name: \"String\",\n },\n },\n tenantId: {\n serializedName: \"tenantId\",\n readOnly: true,\n type: {\n name: \"String\",\n },\n },\n type: {\n serializedName: \"type\",\n type: {\n name: \"String\",\n },\n },\n },\n },\n};\n\nexport const Resource: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"Resource\",\n modelProperties: {\n id: {\n serializedName: \"id\",\n readOnly: true,\n type: {\n name: \"String\",\n },\n },\n name: {\n serializedName: \"name\",\n readOnly: true,\n type: {\n name: \"String\",\n },\n },\n type: {\n serializedName: \"type\",\n readOnly: true,\n type: {\n name: \"String\",\n },\n },\n systemData: {\n serializedName: \"systemData\",\n type: {\n name: \"Composite\",\n className: \"SystemData\",\n },\n },\n },\n },\n};\n\nexport const SystemData: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"SystemData\",\n modelProperties: {\n createdBy: {\n serializedName: \"createdBy\",\n type: {\n name: \"String\",\n },\n },\n createdByType: {\n serializedName: \"createdByType\",\n type: {\n name: \"String\",\n },\n },\n createdAt: {\n serializedName: \"createdAt\",\n type: {\n name: \"DateTime\",\n },\n },\n lastModifiedBy: {\n serializedName: \"lastModifiedBy\",\n type: {\n name: \"String\",\n },\n },\n lastModifiedByType: {\n serializedName: \"lastModifiedByType\",\n type: {\n name: \"String\",\n },\n },\n lastModifiedAt: {\n serializedName: \"lastModifiedAt\",\n type: {\n name: \"DateTime\",\n },\n },\n },\n },\n};\n\nexport const ErrorResponse: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"ErrorResponse\",\n modelProperties: {\n error: {\n serializedName: \"error\",\n type: {\n name: \"Composite\",\n className: \"ErrorDetail\",\n },\n },\n },\n },\n};\n\nexport const ErrorDetail: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"ErrorDetail\",\n modelProperties: {\n code: {\n serializedName: \"code\",\n readOnly: true,\n type: {\n name: \"String\",\n },\n },\n message: {\n serializedName: \"message\",\n readOnly: true,\n type: {\n name: \"String\",\n },\n },\n target: {\n serializedName: \"target\",\n readOnly: true,\n type: {\n name: \"String\",\n },\n },\n details: {\n serializedName: \"details\",\n readOnly: true,\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"Composite\",\n className: \"ErrorDetail\",\n },\n },\n },\n },\n additionalInfo: {\n serializedName: \"additionalInfo\",\n readOnly: true,\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"Composite\",\n className: \"ErrorAdditionalInfo\",\n },\n },\n },\n },\n },\n },\n};\n\nexport const ErrorAdditionalInfo: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"ErrorAdditionalInfo\",\n modelProperties: {\n type: {\n serializedName: \"type\",\n readOnly: true,\n type: {\n name: \"String\",\n },\n },\n info: {\n serializedName: \"info\",\n readOnly: true,\n type: {\n name: \"Dictionary\",\n value: { type: { name: \"any\" } },\n },\n },\n },\n },\n};\n\nexport const TagsObject: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"TagsObject\",\n modelProperties: {\n tags: {\n serializedName: \"tags\",\n type: {\n name: \"Dictionary\",\n value: { type: { name: \"String\" } },\n },\n },\n },\n },\n};\n\nexport const WorkspaceListResult: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"WorkspaceListResult\",\n modelProperties: {\n value: {\n serializedName: \"value\",\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"Composite\",\n className: \"QuantumWorkspace\",\n },\n },\n },\n },\n nextLink: {\n serializedName: \"nextLink\",\n type: {\n name: \"String\",\n },\n },\n },\n },\n};\n\nexport const OfferingsListResult: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"OfferingsListResult\",\n modelProperties: {\n value: {\n serializedName: \"value\",\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"Composite\",\n className: \"ProviderDescription\",\n },\n },\n },\n },\n nextLink: {\n serializedName: \"nextLink\",\n type: {\n name: \"String\",\n },\n },\n },\n },\n};\n\nexport const ProviderDescription: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"ProviderDescription\",\n modelProperties: {\n id: {\n serializedName: \"id\",\n type: {\n name: \"String\",\n },\n },\n name: {\n serializedName: \"name\",\n readOnly: true,\n type: {\n name: \"String\",\n },\n },\n properties: {\n serializedName: \"properties\",\n type: {\n name: \"Composite\",\n className: \"ProviderProperties\",\n },\n },\n },\n },\n};\n\nexport const ProviderProperties: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"ProviderProperties\",\n modelProperties: {\n description: {\n serializedName: \"description\",\n readOnly: true,\n type: {\n name: \"String\",\n },\n },\n providerType: {\n serializedName: \"providerType\",\n readOnly: true,\n type: {\n name: \"String\",\n },\n },\n company: {\n serializedName: \"company\",\n readOnly: true,\n type: {\n name: \"String\",\n },\n },\n defaultEndpoint: {\n serializedName: \"defaultEndpoint\",\n readOnly: true,\n type: {\n name: \"String\",\n },\n },\n aad: {\n serializedName: \"aad\",\n type: {\n name: \"Composite\",\n className: \"ProviderPropertiesAad\",\n },\n },\n managedApplication: {\n serializedName: \"managedApplication\",\n type: {\n name: \"Composite\",\n className: \"ProviderPropertiesManagedApplication\",\n },\n },\n targets: {\n serializedName: \"targets\",\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"Composite\",\n className: \"TargetDescription\",\n },\n },\n },\n },\n skus: {\n serializedName: \"skus\",\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"Composite\",\n className: \"SkuDescription\",\n },\n },\n },\n },\n quotaDimensions: {\n serializedName: \"quotaDimensions\",\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"Composite\",\n className: \"QuotaDimension\",\n },\n },\n },\n },\n pricingDimensions: {\n serializedName: \"pricingDimensions\",\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"Composite\",\n className: \"PricingDimension\",\n },\n },\n },\n },\n },\n },\n};\n\nexport const ProviderPropertiesAad: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"ProviderPropertiesAad\",\n modelProperties: {\n applicationId: {\n serializedName: \"applicationId\",\n readOnly: true,\n type: {\n name: \"String\",\n },\n },\n tenantId: {\n serializedName: \"tenantId\",\n readOnly: true,\n type: {\n name: \"String\",\n },\n },\n },\n },\n};\n\nexport const ProviderPropertiesManagedApplication: coreClient.CompositeMapper =\n {\n type: {\n name: \"Composite\",\n className: \"ProviderPropertiesManagedApplication\",\n modelProperties: {\n publisherId: {\n serializedName: \"publisherId\",\n readOnly: true,\n type: {\n name: \"String\",\n },\n },\n offerId: {\n serializedName: \"offerId\",\n readOnly: true,\n type: {\n name: \"String\",\n },\n },\n },\n },\n };\n\nexport const TargetDescription: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"TargetDescription\",\n modelProperties: {\n id: {\n serializedName: \"id\",\n type: {\n name: \"String\",\n },\n },\n name: {\n serializedName: \"name\",\n type: {\n name: \"String\",\n },\n },\n description: {\n serializedName: \"description\",\n type: {\n name: \"String\",\n },\n },\n acceptedDataFormats: {\n serializedName: \"acceptedDataFormats\",\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"String\",\n },\n },\n },\n },\n acceptedContentEncodings: {\n serializedName: \"acceptedContentEncodings\",\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"String\",\n },\n },\n },\n },\n },\n },\n};\n\nexport const SkuDescription: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"SkuDescription\",\n modelProperties: {\n id: {\n serializedName: \"id\",\n type: {\n name: \"String\",\n },\n },\n name: {\n serializedName: \"name\",\n type: {\n name: \"String\",\n },\n },\n version: {\n serializedName: \"version\",\n type: {\n name: \"String\",\n },\n },\n description: {\n serializedName: \"description\",\n type: {\n name: \"String\",\n },\n },\n restrictedAccessUri: {\n serializedName: \"restrictedAccessUri\",\n type: {\n name: \"String\",\n },\n },\n autoAdd: {\n serializedName: \"autoAdd\",\n type: {\n name: \"Boolean\",\n },\n },\n targets: {\n serializedName: \"targets\",\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"String\",\n },\n },\n },\n },\n quotaDimensions: {\n serializedName: \"quotaDimensions\",\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"Composite\",\n className: \"QuotaDimension\",\n },\n },\n },\n },\n pricingDetails: {\n serializedName: \"pricingDetails\",\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"Composite\",\n className: \"PricingDetail\",\n },\n },\n },\n },\n },\n },\n};\n\nexport const QuotaDimension: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"QuotaDimension\",\n modelProperties: {\n id: {\n serializedName: \"id\",\n type: {\n name: \"String\",\n },\n },\n scope: {\n serializedName: \"scope\",\n type: {\n name: \"String\",\n },\n },\n period: {\n serializedName: \"period\",\n type: {\n name: \"String\",\n },\n },\n quota: {\n serializedName: \"quota\",\n type: {\n name: \"Number\",\n },\n },\n name: {\n serializedName: \"name\",\n type: {\n name: \"String\",\n },\n },\n description: {\n serializedName: \"description\",\n type: {\n name: \"String\",\n },\n },\n unit: {\n serializedName: \"unit\",\n type: {\n name: \"String\",\n },\n },\n unitPlural: {\n serializedName: \"unitPlural\",\n type: {\n name: \"String\",\n },\n },\n },\n },\n};\n\nexport const PricingDetail: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"PricingDetail\",\n modelProperties: {\n id: {\n serializedName: \"id\",\n type: {\n name: \"String\",\n },\n },\n value: {\n serializedName: \"value\",\n type: {\n name: \"String\",\n },\n },\n },\n },\n};\n\nexport const PricingDimension: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"PricingDimension\",\n modelProperties: {\n id: {\n serializedName: \"id\",\n type: {\n name: \"String\",\n },\n },\n name: {\n serializedName: \"name\",\n type: {\n name: \"String\",\n },\n },\n },\n },\n};\n\nexport const OperationsList: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"OperationsList\",\n modelProperties: {\n nextLink: {\n serializedName: \"nextLink\",\n type: {\n name: \"String\",\n },\n },\n value: {\n serializedName: \"value\",\n required: true,\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"Composite\",\n className: \"Operation\",\n },\n },\n },\n },\n },\n },\n};\n\nexport const Operation: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"Operation\",\n modelProperties: {\n name: {\n serializedName: \"name\",\n type: {\n name: \"String\",\n },\n },\n isDataAction: {\n serializedName: \"isDataAction\",\n type: {\n name: \"Boolean\",\n },\n },\n display: {\n serializedName: \"display\",\n type: {\n name: \"Composite\",\n className: \"OperationDisplay\",\n },\n },\n },\n },\n};\n\nexport const OperationDisplay: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"OperationDisplay\",\n modelProperties: {\n provider: {\n serializedName: \"provider\",\n type: {\n name: \"String\",\n },\n },\n resource: {\n serializedName: \"resource\",\n type: {\n name: \"String\",\n },\n },\n operation: {\n serializedName: \"operation\",\n type: {\n name: \"String\",\n },\n },\n description: {\n serializedName: \"description\",\n type: {\n name: \"String\",\n },\n },\n },\n },\n};\n\nexport const CheckNameAvailabilityParameters: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"CheckNameAvailabilityParameters\",\n modelProperties: {\n name: {\n serializedName: \"name\",\n type: {\n name: \"String\",\n },\n },\n type: {\n defaultValue: \"Microsoft.Quantum/Workspaces\",\n serializedName: \"type\",\n type: {\n name: \"String\",\n },\n },\n },\n },\n};\n\nexport const CheckNameAvailabilityResult: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"CheckNameAvailabilityResult\",\n modelProperties: {\n nameAvailable: {\n serializedName: \"nameAvailable\",\n type: {\n name: \"Boolean\",\n },\n },\n reason: {\n serializedName: \"reason\",\n type: {\n name: \"String\",\n },\n },\n message: {\n serializedName: \"message\",\n readOnly: true,\n type: {\n name: \"String\",\n },\n },\n },\n },\n};\n\nexport const ListKeysResult: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"ListKeysResult\",\n modelProperties: {\n apiKeyEnabled: {\n serializedName: \"apiKeyEnabled\",\n type: {\n name: \"Boolean\",\n },\n },\n primaryKey: {\n serializedName: \"primaryKey\",\n type: {\n name: \"Composite\",\n className: \"ApiKey\",\n },\n },\n secondaryKey: {\n serializedName: \"secondaryKey\",\n type: {\n name: \"Composite\",\n className: \"ApiKey\",\n },\n },\n primaryConnectionString: {\n serializedName: \"primaryConnectionString\",\n readOnly: true,\n type: {\n name: \"String\",\n },\n },\n secondaryConnectionString: {\n serializedName: \"secondaryConnectionString\",\n readOnly: true,\n type: {\n name: \"String\",\n },\n },\n },\n },\n};\n\nexport const ApiKey: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"ApiKey\",\n modelProperties: {\n createdAt: {\n serializedName: \"createdAt\",\n type: {\n name: \"DateTime\",\n },\n },\n key: {\n serializedName: \"key\",\n readOnly: true,\n type: {\n name: \"String\",\n },\n },\n },\n },\n};\n\nexport const APIKeys: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"APIKeys\",\n modelProperties: {\n keys: {\n serializedName: \"keys\",\n type: {\n name: \"Sequence\",\n element: {\n defaultValue: \"Primary\",\n type: {\n name: \"String\",\n },\n },\n },\n },\n },\n },\n};\n\nexport const TrackedResource: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"TrackedResource\",\n modelProperties: {\n ...Resource.type.modelProperties,\n tags: {\n serializedName: \"tags\",\n type: {\n name: \"Dictionary\",\n value: { type: { name: \"String\" } },\n },\n },\n location: {\n serializedName: \"location\",\n required: true,\n type: {\n name: \"String\",\n },\n },\n },\n },\n};\n\nexport const QuantumWorkspace: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"QuantumWorkspace\",\n modelProperties: {\n ...TrackedResource.type.modelProperties,\n properties: {\n serializedName: \"properties\",\n type: {\n name: \"Composite\",\n className: \"WorkspaceResourceProperties\",\n },\n },\n identity: {\n serializedName: \"identity\",\n type: {\n name: \"Composite\",\n className: \"QuantumWorkspaceIdentity\",\n },\n },\n },\n },\n};\n"]}
@@ -0,0 +1,15 @@
1
+ import { OperationParameter, OperationURLParameter, OperationQueryParameter } from "@azure/core-client";
2
+ export declare const accept: OperationParameter;
3
+ export declare const $host: OperationURLParameter;
4
+ export declare const resourceGroupName: OperationURLParameter;
5
+ export declare const apiVersion: OperationQueryParameter;
6
+ export declare const subscriptionId: OperationURLParameter;
7
+ export declare const workspaceName: OperationURLParameter;
8
+ export declare const contentType: OperationParameter;
9
+ export declare const quantumWorkspace: OperationParameter;
10
+ export declare const workspaceTags: OperationParameter;
11
+ export declare const nextLink: OperationURLParameter;
12
+ export declare const locationName: OperationURLParameter;
13
+ export declare const checkNameAvailabilityParameters: OperationParameter;
14
+ export declare const keySpecification: OperationParameter;
15
+ //# sourceMappingURL=parameters.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"parameters.d.ts","sourceRoot":"","sources":["../../../src/models/parameters.ts"],"names":[],"mappings":"AAQA,OAAO,EACL,kBAAkB,EAClB,qBAAqB,EACrB,uBAAuB,EACxB,MAAM,oBAAoB,CAAC;AAQ5B,eAAO,MAAM,MAAM,EAAE,kBAUpB,CAAC;AAEF,eAAO,MAAM,KAAK,EAAE,qBAUnB,CAAC;AAEF,eAAO,MAAM,iBAAiB,EAAE,qBAa/B,CAAC;AAEF,eAAO,MAAM,UAAU,EAAE,uBAUxB,CAAC;AAEF,eAAO,MAAM,cAAc,EAAE,qBAS5B,CAAC;AAEF,eAAO,MAAM,aAAa,EAAE,qBAY3B,CAAC;AAEF,eAAO,MAAM,WAAW,EAAE,kBAUzB,CAAC;AAEF,eAAO,MAAM,gBAAgB,EAAE,kBAG9B,CAAC;AAEF,eAAO,MAAM,aAAa,EAAE,kBAG3B,CAAC;AAEF,eAAO,MAAM,QAAQ,EAAE,qBAUtB,CAAC;AAEF,eAAO,MAAM,YAAY,EAAE,qBAS1B,CAAC;AAEF,eAAO,MAAM,+BAA+B,EAAE,kBAG7C,CAAC;AAEF,eAAO,MAAM,gBAAgB,EAAE,kBAG9B,CAAC"}
@@ -0,0 +1,127 @@
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 { QuantumWorkspace as QuantumWorkspaceMapper, TagsObject as TagsObjectMapper, CheckNameAvailabilityParameters as CheckNameAvailabilityParametersMapper, APIKeys as APIKeysMapper, } from "../models/mappers.js";
9
+ export const accept = {
10
+ parameterPath: "accept",
11
+ mapper: {
12
+ defaultValue: "application/json",
13
+ isConstant: true,
14
+ serializedName: "Accept",
15
+ type: {
16
+ name: "String",
17
+ },
18
+ },
19
+ };
20
+ export const $host = {
21
+ parameterPath: "$host",
22
+ mapper: {
23
+ serializedName: "$host",
24
+ required: true,
25
+ type: {
26
+ name: "String",
27
+ },
28
+ },
29
+ skipEncoding: true,
30
+ };
31
+ export const resourceGroupName = {
32
+ parameterPath: "resourceGroupName",
33
+ mapper: {
34
+ constraints: {
35
+ MaxLength: 90,
36
+ MinLength: 1,
37
+ },
38
+ serializedName: "resourceGroupName",
39
+ required: true,
40
+ type: {
41
+ name: "String",
42
+ },
43
+ },
44
+ };
45
+ export const apiVersion = {
46
+ parameterPath: "apiVersion",
47
+ mapper: {
48
+ defaultValue: "2023-11-13-preview",
49
+ isConstant: true,
50
+ serializedName: "api-version",
51
+ type: {
52
+ name: "String",
53
+ },
54
+ },
55
+ };
56
+ export const subscriptionId = {
57
+ parameterPath: "subscriptionId",
58
+ mapper: {
59
+ serializedName: "subscriptionId",
60
+ required: true,
61
+ type: {
62
+ name: "Uuid",
63
+ },
64
+ },
65
+ };
66
+ export const workspaceName = {
67
+ parameterPath: "workspaceName",
68
+ mapper: {
69
+ constraints: {
70
+ Pattern: new RegExp("^[a-zA-Z0-9]+(-*[a-zA-Z0-9])*$"),
71
+ },
72
+ serializedName: "workspaceName",
73
+ required: true,
74
+ type: {
75
+ name: "String",
76
+ },
77
+ },
78
+ };
79
+ export const contentType = {
80
+ parameterPath: ["options", "contentType"],
81
+ mapper: {
82
+ defaultValue: "application/json",
83
+ isConstant: true,
84
+ serializedName: "Content-Type",
85
+ type: {
86
+ name: "String",
87
+ },
88
+ },
89
+ };
90
+ export const quantumWorkspace = {
91
+ parameterPath: "quantumWorkspace",
92
+ mapper: QuantumWorkspaceMapper,
93
+ };
94
+ export const workspaceTags = {
95
+ parameterPath: "workspaceTags",
96
+ mapper: TagsObjectMapper,
97
+ };
98
+ export const nextLink = {
99
+ parameterPath: "nextLink",
100
+ mapper: {
101
+ serializedName: "nextLink",
102
+ required: true,
103
+ type: {
104
+ name: "String",
105
+ },
106
+ },
107
+ skipEncoding: true,
108
+ };
109
+ export const locationName = {
110
+ parameterPath: "locationName",
111
+ mapper: {
112
+ serializedName: "locationName",
113
+ required: true,
114
+ type: {
115
+ name: "String",
116
+ },
117
+ },
118
+ };
119
+ export const checkNameAvailabilityParameters = {
120
+ parameterPath: "checkNameAvailabilityParameters",
121
+ mapper: CheckNameAvailabilityParametersMapper,
122
+ };
123
+ export const keySpecification = {
124
+ parameterPath: "keySpecification",
125
+ mapper: APIKeysMapper,
126
+ };
127
+ //# sourceMappingURL=parameters.js.map
@@ -0,0 +1 @@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ACF;CACF,CAAC;AAEF,MAAM,CAAC,MAAM,+BAA+B,GAAuB;IACjE,aAAa,EAAE,iCAAiC;IAChD,MAAM,EAAE,qCAAqC;CAC9C,CAAC;AAEF,MAAM,CAAC,MAAM,gBAAgB,GAAuB;IAClD,aAAa,EAAE,kBAAkB;IACjC,MAAM,EAAE,aAAa;CACtB,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 {\n OperationParameter,\n OperationURLParameter,\n OperationQueryParameter,\n} from \"@azure/core-client\";\nimport {\n QuantumWorkspace as QuantumWorkspaceMapper,\n TagsObject as TagsObjectMapper,\n CheckNameAvailabilityParameters as CheckNameAvailabilityParametersMapper,\n APIKeys as APIKeysMapper,\n} from \"../models/mappers.js\";\n\nexport const accept: OperationParameter = {\n parameterPath: \"accept\",\n mapper: {\n defaultValue: \"application/json\",\n isConstant: true,\n serializedName: \"Accept\",\n type: {\n name: \"String\",\n },\n },\n};\n\nexport const $host: OperationURLParameter = {\n parameterPath: \"$host\",\n mapper: {\n serializedName: \"$host\",\n required: true,\n type: {\n name: \"String\",\n },\n },\n skipEncoding: true,\n};\n\nexport const resourceGroupName: OperationURLParameter = {\n parameterPath: \"resourceGroupName\",\n mapper: {\n constraints: {\n MaxLength: 90,\n MinLength: 1,\n },\n serializedName: \"resourceGroupName\",\n required: true,\n type: {\n name: \"String\",\n },\n },\n};\n\nexport const apiVersion: OperationQueryParameter = {\n parameterPath: \"apiVersion\",\n mapper: {\n defaultValue: \"2023-11-13-preview\",\n isConstant: true,\n serializedName: \"api-version\",\n type: {\n name: \"String\",\n },\n },\n};\n\nexport const subscriptionId: OperationURLParameter = {\n parameterPath: \"subscriptionId\",\n mapper: {\n serializedName: \"subscriptionId\",\n required: true,\n type: {\n name: \"Uuid\",\n },\n },\n};\n\nexport const workspaceName: OperationURLParameter = {\n parameterPath: \"workspaceName\",\n mapper: {\n constraints: {\n Pattern: new RegExp(\"^[a-zA-Z0-9]+(-*[a-zA-Z0-9])*$\"),\n },\n serializedName: \"workspaceName\",\n required: true,\n type: {\n name: \"String\",\n },\n },\n};\n\nexport const contentType: OperationParameter = {\n parameterPath: [\"options\", \"contentType\"],\n mapper: {\n defaultValue: \"application/json\",\n isConstant: true,\n serializedName: \"Content-Type\",\n type: {\n name: \"String\",\n },\n },\n};\n\nexport const quantumWorkspace: OperationParameter = {\n parameterPath: \"quantumWorkspace\",\n mapper: QuantumWorkspaceMapper,\n};\n\nexport const workspaceTags: OperationParameter = {\n parameterPath: \"workspaceTags\",\n mapper: TagsObjectMapper,\n};\n\nexport const nextLink: OperationURLParameter = {\n parameterPath: \"nextLink\",\n mapper: {\n serializedName: \"nextLink\",\n required: true,\n type: {\n name: \"String\",\n },\n },\n skipEncoding: true,\n};\n\nexport const locationName: OperationURLParameter = {\n parameterPath: \"locationName\",\n mapper: {\n serializedName: \"locationName\",\n required: true,\n type: {\n name: \"String\",\n },\n },\n};\n\nexport const checkNameAvailabilityParameters: OperationParameter = {\n parameterPath: \"checkNameAvailabilityParameters\",\n mapper: CheckNameAvailabilityParametersMapper,\n};\n\nexport const keySpecification: OperationParameter = {\n parameterPath: \"keySpecification\",\n mapper: APIKeysMapper,\n};\n"]}
@@ -0,0 +1,5 @@
1
+ export * from "./workspaces.js";
2
+ export * from "./offerings.js";
3
+ export * from "./operations.js";
4
+ export * from "./workspace.js";
5
+ //# 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,gBAAgB,CAAC;AAC/B,cAAc,iBAAiB,CAAC;AAChC,cAAc,gBAAgB,CAAC"}
@@ -0,0 +1,12 @@
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 "./workspaces.js";
9
+ export * from "./offerings.js";
10
+ export * from "./operations.js";
11
+ export * from "./workspace.js";
12
+ //# 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,gBAAgB,CAAC;AAC/B,cAAc,iBAAiB,CAAC;AAChC,cAAc,gBAAgB,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 \"./workspaces.js\";\nexport * from \"./offerings.js\";\nexport * from \"./operations.js\";\nexport * from \"./workspace.js\";\n"]}
@@ -0,0 +1,35 @@
1
+ import { PagedAsyncIterableIterator } from "@azure/core-paging";
2
+ import { Offerings } from "../operationsInterfaces/index.js";
3
+ import { AzureQuantumManagementClient } from "../azureQuantumManagementClient.js";
4
+ import { ProviderDescription, OfferingsListOptionalParams } from "../models/index.js";
5
+ /** Class containing Offerings operations. */
6
+ export declare class OfferingsImpl implements Offerings {
7
+ private readonly client;
8
+ /**
9
+ * Initialize a new instance of the class Offerings class.
10
+ * @param client Reference to the service client
11
+ */
12
+ constructor(client: AzureQuantumManagementClient);
13
+ /**
14
+ * Returns the list of all provider offerings available for the given location.
15
+ * @param locationName Location.
16
+ * @param options The options parameters.
17
+ */
18
+ list(locationName: string, options?: OfferingsListOptionalParams): PagedAsyncIterableIterator<ProviderDescription>;
19
+ private listPagingPage;
20
+ private listPagingAll;
21
+ /**
22
+ * Returns the list of all provider offerings available for the given location.
23
+ * @param locationName Location.
24
+ * @param options The options parameters.
25
+ */
26
+ private _list;
27
+ /**
28
+ * ListNext
29
+ * @param locationName Location.
30
+ * @param nextLink The nextLink from the previous successful call to the List method.
31
+ * @param options The options parameters.
32
+ */
33
+ private _listNext;
34
+ }
35
+ //# sourceMappingURL=offerings.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"offerings.d.ts","sourceRoot":"","sources":["../../../src/operations/offerings.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,0BAA0B,EAAgB,MAAM,oBAAoB,CAAC;AAE9E,OAAO,EAAE,SAAS,EAAE,MAAM,kCAAkC,CAAC;AAI7D,OAAO,EAAE,4BAA4B,EAAE,MAAM,oCAAoC,CAAC;AAClF,OAAO,EACL,mBAAmB,EAEnB,2BAA2B,EAG5B,MAAM,oBAAoB,CAAC;AAG5B,6CAA6C;AAC7C,qBAAa,aAAc,YAAW,SAAS;IAC7C,OAAO,CAAC,QAAQ,CAAC,MAAM,CAA+B;IAEtD;;;OAGG;gBACS,MAAM,EAAE,4BAA4B;IAIhD;;;;OAIG;IACI,IAAI,CACT,YAAY,EAAE,MAAM,EACpB,OAAO,CAAC,EAAE,2BAA2B,GACpC,0BAA0B,CAAC,mBAAmB,CAAC;YAkBnC,cAAc;YAuBd,aAAa;IAS5B;;;;OAIG;IACH,OAAO,CAAC,KAAK;IAUb;;;;;OAKG;IACH,OAAO,CAAC,SAAS;CAUlB"}
@@ -0,0 +1,128 @@
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 Offerings operations. */
14
+ export class OfferingsImpl {
15
+ client;
16
+ /**
17
+ * Initialize a new instance of the class Offerings class.
18
+ * @param client Reference to the service client
19
+ */
20
+ constructor(client) {
21
+ this.client = client;
22
+ }
23
+ /**
24
+ * Returns the list of all provider offerings available for the given location.
25
+ * @param locationName Location.
26
+ * @param options The options parameters.
27
+ */
28
+ list(locationName, options) {
29
+ const iter = this.listPagingAll(locationName, 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.listPagingPage(locationName, options, settings);
42
+ },
43
+ };
44
+ }
45
+ async *listPagingPage(locationName, options, settings) {
46
+ let result;
47
+ let continuationToken = settings?.continuationToken;
48
+ if (!continuationToken) {
49
+ result = await this._list(locationName, 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._listNext(locationName, continuationToken, options);
57
+ continuationToken = result.nextLink;
58
+ let page = result.value || [];
59
+ setContinuationToken(page, continuationToken);
60
+ yield page;
61
+ }
62
+ }
63
+ async *listPagingAll(locationName, options) {
64
+ for await (const page of this.listPagingPage(locationName, options)) {
65
+ yield* page;
66
+ }
67
+ }
68
+ /**
69
+ * Returns the list of all provider offerings available for the given location.
70
+ * @param locationName Location.
71
+ * @param options The options parameters.
72
+ */
73
+ _list(locationName, options) {
74
+ return this.client.sendOperationRequest({ locationName, options }, listOperationSpec);
75
+ }
76
+ /**
77
+ * ListNext
78
+ * @param locationName Location.
79
+ * @param nextLink The nextLink from the previous successful call to the List method.
80
+ * @param options The options parameters.
81
+ */
82
+ _listNext(locationName, nextLink, options) {
83
+ return this.client.sendOperationRequest({ locationName, nextLink, options }, listNextOperationSpec);
84
+ }
85
+ }
86
+ // Operation Specifications
87
+ const serializer = coreClient.createSerializer(Mappers, /* isXml */ false);
88
+ const listOperationSpec = {
89
+ path: "/subscriptions/{subscriptionId}/providers/Microsoft.Quantum/locations/{locationName}/offerings",
90
+ httpMethod: "GET",
91
+ responses: {
92
+ 200: {
93
+ bodyMapper: Mappers.OfferingsListResult,
94
+ },
95
+ default: {
96
+ bodyMapper: Mappers.ErrorResponse,
97
+ },
98
+ },
99
+ queryParameters: [Parameters.apiVersion],
100
+ urlParameters: [
101
+ Parameters.$host,
102
+ Parameters.subscriptionId,
103
+ Parameters.locationName,
104
+ ],
105
+ headerParameters: [Parameters.accept],
106
+ serializer,
107
+ };
108
+ const listNextOperationSpec = {
109
+ path: "{nextLink}",
110
+ httpMethod: "GET",
111
+ responses: {
112
+ 200: {
113
+ bodyMapper: Mappers.OfferingsListResult,
114
+ },
115
+ default: {
116
+ bodyMapper: Mappers.ErrorResponse,
117
+ },
118
+ },
119
+ urlParameters: [
120
+ Parameters.$host,
121
+ Parameters.subscriptionId,
122
+ Parameters.nextLink,
123
+ Parameters.locationName,
124
+ ],
125
+ headerParameters: [Parameters.accept],
126
+ serializer,
127
+ };
128
+ //# sourceMappingURL=offerings.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"offerings.js","sourceRoot":"","sources":["../../../src/operations/offerings.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;AAUtD,4CAA4C;AAC5C,6CAA6C;AAC7C,MAAM,OAAO,aAAa;IACP,MAAM,CAA+B;IAEtD;;;OAGG;IACH,YAAY,MAAoC;QAC9C,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACvB,CAAC;IAED;;;;OAIG;IACI,IAAI,CACT,YAAoB,EACpB,OAAqC;QAErC,MAAM,IAAI,GAAG,IAAI,CAAC,aAAa,CAAC,YAAY,EAAE,OAAO,CAAC,CA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AU,EAAE,OAAO,CAAC,mBAAmB;SACxC;QACD,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,aAAa;SAClC;KACF;IACD,aAAa,EAAE;QACb,UAAU,CAAC,KAAK;QAChB,UAAU,CAAC,cAAc;QACzB,UAAU,CAAC,QAAQ;QACnB,UAAU,CAAC,YAAY;KACxB;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 { Offerings } 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 { AzureQuantumManagementClient } from \"../azureQuantumManagementClient.js\";\nimport {\n ProviderDescription,\n OfferingsListNextOptionalParams,\n OfferingsListOptionalParams,\n OfferingsListResponse,\n OfferingsListNextResponse,\n} from \"../models/index.js\";\n\n/// <reference lib=\"esnext.asynciterable\" />\n/** Class containing Offerings operations. */\nexport class OfferingsImpl implements Offerings {\n private readonly client: AzureQuantumManagementClient;\n\n /**\n * Initialize a new instance of the class Offerings class.\n * @param client Reference to the service client\n */\n constructor(client: AzureQuantumManagementClient) {\n this.client = client;\n }\n\n /**\n * Returns the list of all provider offerings available for the given location.\n * @param locationName Location.\n * @param options The options parameters.\n */\n public list(\n locationName: string,\n options?: OfferingsListOptionalParams,\n ): PagedAsyncIterableIterator<ProviderDescription> {\n const iter = this.listPagingAll(locationName, 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(locationName, options, settings);\n },\n };\n }\n\n private async *listPagingPage(\n locationName: string,\n options?: OfferingsListOptionalParams,\n settings?: PageSettings,\n ): AsyncIterableIterator<ProviderDescription[]> {\n let result: OfferingsListResponse;\n let continuationToken = settings?.continuationToken;\n if (!continuationToken) {\n result = await this._list(locationName, 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(locationName, 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 locationName: string,\n options?: OfferingsListOptionalParams,\n ): AsyncIterableIterator<ProviderDescription> {\n for await (const page of this.listPagingPage(locationName, options)) {\n yield* page;\n }\n }\n\n /**\n * Returns the list of all provider offerings available for the given location.\n * @param locationName Location.\n * @param options The options parameters.\n */\n private _list(\n locationName: string,\n options?: OfferingsListOptionalParams,\n ): Promise<OfferingsListResponse> {\n return this.client.sendOperationRequest(\n { locationName, options },\n listOperationSpec,\n );\n }\n\n /**\n * ListNext\n * @param locationName Location.\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 locationName: string,\n nextLink: string,\n options?: OfferingsListNextOptionalParams,\n ): Promise<OfferingsListNextResponse> {\n return this.client.sendOperationRequest(\n { locationName, nextLink, options },\n listNextOperationSpec,\n );\n }\n}\n// Operation Specifications\nconst serializer = coreClient.createSerializer(Mappers, /* isXml */ false);\n\nconst listOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/providers/Microsoft.Quantum/locations/{locationName}/offerings\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.OfferingsListResult,\n },\n default: {\n bodyMapper: Mappers.ErrorResponse,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.locationName,\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.OfferingsListResult,\n },\n default: {\n bodyMapper: Mappers.ErrorResponse,\n },\n },\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.nextLink,\n Parameters.locationName,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\n"]}
@@ -0,0 +1,32 @@
1
+ import { PagedAsyncIterableIterator } from "@azure/core-paging";
2
+ import { Operations } from "../operationsInterfaces/index.js";
3
+ import { AzureQuantumManagementClient } from "../azureQuantumManagementClient.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: AzureQuantumManagementClient);
13
+ /**
14
+ * Returns list of operations.
15
+ * @param options The options parameters.
16
+ */
17
+ list(options?: OperationsListOptionalParams): PagedAsyncIterableIterator<Operation>;
18
+ private listPagingPage;
19
+ private listPagingAll;
20
+ /**
21
+ * Returns list of operations.
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,4BAA4B,EAAE,MAAM,oCAAoC,CAAC;AAClF,OAAO,EACL,SAAS,EAET,4BAA4B,EAG7B,MAAM,oBAAoB,CAAC;AAG5B,8CAA8C;AAC9C,qBAAa,cAAe,YAAW,UAAU;IAC/C,OAAO,CAAC,QAAQ,CAAC,MAAM,CAA+B;IAEtD;;;OAGG;gBACS,MAAM,EAAE,4BAA4B;IAIhD;;;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
+ * Returns list of operations.
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
+ * Returns list of operations.
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.Quantum/operations",
87
+ httpMethod: "GET",
88
+ responses: {
89
+ 200: {
90
+ bodyMapper: Mappers.OperationsList,
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.OperationsList,
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
@@ -0,0 +1 @@
1
+ {"version":3,"file":"operations.js","sourceRoot":"","sources":["../../../src/operations/operations.ts"],"names":[],"mappings":"AAAA;;;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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,cAAc;SACnC;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 { AzureQuantumManagementClient } from \"../azureQuantumManagementClient.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: AzureQuantumManagementClient;\n\n /**\n * Initialize a new instance of the class Operations class.\n * @param client Reference to the service client\n */\n constructor(client: AzureQuantumManagementClient) {\n this.client = client;\n }\n\n /**\n * Returns list of operations.\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 * Returns list of operations.\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.Quantum/operations\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.OperationsList,\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.OperationsList,\n },\n default: {\n bodyMapper: Mappers.ErrorResponse,\n },\n },\n urlParameters: [Parameters.$host, Parameters.nextLink],\n headerParameters: [Parameters.accept],\n serializer,\n};\n"]}