@azure/quantum-jobs 1.0.0-beta.1 → 1.0.0-beta.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (301) hide show
  1. package/{LICENSE.txt → LICENSE} +4 -4
  2. package/README.md +247 -98
  3. package/dist/browser/index.d.ts +4 -0
  4. package/dist/browser/index.d.ts.map +1 -0
  5. package/dist/browser/index.js +11 -0
  6. package/dist/browser/index.js.map +1 -0
  7. package/dist/browser/models/index.d.ts +320 -0
  8. package/dist/browser/models/index.d.ts.map +1 -0
  9. package/dist/browser/models/index.js +58 -0
  10. package/dist/browser/models/index.js.map +1 -0
  11. package/dist/browser/models/mappers.d.ts +13 -0
  12. package/dist/browser/models/mappers.d.ts.map +1 -0
  13. package/{dist-esm/src → dist/browser}/models/mappers.js +141 -140
  14. package/dist/browser/models/mappers.js.map +1 -0
  15. package/dist/browser/models/parameters.d.ts +12 -0
  16. package/dist/browser/models/parameters.d.ts.map +1 -0
  17. package/{dist-esm/src → dist/browser}/models/parameters.js +37 -37
  18. package/dist/browser/models/parameters.js.map +1 -0
  19. package/dist/browser/operations/index.d.ts +5 -0
  20. package/dist/browser/operations/index.d.ts.map +1 -0
  21. package/dist/browser/operations/index.js +12 -0
  22. package/dist/browser/operations/index.js.map +1 -0
  23. package/dist/browser/operations/jobs.d.ts +51 -0
  24. package/dist/browser/operations/jobs.d.ts.map +1 -0
  25. package/dist/browser/operations/jobs.js +209 -0
  26. package/dist/browser/operations/jobs.js.map +1 -0
  27. package/dist/browser/operations/providers.d.ts +32 -0
  28. package/dist/browser/operations/providers.d.ts.map +1 -0
  29. package/dist/browser/operations/providers.js +118 -0
  30. package/dist/browser/operations/providers.js.map +1 -0
  31. package/dist/browser/operations/quotas.d.ts +32 -0
  32. package/dist/browser/operations/quotas.d.ts.map +1 -0
  33. package/dist/browser/operations/quotas.js +118 -0
  34. package/dist/browser/operations/quotas.js.map +1 -0
  35. package/dist/browser/operations/storage.d.ts +20 -0
  36. package/dist/browser/operations/storage.d.ts.map +1 -0
  37. package/{dist-esm/src → dist/browser}/operations/storage.js +33 -35
  38. package/dist/browser/operations/storage.js.map +1 -0
  39. package/dist/browser/operationsInterfaces/index.d.ts +5 -0
  40. package/dist/browser/operationsInterfaces/index.d.ts.map +1 -0
  41. package/dist/browser/operationsInterfaces/index.js +12 -0
  42. package/dist/browser/operationsInterfaces/index.js.map +1 -0
  43. package/dist/browser/operationsInterfaces/jobs.d.ts +30 -0
  44. package/dist/browser/operationsInterfaces/jobs.d.ts.map +1 -0
  45. package/{dist-esm/src/models/index.js → dist/browser/operationsInterfaces/jobs.js} +1 -1
  46. package/dist/browser/operationsInterfaces/jobs.js.map +1 -0
  47. package/dist/browser/operationsInterfaces/providers.d.ts +11 -0
  48. package/dist/browser/operationsInterfaces/providers.d.ts.map +1 -0
  49. package/{dist-esm/src/operations/index.js → dist/browser/operationsInterfaces/providers.js} +2 -5
  50. package/dist/browser/operationsInterfaces/providers.js.map +1 -0
  51. package/dist/browser/operationsInterfaces/quotas.d.ts +11 -0
  52. package/dist/browser/operationsInterfaces/quotas.d.ts.map +1 -0
  53. package/dist/browser/operationsInterfaces/quotas.js +9 -0
  54. package/dist/browser/operationsInterfaces/quotas.js.map +1 -0
  55. package/dist/browser/operationsInterfaces/storage.d.ts +12 -0
  56. package/dist/browser/operationsInterfaces/storage.d.ts.map +1 -0
  57. package/dist/browser/operationsInterfaces/storage.js +9 -0
  58. package/dist/browser/operationsInterfaces/storage.js.map +1 -0
  59. package/dist/browser/package.json +3 -0
  60. package/dist/browser/pagingHelper.d.ts +13 -0
  61. package/dist/browser/pagingHelper.d.ts.map +1 -0
  62. package/dist/browser/pagingHelper.js +30 -0
  63. package/dist/browser/pagingHelper.js.map +1 -0
  64. package/dist/browser/quantumJobClient.d.ts +25 -0
  65. package/dist/browser/quantumJobClient.d.ts.map +1 -0
  66. package/dist/browser/quantumJobClient.js +93 -0
  67. package/dist/browser/quantumJobClient.js.map +1 -0
  68. package/dist/browser/tracing.d.ts +2 -0
  69. package/dist/browser/tracing.d.ts.map +1 -0
  70. package/dist/browser/tracing.js +14 -0
  71. package/dist/browser/tracing.js.map +1 -0
  72. package/dist/commonjs/index.d.ts +4 -0
  73. package/dist/commonjs/index.d.ts.map +1 -0
  74. package/dist/commonjs/index.js +16 -0
  75. package/dist/commonjs/index.js.map +1 -0
  76. package/dist/commonjs/models/index.d.ts +320 -0
  77. package/dist/commonjs/models/index.d.ts.map +1 -0
  78. package/dist/commonjs/models/index.js +61 -0
  79. package/dist/commonjs/models/index.js.map +1 -0
  80. package/dist/commonjs/models/mappers.d.ts +13 -0
  81. package/dist/commonjs/models/mappers.d.ts.map +1 -0
  82. package/dist/commonjs/models/mappers.js +414 -0
  83. package/dist/commonjs/models/mappers.js.map +1 -0
  84. package/dist/commonjs/models/parameters.d.ts +12 -0
  85. package/dist/commonjs/models/parameters.d.ts.map +1 -0
  86. package/dist/commonjs/models/parameters.js +104 -0
  87. package/dist/commonjs/models/parameters.js.map +1 -0
  88. package/dist/commonjs/operations/index.d.ts +5 -0
  89. package/dist/commonjs/operations/index.d.ts.map +1 -0
  90. package/dist/commonjs/operations/index.js +15 -0
  91. package/dist/commonjs/operations/index.js.map +1 -0
  92. package/dist/commonjs/operations/jobs.d.ts +51 -0
  93. package/dist/commonjs/operations/jobs.d.ts.map +1 -0
  94. package/dist/commonjs/operations/jobs.js +214 -0
  95. package/dist/commonjs/operations/jobs.js.map +1 -0
  96. package/dist/commonjs/operations/providers.d.ts +32 -0
  97. package/dist/commonjs/operations/providers.d.ts.map +1 -0
  98. package/dist/commonjs/operations/providers.js +123 -0
  99. package/dist/commonjs/operations/providers.js.map +1 -0
  100. package/dist/commonjs/operations/quotas.d.ts +32 -0
  101. package/dist/commonjs/operations/quotas.d.ts.map +1 -0
  102. package/dist/commonjs/operations/quotas.js +123 -0
  103. package/dist/commonjs/operations/quotas.js.map +1 -0
  104. package/dist/commonjs/operations/storage.d.ts +20 -0
  105. package/dist/commonjs/operations/storage.d.ts.map +1 -0
  106. package/dist/commonjs/operations/storage.js +63 -0
  107. package/dist/commonjs/operations/storage.js.map +1 -0
  108. package/dist/commonjs/operationsInterfaces/index.d.ts +5 -0
  109. package/dist/commonjs/operationsInterfaces/index.d.ts.map +1 -0
  110. package/dist/commonjs/operationsInterfaces/index.js +15 -0
  111. package/dist/commonjs/operationsInterfaces/index.js.map +1 -0
  112. package/dist/commonjs/operationsInterfaces/jobs.d.ts +30 -0
  113. package/dist/commonjs/operationsInterfaces/jobs.d.ts.map +1 -0
  114. package/dist/commonjs/operationsInterfaces/jobs.js +10 -0
  115. package/dist/commonjs/operationsInterfaces/jobs.js.map +1 -0
  116. package/dist/commonjs/operationsInterfaces/providers.d.ts +11 -0
  117. package/dist/commonjs/operationsInterfaces/providers.d.ts.map +1 -0
  118. package/dist/commonjs/operationsInterfaces/providers.js +10 -0
  119. package/dist/commonjs/operationsInterfaces/providers.js.map +1 -0
  120. package/dist/commonjs/operationsInterfaces/quotas.d.ts +11 -0
  121. package/dist/commonjs/operationsInterfaces/quotas.d.ts.map +1 -0
  122. package/dist/commonjs/operationsInterfaces/quotas.js +10 -0
  123. package/dist/commonjs/operationsInterfaces/quotas.js.map +1 -0
  124. package/dist/commonjs/operationsInterfaces/storage.d.ts +12 -0
  125. package/dist/commonjs/operationsInterfaces/storage.d.ts.map +1 -0
  126. package/dist/commonjs/operationsInterfaces/storage.js +10 -0
  127. package/dist/commonjs/operationsInterfaces/storage.js.map +1 -0
  128. package/dist/commonjs/package.json +3 -0
  129. package/dist/commonjs/pagingHelper.d.ts +13 -0
  130. package/dist/commonjs/pagingHelper.d.ts.map +1 -0
  131. package/dist/commonjs/pagingHelper.js +34 -0
  132. package/dist/commonjs/pagingHelper.js.map +1 -0
  133. package/dist/commonjs/quantumJobClient.d.ts +25 -0
  134. package/dist/commonjs/quantumJobClient.d.ts.map +1 -0
  135. package/dist/commonjs/quantumJobClient.js +98 -0
  136. package/dist/commonjs/quantumJobClient.js.map +1 -0
  137. package/dist/commonjs/tracing.d.ts +2 -0
  138. package/dist/commonjs/tracing.d.ts.map +1 -0
  139. package/dist/commonjs/tracing.js +17 -0
  140. package/dist/commonjs/tracing.js.map +1 -0
  141. package/dist/commonjs/tsdoc-metadata.json +11 -0
  142. package/dist/esm/index.d.ts +4 -0
  143. package/dist/esm/index.d.ts.map +1 -0
  144. package/dist/esm/index.js +11 -0
  145. package/dist/esm/index.js.map +1 -0
  146. package/dist/esm/models/index.d.ts +320 -0
  147. package/dist/esm/models/index.d.ts.map +1 -0
  148. package/dist/esm/models/index.js +58 -0
  149. package/dist/esm/models/index.js.map +1 -0
  150. package/dist/esm/models/mappers.d.ts +13 -0
  151. package/dist/esm/models/mappers.d.ts.map +1 -0
  152. package/dist/esm/models/mappers.js +411 -0
  153. package/dist/esm/models/mappers.js.map +1 -0
  154. package/dist/esm/models/parameters.d.ts +12 -0
  155. package/dist/esm/models/parameters.d.ts.map +1 -0
  156. package/dist/esm/models/parameters.js +101 -0
  157. package/dist/esm/models/parameters.js.map +1 -0
  158. package/dist/esm/operations/index.d.ts +5 -0
  159. package/dist/esm/operations/index.d.ts.map +1 -0
  160. package/dist/esm/operations/index.js +12 -0
  161. package/dist/esm/operations/index.js.map +1 -0
  162. package/dist/esm/operations/jobs.d.ts +51 -0
  163. package/dist/esm/operations/jobs.d.ts.map +1 -0
  164. package/dist/esm/operations/jobs.js +209 -0
  165. package/dist/esm/operations/jobs.js.map +1 -0
  166. package/dist/esm/operations/providers.d.ts +32 -0
  167. package/dist/esm/operations/providers.d.ts.map +1 -0
  168. package/dist/esm/operations/providers.js +118 -0
  169. package/dist/esm/operations/providers.js.map +1 -0
  170. package/dist/esm/operations/quotas.d.ts +32 -0
  171. package/dist/esm/operations/quotas.d.ts.map +1 -0
  172. package/dist/esm/operations/quotas.js +118 -0
  173. package/dist/esm/operations/quotas.js.map +1 -0
  174. package/dist/esm/operations/storage.d.ts +20 -0
  175. package/dist/esm/operations/storage.d.ts.map +1 -0
  176. package/dist/esm/operations/storage.js +58 -0
  177. package/dist/esm/operations/storage.js.map +1 -0
  178. package/dist/esm/operationsInterfaces/index.d.ts +5 -0
  179. package/dist/esm/operationsInterfaces/index.d.ts.map +1 -0
  180. package/dist/esm/operationsInterfaces/index.js +12 -0
  181. package/dist/esm/operationsInterfaces/index.js.map +1 -0
  182. package/dist/esm/operationsInterfaces/jobs.d.ts +30 -0
  183. package/dist/esm/operationsInterfaces/jobs.d.ts.map +1 -0
  184. package/dist/esm/operationsInterfaces/jobs.js +9 -0
  185. package/dist/esm/operationsInterfaces/jobs.js.map +1 -0
  186. package/dist/esm/operationsInterfaces/providers.d.ts +11 -0
  187. package/dist/esm/operationsInterfaces/providers.d.ts.map +1 -0
  188. package/dist/esm/operationsInterfaces/providers.js +9 -0
  189. package/dist/esm/operationsInterfaces/providers.js.map +1 -0
  190. package/dist/esm/operationsInterfaces/quotas.d.ts +11 -0
  191. package/dist/esm/operationsInterfaces/quotas.d.ts.map +1 -0
  192. package/dist/esm/operationsInterfaces/quotas.js +9 -0
  193. package/dist/esm/operationsInterfaces/quotas.js.map +1 -0
  194. package/dist/esm/operationsInterfaces/storage.d.ts +12 -0
  195. package/dist/esm/operationsInterfaces/storage.d.ts.map +1 -0
  196. package/dist/esm/operationsInterfaces/storage.js +9 -0
  197. package/dist/esm/operationsInterfaces/storage.js.map +1 -0
  198. package/dist/esm/package.json +3 -0
  199. package/dist/esm/pagingHelper.d.ts +13 -0
  200. package/dist/esm/pagingHelper.d.ts.map +1 -0
  201. package/dist/esm/pagingHelper.js +30 -0
  202. package/dist/esm/pagingHelper.js.map +1 -0
  203. package/dist/esm/quantumJobClient.d.ts +25 -0
  204. package/dist/esm/quantumJobClient.d.ts.map +1 -0
  205. package/dist/esm/quantumJobClient.js +93 -0
  206. package/dist/esm/quantumJobClient.js.map +1 -0
  207. package/dist/esm/tracing.d.ts +2 -0
  208. package/dist/esm/tracing.d.ts.map +1 -0
  209. package/dist/esm/tracing.js +14 -0
  210. package/dist/esm/tracing.js.map +1 -0
  211. package/dist/react-native/index.d.ts +4 -0
  212. package/dist/react-native/index.d.ts.map +1 -0
  213. package/dist/react-native/index.js +11 -0
  214. package/dist/react-native/index.js.map +1 -0
  215. package/dist/react-native/models/index.d.ts +320 -0
  216. package/dist/react-native/models/index.d.ts.map +1 -0
  217. package/dist/react-native/models/index.js +58 -0
  218. package/dist/react-native/models/index.js.map +1 -0
  219. package/dist/react-native/models/mappers.d.ts +13 -0
  220. package/dist/react-native/models/mappers.d.ts.map +1 -0
  221. package/dist/react-native/models/mappers.js +411 -0
  222. package/dist/react-native/models/mappers.js.map +1 -0
  223. package/dist/react-native/models/parameters.d.ts +12 -0
  224. package/dist/react-native/models/parameters.d.ts.map +1 -0
  225. package/dist/react-native/models/parameters.js +101 -0
  226. package/dist/react-native/models/parameters.js.map +1 -0
  227. package/dist/react-native/operations/index.d.ts +5 -0
  228. package/dist/react-native/operations/index.d.ts.map +1 -0
  229. package/dist/react-native/operations/index.js +12 -0
  230. package/dist/react-native/operations/index.js.map +1 -0
  231. package/dist/react-native/operations/jobs.d.ts +51 -0
  232. package/dist/react-native/operations/jobs.d.ts.map +1 -0
  233. package/dist/react-native/operations/jobs.js +209 -0
  234. package/dist/react-native/operations/jobs.js.map +1 -0
  235. package/dist/react-native/operations/providers.d.ts +32 -0
  236. package/dist/react-native/operations/providers.d.ts.map +1 -0
  237. package/dist/react-native/operations/providers.js +118 -0
  238. package/dist/react-native/operations/providers.js.map +1 -0
  239. package/dist/react-native/operations/quotas.d.ts +32 -0
  240. package/dist/react-native/operations/quotas.d.ts.map +1 -0
  241. package/dist/react-native/operations/quotas.js +118 -0
  242. package/dist/react-native/operations/quotas.js.map +1 -0
  243. package/dist/react-native/operations/storage.d.ts +20 -0
  244. package/dist/react-native/operations/storage.d.ts.map +1 -0
  245. package/dist/react-native/operations/storage.js +58 -0
  246. package/dist/react-native/operations/storage.js.map +1 -0
  247. package/dist/react-native/operationsInterfaces/index.d.ts +5 -0
  248. package/dist/react-native/operationsInterfaces/index.d.ts.map +1 -0
  249. package/dist/react-native/operationsInterfaces/index.js +12 -0
  250. package/dist/react-native/operationsInterfaces/index.js.map +1 -0
  251. package/dist/react-native/operationsInterfaces/jobs.d.ts +30 -0
  252. package/dist/react-native/operationsInterfaces/jobs.d.ts.map +1 -0
  253. package/dist/react-native/operationsInterfaces/jobs.js +9 -0
  254. package/dist/react-native/operationsInterfaces/jobs.js.map +1 -0
  255. package/dist/react-native/operationsInterfaces/providers.d.ts +11 -0
  256. package/dist/react-native/operationsInterfaces/providers.d.ts.map +1 -0
  257. package/dist/react-native/operationsInterfaces/providers.js +9 -0
  258. package/dist/react-native/operationsInterfaces/providers.js.map +1 -0
  259. package/dist/react-native/operationsInterfaces/quotas.d.ts +11 -0
  260. package/dist/react-native/operationsInterfaces/quotas.d.ts.map +1 -0
  261. package/dist/react-native/operationsInterfaces/quotas.js +9 -0
  262. package/dist/react-native/operationsInterfaces/quotas.js.map +1 -0
  263. package/dist/react-native/operationsInterfaces/storage.d.ts +12 -0
  264. package/dist/react-native/operationsInterfaces/storage.d.ts.map +1 -0
  265. package/dist/react-native/operationsInterfaces/storage.js +9 -0
  266. package/dist/react-native/operationsInterfaces/storage.js.map +1 -0
  267. package/dist/react-native/package.json +3 -0
  268. package/dist/react-native/pagingHelper.d.ts +13 -0
  269. package/dist/react-native/pagingHelper.d.ts.map +1 -0
  270. package/dist/react-native/pagingHelper.js +30 -0
  271. package/dist/react-native/pagingHelper.js.map +1 -0
  272. package/dist/react-native/quantumJobClient.d.ts +25 -0
  273. package/dist/react-native/quantumJobClient.d.ts.map +1 -0
  274. package/dist/react-native/quantumJobClient.js +93 -0
  275. package/dist/react-native/quantumJobClient.js.map +1 -0
  276. package/dist/react-native/tracing.d.ts +2 -0
  277. package/dist/react-native/tracing.d.ts.map +1 -0
  278. package/dist/react-native/tracing.js +14 -0
  279. package/dist/react-native/tracing.js.map +1 -0
  280. package/package.json +90 -92
  281. package/CHANGELOG.md +0 -5
  282. package/dist/index.js +0 -1309
  283. package/dist/index.js.map +0 -1
  284. package/dist-esm/src/index.js +0 -13
  285. package/dist-esm/src/index.js.map +0 -1
  286. package/dist-esm/src/models/index.js.map +0 -1
  287. package/dist-esm/src/models/mappers.js.map +0 -1
  288. package/dist-esm/src/models/parameters.js.map +0 -1
  289. package/dist-esm/src/operations/index.js.map +0 -1
  290. package/dist-esm/src/operations/jobs.js +0 -280
  291. package/dist-esm/src/operations/jobs.js.map +0 -1
  292. package/dist-esm/src/operations/providers.js +0 -182
  293. package/dist-esm/src/operations/providers.js.map +0 -1
  294. package/dist-esm/src/operations/quotas.js +0 -182
  295. package/dist-esm/src/operations/quotas.js.map +0 -1
  296. package/dist-esm/src/operations/storage.js.map +0 -1
  297. package/dist-esm/src/quantumJobClient.js +0 -33
  298. package/dist-esm/src/quantumJobClient.js.map +0 -1
  299. package/dist-esm/src/quantumJobClientContext.js +0 -59
  300. package/dist-esm/src/quantumJobClientContext.js.map +0 -1
  301. package/types/latest/quantum-jobs.d.ts +0 -534
