@azure/arm-commitmentplans 2.0.0-beta.1 → 2.0.0-beta.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (356) hide show
  1. package/CHANGELOG.md +6 -4
  2. package/LICENSE +4 -4
  3. package/README.md +33 -12
  4. package/{dist-esm/src → dist/browser}/azureMLCommitmentPlansManagementClient.d.ts +4 -2
  5. package/dist/browser/azureMLCommitmentPlansManagementClient.d.ts.map +1 -0
  6. package/dist/browser/azureMLCommitmentPlansManagementClient.js +114 -0
  7. package/dist/browser/azureMLCommitmentPlansManagementClient.js.map +1 -0
  8. package/dist/browser/index.d.ts +5 -0
  9. package/dist/browser/index.d.ts.map +1 -0
  10. package/{dist-esm/src → dist/browser}/index.js +4 -3
  11. package/dist/browser/index.js.map +1 -0
  12. package/{dist-esm/src → dist/browser}/models/index.d.ts +29 -22
  13. package/{dist-esm/src → dist/browser}/models/index.d.ts.map +1 -1
  14. package/{dist-esm/src → dist/browser}/models/index.js +7 -0
  15. package/dist/browser/models/index.js.map +1 -0
  16. package/{dist-esm/src → dist/browser}/models/mappers.js +16 -7
  17. package/dist/browser/models/mappers.js.map +1 -0
  18. package/{dist-esm/src → dist/browser}/models/parameters.js +1 -1
  19. package/dist/browser/models/parameters.js.map +1 -0
  20. package/{dist-esm/src → dist/browser}/operations/commitmentAssociations.d.ts +3 -3
  21. package/dist/browser/operations/commitmentAssociations.d.ts.map +1 -0
  22. package/{dist-esm/src → dist/browser}/operations/commitmentAssociations.js +30 -33
  23. package/dist/browser/operations/commitmentAssociations.js.map +1 -0
  24. package/{dist-esm/src → dist/browser}/operations/commitmentPlans.d.ts +3 -3
  25. package/dist/browser/operations/commitmentPlans.d.ts.map +1 -0
  26. package/{dist-esm/src → dist/browser}/operations/commitmentPlans.js +56 -63
  27. package/dist/browser/operations/commitmentPlans.js.map +1 -0
  28. package/dist/browser/operations/index.d.ts +6 -0
  29. package/{dist-esm/src → dist/browser}/operations/index.d.ts.map +1 -1
  30. package/{dist-esm/src/operationsInterfaces → dist/browser/operations}/index.js +5 -5
  31. package/dist/browser/operations/index.js.map +1 -0
  32. package/{dist-esm/src → dist/browser}/operations/operations.d.ts +3 -3
  33. package/dist/browser/operations/operations.d.ts.map +1 -0
  34. package/{dist-esm/src → dist/browser}/operations/operations.js +16 -27
  35. package/dist/browser/operations/operations.js.map +1 -0
  36. package/{dist-esm/src → dist/browser}/operations/skus.d.ts +3 -3
  37. package/dist/browser/operations/skus.d.ts.map +1 -0
  38. package/{dist-esm/src → dist/browser}/operations/skus.js +16 -27
  39. package/dist/browser/operations/skus.js.map +1 -0
  40. package/{dist-esm/src → dist/browser}/operations/usageHistory.d.ts +3 -3
  41. package/dist/browser/operations/usageHistory.d.ts.map +1 -0
  42. package/{dist-esm/src → dist/browser}/operations/usageHistory.js +30 -33
  43. package/dist/browser/operations/usageHistory.js.map +1 -0
  44. package/{dist-esm/src → dist/browser}/operationsInterfaces/commitmentAssociations.d.ts +1 -1
  45. package/dist/browser/operationsInterfaces/commitmentAssociations.d.ts.map +1 -0
  46. package/dist/browser/operationsInterfaces/commitmentAssociations.js.map +1 -0
  47. package/{dist-esm/src → dist/browser}/operationsInterfaces/commitmentPlans.d.ts +1 -1
  48. package/dist/browser/operationsInterfaces/commitmentPlans.d.ts.map +1 -0
  49. package/dist/browser/operationsInterfaces/commitmentPlans.js.map +1 -0
  50. package/dist/browser/operationsInterfaces/index.d.ts +6 -0
  51. package/{dist-esm/src → dist/browser}/operationsInterfaces/index.d.ts.map +1 -1
  52. package/{dist-esm/src/operations → dist/browser/operationsInterfaces}/index.js +5 -5
  53. package/dist/browser/operationsInterfaces/index.js.map +1 -0
  54. package/{dist-esm/src → dist/browser}/operationsInterfaces/operations.d.ts +1 -1
  55. package/{dist-esm/src → dist/browser}/operationsInterfaces/operations.d.ts.map +1 -1
  56. package/dist/browser/operationsInterfaces/operations.js.map +1 -0
  57. package/{dist-esm/src → dist/browser}/operationsInterfaces/skus.d.ts +1 -1
  58. package/{dist-esm/src → dist/browser}/operationsInterfaces/skus.d.ts.map +1 -1
  59. package/dist/browser/operationsInterfaces/skus.js.map +1 -0
  60. package/{dist-esm/src → dist/browser}/operationsInterfaces/usageHistory.d.ts +1 -1
  61. package/dist/browser/operationsInterfaces/usageHistory.d.ts.map +1 -0
  62. package/dist/browser/operationsInterfaces/usageHistory.js.map +1 -0
  63. package/dist/browser/package.json +3 -0
  64. package/dist/browser/pagingHelper.d.ts +13 -0
  65. package/dist/browser/pagingHelper.d.ts.map +1 -0
  66. package/dist/browser/pagingHelper.js +30 -0
  67. package/dist/browser/pagingHelper.js.map +1 -0
  68. package/dist/commonjs/azureMLCommitmentPlansManagementClient.d.ts +24 -0
  69. package/dist/commonjs/azureMLCommitmentPlansManagementClient.d.ts.map +1 -0
  70. package/dist/commonjs/azureMLCommitmentPlansManagementClient.js +119 -0
  71. package/dist/commonjs/azureMLCommitmentPlansManagementClient.js.map +1 -0
  72. package/dist/commonjs/index.d.ts +5 -0
  73. package/dist/commonjs/index.d.ts.map +1 -0
  74. package/dist/commonjs/index.js +19 -0
  75. package/dist/commonjs/index.js.map +1 -0
  76. package/{types/arm-commitmentplans.d.ts → dist/commonjs/models/index.d.ts} +529 -706
  77. package/dist/commonjs/models/index.d.ts.map +1 -0
  78. package/dist/commonjs/models/index.js +37 -0
  79. package/dist/commonjs/models/index.js.map +1 -0
  80. package/dist/commonjs/models/mappers.d.ts +24 -0
  81. package/dist/commonjs/models/mappers.d.ts.map +1 -0
  82. package/dist/commonjs/models/mappers.js +753 -0
  83. package/dist/commonjs/models/mappers.js.map +1 -0
  84. package/dist/commonjs/models/parameters.d.ts +15 -0
  85. package/dist/commonjs/models/parameters.d.ts.map +1 -0
  86. package/dist/commonjs/models/parameters.js +128 -0
  87. package/dist/commonjs/models/parameters.js.map +1 -0
  88. package/dist/commonjs/operations/commitmentAssociations.d.ts +55 -0
  89. package/dist/commonjs/operations/commitmentAssociations.d.ts.map +1 -0
  90. package/dist/commonjs/operations/commitmentAssociations.js +205 -0
  91. package/dist/commonjs/operations/commitmentAssociations.js.map +1 -0
  92. package/dist/commonjs/operations/commitmentPlans.d.ts +84 -0
  93. package/dist/commonjs/operations/commitmentPlans.d.ts.map +1 -0
  94. package/dist/commonjs/operations/commitmentPlans.js +330 -0
  95. package/dist/commonjs/operations/commitmentPlans.js.map +1 -0
  96. package/dist/commonjs/operations/index.d.ts +6 -0
  97. package/dist/commonjs/operations/index.d.ts.map +1 -0
  98. package/dist/commonjs/operations/index.js +16 -0
  99. package/dist/commonjs/operations/index.js.map +1 -0
  100. package/dist/commonjs/operations/operations.d.ts +26 -0
  101. package/dist/commonjs/operations/operations.d.ts.map +1 -0
  102. package/dist/commonjs/operations/operations.js +81 -0
  103. package/dist/commonjs/operations/operations.js.map +1 -0
  104. package/dist/commonjs/operations/skus.d.ts +26 -0
  105. package/dist/commonjs/operations/skus.d.ts.map +1 -0
  106. package/dist/commonjs/operations/skus.js +81 -0
  107. package/dist/commonjs/operations/skus.js.map +1 -0
  108. package/dist/commonjs/operations/usageHistory.d.ts +38 -0
  109. package/dist/commonjs/operations/usageHistory.d.ts.map +1 -0
  110. package/dist/commonjs/operations/usageHistory.js +133 -0
  111. package/dist/commonjs/operations/usageHistory.js.map +1 -0
  112. package/dist/commonjs/operationsInterfaces/commitmentAssociations.d.ts +30 -0
  113. package/dist/commonjs/operationsInterfaces/commitmentAssociations.d.ts.map +1 -0
  114. package/dist/commonjs/operationsInterfaces/commitmentAssociations.js +10 -0
  115. package/dist/commonjs/operationsInterfaces/commitmentAssociations.js.map +1 -0
  116. package/dist/commonjs/operationsInterfaces/commitmentPlans.d.ts +48 -0
  117. package/dist/commonjs/operationsInterfaces/commitmentPlans.d.ts.map +1 -0
  118. package/dist/commonjs/operationsInterfaces/commitmentPlans.js +10 -0
  119. package/dist/commonjs/operationsInterfaces/commitmentPlans.js.map +1 -0
  120. package/dist/commonjs/operationsInterfaces/index.d.ts +6 -0
  121. package/dist/commonjs/operationsInterfaces/index.d.ts.map +1 -0
  122. package/dist/commonjs/operationsInterfaces/index.js +16 -0
  123. package/dist/commonjs/operationsInterfaces/index.js.map +1 -0
  124. package/dist/commonjs/operationsInterfaces/operations.d.ts +11 -0
  125. package/dist/commonjs/operationsInterfaces/operations.d.ts.map +1 -0
  126. package/dist/commonjs/operationsInterfaces/operations.js +10 -0
  127. package/dist/commonjs/operationsInterfaces/operations.js.map +1 -0
  128. package/dist/commonjs/operationsInterfaces/skus.d.ts +11 -0
  129. package/dist/commonjs/operationsInterfaces/skus.d.ts.map +1 -0
  130. package/dist/commonjs/operationsInterfaces/skus.js +10 -0
  131. package/dist/commonjs/operationsInterfaces/skus.js.map +1 -0
  132. package/dist/commonjs/operationsInterfaces/usageHistory.d.ts +13 -0
  133. package/dist/commonjs/operationsInterfaces/usageHistory.d.ts.map +1 -0
  134. package/dist/commonjs/operationsInterfaces/usageHistory.js +10 -0
  135. package/dist/commonjs/operationsInterfaces/usageHistory.js.map +1 -0
  136. package/dist/commonjs/package.json +3 -0
  137. package/dist/commonjs/pagingHelper.d.ts +13 -0
  138. package/dist/commonjs/pagingHelper.d.ts.map +1 -0
  139. package/dist/commonjs/pagingHelper.js +34 -0
  140. package/dist/commonjs/pagingHelper.js.map +1 -0
  141. package/{types → dist/commonjs}/tsdoc-metadata.json +11 -11
  142. package/dist/esm/azureMLCommitmentPlansManagementClient.d.ts +24 -0
  143. package/dist/esm/azureMLCommitmentPlansManagementClient.d.ts.map +1 -0
  144. package/dist/esm/azureMLCommitmentPlansManagementClient.js +114 -0
  145. package/dist/esm/azureMLCommitmentPlansManagementClient.js.map +1 -0
  146. package/dist/esm/index.d.ts +5 -0
  147. package/dist/esm/index.d.ts.map +1 -0
  148. package/{src/index.ts → dist/esm/index.js} +5 -4
  149. package/dist/esm/index.js.map +1 -0
  150. package/dist/esm/models/index.d.ts +529 -0
  151. package/dist/esm/models/index.d.ts.map +1 -0
  152. package/dist/esm/models/index.js +34 -0
  153. package/dist/esm/models/index.js.map +1 -0
  154. package/dist/esm/models/mappers.d.ts +24 -0
  155. package/dist/esm/models/mappers.d.ts.map +1 -0
  156. package/dist/esm/models/mappers.js +750 -0
  157. package/dist/esm/models/mappers.js.map +1 -0
  158. package/dist/esm/models/parameters.d.ts +15 -0
  159. package/dist/esm/models/parameters.d.ts.map +1 -0
  160. package/dist/esm/models/parameters.js +125 -0
  161. package/dist/esm/models/parameters.js.map +1 -0
  162. package/dist/esm/operations/commitmentAssociations.d.ts +55 -0
  163. package/dist/esm/operations/commitmentAssociations.d.ts.map +1 -0
  164. package/dist/esm/operations/commitmentAssociations.js +200 -0
  165. package/dist/esm/operations/commitmentAssociations.js.map +1 -0
  166. package/dist/esm/operations/commitmentPlans.d.ts +84 -0
  167. package/dist/esm/operations/commitmentPlans.d.ts.map +1 -0
  168. package/dist/esm/operations/commitmentPlans.js +325 -0
  169. package/dist/esm/operations/commitmentPlans.js.map +1 -0
  170. package/dist/esm/operations/index.d.ts +6 -0
  171. package/dist/esm/operations/index.d.ts.map +1 -0
  172. package/dist/esm/operations/index.js +13 -0
  173. package/dist/esm/operations/index.js.map +1 -0
  174. package/dist/esm/operations/operations.d.ts +26 -0
  175. package/dist/esm/operations/operations.d.ts.map +1 -0
  176. package/dist/esm/operations/operations.js +76 -0
  177. package/dist/esm/operations/operations.js.map +1 -0
  178. package/dist/esm/operations/skus.d.ts +26 -0
  179. package/dist/esm/operations/skus.d.ts.map +1 -0
  180. package/dist/esm/operations/skus.js +76 -0
  181. package/dist/esm/operations/skus.js.map +1 -0
  182. package/dist/esm/operations/usageHistory.d.ts +38 -0
  183. package/dist/esm/operations/usageHistory.d.ts.map +1 -0
  184. package/dist/esm/operations/usageHistory.js +128 -0
  185. package/dist/esm/operations/usageHistory.js.map +1 -0
  186. package/dist/esm/operationsInterfaces/commitmentAssociations.d.ts +30 -0
  187. package/dist/esm/operationsInterfaces/commitmentAssociations.d.ts.map +1 -0
  188. package/dist/esm/operationsInterfaces/commitmentAssociations.js +9 -0
  189. package/dist/esm/operationsInterfaces/commitmentAssociations.js.map +1 -0
  190. package/dist/esm/operationsInterfaces/commitmentPlans.d.ts +48 -0
  191. package/dist/esm/operationsInterfaces/commitmentPlans.d.ts.map +1 -0
  192. package/dist/esm/operationsInterfaces/commitmentPlans.js +9 -0
  193. package/dist/esm/operationsInterfaces/commitmentPlans.js.map +1 -0
  194. package/dist/esm/operationsInterfaces/index.d.ts +6 -0
  195. package/dist/esm/operationsInterfaces/index.d.ts.map +1 -0
  196. package/dist/esm/operationsInterfaces/index.js +13 -0
  197. package/dist/esm/operationsInterfaces/index.js.map +1 -0
  198. package/dist/esm/operationsInterfaces/operations.d.ts +11 -0
  199. package/dist/esm/operationsInterfaces/operations.d.ts.map +1 -0
  200. package/dist/esm/operationsInterfaces/operations.js +9 -0
  201. package/dist/esm/operationsInterfaces/operations.js.map +1 -0
  202. package/dist/esm/operationsInterfaces/skus.d.ts +11 -0
  203. package/dist/esm/operationsInterfaces/skus.d.ts.map +1 -0
  204. package/dist/esm/operationsInterfaces/skus.js +9 -0
  205. package/dist/esm/operationsInterfaces/skus.js.map +1 -0
  206. package/dist/esm/operationsInterfaces/usageHistory.d.ts +13 -0
  207. package/dist/esm/operationsInterfaces/usageHistory.d.ts.map +1 -0
  208. package/dist/esm/operationsInterfaces/usageHistory.js +9 -0
  209. package/dist/esm/operationsInterfaces/usageHistory.js.map +1 -0
  210. package/dist/esm/package.json +3 -0
  211. package/dist/esm/pagingHelper.d.ts +13 -0
  212. package/dist/esm/pagingHelper.d.ts.map +1 -0
  213. package/dist/esm/pagingHelper.js +30 -0
  214. package/dist/esm/pagingHelper.js.map +1 -0
  215. package/dist/react-native/azureMLCommitmentPlansManagementClient.d.ts +24 -0
  216. package/dist/react-native/azureMLCommitmentPlansManagementClient.d.ts.map +1 -0
  217. package/dist/react-native/azureMLCommitmentPlansManagementClient.js +114 -0
  218. package/dist/react-native/azureMLCommitmentPlansManagementClient.js.map +1 -0
  219. package/dist/react-native/index.d.ts +5 -0
  220. package/dist/react-native/index.d.ts.map +1 -0
  221. package/dist/react-native/index.js +13 -0
  222. package/dist/react-native/index.js.map +1 -0
  223. package/dist/react-native/models/index.d.ts +529 -0
  224. package/dist/react-native/models/index.d.ts.map +1 -0
  225. package/dist/react-native/models/index.js +34 -0
  226. package/dist/react-native/models/index.js.map +1 -0
  227. package/dist/react-native/models/mappers.d.ts +24 -0
  228. package/dist/react-native/models/mappers.d.ts.map +1 -0
  229. package/dist/react-native/models/mappers.js +750 -0
  230. package/dist/react-native/models/mappers.js.map +1 -0
  231. package/dist/react-native/models/parameters.d.ts +15 -0
  232. package/dist/react-native/models/parameters.d.ts.map +1 -0
  233. package/dist/react-native/models/parameters.js +125 -0
  234. package/dist/react-native/models/parameters.js.map +1 -0
  235. package/dist/react-native/operations/commitmentAssociations.d.ts +55 -0
  236. package/dist/react-native/operations/commitmentAssociations.d.ts.map +1 -0
  237. package/dist/react-native/operations/commitmentAssociations.js +200 -0
  238. package/dist/react-native/operations/commitmentAssociations.js.map +1 -0
  239. package/dist/react-native/operations/commitmentPlans.d.ts +84 -0
  240. package/dist/react-native/operations/commitmentPlans.d.ts.map +1 -0
  241. package/dist/react-native/operations/commitmentPlans.js +325 -0
  242. package/dist/react-native/operations/commitmentPlans.js.map +1 -0
  243. package/dist/react-native/operations/index.d.ts +6 -0
  244. package/dist/react-native/operations/index.d.ts.map +1 -0
  245. package/dist/react-native/operations/index.js +13 -0
  246. package/dist/react-native/operations/index.js.map +1 -0
  247. package/dist/react-native/operations/operations.d.ts +26 -0
  248. package/dist/react-native/operations/operations.d.ts.map +1 -0
  249. package/dist/react-native/operations/operations.js +76 -0
  250. package/dist/react-native/operations/operations.js.map +1 -0
  251. package/dist/react-native/operations/skus.d.ts +26 -0
  252. package/dist/react-native/operations/skus.d.ts.map +1 -0
  253. package/dist/react-native/operations/skus.js +76 -0
  254. package/dist/react-native/operations/skus.js.map +1 -0
  255. package/dist/react-native/operations/usageHistory.d.ts +38 -0
  256. package/dist/react-native/operations/usageHistory.d.ts.map +1 -0
  257. package/dist/react-native/operations/usageHistory.js +128 -0
  258. package/dist/react-native/operations/usageHistory.js.map +1 -0
  259. package/dist/react-native/operationsInterfaces/commitmentAssociations.d.ts +30 -0
  260. package/dist/react-native/operationsInterfaces/commitmentAssociations.d.ts.map +1 -0
  261. package/dist/react-native/operationsInterfaces/commitmentAssociations.js +9 -0
  262. package/dist/react-native/operationsInterfaces/commitmentAssociations.js.map +1 -0
  263. package/dist/react-native/operationsInterfaces/commitmentPlans.d.ts +48 -0
  264. package/dist/react-native/operationsInterfaces/commitmentPlans.d.ts.map +1 -0
  265. package/dist/react-native/operationsInterfaces/commitmentPlans.js +9 -0
  266. package/dist/react-native/operationsInterfaces/commitmentPlans.js.map +1 -0
  267. package/dist/react-native/operationsInterfaces/index.d.ts +6 -0
  268. package/dist/react-native/operationsInterfaces/index.d.ts.map +1 -0
  269. package/dist/react-native/operationsInterfaces/index.js +13 -0
  270. package/dist/react-native/operationsInterfaces/index.js.map +1 -0
  271. package/dist/react-native/operationsInterfaces/operations.d.ts +11 -0
  272. package/dist/react-native/operationsInterfaces/operations.d.ts.map +1 -0
  273. package/dist/react-native/operationsInterfaces/operations.js +9 -0
  274. package/dist/react-native/operationsInterfaces/operations.js.map +1 -0
  275. package/dist/react-native/operationsInterfaces/skus.d.ts +11 -0
  276. package/dist/react-native/operationsInterfaces/skus.d.ts.map +1 -0
  277. package/dist/react-native/operationsInterfaces/skus.js +9 -0
  278. package/dist/react-native/operationsInterfaces/skus.js.map +1 -0
  279. package/dist/react-native/operationsInterfaces/usageHistory.d.ts +13 -0
  280. package/dist/react-native/operationsInterfaces/usageHistory.d.ts.map +1 -0
  281. package/dist/react-native/operationsInterfaces/usageHistory.js +9 -0
  282. package/dist/react-native/operationsInterfaces/usageHistory.js.map +1 -0
  283. package/dist/react-native/package.json +3 -0
  284. package/dist/react-native/pagingHelper.d.ts +13 -0
  285. package/dist/react-native/pagingHelper.d.ts.map +1 -0
  286. package/dist/react-native/pagingHelper.js +30 -0
  287. package/dist/react-native/pagingHelper.js.map +1 -0
  288. package/package.json +97 -74
  289. package/review/{arm-commitmentplans.api.md → arm-commitmentplans-node.api.md} +7 -11
  290. package/LICENSE.txt +0 -21
  291. package/dist/index.js +0 -1794
  292. package/dist/index.js.map +0 -1
  293. package/dist/index.min.js +0 -1
  294. package/dist/index.min.js.map +0 -1
  295. package/dist-esm/src/azureMLCommitmentPlansManagementClient.d.ts.map +0 -1
  296. package/dist-esm/src/azureMLCommitmentPlansManagementClient.js +0 -55
  297. package/dist-esm/src/azureMLCommitmentPlansManagementClient.js.map +0 -1
  298. package/dist-esm/src/index.d.ts +0 -5
  299. package/dist-esm/src/index.d.ts.map +0 -1
  300. package/dist-esm/src/index.js.map +0 -1
  301. package/dist-esm/src/models/index.js.map +0 -1
  302. package/dist-esm/src/models/mappers.js.map +0 -1
  303. package/dist-esm/src/models/parameters.js.map +0 -1
  304. package/dist-esm/src/operations/commitmentAssociations.d.ts.map +0 -1
  305. package/dist-esm/src/operations/commitmentAssociations.js.map +0 -1
  306. package/dist-esm/src/operations/commitmentPlans.d.ts.map +0 -1
  307. package/dist-esm/src/operations/commitmentPlans.js.map +0 -1
  308. package/dist-esm/src/operations/index.d.ts +0 -6
  309. package/dist-esm/src/operations/index.js.map +0 -1
  310. package/dist-esm/src/operations/operations.d.ts.map +0 -1
  311. package/dist-esm/src/operations/operations.js.map +0 -1
  312. package/dist-esm/src/operations/skus.d.ts.map +0 -1
  313. package/dist-esm/src/operations/skus.js.map +0 -1
  314. package/dist-esm/src/operations/usageHistory.d.ts.map +0 -1
  315. package/dist-esm/src/operations/usageHistory.js.map +0 -1
  316. package/dist-esm/src/operationsInterfaces/commitmentAssociations.d.ts.map +0 -1
  317. package/dist-esm/src/operationsInterfaces/commitmentAssociations.js.map +0 -1
  318. package/dist-esm/src/operationsInterfaces/commitmentPlans.d.ts.map +0 -1
  319. package/dist-esm/src/operationsInterfaces/commitmentPlans.js.map +0 -1
  320. package/dist-esm/src/operationsInterfaces/index.d.ts +0 -6
  321. package/dist-esm/src/operationsInterfaces/index.js.map +0 -1
  322. package/dist-esm/src/operationsInterfaces/operations.js.map +0 -1
  323. package/dist-esm/src/operationsInterfaces/skus.js.map +0 -1
  324. package/dist-esm/src/operationsInterfaces/usageHistory.d.ts.map +0 -1
  325. package/dist-esm/src/operationsInterfaces/usageHistory.js.map +0 -1
  326. package/dist-esm/test/sampleTest.d.ts +0 -2
  327. package/dist-esm/test/sampleTest.d.ts.map +0 -1
  328. package/dist-esm/test/sampleTest.js +0 -40
  329. package/dist-esm/test/sampleTest.js.map +0 -1
  330. package/rollup.config.js +0 -188
  331. package/src/azureMLCommitmentPlansManagementClient.ts +0 -95
  332. package/src/models/index.ts +0 -579
  333. package/src/models/mappers.ts +0 -773
  334. package/src/models/parameters.ts +0 -147
  335. package/src/operations/commitmentAssociations.ts +0 -281
  336. package/src/operations/commitmentPlans.ts +0 -420
  337. package/src/operations/index.ts +0 -13
  338. package/src/operations/operations.ts +0 -95
  339. package/src/operations/skus.ts +0 -94
  340. package/src/operations/usageHistory.ts +0 -183
  341. package/src/operationsInterfaces/commitmentAssociations.ts +0 -62
  342. package/src/operationsInterfaces/commitmentPlans.ts +0 -92
  343. package/src/operationsInterfaces/index.ts +0 -13
  344. package/src/operationsInterfaces/operations.ts +0 -22
  345. package/src/operationsInterfaces/skus.ts +0 -22
  346. package/src/operationsInterfaces/usageHistory.ts +0 -26
  347. package/tsconfig.json +0 -20
  348. /package/{dist-esm/src → dist/browser}/models/mappers.d.ts +0 -0
  349. /package/{dist-esm/src → dist/browser}/models/mappers.d.ts.map +0 -0
  350. /package/{dist-esm/src → dist/browser}/models/parameters.d.ts +0 -0
  351. /package/{dist-esm/src → dist/browser}/models/parameters.d.ts.map +0 -0
  352. /package/{dist-esm/src → dist/browser}/operationsInterfaces/commitmentAssociations.js +0 -0
  353. /package/{dist-esm/src → dist/browser}/operationsInterfaces/commitmentPlans.js +0 -0
  354. /package/{dist-esm/src → dist/browser}/operationsInterfaces/operations.js +0 -0
  355. /package/{dist-esm/src → dist/browser}/operationsInterfaces/skus.js +0 -0
  356. /package/{dist-esm/src → dist/browser}/operationsInterfaces/usageHistory.js +0 -0
