@azure/arm-commerce-profile-2020-09-01-hybrid 2.1.1-alpha.20250109.1 → 2.1.1-alpha.20250113.1

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 (242) hide show
  1. package/README.md +4 -6
  2. package/dist/browser/index.d.ts +5 -0
  3. package/{dist-esm/src → dist/browser}/index.d.ts.map +1 -1
  4. package/{dist-esm/src → dist/browser}/index.js +4 -4
  5. package/dist/browser/index.js.map +1 -0
  6. package/dist/browser/models/index.js.map +1 -0
  7. package/dist/browser/models/mappers.js.map +1 -0
  8. package/dist/browser/models/parameters.js.map +1 -0
  9. package/dist/browser/operations/index.d.ts +3 -0
  10. package/{dist-esm/src → dist/browser}/operations/index.d.ts.map +1 -1
  11. package/{dist-esm/src → dist/browser}/operations/index.js +2 -2
  12. package/dist/browser/operations/index.js.map +1 -0
  13. package/{dist-esm/src → dist/browser}/operations/rateCard.d.ts +3 -3
  14. package/dist/browser/operations/rateCard.d.ts.map +1 -0
  15. package/{dist-esm/src → dist/browser}/operations/rateCard.js +2 -2
  16. package/dist/browser/operations/rateCard.js.map +1 -0
  17. package/{dist-esm/src → dist/browser}/operations/usageAggregates.d.ts +3 -3
  18. package/dist/browser/operations/usageAggregates.d.ts.map +1 -0
  19. package/{dist-esm/src → dist/browser}/operations/usageAggregates.js +3 -3
  20. package/dist/browser/operations/usageAggregates.js.map +1 -0
  21. package/dist/browser/operationsInterfaces/index.d.ts +3 -0
  22. package/{dist-esm/src → dist/browser}/operationsInterfaces/index.d.ts.map +1 -1
  23. package/{dist-esm/src → dist/browser}/operationsInterfaces/index.js +2 -2
  24. package/dist/browser/operationsInterfaces/index.js.map +1 -0
  25. package/{dist-esm/src → dist/browser}/operationsInterfaces/rateCard.d.ts +1 -1
  26. package/dist/browser/operationsInterfaces/rateCard.d.ts.map +1 -0
  27. package/dist/browser/operationsInterfaces/rateCard.js.map +1 -0
  28. package/{dist-esm/src → dist/browser}/operationsInterfaces/usageAggregates.d.ts +1 -1
  29. package/dist/browser/operationsInterfaces/usageAggregates.d.ts.map +1 -0
  30. package/dist/browser/operationsInterfaces/usageAggregates.js.map +1 -0
  31. package/dist/browser/package.json +3 -0
  32. package/dist/browser/pagingHelper.js.map +1 -0
  33. package/{dist-esm/src → dist/browser}/usageManagementClient.d.ts +2 -2
  34. package/dist/browser/usageManagementClient.d.ts.map +1 -0
  35. package/{dist-esm/src → dist/browser}/usageManagementClient.js +15 -18
  36. package/dist/browser/usageManagementClient.js.map +1 -0
  37. package/dist/commonjs/index.d.ts +5 -0
  38. package/dist/commonjs/index.d.ts.map +1 -0
  39. package/dist/commonjs/index.js +19 -0
  40. package/dist/commonjs/index.js.map +1 -0
  41. package/{types/arm-commerce-profile-2020-09-01-hybrid.d.ts → dist/commonjs/models/index.d.ts} +172 -252
  42. package/dist/commonjs/models/index.d.ts.map +1 -0
  43. package/dist/commonjs/models/index.js +10 -0
  44. package/dist/commonjs/models/index.js.map +1 -0
  45. package/dist/commonjs/models/mappers.d.ts +19 -0
  46. package/dist/commonjs/models/mappers.d.ts.map +1 -0
  47. package/dist/commonjs/models/mappers.js +436 -0
  48. package/dist/commonjs/models/mappers.js.map +1 -0
  49. package/dist/commonjs/models/parameters.d.ts +13 -0
  50. package/dist/commonjs/models/parameters.d.ts.map +1 -0
  51. package/dist/commonjs/models/parameters.js +124 -0
  52. package/dist/commonjs/models/parameters.js.map +1 -0
  53. package/dist/commonjs/operations/index.d.ts +3 -0
  54. package/dist/commonjs/operations/index.d.ts.map +1 -0
  55. package/dist/commonjs/operations/index.js +13 -0
  56. package/dist/commonjs/operations/index.js.map +1 -0
  57. package/dist/commonjs/operations/rateCard.d.ts +27 -0
  58. package/dist/commonjs/operations/rateCard.d.ts.map +1 -0
  59. package/dist/commonjs/operations/rateCard.js +60 -0
  60. package/dist/commonjs/operations/rateCard.js.map +1 -0
  61. package/dist/commonjs/operations/usageAggregates.d.ts +36 -0
  62. package/dist/commonjs/operations/usageAggregates.d.ts.map +1 -0
  63. package/dist/commonjs/operations/usageAggregates.js +152 -0
  64. package/dist/commonjs/operations/usageAggregates.js.map +1 -0
  65. package/dist/commonjs/operationsInterfaces/index.d.ts +3 -0
  66. package/dist/commonjs/operationsInterfaces/index.d.ts.map +1 -0
  67. package/dist/commonjs/operationsInterfaces/index.js +13 -0
  68. package/dist/commonjs/operationsInterfaces/index.js.map +1 -0
  69. package/dist/commonjs/operationsInterfaces/rateCard.d.ts +19 -0
  70. package/dist/commonjs/operationsInterfaces/rateCard.d.ts.map +1 -0
  71. package/dist/commonjs/operationsInterfaces/rateCard.js +10 -0
  72. package/dist/commonjs/operationsInterfaces/rateCard.js.map +1 -0
  73. package/dist/commonjs/operationsInterfaces/usageAggregates.d.ts +13 -0
  74. package/dist/commonjs/operationsInterfaces/usageAggregates.d.ts.map +1 -0
  75. package/dist/commonjs/operationsInterfaces/usageAggregates.js +10 -0
  76. package/dist/commonjs/operationsInterfaces/usageAggregates.js.map +1 -0
  77. package/dist/commonjs/package.json +3 -0
  78. package/dist/commonjs/pagingHelper.d.ts +13 -0
  79. package/dist/commonjs/pagingHelper.d.ts.map +1 -0
  80. package/dist/commonjs/pagingHelper.js +36 -0
  81. package/dist/commonjs/pagingHelper.js.map +1 -0
  82. package/dist/commonjs/usageManagementClient.d.ts +22 -0
  83. package/dist/commonjs/usageManagementClient.d.ts.map +1 -0
  84. package/dist/commonjs/usageManagementClient.js +104 -0
  85. package/dist/commonjs/usageManagementClient.js.map +1 -0
  86. package/dist/esm/index.d.ts +5 -0
  87. package/dist/esm/index.d.ts.map +1 -0
  88. package/{src/index.ts → dist/esm/index.js} +5 -5
  89. package/dist/esm/index.js.map +1 -0
  90. package/dist/esm/models/index.d.ts +172 -0
  91. package/dist/esm/models/index.d.ts.map +1 -0
  92. package/{src/operations/index.ts → dist/esm/models/index.js} +2 -3
  93. package/dist/esm/models/index.js.map +1 -0
  94. package/dist/esm/models/mappers.d.ts +19 -0
  95. package/dist/esm/models/mappers.d.ts.map +1 -0
  96. package/dist/esm/models/mappers.js +433 -0
  97. package/dist/esm/models/mappers.js.map +1 -0
  98. package/dist/esm/models/parameters.d.ts +13 -0
  99. package/dist/esm/models/parameters.d.ts.map +1 -0
  100. package/dist/esm/models/parameters.js +121 -0
  101. package/dist/esm/models/parameters.js.map +1 -0
  102. package/dist/esm/operations/index.d.ts +3 -0
  103. package/dist/esm/operations/index.d.ts.map +1 -0
  104. package/dist/esm/operations/index.js +10 -0
  105. package/dist/esm/operations/index.js.map +1 -0
  106. package/dist/esm/operations/rateCard.d.ts +27 -0
  107. package/dist/esm/operations/rateCard.d.ts.map +1 -0
  108. package/dist/esm/operations/rateCard.js +55 -0
  109. package/dist/esm/operations/rateCard.js.map +1 -0
  110. package/dist/esm/operations/usageAggregates.d.ts +36 -0
  111. package/dist/esm/operations/usageAggregates.d.ts.map +1 -0
  112. package/dist/esm/operations/usageAggregates.js +148 -0
  113. package/dist/esm/operations/usageAggregates.js.map +1 -0
  114. package/dist/esm/operationsInterfaces/index.d.ts +3 -0
  115. package/dist/esm/operationsInterfaces/index.d.ts.map +1 -0
  116. package/dist/esm/operationsInterfaces/index.js +10 -0
  117. package/dist/esm/operationsInterfaces/index.js.map +1 -0
  118. package/dist/esm/operationsInterfaces/rateCard.d.ts +19 -0
  119. package/dist/esm/operationsInterfaces/rateCard.d.ts.map +1 -0
  120. package/dist/esm/operationsInterfaces/rateCard.js +9 -0
  121. package/dist/esm/operationsInterfaces/rateCard.js.map +1 -0
  122. package/dist/esm/operationsInterfaces/usageAggregates.d.ts +13 -0
  123. package/dist/esm/operationsInterfaces/usageAggregates.d.ts.map +1 -0
  124. package/dist/esm/operationsInterfaces/usageAggregates.js +9 -0
  125. package/dist/esm/operationsInterfaces/usageAggregates.js.map +1 -0
  126. package/dist/esm/package.json +3 -0
  127. package/dist/esm/pagingHelper.d.ts +13 -0
  128. package/dist/esm/pagingHelper.d.ts.map +1 -0
  129. package/dist/esm/pagingHelper.js +32 -0
  130. package/dist/esm/pagingHelper.js.map +1 -0
  131. package/dist/esm/usageManagementClient.d.ts +22 -0
  132. package/dist/esm/usageManagementClient.d.ts.map +1 -0
  133. package/dist/esm/usageManagementClient.js +99 -0
  134. package/dist/esm/usageManagementClient.js.map +1 -0
  135. package/dist/react-native/index.d.ts +5 -0
  136. package/dist/react-native/index.d.ts.map +1 -0
  137. package/dist/react-native/index.js +13 -0
  138. package/dist/react-native/index.js.map +1 -0
  139. package/dist/react-native/models/index.d.ts +172 -0
  140. package/dist/react-native/models/index.d.ts.map +1 -0
  141. package/dist/react-native/models/index.js +9 -0
  142. package/dist/react-native/models/index.js.map +1 -0
  143. package/dist/react-native/models/mappers.d.ts +19 -0
  144. package/dist/react-native/models/mappers.d.ts.map +1 -0
  145. package/dist/react-native/models/mappers.js +433 -0
  146. package/dist/react-native/models/mappers.js.map +1 -0
  147. package/dist/react-native/models/parameters.d.ts +13 -0
  148. package/dist/react-native/models/parameters.d.ts.map +1 -0
  149. package/dist/react-native/models/parameters.js +121 -0
  150. package/dist/react-native/models/parameters.js.map +1 -0
  151. package/dist/react-native/operations/index.d.ts +3 -0
  152. package/dist/react-native/operations/index.d.ts.map +1 -0
  153. package/dist/react-native/operations/index.js +10 -0
  154. package/dist/react-native/operations/index.js.map +1 -0
  155. package/dist/react-native/operations/rateCard.d.ts +27 -0
  156. package/dist/react-native/operations/rateCard.d.ts.map +1 -0
  157. package/dist/react-native/operations/rateCard.js +55 -0
  158. package/dist/react-native/operations/rateCard.js.map +1 -0
  159. package/dist/react-native/operations/usageAggregates.d.ts +36 -0
  160. package/dist/react-native/operations/usageAggregates.d.ts.map +1 -0
  161. package/dist/react-native/operations/usageAggregates.js +148 -0
  162. package/dist/react-native/operations/usageAggregates.js.map +1 -0
  163. package/dist/react-native/operationsInterfaces/index.d.ts +3 -0
  164. package/dist/react-native/operationsInterfaces/index.d.ts.map +1 -0
  165. package/dist/react-native/operationsInterfaces/index.js +10 -0
  166. package/dist/react-native/operationsInterfaces/index.js.map +1 -0
  167. package/dist/react-native/operationsInterfaces/rateCard.d.ts +19 -0
  168. package/dist/react-native/operationsInterfaces/rateCard.d.ts.map +1 -0
  169. package/dist/react-native/operationsInterfaces/rateCard.js +9 -0
  170. package/dist/react-native/operationsInterfaces/rateCard.js.map +1 -0
  171. package/dist/react-native/operationsInterfaces/usageAggregates.d.ts +13 -0
  172. package/dist/react-native/operationsInterfaces/usageAggregates.d.ts.map +1 -0
  173. package/dist/react-native/operationsInterfaces/usageAggregates.js +9 -0
  174. package/dist/react-native/operationsInterfaces/usageAggregates.js.map +1 -0
  175. package/dist/react-native/package.json +3 -0
  176. package/dist/react-native/pagingHelper.d.ts +13 -0
  177. package/dist/react-native/pagingHelper.d.ts.map +1 -0
  178. package/dist/react-native/pagingHelper.js +32 -0
  179. package/dist/react-native/pagingHelper.js.map +1 -0
  180. package/dist/react-native/usageManagementClient.d.ts +22 -0
  181. package/dist/react-native/usageManagementClient.d.ts.map +1 -0
  182. package/dist/react-native/usageManagementClient.js +99 -0
  183. package/dist/react-native/usageManagementClient.js.map +1 -0
  184. package/package.json +59 -29
  185. package/dist/index.js +0 -926
  186. package/dist/index.js.map +0 -1
  187. package/dist/index.min.js +0 -1
  188. package/dist/index.min.js.map +0 -1
  189. package/dist-esm/samples-dev/rateCardGetSample.d.ts +0 -2
  190. package/dist-esm/samples-dev/rateCardGetSample.d.ts.map +0 -1
  191. package/dist-esm/samples-dev/rateCardGetSample.js +0 -38
  192. package/dist-esm/samples-dev/rateCardGetSample.js.map +0 -1
  193. package/dist-esm/src/index.d.ts +0 -5
  194. package/dist-esm/src/index.js.map +0 -1
  195. package/dist-esm/src/models/index.js.map +0 -1
  196. package/dist-esm/src/models/mappers.js.map +0 -1
  197. package/dist-esm/src/models/parameters.js.map +0 -1
  198. package/dist-esm/src/operations/index.d.ts +0 -3
  199. package/dist-esm/src/operations/index.js.map +0 -1
  200. package/dist-esm/src/operations/rateCard.d.ts.map +0 -1
  201. package/dist-esm/src/operations/rateCard.js.map +0 -1
  202. package/dist-esm/src/operations/usageAggregates.d.ts.map +0 -1
  203. package/dist-esm/src/operations/usageAggregates.js.map +0 -1
  204. package/dist-esm/src/operationsInterfaces/index.d.ts +0 -3
  205. package/dist-esm/src/operationsInterfaces/index.js.map +0 -1
  206. package/dist-esm/src/operationsInterfaces/rateCard.d.ts.map +0 -1
  207. package/dist-esm/src/operationsInterfaces/rateCard.js.map +0 -1
  208. package/dist-esm/src/operationsInterfaces/usageAggregates.d.ts.map +0 -1
  209. package/dist-esm/src/operationsInterfaces/usageAggregates.js.map +0 -1
  210. package/dist-esm/src/pagingHelper.js.map +0 -1
  211. package/dist-esm/src/usageManagementClient.d.ts.map +0 -1
  212. package/dist-esm/src/usageManagementClient.js.map +0 -1
  213. package/dist-esm/test/sampleTest.d.ts +0 -2
  214. package/dist-esm/test/sampleTest.d.ts.map +0 -1
  215. package/dist-esm/test/sampleTest.js +0 -42
  216. package/dist-esm/test/sampleTest.js.map +0 -1
  217. package/src/models/index.ts +0 -204
  218. package/src/models/mappers.ts +0 -460
  219. package/src/models/parameters.ts +0 -137
  220. package/src/operations/rateCard.ts +0 -69
  221. package/src/operations/usageAggregates.ts +0 -189
  222. package/src/operationsInterfaces/index.ts +0 -10
  223. package/src/operationsInterfaces/rateCard.ts +0 -30
  224. package/src/operationsInterfaces/usageAggregates.ts +0 -26
  225. package/src/pagingHelper.ts +0 -39
  226. package/src/usageManagementClient.ts +0 -143
  227. package/tsconfig.json +0 -33
  228. /package/{dist-esm/src → dist/browser}/models/index.d.ts +0 -0
  229. /package/{dist-esm/src → dist/browser}/models/index.d.ts.map +0 -0
  230. /package/{dist-esm/src → dist/browser}/models/index.js +0 -0
  231. /package/{dist-esm/src → dist/browser}/models/mappers.d.ts +0 -0
  232. /package/{dist-esm/src → dist/browser}/models/mappers.d.ts.map +0 -0
  233. /package/{dist-esm/src → dist/browser}/models/mappers.js +0 -0
  234. /package/{dist-esm/src → dist/browser}/models/parameters.d.ts +0 -0
  235. /package/{dist-esm/src → dist/browser}/models/parameters.d.ts.map +0 -0
  236. /package/{dist-esm/src → dist/browser}/models/parameters.js +0 -0
  237. /package/{dist-esm/src → dist/browser}/operationsInterfaces/rateCard.js +0 -0
  238. /package/{dist-esm/src → dist/browser}/operationsInterfaces/usageAggregates.js +0 -0
  239. /package/{dist-esm/src → dist/browser}/pagingHelper.d.ts +0 -0
  240. /package/{dist-esm/src → dist/browser}/pagingHelper.d.ts.map +0 -0
  241. /package/{dist-esm/src → dist/browser}/pagingHelper.js +0 -0
  242. /package/{types → dist/commonjs}/tsdoc-metadata.json +0 -0
