@azure/arm-commerce 4.0.0-beta.3 → 4.0.0-beta.4

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 (317) hide show
  1. package/LICENSE +3 -3
  2. package/README.md +30 -24
  3. package/dist/browser/api/index.d.ts +3 -0
  4. package/dist/browser/api/index.js +4 -0
  5. package/dist/browser/api/index.js.map +1 -0
  6. package/dist/browser/api/rateCard/index.d.ts +3 -0
  7. package/dist/browser/api/rateCard/index.js +4 -0
  8. package/dist/browser/api/rateCard/index.js.map +1 -0
  9. package/dist/browser/api/rateCard/operations.d.ts +9 -0
  10. package/dist/browser/api/rateCard/operations.js +33 -0
  11. package/dist/browser/api/rateCard/operations.js.map +1 -0
  12. package/dist/browser/api/rateCard/options.d.ts +5 -0
  13. package/dist/browser/api/rateCard/options.js +4 -0
  14. package/dist/browser/api/rateCard/options.js.map +1 -0
  15. package/dist/browser/api/usageAggregates/index.d.ts +3 -0
  16. package/dist/browser/api/usageAggregates/index.js +4 -0
  17. package/dist/browser/api/usageAggregates/index.js.map +1 -0
  18. package/dist/browser/api/usageAggregates/operations.d.ts +10 -0
  19. package/dist/browser/api/usageAggregates/operations.js +47 -0
  20. package/dist/browser/api/usageAggregates/operations.js.map +1 -0
  21. package/dist/browser/api/usageAggregates/options.d.ts +12 -0
  22. package/dist/browser/api/usageAggregates/options.js +4 -0
  23. package/dist/browser/api/usageAggregates/options.js.map +1 -0
  24. package/dist/browser/api/usageManagementContext.d.ts +20 -0
  25. package/dist/browser/api/usageManagementContext.js +23 -0
  26. package/dist/browser/api/usageManagementContext.js.map +1 -0
  27. package/dist/browser/classic/index.d.ts +3 -0
  28. package/dist/browser/classic/index.js +4 -0
  29. package/dist/browser/classic/index.js.map +1 -0
  30. package/dist/browser/classic/rateCard/index.d.ts +10 -0
  31. package/dist/browser/classic/rateCard/index.js +14 -0
  32. package/dist/browser/classic/rateCard/index.js.map +1 -0
  33. package/dist/browser/classic/usageAggregates/index.d.ts +11 -0
  34. package/dist/browser/classic/usageAggregates/index.js +14 -0
  35. package/dist/browser/classic/usageAggregates/index.js.map +1 -0
  36. package/dist/browser/index.d.ts +14 -0
  37. package/dist/browser/index.js +7 -0
  38. package/dist/browser/index.js.map +1 -0
  39. package/dist/browser/logger.d.ts +2 -0
  40. package/dist/browser/logger.js +5 -0
  41. package/dist/browser/logger.js.map +1 -0
  42. package/dist/browser/models/index.d.ts +3 -0
  43. package/dist/browser/models/index.js +4 -0
  44. package/dist/browser/models/index.js.map +1 -0
  45. package/dist/browser/models/models.d.ts +193 -0
  46. package/dist/browser/models/models.js +169 -0
  47. package/dist/browser/models/models.js.map +1 -0
  48. package/dist/browser/package.json +3 -0
  49. package/dist/browser/static-helpers/cloudSettingHelpers.d.ts +22 -0
  50. package/dist/browser/static-helpers/cloudSettingHelpers.js +38 -0
  51. package/dist/browser/static-helpers/cloudSettingHelpers.js.map +1 -0
  52. package/dist/browser/static-helpers/pagingHelpers.d.ts +74 -0
  53. package/dist/browser/static-helpers/pagingHelpers.js +143 -0
  54. package/dist/browser/static-helpers/pagingHelpers.js.map +1 -0
  55. package/dist/browser/static-helpers/urlTemplate.d.ts +5 -0
  56. package/dist/browser/static-helpers/urlTemplate.js +200 -0
  57. package/dist/browser/static-helpers/urlTemplate.js.map +1 -0
  58. package/dist/browser/usageManagementClient.d.ts +17 -0
  59. package/dist/browser/usageManagementClient.js +32 -0
  60. package/dist/browser/usageManagementClient.js.map +1 -0
  61. package/dist/commonjs/api/index.d.ts +3 -0
  62. package/dist/commonjs/api/index.js +28 -0
  63. package/dist/commonjs/api/index.js.map +7 -0
  64. package/dist/commonjs/api/rateCard/index.d.ts +3 -0
  65. package/dist/commonjs/api/rateCard/index.js +28 -0
  66. package/dist/commonjs/api/rateCard/index.js.map +7 -0
  67. package/dist/commonjs/api/rateCard/operations.d.ts +9 -0
  68. package/dist/commonjs/api/rateCard/operations.js +64 -0
  69. package/dist/commonjs/api/rateCard/operations.js.map +7 -0
  70. package/dist/commonjs/api/rateCard/options.d.ts +5 -0
  71. package/dist/commonjs/api/rateCard/options.js +16 -0
  72. package/dist/commonjs/api/rateCard/options.js.map +7 -0
  73. package/dist/commonjs/api/usageAggregates/index.d.ts +3 -0
  74. package/dist/commonjs/api/usageAggregates/index.js +28 -0
  75. package/dist/commonjs/api/usageAggregates/index.js.map +7 -0
  76. package/dist/commonjs/api/usageAggregates/operations.d.ts +10 -0
  77. package/dist/commonjs/api/usageAggregates/operations.js +83 -0
  78. package/dist/commonjs/api/usageAggregates/operations.js.map +7 -0
  79. package/dist/commonjs/api/usageAggregates/options.d.ts +12 -0
  80. package/dist/commonjs/api/usageAggregates/options.js +16 -0
  81. package/dist/commonjs/api/usageAggregates/options.js.map +7 -0
  82. package/dist/commonjs/api/usageManagementContext.d.ts +20 -0
  83. package/dist/commonjs/api/usageManagementContext.js +45 -0
  84. package/dist/commonjs/api/usageManagementContext.js.map +7 -0
  85. package/dist/commonjs/classic/index.d.ts +3 -0
  86. package/dist/commonjs/classic/index.js +16 -0
  87. package/dist/commonjs/classic/index.js.map +7 -0
  88. package/dist/commonjs/classic/rateCard/index.d.ts +10 -0
  89. package/dist/commonjs/classic/rateCard/index.js +38 -0
  90. package/dist/commonjs/classic/rateCard/index.js.map +7 -0
  91. package/dist/commonjs/classic/usageAggregates/index.d.ts +11 -0
  92. package/dist/commonjs/classic/usageAggregates/index.js +38 -0
  93. package/dist/commonjs/classic/usageAggregates/index.js.map +7 -0
  94. package/dist/commonjs/index.d.ts +14 -0
  95. package/dist/commonjs/index.js +34 -0
  96. package/dist/commonjs/index.js.map +7 -0
  97. package/dist/commonjs/logger.d.ts +2 -0
  98. package/dist/commonjs/logger.js +29 -0
  99. package/dist/commonjs/logger.js.map +7 -0
  100. package/dist/commonjs/models/index.d.ts +3 -0
  101. package/dist/commonjs/models/index.js +28 -0
  102. package/dist/commonjs/models/index.js.map +7 -0
  103. package/dist/commonjs/models/models.d.ts +193 -0
  104. package/dist/commonjs/models/models.js +209 -0
  105. package/dist/commonjs/models/models.js.map +7 -0
  106. package/dist/commonjs/package.json +3 -0
  107. package/dist/commonjs/static-helpers/cloudSettingHelpers.d.ts +22 -0
  108. package/dist/commonjs/static-helpers/cloudSettingHelpers.js +52 -0
  109. package/dist/commonjs/static-helpers/cloudSettingHelpers.js.map +7 -0
  110. package/dist/commonjs/static-helpers/pagingHelpers.d.ts +74 -0
  111. package/dist/commonjs/static-helpers/pagingHelpers.js +143 -0
  112. package/dist/commonjs/static-helpers/pagingHelpers.js.map +7 -0
  113. package/dist/commonjs/static-helpers/urlTemplate.d.ts +5 -0
  114. package/dist/commonjs/static-helpers/urlTemplate.js +197 -0
  115. package/dist/commonjs/static-helpers/urlTemplate.js.map +7 -0
  116. package/{types → dist/commonjs}/tsdoc-metadata.json +11 -11
  117. package/dist/commonjs/usageManagementClient.d.ts +17 -0
  118. package/dist/commonjs/usageManagementClient.js +54 -0
  119. package/dist/commonjs/usageManagementClient.js.map +7 -0
  120. package/dist/esm/api/index.d.ts +3 -0
  121. package/dist/esm/api/index.js +4 -0
  122. package/dist/esm/api/index.js.map +1 -0
  123. package/dist/esm/api/rateCard/index.d.ts +3 -0
  124. package/dist/esm/api/rateCard/index.js +4 -0
  125. package/dist/esm/api/rateCard/index.js.map +1 -0
  126. package/dist/esm/api/rateCard/operations.d.ts +9 -0
  127. package/dist/esm/api/rateCard/operations.js +33 -0
  128. package/dist/esm/api/rateCard/operations.js.map +1 -0
  129. package/dist/esm/api/rateCard/options.d.ts +5 -0
  130. package/dist/esm/api/rateCard/options.js +4 -0
  131. package/dist/esm/api/rateCard/options.js.map +1 -0
  132. package/dist/esm/api/usageAggregates/index.d.ts +3 -0
  133. package/dist/esm/api/usageAggregates/index.js +4 -0
  134. package/dist/esm/api/usageAggregates/index.js.map +1 -0
  135. package/dist/esm/api/usageAggregates/operations.d.ts +10 -0
  136. package/dist/esm/api/usageAggregates/operations.js +47 -0
  137. package/dist/esm/api/usageAggregates/operations.js.map +1 -0
  138. package/dist/esm/api/usageAggregates/options.d.ts +12 -0
  139. package/dist/esm/api/usageAggregates/options.js +4 -0
  140. package/dist/esm/api/usageAggregates/options.js.map +1 -0
  141. package/dist/esm/api/usageManagementContext.d.ts +20 -0
  142. package/dist/esm/api/usageManagementContext.js +23 -0
  143. package/dist/esm/api/usageManagementContext.js.map +1 -0
  144. package/dist/esm/classic/index.d.ts +3 -0
  145. package/dist/esm/classic/index.js +4 -0
  146. package/dist/esm/classic/index.js.map +1 -0
  147. package/dist/esm/classic/rateCard/index.d.ts +10 -0
  148. package/dist/esm/classic/rateCard/index.js +14 -0
  149. package/dist/esm/classic/rateCard/index.js.map +1 -0
  150. package/dist/esm/classic/usageAggregates/index.d.ts +11 -0
  151. package/dist/esm/classic/usageAggregates/index.js +14 -0
  152. package/dist/esm/classic/usageAggregates/index.js.map +1 -0
  153. package/dist/esm/index.d.ts +14 -0
  154. package/dist/esm/index.js +7 -0
  155. package/dist/esm/index.js.map +1 -0
  156. package/dist/esm/logger.d.ts +2 -0
  157. package/dist/esm/logger.js +5 -0
  158. package/dist/esm/logger.js.map +1 -0
  159. package/dist/esm/models/index.d.ts +3 -0
  160. package/dist/esm/models/index.js +4 -0
  161. package/dist/esm/models/index.js.map +1 -0
  162. package/dist/esm/models/models.d.ts +193 -0
  163. package/dist/esm/models/models.js +169 -0
  164. package/dist/esm/models/models.js.map +1 -0
  165. package/dist/esm/package.json +3 -0
  166. package/dist/esm/static-helpers/cloudSettingHelpers.d.ts +22 -0
  167. package/dist/esm/static-helpers/cloudSettingHelpers.js +38 -0
  168. package/dist/esm/static-helpers/cloudSettingHelpers.js.map +1 -0
  169. package/dist/esm/static-helpers/pagingHelpers.d.ts +74 -0
  170. package/dist/esm/static-helpers/pagingHelpers.js +143 -0
  171. package/dist/esm/static-helpers/pagingHelpers.js.map +1 -0
  172. package/dist/esm/static-helpers/urlTemplate.d.ts +5 -0
  173. package/dist/esm/static-helpers/urlTemplate.js +200 -0
  174. package/dist/esm/static-helpers/urlTemplate.js.map +1 -0
  175. package/dist/esm/usageManagementClient.d.ts +17 -0
  176. package/dist/esm/usageManagementClient.js +32 -0
  177. package/dist/esm/usageManagementClient.js.map +1 -0
  178. package/dist/react-native/api/index.d.ts +3 -0
  179. package/dist/react-native/api/index.js +4 -0
  180. package/dist/react-native/api/index.js.map +1 -0
  181. package/dist/react-native/api/rateCard/index.d.ts +3 -0
  182. package/dist/react-native/api/rateCard/index.js +4 -0
  183. package/dist/react-native/api/rateCard/index.js.map +1 -0
  184. package/dist/react-native/api/rateCard/operations.d.ts +9 -0
  185. package/dist/react-native/api/rateCard/operations.js +33 -0
  186. package/dist/react-native/api/rateCard/operations.js.map +1 -0
  187. package/dist/react-native/api/rateCard/options.d.ts +5 -0
  188. package/dist/react-native/api/rateCard/options.js +4 -0
  189. package/dist/react-native/api/rateCard/options.js.map +1 -0
  190. package/dist/react-native/api/usageAggregates/index.d.ts +3 -0
  191. package/dist/react-native/api/usageAggregates/index.js +4 -0
  192. package/dist/react-native/api/usageAggregates/index.js.map +1 -0
  193. package/dist/react-native/api/usageAggregates/operations.d.ts +10 -0
  194. package/dist/react-native/api/usageAggregates/operations.js +47 -0
  195. package/dist/react-native/api/usageAggregates/operations.js.map +1 -0
  196. package/dist/react-native/api/usageAggregates/options.d.ts +12 -0
  197. package/dist/react-native/api/usageAggregates/options.js +4 -0
  198. package/dist/react-native/api/usageAggregates/options.js.map +1 -0
  199. package/dist/react-native/api/usageManagementContext.d.ts +20 -0
  200. package/dist/react-native/api/usageManagementContext.js +23 -0
  201. package/dist/react-native/api/usageManagementContext.js.map +1 -0
  202. package/dist/react-native/classic/index.d.ts +3 -0
  203. package/dist/react-native/classic/index.js +4 -0
  204. package/dist/react-native/classic/index.js.map +1 -0
  205. package/dist/react-native/classic/rateCard/index.d.ts +10 -0
  206. package/dist/react-native/classic/rateCard/index.js +14 -0
  207. package/dist/react-native/classic/rateCard/index.js.map +1 -0
  208. package/dist/react-native/classic/usageAggregates/index.d.ts +11 -0
  209. package/dist/react-native/classic/usageAggregates/index.js +14 -0
  210. package/dist/react-native/classic/usageAggregates/index.js.map +1 -0
  211. package/dist/react-native/index.d.ts +14 -0
  212. package/dist/react-native/index.js +7 -0
  213. package/dist/react-native/index.js.map +1 -0
  214. package/dist/react-native/logger.d.ts +2 -0
  215. package/dist/react-native/logger.js +5 -0
  216. package/dist/react-native/logger.js.map +1 -0
  217. package/dist/react-native/models/index.d.ts +3 -0
  218. package/dist/react-native/models/index.js +4 -0
  219. package/dist/react-native/models/index.js.map +1 -0
  220. package/dist/react-native/models/models.d.ts +193 -0
  221. package/dist/react-native/models/models.js +169 -0
  222. package/dist/react-native/models/models.js.map +1 -0
  223. package/dist/react-native/package.json +3 -0
  224. package/dist/react-native/static-helpers/cloudSettingHelpers.d.ts +22 -0
  225. package/dist/react-native/static-helpers/cloudSettingHelpers.js +38 -0
  226. package/dist/react-native/static-helpers/cloudSettingHelpers.js.map +1 -0
  227. package/dist/react-native/static-helpers/pagingHelpers.d.ts +74 -0
  228. package/dist/react-native/static-helpers/pagingHelpers.js +143 -0
  229. package/dist/react-native/static-helpers/pagingHelpers.js.map +1 -0
  230. package/dist/react-native/static-helpers/urlTemplate.d.ts +5 -0
  231. package/dist/react-native/static-helpers/urlTemplate.js +200 -0
  232. package/dist/react-native/static-helpers/urlTemplate.js.map +1 -0
  233. package/dist/react-native/usageManagementClient.d.ts +17 -0
  234. package/dist/react-native/usageManagementClient.js +32 -0
  235. package/dist/react-native/usageManagementClient.js.map +1 -0
  236. package/package.json +164 -87
  237. package/CHANGELOG.md +0 -11
  238. package/dist/index.js +0 -935
  239. package/dist/index.js.map +0 -1
  240. package/dist/index.min.js +0 -1
  241. package/dist/index.min.js.map +0 -1
  242. package/dist-esm/samples-dev/getRateCard.d.ts +0 -2
  243. package/dist-esm/samples-dev/getRateCard.d.ts.map +0 -1
  244. package/dist-esm/samples-dev/getRateCard.js +0 -30
  245. package/dist-esm/samples-dev/getRateCard.js.map +0 -1
  246. package/dist-esm/samples-dev/rateCardGetSample.d.ts +0 -2
  247. package/dist-esm/samples-dev/rateCardGetSample.d.ts.map +0 -1
  248. package/dist-esm/samples-dev/rateCardGetSample.js +0 -30
  249. package/dist-esm/samples-dev/rateCardGetSample.js.map +0 -1
  250. package/dist-esm/src/index.d.ts +0 -6
  251. package/dist-esm/src/index.d.ts.map +0 -1
  252. package/dist-esm/src/index.js +0 -13
  253. package/dist-esm/src/index.js.map +0 -1
  254. package/dist-esm/src/models/index.d.ts +0 -178
  255. package/dist-esm/src/models/index.d.ts.map +0 -1
  256. package/dist-esm/src/models/index.js +0 -9
  257. package/dist-esm/src/models/index.js.map +0 -1
  258. package/dist-esm/src/models/mappers.d.ts +0 -19
  259. package/dist-esm/src/models/mappers.d.ts.map +0 -1
  260. package/dist-esm/src/models/mappers.js +0 -433
  261. package/dist-esm/src/models/mappers.js.map +0 -1
  262. package/dist-esm/src/models/parameters.d.ts +0 -13
  263. package/dist-esm/src/models/parameters.d.ts.map +0 -1
  264. package/dist-esm/src/models/parameters.js +0 -121
  265. package/dist-esm/src/models/parameters.js.map +0 -1
  266. package/dist-esm/src/operations/index.d.ts +0 -3
  267. package/dist-esm/src/operations/index.d.ts.map +0 -1
  268. package/dist-esm/src/operations/index.js +0 -10
  269. package/dist-esm/src/operations/index.js.map +0 -1
  270. package/dist-esm/src/operations/rateCard.d.ts +0 -27
  271. package/dist-esm/src/operations/rateCard.d.ts.map +0 -1
  272. package/dist-esm/src/operations/rateCard.js +0 -55
  273. package/dist-esm/src/operations/rateCard.js.map +0 -1
  274. package/dist-esm/src/operations/usageAggregates.d.ts +0 -38
  275. package/dist-esm/src/operations/usageAggregates.d.ts.map +0 -1
  276. package/dist-esm/src/operations/usageAggregates.js +0 -156
  277. package/dist-esm/src/operations/usageAggregates.js.map +0 -1
  278. package/dist-esm/src/operationsInterfaces/index.d.ts +0 -3
  279. package/dist-esm/src/operationsInterfaces/index.d.ts.map +0 -1
  280. package/dist-esm/src/operationsInterfaces/index.js +0 -10
  281. package/dist-esm/src/operationsInterfaces/index.js.map +0 -1
  282. package/dist-esm/src/operationsInterfaces/rateCard.d.ts +0 -19
  283. package/dist-esm/src/operationsInterfaces/rateCard.d.ts.map +0 -1
  284. package/dist-esm/src/operationsInterfaces/rateCard.js +0 -9
  285. package/dist-esm/src/operationsInterfaces/rateCard.js.map +0 -1
  286. package/dist-esm/src/operationsInterfaces/usageAggregates.d.ts +0 -13
  287. package/dist-esm/src/operationsInterfaces/usageAggregates.d.ts.map +0 -1
  288. package/dist-esm/src/operationsInterfaces/usageAggregates.js +0 -9
  289. package/dist-esm/src/operationsInterfaces/usageAggregates.js.map +0 -1
  290. package/dist-esm/src/pagingHelper.d.ts +0 -13
  291. package/dist-esm/src/pagingHelper.d.ts.map +0 -1
  292. package/dist-esm/src/pagingHelper.js +0 -32
  293. package/dist-esm/src/pagingHelper.js.map +0 -1
  294. package/dist-esm/src/usageManagementClient.d.ts +0 -22
  295. package/dist-esm/src/usageManagementClient.d.ts.map +0 -1
  296. package/dist-esm/src/usageManagementClient.js +0 -102
  297. package/dist-esm/src/usageManagementClient.js.map +0 -1
  298. package/dist-esm/test/commerce_examples.d.ts +0 -4
  299. package/dist-esm/test/commerce_examples.d.ts.map +0 -1
  300. package/dist-esm/test/commerce_examples.js +0 -56
  301. package/dist-esm/test/commerce_examples.js.map +0 -1
  302. package/review/arm-commerce.api.md +0 -181
  303. package/rollup.config.js +0 -122
  304. package/src/index.ts +0 -13
  305. package/src/models/index.ts +0 -211
  306. package/src/models/mappers.ts +0 -460
  307. package/src/models/parameters.ts +0 -137
  308. package/src/operations/index.ts +0 -10
  309. package/src/operations/rateCard.ts +0 -69
  310. package/src/operations/usageAggregates.ts +0 -206
  311. package/src/operationsInterfaces/index.ts +0 -10
  312. package/src/operationsInterfaces/rateCard.ts +0 -30
  313. package/src/operationsInterfaces/usageAggregates.ts +0 -26
  314. package/src/pagingHelper.ts +0 -39
  315. package/src/usageManagementClient.ts +0 -143
  316. package/tsconfig.json +0 -33
  317. package/types/arm-commerce.d.ts +0 -258