package/dist/index.js.map DELETED
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sources":["../src/models/mappers.ts","../src/models/parameters.ts","../src/operations/jobs.ts","../src/operations/providers.ts","../src/operations/storage.ts","../src/operations/quotas.ts","../src/quantumJobClientContext.ts","../src/quantumJobClient.ts"],"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 coreHttp from \"@azure/core-http\";\n\nexport const JobDetailsList: coreHttp.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"JobDetailsList\",\n modelProperties: {\n value: {\n serializedName: \"value\",\n readOnly: true,\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"Composite\",\n className: \"JobDetails\"\n }\n }\n }\n },\n count: {\n serializedName: \"count\",\n type: {\n name: \"Number\"\n }\n },\n nextLink: {\n serializedName: \"nextLink\",\n readOnly: true,\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const JobDetails: coreHttp.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"JobDetails\",\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 containerUri: {\n serializedName: \"containerUri\",\n required: true,\n type: {\n name: \"String\"\n }\n },\n inputDataUri: {\n serializedName: \"inputDataUri\",\n type: {\n name: \"String\"\n }\n },\n inputDataFormat: {\n serializedName: \"inputDataFormat\",\n required: true,\n type: {\n name: \"String\"\n }\n },\n inputParams: {\n serializedName: \"inputParams\",\n type: {\n name: \"any\"\n }\n },\n providerId: {\n serializedName: \"providerId\",\n required: true,\n type: {\n name: \"String\"\n }\n },\n target: {\n serializedName: \"target\",\n required: true,\n type: {\n name: \"String\"\n }\n },\n metadata: {\n serializedName: \"metadata\",\n type: {\n name: \"Dictionary\",\n value: { type: { name: \"String\" } }\n }\n },\n outputDataUri: {\n serializedName: \"outputDataUri\",\n type: {\n name: \"String\"\n }\n },\n outputDataFormat: {\n serializedName: \"outputDataFormat\",\n type: {\n name: \"String\"\n }\n },\n status: {\n serializedName: \"status\",\n readOnly: true,\n type: {\n name: \"String\"\n }\n },\n creationTime: {\n serializedName: \"creationTime\",\n readOnly: true,\n type: {\n name: \"DateTime\"\n }\n },\n beginExecutionTime: {\n serializedName: \"beginExecutionTime\",\n readOnly: true,\n type: {\n name: \"DateTime\"\n }\n },\n endExecutionTime: {\n serializedName: \"endExecutionTime\",\n readOnly: true,\n type: {\n name: \"DateTime\"\n }\n },\n cancellationTime: {\n serializedName: \"cancellationTime\",\n readOnly: true,\n type: {\n name: \"DateTime\"\n }\n },\n errorData: {\n serializedName: \"errorData\",\n type: {\n name: \"Composite\",\n className: \"ErrorData\"\n }\n }\n }\n }\n};\n\nexport const ErrorData: coreHttp.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"ErrorData\",\n modelProperties: {\n code: {\n serializedName: \"code\",\n type: {\n name: \"String\"\n }\n },\n message: {\n serializedName: \"message\",\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const RestError: coreHttp.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"RestError\",\n modelProperties: {\n error: {\n serializedName: \"error\",\n type: {\n name: \"Composite\",\n className: \"ErrorData\"\n }\n }\n }\n }\n};\n\nexport const ProviderStatusList: coreHttp.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"ProviderStatusList\",\n modelProperties: {\n value: {\n serializedName: \"value\",\n readOnly: true,\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"Composite\",\n className: \"ProviderStatus\"\n }\n }\n }\n },\n nextLink: {\n serializedName: \"nextLink\",\n readOnly: true,\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const ProviderStatus: coreHttp.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"ProviderStatus\",\n modelProperties: {\n id: {\n serializedName: \"id\",\n readOnly: true,\n type: {\n name: \"String\"\n }\n },\n currentAvailability: {\n serializedName: \"currentAvailability\",\n readOnly: true,\n type: {\n name: \"String\"\n }\n },\n targets: {\n serializedName: \"targets\",\n readOnly: true,\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"Composite\",\n className: \"TargetStatus\"\n }\n }\n }\n }\n }\n }\n};\n\nexport const TargetStatus: coreHttp.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"TargetStatus\",\n modelProperties: {\n id: {\n serializedName: \"id\",\n readOnly: true,\n type: {\n name: \"String\"\n }\n },\n currentAvailability: {\n serializedName: \"currentAvailability\",\n readOnly: true,\n type: {\n name: \"String\"\n }\n },\n averageQueueTime: {\n serializedName: \"averageQueueTime\",\n readOnly: true,\n type: {\n name: \"Number\"\n }\n },\n statusPage: {\n serializedName: \"statusPage\",\n readOnly: true,\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const BlobDetails: coreHttp.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"BlobDetails\",\n modelProperties: {\n containerName: {\n serializedName: \"containerName\",\n required: true,\n type: {\n name: \"String\"\n }\n },\n blobName: {\n serializedName: \"blobName\",\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const SasUriResponse: coreHttp.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"SasUriResponse\",\n modelProperties: {\n sasUri: {\n serializedName: \"sasUri\",\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const QuotaList: coreHttp.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"QuotaList\",\n modelProperties: {\n value: {\n serializedName: \"value\",\n readOnly: true,\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"Composite\",\n className: \"Quota\"\n }\n }\n }\n },\n nextLink: {\n serializedName: \"nextLink\",\n readOnly: true,\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const Quota: coreHttp.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"Quota\",\n modelProperties: {\n dimension: {\n serializedName: \"dimension\",\n type: {\n name: \"String\"\n }\n },\n scope: {\n serializedName: \"scope\",\n type: {\n name: \"String\"\n }\n },\n providerId: {\n serializedName: \"providerId\",\n type: {\n name: \"String\"\n }\n },\n utilization: {\n serializedName: \"utilization\",\n type: {\n name: \"Number\"\n }\n },\n holds: {\n serializedName: \"holds\",\n type: {\n name: \"Number\"\n }\n },\n limit: {\n serializedName: \"limit\",\n type: {\n name: \"Number\"\n }\n },\n period: {\n serializedName: \"period\",\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n","/*\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 { OperationParameter, OperationURLParameter } from \"@azure/core-http\";\nimport {\n JobDetails as JobDetailsMapper,\n BlobDetails as BlobDetailsMapper\n} from \"../models/mappers\";\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 subscriptionId: OperationURLParameter = {\n parameterPath: \"subscriptionId\",\n mapper: {\n serializedName: \"subscriptionId\",\n required: true,\n type: {\n name: \"String\"\n }\n }\n};\n\nexport const resourceGroupName: OperationURLParameter = {\n parameterPath: \"resourceGroupName\",\n mapper: {\n serializedName: \"resourceGroupName\",\n required: true,\n type: {\n name: \"String\"\n }\n }\n};\n\nexport const workspaceName: OperationURLParameter = {\n parameterPath: \"workspaceName\",\n mapper: {\n serializedName: \"workspaceName\",\n required: true,\n type: {\n name: \"String\"\n }\n }\n};\n\nexport const jobId: OperationURLParameter = {\n parameterPath: \"jobId\",\n mapper: {\n serializedName: \"jobId\",\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 job: OperationParameter = {\n parameterPath: \"job\",\n mapper: JobDetailsMapper\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 blobDetails: OperationParameter = {\n parameterPath: \"blobDetails\",\n mapper: BlobDetailsMapper\n};\n","/*\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 } from \"@azure/core-paging\";\nimport * as coreHttp from \"@azure/core-http\";\nimport * as Mappers from \"../models/mappers\";\nimport * as Parameters from \"../models/parameters\";\nimport { QuantumJobClient } from \"../quantumJobClient\";\nimport {\n JobDetails,\n JobsListResponse,\n JobsGetResponse,\n JobsCreateResponse,\n JobsListNextResponse\n} from \"../models\";\n\n/** Class representing a Jobs. */\nexport class Jobs {\n private readonly client: QuantumJobClient;\n\n /**\n * Initialize a new instance of the class Jobs class.\n * @param client Reference to the service client\n */\n constructor(client: QuantumJobClient) {\n this.client = client;\n }\n\n /**\n * List jobs.\n * @param options The options parameters.\n */\n public list(options?: coreHttp.OperationOptions): PagedAsyncIterableIterator<JobDetails> {\n const iter = this.listPagingAll(options);\n return {\n next() {\n return iter.next();\n },\n [Symbol.asyncIterator]() {\n return this;\n },\n byPage: () => {\n return this.listPagingPage(options);\n }\n };\n }\n\n private async *listPagingPage(\n options?: coreHttp.OperationOptions\n ): AsyncIterableIterator<JobDetails[]> {\n let result = await this._list(options);\n yield result.value || [];\n let continuationToken = result.nextLink;\n while (continuationToken) {\n result = await this._listNext(continuationToken, options);\n continuationToken = result.nextLink;\n yield result.value || [];\n }\n }\n\n private async *listPagingAll(\n options?: coreHttp.OperationOptions\n ): AsyncIterableIterator<JobDetails> {\n for await (const page of this.listPagingPage(options)) {\n yield* page;\n }\n }\n\n /**\n * List jobs.\n * @param options The options parameters.\n */\n private _list(options?: coreHttp.OperationOptions): Promise<JobsListResponse> {\n const operationArguments: coreHttp.OperationArguments = {\n options: coreHttp.operationOptionsToRequestOptionsBase(options || {})\n };\n return this.client.sendOperationRequest(operationArguments, listOperationSpec) as Promise<\n JobsListResponse\n >;\n }\n\n /**\n * Get job by id\n * @param jobId Id of the job.\n * @param options The options parameters.\n */\n get(jobId: string, options?: coreHttp.OperationOptions): Promise<JobsGetResponse> {\n const operationArguments: coreHttp.OperationArguments = {\n jobId,\n options: coreHttp.operationOptionsToRequestOptionsBase(options || {})\n };\n return this.client.sendOperationRequest(operationArguments, getOperationSpec) as Promise<\n JobsGetResponse\n >;\n }\n\n /**\n * Create a job.\n * @param jobId Id of the job.\n * @param job The complete metadata of the job to submit.\n * @param options The options parameters.\n */\n create(\n jobId: string,\n job: JobDetails,\n options?: coreHttp.OperationOptions\n ): Promise<JobsCreateResponse> {\n const operationArguments: coreHttp.OperationArguments = {\n jobId,\n job,\n options: coreHttp.operationOptionsToRequestOptionsBase(options || {})\n };\n return this.client.sendOperationRequest(operationArguments, createOperationSpec) as Promise<\n JobsCreateResponse\n >;\n }\n\n /**\n * Cancel a job.\n * @param jobId Id of the job.\n * @param options The options parameters.\n */\n cancel(jobId: string, options?: coreHttp.OperationOptions): Promise<coreHttp.RestResponse> {\n const operationArguments: coreHttp.OperationArguments = {\n jobId,\n options: coreHttp.operationOptionsToRequestOptionsBase(options || {})\n };\n return this.client.sendOperationRequest(operationArguments, cancelOperationSpec) as Promise<\n coreHttp.RestResponse\n >;\n }\n\n /**\n * ListNext\n * @param nextLink The nextLink from the previous successful call to the List method.\n * @param options The options parameters.\n */\n private _listNext(\n nextLink: string,\n options?: coreHttp.OperationOptions\n ): Promise<JobsListNextResponse> {\n const operationArguments: coreHttp.OperationArguments = {\n nextLink,\n options: coreHttp.operationOptionsToRequestOptionsBase(options || {})\n };\n return this.client.sendOperationRequest(operationArguments, listNextOperationSpec) as Promise<\n JobsListNextResponse\n >;\n }\n}\n// Operation Specifications\nconst serializer = new coreHttp.Serializer(Mappers, /* isXml */ false);\n\nconst listOperationSpec: coreHttp.OperationSpec = {\n path:\n \"/v1.0/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Quantum/workspaces/{workspaceName}/jobs\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.JobDetailsList\n }\n },\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.workspaceName\n ],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst getOperationSpec: coreHttp.OperationSpec = {\n path:\n \"/v1.0/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Quantum/workspaces/{workspaceName}/jobs/{jobId}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.JobDetails\n },\n default: {\n bodyMapper: Mappers.RestError\n }\n },\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.workspaceName,\n Parameters.jobId\n ],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst createOperationSpec: coreHttp.OperationSpec = {\n path:\n \"/v1.0/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Quantum/workspaces/{workspaceName}/jobs/{jobId}\",\n httpMethod: \"PUT\",\n responses: {\n 200: {\n bodyMapper: Mappers.JobDetails\n },\n 201: {\n bodyMapper: Mappers.JobDetails\n },\n default: {\n bodyMapper: Mappers.RestError\n }\n },\n requestBody: Parameters.job,\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.workspaceName,\n Parameters.jobId\n ],\n headerParameters: [Parameters.accept, Parameters.contentType],\n mediaType: \"json\",\n serializer\n};\nconst cancelOperationSpec: coreHttp.OperationSpec = {\n path:\n \"/v1.0/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Quantum/workspaces/{workspaceName}/jobs/{jobId}\",\n httpMethod: \"DELETE\",\n responses: {\n 204: {},\n default: {\n bodyMapper: Mappers.RestError\n }\n },\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.workspaceName,\n Parameters.jobId\n ],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst listNextOperationSpec: coreHttp.OperationSpec = {\n path: \"{nextLink}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.JobDetailsList\n }\n },\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.workspaceName,\n Parameters.nextLink\n ],\n headerParameters: [Parameters.accept],\n serializer\n};\n","/*\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 } from \"@azure/core-paging\";\nimport * as coreHttp from \"@azure/core-http\";\nimport * as Mappers from \"../models/mappers\";\nimport * as Parameters from \"../models/parameters\";\nimport { QuantumJobClient } from \"../quantumJobClient\";\nimport {\n ProviderStatus,\n ProvidersGetStatusResponse,\n ProvidersGetStatusNextResponse\n} from \"../models\";\n\n/** Class representing a Providers. */\nexport class Providers {\n private readonly client: QuantumJobClient;\n\n /**\n * Initialize a new instance of the class Providers class.\n * @param client Reference to the service client\n */\n constructor(client: QuantumJobClient) {\n this.client = client;\n }\n\n /**\n * Get provider status.\n * @param options The options parameters.\n */\n public listStatus(\n options?: coreHttp.OperationOptions\n ): PagedAsyncIterableIterator<ProviderStatus> {\n const iter = this.getStatusPagingAll(options);\n return {\n next() {\n return iter.next();\n },\n [Symbol.asyncIterator]() {\n return this;\n },\n byPage: () => {\n return this.getStatusPagingPage(options);\n }\n };\n }\n\n private async *getStatusPagingPage(\n options?: coreHttp.OperationOptions\n ): AsyncIterableIterator<ProviderStatus[]> {\n let result = await this._getStatus(options);\n yield result.value || [];\n let continuationToken = result.nextLink;\n while (continuationToken) {\n result = await this._getStatusNext(continuationToken, options);\n continuationToken = result.nextLink;\n yield result.value || [];\n }\n }\n\n private async *getStatusPagingAll(\n options?: coreHttp.OperationOptions\n ): AsyncIterableIterator<ProviderStatus> {\n for await (const page of this.getStatusPagingPage(options)) {\n yield* page;\n }\n }\n\n /**\n * Get provider status.\n * @param options The options parameters.\n */\n private _getStatus(options?: coreHttp.OperationOptions): Promise<ProvidersGetStatusResponse> {\n const operationArguments: coreHttp.OperationArguments = {\n options: coreHttp.operationOptionsToRequestOptionsBase(options || {})\n };\n return this.client.sendOperationRequest(operationArguments, getStatusOperationSpec) as Promise<\n ProvidersGetStatusResponse\n >;\n }\n\n /**\n * GetStatusNext\n * @param nextLink The nextLink from the previous successful call to the GetStatus method.\n * @param options The options parameters.\n */\n private _getStatusNext(\n nextLink: string,\n options?: coreHttp.OperationOptions\n ): Promise<ProvidersGetStatusNextResponse> {\n const operationArguments: coreHttp.OperationArguments = {\n nextLink,\n options: coreHttp.operationOptionsToRequestOptionsBase(options || {})\n };\n return this.client.sendOperationRequest(\n operationArguments,\n getStatusNextOperationSpec\n ) as Promise<ProvidersGetStatusNextResponse>;\n }\n}\n// Operation Specifications\nconst serializer = new coreHttp.Serializer(Mappers, /* isXml */ false);\n\nconst getStatusOperationSpec: coreHttp.OperationSpec = {\n path:\n \"/v1.0/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Quantum/workspaces/{workspaceName}/providerStatus\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.ProviderStatusList\n },\n default: {\n bodyMapper: Mappers.RestError\n }\n },\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.workspaceName\n ],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst getStatusNextOperationSpec: coreHttp.OperationSpec = {\n path: \"{nextLink}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.ProviderStatusList\n },\n default: {\n bodyMapper: Mappers.RestError\n }\n },\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.workspaceName,\n Parameters.nextLink\n ],\n headerParameters: [Parameters.accept],\n serializer\n};\n","/*\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 coreHttp from \"@azure/core-http\";\nimport * as Mappers from \"../models/mappers\";\nimport * as Parameters from \"../models/parameters\";\nimport { QuantumJobClient } from \"../quantumJobClient\";\nimport { BlobDetails, StorageSasUriResponse } from \"../models\";\n\n/** Class representing a Storage. */\nexport class Storage {\n private readonly client: QuantumJobClient;\n\n /**\n * Initialize a new instance of the class Storage class.\n * @param client Reference to the service client\n */\n constructor(client: QuantumJobClient) {\n this.client = client;\n }\n\n /**\n * Gets a URL with SAS token for a container/blob in the storage account associated with the workspace.\n * The SAS URL can be used to upload job input and/or download job output.\n * @param blobDetails The details (name and container) of the blob to store or download data.\n * @param options The options parameters.\n */\n sasUri(\n blobDetails: BlobDetails,\n options?: coreHttp.OperationOptions\n ): Promise<StorageSasUriResponse> {\n const operationArguments: coreHttp.OperationArguments = {\n blobDetails,\n options: coreHttp.operationOptionsToRequestOptionsBase(options || {})\n };\n return this.client.sendOperationRequest(operationArguments, sasUriOperationSpec) as Promise<\n StorageSasUriResponse\n >;\n }\n}\n// Operation Specifications\nconst serializer = new coreHttp.Serializer(Mappers, /* isXml */ false);\n\nconst sasUriOperationSpec: coreHttp.OperationSpec = {\n path:\n \"/v1.0/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Quantum/workspaces/{workspaceName}/storage/sasUri\",\n httpMethod: \"POST\",\n responses: {\n 200: {\n bodyMapper: Mappers.SasUriResponse\n },\n default: {\n bodyMapper: Mappers.RestError\n }\n },\n requestBody: Parameters.blobDetails,\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.workspaceName\n ],\n headerParameters: [Parameters.accept, Parameters.contentType],\n mediaType: \"json\",\n serializer\n};\n","/*\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 } from \"@azure/core-paging\";\nimport * as coreHttp from \"@azure/core-http\";\nimport * as Mappers from \"../models/mappers\";\nimport * as Parameters from \"../models/parameters\";\nimport { QuantumJobClient } from \"../quantumJobClient\";\nimport { Quota, QuotasListResponse, QuotasListNextResponse } from \"../models\";\n\n/** Class representing a Quotas. */\nexport class Quotas {\n private readonly client: QuantumJobClient;\n\n /**\n * Initialize a new instance of the class Quotas class.\n * @param client Reference to the service client\n */\n constructor(client: QuantumJobClient) {\n this.client = client;\n }\n\n /**\n * List quotas for the given workspace.\n * @param options The options parameters.\n */\n public list(options?: coreHttp.OperationOptions): PagedAsyncIterableIterator<Quota> {\n const iter = this.listPagingAll(options);\n return {\n next() {\n return iter.next();\n },\n [Symbol.asyncIterator]() {\n return this;\n },\n byPage: () => {\n return this.listPagingPage(options);\n }\n };\n }\n\n private async *listPagingPage(\n options?: coreHttp.OperationOptions\n ): AsyncIterableIterator<Quota[]> {\n let result = await this._list(options);\n yield result.value || [];\n let continuationToken = result.nextLink;\n while (continuationToken) {\n result = await this._listNext(continuationToken, options);\n continuationToken = result.nextLink;\n yield result.value || [];\n }\n }\n\n private async *listPagingAll(options?: coreHttp.OperationOptions): AsyncIterableIterator<Quota> {\n for await (const page of this.listPagingPage(options)) {\n yield* page;\n }\n }\n\n /**\n * List quotas for the given workspace.\n * @param options The options parameters.\n */\n private _list(options?: coreHttp.OperationOptions): Promise<QuotasListResponse> {\n const operationArguments: coreHttp.OperationArguments = {\n options: coreHttp.operationOptionsToRequestOptionsBase(options || {})\n };\n return this.client.sendOperationRequest(operationArguments, listOperationSpec) as Promise<\n QuotasListResponse\n >;\n }\n\n /**\n * ListNext\n * @param nextLink The nextLink from the previous successful call to the List method.\n * @param options The options parameters.\n */\n private _listNext(\n nextLink: string,\n options?: coreHttp.OperationOptions\n ): Promise<QuotasListNextResponse> {\n const operationArguments: coreHttp.OperationArguments = {\n nextLink,\n options: coreHttp.operationOptionsToRequestOptionsBase(options || {})\n };\n return this.client.sendOperationRequest(operationArguments, listNextOperationSpec) as Promise<\n QuotasListNextResponse\n >;\n }\n}\n// Operation Specifications\nconst serializer = new coreHttp.Serializer(Mappers, /* isXml */ false);\n\nconst listOperationSpec: coreHttp.OperationSpec = {\n path:\n \"/v1.0/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Quantum/workspaces/{workspaceName}/quotas\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.QuotaList\n },\n default: {\n bodyMapper: Mappers.RestError\n }\n },\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.workspaceName\n ],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst listNextOperationSpec: coreHttp.OperationSpec = {\n path: \"{nextLink}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.QuotaList\n },\n default: {\n bodyMapper: Mappers.RestError\n }\n },\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.workspaceName,\n Parameters.nextLink\n ],\n headerParameters: [Parameters.accept],\n serializer\n};\n","/*\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 coreHttp from \"@azure/core-http\";\nimport { QuantumJobClientOptionalParams } from \"./models\";\n\nconst packageName = \"@azure/quantum-jobs\";\nconst packageVersion = \"1.0.0-beta.1\";\n\nexport class QuantumJobClientContext extends coreHttp.ServiceClient {\n $host: string;\n subscriptionId: string;\n resourceGroupName: string;\n workspaceName: string;\n\n /**\n * Initializes a new instance of the QuantumJobClientContext class.\n * @param credentials Subscription credentials which uniquely identify client subscription.\n * @param subscriptionId The Azure subscription ID. This is a GUID-formatted string (e.g.\n * 00000000-0000-0000-0000-000000000000)\n * @param resourceGroupName Name of an Azure resource group.\n * @param workspaceName Name of the workspace.\n * @param options The parameter options\n */\n constructor(\n credentials: coreHttp.TokenCredential | coreHttp.ServiceClientCredentials,\n subscriptionId: string,\n resourceGroupName: string,\n workspaceName: string,\n options?: QuantumJobClientOptionalParams\n ) {\n if (credentials === undefined) {\n throw new Error(\"'credentials' cannot be null\");\n }\n if (subscriptionId === undefined) {\n throw new Error(\"'subscriptionId' cannot be null\");\n }\n if (resourceGroupName === undefined) {\n throw new Error(\"'resourceGroupName' cannot be null\");\n }\n if (workspaceName === undefined) {\n throw new Error(\"'workspaceName' cannot be null\");\n }\n\n // Initializing default values for options\n if (!options) {\n options = {};\n }\n\n if (!options.userAgent) {\n const defaultUserAgent = coreHttp.getDefaultUserAgentValue();\n options.userAgent = `${packageName}/${packageVersion} ${defaultUserAgent}`;\n }\n\n super(credentials, options);\n\n this.requestContentType = \"application/json; charset=utf-8\";\n\n this.baseUri = options.endpoint || \"https://quantum.azure.com\";\n\n // Parameter assignments\n this.subscriptionId = subscriptionId;\n this.resourceGroupName = resourceGroupName;\n this.workspaceName = workspaceName;\n\n // Assigning values to Constant parameters\n this.$host = options.$host || \"https://quantum.azure.com\";\n }\n}\n","/*\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 coreHttp from \"@azure/core-http\";\nimport { Jobs, Providers, Storage, Quotas } from \"./operations\";\nimport { QuantumJobClientContext } from \"./quantumJobClientContext\";\nimport { QuantumJobClientOptionalParams } from \"./models\";\n\nexport class QuantumJobClient extends QuantumJobClientContext {\n /**\n * Initializes a new instance of the QuantumJobClient class.\n * @param credentials Subscription credentials which uniquely identify client subscription.\n * @param subscriptionId The Azure subscription ID. This is a GUID-formatted string (e.g.\n * 00000000-0000-0000-0000-000000000000)\n * @param resourceGroupName Name of an Azure resource group.\n * @param workspaceName Name of the workspace.\n * @param options The parameter options\n */\n constructor(\n credentials: coreHttp.TokenCredential | coreHttp.ServiceClientCredentials,\n subscriptionId: string,\n resourceGroupName: string,\n workspaceName: string,\n options?: QuantumJobClientOptionalParams\n ) {\n super(credentials, subscriptionId, resourceGroupName, workspaceName, options);\n this.jobs = new Jobs(this);\n this.providers = new Providers(this);\n this.storage = new Storage(this);\n this.quotas = new Quotas(this);\n }\n\n jobs: Jobs;\n providers: Providers;\n storage: Storage;\n quotas: Quotas;\n}\n"],"names":["JobDetailsMapper","BlobDetailsMapper","__asyncValues","__values","__asyncDelegator","coreHttp.operationOptionsToRequestOptionsBase","coreHttp.Serializer","Mappers.JobDetailsList","Parameters.$host","Parameters.subscriptionId","Parameters.resourceGroupName","Parameters.workspaceName","Parameters.accept","Mappers.JobDetails","Mappers.RestError","Parameters.jobId","Parameters.job","Parameters.contentType","Parameters.nextLink","serializer","Mappers.ProviderStatusList","Mappers.SasUriResponse","Parameters.blobDetails","listOperationSpec","listNextOperationSpec","Mappers.QuotaList","__extends","coreHttp.getDefaultUserAgentValue","coreHttp.ServiceClient"],"mappings":";;;;;;;AAAA;;;;;;;AAUO,IAAM,cAAc,GAA6B;IACtD,IAAI,EAAE;QACJ,IAAI,EAAE,WAAW;QACjB,SAAS,EAAE,gBAAgB;QAC3B,eAAe,EAAE;YACf,KAAK,EAAE;gBACL,cAAc,EAAE,OAAO;gBACvB,QAAQ,EAAE,IAAI;gBACd,IAAI,EAAE;oBACJ,IAAI,EAAE,UAAU;oBAChB,OAAO,EAAE;wBACP,IAAI,EAAE;4BACJ,IAAI,EAAE,WAAW;4BACjB,SAAS,EAAE,YAAY;yBACxB;qBACF;iBACF;aACF;YACD,KAAK,EAAE;gBACL,cAAc,EAAE,OAAO;gBACvB,IAAI,EAAE;oBACJ,IAAI,EAAE,QAAQ;iBACf;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;AAEK,IAAM,UAAU,GAA6B;IAClD,IAAI,EAAE;QACJ,IAAI,EAAE,WAAW;Q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D;IACH,8BAAC;AAAD,CAAC,CA3D4CC,sBAAsB;;ACdnE;;;;;;;;IAasCF,0CAAuB;;;;;;;;;;IAU3D,0BACE,WAAyE,EACzE,cAAsB,EACtB,iBAAyB,EACzB,aAAqB,EACrB,OAAwC;QAL1C,YAOE,kBAAM,WAAW,EAAE,cAAc,EAAE,iBAAiB,EAAE,aAAa,EAAE,OAAO,CAAC,SAK9E;QAJC,KAAI,CAAC,IAAI,GAAG,IAAI,IAAI,CAAC,KAAI,CAAC,CAAC;QAC3B,KAAI,CAAC,SAAS,GAAG,IAAI,SAAS,CAAC,KAAI,CAAC,CAAC;QACrC,KAAI,CAAC,OAAO,GAAG,IAAI,OAAO,CAAC,KAAI,CAAC,CAAC;QACjC,KAAI,CAAC,MAAM,GAAG,IAAI,MAAM,CAAC,KAAI,CAAC,CAAC;;KAChC;IAMH,uBAAC;AAAD,CA5BA,CAAsC,uBAAuB;;;;;;;;;"}
@@ -1,13 +0,0 @@
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
- /// <reference lib="esnext.asynciterable" />
9
- export * from "./models";
10
- export * from "./operations";
11
- export { QuantumJobClient } from "./quantumJobClient";
12
- export { QuantumJobClientContext } from "./quantumJobClientContext";
13
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,4CAA4C;AAC5C,cAAc,UAAU,CAAC;AACzB,cAAc,cAAc,CAAC;AAC7B,OAAO,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAC;AACtD,OAAO,EAAE,uBAAuB,EAAE,MAAM,2BAA2B,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\n/// <reference lib=\"esnext.asynciterable\" />\nexport * from \"./models\";\nexport * from \"./operations\";\nexport { QuantumJobClient } from \"./quantumJobClient\";\nexport { QuantumJobClientContext } from \"./quantumJobClientContext\";\n"]}
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/models/index.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG","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 coreHttp from \"@azure/core-http\";\n\n/** List of job details. */\nexport interface JobDetailsList {\n /** NOTE: This property will not be serialized. It can only be populated by the server. */\n readonly value?: JobDetails[];\n /** Total records count number. */\n count?: number;\n /**\n * Link to the next page of results.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly nextLink?: string;\n}\n\n/** Job details. */\nexport interface JobDetails {\n /** The job id. */\n id?: string;\n /** The job name. Is not required for the name to be unique and it's only used for display purposes. */\n name?: string;\n /** The blob container SAS uri, the container is used to host job data. */\n containerUri: string;\n /** The input blob SAS uri, if specified, it will override the default input blob in the container. */\n inputDataUri?: string;\n /** The format of the input data. */\n inputDataFormat: string;\n /** The input parameters for the job. JSON object used by the target solver. It is expected that the size of this object is small and only used to specify parameters for the execution target, not the input data. */\n inputParams?: any;\n /** The unique identifier for the provider. */\n providerId: string;\n /** The target identifier to run the job. */\n target: string;\n /** The job metadata. Metadata provides client the ability to store client-specific information */\n metadata?: { [propertyName: string]: string };\n /** The output blob SAS uri. When a job finishes successfully, results will be uploaded to this blob. */\n outputDataUri?: string;\n /** The format of the output data. */\n outputDataFormat?: string;\n /**\n * The job status.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly status?: JobStatus;\n /**\n * The creation time of the job.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly creationTime?: Date;\n /**\n * The time when the job began execution.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly beginExecutionTime?: Date;\n /**\n * The time when the job finished execution.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly endExecutionTime?: Date;\n /**\n * The time when a job was successfully cancelled.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly cancellationTime?: Date;\n /**\n * The error data for the job. This is expected only when Status 'Failed'.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly errorData?: ErrorData;\n}\n\n/** An error response from Azure. */\nexport interface ErrorData {\n /** An identifier for the error. Codes are invariant and are intended to be consumed programmatically. */\n code?: string;\n /** A message describing the error, intended to be suitable for displaying in a user interface. */\n message?: string;\n}\n\n/** Error information returned by the API */\nexport interface RestError {\n /** An error response from Azure. */\n error?: ErrorData;\n}\n\n/** Providers status. */\nexport interface ProviderStatusList {\n /** NOTE: This property will not be serialized. It can only be populated by the server. */\n readonly value?: ProviderStatus[];\n /**\n * Link to the next page of results.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly nextLink?: string;\n}\n\n/** Providers status. */\nexport interface ProviderStatus {\n /**\n * Provider id.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly id?: string;\n /**\n * Provider availability.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly currentAvailability?: ProviderAvailability;\n /** NOTE: This property will not be serialized. It can only be populated by the server. */\n readonly targets?: TargetStatus[];\n}\n\n/** Target status. */\nexport interface TargetStatus {\n /**\n * Target id.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly id?: string;\n /**\n * Target availability.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly currentAvailability?: TargetAvailability;\n /**\n * Average queue time in seconds.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly averageQueueTime?: number;\n /**\n * A page with detailed status of the provider.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly statusPage?: string;\n}\n\n/** Blob details. */\nexport interface BlobDetails {\n /** The container name. */\n containerName: string;\n /** The blob name. */\n blobName?: string;\n}\n\n/** Get SAS URL operation response. */\nexport interface SasUriResponse {\n /** A URL with a SAS token to upload a blob for execution in the given workspace. */\n sasUri?: string;\n}\n\n/** List of quotas. */\nexport interface QuotaList {\n /** NOTE: This property will not be serialized. It can only be populated by the server. */\n readonly value?: Quota[];\n /**\n * Link to the next page of results.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly nextLink?: string;\n}\n\n/** Quota information. */\nexport interface Quota {\n /** The name of the dimension associated with the quota. */\n dimension?: string;\n /** The scope at which the quota is applied. */\n scope?: DimensionScope;\n /** The unique identifier for the provider. */\n providerId?: string;\n /** The amount of the usage that has been applied for the current period. */\n utilization?: number;\n /** The amount of the usage that has been reserved but not applied for the current period. */\n holds?: number;\n /** The maximum amount of usage allowed for the current period. */\n limit?: number;\n /** The time period in which the quota's underlying meter is accumulated. Based on calendar year. 'None' is used for concurrent quotas. */\n period?: MeterPeriod;\n}\n\n/** Known values of {@link JobStatus} that the service accepts. */\nexport const enum KnownJobStatus {\n Waiting = \"Waiting\",\n Executing = \"Executing\",\n Succeeded = \"Succeeded\",\n Failed = \"Failed\",\n Cancelled = \"Cancelled\"\n}\n\n/**\n * Defines values for JobStatus. \\\n * {@link KnownJobStatus} can be used interchangeably with JobStatus,\n * this enum contains the known values that the service supports.\n * ### Know values supported by the service\n * **Waiting** \\\n * **Executing** \\\n * **Succeeded** \\\n * **Failed** \\\n * **Cancelled**\n */\nexport type JobStatus = string;\n\n/** Known values of {@link ProviderAvailability} that the service accepts. */\nexport const enum KnownProviderAvailability {\n Available = \"Available\",\n Degraded = \"Degraded\",\n Unavailable = \"Unavailable\"\n}\n\n/**\n * Defines values for ProviderAvailability. \\\n * {@link KnownProviderAvailability} can be used interchangeably with ProviderAvailability,\n * this enum contains the known values that the service supports.\n * ### Know values supported by the service\n * **Available** \\\n * **Degraded** \\\n * **Unavailable**\n */\nexport type ProviderAvailability = string;\n\n/** Known values of {@link TargetAvailability} that the service accepts. */\nexport const enum KnownTargetAvailability {\n Available = \"Available\",\n Degraded = \"Degraded\",\n Unavailable = \"Unavailable\"\n}\n\n/**\n * Defines values for TargetAvailability. \\\n * {@link KnownTargetAvailability} can be used interchangeably with TargetAvailability,\n * this enum contains the known values that the service supports.\n * ### Know values supported by the service\n * **Available** \\\n * **Degraded** \\\n * **Unavailable**\n */\nexport type TargetAvailability = string;\n\n/** Known values of {@link DimensionScope} that the service accepts. */\nexport const enum KnownDimensionScope {\n Workspace = \"Workspace\",\n Subscription = \"Subscription\"\n}\n\n/**\n * Defines values for DimensionScope. \\\n * {@link KnownDimensionScope} can be used interchangeably with DimensionScope,\n * this enum contains the known values that the service supports.\n * ### Know values supported by the service\n * **Workspace** \\\n * **Subscription**\n */\nexport type DimensionScope = string;\n\n/** Known values of {@link MeterPeriod} that the service accepts. */\nexport const enum KnownMeterPeriod {\n None = \"None\",\n Monthly = \"Monthly\"\n}\n\n/**\n * Defines values for MeterPeriod. \\\n * {@link KnownMeterPeriod} can be used interchangeably with MeterPeriod,\n * this enum contains the known values that the service supports.\n * ### Know values supported by the service\n * **None** \\\n * **Monthly**\n */\nexport type MeterPeriod = string;\n\n/** Contains response data for the list operation. */\nexport type JobsListResponse = JobDetailsList & {\n /** The underlying HTTP response. */\n _response: coreHttp.HttpResponse & {\n /** The response body as text (string format) */\n bodyAsText: string;\n\n /** The response body as parsed JSON or XML */\n parsedBody: JobDetailsList;\n };\n};\n\n/** Contains response data for the get operation. */\nexport type JobsGetResponse = JobDetails & {\n /** The underlying HTTP response. */\n _response: coreHttp.HttpResponse & {\n /** The response body as text (string format) */\n bodyAsText: string;\n\n /** The response body as parsed JSON or XML */\n parsedBody: JobDetails;\n };\n};\n\n/** Contains response data for the create operation. */\nexport type JobsCreateResponse = JobDetails & {\n /** The underlying HTTP response. */\n _response: coreHttp.HttpResponse & {\n /** The response body as text (string format) */\n bodyAsText: string;\n\n /** The response body as parsed JSON or XML */\n parsedBody: JobDetails;\n };\n};\n\n/** Contains response data for the listNext operation. */\nexport type JobsListNextResponse = JobDetailsList & {\n /** The underlying HTTP response. */\n _response: coreHttp.HttpResponse & {\n /** The response body as text (string format) */\n bodyAsText: string;\n\n /** The response body as parsed JSON or XML */\n parsedBody: JobDetailsList;\n };\n};\n\n/** Contains response data for the getStatus operation. */\nexport type ProvidersGetStatusResponse = ProviderStatusList & {\n /** The underlying HTTP response. */\n _response: coreHttp.HttpResponse & {\n /** The response body as text (string format) */\n bodyAsText: string;\n\n /** The response body as parsed JSON or XML */\n parsedBody: ProviderStatusList;\n };\n};\n\n/** Contains response data for the getStatusNext operation. */\nexport type ProvidersGetStatusNextResponse = ProviderStatusList & {\n /** The underlying HTTP response. */\n _response: coreHttp.HttpResponse & {\n /** The response body as text (string format) */\n bodyAsText: string;\n\n /** The response body as parsed JSON or XML */\n parsedBody: ProviderStatusList;\n };\n};\n\n/** Contains response data for the sasUri operation. */\nexport type StorageSasUriResponse = SasUriResponse & {\n /** The underlying HTTP response. */\n _response: coreHttp.HttpResponse & {\n /** The response body as text (string format) */\n bodyAsText: string;\n\n /** The response body as parsed JSON or XML */\n parsedBody: SasUriResponse;\n };\n};\n\n/** Contains response data for the list operation. */\nexport type QuotasListResponse = QuotaList & {\n /** The underlying HTTP response. */\n _response: coreHttp.HttpResponse & {\n /** The response body as text (string format) */\n bodyAsText: string;\n\n /** The response body as parsed JSON or XML */\n parsedBody: QuotaList;\n };\n};\n\n/** Contains response data for the listNext operation. */\nexport type QuotasListNextResponse = QuotaList & {\n /** The underlying HTTP response. */\n _response: coreHttp.HttpResponse & {\n /** The response body as text (string format) */\n bodyAsText: string;\n\n /** The response body as parsed JSON or XML */\n parsedBody: QuotaList;\n };\n};\n\n/** Optional parameters. */\nexport interface QuantumJobClientOptionalParams\n extends coreHttp.ServiceClientOptions {\n /** server parameter */\n $host?: string;\n /** Overrides client endpoint. */\n endpoint?: string;\n}\n"]}
@@ -1 +0,0 @@
1
- {"version":3,"file":"mappers.js","sourceRoot":"","sources":["../../../src/models/mappers.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAIH,MAAM,CAAC,IAAM,cAAc,GAA6B;IACtD,IAAI,EAAE;QACJ,IAAI,EAAE,WAAW;QACjB,SAAS,EAAE,gBAAgB;QAC3B,eAAe,EAAE;YACf,KAAK,EAAE;gBACL,cAAc,EAAE,OAAO;gBACvB,QAAQ,EAAE,IAAI;gBACd,IAAI,EAAE;oBACJ,IAAI,EAAE,UAAU;oBAChB,OAAO,EAAE;wBACP,IAAI,EAAE;4BACJ,IAAI,EAAE,WAAW;4BACjB,SAAS,EAAE,YAAY;yBACxB;qBACF;iBACF;aACF;YACD,KAAK,EAAE;gBACL,cAAc,EAAE,OAAO;gBACvB,IAAI,EAAE;oBACJ,IAAI,EAAE,QAAQ;iBACf;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;AAEF,MAAM,CAAC,IAAM,UAAU,GAA6B;IAClD,IAAI,EAAE;QACJ,IAAI,EAAE,WAAW;QACjB,SAAS,EAAE,YAAY;QACvB,eAAe,EAAE;YACf,EAAE,EAAE;gBACF,cAAc,EAAE,IAAI;gBACpB,IAAI,EAAE;oBACJ,IAAI,EAAE,QAAQ;iBACf;aACF;YACD,IAAI,EAAE;gBACJ,cAAc,EAAE,MAAM;gBACtB,IAAI,EAAE;oBACJ,IAAI,EAAE,QAAQ;iBACf;aACF;YACD,YAAY,EAAE;gBACZ,cAAc,EAAE,cAAc;gBAC9B,QAAQ,EAAE,IAAI;gBACd,IAAI,EAAE;oBACJ,IAAI,EAAE,QAAQ;iBACf;aACF;YACD,YAAY,EAAE;gBACZ,cAAc,EAAE,cAAc;gBAC9B,IAAI,EAAE;oBACJ,IAA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;4BACjB,SAAS,EAAE,OAAO;yBACnB;qBACF;iBACF;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;AAEF,MAAM,CAAC,IAAM,KAAK,GAA6B;IAC7C,IAAI,EAAE;QACJ,IAAI,EAAE,WAAW;QACjB,SAAS,EAAE,OAAO;QAClB,eAAe,EAAE;YACf,SAAS,EAAE;gBACT,cAAc,EAAE,WAAW;gBAC3B,IAAI,EAAE;oBACJ,IAAI,EAAE,QAAQ;iBACf;aACF;YACD,KAAK,EAAE;gBACL,cAAc,EAAE,OAAO;gBACvB,IAAI,EAAE;oBACJ,IAAI,EAAE,QAAQ;iBACf;aACF;YACD,UAAU,EAAE;gBACV,cAAc,EAAE,YAAY;gBAC5B,IAAI,EAAE;oBACJ,IAAI,EAAE,QAAQ;iBACf;aACF;YACD,WAAW,EAAE;gBACX,cAAc,EAAE,aAAa;gBAC7B,IAAI,EAAE;oBACJ,IAAI,EAAE,QAAQ;iBACf;aACF;YACD,KAAK,EAAE;gBACL,cAAc,EAAE,OAAO;gBACvB,IAAI,EAAE;oBACJ,IAAI,EAAE,QAAQ;iBACf;aACF;YACD,KAAK,EAAE;gBACL,cAAc,EAAE,OAAO;gBACvB,IAAI,EAAE;oBACJ,IAAI,EAAE,QAAQ;iBACf;aACF;YACD,MAAM,EAAE;gBACN,cAAc,EAAE,QAAQ;gBACxB,IAAI,EAAE;oBACJ,IAAI,EAAE,QAAQ;iBACf;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 coreHttp from \"@azure/core-http\";\n\nexport const JobDetailsList: coreHttp.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"JobDetailsList\",\n modelProperties: {\n value: {\n serializedName: \"value\",\n readOnly: true,\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"Composite\",\n className: \"JobDetails\"\n }\n }\n }\n },\n count: {\n serializedName: \"count\",\n type: {\n name: \"Number\"\n }\n },\n nextLink: {\n serializedName: \"nextLink\",\n readOnly: true,\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const JobDetails: coreHttp.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"JobDetails\",\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 containerUri: {\n serializedName: \"containerUri\",\n required: true,\n type: {\n name: \"String\"\n }\n },\n inputDataUri: {\n serializedName: \"inputDataUri\",\n type: {\n name: \"String\"\n }\n },\n inputDataFormat: {\n serializedName: \"inputDataFormat\",\n required: true,\n type: {\n name: \"String\"\n }\n },\n inputParams: {\n serializedName: \"inputParams\",\n type: {\n name: \"any\"\n }\n },\n providerId: {\n serializedName: \"providerId\",\n required: true,\n type: {\n name: \"String\"\n }\n },\n target: {\n serializedName: \"target\",\n required: true,\n type: {\n name: \"String\"\n }\n },\n metadata: {\n serializedName: \"metadata\",\n type: {\n name: \"Dictionary\",\n value: { type: { name: \"String\" } }\n }\n },\n outputDataUri: {\n serializedName: \"outputDataUri\",\n type: {\n name: \"String\"\n }\n },\n outputDataFormat: {\n serializedName: \"outputDataFormat\",\n type: {\n name: \"String\"\n }\n },\n status: {\n serializedName: \"status\",\n readOnly: true,\n type: {\n name: \"String\"\n }\n },\n creationTime: {\n serializedName: \"creationTime\",\n readOnly: true,\n type: {\n name: \"DateTime\"\n }\n },\n beginExecutionTime: {\n serializedName: \"beginExecutionTime\",\n readOnly: true,\n type: {\n name: \"DateTime\"\n }\n },\n endExecutionTime: {\n serializedName: \"endExecutionTime\",\n readOnly: true,\n type: {\n name: \"DateTime\"\n }\n },\n cancellationTime: {\n serializedName: \"cancellationTime\",\n readOnly: true,\n type: {\n name: \"DateTime\"\n }\n },\n errorData: {\n serializedName: \"errorData\",\n type: {\n name: \"Composite\",\n className: \"ErrorData\"\n }\n }\n }\n }\n};\n\nexport const ErrorData: coreHttp.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"ErrorData\",\n modelProperties: {\n code: {\n serializedName: \"code\",\n type: {\n name: \"String\"\n }\n },\n message: {\n serializedName: \"message\",\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const RestError: coreHttp.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"RestError\",\n modelProperties: {\n error: {\n serializedName: \"error\",\n type: {\n name: \"Composite\",\n className: \"ErrorData\"\n }\n }\n }\n }\n};\n\nexport const ProviderStatusList: coreHttp.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"ProviderStatusList\",\n modelProperties: {\n value: {\n serializedName: \"value\",\n readOnly: true,\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"Composite\",\n className: \"ProviderStatus\"\n }\n }\n }\n },\n nextLink: {\n serializedName: \"nextLink\",\n readOnly: true,\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const ProviderStatus: coreHttp.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"ProviderStatus\",\n modelProperties: {\n id: {\n serializedName: \"id\",\n readOnly: true,\n type: {\n name: \"String\"\n }\n },\n currentAvailability: {\n serializedName: \"currentAvailability\",\n readOnly: true,\n type: {\n name: \"String\"\n }\n },\n targets: {\n serializedName: \"targets\",\n readOnly: true,\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"Composite\",\n className: \"TargetStatus\"\n }\n }\n }\n }\n }\n }\n};\n\nexport const TargetStatus: coreHttp.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"TargetStatus\",\n modelProperties: {\n id: {\n serializedName: \"id\",\n readOnly: true,\n type: {\n name: \"String\"\n }\n },\n currentAvailability: {\n serializedName: \"currentAvailability\",\n readOnly: true,\n type: {\n name: \"String\"\n }\n },\n averageQueueTime: {\n serializedName: \"averageQueueTime\",\n readOnly: true,\n type: {\n name: \"Number\"\n }\n },\n statusPage: {\n serializedName: \"statusPage\",\n readOnly: true,\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const BlobDetails: coreHttp.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"BlobDetails\",\n modelProperties: {\n containerName: {\n serializedName: \"containerName\",\n required: true,\n type: {\n name: \"String\"\n }\n },\n blobName: {\n serializedName: \"blobName\",\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const SasUriResponse: coreHttp.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"SasUriResponse\",\n modelProperties: {\n sasUri: {\n serializedName: \"sasUri\",\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const QuotaList: coreHttp.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"QuotaList\",\n modelProperties: {\n value: {\n serializedName: \"value\",\n readOnly: true,\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"Composite\",\n className: \"Quota\"\n }\n }\n }\n },\n nextLink: {\n serializedName: \"nextLink\",\n readOnly: true,\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const Quota: coreHttp.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"Quota\",\n modelProperties: {\n dimension: {\n serializedName: \"dimension\",\n type: {\n name: \"String\"\n }\n },\n scope: {\n serializedName: \"scope\",\n type: {\n name: \"String\"\n }\n },\n providerId: {\n serializedName: \"providerId\",\n type: {\n name: \"String\"\n }\n },\n utilization: {\n serializedName: \"utilization\",\n type: {\n name: \"Number\"\n }\n },\n holds: {\n serializedName: \"holds\",\n type: {\n name: \"Number\"\n }\n },\n limit: {\n serializedName: \"limit\",\n type: {\n name: \"Number\"\n }\n },\n period: {\n serializedName: \"period\",\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n"]}
@@ -1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AM,KAAK,GAA0B;IAC1C,aAAa,EAAE,OAAO;IACtB,MAAM,EAAE;QACN,cAAc,EAAE,OAAO;QACvB,QAAQ,EAAE,IAAI;QACd,IAAI,EAAE;YACJ,IAAI,EAAE,QAAQ;SACf;KACF;CACF,CAAC;AAEF,MAAM,CAAC,IAAM,WAAW,GAAuB;IAC7C,aAAa,EAAE,CAAC,SAAS,EAAE,aAAa,CAAC;IACzC,MAAM,EAAE;QACN,YAAY,EAAE,kBAAkB;QAChC,UAAU,EAAE,IAAI;QAChB,cAAc,EAAE,cAAc;QAC9B,IAAI,EAAE;YACJ,IAAI,EAAE,QAAQ;SACf;KACF;CACF,CAAC;AAEF,MAAM,CAAC,IAAM,GAAG,GAAuB;IACrC,aAAa,EAAE,KAAK;IACpB,MAAM,EAAE,gBAAgB;CACzB,CAAC;AAEF,MAAM,CAAC,IAAM,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;AAEF,MAAM,CAAC,IAAM,WAAW,GAAuB;IAC7C,aAAa,EAAE,aAAa;IAC5B,MAAM,EAAE,iBAAiB;CAC1B,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 { OperationParameter, OperationURLParameter } from \"@azure/core-http\";\nimport {\n JobDetails as JobDetailsMapper,\n BlobDetails as BlobDetailsMapper\n} from \"../models/mappers\";\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 subscriptionId: OperationURLParameter = {\n parameterPath: \"subscriptionId\",\n mapper: {\n serializedName: \"subscriptionId\",\n required: true,\n type: {\n name: \"String\"\n }\n }\n};\n\nexport const resourceGroupName: OperationURLParameter = {\n parameterPath: \"resourceGroupName\",\n mapper: {\n serializedName: \"resourceGroupName\",\n required: true,\n type: {\n name: \"String\"\n }\n }\n};\n\nexport const workspaceName: OperationURLParameter = {\n parameterPath: \"workspaceName\",\n mapper: {\n serializedName: \"workspaceName\",\n required: true,\n type: {\n name: \"String\"\n }\n }\n};\n\nexport const jobId: OperationURLParameter = {\n parameterPath: \"jobId\",\n mapper: {\n serializedName: \"jobId\",\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 job: OperationParameter = {\n parameterPath: \"job\",\n mapper: JobDetailsMapper\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 blobDetails: OperationParameter = {\n parameterPath: \"blobDetails\",\n mapper: BlobDetailsMapper\n};\n"]}
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/operations/index.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,cAAc,QAAQ,CAAC;AACvB,cAAc,aAAa,CAAC;AAC5B,cAAc,WAAW,CAAC;AAC1B,cAAc,UAAU,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 \"./jobs\";\nexport * from \"./providers\";\nexport * from \"./storage\";\nexport * from \"./quotas\";\n"]}
@@ -1,280 +0,0 @@
1
- /*
2
- * Copyright (c) Microsoft Corporation.
3
- * Licensed under the MIT License.
4
- *
5
- * Code generated by Microsoft (R) AutoRest Code Generator.
6
- * Changes may cause incorrect behavior and will be lost if the code is regenerated.
7
- */
8
- import { __asyncDelegator, __asyncGenerator, __asyncValues, __await, __generator, __values } from "tslib";
9
- import * as coreHttp from "@azure/core-http";
10
- import * as Mappers from "../models/mappers";
11
- import * as Parameters from "../models/parameters";
12
- /** Class representing a Jobs. */
13
- var Jobs = /** @class */ (function () {
14
- /**
15
- * Initialize a new instance of the class Jobs class.
16
- * @param client Reference to the service client
17
- */
18
- function Jobs(client) {
19
- this.client = client;
20
- }
21
- /**
22
- * List jobs.
23
- * @param options The options parameters.
24
- */
25
- Jobs.prototype.list = function (options) {
26
- var _a;
27
- var _this = this;
28
- var iter = this.listPagingAll(options);
29
- return _a = {
30
- next: function () {
31
- return iter.next();
32
- }
33
- },
34
- _a[Symbol.asyncIterator] = function () {
35
- return this;
36
- },
37
- _a.byPage = function () {
38
- return _this.listPagingPage(options);
39
- },
40
- _a;
41
- };
42
- Jobs.prototype.listPagingPage = function (options) {
43
- return __asyncGenerator(this, arguments, function listPagingPage_1() {
44
- var result, continuationToken;
45
- return __generator(this, function (_a) {
46
- switch (_a.label) {
47
- case 0: return [4 /*yield*/, __await(this._list(options))];
48
- case 1:
49
- result = _a.sent();
50
- return [4 /*yield*/, __await(result.value || [])];
51
- case 2: return [4 /*yield*/, _a.sent()];
52
- case 3:
53
- _a.sent();
54
- continuationToken = result.nextLink;
55
- _a.label = 4;
56
- case 4:
57
- if (!continuationToken) return [3 /*break*/, 8];
58
- return [4 /*yield*/, __await(this._listNext(continuationToken, options))];
59
- case 5:
60
- result = _a.sent();
61
- continuationToken = result.nextLink;
62
- return [4 /*yield*/, __await(result.value || [])];
63
- case 6: return [4 /*yield*/, _a.sent()];
64
- case 7:
65
- _a.sent();
66
- return [3 /*break*/, 4];
67
- case 8: return [2 /*return*/];
68
- }
69
- });
70
- });
71
- };
72
- Jobs.prototype.listPagingAll = function (options) {
73
- return __asyncGenerator(this, arguments, function listPagingAll_1() {
74
- var _a, _b, page, e_1_1;
75
- var e_1, _c;
76
- return __generator(this, function (_d) {
77
- switch (_d.label) {
78
- case 0:
79
- _d.trys.push([0, 7, 8, 13]);
80
- _a = __asyncValues(this.listPagingPage(options));
81
- _d.label = 1;
82
- case 1: return [4 /*yield*/, __await(_a.next())];
83
- case 2:
84
- if (!(_b = _d.sent(), !_b.done)) return [3 /*break*/, 6];
85
- page = _b.value;
86
- return [5 /*yield**/, __values(__asyncDelegator(__asyncValues(page)))];
87
- case 3: return [4 /*yield*/, __await.apply(void 0, [_d.sent()])];
88
- case 4:
89
- _d.sent();
90
- _d.label = 5;
91
- case 5: return [3 /*break*/, 1];
92
- case 6: return [3 /*break*/, 13];
93
- case 7:
94
- e_1_1 = _d.sent();
95
- e_1 = { error: e_1_1 };
96
- return [3 /*break*/, 13];
97
- case 8:
98
- _d.trys.push([8, , 11, 12]);
99
- if (!(_b && !_b.done && (_c = _a.return))) return [3 /*break*/, 10];
100
- return [4 /*yield*/, __await(_c.call(_a))];
101
- case 9:
102
- _d.sent();
103
- _d.label = 10;
104
- case 10: return [3 /*break*/, 12];
105
- case 11:
106
- if (e_1) throw e_1.error;
107
- return [7 /*endfinally*/];
108
- case 12: return [7 /*endfinally*/];
109
- case 13: return [2 /*return*/];
110
- }
111
- });
112
- });
113
- };
114
- /**
115
- * List jobs.
116
- * @param options The options parameters.
117
- */
118
- Jobs.prototype._list = function (options) {
119
- var operationArguments = {
120
- options: coreHttp.operationOptionsToRequestOptionsBase(options || {})
121
- };
122
- return this.client.sendOperationRequest(operationArguments, listOperationSpec);
123
- };
124
- /**
125
- * Get job by id
126
- * @param jobId Id of the job.
127
- * @param options The options parameters.
128
- */
129
- Jobs.prototype.get = function (jobId, options) {
130
- var operationArguments = {
131
- jobId: jobId,
132
- options: coreHttp.operationOptionsToRequestOptionsBase(options || {})
133
- };
134
- return this.client.sendOperationRequest(operationArguments, getOperationSpec);
135
- };
136
- /**
137
- * Create a job.
138
- * @param jobId Id of the job.
139
- * @param job The complete metadata of the job to submit.
140
- * @param options The options parameters.
141
- */
142
- Jobs.prototype.create = function (jobId, job, options) {
143
- var operationArguments = {
144
- jobId: jobId,
145
- job: job,
146
- options: coreHttp.operationOptionsToRequestOptionsBase(options || {})
147
- };
148
- return this.client.sendOperationRequest(operationArguments, createOperationSpec);
149
- };
150
- /**
151
- * Cancel a job.
152
- * @param jobId Id of the job.
153
- * @param options The options parameters.
154
- */
155
- Jobs.prototype.cancel = function (jobId, options) {
156
- var operationArguments = {
157
- jobId: jobId,
158
- options: coreHttp.operationOptionsToRequestOptionsBase(options || {})
159
- };
160
- return this.client.sendOperationRequest(operationArguments, cancelOperationSpec);
161
- };
162
- /**
163
- * ListNext
164
- * @param nextLink The nextLink from the previous successful call to the List method.
165
- * @param options The options parameters.
166
- */
167
- Jobs.prototype._listNext = function (nextLink, options) {
168
- var operationArguments = {
169
- nextLink: nextLink,
170
- options: coreHttp.operationOptionsToRequestOptionsBase(options || {})
171
- };
172
- return this.client.sendOperationRequest(operationArguments, listNextOperationSpec);
173
- };
174
- return Jobs;
175
- }());
176
- export { Jobs };
177
- // Operation Specifications
178
- var serializer = new coreHttp.Serializer(Mappers, /* isXml */ false);
179
- var listOperationSpec = {
180
- path: "/v1.0/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Quantum/workspaces/{workspaceName}/jobs",
181
- httpMethod: "GET",
182
- responses: {
183
- 200: {
184
- bodyMapper: Mappers.JobDetailsList
185
- }
186
- },
187
- urlParameters: [
188
- Parameters.$host,
189
- Parameters.subscriptionId,
190
- Parameters.resourceGroupName,
191
- Parameters.workspaceName
192
- ],
193
- headerParameters: [Parameters.accept],
194
- serializer: serializer
195
- };
196
- var getOperationSpec = {
197
- path: "/v1.0/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Quantum/workspaces/{workspaceName}/jobs/{jobId}",
198
- httpMethod: "GET",
199
- responses: {
200
- 200: {
201
- bodyMapper: Mappers.JobDetails
202
- },
203
- default: {
204
- bodyMapper: Mappers.RestError
205
- }
206
- },
207
- urlParameters: [
208
- Parameters.$host,
209
- Parameters.subscriptionId,
210
- Parameters.resourceGroupName,
211
- Parameters.workspaceName,
212
- Parameters.jobId
213
- ],
214
- headerParameters: [Parameters.accept],
215
- serializer: serializer
216
- };
217
- var createOperationSpec = {
218
- path: "/v1.0/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Quantum/workspaces/{workspaceName}/jobs/{jobId}",
219
- httpMethod: "PUT",
220
- responses: {
221
- 200: {
222
- bodyMapper: Mappers.JobDetails
223
- },
224
- 201: {
225
- bodyMapper: Mappers.JobDetails
226
- },
227
- default: {
228
- bodyMapper: Mappers.RestError
229
- }
230
- },
231
- requestBody: Parameters.job,
232
- urlParameters: [
233
- Parameters.$host,
234
- Parameters.subscriptionId,
235
- Parameters.resourceGroupName,
236
- Parameters.workspaceName,
237
- Parameters.jobId
238
- ],
239
- headerParameters: [Parameters.accept, Parameters.contentType],
240
- mediaType: "json",
241
- serializer: serializer
242
- };
243
- var cancelOperationSpec = {
244
- path: "/v1.0/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Quantum/workspaces/{workspaceName}/jobs/{jobId}",
245
- httpMethod: "DELETE",
246
- responses: {
247
- 204: {},
248
- default: {
249
- bodyMapper: Mappers.RestError
250
- }
251
- },
252
- urlParameters: [
253
- Parameters.$host,
254
- Parameters.subscriptionId,
255
- Parameters.resourceGroupName,
256
- Parameters.workspaceName,
257
- Parameters.jobId
258
- ],
259
- headerParameters: [Parameters.accept],
260
- serializer: serializer
261
- };
262
- var listNextOperationSpec = {
263
- path: "{nextLink}",
264
- httpMethod: "GET",
265
- responses: {
266
- 200: {
267
- bodyMapper: Mappers.JobDetailsList
268
- }
269
- },
270
- urlParameters: [
271
- Parameters.$host,
272
- Parameters.subscriptionId,
273
- Parameters.resourceGroupName,
274
- Parameters.workspaceName,
275
- Parameters.nextLink
276
- ],
277
- headerParameters: [Parameters.accept],
278
- serializer: serializer
279
- };
280
- //# sourceMappingURL=jobs.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"jobs.js","sourceRoot":"","sources":["../../../src/operations/jobs.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAGH,OAAO,KAAK,QAAQ,MAAM,kBAAkB,CAAC;AAC7C,OAAO,KAAK,OAAO,MAAM,mBAAmB,CAAC;AAC7C,OAAO,KAAK,UAAU,MAAM,sBAAsB,CAAC;AAUnD,iCAAiC;AACjC;IAGE;;;OAGG;IACH,cAAY,MAAwB;QAClC,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACvB,CAAC;IAED;;;OAGG;IACI,mBAAI,GAAX,UAAY,OAAmC;;QAA/C,iBAaC;QAZC,IAAM,IAAI,GAAG,IAAI,CAAC,aAAa,CAAC,OAAO,CAAC,CAAC;QACzC;gBACE,IAAI;oBACF,OAAO,IAAI,CAAC,IAAI,EAAE,CAAC;gBACrB,CAAC;;YACD,GAAC,MAAM,CAAC,aAAa,IAArB;gBACE,OAAO,IAAI,CAAC;YACd,CAAC;YACD,SAAM,GAAE;gBACN,OAAO,KAAI,CAAC,cAAc,CAAC,OAAO,CAAC,CAAC;YACtC,CAAC;eACD;IACJ,CAAC;IAEc,6BAAc,GAA7B,UACE,OAAmC;;;;;4BAEtB,6BAAM,IAAI,CAAC,KAAK,CAAC,OAAO,CAAC,GAAA;;wBAAlC,MAAM,GAAG,SAAyB;qDAChC,MAAM,CAAC,KAAK,IAAI,EAAE;4BAAxB,gCAAwB;;wBAAxB,SAAwB,CAAC;wBACrB,iBAAiB,GAAG,MAAM,CAAC,QAAQ,CAAC;;;6BACjC,iBAAiB;wBACb,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CAAC,cAAc;QACzB,UAAU,CAAC,iBAAiB;QAC5B,UAAU,CAAC,aAAa;QACxB,UAAU,CAAC,KAAK;KACjB;IACD,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU,YAAA;CACX,CAAC;AACF,IAAM,qBAAqB,GAA2B;IACpD,IAAI,EAAE,YAAY;IAClB,UAAU,EAAE,KAAK;IACjB,SAAS,EAAE;QACT,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,cAAc;SACnC;KACF;IACD,aAAa,EAAE;QACb,UAAU,CAAC,KAAK;QAChB,UAAU,CAAC,cAAc;QACzB,UAAU,CAAC,iBAAiB;QAC5B,UAAU,CAAC,aAAa;QACxB,UAAU,CAAC,QAAQ;KACpB;IACD,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU,YAAA;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 } from \"@azure/core-paging\";\nimport * as coreHttp from \"@azure/core-http\";\nimport * as Mappers from \"../models/mappers\";\nimport * as Parameters from \"../models/parameters\";\nimport { QuantumJobClient } from \"../quantumJobClient\";\nimport {\n JobDetails,\n JobsListResponse,\n JobsGetResponse,\n JobsCreateResponse,\n JobsListNextResponse\n} from \"../models\";\n\n/** Class representing a Jobs. */\nexport class Jobs {\n private readonly client: QuantumJobClient;\n\n /**\n * Initialize a new instance of the class Jobs class.\n * @param client Reference to the service client\n */\n constructor(client: QuantumJobClient) {\n this.client = client;\n }\n\n /**\n * List jobs.\n * @param options The options parameters.\n */\n public list(options?: coreHttp.OperationOptions): PagedAsyncIterableIterator<JobDetails> {\n const iter = this.listPagingAll(options);\n return {\n next() {\n return iter.next();\n },\n [Symbol.asyncIterator]() {\n return this;\n },\n byPage: () => {\n return this.listPagingPage(options);\n }\n };\n }\n\n private async *listPagingPage(\n options?: coreHttp.OperationOptions\n ): AsyncIterableIterator<JobDetails[]> {\n let result = await this._list(options);\n yield result.value || [];\n let continuationToken = result.nextLink;\n while (continuationToken) {\n result = await this._listNext(continuationToken, options);\n continuationToken = result.nextLink;\n yield result.value || [];\n }\n }\n\n private async *listPagingAll(\n options?: coreHttp.OperationOptions\n ): AsyncIterableIterator<JobDetails> {\n for await (const page of this.listPagingPage(options)) {\n yield* page;\n }\n }\n\n /**\n * List jobs.\n * @param options The options parameters.\n */\n private _list(options?: coreHttp.OperationOptions): Promise<JobsListResponse> {\n const operationArguments: coreHttp.OperationArguments = {\n options: coreHttp.operationOptionsToRequestOptionsBase(options || {})\n };\n return this.client.sendOperationRequest(operationArguments, listOperationSpec) as Promise<\n JobsListResponse\n >;\n }\n\n /**\n * Get job by id\n * @param jobId Id of the job.\n * @param options The options parameters.\n */\n get(jobId: string, options?: coreHttp.OperationOptions): Promise<JobsGetResponse> {\n const operationArguments: coreHttp.OperationArguments = {\n jobId,\n options: coreHttp.operationOptionsToRequestOptionsBase(options || {})\n };\n return this.client.sendOperationRequest(operationArguments, getOperationSpec) as Promise<\n JobsGetResponse\n >;\n }\n\n /**\n * Create a job.\n * @param jobId Id of the job.\n * @param job The complete metadata of the job to submit.\n * @param options The options parameters.\n */\n create(\n jobId: string,\n job: JobDetails,\n options?: coreHttp.OperationOptions\n ): Promise<JobsCreateResponse> {\n const operationArguments: coreHttp.OperationArguments = {\n jobId,\n job,\n options: coreHttp.operationOptionsToRequestOptionsBase(options || {})\n };\n return this.client.sendOperationRequest(operationArguments, createOperationSpec) as Promise<\n JobsCreateResponse\n >;\n }\n\n /**\n * Cancel a job.\n * @param jobId Id of the job.\n * @param options The options parameters.\n */\n cancel(jobId: string, options?: coreHttp.OperationOptions): Promise<coreHttp.RestResponse> {\n const operationArguments: coreHttp.OperationArguments = {\n jobId,\n options: coreHttp.operationOptionsToRequestOptionsBase(options || {})\n };\n return this.client.sendOperationRequest(operationArguments, cancelOperationSpec) as Promise<\n coreHttp.RestResponse\n >;\n }\n\n /**\n * ListNext\n * @param nextLink The nextLink from the previous successful call to the List method.\n * @param options The options parameters.\n */\n private _listNext(\n nextLink: string,\n options?: coreHttp.OperationOptions\n ): Promise<JobsListNextResponse> {\n const operationArguments: coreHttp.OperationArguments = {\n nextLink,\n options: coreHttp.operationOptionsToRequestOptionsBase(options || {})\n };\n return this.client.sendOperationRequest(operationArguments, listNextOperationSpec) as Promise<\n JobsListNextResponse\n >;\n }\n}\n// Operation Specifications\nconst serializer = new coreHttp.Serializer(Mappers, /* isXml */ false);\n\nconst listOperationSpec: coreHttp.OperationSpec = {\n path:\n \"/v1.0/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Quantum/workspaces/{workspaceName}/jobs\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.JobDetailsList\n }\n },\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.workspaceName\n ],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst getOperationSpec: coreHttp.OperationSpec = {\n path:\n \"/v1.0/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Quantum/workspaces/{workspaceName}/jobs/{jobId}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.JobDetails\n },\n default: {\n bodyMapper: Mappers.RestError\n }\n },\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.workspaceName,\n Parameters.jobId\n ],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst createOperationSpec: coreHttp.OperationSpec = {\n path:\n \"/v1.0/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Quantum/workspaces/{workspaceName}/jobs/{jobId}\",\n httpMethod: \"PUT\",\n responses: {\n 200: {\n bodyMapper: Mappers.JobDetails\n },\n 201: {\n bodyMapper: Mappers.JobDetails\n },\n default: {\n bodyMapper: Mappers.RestError\n }\n },\n requestBody: Parameters.job,\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.workspaceName,\n Parameters.jobId\n ],\n headerParameters: [Parameters.accept, Parameters.contentType],\n mediaType: \"json\",\n serializer\n};\nconst cancelOperationSpec: coreHttp.OperationSpec = {\n path:\n \"/v1.0/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Quantum/workspaces/{workspaceName}/jobs/{jobId}\",\n httpMethod: \"DELETE\",\n responses: {\n 204: {},\n default: {\n bodyMapper: Mappers.RestError\n }\n },\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.workspaceName,\n Parameters.jobId\n ],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst listNextOperationSpec: coreHttp.OperationSpec = {\n path: \"{nextLink}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.JobDetailsList\n }\n },\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.workspaceName,\n Parameters.nextLink\n ],\n headerParameters: [Parameters.accept],\n serializer\n};\n"]}