@azure/arm-quantum 1.0.0-beta.1 → 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 +39 -1
  2. package/LICENSE +4 -4
  3. package/README.md +26 -19
  4. package/{dist-esm/src → dist/browser}/azureQuantumManagementClient.d.ts +3 -3
  5. package/dist/browser/azureQuantumManagementClient.d.ts.map +1 -0
  6. package/{dist-esm/src → dist/browser}/azureQuantumManagementClient.js +41 -32
  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-esm/src → dist/browser}/models/index.d.ts +106 -41
  16. package/dist/browser/models/index.d.ts.map +1 -0
  17. package/{dist-esm/src → dist/browser}/models/index.js +8 -0
  18. package/dist/browser/models/index.js.map +1 -0
  19. package/{dist-esm/src → dist/browser}/models/mappers.d.ts +5 -1
  20. package/dist/browser/models/mappers.d.ts.map +1 -0
  21. package/{dist-esm/src → dist/browser}/models/mappers.js +464 -347
  22. package/dist/browser/models/mappers.js.map +1 -0
  23. package/{dist-esm/src → dist/browser}/models/parameters.d.ts +1 -0
  24. package/{dist-esm/src → dist/browser}/models/parameters.d.ts.map +1 -1
  25. package/{dist-esm/src → dist/browser}/models/parameters.js +43 -32
  26. package/dist/browser/models/parameters.js.map +1 -0
  27. package/dist/browser/operations/index.d.ts +5 -0
  28. package/{dist-esm/src → dist/browser}/operations/index.d.ts.map +1 -1
  29. package/{dist-esm/src → dist/browser}/operations/index.js +4 -4
  30. package/dist/browser/operations/index.js.map +1 -0
  31. package/{dist-esm/src → dist/browser}/operations/offerings.d.ts +3 -3
  32. package/dist/browser/operations/offerings.d.ts.map +1 -0
  33. package/{dist-esm/src → dist/browser}/operations/offerings.js +37 -59
  34. package/dist/browser/operations/offerings.js.map +1 -0
  35. package/{dist-esm/src → dist/browser}/operations/operations.d.ts +3 -3
  36. package/dist/browser/operations/operations.d.ts.map +1 -0
  37. package/dist/browser/operations/operations.js +116 -0
  38. package/dist/browser/operations/operations.js.map +1 -0
  39. package/dist/browser/operations/workspace.d.ts +38 -0
  40. package/dist/browser/operations/workspace.d.ts.map +1 -0
  41. package/dist/browser/operations/workspace.js +119 -0
  42. package/dist/browser/operations/workspace.js.map +1 -0
  43. package/{dist-esm/src → dist/browser}/operations/workspaces.d.ts +12 -12
  44. package/dist/browser/operations/workspaces.d.ts.map +1 -0
  45. package/dist/browser/operations/workspaces.js +457 -0
  46. package/dist/browser/operations/workspaces.js.map +1 -0
  47. package/dist/browser/operationsInterfaces/index.d.ts +5 -0
  48. package/{dist-esm/src → dist/browser}/operationsInterfaces/index.d.ts.map +1 -1
  49. package/{dist-esm/src → dist/browser}/operationsInterfaces/index.js +4 -4
  50. package/dist/browser/operationsInterfaces/index.js.map +1 -0
  51. package/{dist-esm/src → dist/browser}/operationsInterfaces/offerings.d.ts +1 -1
  52. package/dist/browser/operationsInterfaces/offerings.d.ts.map +1 -0
  53. package/dist/browser/operationsInterfaces/offerings.js.map +1 -0
  54. package/{dist-esm/src → dist/browser}/operationsInterfaces/operations.d.ts +1 -1
  55. package/{dist-esm/src → dist/browser}/operationsInterfaces/operations.d.ts.map +1 -1
  56. package/dist/browser/operationsInterfaces/operations.js.map +1 -0
  57. package/dist/browser/operationsInterfaces/workspace.d.ts +30 -0
  58. package/dist/browser/operationsInterfaces/workspace.d.ts.map +1 -0
  59. package/dist/browser/operationsInterfaces/workspace.js.map +1 -0
  60. package/{dist-esm/src → dist/browser}/operationsInterfaces/workspaces.d.ts +8 -8
  61. package/dist/browser/operationsInterfaces/workspaces.d.ts.map +1 -0
  62. package/dist/browser/operationsInterfaces/workspaces.js.map +1 -0
  63. package/dist/browser/package.json +3 -0
  64. package/{dist-esm/src → dist/browser}/pagingHelper.js +2 -4
  65. package/dist/browser/pagingHelper.js.map +1 -0
  66. package/dist/commonjs/azureQuantumManagementClient.d.ts +23 -0
  67. package/dist/commonjs/azureQuantumManagementClient.d.ts.map +1 -0
  68. package/dist/commonjs/azureQuantumManagementClient.js +117 -0
  69. package/dist/commonjs/azureQuantumManagementClient.js.map +1 -0
  70. package/dist/commonjs/index.d.ts +5 -0
  71. package/dist/commonjs/index.d.ts.map +1 -0
  72. package/dist/commonjs/index.js +19 -0
  73. package/dist/commonjs/index.js.map +1 -0
  74. package/dist/commonjs/lroImpl.d.ts +11 -0
  75. package/dist/commonjs/lroImpl.d.ts.map +1 -0
  76. package/dist/commonjs/lroImpl.js +21 -0
  77. package/dist/commonjs/lroImpl.js.map +1 -0
  78. package/{types/arm-quantum.d.ts → dist/commonjs/models/index.d.ts} +614 -734
  79. package/dist/commonjs/models/index.d.ts.map +1 -0
  80. package/dist/commonjs/models/index.js +81 -0
  81. package/dist/commonjs/models/index.js.map +1 -0
  82. package/dist/commonjs/models/mappers.d.ts +32 -0
  83. package/dist/commonjs/models/mappers.d.ts.map +1 -0
  84. package/dist/commonjs/models/mappers.js +1032 -0
  85. package/dist/commonjs/models/mappers.js.map +1 -0
  86. package/dist/commonjs/models/parameters.d.ts +15 -0
  87. package/dist/commonjs/models/parameters.d.ts.map +1 -0
  88. package/dist/commonjs/models/parameters.js +130 -0
  89. package/dist/commonjs/models/parameters.js.map +1 -0
  90. package/dist/commonjs/operations/index.d.ts +5 -0
  91. package/dist/commonjs/operations/index.d.ts.map +1 -0
  92. package/dist/commonjs/operations/index.js +15 -0
  93. package/dist/commonjs/operations/index.js.map +1 -0
  94. package/dist/commonjs/operations/offerings.d.ts +35 -0
  95. package/dist/commonjs/operations/offerings.d.ts.map +1 -0
  96. package/dist/commonjs/operations/offerings.js +133 -0
  97. package/dist/commonjs/operations/offerings.js.map +1 -0
  98. package/dist/commonjs/operations/operations.d.ts +32 -0
  99. package/dist/commonjs/operations/operations.d.ts.map +1 -0
  100. package/dist/commonjs/operations/operations.js +121 -0
  101. package/dist/commonjs/operations/operations.js.map +1 -0
  102. package/dist/commonjs/operations/workspace.d.ts +38 -0
  103. package/dist/commonjs/operations/workspace.d.ts.map +1 -0
  104. package/dist/commonjs/operations/workspace.js +124 -0
  105. package/dist/commonjs/operations/workspace.js.map +1 -0
  106. package/dist/commonjs/operations/workspaces.d.ts +99 -0
  107. package/dist/commonjs/operations/workspaces.d.ts.map +1 -0
  108. package/dist/commonjs/operations/workspaces.js +462 -0
  109. package/dist/commonjs/operations/workspaces.js.map +1 -0
  110. package/dist/commonjs/operationsInterfaces/index.d.ts +5 -0
  111. package/dist/commonjs/operationsInterfaces/index.d.ts.map +1 -0
  112. package/dist/commonjs/operationsInterfaces/index.js +15 -0
  113. package/dist/commonjs/operationsInterfaces/index.js.map +1 -0
  114. package/dist/commonjs/operationsInterfaces/offerings.d.ts +12 -0
  115. package/dist/commonjs/operationsInterfaces/offerings.d.ts.map +1 -0
  116. package/dist/commonjs/operationsInterfaces/offerings.js +10 -0
  117. package/dist/commonjs/operationsInterfaces/offerings.js.map +1 -0
  118. package/dist/commonjs/operationsInterfaces/operations.d.ts +11 -0
  119. package/dist/commonjs/operationsInterfaces/operations.d.ts.map +1 -0
  120. package/dist/commonjs/operationsInterfaces/operations.js +10 -0
  121. package/dist/commonjs/operationsInterfaces/operations.js.map +1 -0
  122. package/dist/commonjs/operationsInterfaces/workspace.d.ts +30 -0
  123. package/dist/commonjs/operationsInterfaces/workspace.d.ts.map +1 -0
  124. package/dist/commonjs/operationsInterfaces/workspace.js +10 -0
  125. package/dist/commonjs/operationsInterfaces/workspace.js.map +1 -0
  126. package/dist/commonjs/operationsInterfaces/workspaces.d.ts +63 -0
  127. package/dist/commonjs/operationsInterfaces/workspaces.d.ts.map +1 -0
  128. package/dist/commonjs/operationsInterfaces/workspaces.js +10 -0
  129. package/dist/commonjs/operationsInterfaces/workspaces.js.map +1 -0
  130. package/dist/commonjs/package.json +3 -0
  131. package/dist/commonjs/pagingHelper.d.ts +13 -0
  132. package/dist/commonjs/pagingHelper.d.ts.map +1 -0
  133. package/dist/commonjs/pagingHelper.js +34 -0
  134. package/dist/commonjs/pagingHelper.js.map +1 -0
  135. package/{types → dist/commonjs}/tsdoc-metadata.json +11 -11
  136. package/dist/esm/azureQuantumManagementClient.d.ts +23 -0
  137. package/dist/esm/azureQuantumManagementClient.d.ts.map +1 -0
  138. package/dist/esm/azureQuantumManagementClient.js +112 -0
  139. package/dist/esm/azureQuantumManagementClient.js.map +1 -0
  140. package/dist/esm/index.d.ts +5 -0
  141. package/dist/esm/index.d.ts.map +1 -0
  142. package/{src/index.ts → dist/esm/index.js} +5 -5
  143. package/dist/esm/index.js.map +1 -0
  144. package/dist/esm/lroImpl.d.ts +11 -0
  145. package/dist/esm/lroImpl.d.ts.map +1 -0
  146. package/dist/esm/lroImpl.js +18 -0
  147. package/dist/esm/lroImpl.js.map +1 -0
  148. package/dist/esm/models/index.d.ts +614 -0
  149. package/dist/esm/models/index.d.ts.map +1 -0
  150. package/dist/esm/models/index.js +78 -0
  151. package/dist/esm/models/index.js.map +1 -0
  152. package/dist/esm/models/mappers.d.ts +32 -0
  153. package/dist/esm/models/mappers.d.ts.map +1 -0
  154. package/dist/esm/models/mappers.js +1029 -0
  155. package/dist/esm/models/mappers.js.map +1 -0
  156. package/dist/esm/models/parameters.d.ts +15 -0
  157. package/dist/esm/models/parameters.d.ts.map +1 -0
  158. package/dist/esm/models/parameters.js +127 -0
  159. package/dist/esm/models/parameters.js.map +1 -0
  160. package/dist/esm/operations/index.d.ts +5 -0
  161. package/dist/esm/operations/index.d.ts.map +1 -0
  162. package/dist/esm/operations/index.js +12 -0
  163. package/dist/esm/operations/index.js.map +1 -0
  164. package/dist/esm/operations/offerings.d.ts +35 -0
  165. package/dist/esm/operations/offerings.d.ts.map +1 -0
  166. package/dist/esm/operations/offerings.js +128 -0
  167. package/dist/esm/operations/offerings.js.map +1 -0
  168. package/dist/esm/operations/operations.d.ts +32 -0
  169. package/dist/esm/operations/operations.d.ts.map +1 -0
  170. package/dist/esm/operations/operations.js +116 -0
  171. package/dist/esm/operations/operations.js.map +1 -0
  172. package/dist/esm/operations/workspace.d.ts +38 -0
  173. package/dist/esm/operations/workspace.d.ts.map +1 -0
  174. package/dist/esm/operations/workspace.js +119 -0
  175. package/dist/esm/operations/workspace.js.map +1 -0
  176. package/dist/esm/operations/workspaces.d.ts +99 -0
  177. package/dist/esm/operations/workspaces.d.ts.map +1 -0
  178. package/dist/esm/operations/workspaces.js +457 -0
  179. package/dist/esm/operations/workspaces.js.map +1 -0
  180. package/dist/esm/operationsInterfaces/index.d.ts +5 -0
  181. package/dist/esm/operationsInterfaces/index.d.ts.map +1 -0
  182. package/dist/esm/operationsInterfaces/index.js +12 -0
  183. package/dist/esm/operationsInterfaces/index.js.map +1 -0
  184. package/dist/esm/operationsInterfaces/offerings.d.ts +12 -0
  185. package/dist/esm/operationsInterfaces/offerings.d.ts.map +1 -0
  186. package/dist/esm/operationsInterfaces/offerings.js +9 -0
  187. package/dist/esm/operationsInterfaces/offerings.js.map +1 -0
  188. package/dist/esm/operationsInterfaces/operations.d.ts +11 -0
  189. package/dist/esm/operationsInterfaces/operations.d.ts.map +1 -0
  190. package/dist/esm/operationsInterfaces/operations.js +9 -0
  191. package/dist/esm/operationsInterfaces/operations.js.map +1 -0
  192. package/dist/esm/operationsInterfaces/workspace.d.ts +30 -0
  193. package/dist/esm/operationsInterfaces/workspace.d.ts.map +1 -0
  194. package/dist/esm/operationsInterfaces/workspace.js +9 -0
  195. package/dist/esm/operationsInterfaces/workspace.js.map +1 -0
  196. package/dist/esm/operationsInterfaces/workspaces.d.ts +63 -0
  197. package/dist/esm/operationsInterfaces/workspaces.d.ts.map +1 -0
  198. package/dist/esm/operationsInterfaces/workspaces.js +9 -0
  199. package/dist/esm/operationsInterfaces/workspaces.js.map +1 -0
  200. package/dist/esm/package.json +3 -0
  201. package/dist/esm/pagingHelper.d.ts +13 -0
  202. package/dist/esm/pagingHelper.d.ts.map +1 -0
  203. package/dist/esm/pagingHelper.js +30 -0
  204. package/dist/esm/pagingHelper.js.map +1 -0
  205. package/dist/react-native/azureQuantumManagementClient.d.ts +23 -0
  206. package/dist/react-native/azureQuantumManagementClient.d.ts.map +1 -0
  207. package/dist/react-native/azureQuantumManagementClient.js +112 -0
  208. package/dist/react-native/azureQuantumManagementClient.js.map +1 -0
  209. package/dist/react-native/index.d.ts +5 -0
  210. package/dist/react-native/index.d.ts.map +1 -0
  211. package/dist/react-native/index.js +13 -0
  212. package/dist/react-native/index.js.map +1 -0
  213. package/dist/react-native/lroImpl.d.ts +11 -0
  214. package/dist/react-native/lroImpl.d.ts.map +1 -0
  215. package/dist/react-native/lroImpl.js +18 -0
  216. package/dist/react-native/lroImpl.js.map +1 -0
  217. package/dist/react-native/models/index.d.ts +614 -0
  218. package/dist/react-native/models/index.d.ts.map +1 -0
  219. package/dist/react-native/models/index.js +78 -0
  220. package/dist/react-native/models/index.js.map +1 -0
  221. package/dist/react-native/models/mappers.d.ts +32 -0
  222. package/dist/react-native/models/mappers.d.ts.map +1 -0
  223. package/dist/react-native/models/mappers.js +1029 -0
  224. package/dist/react-native/models/mappers.js.map +1 -0
  225. package/dist/react-native/models/parameters.d.ts +15 -0
  226. package/dist/react-native/models/parameters.d.ts.map +1 -0
  227. package/dist/react-native/models/parameters.js +127 -0
  228. package/dist/react-native/models/parameters.js.map +1 -0
  229. package/dist/react-native/operations/index.d.ts +5 -0
  230. package/dist/react-native/operations/index.d.ts.map +1 -0
  231. package/dist/react-native/operations/index.js +12 -0
  232. package/dist/react-native/operations/index.js.map +1 -0
  233. package/dist/react-native/operations/offerings.d.ts +35 -0
  234. package/dist/react-native/operations/offerings.d.ts.map +1 -0
  235. package/dist/react-native/operations/offerings.js +128 -0
  236. package/dist/react-native/operations/offerings.js.map +1 -0
  237. package/dist/react-native/operations/operations.d.ts +32 -0
  238. package/dist/react-native/operations/operations.d.ts.map +1 -0
  239. package/dist/react-native/operations/operations.js +116 -0
  240. package/dist/react-native/operations/operations.js.map +1 -0
  241. package/dist/react-native/operations/workspace.d.ts +38 -0
  242. package/dist/react-native/operations/workspace.d.ts.map +1 -0
  243. package/dist/react-native/operations/workspace.js +119 -0
  244. package/dist/react-native/operations/workspace.js.map +1 -0
  245. package/dist/react-native/operations/workspaces.d.ts +99 -0
  246. package/dist/react-native/operations/workspaces.d.ts.map +1 -0
  247. package/dist/react-native/operations/workspaces.js +457 -0
  248. package/dist/react-native/operations/workspaces.js.map +1 -0
  249. package/dist/react-native/operationsInterfaces/index.d.ts +5 -0
  250. package/dist/react-native/operationsInterfaces/index.d.ts.map +1 -0
  251. package/dist/react-native/operationsInterfaces/index.js +12 -0
  252. package/dist/react-native/operationsInterfaces/index.js.map +1 -0
  253. package/dist/react-native/operationsInterfaces/offerings.d.ts +12 -0
  254. package/dist/react-native/operationsInterfaces/offerings.d.ts.map +1 -0
  255. package/dist/react-native/operationsInterfaces/offerings.js +9 -0
  256. package/dist/react-native/operationsInterfaces/offerings.js.map +1 -0
  257. package/dist/react-native/operationsInterfaces/operations.d.ts +11 -0
  258. package/dist/react-native/operationsInterfaces/operations.d.ts.map +1 -0
  259. package/dist/react-native/operationsInterfaces/operations.js +9 -0
  260. package/dist/react-native/operationsInterfaces/operations.js.map +1 -0
  261. package/dist/react-native/operationsInterfaces/workspace.d.ts +30 -0
  262. package/dist/react-native/operationsInterfaces/workspace.d.ts.map +1 -0
  263. package/dist/react-native/operationsInterfaces/workspace.js +9 -0
  264. package/dist/react-native/operationsInterfaces/workspace.js.map +1 -0
  265. package/dist/react-native/operationsInterfaces/workspaces.d.ts +63 -0
  266. package/dist/react-native/operationsInterfaces/workspaces.d.ts.map +1 -0
  267. package/dist/react-native/operationsInterfaces/workspaces.js +9 -0
  268. package/dist/react-native/operationsInterfaces/workspaces.js.map +1 -0
  269. package/dist/react-native/package.json +3 -0
  270. package/dist/react-native/pagingHelper.d.ts +13 -0
  271. package/dist/react-native/pagingHelper.d.ts.map +1 -0
  272. package/dist/react-native/pagingHelper.js +30 -0
  273. package/dist/react-native/pagingHelper.js.map +1 -0
  274. package/package.json +83 -72
  275. package/review/{arm-quantum.api.md → arm-quantum-node.api.md} +54 -6
  276. package/dist/index.js +0 -2131
  277. package/dist/index.js.map +0 -1
  278. package/dist/index.min.js +0 -1
  279. package/dist/index.min.js.map +0 -1
  280. package/dist-esm/samples-dev/offeringsListSample.d.ts +0 -2
  281. package/dist-esm/samples-dev/offeringsListSample.d.ts.map +0 -1
  282. package/dist-esm/samples-dev/offeringsListSample.js +0 -59
  283. package/dist-esm/samples-dev/offeringsListSample.js.map +0 -1
  284. package/dist-esm/samples-dev/operationsListSample.d.ts +0 -2
  285. package/dist-esm/samples-dev/operationsListSample.d.ts.map +0 -1
  286. package/dist-esm/samples-dev/operationsListSample.js +0 -58
  287. package/dist-esm/samples-dev/operationsListSample.js.map +0 -1
  288. package/dist-esm/samples-dev/workspaceCheckNameAvailabilitySample.d.ts +0 -2
  289. package/dist-esm/samples-dev/workspaceCheckNameAvailabilitySample.d.ts.map +0 -1
  290. package/dist-esm/samples-dev/workspaceCheckNameAvailabilitySample.js +0 -42
  291. package/dist-esm/samples-dev/workspaceCheckNameAvailabilitySample.js.map +0 -1
  292. package/dist-esm/samples-dev/workspacesCreateOrUpdateSample.d.ts +0 -2
  293. package/dist-esm/samples-dev/workspacesCreateOrUpdateSample.d.ts.map +0 -1
  294. package/dist-esm/samples-dev/workspacesCreateOrUpdateSample.js +0 -48
  295. package/dist-esm/samples-dev/workspacesCreateOrUpdateSample.js.map +0 -1
  296. package/dist-esm/samples-dev/workspacesDeleteSample.d.ts +0 -2
  297. package/dist-esm/samples-dev/workspacesDeleteSample.d.ts.map +0 -1
  298. package/dist-esm/samples-dev/workspacesDeleteSample.js +0 -39
  299. package/dist-esm/samples-dev/workspacesDeleteSample.js.map +0 -1
  300. package/dist-esm/samples-dev/workspacesGetSample.d.ts +0 -2
  301. package/dist-esm/samples-dev/workspacesGetSample.d.ts.map +0 -1
  302. package/dist-esm/samples-dev/workspacesGetSample.js +0 -39
  303. package/dist-esm/samples-dev/workspacesGetSample.js.map +0 -1
  304. package/dist-esm/samples-dev/workspacesListByResourceGroupSample.d.ts +0 -2
  305. package/dist-esm/samples-dev/workspacesListByResourceGroupSample.d.ts.map +0 -1
  306. package/dist-esm/samples-dev/workspacesListByResourceGroupSample.js +0 -59
  307. package/dist-esm/samples-dev/workspacesListByResourceGroupSample.js.map +0 -1
  308. package/dist-esm/samples-dev/workspacesListBySubscriptionSample.d.ts +0 -2
  309. package/dist-esm/samples-dev/workspacesListBySubscriptionSample.d.ts.map +0 -1
  310. package/dist-esm/samples-dev/workspacesListBySubscriptionSample.js +0 -58
  311. package/dist-esm/samples-dev/workspacesListBySubscriptionSample.js.map +0 -1
  312. package/dist-esm/samples-dev/workspacesUpdateTagsSample.d.ts +0 -2
  313. package/dist-esm/samples-dev/workspacesUpdateTagsSample.d.ts.map +0 -1
  314. package/dist-esm/samples-dev/workspacesUpdateTagsSample.js +0 -42
  315. package/dist-esm/samples-dev/workspacesUpdateTagsSample.js.map +0 -1
  316. package/dist-esm/src/azureQuantumManagementClient.d.ts.map +0 -1
  317. package/dist-esm/src/azureQuantumManagementClient.js.map +0 -1
  318. package/dist-esm/src/index.d.ts +0 -6
  319. package/dist-esm/src/index.d.ts.map +0 -1
  320. package/dist-esm/src/index.js.map +0 -1
  321. package/dist-esm/src/lroImpl.js +0 -21
  322. package/dist-esm/src/lroImpl.js.map +0 -1
  323. package/dist-esm/src/models/index.d.ts.map +0 -1
  324. package/dist-esm/src/models/index.js.map +0 -1
  325. package/dist-esm/src/models/mappers.d.ts.map +0 -1
  326. package/dist-esm/src/models/mappers.js.map +0 -1
  327. package/dist-esm/src/models/parameters.js.map +0 -1
  328. package/dist-esm/src/operations/index.d.ts +0 -5
  329. package/dist-esm/src/operations/index.js.map +0 -1
  330. package/dist-esm/src/operations/offerings.d.ts.map +0 -1
  331. package/dist-esm/src/operations/offerings.js.map +0 -1
  332. package/dist-esm/src/operations/operations.d.ts.map +0 -1
  333. package/dist-esm/src/operations/operations.js +0 -138
  334. package/dist-esm/src/operations/operations.js.map +0 -1
  335. package/dist-esm/src/operations/workspace.d.ts +0 -20
  336. package/dist-esm/src/operations/workspace.d.ts.map +0 -1
  337. package/dist-esm/src/operations/workspace.js +0 -54
  338. package/dist-esm/src/operations/workspace.js.map +0 -1
  339. package/dist-esm/src/operations/workspaces.d.ts.map +0 -1
  340. package/dist-esm/src/operations/workspaces.js +0 -498
  341. package/dist-esm/src/operations/workspaces.js.map +0 -1
  342. package/dist-esm/src/operationsInterfaces/index.d.ts +0 -5
  343. package/dist-esm/src/operationsInterfaces/index.js.map +0 -1
  344. package/dist-esm/src/operationsInterfaces/offerings.d.ts.map +0 -1
  345. package/dist-esm/src/operationsInterfaces/offerings.js.map +0 -1
  346. package/dist-esm/src/operationsInterfaces/operations.js.map +0 -1
  347. package/dist-esm/src/operationsInterfaces/workspace.d.ts +0 -12
  348. package/dist-esm/src/operationsInterfaces/workspace.d.ts.map +0 -1
  349. package/dist-esm/src/operationsInterfaces/workspace.js.map +0 -1
  350. package/dist-esm/src/operationsInterfaces/workspaces.d.ts.map +0 -1
  351. package/dist-esm/src/operationsInterfaces/workspaces.js.map +0 -1
  352. package/dist-esm/src/pagingHelper.js.map +0 -1
  353. package/dist-esm/test/quantum_operations_test.spec.d.ts +0 -4
  354. package/dist-esm/test/quantum_operations_test.spec.d.ts.map +0 -1
  355. package/dist-esm/test/quantum_operations_test.spec.js +0 -128
  356. package/dist-esm/test/quantum_operations_test.spec.js.map +0 -1
  357. package/rollup.config.js +0 -122
  358. package/src/azureQuantumManagementClient.ts +0 -156
  359. package/src/lroImpl.ts +0 -42
  360. package/src/models/index.ts +0 -617
  361. package/src/models/mappers.ts +0 -952
  362. package/src/models/parameters.ts +0 -137
  363. package/src/operations/index.ts +0 -12
  364. package/src/operations/offerings.ts +0 -170
  365. package/src/operations/operations.ts +0 -149
  366. package/src/operations/workspace.ts +0 -74
  367. package/src/operations/workspaces.ts +0 -633
  368. package/src/operationsInterfaces/index.ts +0 -12
  369. package/src/operationsInterfaces/offerings.ts +0 -24
  370. package/src/operationsInterfaces/operations.ts +0 -22
  371. package/src/operationsInterfaces/workspace.ts +0 -28
  372. package/src/operationsInterfaces/workspaces.ts +0 -121
  373. package/src/pagingHelper.ts +0 -39
  374. package/tsconfig.json +0 -33
  375. /package/{dist-esm/src → dist/browser}/lroImpl.d.ts +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;;;AAIU,QAAA,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,UAAU;oBAChB,OAAO,EAAE;wBACP,IAAI,EAAE;4BACJ,IAAI,EAAE,WAAW;4BACjB,SAAS,EAAE,UAAU;yBACtB;qBACF;iBACF;aACF;YACD,MAAM,EAAE;gBACN,cAAc,EAAE,QAAQ;gBACxB,QAAQ,EAAE,IAAI;gBACd,IAAI,EAAE;oBACJ,IAA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AAc,EAAE,MAAM;gBACtB,IAAI,EAAE;oBACJ,IAAI,EAAE,UAAU;oBAChB,OAAO,EAAE;wBACP,YAAY,EAAE,SAAS;wBACvB,IAAI,EAAE;4BACJ,IAAI,EAAE,QAAQ;yBACf;qBACF;iBACF;aACF;SACF;KACF;CACF,CAAC;AAEW,QAAA,eAAe,GAA+B;IACzD,IAAI,EAAE;QACJ,IAAI,EAAE,WAAW;QACjB,SAAS,EAAE,iBAAiB;QAC5B,eAAe,EAAE;YACf,GAAG,gBAAQ,CAAC,IAAI,CAAC,eAAe;YAChC,IAAI,EAAE;gBACJ,cAAc,EAAE,MAAM;gBACtB,IAAI,EAAE;oBACJ,IAAI,EAAE,YAAY;oBAClB,KAAK,EAAE,EAAE,IAAI,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE,EAAE;iBACpC;aACF;YACD,QAAQ,EAAE;gBACR,cAAc,EAAE,UAAU;gBAC1B,QAAQ,EAAE,IAAI;gBACd,IAAI,EAAE;oBACJ,IAAI,EAAE,QAAQ;iBACf;aACF;SACF;KACF;CACF,CAAC;AAEW,QAAA,gBAAgB,GAA+B;IAC1D,IAAI,EAAE;QACJ,IAAI,EAAE,WAAW;QACjB,SAAS,EAAE,kBAAkB;QAC7B,eAAe,EAAE;YACf,GAAG,uBAAe,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,130 @@