@@ -0,0 +1 @@
1
+ {"version":3,"file":"mappers.js","sourceRoot":"","sources":["../../../src/models/mappers.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAIH,MAAM,CAAC,MAAM,0BAA0B,GAA+B;IACpE,IAAI,EAAE;QACJ,IAAI,EAAE,WAAW;QACjB,SAAS,EAAE,4BAA4B;QACvC,eAAe,EAAE;YACf,KAAK,EAAE;gBACL,cAAc,EAAE,OAAO;gBACvB,IAAI,EAAE;oBACJ,IAAI,EAAE,UAAU;oBAChB,OAAO,EAAE;wBACP,IAAI,EAAE;4BACJ,IAAI,EAAE,WAAW;4BACjB,SAAS,EAAE,kBAAkB;yBAC9B;qBACF;iBACF;aACF;YACD,QAAQ,EAAE;gBACR,cAAc,EAAE,UAAU;gBAC1B,IAAI,EAAE;oBACJ,IAAI,EAAE,QAAQ;iBACf;aACF;SACF;KACF;CACF,CAAC;AAEF,MAAM,CAAC,MAAM,gBAAgB,GAA+B;IAC1D,IAAI,EAAE;QACJ,IAAI,EAAE,WAAW;QACjB,SAAS,EAAE,kBAAkB;QAC7B,eAAe,EAAE;YACf,EAAE,EAAE;gBACF,cAAc,EAAE,IAAI;gBACpB,IAAI,EAAE;oBACJ,IAAI,EAAE,QAAQ;iBACf;aACF;YACD,IAAI,EAAE;gBACJ,cAAc,EAAE,MAAM;gBACtB,IAAI,EAAE;oBACJ,IAAI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CAAC,IAAI,CAAC,eAAe,KAClD,cAAc,EAAE;gBACd,cAAc,EAAE,gBAAgB;gBAChC,IAAI,EAAE;oBACJ,IAAI,EAAE,YAAY;oBAClB,KAAK,EAAE,EAAE,IAAI,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE,EAAE;iBACpC;aACF,EACD,gBAAgB,EAAE;gBAChB,cAAc,EAAE,kBAAkB;gBAClC,IAAI,EAAE;oBACJ,IAAI,EAAE,UAAU;oBAChB,OAAO,EAAE;wBACP,IAAI,EAAE;4BACJ,IAAI,EAAE,MAAM;yBACb;qBACF;iBACF;aACF,GACF;KACF;CACF,CAAC;AAEF,MAAM,CAAC,MAAM,eAAe,GAA+B;IACzD,cAAc,EAAE,kBAAkB;IAClC,IAAI,EAAE;QACJ,IAAI,EAAE,WAAW;QACjB,SAAS,EAAE,iBAAiB;QAC5B,UAAU,EAAE,4BAA4B;QACxC,wBAAwB,EACtB,0BAA0B,CAAC,IAAI,CAAC,wBAAwB;QAC1D,eAAe,kCACV,0BAA0B,CAAC,IAAI,CAAC,eAAe,KAClD,eAAe,EAAE;gBACf,cAAc,EAAE,iBAAiB;gBACjC,IAAI,EAAE;oBACJ,IAAI,EAAE,QAAQ;iBACf;aACF,GACF;KACF;CACF,CAAC;AAEF,MAAM,CAAC,IAAI,cAAc,GAAG;IAC1B,0BAA0B,EAAE,0BAA0B;IACtD,4CAA4C,EAAE,cAAc;IAC5D,gDAAgD,EAAE,kBAAkB;IACpE,6CAA6C,EAAE,eAAe;CAC/D,CAAC","sourcesContent":["/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport * as coreClient from \"@azure/core-client\";\n\nexport const UsageAggregationListResult: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"UsageAggregationListResult\",\n modelProperties: {\n value: {\n serializedName: \"value\",\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"Composite\",\n className: \"UsageAggregation\"\n }\n }\n }\n },\n nextLink: {\n serializedName: \"nextLink\",\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const UsageAggregation: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"UsageAggregation\",\n modelProperties: {\n id: {\n serializedName: \"id\",\n type: {\n name: \"String\"\n }\n },\n name: {\n serializedName: \"name\",\n type: {\n name: \"String\"\n }\n },\n type: {\n serializedName: \"type\",\n type: {\n name: \"String\"\n }\n },\n subscriptionId: {\n serializedName: \"properties.subscriptionId\",\n type: {\n name: \"Uuid\"\n }\n },\n meterId: {\n serializedName: \"properties.meterId\",\n type: {\n name: \"String\"\n }\n },\n usageStartTime: {\n serializedName: \"properties.usageStartTime\",\n type: {\n name: \"DateTime\"\n }\n },\n usageEndTime: {\n serializedName: \"properties.usageEndTime\",\n type: {\n name: \"DateTime\"\n }\n },\n quantity: {\n serializedName: \"properties.quantity\",\n type: {\n name: \"Number\"\n }\n },\n unit: {\n serializedName: \"properties.unit\",\n type: {\n name: \"String\"\n }\n },\n meterName: {\n serializedName: \"properties.meterName\",\n type: {\n name: \"String\"\n }\n },\n meterCategory: {\n serializedName: \"properties.meterCategory\",\n type: {\n name: \"String\"\n }\n },\n meterSubCategory: {\n serializedName: \"properties.meterSubCategory\",\n type: {\n name: \"String\"\n }\n },\n meterRegion: {\n serializedName: \"properties.meterRegion\",\n type: {\n name: \"String\"\n }\n },\n infoFields: {\n serializedName: \"properties.infoFields\",\n type: {\n name: \"Composite\",\n className: \"InfoField\"\n }\n },\n instanceData: {\n serializedName: \"properties.instanceData\",\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const InfoField: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"InfoField\",\n modelProperties: {\n project: {\n serializedName: \"project\",\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const ErrorResponse: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"ErrorResponse\",\n modelProperties: {\n code: {\n serializedName: \"code\",\n type: {\n name: \"String\"\n }\n },\n message: {\n serializedName: \"message\",\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const ResourceRateCardInfo: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"ResourceRateCardInfo\",\n modelProperties: {\n currency: {\n serializedName: \"Currency\",\n type: {\n name: \"String\"\n }\n },\n locale: {\n serializedName: \"Locale\",\n type: {\n name: \"String\"\n }\n },\n isTaxIncluded: {\n serializedName: \"IsTaxIncluded\",\n type: {\n name: \"Boolean\"\n }\n },\n offerTerms: {\n serializedName: \"OfferTerms\",\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"Composite\",\n className: \"OfferTermInfoAutoGenerated\"\n }\n }\n }\n },\n meters: {\n serializedName: \"Meters\",\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"Composite\",\n className: \"MeterInfo\"\n }\n }\n }\n }\n }\n }\n};\n\nexport const OfferTermInfoAutoGenerated: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"OfferTermInfoAutoGenerated\",\n uberParent: \"OfferTermInfoAutoGenerated\",\n polymorphicDiscriminator: {\n serializedName: \"Name\",\n clientName: \"name\"\n },\n modelProperties: {\n name: {\n serializedName: \"Name\",\n required: true,\n type: {\n name: \"Enum\",\n allowedValues: [\n \"Recurring Charge\",\n \"Monetary Commitment\",\n \"Monetary Credit\"\n ]\n }\n },\n effectiveDate: {\n serializedName: \"EffectiveDate\",\n type: {\n name: \"DateTime\"\n }\n }\n }\n }\n};\n\nexport const MeterInfo: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"MeterInfo\",\n modelProperties: {\n meterId: {\n serializedName: \"MeterId\",\n type: {\n name: \"Uuid\"\n }\n },\n meterName: {\n serializedName: \"MeterName\",\n type: {\n name: \"String\"\n }\n },\n meterCategory: {\n serializedName: \"MeterCategory\",\n type: {\n name: \"String\"\n }\n },\n meterSubCategory: {\n serializedName: \"MeterSubCategory\",\n type: {\n name: \"String\"\n }\n },\n unit: {\n serializedName: \"Unit\",\n type: {\n name: \"String\"\n }\n },\n meterTags: {\n serializedName: \"MeterTags\",\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"String\"\n }\n }\n }\n },\n meterRegion: {\n serializedName: \"MeterRegion\",\n type: {\n name: \"String\"\n }\n },\n meterRates: {\n serializedName: \"MeterRates\",\n type: {\n name: \"Dictionary\",\n value: { type: { name: \"Number\" } }\n }\n },\n effectiveDate: {\n serializedName: \"EffectiveDate\",\n type: {\n name: \"DateTime\"\n }\n },\n includedQuantity: {\n serializedName: \"IncludedQuantity\",\n type: {\n name: \"Number\"\n }\n }\n }\n }\n};\n\nexport const RateCardQueryParameters: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"RateCardQueryParameters\",\n modelProperties: {\n offerDurableId: {\n constraints: {\n Pattern: new RegExp(\"^MS-AZR-\\\\d{4}P(-\\\\d{4}P)*$\")\n },\n serializedName: \"OfferDurableId\",\n required: true,\n type: {\n name: \"String\"\n }\n },\n currency: {\n serializedName: \"Currency\",\n required: true,\n type: {\n name: \"String\"\n }\n },\n locale: {\n serializedName: \"Locale\",\n required: true,\n type: {\n name: \"String\"\n }\n },\n regionInfo: {\n serializedName: \"RegionInfo\",\n required: true,\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const MonetaryCredit: coreClient.CompositeMapper = {\n serializedName: \"Monetary Credit\",\n type: {\n name: \"Composite\",\n className: \"MonetaryCredit\",\n uberParent: \"OfferTermInfoAutoGenerated\",\n polymorphicDiscriminator:\n OfferTermInfoAutoGenerated.type.polymorphicDiscriminator,\n modelProperties: {\n ...OfferTermInfoAutoGenerated.type.modelProperties,\n credit: {\n serializedName: \"Credit\",\n type: {\n name: \"Number\"\n }\n },\n excludedMeterIds: {\n serializedName: \"ExcludedMeterIds\",\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"Uuid\"\n }\n }\n }\n }\n }\n }\n};\n\nexport const MonetaryCommitment: coreClient.CompositeMapper = {\n serializedName: \"Monetary Commitment\",\n type: {\n name: \"Composite\",\n className: \"MonetaryCommitment\",\n uberParent: \"OfferTermInfoAutoGenerated\",\n polymorphicDiscriminator:\n OfferTermInfoAutoGenerated.type.polymorphicDiscriminator,\n modelProperties: {\n ...OfferTermInfoAutoGenerated.type.modelProperties,\n tieredDiscount: {\n serializedName: \"TieredDiscount\",\n type: {\n name: \"Dictionary\",\n value: { type: { name: \"Number\" } }\n }\n },\n excludedMeterIds: {\n serializedName: \"ExcludedMeterIds\",\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"Uuid\"\n }\n }\n }\n }\n }\n }\n};\n\nexport const RecurringCharge: coreClient.CompositeMapper = {\n serializedName: \"Recurring Charge\",\n type: {\n name: \"Composite\",\n className: \"RecurringCharge\",\n uberParent: \"OfferTermInfoAutoGenerated\",\n polymorphicDiscriminator:\n OfferTermInfoAutoGenerated.type.polymorphicDiscriminator,\n modelProperties: {\n ...OfferTermInfoAutoGenerated.type.modelProperties,\n recurringCharge: {\n serializedName: \"RecurringCharge\",\n type: {\n name: \"Number\"\n }\n }\n }\n }\n};\n\nexport let discriminators = {\n OfferTermInfoAutoGenerated: OfferTermInfoAutoGenerated,\n \"OfferTermInfoAutoGenerated.Monetary Credit\": MonetaryCredit,\n \"OfferTermInfoAutoGenerated.Monetary Commitment\": MonetaryCommitment,\n \"OfferTermInfoAutoGenerated.Recurring Charge\": RecurringCharge\n};\n"]}
@@ -0,0 +1,13 @@
1
+ import { OperationParameter, OperationURLParameter, OperationQueryParameter } from "@azure/core-client";
2
+ export declare const accept: OperationParameter;
3
+ export declare const $host: OperationURLParameter;
4
+ export declare const reportedStartTime: OperationQueryParameter;
5
+ export declare const reportedEndTime: OperationQueryParameter;
6
+ export declare const showDetails: OperationQueryParameter;
7
+ export declare const aggregationGranularity: OperationQueryParameter;
8
+ export declare const continuationToken: OperationQueryParameter;
9
+ export declare const apiVersion: OperationQueryParameter;
10
+ export declare const subscriptionId: OperationURLParameter;
11
+ export declare const nextLink: OperationURLParameter;
12
+ export declare const filter: OperationQueryParameter;
13
+ //# sourceMappingURL=parameters.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"parameters.d.ts","sourceRoot":"","sources":["../../../src/models/parameters.ts"],"names":[],"mappings":"AAQA,OAAO,EACL,kBAAkB,EAClB,qBAAqB,EACrB,uBAAuB,EACxB,MAAM,oBAAoB,CAAC;AAE5B,eAAO,MAAM,MAAM,EAAE,kBAUpB,CAAC;AAEF,eAAO,MAAM,KAAK,EAAE,qBAUnB,CAAC;AAEF,eAAO,MAAM,iBAAiB,EAAE,uBAS/B,CAAC;AAEF,eAAO,MAAM,eAAe,EAAE,uBAS7B,CAAC;AAEF,eAAO,MAAM,WAAW,EAAE,uBAQzB,CAAC;AAEF,eAAO,MAAM,sBAAsB,EAAE,uBAUpC,CAAC;AAEF,eAAO,MAAM,iBAAiB,EAAE,uBAQ/B,CAAC;AAEF,eAAO,MAAM,UAAU,EAAE,uBAUxB,CAAC;AAEF,eAAO,MAAM,cAAc,EAAE,qBAS5B,CAAC;AAEF,eAAO,MAAM,QAAQ,EAAE,qBAUtB,CAAC;AAEF,eAAO,MAAM,MAAM,EAAE,uBASpB,CAAC"}
@@ -0,0 +1,121 @@
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 const accept = {
9
+ parameterPath: "accept",
10
+ mapper: {
11
+ defaultValue: "application/json, text/json",
12
+ isConstant: true,
13
+ serializedName: "Accept",
14
+ type: {
15
+ name: "String"
16
+ }
17
+ }
18
+ };
19
+ export const $host = {
20
+ parameterPath: "$host",
21
+ mapper: {
22
+ serializedName: "$host",
23
+ required: true,
24
+ type: {
25
+ name: "String"
26
+ }
27
+ },
28
+ skipEncoding: true
29
+ };
30
+ export const reportedStartTime = {
31
+ parameterPath: "reportedStartTime",
32
+ mapper: {
33
+ serializedName: "reportedStartTime",
34
+ required: true,
35
+ type: {
36
+ name: "DateTime"
37
+ }
38
+ }
39
+ };
40
+ export const reportedEndTime = {
41
+ parameterPath: "reportedEndTime",
42
+ mapper: {
43
+ serializedName: "reportedEndTime",
44
+ required: true,
45
+ type: {
46
+ name: "DateTime"
47
+ }
48
+ }
49
+ };
50
+ export const showDetails = {
51
+ parameterPath: ["options", "showDetails"],
52
+ mapper: {
53
+ serializedName: "showDetails",
54
+ type: {
55
+ name: "Boolean"
56
+ }
57
+ }
58
+ };
59
+ export const aggregationGranularity = {
60
+ parameterPath: ["options", "aggregationGranularity"],
61
+ mapper: {
62
+ defaultValue: "Daily",
63
+ serializedName: "aggregationGranularity",
64
+ type: {
65
+ name: "Enum",
66
+ allowedValues: ["Daily", "Hourly"]
67
+ }
68
+ }
69
+ };
70
+ export const continuationToken = {
71
+ parameterPath: ["options", "continuationToken"],
72
+ mapper: {
73
+ serializedName: "continuationToken",
74
+ type: {
75
+ name: "String"
76
+ }
77
+ }
78
+ };
79
+ export const apiVersion = {
80
+ parameterPath: "apiVersion",
81
+ mapper: {
82
+ defaultValue: "2015-06-01-preview",
83
+ isConstant: true,
84
+ serializedName: "api-version",
85
+ type: {
86
+ name: "String"
87
+ }
88
+ }
89
+ };
90
+ export const subscriptionId = {
91
+ parameterPath: "subscriptionId",
92
+ mapper: {
93
+ serializedName: "subscriptionId",
94
+ required: true,
95
+ type: {
96
+ name: "String"
97
+ }
98
+ }
99
+ };
100
+ export const nextLink = {
101
+ parameterPath: "nextLink",
102
+ mapper: {
103
+ serializedName: "nextLink",
104
+ required: true,
105
+ type: {
106
+ name: "String"
107
+ }
108
+ },
109
+ skipEncoding: true
110
+ };
111
+ export const filter = {
112
+ parameterPath: "filter",
113
+ mapper: {
114
+ serializedName: "$filter",
115
+ required: true,
116
+ type: {
117
+ name: "String"
118
+ }
119
+ }
120
+ };
121
+ //# sourceMappingURL=parameters.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"parameters.js","sourceRoot":"","sources":["../../../src/models/parameters.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAQH,MAAM,CAAC,MAAM,MAAM,GAAuB;IACxC,aAAa,EAAE,QAAQ;IACvB,MAAM,EAAE;QACN,YAAY,EAAE,6BAA6B;QAC3C,UAAU,EAAE,IAAI;QAChB,cAAc,EAAE,QAAQ;QACxB,IAAI,EAAE;YACJ,IAAI,EAAE,QAAQ;SACf;KACF;CACF,CAAC;AAEF,MAAM,CAAC,MAAM,KAAK,GAA0B;IAC1C,aAAa,EAAE,OAAO;IACtB,MAAM,EAAE;QACN,cAAc,EAAE,OAAO;QACvB,QAAQ,EAAE,IAAI;QACd,IAAI,EAAE;YACJ,IAAI,EAAE,QAAQ;SACf;KACF;IACD,YAAY,EAAE,IAAI;CACnB,CAAC;AAEF,MAAM,CAAC,MAAM,iBAAiB,GAA4B;IACxD,aAAa,EAAE,mBAAmB;IAClC,MAAM,EAAE;QACN,cAAc,EAAE,mBAAmB;QACnC,QAAQ,EAAE,IAAI;QACd,IAAI,EAAE;YACJ,IAAI,EAAE,UAAU;SACjB;KACF;CACF,CAAC;AAEF,MAAM,CAAC,MAAM,eAAe,GAA4B;IACtD,aAAa,EAAE,iBAAiB;IAChC,MAAM,EAAE;QACN,cAAc,EAAE,iBAAiB;QACjC,QAAQ,EAAE,IAAI;QACd,IAAI,EAAE;YACJ,IAAI,EAAE,UAAU;SACjB;KACF;CACF,CAAC;AAEF,MAAM,CAAC,MAAM,WAAW,GAA4B;IAClD,aAAa,EAAE,CAAC,SAAS,EAAE,aAAa,CAAC;IACzC,MAAM,EAAE;QACN,cAAc,EAAE,aAAa;QAC7B,IAAI,EAAE;YACJ,IAAI,EAAE,SAAS;SAChB;KACF;CACF,CAAC;AAEF,MAAM,CAAC,MAAM,sBAAsB,GAA4B;IAC7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ACf;KACF;CACF,CAAC","sourcesContent":["/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport {\n OperationParameter,\n OperationURLParameter,\n OperationQueryParameter\n} from \"@azure/core-client\";\n\nexport const accept: OperationParameter = {\n parameterPath: \"accept\",\n mapper: {\n defaultValue: \"application/json, text/json\",\n isConstant: true,\n serializedName: \"Accept\",\n type: {\n name: \"String\"\n }\n }\n};\n\nexport const $host: OperationURLParameter = {\n parameterPath: \"$host\",\n mapper: {\n serializedName: \"$host\",\n required: true,\n type: {\n name: \"String\"\n }\n },\n skipEncoding: true\n};\n\nexport const reportedStartTime: OperationQueryParameter = {\n parameterPath: \"reportedStartTime\",\n mapper: {\n serializedName: \"reportedStartTime\",\n required: true,\n type: {\n name: \"DateTime\"\n }\n }\n};\n\nexport const reportedEndTime: OperationQueryParameter = {\n parameterPath: \"reportedEndTime\",\n mapper: {\n serializedName: \"reportedEndTime\",\n required: true,\n type: {\n name: \"DateTime\"\n }\n }\n};\n\nexport const showDetails: OperationQueryParameter = {\n parameterPath: [\"options\", \"showDetails\"],\n mapper: {\n serializedName: \"showDetails\",\n type: {\n name: \"Boolean\"\n }\n }\n};\n\nexport const aggregationGranularity: OperationQueryParameter = {\n parameterPath: [\"options\", \"aggregationGranularity\"],\n mapper: {\n defaultValue: \"Daily\",\n serializedName: \"aggregationGranularity\",\n type: {\n name: \"Enum\",\n allowedValues: [\"Daily\", \"Hourly\"]\n }\n }\n};\n\nexport const continuationToken: OperationQueryParameter = {\n parameterPath: [\"options\", \"continuationToken\"],\n mapper: {\n serializedName: \"continuationToken\",\n type: {\n name: \"String\"\n }\n }\n};\n\nexport const apiVersion: OperationQueryParameter = {\n parameterPath: \"apiVersion\",\n mapper: {\n defaultValue: \"2015-06-01-preview\",\n isConstant: true,\n serializedName: \"api-version\",\n type: {\n name: \"String\"\n }\n }\n};\n\nexport const subscriptionId: OperationURLParameter = {\n parameterPath: \"subscriptionId\",\n mapper: {\n serializedName: \"subscriptionId\",\n required: true,\n type: {\n name: \"String\"\n }\n }\n};\n\nexport const nextLink: OperationURLParameter = {\n parameterPath: \"nextLink\",\n mapper: {\n serializedName: \"nextLink\",\n required: true,\n type: {\n name: \"String\"\n }\n },\n skipEncoding: true\n};\n\nexport const filter: OperationQueryParameter = {\n parameterPath: \"filter\",\n mapper: {\n serializedName: \"$filter\",\n required: true,\n type: {\n name: \"String\"\n }\n }\n};\n"]}
@@ -0,0 +1,3 @@
1
+ export * from "./usageAggregates.js";
2
+ export * from "./rateCard.js";
3
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/operations/index.ts"],"names":[],"mappings":"AAQA,cAAc,sBAAsB,CAAC;AACrC,cAAc,eAAe,CAAC"}
@@ -0,0 +1,10 @@
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.js";
9
+ export * from "./rateCard.js";
10
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/operations/index.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,cAAc,sBAAsB,CAAC;AACrC,cAAc,eAAe,CAAC","sourcesContent":["/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nexport * from \"./usageAggregates.js\";\nexport * from \"./rateCard.js\";\n"]}
@@ -0,0 +1,27 @@
1
+ import { RateCard } from "../operationsInterfaces/index.js";
2
+ import { UsageManagementClient } from "../usageManagementClient.js";
3
+ import { RateCardGetOptionalParams, RateCardGetResponse } from "../models/index.js";
4
+ /** Class containing RateCard operations. */
5
+ export declare class RateCardImpl implements RateCard {
6
+ private readonly client;
7
+ /**
8
+ * Initialize a new instance of the class RateCard class.
9
+ * @param client Reference to the service client
10
+ */
11
+ constructor(client: UsageManagementClient);
12
+ /**
13
+ * Enables you to query for the resource/meter metadata and related prices used in a given subscription
14
+ * by Offer ID, Currency, Locale and Region. The metadata associated with the billing meters, including
15
+ * but not limited to service names, types, resources, units of measure, and regions, is subject to
16
+ * change at any time and without notice. If you intend to use this billing data in an automated
17
+ * fashion, please use the billing meter GUID to uniquely identify each billable item. If the billing
18
+ * meter GUID is scheduled to change due to a new billing model, you will be notified in advance of the
19
+ * change.
20
+ * @param filter The filter to apply on the operation. It ONLY supports the 'eq' and 'and' logical
21
+ * operators at this time. All the 4 query parameters 'OfferDurableId', 'Currency', 'Locale', 'Region'
22
+ * are required to be a part of the $filter.
23
+ * @param options The options parameters.
24
+ */
25
+ get(filter: string, options?: RateCardGetOptionalParams): Promise<RateCardGetResponse>;
26
+ }
27
+ //# sourceMappingURL=rateCard.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"rateCard.d.ts","sourceRoot":"","sources":["../../../src/operations/rateCard.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,QAAQ,EAAE,MAAM,kCAAkC,CAAC;AAI5D,OAAO,EAAE,qBAAqB,EAAE,MAAM,6BAA6B,CAAC;AACpE,OAAO,EAAE,yBAAyB,EAAE,mBAAmB,EAAE,MAAM,oBAAoB,CAAC;AAEpF,4CAA4C;AAC5C,qBAAa,YAAa,YAAW,QAAQ;IAC3C,OAAO,CAAC,QAAQ,CAAC,MAAM,CAAwB;IAE/C;;;OAGG;gBACS,MAAM,EAAE,qBAAqB;IAIzC;;;;;;;;;;;;OAYG;IACH,GAAG,CACD,MAAM,EAAE,MAAM,EACd,OAAO,CAAC,EAAE,yBAAyB,GAClC,OAAO,CAAC,mBAAmB,CAAC;CAMhC"}
@@ -0,0 +1,55 @@
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.js";
10
+ import * as Parameters from "../models/parameters.js";
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
@@ -0,0 +1 @@
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,sBAAsB,CAAC;AAChD,OAAO,KAAK,UAAU,MAAM,yBAAyB,CAAC;AAItD,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","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 { RateCard } from \"../operationsInterfaces/index.js\";\nimport * as coreClient from \"@azure/core-client\";\nimport * as Mappers from \"../models/mappers.js\";\nimport * as Parameters from \"../models/parameters.js\";\nimport { UsageManagementClient } from \"../usageManagementClient.js\";\nimport { RateCardGetOptionalParams, RateCardGetResponse } from \"../models/index.js\";\n\n/** Class containing RateCard operations. */\nexport class RateCardImpl implements RateCard {\n private readonly client: UsageManagementClient;\n\n /**\n * Initialize a new instance of the class RateCard class.\n * @param client Reference to the service client\n */\n constructor(client: UsageManagementClient) {\n this.client = client;\n }\n\n /**\n * Enables you to query for the resource/meter metadata and related prices used in a given subscription\n * by Offer ID, Currency, Locale and Region. The metadata associated with the billing meters, including\n * but not limited to service names, types, resources, units of measure, and regions, is subject to\n * change at any time and without notice. If you intend to use this billing data in an automated\n * fashion, please use the billing meter GUID to uniquely identify each billable item. If the billing\n * meter GUID is scheduled to change due to a new billing model, you will be notified in advance of the\n * change.\n * @param filter The filter to apply on the operation. It ONLY supports the 'eq' and 'and' logical\n * operators at this time. All the 4 query parameters 'OfferDurableId', 'Currency', 'Locale', 'Region'\n * are required to be a part of the $filter.\n * @param options The options parameters.\n */\n get(\n filter: string,\n options?: RateCardGetOptionalParams\n ): Promise<RateCardGetResponse> {\n return this.client.sendOperationRequest(\n { filter, options },\n getOperationSpec\n );\n }\n}\n// Operation Specifications\nconst serializer = coreClient.createSerializer(Mappers, /* isXml */ false);\n\nconst getOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/providers/Microsoft.Commerce/RateCard\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.ResourceRateCardInfo\n },\n default: {\n bodyMapper: Mappers.ErrorResponse\n }\n },\n queryParameters: [Parameters.apiVersion, Parameters.filter],\n urlParameters: [Parameters.$host, Parameters.subscriptionId],\n headerParameters: [Parameters.accept],\n serializer\n};\n"]}
@@ -0,0 +1,36 @@
1
+ import { PagedAsyncIterableIterator } from "@azure/core-paging";
2
+ import { UsageAggregates } from "../operationsInterfaces/index.js";
3
+ import { UsageManagementClient } from "../usageManagementClient.js";
4
+ import { UsageAggregation, UsageAggregatesListOptionalParams } from "../models/index.js";
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 nextLink The nextLink from the previous successful call to the List method.
32
+ * @param options The options parameters.
33
+ */
34
+ private _listNext;
35
+ }
36
+ //# sourceMappingURL=usageAggregates.d.ts.map
@@ -0,0 +1 @@
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,kCAAkC,CAAC;AAInE,OAAO,EAAE,qBAAqB,EAAE,MAAM,6BAA6B,CAAC;AACpE,OAAO,EACL,gBAAgB,EAEhB,iCAAiC,EAGlC,MAAM,oBAAoB,CAAC;AAG5B,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;YAwBd,aAAa;IAc5B;;;;;OAKG;IACH,OAAO,CAAC,KAAK;IAWb;;;;OAIG;IACH,OAAO,CAAC,SAAS;CASlB"}
@@ -0,0 +1,148 @@
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.js";
10
+ import * as coreClient from "@azure/core-client";
11
+ import * as Mappers from "../models/mappers.js";
12
+ import * as Parameters from "../models/parameters.js";
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(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 _a, e_1, _b, _c;
69
+ try {
70
+ for (var _d = true, _e = __asyncValues(this.listPagingPage(reportedStartTime, reportedEndTime, options)), _f; _f = yield __await(_e.next()), _a = _f.done, !_a; _d = true) {
71
+ _c = _f.value;
72
+ _d = false;
73
+ const page = _c;
74
+ yield __await(yield* __asyncDelegator(__asyncValues(page)));
75
+ }
76
+ }
77
+ catch (e_1_1) { e_1 = { error: e_1_1 }; }
78
+ finally {
79
+ try {
80
+ if (!_d && !_a && (_b = _e.return)) yield __await(_b.call(_e));
81
+ }
82
+ finally { if (e_1) throw e_1.error; }
83
+ }
84
+ });
85
+ }
86
+ /**
87
+ * Query aggregated Azure subscription consumption data for a date range.
88
+ * @param reportedStartTime The start of the time range to retrieve data for.
89
+ * @param reportedEndTime The end of the time range to retrieve data for.
90
+ * @param options The options parameters.
91
+ */
92
+ _list(reportedStartTime, reportedEndTime, options) {
93
+ return this.client.sendOperationRequest({ reportedStartTime, reportedEndTime, options }, listOperationSpec);
94
+ }
95
+ /**
96
+ * ListNext
97
+ * @param nextLink The nextLink from the previous successful call to the List method.
98
+ * @param options The options parameters.
99
+ */
100
+ _listNext(nextLink, options) {
101
+ return this.client.sendOperationRequest({ 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
+ urlParameters: [
141
+ Parameters.$host,
142
+ Parameters.subscriptionId,
143
+ Parameters.nextLink
144
+ ],
145
+ headerParameters: [Parameters.accept],
146
+ serializer
147
+ };
148
+ //# sourceMappingURL=usageAggregates.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"usageAggregates.js","sourceRoot":"","sources":["../../../src/operations/usageAggregates.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAGH,OAAO,EAAE,oBAAoB,EAAE,MAAM,oBAAoB,CAAC;AAE1D,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AACjD,OAAO,KAAK,OAAO,MAAM,sBAAsB,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AAgB,CAAC,OAAO,EAAE,WAAW,CAAC,KAAK,CAAC,CAAC;AAE3E,MAAM,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,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","sourcesContent":["/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport { PagedAsyncIterableIterator, PageSettings } from \"@azure/core-paging\";\nimport { setContinuationToken } from \"../pagingHelper.js\";\nimport { UsageAggregates } from \"../operationsInterfaces/index.js\";\nimport * as coreClient from \"@azure/core-client\";\nimport * as Mappers from \"../models/mappers.js\";\nimport * as Parameters from \"../models/parameters.js\";\nimport { UsageManagementClient } from \"../usageManagementClient.js\";\nimport {\n UsageAggregation,\n UsageAggregatesListNextOptionalParams,\n UsageAggregatesListOptionalParams,\n UsageAggregatesListResponse,\n UsageAggregatesListNextResponse\n} from \"../models/index.js\";\n\n/// <reference lib=\"esnext.asynciterable\" />\n/** Class containing UsageAggregates operations. */\nexport class UsageAggregatesImpl implements UsageAggregates {\n private readonly client: UsageManagementClient;\n\n /**\n * Initialize a new instance of the class UsageAggregates class.\n * @param client Reference to the service client\n */\n constructor(client: UsageManagementClient) {\n this.client = client;\n }\n\n /**\n * Query aggregated Azure subscription consumption data for a date range.\n * @param reportedStartTime The start of the time range to retrieve data for.\n * @param reportedEndTime The end of the time range to retrieve data for.\n * @param options The options parameters.\n */\n public list(\n reportedStartTime: Date,\n reportedEndTime: Date,\n options?: UsageAggregatesListOptionalParams\n ): PagedAsyncIterableIterator<UsageAggregation> {\n const iter = this.listPagingAll(\n reportedStartTime,\n reportedEndTime,\n options\n );\n return {\n next() {\n return iter.next();\n },\n [Symbol.asyncIterator]() {\n return this;\n },\n byPage: (settings?: PageSettings) => {\n if (settings?.maxPageSize) {\n throw new Error(\"maxPageSize is not supported by this operation.\");\n }\n return this.listPagingPage(\n reportedStartTime,\n reportedEndTime,\n options,\n settings\n );\n }\n };\n }\n\n private async *listPagingPage(\n reportedStartTime: Date,\n reportedEndTime: Date,\n options?: UsageAggregatesListOptionalParams,\n settings?: PageSettings\n ): AsyncIterableIterator<UsageAggregation[]> {\n let result: UsageAggregatesListResponse;\n let continuationToken = settings?.continuationToken;\n if (!continuationToken) {\n result = await this._list(reportedStartTime, reportedEndTime, options);\n let page = result.value || [];\n continuationToken = result.nextLink;\n setContinuationToken(page, continuationToken);\n yield page;\n }\n while (continuationToken) {\n result = await this._listNext(continuationToken, options);\n continuationToken = result.nextLink;\n let page = result.value || [];\n setContinuationToken(page, continuationToken);\n yield page;\n }\n }\n\n private async *listPagingAll(\n reportedStartTime: Date,\n reportedEndTime: Date,\n options?: UsageAggregatesListOptionalParams\n ): AsyncIterableIterator<UsageAggregation> {\n for await (const page of this.listPagingPage(\n reportedStartTime,\n reportedEndTime,\n options\n )) {\n yield* page;\n }\n }\n\n /**\n * Query aggregated Azure subscription consumption data for a date range.\n * @param reportedStartTime The start of the time range to retrieve data for.\n * @param reportedEndTime The end of the time range to retrieve data for.\n * @param options The options parameters.\n */\n private _list(\n reportedStartTime: Date,\n reportedEndTime: Date,\n options?: UsageAggregatesListOptionalParams\n ): Promise<UsageAggregatesListResponse> {\n return this.client.sendOperationRequest(\n { reportedStartTime, reportedEndTime, options },\n listOperationSpec\n );\n }\n\n /**\n * ListNext\n * @param nextLink The nextLink from the previous successful call to the List method.\n * @param options The options parameters.\n */\n private _listNext(\n nextLink: string,\n options?: UsageAggregatesListNextOptionalParams\n ): Promise<UsageAggregatesListNextResponse> {\n return this.client.sendOperationRequest(\n { nextLink, options },\n listNextOperationSpec\n );\n }\n}\n// Operation Specifications\nconst serializer = coreClient.createSerializer(Mappers, /* isXml */ false);\n\nconst listOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/providers/Microsoft.Commerce/UsageAggregates\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.UsageAggregationListResult\n },\n default: {\n bodyMapper: Mappers.ErrorResponse\n }\n },\n queryParameters: [\n Parameters.reportedStartTime,\n Parameters.reportedEndTime,\n Parameters.showDetails,\n Parameters.aggregationGranularity,\n Parameters.continuationToken,\n Parameters.apiVersion\n ],\n urlParameters: [Parameters.$host, Parameters.subscriptionId],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst listNextOperationSpec: coreClient.OperationSpec = {\n path: \"{nextLink}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.UsageAggregationListResult\n },\n default: {\n bodyMapper: Mappers.ErrorResponse\n }\n },\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.nextLink\n ],\n headerParameters: [Parameters.accept],\n serializer\n};\n"]}
@@ -0,0 +1,3 @@
1
+ export * from "./usageAggregates.js";
2
+ export * from "./rateCard.js";
3
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/operationsInterfaces/index.ts"],"names":[],"mappings":"AAQA,cAAc,sBAAsB,CAAC;AACrC,cAAc,eAAe,CAAC"}
@@ -0,0 +1,10 @@
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.js";
9
+ export * from "./rateCard.js";
10
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/operationsInterfaces/index.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,cAAc,sBAAsB,CAAC;AACrC,cAAc,eAAe,CAAC","sourcesContent":["/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nexport * from \"./usageAggregates.js\";\nexport * from \"./rateCard.js\";\n"]}
@@ -0,0 +1,19 @@
1
+ import { RateCardGetOptionalParams, RateCardGetResponse } from "../models/index.js";
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
@@ -0,0 +1 @@
1
+ {"version":3,"file":"rateCard.d.ts","sourceRoot":"","sources":["../../../src/operationsInterfaces/rateCard.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,yBAAyB,EAAE,mBAAmB,EAAE,MAAM,oBAAoB,CAAC;AAEpF,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"}
@@ -0,0 +1,9 @@
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
@@ -0,0 +1 @@
1
+ {"version":3,"file":"rateCard.js","sourceRoot":"","sources":["../../../src/operationsInterfaces/rateCard.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG","sourcesContent":["/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport { RateCardGetOptionalParams, RateCardGetResponse } from \"../models/index.js\";\n\n/** Interface representing a RateCard. */\nexport interface RateCard {\n /**\n * Enables you to query for the resource/meter metadata and related prices used in a given subscription\n * by Offer ID, Currency, Locale and Region. The metadata associated with the billing meters, including\n * but not limited to service names, types, resources, units of measure, and regions, is subject to\n * change at any time and without notice. If you intend to use this billing data in an automated\n * fashion, please use the billing meter GUID to uniquely identify each billable item. If the billing\n * meter GUID is scheduled to change due to a new billing model, you will be notified in advance of the\n * change.\n * @param filter The filter to apply on the operation. It ONLY supports the 'eq' and 'and' logical\n * operators at this time. All the 4 query parameters 'OfferDurableId', 'Currency', 'Locale', 'Region'\n * are required to be a part of the $filter.\n * @param options The options parameters.\n */\n get(\n filter: string,\n options?: RateCardGetOptionalParams\n ): Promise<RateCardGetResponse>;\n}\n"]}
@@ -0,0 +1,13 @@
1
+ import { PagedAsyncIterableIterator } from "@azure/core-paging";
2
+ import { UsageAggregation, UsageAggregatesListOptionalParams } from "../models/index.js";
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
@@ -0,0 +1 @@
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,oBAAoB,CAAC;AAGzF,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"}
@@ -0,0 +1,9 @@
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
@@ -0,0 +1 @@
1
+ {"version":3,"file":"usageAggregates.js","sourceRoot":"","sources":["../../../src/operationsInterfaces/usageAggregates.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG","sourcesContent":["/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport { PagedAsyncIterableIterator } from \"@azure/core-paging\";\nimport { UsageAggregation, UsageAggregatesListOptionalParams } from \"../models/index.js\";\n\n/// <reference lib=\"esnext.asynciterable\" />\n/** Interface representing a UsageAggregates. */\nexport interface UsageAggregates {\n /**\n * Query aggregated Azure subscription consumption data for a date range.\n * @param reportedStartTime The start of the time range to retrieve data for.\n * @param reportedEndTime The end of the time range to retrieve data for.\n * @param options The options parameters.\n */\n list(\n reportedStartTime: Date,\n reportedEndTime: Date,\n options?: UsageAggregatesListOptionalParams\n ): PagedAsyncIterableIterator<UsageAggregation>;\n}\n"]}