package/CHANGELOG.md CHANGED
@@ -1,11 +1,13 @@
1
1
  # Release History
2
-
3
- ## 2.0.0-beta.1 (2022-01-19)
4
2
 
5
- The package of @azure/arm-commitmentplans is using our next generation design principles since version 2.0.0-beta.1, which contains breaking changes.
3
+ ## 2.0.0-beta.3 (2022-11-28)
4
+
5
+ ### Features Added
6
+
7
+ The package of @azure/arm-commitmentplans is using our next generation design principles since version 2.0.0-beta.3, which contains breaking changes.
6
8
 
7
9
  To understand the detail of the change, please refer to [Changelog](https://aka.ms/js-track2-changelog).
8
10
 
9
11
  To migrate the existing applications to the latest version, please refer to [Migration Guide](https://aka.ms/js-track2-migration-guide).
10
12
 
11
- To learn more, please refer to our documentation [Quick Start](https://aka.ms/js-track2-quickstart).
13
+ To learn more, please refer to our documentation [Quick Start](https://aka.ms/azsdk/js/mgmt/quickstart ).
package/LICENSE CHANGED
@@ -1,6 +1,6 @@
1
- The MIT License (MIT)
1
+ Copyright (c) Microsoft Corporation.
2
2
 
3
- Copyright (c) 2022 Microsoft
3
+ MIT License
4
4
 
5
5
  Permission is hereby granted, free of charge, to any person obtaining a copy
6
6
  of this software and associated documentation files (the "Software"), to deal
@@ -12,10 +12,10 @@ furnished to do so, subject to the following conditions:
12
12
  The above copyright notice and this permission notice shall be included in all
13
13
  copies or substantial portions of the Software.
14
14
 
15
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
15
+ THE SOFTWARE IS PROVIDED *AS IS*, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
16
  IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
17
  FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
18
  AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
19
  LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
20
  OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
- SOFTWARE.
21
+ SOFTWARE.
package/README.md CHANGED
@@ -6,16 +6,18 @@ These APIs allow end users to operate on Azure Machine Learning Commitment Plans
6
6
 
7
7
  [Source code](https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/machinelearning/arm-commitmentplans) |
8
8
  [Package (NPM)](https://www.npmjs.com/package/@azure/arm-commitmentplans) |
9
- [API reference documentation](https://docs.microsoft.com/javascript/api/@azure/arm-commitmentplans?view=azure-node-preview) |
9
+ [API reference documentation](https://learn.microsoft.com/javascript/api/@azure/arm-commitmentplans?view=azure-node-preview) |
10
10
  [Samples](https://github.com/Azure-Samples/azure-samples-js-management)
11
11
 
12
12
  ## Getting started
13
13
 
14
14
  ### Currently supported environments
15
15
 
16
- - [LTS versions of Node.js](https://nodejs.org/about/releases/)
16
+ - [LTS versions of Node.js](https://github.com/nodejs/release#release-schedule)
17
17
  - Latest versions of Safari, Chrome, Edge and Firefox.
18
18
 
19
+ See our [support policy](https://github.com/Azure/azure-sdk-for-js/blob/main/SUPPORT.md) for more details.
20
+
19
21
  ### Prerequisites
20
22
 
21
23
  - An [Azure subscription][azure_sub].
@@ -44,17 +46,37 @@ npm install @azure/identity
44
46
  You will also need to **register a new AAD application and grant access to Azure ML Commitment Plans Management** by assigning the suitable role to your service principal (note: roles such as `"Owner"` will not grant the necessary permissions).
45
47
  Set the values of the client ID, tenant ID, and client secret of the AAD application as environment variables: `AZURE_CLIENT_ID`, `AZURE_TENANT_ID`, `AZURE_CLIENT_SECRET`.
46
48
 
47
- For more information about how to create an Azure AD Application check out [this guide](https://docs.microsoft.com/azure/active-directory/develop/howto-create-service-principal-portal).
49
+ For more information about how to create an Azure AD Application check out [this guide](https://learn.microsoft.com/azure/active-directory/develop/howto-create-service-principal-portal).
50
+
51
+ Using Node.js and Node-like environments, you can use the `DefaultAzureCredential` class to authenticate the client.
52
+
53
+ ```ts snippet:ReadmeSampleCreateClient_Node
54
+ import { AzureMLCommitmentPlansManagementClient } from "@azure/arm-commitmentplans";
55
+ import { DefaultAzureCredential } from "@azure/identity";
48
56
 
49
- ```javascript
50
- const { AzureMLCommitmentPlansManagementClient } = require("@azure/arm-commitmentplans");
51
- const { DefaultAzureCredential } = require("@azure/identity");
52
57
  const subscriptionId = "00000000-0000-0000-0000-000000000000";
53
- const client = new AzureMLCommitmentPlansManagementClient(new DefaultAzureCredential(), subscriptionId);
58
+ const client = new AzureMLCommitmentPlansManagementClient(
59
+ new DefaultAzureCredential(),
60
+ subscriptionId,
61
+ );
54
62
  ```
55
63
 
64
+ For browser environments, use the `InteractiveBrowserCredential` from the `@azure/identity` package to authenticate.
65
+
66
+ ```ts snippet:ReadmeSampleCreateClient_Browser
67
+ import { InteractiveBrowserCredential } from "@azure/identity";
68
+ import { AzureMLCommitmentPlansManagementClient } from "@azure/arm-commitmentplans";
69
+
70
+ const subscriptionId = "00000000-0000-0000-0000-000000000000";
71
+ const credential = new InteractiveBrowserCredential({
72
+ tenantId: "<YOUR_TENANT_ID>",
73
+ clientId: "<YOUR_CLIENT_ID>",
74
+ });
75
+ const client = new AzureMLCommitmentPlansManagementClient(credential, subscriptionId);
76
+ ```
56
77
 
57
78
  ### JavaScript Bundle
79
+
58
80
  To use this client library in the browser, first you need to use a bundler. For details on how to do this, please refer to our [bundling documentation](https://aka.ms/AzureSDKBundling).
59
81
 
60
82
  ## Key concepts
@@ -69,8 +91,9 @@ To use this client library in the browser, first you need to use a bundler. For
69
91
 
70
92
  Enabling logging may help uncover useful information about failures. In order to see a log of HTTP requests and responses, set the `AZURE_LOG_LEVEL` environment variable to `info`. Alternatively, logging can be enabled at runtime by calling `setLogLevel` in the `@azure/logger`:
71
93
 
72
- ```javascript
73
- const { setLogLevel } = require("@azure/logger");
94
+ ```ts snippet:SetLogLevel
95
+ import { setLogLevel } from "@azure/logger";
96
+
74
97
  setLogLevel("info");
75
98
  ```
76
99
 
@@ -88,9 +111,7 @@ If you'd like to contribute to this library, please read the [contributing guide
88
111
 
89
112
  - [Microsoft Azure SDK for JavaScript](https://github.com/Azure/azure-sdk-for-js)
90
113
 
91
- ![Impressions](https://azure-sdk-impressions.azurewebsites.net/api/impressions/azure-sdk-for-js%2Fsdk%2Fmachinelearning%2Farm-commitmentplans%2FREADME.png)
92
-
93
- [azure_cli]: https://docs.microsoft.com/cli/azure
114
+ [azure_cli]: https://learn.microsoft.com/cli/azure
94
115
  [azure_sub]: https://azure.microsoft.com/free/
95
116
  [azure_sub]: https://azure.microsoft.com/free/
96
117
  [azure_portal]: https://portal.azure.com
@@ -1,7 +1,7 @@
1
1
  import * as coreClient from "@azure/core-client";
2
2
  import * as coreAuth from "@azure/core-auth";
3
- import { Operations, Skus, CommitmentAssociations, CommitmentPlans, UsageHistory } from "./operationsInterfaces";
4
- import { AzureMLCommitmentPlansManagementClientOptionalParams } from "./models";
3
+ import { Operations, Skus, CommitmentAssociations, CommitmentPlans, UsageHistory } from "./operationsInterfaces/index.js";
4
+ import { AzureMLCommitmentPlansManagementClientOptionalParams } from "./models/index.js";
5
5
  export declare class AzureMLCommitmentPlansManagementClient extends coreClient.ServiceClient {
6
6
  $host: string;
7
7
  apiVersion: string;
@@ -13,6 +13,8 @@ export declare class AzureMLCommitmentPlansManagementClient extends coreClient.S
13
13
  * @param options The parameter options
14
14
  */
15
15
  constructor(credentials: coreAuth.TokenCredential, subscriptionId: string, options?: AzureMLCommitmentPlansManagementClientOptionalParams);
16
+ /** A function that adds a policy that sets the api-version (or equivalent) to reflect the library version. */
17
+ private addCustomApiVersionPolicy;
16
18
  operations: Operations;
17
19
  skus: Skus;
18
20
  commitmentAssociations: CommitmentAssociations;
@@ -0,0 +1 @@
1
+ {"version":3,"file":"azureMLCommitmentPlansManagementClient.d.ts","sourceRoot":"","sources":["../../src/azureMLCommitmentPlansManagementClient.ts"],"names":[],"mappings":"AAQA,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AAOjD,OAAO,KAAK,QAAQ,MAAM,kBAAkB,CAAC;AAQ7C,OAAO,EACL,UAAU,EACV,IAAI,EACJ,sBAAsB,EACtB,eAAe,EACf,YAAY,EACb,MAAM,iCAAiC,CAAC;AACzC,OAAO,EAAE,oDAAoD,EAAE,MAAM,mBAAmB,CAAC;AAEzF,qBAAa,sCAAuC,SAAQ,UAAU,CAAC,aAAa;IAClF,KAAK,EAAE,MAAM,CAAC;IACd,UAAU,EAAE,MAAM,CAAC;IACnB,cAAc,EAAE,MAAM,CAAC;IAEvB;;;;;OAKG;gBAED,WAAW,EAAE,QAAQ,CAAC,eAAe,EACrC,cAAc,EAAE,MAAM,EACtB,OAAO,CAAC,EAAE,oDAAoD;IAgFhE,8GAA8G;IAC9G,OAAO,CAAC,yBAAyB;IA2BjC,UAAU,EAAE,UAAU,CAAC;IACvB,IAAI,EAAE,IAAI,CAAC;IACX,sBAAsB,EAAE,sBAAsB,CAAC;IAC/C,eAAe,EAAE,eAAe,CAAC;IACjC,YAAY,EAAE,YAAY,CAAC;CAC5B"}
@@ -0,0 +1,114 @@
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 * as coreClient from "@azure/core-client";
9
+ import * as coreRestPipeline from "@azure/core-rest-pipeline";
10
+ import { OperationsImpl, SkusImpl, CommitmentAssociationsImpl, CommitmentPlansImpl, UsageHistoryImpl } from "./operations/index.js";
11
+ export class AzureMLCommitmentPlansManagementClient extends coreClient.ServiceClient {
12
+ $host;
13
+ apiVersion;
14
+ subscriptionId;
15
+ /**
16
+ * Initializes a new instance of the AzureMLCommitmentPlansManagementClient class.
17
+ * @param credentials Subscription credentials which uniquely identify client subscription.
18
+ * @param subscriptionId Azure Subscription ID.
19
+ * @param options The parameter options
20
+ */
21
+ constructor(credentials, subscriptionId, options) {
22
+ if (credentials === undefined) {
23
+ throw new Error("'credentials' cannot be null");
24
+ }
25
+ if (subscriptionId === undefined) {
26
+ throw new Error("'subscriptionId' cannot be null");
27
+ }
28
+ // Initializing default values for options
29
+ if (!options) {
30
+ options = {};
31
+ }
32
+ const defaults = {
33
+ requestContentType: "application/json; charset=utf-8",
34
+ credential: credentials
35
+ };
36
+ const packageDetails = `azsdk-js-arm-commitmentplans/2.0.0-beta.3`;
37
+ const userAgentPrefix = options.userAgentOptions && options.userAgentOptions.userAgentPrefix
38
+ ? `${options.userAgentOptions.userAgentPrefix} ${packageDetails}`
39
+ : `${packageDetails}`;
40
+ const optionsWithDefaults = {
41
+ ...defaults,
42
+ ...options,
43
+ userAgentOptions: {
44
+ userAgentPrefix
45
+ },
46
+ endpoint: options.endpoint ?? options.baseUri ?? "https://management.azure.com"
47
+ };
48
+ super(optionsWithDefaults);
49
+ let bearerTokenAuthenticationPolicyFound = false;
50
+ if (options?.pipeline && options.pipeline.getOrderedPolicies().length > 0) {
51
+ const pipelinePolicies = options.pipeline.getOrderedPolicies();
52
+ bearerTokenAuthenticationPolicyFound = pipelinePolicies.some((pipelinePolicy) => pipelinePolicy.name ===
53
+ coreRestPipeline.bearerTokenAuthenticationPolicyName);
54
+ }
55
+ if (!options ||
56
+ !options.pipeline ||
57
+ options.pipeline.getOrderedPolicies().length == 0 ||
58
+ !bearerTokenAuthenticationPolicyFound) {
59
+ this.pipeline.removePolicy({
60
+ name: coreRestPipeline.bearerTokenAuthenticationPolicyName
61
+ });
62
+ this.pipeline.addPolicy(coreRestPipeline.bearerTokenAuthenticationPolicy({
63
+ credential: credentials,
64
+ scopes: optionsWithDefaults.credentialScopes ??
65
+ `${optionsWithDefaults.endpoint}/.default`,
66
+ challengeCallbacks: {
67
+ authorizeRequestOnChallenge: coreClient.authorizeRequestOnClaimChallenge
68
+ }
69
+ }));
70
+ }
71
+ // Parameter assignments
72
+ this.subscriptionId = subscriptionId;
73
+ // Assigning values to Constant parameters
74
+ this.$host = options.$host || "https://management.azure.com";
75
+ this.apiVersion = options.apiVersion || "2016-05-01-preview";
76
+ this.operations = new OperationsImpl(this);
77
+ this.skus = new SkusImpl(this);
78
+ this.commitmentAssociations = new CommitmentAssociationsImpl(this);
79
+ this.commitmentPlans = new CommitmentPlansImpl(this);
80
+ this.usageHistory = new UsageHistoryImpl(this);
81
+ this.addCustomApiVersionPolicy(options.apiVersion);
82
+ }
83
+ /** A function that adds a policy that sets the api-version (or equivalent) to reflect the library version. */
84
+ addCustomApiVersionPolicy(apiVersion) {
85
+ if (!apiVersion) {
86
+ return;
87
+ }
88
+ const apiVersionPolicy = {
89
+ name: "CustomApiVersionPolicy",
90
+ async sendRequest(request, next) {
91
+ const param = request.url.split("?");
92
+ if (param.length > 1) {
93
+ const newParams = param[1].split("&").map((item) => {
94
+ if (item.indexOf("api-version") > -1) {
95
+ return "api-version=" + apiVersion;
96
+ }
97
+ else {
98
+ return item;
99
+ }
100
+ });
101
+ request.url = param[0] + "?" + newParams.join("&");
102
+ }
103
+ return next(request);
104
+ }
105
+ };
106
+ this.pipeline.addPolicy(apiVersionPolicy);
107
+ }
108
+ operations;
109
+ skus;
110
+ commitmentAssociations;
111
+ commitmentPlans;
112
+ usageHistory;
113
+ }
114
+ //# sourceMappingURL=azureMLCommitmentPlansManagementClient.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"azureMLCommitmentPlansManagementClient.js","sourceRoot":"","sources":["../../src/azureMLCommitmentPlansManagementClient.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AACjD,OAAO,KAAK,gBAAgB,MAAM,2BAA2B,CAAC;AAO9D,OAAO,EACL,cAAc,EACd,QAAQ,EACR,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(c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport * as coreClient from \"@azure/core-client\";\nimport * as coreRestPipeline from \"@azure/core-rest-pipeline\";\nimport {\n PipelineRequest,\n PipelineResponse,\n SendRequest\n} from \"@azure/core-rest-pipeline\";\nimport * as coreAuth from \"@azure/core-auth\";\nimport {\n OperationsImpl,\n SkusImpl,\n CommitmentAssociationsImpl,\n CommitmentPlansImpl,\n UsageHistoryImpl\n} from \"./operations/index.js\";\nimport {\n Operations,\n Skus,\n CommitmentAssociations,\n CommitmentPlans,\n UsageHistory\n} from \"./operationsInterfaces/index.js\";\nimport { AzureMLCommitmentPlansManagementClientOptionalParams } from \"./models/index.js\";\n\nexport class AzureMLCommitmentPlansManagementClient extends coreClient.ServiceClient {\n $host: string;\n apiVersion: string;\n subscriptionId: string;\n\n /**\n * Initializes a new instance of the AzureMLCommitmentPlansManagementClient class.\n * @param credentials Subscription credentials which uniquely identify client subscription.\n * @param subscriptionId Azure Subscription ID.\n * @param options The parameter options\n */\n constructor(\n credentials: coreAuth.TokenCredential,\n subscriptionId: string,\n options?: AzureMLCommitmentPlansManagementClientOptionalParams\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\n // Initializing default values for options\n if (!options) {\n options = {};\n }\n const defaults: AzureMLCommitmentPlansManagementClientOptionalParams = {\n requestContentType: \"application/json; charset=utf-8\",\n credential: credentials\n };\n\n const packageDetails = `azsdk-js-arm-commitmentplans/2.0.0-beta.3`;\n const userAgentPrefix =\n options.userAgentOptions && options.userAgentOptions.userAgentPrefix\n ? `${options.userAgentOptions.userAgentPrefix} ${packageDetails}`\n : `${packageDetails}`;\n\n const optionsWithDefaults = {\n ...defaults,\n ...options,\n userAgentOptions: {\n userAgentPrefix\n },\n endpoint:\n options.endpoint ?? options.baseUri ?? \"https://management.azure.com\"\n };\n super(optionsWithDefaults);\n\n let bearerTokenAuthenticationPolicyFound: boolean = false;\n if (options?.pipeline && options.pipeline.getOrderedPolicies().length > 0) {\n const pipelinePolicies: coreRestPipeline.PipelinePolicy[] = options.pipeline.getOrderedPolicies();\n bearerTokenAuthenticationPolicyFound = pipelinePolicies.some(\n (pipelinePolicy) =>\n pipelinePolicy.name ===\n coreRestPipeline.bearerTokenAuthenticationPolicyName\n );\n }\n if (\n !options ||\n !options.pipeline ||\n options.pipeline.getOrderedPolicies().length == 0 ||\n !bearerTokenAuthenticationPolicyFound\n ) {\n this.pipeline.removePolicy({\n name: coreRestPipeline.bearerTokenAuthenticationPolicyName\n });\n this.pipeline.addPolicy(\n coreRestPipeline.bearerTokenAuthenticationPolicy({\n credential: credentials,\n scopes:\n optionsWithDefaults.credentialScopes ??\n `${optionsWithDefaults.endpoint}/.default`,\n challengeCallbacks: {\n authorizeRequestOnChallenge:\n coreClient.authorizeRequestOnClaimChallenge\n }\n })\n );\n }\n // Parameter assignments\n this.subscriptionId = subscriptionId;\n\n // Assigning values to Constant parameters\n this.$host = options.$host || \"https://management.azure.com\";\n this.apiVersion = options.apiVersion || \"2016-05-01-preview\";\n this.operations = new OperationsImpl(this);\n this.skus = new SkusImpl(this);\n this.commitmentAssociations = new CommitmentAssociationsImpl(this);\n this.commitmentPlans = new CommitmentPlansImpl(this);\n this.usageHistory = new UsageHistoryImpl(this);\n this.addCustomApiVersionPolicy(options.apiVersion);\n }\n\n /** A function that adds a policy that sets the api-version (or equivalent) to reflect the library version. */\n private addCustomApiVersionPolicy(apiVersion?: string) {\n if (!apiVersion) {\n return;\n }\n const apiVersionPolicy = {\n name: \"CustomApiVersionPolicy\",\n async sendRequest(\n request: PipelineRequest,\n next: SendRequest\n ): Promise<PipelineResponse> {\n const param = request.url.split(\"?\");\n if (param.length > 1) {\n const newParams = param[1].split(\"&\").map((item) => {\n if (item.indexOf(\"api-version\") > -1) {\n return \"api-version=\" + apiVersion;\n } else {\n return item;\n }\n });\n request.url = param[0] + \"?\" + newParams.join(\"&\");\n }\n return next(request);\n }\n };\n this.pipeline.addPolicy(apiVersionPolicy);\n }\n\n operations: Operations;\n skus: Skus;\n commitmentAssociations: CommitmentAssociations;\n commitmentPlans: CommitmentPlans;\n usageHistory: UsageHistory;\n}\n"]}
@@ -0,0 +1,5 @@
1
+ export { getContinuationToken } from "./pagingHelper.js";
2
+ export * from "./models/index.js";
3
+ export { AzureMLCommitmentPlansManagementClient } from "./azureMLCommitmentPlansManagementClient.js";
4
+ export * from "./operationsInterfaces/index.js";
5
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AASA,OAAO,EAAE,oBAAoB,EAAE,MAAM,mBAAmB,CAAC;AACzD,cAAc,mBAAmB,CAAC;AAClC,OAAO,EAAE,sCAAsC,EAAE,MAAM,6CAA6C,CAAC;AACrG,cAAc,iCAAiC,CAAC"}
@@ -6,7 +6,8 @@
6
6
  * Changes may cause incorrect behavior and will be lost if the code is regenerated.
7
7
  */
8
8
  /// <reference lib="esnext.asynciterable" />
9
- export * from "./models";
10
- export { AzureMLCommitmentPlansManagementClient } from "./azureMLCommitmentPlansManagementClient";
11
- export * from "./operationsInterfaces";
9
+ export { getContinuationToken } from "./pagingHelper.js";
10
+ export * from "./models/index.js";
11
+ export { AzureMLCommitmentPlansManagementClient } from "./azureMLCommitmentPlansManagementClient.js";
12
+ export * from "./operationsInterfaces/index.js";
12
13
  //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,4CAA4C;AAC5C,OAAO,EAAE,oBAAoB,EAAE,MAAM,mBAAmB,CAAC;AACzD,cAAc,mBAAmB,CAAC;AAClC,OAAO,EAAE,sCAAsC,EAAE,MAAM,6CAA6C,CAAC;AACrG,cAAc,iCAAiC,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 { getContinuationToken } from \"./pagingHelper.js\";\nexport * from \"./models/index.js\";\nexport { AzureMLCommitmentPlansManagementClient } from \"./azureMLCommitmentPlansManagementClient.js\";\nexport * from \"./operationsInterfaces/index.js\";\n"]}
@@ -354,14 +354,14 @@ export interface PlanUsageHistory {
354
354
  usageDate?: Date;
355
355
  }
356
356
  /** Represents the association between a commitment plan and some other resource, such as a Machine Learning web service. */
357
- export declare type CommitmentAssociation = Resource & {
357
+ export interface CommitmentAssociation extends Resource {
358
358
  /** An entity tag used to enforce optimistic concurrency. */
359
359
  etag?: string;
360
360
  /** The properties of the commitment association resource. */
361
361
  properties?: CommitmentAssociationProperties;
362
- };
362
+ }
363
363
  /** An Azure ML commitment plan resource. */
364
- export declare type CommitmentPlan = Resource & {
364
+ export interface CommitmentPlan extends Resource {
365
365
  /** An entity tag used to enforce optimistic concurrency. */
366
366
  etag?: string;
367
367
  /**
@@ -371,11 +371,14 @@ export declare type CommitmentPlan = Resource & {
371
371
  readonly properties?: CommitmentPlanProperties;
372
372
  /** The commitment plan SKU. */
373
373
  sku?: ResourceSku;
374
- };
374
+ }
375
375
  /** Known values of {@link SkuCapacityScaleType} that the service accepts. */
376
376
  export declare enum KnownSkuCapacityScaleType {
377
+ /** Automatic */
377
378
  Automatic = "Automatic",
379
+ /** Manual */
378
380
  Manual = "Manual",
381
+ /** None */
379
382
  None = "None"
380
383
  }
381
384
  /**
@@ -387,10 +390,12 @@ export declare enum KnownSkuCapacityScaleType {
387
390
  * **Manual** \
388
391
  * **None**
389
392
  */
390
- export declare type SkuCapacityScaleType = string;
393
+ export type SkuCapacityScaleType = string;
391
394
  /** Known values of {@link ResourceSkuRestrictionsType} that the service accepts. */
392
395
  export declare enum KnownResourceSkuRestrictionsType {
396
+ /** Location */
393
397
  Location = "location",
398
+ /** Zone */
394
399
  Zone = "zone"
395
400
  }
396
401
  /**
@@ -401,10 +406,12 @@ export declare enum KnownResourceSkuRestrictionsType {
401
406
  * **location** \
402
407
  * **zone**
403
408
  */
404
- export declare type ResourceSkuRestrictionsType = string;
409
+ export type ResourceSkuRestrictionsType = string;
405
410
  /** Known values of {@link ResourceSkuRestrictionsReasonCode} that the service accepts. */
406
411
  export declare enum KnownResourceSkuRestrictionsReasonCode {
412
+ /** QuotaId */
407
413
  QuotaId = "QuotaId",
414
+ /** NotAvailableForSubscription */
408
415
  NotAvailableForSubscription = "NotAvailableForSubscription"
409
416
  }
410
417
  /**
@@ -415,51 +422,51 @@ export declare enum KnownResourceSkuRestrictionsReasonCode {
415
422
  * **QuotaId** \
416
423
  * **NotAvailableForSubscription**
417
424
  */
418
- export declare type ResourceSkuRestrictionsReasonCode = string;
425
+ export type ResourceSkuRestrictionsReasonCode = string;
419
426
  /** Optional parameters. */
420
427
  export interface OperationsListOptionalParams extends coreClient.OperationOptions {
421
428
  }
422
429
  /** Contains response data for the list operation. */
423
- export declare type OperationsListResponse = OperationEntityListResult;
430
+ export type OperationsListResponse = OperationEntityListResult;
424
431
  /** Optional parameters. */
425
432
  export interface SkusListOptionalParams extends coreClient.OperationOptions {
426
433
  }
427
434
  /** Contains response data for the list operation. */
428
- export declare type SkusListResponse = SkuListResult;
435
+ export type SkusListResponse = SkuListResult;
429
436
  /** Optional parameters. */
430
437
  export interface CommitmentAssociationsGetOptionalParams extends coreClient.OperationOptions {
431
438
  }
432
439
  /** Contains response data for the get operation. */
433
- export declare type CommitmentAssociationsGetResponse = CommitmentAssociation;
440
+ export type CommitmentAssociationsGetResponse = CommitmentAssociation;
434
441
  /** Optional parameters. */
435
442
  export interface CommitmentAssociationsListOptionalParams extends coreClient.OperationOptions {
436
443
  /** Continuation token for pagination. */
437
444
  skipToken?: string;
438
445
  }
439
446
  /** Contains response data for the list operation. */
440
- export declare type CommitmentAssociationsListResponse = CommitmentAssociationListResult;
447
+ export type CommitmentAssociationsListResponse = CommitmentAssociationListResult;
441
448
  /** Optional parameters. */
442
449
  export interface CommitmentAssociationsMoveOptionalParams extends coreClient.OperationOptions {
443
450
  }
444
451
  /** Contains response data for the move operation. */
445
- export declare type CommitmentAssociationsMoveResponse = CommitmentAssociation;
452
+ export type CommitmentAssociationsMoveResponse = CommitmentAssociation;
446
453
  /** Optional parameters. */
447
454
  export interface CommitmentAssociationsListNextOptionalParams extends coreClient.OperationOptions {
448
455
  /** Continuation token for pagination. */
449
456
  skipToken?: string;
450
457
  }
451
458
  /** Contains response data for the listNext operation. */
452
- export declare type CommitmentAssociationsListNextResponse = CommitmentAssociationListResult;
459
+ export type CommitmentAssociationsListNextResponse = CommitmentAssociationListResult;
453
460
  /** Optional parameters. */
454
461
  export interface CommitmentPlansGetOptionalParams extends coreClient.OperationOptions {
455
462
  }
456
463
  /** Contains response data for the get operation. */
457
- export declare type CommitmentPlansGetResponse = CommitmentPlan;
464
+ export type CommitmentPlansGetResponse = CommitmentPlan;
458
465
  /** Optional parameters. */
459
466
  export interface CommitmentPlansCreateOrUpdateOptionalParams extends coreClient.OperationOptions {
460
467
  }
461
468
  /** Contains response data for the createOrUpdate operation. */
462
- export declare type CommitmentPlansCreateOrUpdateResponse = CommitmentPlan;
469
+ export type CommitmentPlansCreateOrUpdateResponse = CommitmentPlan;
463
470
  /** Optional parameters. */
464
471
  export interface CommitmentPlansRemoveOptionalParams extends coreClient.OperationOptions {
465
472
  }
@@ -467,49 +474,49 @@ export interface CommitmentPlansRemoveOptionalParams extends coreClient.Operatio
467
474
  export interface CommitmentPlansPatchOptionalParams extends coreClient.OperationOptions {
468
475
  }
469
476
  /** Contains response data for the patch operation. */
470
- export declare type CommitmentPlansPatchResponse = CommitmentPlan;
477
+ export type CommitmentPlansPatchResponse = CommitmentPlan;
471
478
  /** Optional parameters. */
472
479
  export interface CommitmentPlansListOptionalParams extends coreClient.OperationOptions {
473
480
  /** Continuation token for pagination. */
474
481
  skipToken?: string;
475
482
  }
476
483
  /** Contains response data for the list operation. */
477
- export declare type CommitmentPlansListResponse = CommitmentPlanListResult;
484
+ export type CommitmentPlansListResponse = CommitmentPlanListResult;
478
485
  /** Optional parameters. */
479
486
  export interface CommitmentPlansListInResourceGroupOptionalParams extends coreClient.OperationOptions {
480
487
  /** Continuation token for pagination. */
481
488
  skipToken?: string;
482
489
  }
483
490
  /** Contains response data for the listInResourceGroup operation. */
484
- export declare type CommitmentPlansListInResourceGroupResponse = CommitmentPlanListResult;
491
+ export type CommitmentPlansListInResourceGroupResponse = CommitmentPlanListResult;
485
492
  /** Optional parameters. */
486
493
  export interface CommitmentPlansListNextOptionalParams extends coreClient.OperationOptions {
487
494
  /** Continuation token for pagination. */
488
495
  skipToken?: string;
489
496
  }
490
497
  /** Contains response data for the listNext operation. */
491
- export declare type CommitmentPlansListNextResponse = CommitmentPlanListResult;
498
+ export type CommitmentPlansListNextResponse = CommitmentPlanListResult;
492
499
  /** Optional parameters. */
493
500
  export interface CommitmentPlansListInResourceGroupNextOptionalParams extends coreClient.OperationOptions {
494
501
  /** Continuation token for pagination. */
495
502
  skipToken?: string;
496
503
  }
497
504
  /** Contains response data for the listInResourceGroupNext operation. */
498
- export declare type CommitmentPlansListInResourceGroupNextResponse = CommitmentPlanListResult;
505
+ export type CommitmentPlansListInResourceGroupNextResponse = CommitmentPlanListResult;
499
506
  /** Optional parameters. */
500
507
  export interface UsageHistoryListOptionalParams extends coreClient.OperationOptions {
501
508
  /** Continuation token for pagination. */
502
509
  skipToken?: string;
503
510
  }
504
511
  /** Contains response data for the list operation. */
505
- export declare type UsageHistoryListResponse = PlanUsageHistoryListResult;
512
+ export type UsageHistoryListResponse = PlanUsageHistoryListResult;
506
513
  /** Optional parameters. */
507
514
  export interface UsageHistoryListNextOptionalParams extends coreClient.OperationOptions {
508
515
  /** Continuation token for pagination. */
509
516
  skipToken?: string;
510
517
  }
511
518
  /** Contains response data for the listNext operation. */
512
- export declare type UsageHistoryListNextResponse = PlanUsageHistoryListResult;
519
+ export type UsageHistoryListNextResponse = PlanUsageHistoryListResult;
513
520
  /** Optional parameters. */
514
521
  export interface AzureMLCommitmentPlansManagementClientOptionalParams extends coreClient.ServiceClientOptions {
515
522
  /** server parameter */
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/models/index.ts"],"names":[],"mappings":"AAQA,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AAEjD,uCAAuC;AACvC,MAAM,WAAW,yBAAyB;IACxC;;;OAGG;IACH,QAAQ,CAAC,KAAK,CAAC,EAAE,eAAe,EAAE,CAAC;CACpC;AAED,wBAAwB;AACxB,MAAM,WAAW,eAAe;IAC9B;;;OAGG;IACH,QAAQ,CAAC,IAAI,CAAC,EAAE,MAAM,CAAC;IACvB,8BAA8B;IAC9B,OAAO,CAAC,EAAE,oBAAoB,CAAC;CAChC;AAED,8BAA8B;AAC9B,MAAM,WAAW,oBAAoB;IACnC;;;OAGG;IACH,QAAQ,CAAC,WAAW,CAAC,EAAE,MAAM,CAAC;IAC9B;;;OAGG;IACH,QAAQ,CAAC,SAAS,CAAC,EAAE,MAAM,CAAC;IAC5B;;;OAGG;IACH,QAAQ,CAAC,QAAQ,CAAC,EAAE,MAAM,CAAC;IAC3B;;;OAGG;IACH,QAAQ,CAAC,QAAQ,CAAC,EAAE,MAAM,CAAC;CAC5B;AAED,wCAAwC;AACxC,MAAM,WAAW,aAAa;IAC5B,0FAA0F;IAC1F,QAAQ,CAAC,KAAK,CAAC,EAAE,UAAU,EAAE,CAAC;CAC/B;AAED,wCAAwC;AACxC,MAAM,WAAW,UAAU;IACzB;;;OAGG;IACH,QAAQ,CAAC,YAAY,CAAC,EAAE,MAAM,CAAC;IAC/B;;;OAGG;IACH,QAAQ,CAAC,IAAI,CAAC,EAAE,MAAM,C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pB;AAED,yDAAyD;AACzD,MAAM,MAAM,4BAA4B,GAAG,0BAA0B,CAAC;AAEtE,2BAA2B;AAC3B,MAAM,WAAW,oDACf,SAAQ,UAAU,CAAC,oBAAoB;IACvC,uBAAuB;IACvB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,kBAAkB;IAClB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,iCAAiC;IACjC,QAAQ,CAAC,EAAE,MAAM,CAAC;CACnB"}
@@ -8,20 +8,27 @@
8
8
  /** Known values of {@link SkuCapacityScaleType} that the service accepts. */
9
9
  export var KnownSkuCapacityScaleType;
10
10
  (function (KnownSkuCapacityScaleType) {
11
+ /** Automatic */
11
12
  KnownSkuCapacityScaleType["Automatic"] = "Automatic";
13
+ /** Manual */
12
14
  KnownSkuCapacityScaleType["Manual"] = "Manual";
15
+ /** None */
13
16
  KnownSkuCapacityScaleType["None"] = "None";
14
17
  })(KnownSkuCapacityScaleType || (KnownSkuCapacityScaleType = {}));
15
18
  /** Known values of {@link ResourceSkuRestrictionsType} that the service accepts. */
16
19
  export var KnownResourceSkuRestrictionsType;
17
20
  (function (KnownResourceSkuRestrictionsType) {
21
+ /** Location */
18
22
  KnownResourceSkuRestrictionsType["Location"] = "location";
23
+ /** Zone */
19
24
  KnownResourceSkuRestrictionsType["Zone"] = "zone";
20
25
  })(KnownResourceSkuRestrictionsType || (KnownResourceSkuRestrictionsType = {}));
21
26
  /** Known values of {@link ResourceSkuRestrictionsReasonCode} that the service accepts. */
22
27
  export var KnownResourceSkuRestrictionsReasonCode;
23
28
  (function (KnownResourceSkuRestrictionsReasonCode) {
29
+ /** QuotaId */
24
30
  KnownResourceSkuRestrictionsReasonCode["QuotaId"] = "QuotaId";
31
+ /** NotAvailableForSubscription */
25
32
  KnownResourceSkuRestrictionsReasonCode["NotAvailableForSubscription"] = "NotAvailableForSubscription";
26
33
  })(KnownResourceSkuRestrictionsReasonCode || (KnownResourceSkuRestrictionsReasonCode = {}));
27
34
  //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/models/index.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AA6XH,6EAA6E;AAC7E,MAAM,CAAN,IAAY,yBAOX;AAPD,WAAY,yBAAyB;IACnC,gBAAgB;IAChB,oDAAuB,CAAA;IACvB,aAAa;IACb,8CAAiB,CAAA;IACjB,WAAW;IACX,0CAAa,CAAA;AACf,CAAC,EAPW,yBAAyB,KAAzB,yBAAyB,QAOpC;AAaD,oFAAoF;AACpF,MAAM,CAAN,IAAY,gCAKX;AALD,WAAY,gCAAgC;IAC1C,eAAe;IACf,yDAAqB,CAAA;IACrB,WAAW;IACX,iDAAa,CAAA;AACf,CAAC,EALW,gCAAgC,KAAhC,gCAAgC,QAK3C;AAYD,0FAA0F;AAC1F,MAAM,CAAN,IAAY,sCAKX;AALD,WAAY,sCAAsC;IAChD,cAAc;IACd,6DAAmB,CAAA;IACnB,kCAAkC;IAClC,qGAA2D,CAAA;AAC7D,CAAC,EALW,sCAAsC,KAAtC,sCAAsC,QAKjD","sourcesContent":["/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport * as coreClient from \"@azure/core-client\";\n\n/** The list of REST API operations. */\nexport interface OperationEntityListResult {\n /**\n * The list of operations.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly value?: OperationEntity[];\n}\n\n/** An API operation. */\nexport interface OperationEntity {\n /**\n * Operation name: {provider}/{resource}/{operation}.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly name?: string;\n /** The API operation info. */\n display?: OperationDisplayInfo;\n}\n\n/** The API operation info. */\nexport interface OperationDisplayInfo {\n /**\n * The description of the operation.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly description?: string;\n /**\n * The action that users can perform, based on their permission level.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly operation?: string;\n /**\n * The service provider.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly provider?: string;\n /**\n * The resource on which the operation is performed.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly resource?: string;\n}\n\n/** The list of commitment plan SKUs. */\nexport interface SkuListResult {\n /** NOTE: This property will not be serialized. It can only be populated by the server. */\n readonly value?: CatalogSku[];\n}\n\n/** Details of a commitment plan SKU. */\nexport interface CatalogSku {\n /**\n * Resource type name\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly resourceType?: string;\n /**\n * SKU name\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly name?: string;\n /**\n * SKU tier\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly tier?: string;\n /**\n * Regions where the SKU is available.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly locations?: string[];\n /**\n * SKU scaling information\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly capacity?: SkuCapacity;\n /**\n * The capability information for the specified SKU.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly capabilities?: SkuCapability[];\n /**\n * The cost information for the specified SKU.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly costs?: SkuCost[];\n /**\n * Restrictions which would prevent a SKU from being used. This is empty if there are no restrictions.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly restrictions?: SkuRestrictions[];\n}\n\n/** Describes scaling information of a SKU. */\nexport interface SkuCapacity {\n /**\n * The minimum capacity.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly minimum?: number;\n /**\n * The maximum capacity that can be set.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly maximum?: number;\n /**\n * The default capacity.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly default?: number;\n /**\n * The scale type applicable to the sku.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly scaleType?: SkuCapacityScaleType;\n}\n\n/** Describes The SKU capabilities object. */\nexport interface SkuCapability {\n /**\n * The capability name.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly name?: string;\n /**\n * The capability value.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly value?: string;\n}\n\n/** Describes metadata for SKU cost info. */\nexport interface SkuCost {\n /**\n * The meter used for this part of a SKU's cost.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly meterID?: string;\n /**\n * The multiplier for the meter ID.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly quantity?: number;\n /**\n * The overall duration represented by the quantity.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly extendedUnit?: string;\n}\n\n/** Describes restrictions which would prevent a SKU from being used. */\nexport interface SkuRestrictions {\n /**\n * The type of restrictions.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly type?: ResourceSkuRestrictionsType;\n /**\n * The value of restrictions. If the restriction type is set to location. This would be different locations where the SKU is restricted.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly values?: string[];\n /**\n * The reason for restriction.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly reasonCode?: ResourceSkuRestrictionsReasonCode;\n}\n\n/** Properties of an Azure ML commitment association. */\nexport interface CommitmentAssociationProperties {\n /**\n * The ID of the resource this association points to, such as the ARM ID of an Azure ML web service.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly associatedResourceId?: string;\n /**\n * The ARM ID of the parent Azure ML commitment plan.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly commitmentPlanId?: string;\n /**\n * The date at which this commitment association was created, in ISO 8601 format.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly creationDate?: Date;\n}\n\n/** Common properties of an ARM resource. */\nexport interface Resource {\n /**\n * Resource Id.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly id?: string;\n /**\n * Resource name.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly name?: string;\n /** Resource location. */\n location: string;\n /**\n * Resource type.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly type?: string;\n /** User-defined tags for the resource. */\n tags?: { [propertyName: string]: string };\n}\n\n/** A page of commitment association resources. */\nexport interface CommitmentAssociationListResult {\n /** A URI to retrieve the next page of results. */\n nextLink?: string;\n /** The set of results for this page. */\n value?: CommitmentAssociation[];\n}\n\n/** Specifies the destination Azure ML commitment plan for a move operation. */\nexport interface MoveCommitmentAssociationRequest {\n /** The ARM ID of the commitment plan to re-parent the commitment association to. */\n destinationPlanId?: string;\n}\n\n/** Properties of an Azure ML commitment plan. */\nexport interface CommitmentPlanProperties {\n /**\n * Indicates whether usage beyond the commitment plan's included quantities will be charged.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly chargeForOverage?: boolean;\n /**\n * Indicates whether the commitment plan will incur a charge.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly chargeForPlan?: boolean;\n /**\n * The date at which this commitment plan was created, in ISO 8601 format.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly creationDate?: Date;\n /**\n * The included resource quantities this plan gives you.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly includedQuantities?: { [propertyName: string]: PlanQuantity };\n /**\n * The maximum number of commitment associations that can be children of this commitment plan.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly maxAssociationLimit?: number;\n /**\n * The maximum scale-out capacity for this commitment plan.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly maxCapacityLimit?: number;\n /**\n * The minimum scale-out capacity for this commitment plan.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly minCapacityLimit?: number;\n /**\n * The Azure meter which will be used to charge for this commitment plan.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly planMeter?: string;\n /**\n * The frequency at which this commitment plan's included quantities are refilled.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly refillFrequencyInDays?: number;\n /**\n * Indicates whether this commitment plan will be moved into a suspended state if usage goes beyond the commitment plan's included quantities.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly suspendPlanOnOverage?: boolean;\n}\n\n/** Represents the quantity a commitment plan provides of a metered resource. */\nexport interface PlanQuantity {\n /**\n * The quantity added to the commitment plan at an interval specified by its allowance frequency.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly allowance?: number;\n /**\n * The quantity available to the plan the last time usage was calculated.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly amount?: number;\n /**\n * The Azure meter for usage against included quantities.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly includedQuantityMeter?: string;\n /**\n * The Azure meter for usage which exceeds included quantities.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly overageMeter?: string;\n}\n\n/** The SKU of a resource. */\nexport interface ResourceSku {\n /** The scale-out capacity of the resource. 1 is 1x, 2 is 2x, etc. This impacts the quantities and cost of any commitment plan resource. */\n capacity?: number;\n /** The SKU name. Along with tier, uniquely identifies the SKU. */\n name?: string;\n /** The SKU tier. Along with name, uniquely identifies the SKU. */\n tier?: string;\n}\n\n/** The properties of a commitment plan which may be updated via PATCH. */\nexport interface CommitmentPlanPatchPayload {\n /** User-defined tags for the commitment plan. */\n tags?: { [propertyName: string]: string };\n /** The commitment plan SKU. */\n sku?: ResourceSku;\n}\n\n/** A page of commitment plan resources. */\nexport interface CommitmentPlanListResult {\n /** A URI to retrieve the next page of results. */\n nextLink?: string;\n /** The set of results for this page. */\n value?: CommitmentPlan[];\n}\n\n/** A page of usage history. */\nexport interface PlanUsageHistoryListResult {\n /** A URI to retrieve the next page of results. */\n nextLink?: string;\n /** The set of results for this page. */\n value?: PlanUsageHistory[];\n}\n\n/** Represents historical information about usage of the Azure resources associated with a commitment plan. */\nexport interface PlanUsageHistory {\n /** Overage incurred as a result of deleting a commitment plan. */\n planDeletionOverage?: { [propertyName: string]: number };\n /** Overage incurred as a result of migrating a commitment plan from one SKU to another. */\n planMigrationOverage?: { [propertyName: string]: number };\n /** Included quantities remaining after usage against the commitment plan's associated resources was calculated. */\n planQuantitiesAfterUsage?: { [propertyName: string]: number };\n /** Included quantities remaining before usage against the commitment plan's associated resources was calculated. */\n planQuantitiesBeforeUsage?: { [propertyName: string]: number };\n /** Usage against the commitment plan's associated resources which was not covered by included quantities and is therefore overage. */\n planUsageOverage?: { [propertyName: string]: number };\n /** Usage against the commitment plan's associated resources. */\n usage?: { [propertyName: string]: number };\n /** The date of usage, in ISO 8601 format. */\n usageDate?: Date;\n}\n\n/** Represents the association between a commitment plan and some other resource, such as a Machine Learning web service. */\nexport interface CommitmentAssociation extends Resource {\n /** An entity tag used to enforce optimistic concurrency. */\n etag?: string;\n /** The properties of the commitment association resource. */\n properties?: CommitmentAssociationProperties;\n}\n\n/** An Azure ML commitment plan resource. */\nexport interface CommitmentPlan extends Resource {\n /** An entity tag used to enforce optimistic concurrency. */\n etag?: string;\n /**\n * The commitment plan properties.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly properties?: CommitmentPlanProperties;\n /** The commitment plan SKU. */\n sku?: ResourceSku;\n}\n\n/** Known values of {@link SkuCapacityScaleType} that the service accepts. */\nexport enum KnownSkuCapacityScaleType {\n /** Automatic */\n Automatic = \"Automatic\",\n /** Manual */\n Manual = \"Manual\",\n /** None */\n None = \"None\"\n}\n\n/**\n * Defines values for SkuCapacityScaleType. \\\n * {@link KnownSkuCapacityScaleType} can be used interchangeably with SkuCapacityScaleType,\n * this enum contains the known values that the service supports.\n * ### Known values supported by the service\n * **Automatic** \\\n * **Manual** \\\n * **None**\n */\nexport type SkuCapacityScaleType = string;\n\n/** Known values of {@link ResourceSkuRestrictionsType} that the service accepts. */\nexport enum KnownResourceSkuRestrictionsType {\n /** Location */\n Location = \"location\",\n /** Zone */\n Zone = \"zone\"\n}\n\n/**\n * Defines values for ResourceSkuRestrictionsType. \\\n * {@link KnownResourceSkuRestrictionsType} can be used interchangeably with ResourceSkuRestrictionsType,\n * this enum contains the known values that the service supports.\n * ### Known values supported by the service\n * **location** \\\n * **zone**\n */\nexport type ResourceSkuRestrictionsType = string;\n\n/** Known values of {@link ResourceSkuRestrictionsReasonCode} that the service accepts. */\nexport enum KnownResourceSkuRestrictionsReasonCode {\n /** QuotaId */\n QuotaId = \"QuotaId\",\n /** NotAvailableForSubscription */\n NotAvailableForSubscription = \"NotAvailableForSubscription\"\n}\n\n/**\n * Defines values for ResourceSkuRestrictionsReasonCode. \\\n * {@link KnownResourceSkuRestrictionsReasonCode} can be used interchangeably with ResourceSkuRestrictionsReasonCode,\n * this enum contains the known values that the service supports.\n * ### Known values supported by the service\n * **QuotaId** \\\n * **NotAvailableForSubscription**\n */\nexport type ResourceSkuRestrictionsReasonCode = string;\n\n/** Optional parameters. */\nexport interface OperationsListOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Contains response data for the list operation. */\nexport type OperationsListResponse = OperationEntityListResult;\n\n/** Optional parameters. */\nexport interface SkusListOptionalParams extends coreClient.OperationOptions {}\n\n/** Contains response data for the list operation. */\nexport type SkusListResponse = SkuListResult;\n\n/** Optional parameters. */\nexport interface CommitmentAssociationsGetOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Contains response data for the get operation. */\nexport type CommitmentAssociationsGetResponse = CommitmentAssociation;\n\n/** Optional parameters. */\nexport interface CommitmentAssociationsListOptionalParams\n extends coreClient.OperationOptions {\n /** Continuation token for pagination. */\n skipToken?: string;\n}\n\n/** Contains response data for the list operation. */\nexport type CommitmentAssociationsListResponse = CommitmentAssociationListResult;\n\n/** Optional parameters. */\nexport interface CommitmentAssociationsMoveOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Contains response data for the move operation. */\nexport type CommitmentAssociationsMoveResponse = CommitmentAssociation;\n\n/** Optional parameters. */\nexport interface CommitmentAssociationsListNextOptionalParams\n extends coreClient.OperationOptions {\n /** Continuation token for pagination. */\n skipToken?: string;\n}\n\n/** Contains response data for the listNext operation. */\nexport type CommitmentAssociationsListNextResponse = CommitmentAssociationListResult;\n\n/** Optional parameters. */\nexport interface CommitmentPlansGetOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Contains response data for the get operation. */\nexport type CommitmentPlansGetResponse = CommitmentPlan;\n\n/** Optional parameters. */\nexport interface CommitmentPlansCreateOrUpdateOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Contains response data for the createOrUpdate operation. */\nexport type CommitmentPlansCreateOrUpdateResponse = CommitmentPlan;\n\n/** Optional parameters. */\nexport interface CommitmentPlansRemoveOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Optional parameters. */\nexport interface CommitmentPlansPatchOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Contains response data for the patch operation. */\nexport type CommitmentPlansPatchResponse = CommitmentPlan;\n\n/** Optional parameters. */\nexport interface CommitmentPlansListOptionalParams\n extends coreClient.OperationOptions {\n /** Continuation token for pagination. */\n skipToken?: string;\n}\n\n/** Contains response data for the list operation. */\nexport type CommitmentPlansListResponse = CommitmentPlanListResult;\n\n/** Optional parameters. */\nexport interface CommitmentPlansListInResourceGroupOptionalParams\n extends coreClient.OperationOptions {\n /** Continuation token for pagination. */\n skipToken?: string;\n}\n\n/** Contains response data for the listInResourceGroup operation. */\nexport type CommitmentPlansListInResourceGroupResponse = CommitmentPlanListResult;\n\n/** Optional parameters. */\nexport interface CommitmentPlansListNextOptionalParams\n extends coreClient.OperationOptions {\n /** Continuation token for pagination. */\n skipToken?: string;\n}\n\n/** Contains response data for the listNext operation. */\nexport type CommitmentPlansListNextResponse = CommitmentPlanListResult;\n\n/** Optional parameters. */\nexport interface CommitmentPlansListInResourceGroupNextOptionalParams\n extends coreClient.OperationOptions {\n /** Continuation token for pagination. */\n skipToken?: string;\n}\n\n/** Contains response data for the listInResourceGroupNext operation. */\nexport type CommitmentPlansListInResourceGroupNextResponse = CommitmentPlanListResult;\n\n/** Optional parameters. */\nexport interface UsageHistoryListOptionalParams\n extends coreClient.OperationOptions {\n /** Continuation token for pagination. */\n skipToken?: string;\n}\n\n/** Contains response data for the list operation. */\nexport type UsageHistoryListResponse = PlanUsageHistoryListResult;\n\n/** Optional parameters. */\nexport interface UsageHistoryListNextOptionalParams\n extends coreClient.OperationOptions {\n /** Continuation token for pagination. */\n skipToken?: string;\n}\n\n/** Contains response data for the listNext operation. */\nexport type UsageHistoryListNextResponse = PlanUsageHistoryListResult;\n\n/** Optional parameters. */\nexport interface AzureMLCommitmentPlansManagementClientOptionalParams\n extends coreClient.ServiceClientOptions {\n /** server parameter */\n $host?: string;\n /** Api Version */\n apiVersion?: string;\n /** Overrides client endpoint. */\n endpoint?: string;\n}\n"]}