1
+ "use strict";
2
+ /*
3
+ * Copyright (c) Microsoft Corporation.
4
+ * Licensed under the MIT License.
5
+ *
6
+ * Code generated by Microsoft (R) AutoRest Code Generator.
7
+ * Changes may cause incorrect behavior and will be lost if the code is regenerated.
8
+ */
9
+ Object.defineProperty(exports, "__esModule", { value: true });
10
+ exports.keySpecification = exports.checkNameAvailabilityParameters = exports.locationName = exports.nextLink = exports.workspaceTags = exports.quantumWorkspace = exports.contentType = exports.workspaceName = exports.subscriptionId = exports.apiVersion = exports.resourceGroupName = exports.$host = exports.accept = void 0;
11
+ const mappers_js_1 = require("../models/mappers.js");
12
+ exports.accept = {
13
+ parameterPath: "accept",
14
+ mapper: {
15
+ defaultValue: "application/json",
16
+ isConstant: true,
17
+ serializedName: "Accept",
18
+ type: {
19
+ name: "String",
20
+ },
21
+ },
22
+ };
23
+ exports.$host = {
24
+ parameterPath: "$host",
25
+ mapper: {
26
+ serializedName: "$host",
27
+ required: true,
28
+ type: {
29
+ name: "String",
30
+ },
31
+ },
32
+ skipEncoding: true,
33
+ };
34
+ exports.resourceGroupName = {
35
+ parameterPath: "resourceGroupName",
36
+ mapper: {
37
+ constraints: {
38
+ MaxLength: 90,
39
+ MinLength: 1,
40
+ },
41
+ serializedName: "resourceGroupName",
42
+ required: true,
43
+ type: {
44
+ name: "String",
45
+ },
46
+ },
47
+ };
48
+ exports.apiVersion = {
49
+ parameterPath: "apiVersion",
50
+ mapper: {
51
+ defaultValue: "2023-11-13-preview",
52
+ isConstant: true,
53
+ serializedName: "api-version",
54
+ type: {
55
+ name: "String",
56
+ },
57
+ },
58
+ };
59
+ exports.subscriptionId = {
60
+ parameterPath: "subscriptionId",
61
+ mapper: {
62
+ serializedName: "subscriptionId",
63
+ required: true,
64
+ type: {
65
+ name: "Uuid",
66
+ },
67
+ },
68
+ };
69
+ exports.workspaceName = {
70
+ parameterPath: "workspaceName",
71
+ mapper: {
72
+ constraints: {
73
+ Pattern: new RegExp("^[a-zA-Z0-9]+(-*[a-zA-Z0-9])*$"),
74
+ },
75
+ serializedName: "workspaceName",
76
+ required: true,
77
+ type: {
78
+ name: "String",
79
+ },
80
+ },
81
+ };
82
+ exports.contentType = {
83
+ parameterPath: ["options", "contentType"],
84
+ mapper: {
85
+ defaultValue: "application/json",
86
+ isConstant: true,
87
+ serializedName: "Content-Type",
88
+ type: {
89
+ name: "String",
90
+ },
91
+ },
92
+ };
93
+ exports.quantumWorkspace = {
94
+ parameterPath: "quantumWorkspace",
95
+ mapper: mappers_js_1.QuantumWorkspace,
96
+ };
97
+ exports.workspaceTags = {
98
+ parameterPath: "workspaceTags",
99
+ mapper: mappers_js_1.TagsObject,
100
+ };
101
+ exports.nextLink = {
102
+ parameterPath: "nextLink",
103
+ mapper: {
104
+ serializedName: "nextLink",
105
+ required: true,
106
+ type: {
107
+ name: "String",
108
+ },
109
+ },
110
+ skipEncoding: true,
111
+ };
112
+ exports.locationName = {
113
+ parameterPath: "locationName",
114
+ mapper: {
115
+ serializedName: "locationName",
116
+ required: true,
117
+ type: {
118
+ name: "String",
119
+ },
120
+ },
121
+ };
122
+ exports.checkNameAvailabilityParameters = {
123
+ parameterPath: "checkNameAvailabilityParameters",
124
+ mapper: mappers_js_1.CheckNameAvailabilityParameters,
125
+ };
126
+ exports.keySpecification = {
127
+ parameterPath: "keySpecification",
128
+ mapper: mappers_js_1.APIKeys,
129
+ };
130
+ //# sourceMappingURL=parameters.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"parameters.js","sourceRoot":"","sources":["../../../src/models/parameters.ts"],"names":[],"mappings":";AAAA;;;;;;GAMG;;;AAOH,qDAK8B;AAEjB,QAAA,MAAM,GAAuB;IACxC,aAAa,EAAE,QAAQ;IACvB,MAAM,EAAE;QACN,YAAY,EAAE,kBAAkB;QAChC,UAAU,EAAE,IAAI;QAChB,cAAc,EAAE,QAAQ;QACxB,IAAI,EAAE;YACJ,IAAI,EAAE,QAAQ;SACf;KACF;CACF,CAAC;AAEW,QAAA,KAAK,GAA0B;IAC1C,aAAa,EAAE,OAAO;IACtB,MAAM,EAAE;QACN,cAAc,EAAE,OAAO;QACvB,QAAQ,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AAA,gBAAgB,GAAuB;IAClD,aAAa,EAAE,kBAAkB;IACjC,MAAM,EAAE,6BAAsB;CAC/B,CAAC;AAEW,QAAA,aAAa,GAAuB;IAC/C,aAAa,EAAE,eAAe;IAC9B,MAAM,EAAE,uBAAgB;CACzB,CAAC;AAEW,QAAA,QAAQ,GAA0B;IAC7C,aAAa,EAAE,UAAU;IACzB,MAAM,EAAE;QACN,cAAc,EAAE,UAAU;QAC1B,QAAQ,EAAE,IAAI;QACd,IAAI,EAAE;YACJ,IAAI,EAAE,QAAQ;SACf;KACF;IACD,YAAY,EAAE,IAAI;CACnB,CAAC;AAEW,QAAA,YAAY,GAA0B;IACjD,aAAa,EAAE,cAAc;IAC7B,MAAM,EAAE;QACN,cAAc,EAAE,cAAc;QAC9B,QAAQ,EAAE,IAAI;QACd,IAAI,EAAE;YACJ,IAAI,EAAE,QAAQ;SACf;KACF;CACF,CAAC;AAEW,QAAA,+BAA+B,GAAuB;IACjE,aAAa,EAAE,iCAAiC;IAChD,MAAM,EAAE,4CAAqC;CAC9C,CAAC;AAEW,QAAA,gBAAgB,GAAuB;IAClD,aAAa,EAAE,kBAAkB;IACjC,MAAM,EAAE,oBAAa;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,15 @@
1
+ "use strict";
2
+ /*
3
+ * Copyright (c) Microsoft Corporation.
4
+ * Licensed under the MIT License.
5
+ *
6
+ * Code generated by Microsoft (R) AutoRest Code Generator.
7
+ * Changes may cause incorrect behavior and will be lost if the code is regenerated.
8
+ */
9
+ Object.defineProperty(exports, "__esModule", { value: true });
10
+ const tslib_1 = require("tslib");
11
+ tslib_1.__exportStar(require("./workspaces.js"), exports);
12
+ tslib_1.__exportStar(require("./offerings.js"), exports);
13
+ tslib_1.__exportStar(require("./operations.js"), exports);
14
+ tslib_1.__exportStar(require("./workspace.js"), exports);
15
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/operations/index.ts"],"names":[],"mappings":";AAAA;;;;;;GAMG;;;AAEH,0DAAgC;AAChC,yDAA+B;AAC/B,0DAAgC;AAChC,yDAA+B","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,133 @@
1
+ "use strict";
2
+ /*
3
+ * Copyright (c) Microsoft Corporation.
4
+ * Licensed under the MIT License.
5
+ *
6
+ * Code generated by Microsoft (R) AutoRest Code Generator.
7
+ * Changes may cause incorrect behavior and will be lost if the code is regenerated.
8
+ */
9
+ Object.defineProperty(exports, "__esModule", { value: true });
10
+ exports.OfferingsImpl = void 0;
11
+ const tslib_1 = require("tslib");
12
+ const pagingHelper_js_1 = require("../pagingHelper.js");
13
+ const coreClient = tslib_1.__importStar(require("@azure/core-client"));
14
+ const Mappers = tslib_1.__importStar(require("../models/mappers.js"));
15
+ const Parameters = tslib_1.__importStar(require("../models/parameters.js"));
16
+ /// <reference lib="esnext.asynciterable" />
17
+ /** Class containing Offerings operations. */
18
+ class OfferingsImpl {
19
+ client;
20
+ /**
21
+ * Initialize a new instance of the class Offerings class.
22
+ * @param client Reference to the service client
23
+ */
24
+ constructor(client) {
25
+ this.client = client;
26
+ }
27
+ /**
28
+ * Returns the list of all provider offerings available for the given location.
29
+ * @param locationName Location.
30
+ * @param options The options parameters.
31
+ */
32
+ list(locationName, options) {
33
+ const iter = this.listPagingAll(locationName, options);
34
+ return {
35
+ next() {
36
+ return iter.next();
37
+ },
38
+ [Symbol.asyncIterator]() {
39
+ return this;
40
+ },
41
+ byPage: (settings) => {
42
+ if (settings?.maxPageSize) {
43
+ throw new Error("maxPageSize is not supported by this operation.");
44
+ }
45
+ return this.listPagingPage(locationName, options, settings);
46
+ },
47
+ };
48
+ }
49
+ async *listPagingPage(locationName, options, settings) {
50
+ let result;
51
+ let continuationToken = settings?.continuationToken;
52
+ if (!continuationToken) {
53
+ result = await this._list(locationName, options);
54
+ let page = result.value || [];
55
+ continuationToken = result.nextLink;
56
+ (0, pagingHelper_js_1.setContinuationToken)(page, continuationToken);
57
+ yield page;
58
+ }
59
+ while (continuationToken) {
60
+ result = await this._listNext(locationName, continuationToken, options);
61
+ continuationToken = result.nextLink;
62
+ let page = result.value || [];
63
+ (0, pagingHelper_js_1.setContinuationToken)(page, continuationToken);
64
+ yield page;
65
+ }
66
+ }
67
+ async *listPagingAll(locationName, options) {
68
+ for await (const page of this.listPagingPage(locationName, options)) {
69
+ yield* page;
70
+ }
71
+ }
72
+ /**
73
+ * Returns the list of all provider offerings available for the given location.
74
+ * @param locationName Location.
75
+ * @param options The options parameters.
76
+ */
77
+ _list(locationName, options) {
78
+ return this.client.sendOperationRequest({ locationName, options }, listOperationSpec);
79
+ }
80
+ /**
81
+ * ListNext
82
+ * @param locationName Location.
83
+ * @param nextLink The nextLink from the previous successful call to the List method.
84
+ * @param options The options parameters.
85
+ */
86
+ _listNext(locationName, nextLink, options) {
87
+ return this.client.sendOperationRequest({ locationName, nextLink, options }, listNextOperationSpec);
88
+ }
89
+ }
90
+ exports.OfferingsImpl = OfferingsImpl;
91
+ // Operation Specifications
92
+ const serializer = coreClient.createSerializer(Mappers, /* isXml */ false);
93
+ const listOperationSpec = {
94
+ path: "/subscriptions/{subscriptionId}/providers/Microsoft.Quantum/locations/{locationName}/offerings",
95
+ httpMethod: "GET",
96
+ responses: {
97
+ 200: {
98
+ bodyMapper: Mappers.OfferingsListResult,
99
+ },
100
+ default: {
101
+ bodyMapper: Mappers.ErrorResponse,
102
+ },
103
+ },
104
+ queryParameters: [Parameters.apiVersion],
105
+ urlParameters: [
106
+ Parameters.$host,
107
+ Parameters.subscriptionId,
108
+ Parameters.locationName,
109
+ ],
110
+ headerParameters: [Parameters.accept],
111
+ serializer,
112
+ };
113
+ const listNextOperationSpec = {
114
+ path: "{nextLink}",
115
+ httpMethod: "GET",
116
+ responses: {
117
+ 200: {
118
+ bodyMapper: Mappers.OfferingsListResult,
119
+ },
120
+ default: {
121
+ bodyMapper: Mappers.ErrorResponse,
122
+ },
123
+ },
124
+ urlParameters: [
125
+ Parameters.$host,
126
+ Parameters.subscriptionId,
127
+ Parameters.nextLink,
128
+ Parameters.locationName,
129
+ ],
130
+ headerParameters: [Parameters.accept],
131
+ serializer,
132
+ };
133
+ //# sourceMappingURL=offerings.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"offerings.js","sourceRoot":"","sources":["../../../src/operations/offerings.ts"],"names":[],"mappings":";AAAA;;;;;;GAMG;;;;AAGH,wDAA0D;AAE1D,uEAAiD;AACjD,sEAAgD;AAChD,4EAAsD;AAUtD,4CAA4C;AAC5C,6CAA6C;AAC7C,MAAa,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,CAAC;QACvD,OAAO;YACL,IAAI;gBACF,OAAO,IAAI,CAAC,IAAI,EAAE,CAAC;YACrB,CAAC;YACD,CAAC,MAAM,CAAC,aAAa,CAAC;gBACpB,OAAO,IAAI,CAAC;YACd,CAAC;YACD,MAAM,EAAE,CAAC,QAAuB,EAAE,EAAE;gBAClC,IAAI,QAAQ,EAAE,WAAW,EAAE,CAAC;oBAC1B,MAAM,IAAI,KAAK,CAAC,iDAAiD,CAAC,CAAC;gBACrE,CAAC;gBACD,OAAO,IAAI,CAAC,cAAc,CAAC,YAAY,EAAE,OAAO,EAAE,QAAQ,CAAC,CAAC;YAC9D,CAAC;SACF,CAAC;IACJ,CAAC;IAEO,KAAK,CAAC,CAAC,cAAc,CAC3B,YAAoB,EACpB,OAAqC,EACrC,QAAuB;QAEvB,IAAI,MAA6B,CAAC;QAClC,IAAI,iBAAiB,GAAG,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ACnC,qBAAqB,CACtB,CAAC;IACJ,CAAC;CACF;AApGD,sCAoGC;AACD,2BAA2B;AAC3B,MAAM,UAAU,GAAG,UAAU,CAAC,gBAAgB,CAAC,OAAO,EAAE,WAAW,CAAC,KAAK,CAAC,CAAC;AAE3E,MAAM,iBAAiB,GAA6B;IAClD,IAAI,EAAE,gGAAgG;IACtG,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,eAAe,EAAE,CAAC,UAAU,CAAC,UAAU,CAAC;IACxC,aAAa,EAAE;QACb,UAAU,CAAC,KAAK;QAChB,UAAU,CAAC,cAAc;QACzB,UAAU,CAAC,YAAY;KACxB;IACD,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC;AACF,MAAM,qBAAqB,GAA6B;IACtD,IAAI,EAAE,YAAY;IAClB,UAAU,EAAE,KAAK;IACjB,SAAS,EAAE;QACT,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,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,121 @@
1
+ "use strict";
2
+ /*
3
+ * Copyright (c) Microsoft Corporation.
4
+ * Licensed under the MIT License.
5
+ *
6
+ * Code generated by Microsoft (R) AutoRest Code Generator.
7
+ * Changes may cause incorrect behavior and will be lost if the code is regenerated.
8
+ */
9
+ Object.defineProperty(exports, "__esModule", { value: true });
10
+ exports.OperationsImpl = void 0;
11
+ const tslib_1 = require("tslib");
12
+ const pagingHelper_js_1 = require("../pagingHelper.js");
13
+ const coreClient = tslib_1.__importStar(require("@azure/core-client"));
14
+ const Mappers = tslib_1.__importStar(require("../models/mappers.js"));
15
+ const Parameters = tslib_1.__importStar(require("../models/parameters.js"));
16
+ /// <reference lib="esnext.asynciterable" />
17
+ /** Class containing Operations operations. */
18
+ class OperationsImpl {
19
+ client;
20
+ /**
21
+ * Initialize a new instance of the class Operations class.
22
+ * @param client Reference to the service client
23
+ */
24
+ constructor(client) {
25
+ this.client = client;
26
+ }
27
+ /**
28
+ * Returns list of operations.
29
+ * @param options The options parameters.
30
+ */
31
+ list(options) {
32
+ const iter = this.listPagingAll(options);
33
+ return {
34
+ next() {
35
+ return iter.next();
36
+ },
37
+ [Symbol.asyncIterator]() {
38
+ return this;
39
+ },
40
+ byPage: (settings) => {
41
+ if (settings?.maxPageSize) {
42
+ throw new Error("maxPageSize is not supported by this operation.");
43
+ }
44
+ return this.listPagingPage(options, settings);
45
+ },
46
+ };
47
+ }
48
+ async *listPagingPage(options, settings) {
49
+ let result;
50
+ let continuationToken = settings?.continuationToken;
51
+ if (!continuationToken) {
52
+ result = await this._list(options);
53
+ let page = result.value || [];
54
+ continuationToken = result.nextLink;
55
+ (0, pagingHelper_js_1.setContinuationToken)(page, continuationToken);
56
+ yield page;
57
+ }
58
+ while (continuationToken) {
59
+ result = await this._listNext(continuationToken, options);
60
+ continuationToken = result.nextLink;
61
+ let page = result.value || [];
62
+ (0, pagingHelper_js_1.setContinuationToken)(page, continuationToken);
63
+ yield page;
64
+ }
65
+ }
66
+ async *listPagingAll(options) {
67
+ for await (const page of this.listPagingPage(options)) {
68
+ yield* page;
69
+ }
70
+ }
71
+ /**
72
+ * Returns list of operations.
73
+ * @param options The options parameters.
74
+ */
75
+ _list(options) {
76
+ return this.client.sendOperationRequest({ options }, listOperationSpec);
77
+ }
78
+ /**
79
+ * ListNext
80
+ * @param nextLink The nextLink from the previous successful call to the List method.
81
+ * @param options The options parameters.
82
+ */
83
+ _listNext(nextLink, options) {
84
+ return this.client.sendOperationRequest({ nextLink, options }, listNextOperationSpec);
85
+ }
86
+ }
87
+ exports.OperationsImpl = OperationsImpl;
88
+ // Operation Specifications
89
+ const serializer = coreClient.createSerializer(Mappers, /* isXml */ false);
90
+ const listOperationSpec = {
91
+ path: "/providers/Microsoft.Quantum/operations",
92
+ httpMethod: "GET",
93
+ responses: {
94
+ 200: {
95
+ bodyMapper: Mappers.OperationsList,
96
+ },
97
+ default: {
98
+ bodyMapper: Mappers.ErrorResponse,
99
+ },
100
+ },
101
+ queryParameters: [Parameters.apiVersion],
102
+ urlParameters: [Parameters.$host],
103
+ headerParameters: [Parameters.accept],
104
+ serializer,
105
+ };
106
+ const listNextOperationSpec = {
107
+ path: "{nextLink}",
108
+ httpMethod: "GET",
109
+ responses: {
110
+ 200: {
111
+ bodyMapper: Mappers.OperationsList,
112
+ },
113
+ default: {
114
+ bodyMapper: Mappers.ErrorResponse,
115
+ },
116
+ },
117
+ urlParameters: [Parameters.$host, Parameters.nextLink],
118
+ headerParameters: [Parameters.accept],
119
+ serializer,
120
+ };
121
+ //# sourceMappingURL=operations.js.map