@@ -1,55 +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 * as coreClient from "@azure/core-client";
9
- import * as Mappers from "../models/mappers";
10
- import * as Parameters from "../models/parameters";
11
- /** Class containing RateCard operations. */
12
- export class RateCardImpl {
13
- /**
14
- * Initialize a new instance of the class RateCard class.
15
- * @param client Reference to the service client
16
- */
17
- constructor(client) {
18
- this.client = client;
19
- }
20
- /**
21
- * Enables you to query for the resource/meter metadata and related prices used in a given subscription
22
- * by Offer ID, Currency, Locale and Region. The metadata associated with the billing meters, including
23
- * but not limited to service names, types, resources, units of measure, and regions, is subject to
24
- * change at any time and without notice. If you intend to use this billing data in an automated
25
- * fashion, please use the billing meter GUID to uniquely identify each billable item. If the billing
26
- * meter GUID is scheduled to change due to a new billing model, you will be notified in advance of the
27
- * change.
28
- * @param filter The filter to apply on the operation. It ONLY supports the 'eq' and 'and' logical
29
- * operators at this time. All the 4 query parameters 'OfferDurableId', 'Currency', 'Locale', 'Region'
30
- * are required to be a part of the $filter.
31
- * @param options The options parameters.
32
- */
33
- get(filter, options) {
34
- return this.client.sendOperationRequest({ filter, options }, getOperationSpec);
35
- }
36
- }
37
- // Operation Specifications
38
- const serializer = coreClient.createSerializer(Mappers, /* isXml */ false);
39
- const getOperationSpec = {
40
- path: "/subscriptions/{subscriptionId}/providers/Microsoft.Commerce/RateCard",
41
- httpMethod: "GET",
42
- responses: {
43
- 200: {
44
- bodyMapper: Mappers.ResourceRateCardInfo
45
- },
46
- default: {
47
- bodyMapper: Mappers.ErrorResponse
48
- }
49
- },
50
- queryParameters: [Parameters.apiVersion, Parameters.filter],
51
- urlParameters: [Parameters.$host, Parameters.subscriptionId],
52
- headerParameters: [Parameters.accept],
53
- serializer
54
- };
55
- //# sourceMappingURL=rateCard.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"rateCard.js","sourceRoot":"","sources":["../../../src/operations/rateCard.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAGH,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AACjD,OAAO,KAAK,OAAO,MAAM,mBAAmB,CAAC;AAC7C,OAAO,KAAK,UAAU,MAAM,sBAAsB,CAAC;AAInD,4CAA4C;AAC5C,MAAM,OAAO,YAAY;IAGvB;;;OAGG;IACH,YAAY,MAA6B;QACvC,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACvB,CAAC;IAED;;;;;;;;;;;;OAYG;IACH,GAAG,CACD,MAAc,EACd,OAAmC;QAEnC,OAAO,IAAI,CAAC,MAAM,CAAC,oBAAoB,CACrC,EAAE,MAAM,EAAE,OAAO,EAAE,EACnB,gBAAgB,CACjB,CAAC;IACJ,CAAC;CACF;AACD,2BAA2B;AAC3B,MAAM,UAAU,GAAG,UAAU,CAAC,gBAAgB,CAAC,OAAO,EAAE,WAAW,CAAC,KAAK,CAAC,CAAC;AAE3E,MAAM,gBAAgB,GAA6B;IACjD,IAAI,EAAE,uEAAuE;IAC7E,UAAU,EAAE,KAAK;IACjB,SAAS,EAAE;QACT,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,oBAAoB;SACzC;QACD,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,aAAa;SAClC;KACF;IACD,eAAe,EAAE,CAAC,UAAU,CAAC,UAAU,EAAE,UAAU,CAAC,MAAM,CAAC;IAC3D,aAAa,EAAE,CAAC,UAAU,CAAC,KAAK,EAAE,UAAU,CAAC,cAAc,CAAC;IAC5D,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC"}
@@ -1,38 +0,0 @@
1
- import { PagedAsyncIterableIterator } from "@azure/core-paging";
2
- import { UsageAggregates } from "../operationsInterfaces";
3
- import { UsageManagementClient } from "../usageManagementClient";
4
- import { UsageAggregation, UsageAggregatesListOptionalParams } from "../models";
5
- /** Class containing UsageAggregates operations. */
6
- export declare class UsageAggregatesImpl implements UsageAggregates {
7
- private readonly client;
8
- /**
9
- * Initialize a new instance of the class UsageAggregates class.
10
- * @param client Reference to the service client
11
- */
12
- constructor(client: UsageManagementClient);
13
- /**
14
- * Query aggregated Azure subscription consumption data for a date range.
15
- * @param reportedStartTime The start of the time range to retrieve data for.
16
- * @param reportedEndTime The end of the time range to retrieve data for.
17
- * @param options The options parameters.
18
- */
19
- list(reportedStartTime: Date, reportedEndTime: Date, options?: UsageAggregatesListOptionalParams): PagedAsyncIterableIterator<UsageAggregation>;
20
- private listPagingPage;
21
- private listPagingAll;
22
- /**
23
- * Query aggregated Azure subscription consumption data for a date range.
24
- * @param reportedStartTime The start of the time range to retrieve data for.
25
- * @param reportedEndTime The end of the time range to retrieve data for.
26
- * @param options The options parameters.
27
- */
28
- private _list;
29
- /**
30
- * ListNext
31
- * @param reportedStartTime The start of the time range to retrieve data for.
32
- * @param reportedEndTime The end of the time range to retrieve data for.
33
- * @param nextLink The nextLink from the previous successful call to the List method.
34
- * @param options The options parameters.
35
- */
36
- private _listNext;
37
- }
38
- //# sourceMappingURL=usageAggregates.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"usageAggregates.d.ts","sourceRoot":"","sources":["../../../src/operations/usageAggregates.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,0BAA0B,EAAgB,MAAM,oBAAoB,CAAC;AAE9E,OAAO,EAAE,eAAe,EAAE,MAAM,yBAAyB,CAAC;AAI1D,OAAO,EAAE,qBAAqB,EAAE,MAAM,0BAA0B,CAAC;AACjE,OAAO,EACL,gBAAgB,EAEhB,iCAAiC,EAGlC,MAAM,WAAW,CAAC;AAGnB,mDAAmD;AACnD,qBAAa,mBAAoB,YAAW,eAAe;IACzD,OAAO,CAAC,QAAQ,CAAC,MAAM,CAAwB;IAE/C;;;OAGG;gBACS,MAAM,EAAE,qBAAqB;IAIzC;;;;;OAKG;IACI,IAAI,CACT,iBAAiB,EAAE,IAAI,EACvB,eAAe,EAAE,IAAI,EACrB,OAAO,CAAC,EAAE,iCAAiC,GAC1C,0BAA0B,CAAC,gBAAgB,CAAC;YA2BhC,cAAc;YA6Bd,aAAa;IAc5B;;;;;OAKG;IACH,OAAO,CAAC,KAAK;IAWb;;;;;;OAMG;IACH,OAAO,CAAC,SAAS;CAWlB"}
@@ -1,156 +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 } from "tslib";
9
- import { setContinuationToken } from "../pagingHelper";
10
- import * as coreClient from "@azure/core-client";
11
- import * as Mappers from "../models/mappers";
12
- import * as Parameters from "../models/parameters";
13
- /// <reference lib="esnext.asynciterable" />
14
- /** Class containing UsageAggregates operations. */
15
- export class UsageAggregatesImpl {
16
- /**
17
- * Initialize a new instance of the class UsageAggregates class.
18
- * @param client Reference to the service client
19
- */
20
- constructor(client) {
21
- this.client = client;
22
- }
23
- /**
24
- * Query aggregated Azure subscription consumption data for a date range.
25
- * @param reportedStartTime The start of the time range to retrieve data for.
26
- * @param reportedEndTime The end of the time range to retrieve data for.
27
- * @param options The options parameters.
28
- */
29
- list(reportedStartTime, reportedEndTime, options) {
30
- const iter = this.listPagingAll(reportedStartTime, reportedEndTime, options);
31
- return {
32
- next() {
33
- return iter.next();
34
- },
35
- [Symbol.asyncIterator]() {
36
- return this;
37
- },
38
- byPage: (settings) => {
39
- if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
40
- throw new Error("maxPageSize is not supported by this operation.");
41
- }
42
- return this.listPagingPage(reportedStartTime, reportedEndTime, options, settings);
43
- }
44
- };
45
- }
46
- listPagingPage(reportedStartTime, reportedEndTime, options, settings) {
47
- return __asyncGenerator(this, arguments, function* listPagingPage_1() {
48
- let result;
49
- let continuationToken = settings === null || settings === void 0 ? void 0 : settings.continuationToken;
50
- if (!continuationToken) {
51
- result = yield __await(this._list(reportedStartTime, reportedEndTime, options));
52
- let page = result.value || [];
53
- continuationToken = result.nextLink;
54
- setContinuationToken(page, continuationToken);
55
- yield yield __await(page);
56
- }
57
- while (continuationToken) {
58
- result = yield __await(this._listNext(reportedStartTime, reportedEndTime, continuationToken, options));
59
- continuationToken = result.nextLink;
60
- let page = result.value || [];
61
- setContinuationToken(page, continuationToken);
62
- yield yield __await(page);
63
- }
64
- });
65
- }
66
- listPagingAll(reportedStartTime, reportedEndTime, options) {
67
- return __asyncGenerator(this, arguments, function* listPagingAll_1() {
68
- var e_1, _a;
69
- try {
70
- for (var _b = __asyncValues(this.listPagingPage(reportedStartTime, reportedEndTime, options)), _c; _c = yield __await(_b.next()), !_c.done;) {
71
- const page = _c.value;
72
- yield __await(yield* __asyncDelegator(__asyncValues(page)));
73
- }
74
- }
75
- catch (e_1_1) { e_1 = { error: e_1_1 }; }
76
- finally {
77
- try {
78
- if (_c && !_c.done && (_a = _b.return)) yield __await(_a.call(_b));
79
- }
80
- finally { if (e_1) throw e_1.error; }
81
- }
82
- });
83
- }
84
- /**
85
- * Query aggregated Azure subscription consumption data for a date range.
86
- * @param reportedStartTime The start of the time range to retrieve data for.
87
- * @param reportedEndTime The end of the time range to retrieve data for.
88
- * @param options The options parameters.
89
- */
90
- _list(reportedStartTime, reportedEndTime, options) {
91
- return this.client.sendOperationRequest({ reportedStartTime, reportedEndTime, options }, listOperationSpec);
92
- }
93
- /**
94
- * ListNext
95
- * @param reportedStartTime The start of the time range to retrieve data for.
96
- * @param reportedEndTime The end of the time range to retrieve data for.
97
- * @param nextLink The nextLink from the previous successful call to the List method.
98
- * @param options The options parameters.
99
- */
100
- _listNext(reportedStartTime, reportedEndTime, nextLink, options) {
101
- return this.client.sendOperationRequest({ reportedStartTime, reportedEndTime, nextLink, options }, listNextOperationSpec);
102
- }
103
- }
104
- // Operation Specifications
105
- const serializer = coreClient.createSerializer(Mappers, /* isXml */ false);
106
- const listOperationSpec = {
107
- path: "/subscriptions/{subscriptionId}/providers/Microsoft.Commerce/UsageAggregates",
108
- httpMethod: "GET",
109
- responses: {
110
- 200: {
111
- bodyMapper: Mappers.UsageAggregationListResult
112
- },
113
- default: {
114
- bodyMapper: Mappers.ErrorResponse
115
- }
116
- },
117
- queryParameters: [
118
- Parameters.reportedStartTime,
119
- Parameters.reportedEndTime,
120
- Parameters.showDetails,
121
- Parameters.aggregationGranularity,
122
- Parameters.continuationToken,
123
- Parameters.apiVersion
124
- ],
125
- urlParameters: [Parameters.$host, Parameters.subscriptionId],
126
- headerParameters: [Parameters.accept],
127
- serializer
128
- };
129
- const listNextOperationSpec = {
130
- path: "{nextLink}",
131
- httpMethod: "GET",
132
- responses: {
133
- 200: {
134
- bodyMapper: Mappers.UsageAggregationListResult
135
- },
136
- default: {
137
- bodyMapper: Mappers.ErrorResponse
138
- }
139
- },
140
- queryParameters: [
141
- Parameters.reportedStartTime,
142
- Parameters.reportedEndTime,
143
- Parameters.showDetails,
144
- Parameters.aggregationGranularity,
145
- Parameters.continuationToken,
146
- Parameters.apiVersion
147
- ],
148
- urlParameters: [
149
- Parameters.$host,
150
- Parameters.subscriptionId,
151
- Parameters.nextLink
152
- ],
153
- headerParameters: [Parameters.accept],
154
- serializer
155
- };
156
- //# sourceMappingURL=usageAggregates.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"usageAggregates.js","sourceRoot":"","sources":["../../../src/operations/usageAggregates.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAGH,OAAO,EAAE,oBAAoB,EAAE,MAAM,iBAAiB,CAAC;AAEvD,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AACjD,OAAO,KAAK,OAAO,MAAM,mBAAmB,CAAC;AAC7C,OAAO,KAAK,UAAU,MAAM,sBAAsB,CAAC;AAUnD,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AM,iBAAiB,GAA6B;IAClD,IAAI,EACF,8EAA8E;IAChF,UAAU,EAAE,KAAK;IACjB,SAAS,EAAE;QACT,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,0BAA0B;SAC/C;QACD,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,aAAa;SAClC;KACF;IACD,eAAe,EAAE;QACf,UAAU,CAAC,iBAAiB;QAC5B,UAAU,CAAC,eAAe;QAC1B,UAAU,CAAC,WAAW;QACtB,UAAU,CAAC,sBAAsB;QACjC,UAAU,CAAC,iBAAiB;QAC5B,UAAU,CAAC,UAAU;KACtB;IACD,aAAa,EAAE,CAAC,UAAU,CAAC,KAAK,EAAE,UAAU,CAAC,cAAc,CAAC;IAC5D,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC;AACF,MAAM,qBAAqB,GAA6B;IACtD,IAAI,EAAE,YAAY;IAClB,UAAU,EAAE,KAAK;IACjB,SAAS,EAAE;QACT,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,0BAA0B;SAC/C;QACD,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,aAAa;SAClC;KACF;IACD,eAAe,EAAE;QACf,UAAU,CAAC,iBAAiB;QAC5B,UAAU,CAAC,eAAe;QAC1B,UAAU,CAAC,WAAW;QACtB,UAAU,CAAC,sBAAsB;QACjC,UAAU,CAAC,iBAAiB;QAC5B,UAAU,CAAC,UAAU;KACtB;IACD,aAAa,EAAE;QACb,UAAU,CAAC,KAAK;QAChB,UAAU,CAAC,cAAc;QACzB,UAAU,CAAC,QAAQ;KACpB;IACD,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC"}
@@ -1,3 +0,0 @@
1
- export * from "./usageAggregates";
2
- export * from "./rateCard";
3
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/operationsInterfaces/index.ts"],"names":[],"mappings":"AAQA,cAAc,mBAAmB,CAAC;AAClC,cAAc,YAAY,CAAC"}
@@ -1,10 +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
- export * from "./usageAggregates";
9
- export * from "./rateCard";
10
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/operationsInterfaces/index.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,cAAc,mBAAmB,CAAC;AAClC,cAAc,YAAY,CAAC"}
@@ -1,19 +0,0 @@
1
- import { RateCardGetOptionalParams, RateCardGetResponse } from "../models";
2
- /** Interface representing a RateCard. */
3
- export interface RateCard {
4
- /**
5
- * Enables you to query for the resource/meter metadata and related prices used in a given subscription
6
- * by Offer ID, Currency, Locale and Region. The metadata associated with the billing meters, including
7
- * but not limited to service names, types, resources, units of measure, and regions, is subject to
8
- * change at any time and without notice. If you intend to use this billing data in an automated
9
- * fashion, please use the billing meter GUID to uniquely identify each billable item. If the billing
10
- * meter GUID is scheduled to change due to a new billing model, you will be notified in advance of the
11
- * change.
12
- * @param filter The filter to apply on the operation. It ONLY supports the 'eq' and 'and' logical
13
- * operators at this time. All the 4 query parameters 'OfferDurableId', 'Currency', 'Locale', 'Region'
14
- * are required to be a part of the $filter.
15
- * @param options The options parameters.
16
- */
17
- get(filter: string, options?: RateCardGetOptionalParams): Promise<RateCardGetResponse>;
18
- }
19
- //# sourceMappingURL=rateCard.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"rateCard.d.ts","sourceRoot":"","sources":["../../../src/operationsInterfaces/rateCard.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,yBAAyB,EAAE,mBAAmB,EAAE,MAAM,WAAW,CAAC;AAE3E,yCAAyC;AACzC,MAAM,WAAW,QAAQ;IACvB;;;;;;;;;;;;OAYG;IACH,GAAG,CACD,MAAM,EAAE,MAAM,EACd,OAAO,CAAC,EAAE,yBAAyB,GAClC,OAAO,CAAC,mBAAmB,CAAC,CAAC;CACjC"}
@@ -1,9 +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
- export {};
9
- //# sourceMappingURL=rateCard.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"rateCard.js","sourceRoot":"","sources":["../../../src/operationsInterfaces/rateCard.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG"}
@@ -1,13 +0,0 @@
1
- import { PagedAsyncIterableIterator } from "@azure/core-paging";
2
- import { UsageAggregation, UsageAggregatesListOptionalParams } from "../models";
3
- /** Interface representing a UsageAggregates. */
4
- export interface UsageAggregates {
5
- /**
6
- * Query aggregated Azure subscription consumption data for a date range.
7
- * @param reportedStartTime The start of the time range to retrieve data for.
8
- * @param reportedEndTime The end of the time range to retrieve data for.
9
- * @param options The options parameters.
10
- */
11
- list(reportedStartTime: Date, reportedEndTime: Date, options?: UsageAggregatesListOptionalParams): PagedAsyncIterableIterator<UsageAggregation>;
12
- }
13
- //# sourceMappingURL=usageAggregates.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"usageAggregates.d.ts","sourceRoot":"","sources":["../../../src/operationsInterfaces/usageAggregates.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,0BAA0B,EAAE,MAAM,oBAAoB,CAAC;AAChE,OAAO,EAAE,gBAAgB,EAAE,iCAAiC,EAAE,MAAM,WAAW,CAAC;AAGhF,gDAAgD;AAChD,MAAM,WAAW,eAAe;IAC9B;;;;;OAKG;IACH,IAAI,CACF,iBAAiB,EAAE,IAAI,EACvB,eAAe,EAAE,IAAI,EACrB,OAAO,CAAC,EAAE,iCAAiC,GAC1C,0BAA0B,CAAC,gBAAgB,CAAC,CAAC;CACjD"}
@@ -1,9 +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
- export {};
9
- //# sourceMappingURL=usageAggregates.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"usageAggregates.js","sourceRoot":"","sources":["../../../src/operationsInterfaces/usageAggregates.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG"}
@@ -1,13 +0,0 @@
1
- export interface PageInfo {
2
- continuationToken?: string;
3
- }
4
- /**
5
- * Given a result page from a pageable operation, returns a
6
- * continuation token that can be used to begin paging from
7
- * that point later.
8
- * @param page A result object from calling .byPage() on a paged operation.
9
- * @returns The continuation token that can be passed into byPage().
10
- */
11
- export declare function getContinuationToken(page: unknown): string | undefined;
12
- export declare function setContinuationToken(page: unknown, continuationToken: string | undefined): void;
13
- //# sourceMappingURL=pagingHelper.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"pagingHelper.d.ts","sourceRoot":"","sources":["../../src/pagingHelper.ts"],"names":[],"mappings":"AAQA,MAAM,WAAW,QAAQ;IACvB,iBAAiB,CAAC,EAAE,MAAM,CAAC;CAC5B;AAID;;;;;;GAMG;AACH,wBAAgB,oBAAoB,CAAC,IAAI,EAAE,OAAO,GAAG,MAAM,GAAG,SAAS,CAKtE;AAED,wBAAgB,oBAAoB,CAClC,IAAI,EAAE,OAAO,EACb,iBAAiB,EAAE,MAAM,GAAG,SAAS,GACpC,IAAI,CAON"}
@@ -1,32 +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
- const pageMap = new WeakMap();
9
- /**
10
- * Given a result page from a pageable operation, returns a
11
- * continuation token that can be used to begin paging from
12
- * that point later.
13
- * @param page A result object from calling .byPage() on a paged operation.
14
- * @returns The continuation token that can be passed into byPage().
15
- */
16
- export function getContinuationToken(page) {
17
- var _a;
18
- if (typeof page !== "object" || page === null) {
19
- return undefined;
20
- }
21
- return (_a = pageMap.get(page)) === null || _a === void 0 ? void 0 : _a.continuationToken;
22
- }
23
- export function setContinuationToken(page, continuationToken) {
24
- var _a;
25
- if (typeof page !== "object" || page === null || !continuationToken) {
26
- return;
27
- }
28
- const pageInfo = (_a = pageMap.get(page)) !== null && _a !== void 0 ? _a : {};
29
- pageInfo.continuationToken = continuationToken;
30
- pageMap.set(page, pageInfo);
31
- }
32
- //# sourceMappingURL=pagingHelper.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"pagingHelper.js","sourceRoot":"","sources":["../../src/pagingHelper.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAMH,MAAM,OAAO,GAAG,IAAI,OAAO,EAAoB,CAAC;AAEhD;;;;;;GAMG;AACH,MAAM,UAAU,oBAAoB,CAAC,IAAa;;IAChD,IAAI,OAAO,IAAI,KAAK,QAAQ,IAAI,IAAI,KAAK,IAAI,EAAE;QAC7C,OAAO,SAAS,CAAC;KAClB;IACD,OAAO,MAAA,OAAO,CAAC,GAAG,CAAC,IAAI,CAAC,0CAAE,iBAAiB,CAAC;AAC9C,CAAC;AAED,MAAM,UAAU,oBAAoB,CAClC,IAAa,EACb,iBAAqC;;IAErC,IAAI,OAAO,IAAI,KAAK,QAAQ,IAAI,IAAI,KAAK,IAAI,IAAI,CAAC,iBAAiB,EAAE;QACnE,OAAO;KACR;IACD,MAAM,QAAQ,GAAG,MAAA,OAAO,CAAC,GAAG,CAAC,IAAI,CAAC,mCAAI,EAAE,CAAC;IACzC,QAAQ,CAAC,iBAAiB,GAAG,iBAAiB,CAAC;IAC/C,OAAO,CAAC,GAAG,CAAC,IAAI,EAAE,QAAQ,CAAC,CAAC;AAC9B,CAAC"}
@@ -1,22 +0,0 @@
1
- import * as coreClient from "@azure/core-client";
2
- import * as coreAuth from "@azure/core-auth";
3
- import { UsageAggregates, RateCard } from "./operationsInterfaces";
4
- import { UsageManagementClientOptionalParams } from "./models";
5
- export declare class UsageManagementClient extends coreClient.ServiceClient {
6
- $host: string;
7
- apiVersion: string;
8
- subscriptionId: string;
9
- /**
10
- * Initializes a new instance of the UsageManagementClient class.
11
- * @param credentials Subscription credentials which uniquely identify client subscription.
12
- * @param subscriptionId It uniquely identifies Microsoft Azure subscription. The subscription ID forms
13
- * part of the URI for every service call.
14
- * @param options The parameter options
15
- */
16
- constructor(credentials: coreAuth.TokenCredential, subscriptionId: string, options?: UsageManagementClientOptionalParams);
17
- /** A function that adds a policy that sets the api-version (or equivalent) to reflect the library version. */
18
- private addCustomApiVersionPolicy;
19
- usageAggregates: UsageAggregates;
20
- rateCard: RateCard;
21
- }
22
- //# sourceMappingURL=usageManagementClient.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"usageManagementClient.d.ts","sourceRoot":"","sources":["../../src/usageManagementClient.ts"],"names":[],"mappings":"AAQA,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AAOjD,OAAO,KAAK,QAAQ,MAAM,kBAAkB,CAAC;AAE7C,OAAO,EAAE,eAAe,EAAE,QAAQ,EAAE,MAAM,wBAAwB,CAAC;AACnE,OAAO,EAAE,mCAAmC,EAAE,MAAM,UAAU,CAAC;AAE/D,qBAAa,qBAAsB,SAAQ,UAAU,CAAC,aAAa;IACjE,KAAK,EAAE,MAAM,CAAC;IACd,UAAU,EAAE,MAAM,CAAC;IACnB,cAAc,EAAE,MAAM,CAAC;IAEvB;;;;;;OAMG;gBAED,WAAW,EAAE,QAAQ,CAAC,eAAe,EACrC,cAAc,EAAE,MAAM,EACtB,OAAO,CAAC,EAAE,mCAAmC;IA6E/C,8GAA8G;IAC9G,OAAO,CAAC,yBAAyB;IA2BjC,eAAe,EAAE,eAAe,CAAC;IACjC,QAAQ,EAAE,QAAQ,CAAC;CACpB"}
@@ -1,102 +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 { __awaiter } from "tslib";
9
- import * as coreClient from "@azure/core-client";
10
- import * as coreRestPipeline from "@azure/core-rest-pipeline";
11
- import { UsageAggregatesImpl, RateCardImpl } from "./operations";
12
- export class UsageManagementClient extends coreClient.ServiceClient {
13
- /**
14
- * Initializes a new instance of the UsageManagementClient class.
15
- * @param credentials Subscription credentials which uniquely identify client subscription.
16
- * @param subscriptionId It uniquely identifies Microsoft Azure subscription. The subscription ID forms
17
- * part of the URI for every service call.
18
- * @param options The parameter options
19
- */
20
- constructor(credentials, subscriptionId, options) {
21
- var _a, _b, _c;
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-commerce/4.0.0-beta.3`;
37
- const userAgentPrefix = options.userAgentOptions && options.userAgentOptions.userAgentPrefix
38
- ? `${options.userAgentOptions.userAgentPrefix} ${packageDetails}`
39
- : `${packageDetails}`;
40
- const optionsWithDefaults = Object.assign(Object.assign(Object.assign({}, defaults), options), { userAgentOptions: {
41
- userAgentPrefix
42
- }, endpoint: (_b = (_a = options.endpoint) !== null && _a !== void 0 ? _a : options.baseUri) !== null && _b !== void 0 ? _b : "https://management.azure.com" });
43
- super(optionsWithDefaults);
44
- let bearerTokenAuthenticationPolicyFound = false;
45
- if ((options === null || options === void 0 ? void 0 : options.pipeline) && options.pipeline.getOrderedPolicies().length > 0) {
46
- const pipelinePolicies = options.pipeline.getOrderedPolicies();
47
- bearerTokenAuthenticationPolicyFound = pipelinePolicies.some((pipelinePolicy) => pipelinePolicy.name ===
48
- coreRestPipeline.bearerTokenAuthenticationPolicyName);
49
- }
50
- if (!options ||
51
- !options.pipeline ||
52
- options.pipeline.getOrderedPolicies().length == 0 ||
53
- !bearerTokenAuthenticationPolicyFound) {
54
- this.pipeline.removePolicy({
55
- name: coreRestPipeline.bearerTokenAuthenticationPolicyName
56
- });
57
- this.pipeline.addPolicy(coreRestPipeline.bearerTokenAuthenticationPolicy({
58
- credential: credentials,
59
- scopes: (_c = optionsWithDefaults.credentialScopes) !== null && _c !== void 0 ? _c : `${optionsWithDefaults.endpoint}/.default`,
60
- challengeCallbacks: {
61
- authorizeRequestOnChallenge: coreClient.authorizeRequestOnClaimChallenge
62
- }
63
- }));
64
- }
65
- // Parameter assignments
66
- this.subscriptionId = subscriptionId;
67
- // Assigning values to Constant parameters
68
- this.$host = options.$host || "https://management.azure.com";
69
- this.apiVersion = options.apiVersion || "2015-06-01-preview";
70
- this.usageAggregates = new UsageAggregatesImpl(this);
71
- this.rateCard = new RateCardImpl(this);
72
- this.addCustomApiVersionPolicy(options.apiVersion);
73
- }
74
- /** A function that adds a policy that sets the api-version (or equivalent) to reflect the library version. */
75
- addCustomApiVersionPolicy(apiVersion) {
76
- if (!apiVersion) {
77
- return;
78
- }
79
- const apiVersionPolicy = {
80
- name: "CustomApiVersionPolicy",
81
- sendRequest(request, next) {
82
- return __awaiter(this, void 0, void 0, function* () {
83
- const param = request.url.split("?");
84
- if (param.length > 1) {
85
- const newParams = param[1].split("&").map((item) => {
86
- if (item.indexOf("api-version") > -1) {
87
- return "api-version=" + apiVersion;
88
- }
89
- else {
90
- return item;
91
- }
92
- });
93
- request.url = param[0] + "?" + newParams.join("&");
94
- }
95
- return next(request);
96
- });
97
- }
98
- };
99
- this.pipeline.addPolicy(apiVersionPolicy);
100
- }
101
- }
102
- //# sourceMappingURL=usageManagementClient.js.map
@@ -1 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CAAC,CAAC;QACvC,IAAI,CAAC,yBAAyB,CAAC,OAAO,CAAC,UAAU,CAAC,CAAC;IACrD,CAAC;IAED,8GAA8G;IACtG,yBAAyB,CAAC,UAAmB;QACnD,IAAI,CAAC,UAAU,EAAE;YACf,OAAO;SACR;QACD,MAAM,gBAAgB,GAAG;YACvB,IAAI,EAAE,wBAAwB;YACxB,WAAW,CACf,OAAwB,EACxB,IAAiB;;oBAEjB,MAAM,KAAK,GAAG,OAAO,CAAC,GAAG,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC;oBACrC,IAAI,KAAK,CAAC,MAAM,GAAG,CAAC,EAAE;wBACpB,MAAM,SAAS,GAAG,KAAK,CAAC,CAAC,CAAC,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC,GAAG,CAAC,CAAC,IAAI,EAAE,EAAE;4BACjD,IAAI,IAAI,CAAC,OAAO,CAAC,aAAa,CAAC,GAAG,CAAC,CAAC,EAAE;gCACpC,OAAO,cAAc,GAAG,UAAU,CAAC;6BACpC;iCAAM;gCACL,OAAO,IAAI,CAAC;6BACb;wBACH,CAAC,CAAC,CAAC;wBACH,OAAO,CAAC,GAAG,GAAG,KAAK,CAAC,CAAC,CAAC,GAAG,GAAG,GAAG,SAAS,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC;qBACpD;oBACD,OAAO,IAAI,CAAC,OAAO,CAAC,CAAC;gBACvB,CAAC;aAAA;SACF,CAAC;QACF,IAAI,CAAC,QAAQ,CAAC,SAAS,CAAC,gBAAgB,CAAC,CAAC;IAC5C,CAAC;CAIF"}
@@ -1,4 +0,0 @@
1
- export declare const testPollingOptions: {
2
- updateIntervalInMs: number | undefined;
3
- };
4
- //# sourceMappingURL=commerce_examples.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"commerce_examples.d.ts","sourceRoot":"","sources":["../../test/commerce_examples.ts"],"names":[],"mappings":"AAgCA,eAAO,MAAM,kBAAkB;;CAE9B,CAAC"}
@@ -1,56 +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 { __awaiter } from "tslib";
9
- import { env, Recorder, isPlaybackMode, } from "@azure-tools/test-recorder";
10
- import { createTestCredential } from "@azure-tools/test-credential";
11
- import { assert } from "chai";
12
- import { UsageManagementClient } from "../src/usageManagementClient";
13
- const replaceableVariables = {
14
- AZURE_CLIENT_ID: "azure_client_id",
15
- AZURE_CLIENT_SECRET: "azure_client_secret",
16
- AZURE_TENANT_ID: "88888888-8888-8888-8888-888888888888",
17
- SUBSCRIPTION_ID: "azure_subscription_id"
18
- };
19
- const recorderOptions = {
20
- envSetupForPlayback: replaceableVariables
21
- };
22
- export const testPollingOptions = {
23
- updateIntervalInMs: isPlaybackMode() ? 0 : undefined,
24
- };
25
- describe("Commerce test", () => {
26
- let recorder;
27
- let subscriptionId;
28
- let client;
29
- let location;
30
- let resourceGroup;
31
- beforeEach(function () {
32
- return __awaiter(this, void 0, void 0, function* () {
33
- recorder = new Recorder(this.currentTest);
34
- yield recorder.start(recorderOptions);
35
- subscriptionId = env.SUBSCRIPTION_ID || '';
36
- // This is an example of how the environment variables are used
37
- const credential = createTestCredential();
38
- client = new UsageManagementClient(credential, subscriptionId, recorder.configureClientOptions({}));
39
- location = "eastus";
40
- resourceGroup = "myjstest";
41
- });
42
- });
43
- afterEach(function () {
44
- return __awaiter(this, void 0, void 0, function* () {
45
- yield recorder.stop();
46
- });
47
- });
48
- it("rateCard get test", function () {
49
- var _a;
50
- return __awaiter(this, void 0, void 0, function* () {
51
- const res = yield client.rateCard.get("OfferDurableId eq 'MS-AZR-0062P' and Currency eq 'USD' and Locale eq 'en-US' and RegionInfo eq 'US'");
52
- assert.notEqual((_a = res.meters) === null || _a === void 0 ? void 0 : _a.length, 0);
53
- });
54
- });
55
- });
56
- //# sourceMappingURL=commerce_examples.js.map
@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