@azure/arm-costmanagement 1.0.0-alpha.20230518.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (426) hide show
  1. package/CHANGELOG.md +5 -0
  2. package/LICENSE +21 -0
  3. package/README.md +109 -0
  4. package/dist/index.js +8703 -0
  5. package/dist/index.js.map +1 -0
  6. package/dist/index.min.js +1 -0
  7. package/dist/index.min.js.map +1 -0
  8. package/dist-esm/samples-dev/alertsDismissSample.d.ts +2 -0
  9. package/dist-esm/samples-dev/alertsDismissSample.d.ts.map +1 -0
  10. package/dist-esm/samples-dev/alertsDismissSample.js +56 -0
  11. package/dist-esm/samples-dev/alertsDismissSample.js.map +1 -0
  12. package/dist-esm/samples-dev/alertsGetSample.d.ts +2 -0
  13. package/dist-esm/samples-dev/alertsGetSample.d.ts.map +1 -0
  14. package/dist-esm/samples-dev/alertsGetSample.js +54 -0
  15. package/dist-esm/samples-dev/alertsGetSample.js.map +1 -0
  16. package/dist-esm/samples-dev/alertsListExternalSample.d.ts +2 -0
  17. package/dist-esm/samples-dev/alertsListExternalSample.d.ts.map +1 -0
  18. package/dist-esm/samples-dev/alertsListExternalSample.js +54 -0
  19. package/dist-esm/samples-dev/alertsListExternalSample.js.map +1 -0
  20. package/dist-esm/samples-dev/alertsListSample.d.ts +2 -0
  21. package/dist-esm/samples-dev/alertsListSample.d.ts.map +1 -0
  22. package/dist-esm/samples-dev/alertsListSample.js +132 -0
  23. package/dist-esm/samples-dev/alertsListSample.js.map +1 -0
  24. package/dist-esm/samples-dev/benefitRecommendationsListSample.d.ts +2 -0
  25. package/dist-esm/samples-dev/benefitRecommendationsListSample.d.ts.map +1 -0
  26. package/dist-esm/samples-dev/benefitRecommendationsListSample.js +60 -0
  27. package/dist-esm/samples-dev/benefitRecommendationsListSample.js.map +1 -0
  28. package/dist-esm/samples-dev/benefitUtilizationSummariesListByBillingAccountIdSample.d.ts +2 -0
  29. package/dist-esm/samples-dev/benefitUtilizationSummariesListByBillingAccountIdSample.d.ts.map +1 -0
  30. package/dist-esm/samples-dev/benefitUtilizationSummariesListByBillingAccountIdSample.js +61 -0
  31. package/dist-esm/samples-dev/benefitUtilizationSummariesListByBillingAccountIdSample.js.map +1 -0
  32. package/dist-esm/samples-dev/benefitUtilizationSummariesListByBillingProfileIdSample.d.ts +2 -0
  33. package/dist-esm/samples-dev/benefitUtilizationSummariesListByBillingProfileIdSample.d.ts.map +1 -0
  34. package/dist-esm/samples-dev/benefitUtilizationSummariesListByBillingProfileIdSample.js +62 -0
  35. package/dist-esm/samples-dev/benefitUtilizationSummariesListByBillingProfileIdSample.js.map +1 -0
  36. package/dist-esm/samples-dev/benefitUtilizationSummariesListBySavingsPlanIdSample.d.ts +2 -0
  37. package/dist-esm/samples-dev/benefitUtilizationSummariesListBySavingsPlanIdSample.d.ts.map +1 -0
  38. package/dist-esm/samples-dev/benefitUtilizationSummariesListBySavingsPlanIdSample.js +58 -0
  39. package/dist-esm/samples-dev/benefitUtilizationSummariesListBySavingsPlanIdSample.js.map +1 -0
  40. package/dist-esm/samples-dev/benefitUtilizationSummariesListBySavingsPlanOrderSample.d.ts +2 -0
  41. package/dist-esm/samples-dev/benefitUtilizationSummariesListBySavingsPlanOrderSample.d.ts.map +1 -0
  42. package/dist-esm/samples-dev/benefitUtilizationSummariesListBySavingsPlanOrderSample.js +57 -0
  43. package/dist-esm/samples-dev/benefitUtilizationSummariesListBySavingsPlanOrderSample.js.map +1 -0
  44. package/dist-esm/samples-dev/dimensionsByExternalCloudProviderTypeSample.d.ts +2 -0
  45. package/dist-esm/samples-dev/dimensionsByExternalCloudProviderTypeSample.d.ts.map +1 -0
  46. package/dist-esm/samples-dev/dimensionsByExternalCloudProviderTypeSample.js +96 -0
  47. package/dist-esm/samples-dev/dimensionsByExternalCloudProviderTypeSample.js.map +1 -0
  48. package/dist-esm/samples-dev/dimensionsListSample.d.ts +2 -0
  49. package/dist-esm/samples-dev/dimensionsListSample.d.ts.map +1 -0
  50. package/dist-esm/samples-dev/dimensionsListSample.js +1044 -0
  51. package/dist-esm/samples-dev/dimensionsListSample.js.map +1 -0
  52. package/dist-esm/samples-dev/exportsCreateOrUpdateSample.d.ts +2 -0
  53. package/dist-esm/samples-dev/exportsCreateOrUpdateSample.d.ts.map +1 -0
  54. package/dist-esm/samples-dev/exportsCreateOrUpdateSample.js +326 -0
  55. package/dist-esm/samples-dev/exportsCreateOrUpdateSample.js.map +1 -0
  56. package/dist-esm/samples-dev/exportsDeleteSample.d.ts +2 -0
  57. package/dist-esm/samples-dev/exportsDeleteSample.d.ts.map +1 -0
  58. package/dist-esm/samples-dev/exportsDeleteSample.js +122 -0
  59. package/dist-esm/samples-dev/exportsDeleteSample.js.map +1 -0
  60. package/dist-esm/samples-dev/exportsExecuteSample.d.ts +2 -0
  61. package/dist-esm/samples-dev/exportsExecuteSample.d.ts.map +1 -0
  62. package/dist-esm/samples-dev/exportsExecuteSample.js +122 -0
  63. package/dist-esm/samples-dev/exportsExecuteSample.js.map +1 -0
  64. package/dist-esm/samples-dev/exportsGetExecutionHistorySample.d.ts +2 -0
  65. package/dist-esm/samples-dev/exportsGetExecutionHistorySample.d.ts.map +1 -0
  66. package/dist-esm/samples-dev/exportsGetExecutionHistorySample.js +122 -0
  67. package/dist-esm/samples-dev/exportsGetExecutionHistorySample.js.map +1 -0
  68. package/dist-esm/samples-dev/exportsGetSample.d.ts +2 -0
  69. package/dist-esm/samples-dev/exportsGetSample.d.ts.map +1 -0
  70. package/dist-esm/samples-dev/exportsGetSample.js +122 -0
  71. package/dist-esm/samples-dev/exportsGetSample.js.map +1 -0
  72. package/dist-esm/samples-dev/exportsListSample.d.ts +2 -0
  73. package/dist-esm/samples-dev/exportsListSample.d.ts.map +1 -0
  74. package/dist-esm/samples-dev/exportsListSample.js +116 -0
  75. package/dist-esm/samples-dev/exportsListSample.js.map +1 -0
  76. package/dist-esm/samples-dev/forecastExternalCloudProviderUsageSample.d.ts +2 -0
  77. package/dist-esm/samples-dev/forecastExternalCloudProviderUsageSample.d.ts.map +1 -0
  78. package/dist-esm/samples-dev/forecastExternalCloudProviderUsageSample.js +136 -0
  79. package/dist-esm/samples-dev/forecastExternalCloudProviderUsageSample.js.map +1 -0
  80. package/dist-esm/samples-dev/forecastUsageSample.d.ts +2 -0
  81. package/dist-esm/samples-dev/forecastUsageSample.d.ts.map +1 -0
  82. package/dist-esm/samples-dev/forecastUsageSample.js +433 -0
  83. package/dist-esm/samples-dev/forecastUsageSample.js.map +1 -0
  84. package/dist-esm/samples-dev/generateCostDetailsReportCreateOperationSample.d.ts +2 -0
  85. package/dist-esm/samples-dev/generateCostDetailsReportCreateOperationSample.d.ts.map +1 -0
  86. package/dist-esm/samples-dev/generateCostDetailsReportCreateOperationSample.js +160 -0
  87. package/dist-esm/samples-dev/generateCostDetailsReportCreateOperationSample.js.map +1 -0
  88. package/dist-esm/samples-dev/generateCostDetailsReportGetOperationResultsSample.d.ts +2 -0
  89. package/dist-esm/samples-dev/generateCostDetailsReportGetOperationResultsSample.d.ts.map +1 -0
  90. package/dist-esm/samples-dev/generateCostDetailsReportGetOperationResultsSample.js +37 -0
  91. package/dist-esm/samples-dev/generateCostDetailsReportGetOperationResultsSample.js.map +1 -0
  92. package/dist-esm/samples-dev/generateDetailedCostReportCreateOperationSample.d.ts +2 -0
  93. package/dist-esm/samples-dev/generateDetailedCostReportCreateOperationSample.d.ts.map +1 -0
  94. package/dist-esm/samples-dev/generateDetailedCostReportCreateOperationSample.js +121 -0
  95. package/dist-esm/samples-dev/generateDetailedCostReportCreateOperationSample.js.map +1 -0
  96. package/dist-esm/samples-dev/generateDetailedCostReportOperationResultsGetSample.d.ts +2 -0
  97. package/dist-esm/samples-dev/generateDetailedCostReportOperationResultsGetSample.d.ts.map +1 -0
  98. package/dist-esm/samples-dev/generateDetailedCostReportOperationResultsGetSample.js +37 -0
  99. package/dist-esm/samples-dev/generateDetailedCostReportOperationResultsGetSample.js.map +1 -0
  100. package/dist-esm/samples-dev/generateDetailedCostReportOperationStatusGetSample.d.ts +2 -0
  101. package/dist-esm/samples-dev/generateDetailedCostReportOperationStatusGetSample.d.ts.map +1 -0
  102. package/dist-esm/samples-dev/generateDetailedCostReportOperationStatusGetSample.js +37 -0
  103. package/dist-esm/samples-dev/generateDetailedCostReportOperationStatusGetSample.js.map +1 -0
  104. package/dist-esm/samples-dev/generateReservationDetailsReportByBillingAccountIdSample.d.ts +2 -0
  105. package/dist-esm/samples-dev/generateReservationDetailsReportByBillingAccountIdSample.d.ts.map +1 -0
  106. package/dist-esm/samples-dev/generateReservationDetailsReportByBillingAccountIdSample.js +38 -0
  107. package/dist-esm/samples-dev/generateReservationDetailsReportByBillingAccountIdSample.js.map +1 -0
  108. package/dist-esm/samples-dev/generateReservationDetailsReportByBillingProfileIdSample.d.ts +2 -0
  109. package/dist-esm/samples-dev/generateReservationDetailsReportByBillingProfileIdSample.d.ts.map +1 -0
  110. package/dist-esm/samples-dev/generateReservationDetailsReportByBillingProfileIdSample.js +39 -0
  111. package/dist-esm/samples-dev/generateReservationDetailsReportByBillingProfileIdSample.js.map +1 -0
  112. package/dist-esm/samples-dev/operationsListSample.d.ts +2 -0
  113. package/dist-esm/samples-dev/operationsListSample.d.ts.map +1 -0
  114. package/dist-esm/samples-dev/operationsListSample.js +56 -0
  115. package/dist-esm/samples-dev/operationsListSample.js.map +1 -0
  116. package/dist-esm/samples-dev/priceSheetDownloadByBillingProfileSample.d.ts +2 -0
  117. package/dist-esm/samples-dev/priceSheetDownloadByBillingProfileSample.d.ts.map +1 -0
  118. package/dist-esm/samples-dev/priceSheetDownloadByBillingProfileSample.js +37 -0
  119. package/dist-esm/samples-dev/priceSheetDownloadByBillingProfileSample.js.map +1 -0
  120. package/dist-esm/samples-dev/priceSheetDownloadSample.d.ts +2 -0
  121. package/dist-esm/samples-dev/priceSheetDownloadSample.d.ts.map +1 -0
  122. package/dist-esm/samples-dev/priceSheetDownloadSample.js +38 -0
  123. package/dist-esm/samples-dev/priceSheetDownloadSample.js.map +1 -0
  124. package/dist-esm/samples-dev/queryUsageByExternalCloudProviderTypeSample.d.ts +2 -0
  125. package/dist-esm/samples-dev/queryUsageByExternalCloudProviderTypeSample.d.ts.map +1 -0
  126. package/dist-esm/samples-dev/queryUsageByExternalCloudProviderTypeSample.js +126 -0
  127. package/dist-esm/samples-dev/queryUsageByExternalCloudProviderTypeSample.js.map +1 -0
  128. package/dist-esm/samples-dev/queryUsageSample.d.ts +2 -0
  129. package/dist-esm/samples-dev/queryUsageSample.d.ts.map +1 -0
  130. package/dist-esm/samples-dev/queryUsageSample.js +790 -0
  131. package/dist-esm/samples-dev/queryUsageSample.js.map +1 -0
  132. package/dist-esm/samples-dev/scheduledActionsCheckNameAvailabilityByScopeSample.d.ts +2 -0
  133. package/dist-esm/samples-dev/scheduledActionsCheckNameAvailabilityByScopeSample.d.ts.map +1 -0
  134. package/dist-esm/samples-dev/scheduledActionsCheckNameAvailabilityByScopeSample.js +40 -0
  135. package/dist-esm/samples-dev/scheduledActionsCheckNameAvailabilityByScopeSample.js.map +1 -0
  136. package/dist-esm/samples-dev/scheduledActionsCheckNameAvailabilitySample.d.ts +2 -0
  137. package/dist-esm/samples-dev/scheduledActionsCheckNameAvailabilitySample.d.ts.map +1 -0
  138. package/dist-esm/samples-dev/scheduledActionsCheckNameAvailabilitySample.js +39 -0
  139. package/dist-esm/samples-dev/scheduledActionsCheckNameAvailabilitySample.js.map +1 -0
  140. package/dist-esm/samples-dev/scheduledActionsCreateOrUpdateByScopeSample.d.ts +2 -0
  141. package/dist-esm/samples-dev/scheduledActionsCreateOrUpdateByScopeSample.d.ts.map +1 -0
  142. package/dist-esm/samples-dev/scheduledActionsCreateOrUpdateByScopeSample.js +96 -0
  143. package/dist-esm/samples-dev/scheduledActionsCreateOrUpdateByScopeSample.js.map +1 -0
  144. package/dist-esm/samples-dev/scheduledActionsCreateOrUpdateSample.d.ts +2 -0
  145. package/dist-esm/samples-dev/scheduledActionsCreateOrUpdateSample.d.ts.map +1 -0
  146. package/dist-esm/samples-dev/scheduledActionsCreateOrUpdateSample.js +56 -0
  147. package/dist-esm/samples-dev/scheduledActionsCreateOrUpdateSample.js.map +1 -0
  148. package/dist-esm/samples-dev/scheduledActionsDeleteByScopeSample.d.ts +2 -0
  149. package/dist-esm/samples-dev/scheduledActionsDeleteByScopeSample.d.ts.map +1 -0
  150. package/dist-esm/samples-dev/scheduledActionsDeleteByScopeSample.js +37 -0
  151. package/dist-esm/samples-dev/scheduledActionsDeleteByScopeSample.js.map +1 -0
  152. package/dist-esm/samples-dev/scheduledActionsDeleteSample.d.ts +2 -0
  153. package/dist-esm/samples-dev/scheduledActionsDeleteSample.d.ts.map +1 -0
  154. package/dist-esm/samples-dev/scheduledActionsDeleteSample.js +36 -0
  155. package/dist-esm/samples-dev/scheduledActionsDeleteSample.js.map +1 -0
  156. package/dist-esm/samples-dev/scheduledActionsGetByScopeSample.d.ts +2 -0
  157. package/dist-esm/samples-dev/scheduledActionsGetByScopeSample.d.ts.map +1 -0
  158. package/dist-esm/samples-dev/scheduledActionsGetByScopeSample.js +37 -0
  159. package/dist-esm/samples-dev/scheduledActionsGetByScopeSample.js.map +1 -0
  160. package/dist-esm/samples-dev/scheduledActionsGetSample.d.ts +2 -0
  161. package/dist-esm/samples-dev/scheduledActionsGetSample.d.ts.map +1 -0
  162. package/dist-esm/samples-dev/scheduledActionsGetSample.js +36 -0
  163. package/dist-esm/samples-dev/scheduledActionsGetSample.js.map +1 -0
  164. package/dist-esm/samples-dev/scheduledActionsListByScopeSample.d.ts +2 -0
  165. package/dist-esm/samples-dev/scheduledActionsListByScopeSample.d.ts.map +1 -0
  166. package/dist-esm/samples-dev/scheduledActionsListByScopeSample.js +96 -0
  167. package/dist-esm/samples-dev/scheduledActionsListByScopeSample.js.map +1 -0
  168. package/dist-esm/samples-dev/scheduledActionsListSample.d.ts +2 -0
  169. package/dist-esm/samples-dev/scheduledActionsListSample.d.ts.map +1 -0
  170. package/dist-esm/samples-dev/scheduledActionsListSample.js +94 -0
  171. package/dist-esm/samples-dev/scheduledActionsListSample.js.map +1 -0
  172. package/dist-esm/samples-dev/scheduledActionsRunByScopeSample.d.ts +2 -0
  173. package/dist-esm/samples-dev/scheduledActionsRunByScopeSample.d.ts.map +1 -0
  174. package/dist-esm/samples-dev/scheduledActionsRunByScopeSample.js +37 -0
  175. package/dist-esm/samples-dev/scheduledActionsRunByScopeSample.js.map +1 -0
  176. package/dist-esm/samples-dev/scheduledActionsRunSample.d.ts +2 -0
  177. package/dist-esm/samples-dev/scheduledActionsRunSample.d.ts.map +1 -0
  178. package/dist-esm/samples-dev/scheduledActionsRunSample.js +36 -0
  179. package/dist-esm/samples-dev/scheduledActionsRunSample.js.map +1 -0
  180. package/dist-esm/samples-dev/viewsCreateOrUpdateByScopeSample.d.ts +2 -0
  181. package/dist-esm/samples-dev/viewsCreateOrUpdateByScopeSample.d.ts.map +1 -0
  182. package/dist-esm/samples-dev/viewsCreateOrUpdateByScopeSample.js +65 -0
  183. package/dist-esm/samples-dev/viewsCreateOrUpdateByScopeSample.js.map +1 -0
  184. package/dist-esm/samples-dev/viewsCreateOrUpdateSample.d.ts +2 -0
  185. package/dist-esm/samples-dev/viewsCreateOrUpdateSample.d.ts.map +1 -0
  186. package/dist-esm/samples-dev/viewsCreateOrUpdateSample.js +64 -0
  187. package/dist-esm/samples-dev/viewsCreateOrUpdateSample.js.map +1 -0
  188. package/dist-esm/samples-dev/viewsDeleteByScopeSample.d.ts +2 -0
  189. package/dist-esm/samples-dev/viewsDeleteByScopeSample.d.ts.map +1 -0
  190. package/dist-esm/samples-dev/viewsDeleteByScopeSample.js +37 -0
  191. package/dist-esm/samples-dev/viewsDeleteByScopeSample.js.map +1 -0
  192. package/dist-esm/samples-dev/viewsDeleteSample.d.ts +2 -0
  193. package/dist-esm/samples-dev/viewsDeleteSample.d.ts.map +1 -0
  194. package/dist-esm/samples-dev/viewsDeleteSample.js +36 -0
  195. package/dist-esm/samples-dev/viewsDeleteSample.js.map +1 -0
  196. package/dist-esm/samples-dev/viewsGetByScopeSample.d.ts +2 -0
  197. package/dist-esm/samples-dev/viewsGetByScopeSample.d.ts.map +1 -0
  198. package/dist-esm/samples-dev/viewsGetByScopeSample.js +37 -0
  199. package/dist-esm/samples-dev/viewsGetByScopeSample.js.map +1 -0
  200. package/dist-esm/samples-dev/viewsGetSample.d.ts +2 -0
  201. package/dist-esm/samples-dev/viewsGetSample.d.ts.map +1 -0
  202. package/dist-esm/samples-dev/viewsGetSample.js +36 -0
  203. package/dist-esm/samples-dev/viewsGetSample.js.map +1 -0
  204. package/dist-esm/samples-dev/viewsListByScopeSample.d.ts +2 -0
  205. package/dist-esm/samples-dev/viewsListByScopeSample.d.ts.map +1 -0
  206. package/dist-esm/samples-dev/viewsListByScopeSample.js +57 -0
  207. package/dist-esm/samples-dev/viewsListByScopeSample.js.map +1 -0
  208. package/dist-esm/samples-dev/viewsListSample.d.ts +2 -0
  209. package/dist-esm/samples-dev/viewsListSample.d.ts.map +1 -0
  210. package/dist-esm/samples-dev/viewsListSample.js +56 -0
  211. package/dist-esm/samples-dev/viewsListSample.js.map +1 -0
  212. package/dist-esm/src/costManagementClient.d.ts +33 -0
  213. package/dist-esm/src/costManagementClient.d.ts.map +1 -0
  214. package/dist-esm/src/costManagementClient.js +109 -0
  215. package/dist-esm/src/costManagementClient.js.map +1 -0
  216. package/dist-esm/src/index.d.ts +6 -0
  217. package/dist-esm/src/index.d.ts.map +1 -0
  218. package/dist-esm/src/index.js +13 -0
  219. package/dist-esm/src/index.js.map +1 -0
  220. package/dist-esm/src/lroImpl.d.ts +11 -0
  221. package/dist-esm/src/lroImpl.d.ts.map +1 -0
  222. package/dist-esm/src/lroImpl.js +21 -0
  223. package/dist-esm/src/lroImpl.js.map +1 -0
  224. package/dist-esm/src/models/index.d.ts +2991 -0
  225. package/dist-esm/src/models/index.d.ts.map +1 -0
  226. package/dist-esm/src/models/index.js +606 -0
  227. package/dist-esm/src/models/index.js.map +1 -0
  228. package/dist-esm/src/models/mappers.d.ts +118 -0
  229. package/dist-esm/src/models/mappers.d.ts.map +1 -0
  230. package/dist-esm/src/models/mappers.js +3702 -0
  231. package/dist-esm/src/models/mappers.js.map +1 -0
  232. package/dist-esm/src/models/parameters.d.ts +43 -0
  233. package/dist-esm/src/models/parameters.d.ts.map +1 -0
  234. package/dist-esm/src/models/parameters.js +378 -0
  235. package/dist-esm/src/models/parameters.js.map +1 -0
  236. package/dist-esm/src/operations/alerts.d.ts +86 -0
  237. package/dist-esm/src/operations/alerts.d.ts.map +1 -0
  238. package/dist-esm/src/operations/alerts.js +174 -0
  239. package/dist-esm/src/operations/alerts.js.map +1 -0
  240. package/dist-esm/src/operations/benefitRecommendations.d.ts +50 -0
  241. package/dist-esm/src/operations/benefitRecommendations.d.ts.map +1 -0
  242. package/dist-esm/src/operations/benefitRecommendations.js +165 -0
  243. package/dist-esm/src/operations/benefitRecommendations.js.map +1 -0
  244. package/dist-esm/src/operations/benefitUtilizationSummaries.d.ts +108 -0
  245. package/dist-esm/src/operations/benefitUtilizationSummaries.d.ts.map +1 -0
  246. package/dist-esm/src/operations/benefitUtilizationSummaries.js +538 -0
  247. package/dist-esm/src/operations/benefitUtilizationSummaries.js.map +1 -0
  248. package/dist-esm/src/operations/dimensions.d.ts +78 -0
  249. package/dist-esm/src/operations/dimensions.d.ts.map +1 -0
  250. package/dist-esm/src/operations/dimensions.js +234 -0
  251. package/dist-esm/src/operations/dimensions.js.map +1 -0
  252. package/dist-esm/src/operations/exports.d.ts +141 -0
  253. package/dist-esm/src/operations/exports.d.ts.map +1 -0
  254. package/dist-esm/src/operations/exports.js +260 -0
  255. package/dist-esm/src/operations/exports.js.map +1 -0
  256. package/dist-esm/src/operations/forecast.d.ts +45 -0
  257. package/dist-esm/src/operations/forecast.d.ts.map +1 -0
  258. package/dist-esm/src/operations/forecast.js +105 -0
  259. package/dist-esm/src/operations/forecast.js.map +1 -0
  260. package/dist-esm/src/operations/generateCostDetailsReport.d.ts +70 -0
  261. package/dist-esm/src/operations/generateCostDetailsReport.d.ts.map +1 -0
  262. package/dist-esm/src/operations/generateCostDetailsReport.js +218 -0
  263. package/dist-esm/src/operations/generateCostDetailsReport.js.map +1 -0
  264. package/dist-esm/src/operations/generateDetailedCostReport.d.ts +38 -0
  265. package/dist-esm/src/operations/generateDetailedCostReport.d.ts.map +1 -0
  266. package/dist-esm/src/operations/generateDetailedCostReport.js +119 -0
  267. package/dist-esm/src/operations/generateDetailedCostReport.js.map +1 -0
  268. package/dist-esm/src/operations/generateDetailedCostReportOperationResults.d.ts +32 -0
  269. package/dist-esm/src/operations/generateDetailedCostReportOperationResults.d.ts.map +1 -0
  270. package/dist-esm/src/operations/generateDetailedCostReportOperationResults.js +110 -0
  271. package/dist-esm/src/operations/generateDetailedCostReportOperationResults.js.map +1 -0
  272. package/dist-esm/src/operations/generateDetailedCostReportOperationStatus.d.ts +22 -0
  273. package/dist-esm/src/operations/generateDetailedCostReportOperationStatus.d.ts.map +1 -0
  274. package/dist-esm/src/operations/generateDetailedCostReportOperationStatus.js +50 -0
  275. package/dist-esm/src/operations/generateDetailedCostReportOperationStatus.js.map +1 -0
  276. package/dist-esm/src/operations/generateReservationDetailsReport.d.ts +60 -0
  277. package/dist-esm/src/operations/generateReservationDetailsReport.d.ts.map +1 -0
  278. package/dist-esm/src/operations/generateReservationDetailsReport.js +218 -0
  279. package/dist-esm/src/operations/generateReservationDetailsReport.js.map +1 -0
  280. package/dist-esm/src/operations/index.d.ts +17 -0
  281. package/dist-esm/src/operations/index.d.ts.map +1 -0
  282. package/dist-esm/src/operations/index.js +24 -0
  283. package/dist-esm/src/operations/index.js.map +1 -0
  284. package/dist-esm/src/operations/operations.d.ts +32 -0
  285. package/dist-esm/src/operations/operations.d.ts.map +1 -0
  286. package/dist-esm/src/operations/operations.js +138 -0
  287. package/dist-esm/src/operations/operations.js.map +1 -0
  288. package/dist-esm/src/operations/priceSheet.d.ts +54 -0
  289. package/dist-esm/src/operations/priceSheet.d.ts.map +1 -0
  290. package/dist-esm/src/operations/priceSheet.js +209 -0
  291. package/dist-esm/src/operations/priceSheet.js.map +1 -0
  292. package/dist-esm/src/operations/query.d.ts +45 -0
  293. package/dist-esm/src/operations/query.d.ts.map +1 -0
  294. package/dist-esm/src/operations/query.js +105 -0
  295. package/dist-esm/src/operations/query.js.map +1 -0
  296. package/dist-esm/src/operations/scheduledActions.d.ts +240 -0
  297. package/dist-esm/src/operations/scheduledActions.d.ts.map +1 -0
  298. package/dist-esm/src/operations/scheduledActions.js +636 -0
  299. package/dist-esm/src/operations/scheduledActions.js.map +1 -0
  300. package/dist-esm/src/operations/views.d.ts +194 -0
  301. package/dist-esm/src/operations/views.d.ts.map +1 -0
  302. package/dist-esm/src/operations/views.js +510 -0
  303. package/dist-esm/src/operations/views.js.map +1 -0
  304. package/dist-esm/src/operationsInterfaces/alerts.d.ts +78 -0
  305. package/dist-esm/src/operationsInterfaces/alerts.d.ts.map +1 -0
  306. package/dist-esm/src/operationsInterfaces/alerts.js +9 -0
  307. package/dist-esm/src/operationsInterfaces/alerts.js.map +1 -0
  308. package/dist-esm/src/operationsInterfaces/benefitRecommendations.d.ts +17 -0
  309. package/dist-esm/src/operationsInterfaces/benefitRecommendations.d.ts.map +1 -0
  310. package/dist-esm/src/operationsInterfaces/benefitRecommendations.js +9 -0
  311. package/dist-esm/src/operationsInterfaces/benefitRecommendations.js.map +1 -0
  312. package/dist-esm/src/operationsInterfaces/benefitUtilizationSummaries.d.ts +34 -0
  313. package/dist-esm/src/operationsInterfaces/benefitUtilizationSummaries.d.ts.map +1 -0
  314. package/dist-esm/src/operationsInterfaces/benefitUtilizationSummaries.js +9 -0
  315. package/dist-esm/src/operationsInterfaces/benefitUtilizationSummaries.js.map +1 -0
  316. package/dist-esm/src/operationsInterfaces/dimensions.d.ts +36 -0
  317. package/dist-esm/src/operationsInterfaces/dimensions.d.ts.map +1 -0
  318. package/dist-esm/src/operationsInterfaces/dimensions.js +9 -0
  319. package/dist-esm/src/operationsInterfaces/dimensions.js.map +1 -0
  320. package/dist-esm/src/operationsInterfaces/exports.d.ts +133 -0
  321. package/dist-esm/src/operationsInterfaces/exports.d.ts.map +1 -0
  322. package/dist-esm/src/operationsInterfaces/exports.js +9 -0
  323. package/dist-esm/src/operationsInterfaces/exports.js.map +1 -0
  324. package/dist-esm/src/operationsInterfaces/forecast.d.ts +37 -0
  325. package/dist-esm/src/operationsInterfaces/forecast.d.ts.map +1 -0
  326. package/dist-esm/src/operationsInterfaces/forecast.js +9 -0
  327. package/dist-esm/src/operationsInterfaces/forecast.js.map +1 -0
  328. package/dist-esm/src/operationsInterfaces/generateCostDetailsReport.d.ts +62 -0
  329. package/dist-esm/src/operationsInterfaces/generateCostDetailsReport.d.ts.map +1 -0
  330. package/dist-esm/src/operationsInterfaces/generateCostDetailsReport.js +9 -0
  331. package/dist-esm/src/operationsInterfaces/generateCostDetailsReport.js.map +1 -0
  332. package/dist-esm/src/operationsInterfaces/generateDetailedCostReport.d.ts +30 -0
  333. package/dist-esm/src/operationsInterfaces/generateDetailedCostReport.d.ts.map +1 -0
  334. package/dist-esm/src/operationsInterfaces/generateDetailedCostReport.js +9 -0
  335. package/dist-esm/src/operationsInterfaces/generateDetailedCostReport.js.map +1 -0
  336. package/dist-esm/src/operationsInterfaces/generateDetailedCostReportOperationResults.d.ts +24 -0
  337. package/dist-esm/src/operationsInterfaces/generateDetailedCostReportOperationResults.d.ts.map +1 -0
  338. package/dist-esm/src/operationsInterfaces/generateDetailedCostReportOperationResults.js +9 -0
  339. package/dist-esm/src/operationsInterfaces/generateDetailedCostReportOperationResults.js.map +1 -0
  340. package/dist-esm/src/operationsInterfaces/generateDetailedCostReportOperationStatus.d.ts +14 -0
  341. package/dist-esm/src/operationsInterfaces/generateDetailedCostReportOperationStatus.d.ts.map +1 -0
  342. package/dist-esm/src/operationsInterfaces/generateDetailedCostReportOperationStatus.js +9 -0
  343. package/dist-esm/src/operationsInterfaces/generateDetailedCostReportOperationStatus.js.map +1 -0
  344. package/dist-esm/src/operationsInterfaces/generateReservationDetailsReport.d.ts +52 -0
  345. package/dist-esm/src/operationsInterfaces/generateReservationDetailsReport.d.ts.map +1 -0
  346. package/dist-esm/src/operationsInterfaces/generateReservationDetailsReport.js +9 -0
  347. package/dist-esm/src/operationsInterfaces/generateReservationDetailsReport.js.map +1 -0
  348. package/dist-esm/src/operationsInterfaces/index.d.ts +17 -0
  349. package/dist-esm/src/operationsInterfaces/index.d.ts.map +1 -0
  350. package/dist-esm/src/operationsInterfaces/index.js +24 -0
  351. package/dist-esm/src/operationsInterfaces/index.js.map +1 -0
  352. package/dist-esm/src/operationsInterfaces/operations.d.ts +11 -0
  353. package/dist-esm/src/operationsInterfaces/operations.d.ts.map +1 -0
  354. package/dist-esm/src/operationsInterfaces/operations.js +9 -0
  355. package/dist-esm/src/operationsInterfaces/operations.js.map +1 -0
  356. package/dist-esm/src/operationsInterfaces/priceSheet.d.ts +46 -0
  357. package/dist-esm/src/operationsInterfaces/priceSheet.d.ts.map +1 -0
  358. package/dist-esm/src/operationsInterfaces/priceSheet.js +9 -0
  359. package/dist-esm/src/operationsInterfaces/priceSheet.js.map +1 -0
  360. package/dist-esm/src/operationsInterfaces/query.d.ts +37 -0
  361. package/dist-esm/src/operationsInterfaces/query.d.ts.map +1 -0
  362. package/dist-esm/src/operationsInterfaces/query.js +9 -0
  363. package/dist-esm/src/operationsInterfaces/query.js.map +1 -0
  364. package/dist-esm/src/operationsInterfaces/scheduledActions.d.ts +174 -0
  365. package/dist-esm/src/operationsInterfaces/scheduledActions.d.ts.map +1 -0
  366. package/dist-esm/src/operationsInterfaces/scheduledActions.js +9 -0
  367. package/dist-esm/src/operationsInterfaces/scheduledActions.js.map +1 -0
  368. package/dist-esm/src/operationsInterfaces/views.d.ts +126 -0
  369. package/dist-esm/src/operationsInterfaces/views.d.ts.map +1 -0
  370. package/dist-esm/src/operationsInterfaces/views.js +9 -0
  371. package/dist-esm/src/operationsInterfaces/views.js.map +1 -0
  372. package/dist-esm/src/pagingHelper.d.ts +13 -0
  373. package/dist-esm/src/pagingHelper.d.ts.map +1 -0
  374. package/dist-esm/src/pagingHelper.js +32 -0
  375. package/dist-esm/src/pagingHelper.js.map +1 -0
  376. package/dist-esm/test/costmanagement_operations_test.spec.d.ts +4 -0
  377. package/dist-esm/test/costmanagement_operations_test.spec.d.ts.map +1 -0
  378. package/dist-esm/test/costmanagement_operations_test.spec.js +78 -0
  379. package/dist-esm/test/costmanagement_operations_test.spec.js.map +1 -0
  380. package/package.json +123 -0
  381. package/review/arm-costmanagement.api.md +2064 -0
  382. package/rollup.config.js +122 -0
  383. package/src/costManagementClient.ts +204 -0
  384. package/src/index.ts +13 -0
  385. package/src/lroImpl.ts +42 -0
  386. package/src/models/index.ts +3354 -0
  387. package/src/models/mappers.ts +3957 -0
  388. package/src/models/parameters.ts +436 -0
  389. package/src/operations/alerts.ts +225 -0
  390. package/src/operations/benefitRecommendations.ts +185 -0
  391. package/src/operations/benefitUtilizationSummaries.ts +674 -0
  392. package/src/operations/dimensions.ts +266 -0
  393. package/src/operations/exports.ts +328 -0
  394. package/src/operations/forecast.ts +137 -0
  395. package/src/operations/generateCostDetailsReport.ts +302 -0
  396. package/src/operations/generateDetailedCostReport.ts +166 -0
  397. package/src/operations/generateDetailedCostReportOperationResults.ts +156 -0
  398. package/src/operations/generateDetailedCostReportOperationStatus.ts +70 -0
  399. package/src/operations/generateReservationDetailsReport.ts +319 -0
  400. package/src/operations/index.ts +24 -0
  401. package/src/operations/operations.ts +149 -0
  402. package/src/operations/priceSheet.ts +299 -0
  403. package/src/operations/query.ts +137 -0
  404. package/src/operations/scheduledActions.ts +752 -0
  405. package/src/operations/views.ts +583 -0
  406. package/src/operationsInterfaces/alerts.ts +113 -0
  407. package/src/operationsInterfaces/benefitRecommendations.ts +32 -0
  408. package/src/operationsInterfaces/benefitUtilizationSummaries.ts +63 -0
  409. package/src/operationsInterfaces/dimensions.ts +57 -0
  410. package/src/operationsInterfaces/exports.ts +177 -0
  411. package/src/operationsInterfaces/forecast.ts +61 -0
  412. package/src/operationsInterfaces/generateCostDetailsReport.ts +102 -0
  413. package/src/operationsInterfaces/generateDetailedCostReport.ts +55 -0
  414. package/src/operationsInterfaces/generateDetailedCostReportOperationResults.ts +48 -0
  415. package/src/operationsInterfaces/generateDetailedCostReportOperationStatus.ts +29 -0
  416. package/src/operationsInterfaces/generateReservationDetailsReport.ts +101 -0
  417. package/src/operationsInterfaces/index.ts +24 -0
  418. package/src/operationsInterfaces/operations.ts +25 -0
  419. package/src/operationsInterfaces/priceSheet.ts +87 -0
  420. package/src/operationsInterfaces/query.ts +61 -0
  421. package/src/operationsInterfaces/scheduledActions.ts +243 -0
  422. package/src/operationsInterfaces/views.ts +172 -0
  423. package/src/pagingHelper.ts +39 -0
  424. package/tsconfig.json +33 -0
  425. package/types/arm-costmanagement.d.ts +4255 -0
  426. package/types/tsdoc-metadata.json +11 -0
@@ -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=generateReservationDetailsReport.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"generateReservationDetailsReport.js","sourceRoot":"","sources":["../../../src/operationsInterfaces/generateReservationDetailsReport.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG"}
@@ -0,0 +1,17 @@
1
+ export * from "./operations";
2
+ export * from "./views";
3
+ export * from "./alerts";
4
+ export * from "./forecast";
5
+ export * from "./dimensions";
6
+ export * from "./query";
7
+ export * from "./generateReservationDetailsReport";
8
+ export * from "./exports";
9
+ export * from "./generateCostDetailsReport";
10
+ export * from "./generateDetailedCostReport";
11
+ export * from "./generateDetailedCostReportOperationResults";
12
+ export * from "./generateDetailedCostReportOperationStatus";
13
+ export * from "./priceSheet";
14
+ export * from "./scheduledActions";
15
+ export * from "./benefitRecommendations";
16
+ export * from "./benefitUtilizationSummaries";
17
+ //# 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,cAAc,CAAC;AAC7B,cAAc,SAAS,CAAC;AACxB,cAAc,UAAU,CAAC;AACzB,cAAc,YAAY,CAAC;AAC3B,cAAc,cAAc,CAAC;AAC7B,cAAc,SAAS,CAAC;AACxB,cAAc,oCAAoC,CAAC;AACnD,cAAc,WAAW,CAAC;AAC1B,cAAc,6BAA6B,CAAC;AAC5C,cAAc,8BAA8B,CAAC;AAC7C,cAAc,8CAA8C,CAAC;AAC7D,cAAc,6CAA6C,CAAC;AAC5D,cAAc,cAAc,CAAC;AAC7B,cAAc,oBAAoB,CAAC;AACnC,cAAc,0BAA0B,CAAC;AACzC,cAAc,+BAA+B,CAAC"}
@@ -0,0 +1,24 @@
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 "./operations";
9
+ export * from "./views";
10
+ export * from "./alerts";
11
+ export * from "./forecast";
12
+ export * from "./dimensions";
13
+ export * from "./query";
14
+ export * from "./generateReservationDetailsReport";
15
+ export * from "./exports";
16
+ export * from "./generateCostDetailsReport";
17
+ export * from "./generateDetailedCostReport";
18
+ export * from "./generateDetailedCostReportOperationResults";
19
+ export * from "./generateDetailedCostReportOperationStatus";
20
+ export * from "./priceSheet";
21
+ export * from "./scheduledActions";
22
+ export * from "./benefitRecommendations";
23
+ export * from "./benefitUtilizationSummaries";
24
+ //# 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,cAAc,CAAC;AAC7B,cAAc,SAAS,CAAC;AACxB,cAAc,UAAU,CAAC;AACzB,cAAc,YAAY,CAAC;AAC3B,cAAc,cAAc,CAAC;AAC7B,cAAc,SAAS,CAAC;AACxB,cAAc,oCAAoC,CAAC;AACnD,cAAc,WAAW,CAAC;AAC1B,cAAc,6BAA6B,CAAC;AAC5C,cAAc,8BAA8B,CAAC;AAC7C,cAAc,8CAA8C,CAAC;AAC7D,cAAc,6CAA6C,CAAC;AAC5D,cAAc,cAAc,CAAC;AAC7B,cAAc,oBAAoB,CAAC;AACnC,cAAc,0BAA0B,CAAC;AACzC,cAAc,+BAA+B,CAAC"}
@@ -0,0 +1,11 @@
1
+ import { PagedAsyncIterableIterator } from "@azure/core-paging";
2
+ import { CostManagementOperation, OperationsListOptionalParams } from "../models";
3
+ /** Interface representing a Operations. */
4
+ export interface Operations {
5
+ /**
6
+ * Lists all of the available cost management REST API operations.
7
+ * @param options The options parameters.
8
+ */
9
+ list(options?: OperationsListOptionalParams): PagedAsyncIterableIterator<CostManagementOperation>;
10
+ }
11
+ //# sourceMappingURL=operations.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"operations.d.ts","sourceRoot":"","sources":["../../../src/operationsInterfaces/operations.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,0BAA0B,EAAE,MAAM,oBAAoB,CAAC;AAChE,OAAO,EACL,uBAAuB,EACvB,4BAA4B,EAC7B,MAAM,WAAW,CAAC;AAGnB,2CAA2C;AAC3C,MAAM,WAAW,UAAU;IACzB;;;OAGG;IACH,IAAI,CACF,OAAO,CAAC,EAAE,4BAA4B,GACrC,0BAA0B,CAAC,uBAAuB,CAAC,CAAC;CACxD"}
@@ -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=operations.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"operations.js","sourceRoot":"","sources":["../../../src/operationsInterfaces/operations.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG"}
@@ -0,0 +1,46 @@
1
+ import { SimplePollerLike, OperationState } from "@azure/core-lro";
2
+ import { PriceSheetDownloadOptionalParams, PriceSheetDownloadResponse, PriceSheetDownloadByBillingProfileOptionalParams, PriceSheetDownloadByBillingProfileResponse } from "../models";
3
+ /** Interface representing a PriceSheet. */
4
+ export interface PriceSheet {
5
+ /**
6
+ * Gets a URL to download the pricesheet for an invoice. The operation is supported for billing
7
+ * accounts with agreement type Microsoft Partner Agreement or Microsoft Customer Agreement.
8
+ * @param billingAccountName The ID that uniquely identifies a billing account.
9
+ * @param billingProfileName The ID that uniquely identifies a billing profile.
10
+ * @param invoiceName The ID that uniquely identifies an invoice.
11
+ * @param options The options parameters.
12
+ */
13
+ beginDownload(billingAccountName: string, billingProfileName: string, invoiceName: string, options?: PriceSheetDownloadOptionalParams): Promise<SimplePollerLike<OperationState<PriceSheetDownloadResponse>, PriceSheetDownloadResponse>>;
14
+ /**
15
+ * Gets a URL to download the pricesheet for an invoice. The operation is supported for billing
16
+ * accounts with agreement type Microsoft Partner Agreement or Microsoft Customer Agreement.
17
+ * @param billingAccountName The ID that uniquely identifies a billing account.
18
+ * @param billingProfileName The ID that uniquely identifies a billing profile.
19
+ * @param invoiceName The ID that uniquely identifies an invoice.
20
+ * @param options The options parameters.
21
+ */
22
+ beginDownloadAndWait(billingAccountName: string, billingProfileName: string, invoiceName: string, options?: PriceSheetDownloadOptionalParams): Promise<PriceSheetDownloadResponse>;
23
+ /**
24
+ * Gets a URL to download the current month's pricesheet for a billing profile. The operation is
25
+ * supported for billing accounts with agreement type Microsoft Partner Agreement or Microsoft Customer
26
+ * Agreement.Due to Azure product growth, the Azure price sheet download experience in this preview
27
+ * version will be updated from a single csv file to a Zip file containing multiple csv files, each
28
+ * with max 200k records.
29
+ * @param billingAccountName The ID that uniquely identifies a billing account.
30
+ * @param billingProfileName The ID that uniquely identifies a billing profile.
31
+ * @param options The options parameters.
32
+ */
33
+ beginDownloadByBillingProfile(billingAccountName: string, billingProfileName: string, options?: PriceSheetDownloadByBillingProfileOptionalParams): Promise<SimplePollerLike<OperationState<PriceSheetDownloadByBillingProfileResponse>, PriceSheetDownloadByBillingProfileResponse>>;
34
+ /**
35
+ * Gets a URL to download the current month's pricesheet for a billing profile. The operation is
36
+ * supported for billing accounts with agreement type Microsoft Partner Agreement or Microsoft Customer
37
+ * Agreement.Due to Azure product growth, the Azure price sheet download experience in this preview
38
+ * version will be updated from a single csv file to a Zip file containing multiple csv files, each
39
+ * with max 200k records.
40
+ * @param billingAccountName The ID that uniquely identifies a billing account.
41
+ * @param billingProfileName The ID that uniquely identifies a billing profile.
42
+ * @param options The options parameters.
43
+ */
44
+ beginDownloadByBillingProfileAndWait(billingAccountName: string, billingProfileName: string, options?: PriceSheetDownloadByBillingProfileOptionalParams): Promise<PriceSheetDownloadByBillingProfileResponse>;
45
+ }
46
+ //# sourceMappingURL=priceSheet.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"priceSheet.d.ts","sourceRoot":"","sources":["../../../src/operationsInterfaces/priceSheet.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,gBAAgB,EAAE,cAAc,EAAE,MAAM,iBAAiB,CAAC;AACnE,OAAO,EACL,gCAAgC,EAChC,0BAA0B,EAC1B,gDAAgD,EAChD,0CAA0C,EAC3C,MAAM,WAAW,CAAC;AAEnB,2CAA2C;AAC3C,MAAM,WAAW,UAAU;IACzB;;;;;;;OAOG;IACH,aAAa,CACX,kBAAkB,EAAE,MAAM,EAC1B,kBAAkB,EAAE,MAAM,EAC1B,WAAW,EAAE,MAAM,EACnB,OAAO,CAAC,EAAE,gCAAgC,GACzC,OAAO,CACR,gBAAgB,CACd,cAAc,CAAC,0BAA0B,CAAC,EAC1C,0BAA0B,CAC3B,CACF,CAAC;IACF;;;;;;;OAOG;IACH,oBAAoB,CAClB,kBAAkB,EAAE,MAAM,EAC1B,kBAAkB,EAAE,MAAM,EAC1B,WAAW,EAAE,MAAM,EACnB,OAAO,CAAC,EAAE,gCAAgC,GACzC,OAAO,CAAC,0BAA0B,CAAC,CAAC;IACvC;;;;;;;;;OASG;IACH,6BAA6B,CAC3B,kBAAkB,EAAE,MAAM,EAC1B,kBAAkB,EAAE,MAAM,EAC1B,OAAO,CAAC,EAAE,gDAAgD,GACzD,OAAO,CACR,gBAAgB,CACd,cAAc,CAAC,0CAA0C,CAAC,EAC1D,0CAA0C,CAC3C,CACF,CAAC;IACF;;;;;;;;;OASG;IACH,oCAAoC,CAClC,kBAAkB,EAAE,MAAM,EAC1B,kBAAkB,EAAE,MAAM,EAC1B,OAAO,CAAC,EAAE,gDAAgD,GACzD,OAAO,CAAC,0CAA0C,CAAC,CAAC;CACxD"}
@@ -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=priceSheet.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"priceSheet.js","sourceRoot":"","sources":["../../../src/operationsInterfaces/priceSheet.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG"}
@@ -0,0 +1,37 @@
1
+ import { QueryDefinition, QueryUsageOptionalParams, QueryUsageResponse, ExternalCloudProviderType, QueryUsageByExternalCloudProviderTypeOptionalParams, QueryUsageByExternalCloudProviderTypeResponse } from "../models";
2
+ /** Interface representing a Query. */
3
+ export interface Query {
4
+ /**
5
+ * Query the usage data for scope defined.
6
+ * @param scope The scope associated with query and export operations. This includes
7
+ * '/subscriptions/{subscriptionId}/' for subscription scope,
8
+ * '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}' for resourceGroup scope,
9
+ * '/providers/Microsoft.Billing/billingAccounts/{billingAccountId}' for Billing Account scope and
10
+ * '/providers/Microsoft.Billing/billingAccounts/{billingAccountId}/departments/{departmentId}' for
11
+ * Department scope,
12
+ * '/providers/Microsoft.Billing/billingAccounts/{billingAccountId}/enrollmentAccounts/{enrollmentAccountId}'
13
+ * for EnrollmentAccount scope, '/providers/Microsoft.Management/managementGroups/{managementGroupId}
14
+ * for Management Group scope,
15
+ * '/providers/Microsoft.Billing/billingAccounts/{billingAccountId}/billingProfiles/{billingProfileId}'
16
+ * for billingProfile scope,
17
+ * '/providers/Microsoft.Billing/billingAccounts/{billingAccountId}/billingProfiles/{billingProfileId}/invoiceSections/{invoiceSectionId}'
18
+ * for invoiceSection scope, and
19
+ * '/providers/Microsoft.Billing/billingAccounts/{billingAccountId}/customers/{customerId}' specific
20
+ * for partners.
21
+ * @param parameters Parameters supplied to the CreateOrUpdate Query Config operation.
22
+ * @param options The options parameters.
23
+ */
24
+ usage(scope: string, parameters: QueryDefinition, options?: QueryUsageOptionalParams): Promise<QueryUsageResponse>;
25
+ /**
26
+ * Query the usage data for external cloud provider type defined.
27
+ * @param externalCloudProviderType The external cloud provider type associated with dimension/query
28
+ * operations. This includes 'externalSubscriptions' for linked account and 'externalBillingAccounts'
29
+ * for consolidated account.
30
+ * @param externalCloudProviderId This can be '{externalSubscriptionId}' for linked account or
31
+ * '{externalBillingAccountId}' for consolidated account used with dimension/query operations.
32
+ * @param parameters Parameters supplied to the CreateOrUpdate Query Config operation.
33
+ * @param options The options parameters.
34
+ */
35
+ usageByExternalCloudProviderType(externalCloudProviderType: ExternalCloudProviderType, externalCloudProviderId: string, parameters: QueryDefinition, options?: QueryUsageByExternalCloudProviderTypeOptionalParams): Promise<QueryUsageByExternalCloudProviderTypeResponse>;
36
+ }
37
+ //# sourceMappingURL=query.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"query.d.ts","sourceRoot":"","sources":["../../../src/operationsInterfaces/query.ts"],"names":[],"mappings":"AAQA,OAAO,EACL,eAAe,EACf,wBAAwB,EACxB,kBAAkB,EAClB,yBAAyB,EACzB,mDAAmD,EACnD,6CAA6C,EAC9C,MAAM,WAAW,CAAC;AAEnB,sCAAsC;AACtC,MAAM,WAAW,KAAK;IACpB;;;;;;;;;;;;;;;;;;;OAmBG;IACH,KAAK,CACH,KAAK,EAAE,MAAM,EACb,UAAU,EAAE,eAAe,EAC3B,OAAO,CAAC,EAAE,wBAAwB,GACjC,OAAO,CAAC,kBAAkB,CAAC,CAAC;IAC/B;;;;;;;;;OASG;IACH,gCAAgC,CAC9B,yBAAyB,EAAE,yBAAyB,EACpD,uBAAuB,EAAE,MAAM,EAC/B,UAAU,EAAE,eAAe,EAC3B,OAAO,CAAC,EAAE,mDAAmD,GAC5D,OAAO,CAAC,6CAA6C,CAAC,CAAC;CAC3D"}
@@ -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=query.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"query.js","sourceRoot":"","sources":["../../../src/operationsInterfaces/query.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG"}
@@ -0,0 +1,174 @@
1
+ import { PagedAsyncIterableIterator } from "@azure/core-paging";
2
+ import { ScheduledAction, ScheduledActionsListOptionalParams, ScheduledActionsListByScopeOptionalParams, ScheduledActionsCreateOrUpdateOptionalParams, ScheduledActionsCreateOrUpdateResponse, ScheduledActionsGetOptionalParams, ScheduledActionsGetResponse, ScheduledActionsDeleteOptionalParams, ScheduledActionsCreateOrUpdateByScopeOptionalParams, ScheduledActionsCreateOrUpdateByScopeResponse, ScheduledActionsGetByScopeOptionalParams, ScheduledActionsGetByScopeResponse, ScheduledActionsDeleteByScopeOptionalParams, ScheduledActionsRunOptionalParams, ScheduledActionsRunByScopeOptionalParams, CheckNameAvailabilityRequest, ScheduledActionsCheckNameAvailabilityOptionalParams, ScheduledActionsCheckNameAvailabilityResponse, ScheduledActionsCheckNameAvailabilityByScopeOptionalParams, ScheduledActionsCheckNameAvailabilityByScopeResponse } from "../models";
3
+ /** Interface representing a ScheduledActions. */
4
+ export interface ScheduledActions {
5
+ /**
6
+ * List all private scheduled actions.
7
+ * @param options The options parameters.
8
+ */
9
+ list(options?: ScheduledActionsListOptionalParams): PagedAsyncIterableIterator<ScheduledAction>;
10
+ /**
11
+ * List all shared scheduled actions within the given scope.
12
+ * @param scope The scope associated with scheduled action operations. This includes
13
+ * 'subscriptions/{subscriptionId}' for subscription scope,
14
+ * 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}' for resourceGroup scope,
15
+ * 'providers/Microsoft.Billing/billingAccounts/{billingAccountId}' for Billing Account scope,
16
+ * 'providers/Microsoft.Billing/billingAccounts/{billingAccountId}/departments/{departmentId}' for
17
+ * Department scope,
18
+ * 'providers/Microsoft.Billing/billingAccounts/{billingAccountId}/enrollmentAccounts/{enrollmentAccountId}'
19
+ * for EnrollmentAccount scope,
20
+ * 'providers/Microsoft.Billing/billingAccounts/{billingAccountId}/billingProfiles/{billingProfileId}'
21
+ * for BillingProfile scope,
22
+ * 'providers/Microsoft.Billing/billingAccounts/{billingAccountId}/invoiceSections/{invoiceSectionId}'
23
+ * for InvoiceSection scope,
24
+ * 'providers/Microsoft.CostManagement/externalBillingAccounts/{externalBillingAccountName}' for
25
+ * External Billing Account scope and
26
+ * 'providers/Microsoft.CostManagement/externalSubscriptions/{externalSubscriptionName}' for External
27
+ * Subscription scope. Note: Insight Alerts are only available on subscription scope.
28
+ * @param options The options parameters.
29
+ */
30
+ listByScope(scope: string, options?: ScheduledActionsListByScopeOptionalParams): PagedAsyncIterableIterator<ScheduledAction>;
31
+ /**
32
+ * Create or update a private scheduled action.
33
+ * @param name Scheduled action name.
34
+ * @param scheduledAction Scheduled action to be created or updated.
35
+ * @param options The options parameters.
36
+ */
37
+ createOrUpdate(name: string, scheduledAction: ScheduledAction, options?: ScheduledActionsCreateOrUpdateOptionalParams): Promise<ScheduledActionsCreateOrUpdateResponse>;
38
+ /**
39
+ * Get the private scheduled action by name.
40
+ * @param name Scheduled action name.
41
+ * @param options The options parameters.
42
+ */
43
+ get(name: string, options?: ScheduledActionsGetOptionalParams): Promise<ScheduledActionsGetResponse>;
44
+ /**
45
+ * Delete a private scheduled action.
46
+ * @param name Scheduled action name.
47
+ * @param options The options parameters.
48
+ */
49
+ delete(name: string, options?: ScheduledActionsDeleteOptionalParams): Promise<void>;
50
+ /**
51
+ * Create or update a shared scheduled action within the given scope.
52
+ * @param scope The scope associated with scheduled action operations. This includes
53
+ * 'subscriptions/{subscriptionId}' for subscription scope,
54
+ * 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}' for resourceGroup scope,
55
+ * 'providers/Microsoft.Billing/billingAccounts/{billingAccountId}' for Billing Account scope,
56
+ * 'providers/Microsoft.Billing/billingAccounts/{billingAccountId}/departments/{departmentId}' for
57
+ * Department scope,
58
+ * 'providers/Microsoft.Billing/billingAccounts/{billingAccountId}/enrollmentAccounts/{enrollmentAccountId}'
59
+ * for EnrollmentAccount scope,
60
+ * 'providers/Microsoft.Billing/billingAccounts/{billingAccountId}/billingProfiles/{billingProfileId}'
61
+ * for BillingProfile scope,
62
+ * 'providers/Microsoft.Billing/billingAccounts/{billingAccountId}/invoiceSections/{invoiceSectionId}'
63
+ * for InvoiceSection scope,
64
+ * 'providers/Microsoft.CostManagement/externalBillingAccounts/{externalBillingAccountName}' for
65
+ * External Billing Account scope and
66
+ * 'providers/Microsoft.CostManagement/externalSubscriptions/{externalSubscriptionName}' for External
67
+ * Subscription scope. Note: Insight Alerts are only available on subscription scope.
68
+ * @param name Scheduled action name.
69
+ * @param scheduledAction Scheduled action to be created or updated.
70
+ * @param options The options parameters.
71
+ */
72
+ createOrUpdateByScope(scope: string, name: string, scheduledAction: ScheduledAction, options?: ScheduledActionsCreateOrUpdateByScopeOptionalParams): Promise<ScheduledActionsCreateOrUpdateByScopeResponse>;
73
+ /**
74
+ * Get the shared scheduled action from the given scope by name.
75
+ * @param scope The scope associated with scheduled action operations. This includes
76
+ * 'subscriptions/{subscriptionId}' for subscription scope,
77
+ * 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}' for resourceGroup scope,
78
+ * 'providers/Microsoft.Billing/billingAccounts/{billingAccountId}' for Billing Account scope,
79
+ * 'providers/Microsoft.Billing/billingAccounts/{billingAccountId}/departments/{departmentId}' for
80
+ * Department scope,
81
+ * 'providers/Microsoft.Billing/billingAccounts/{billingAccountId}/enrollmentAccounts/{enrollmentAccountId}'
82
+ * for EnrollmentAccount scope,
83
+ * 'providers/Microsoft.Billing/billingAccounts/{billingAccountId}/billingProfiles/{billingProfileId}'
84
+ * for BillingProfile scope,
85
+ * 'providers/Microsoft.Billing/billingAccounts/{billingAccountId}/invoiceSections/{invoiceSectionId}'
86
+ * for InvoiceSection scope,
87
+ * 'providers/Microsoft.CostManagement/externalBillingAccounts/{externalBillingAccountName}' for
88
+ * External Billing Account scope and
89
+ * 'providers/Microsoft.CostManagement/externalSubscriptions/{externalSubscriptionName}' for External
90
+ * Subscription scope. Note: Insight Alerts are only available on subscription scope.
91
+ * @param name Scheduled action name.
92
+ * @param options The options parameters.
93
+ */
94
+ getByScope(scope: string, name: string, options?: ScheduledActionsGetByScopeOptionalParams): Promise<ScheduledActionsGetByScopeResponse>;
95
+ /**
96
+ * Delete a scheduled action within the given scope.
97
+ * @param scope The scope associated with scheduled action operations. This includes
98
+ * 'subscriptions/{subscriptionId}' for subscription scope,
99
+ * 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}' for resourceGroup scope,
100
+ * 'providers/Microsoft.Billing/billingAccounts/{billingAccountId}' for Billing Account scope,
101
+ * 'providers/Microsoft.Billing/billingAccounts/{billingAccountId}/departments/{departmentId}' for
102
+ * Department scope,
103
+ * 'providers/Microsoft.Billing/billingAccounts/{billingAccountId}/enrollmentAccounts/{enrollmentAccountId}'
104
+ * for EnrollmentAccount scope,
105
+ * 'providers/Microsoft.Billing/billingAccounts/{billingAccountId}/billingProfiles/{billingProfileId}'
106
+ * for BillingProfile scope,
107
+ * 'providers/Microsoft.Billing/billingAccounts/{billingAccountId}/invoiceSections/{invoiceSectionId}'
108
+ * for InvoiceSection scope,
109
+ * 'providers/Microsoft.CostManagement/externalBillingAccounts/{externalBillingAccountName}' for
110
+ * External Billing Account scope and
111
+ * 'providers/Microsoft.CostManagement/externalSubscriptions/{externalSubscriptionName}' for External
112
+ * Subscription scope. Note: Insight Alerts are only available on subscription scope.
113
+ * @param name Scheduled action name.
114
+ * @param options The options parameters.
115
+ */
116
+ deleteByScope(scope: string, name: string, options?: ScheduledActionsDeleteByScopeOptionalParams): Promise<void>;
117
+ /**
118
+ * Processes a private scheduled action.
119
+ * @param name Scheduled action name.
120
+ * @param options The options parameters.
121
+ */
122
+ run(name: string, options?: ScheduledActionsRunOptionalParams): Promise<void>;
123
+ /**
124
+ * Runs a shared scheduled action within the given scope.
125
+ * @param scope The scope associated with scheduled action operations. This includes
126
+ * 'subscriptions/{subscriptionId}' for subscription scope,
127
+ * 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}' for resourceGroup scope,
128
+ * 'providers/Microsoft.Billing/billingAccounts/{billingAccountId}' for Billing Account scope,
129
+ * 'providers/Microsoft.Billing/billingAccounts/{billingAccountId}/departments/{departmentId}' for
130
+ * Department scope,
131
+ * 'providers/Microsoft.Billing/billingAccounts/{billingAccountId}/enrollmentAccounts/{enrollmentAccountId}'
132
+ * for EnrollmentAccount scope,
133
+ * 'providers/Microsoft.Billing/billingAccounts/{billingAccountId}/billingProfiles/{billingProfileId}'
134
+ * for BillingProfile scope,
135
+ * 'providers/Microsoft.Billing/billingAccounts/{billingAccountId}/invoiceSections/{invoiceSectionId}'
136
+ * for InvoiceSection scope,
137
+ * 'providers/Microsoft.CostManagement/externalBillingAccounts/{externalBillingAccountName}' for
138
+ * External Billing Account scope and
139
+ * 'providers/Microsoft.CostManagement/externalSubscriptions/{externalSubscriptionName}' for External
140
+ * Subscription scope. Note: Insight Alerts are only available on subscription scope.
141
+ * @param name Scheduled action name.
142
+ * @param options The options parameters.
143
+ */
144
+ runByScope(scope: string, name: string, options?: ScheduledActionsRunByScopeOptionalParams): Promise<void>;
145
+ /**
146
+ * Checks availability and correctness of the name for a scheduled action.
147
+ * @param checkNameAvailabilityRequest Scheduled action to be created or updated.
148
+ * @param options The options parameters.
149
+ */
150
+ checkNameAvailability(checkNameAvailabilityRequest: CheckNameAvailabilityRequest, options?: ScheduledActionsCheckNameAvailabilityOptionalParams): Promise<ScheduledActionsCheckNameAvailabilityResponse>;
151
+ /**
152
+ * Checks availability and correctness of the name for a scheduled action within the given scope.
153
+ * @param scope The scope associated with scheduled action operations. This includes
154
+ * 'subscriptions/{subscriptionId}' for subscription scope,
155
+ * 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}' for resourceGroup scope,
156
+ * 'providers/Microsoft.Billing/billingAccounts/{billingAccountId}' for Billing Account scope,
157
+ * 'providers/Microsoft.Billing/billingAccounts/{billingAccountId}/departments/{departmentId}' for
158
+ * Department scope,
159
+ * 'providers/Microsoft.Billing/billingAccounts/{billingAccountId}/enrollmentAccounts/{enrollmentAccountId}'
160
+ * for EnrollmentAccount scope,
161
+ * 'providers/Microsoft.Billing/billingAccounts/{billingAccountId}/billingProfiles/{billingProfileId}'
162
+ * for BillingProfile scope,
163
+ * 'providers/Microsoft.Billing/billingAccounts/{billingAccountId}/invoiceSections/{invoiceSectionId}'
164
+ * for InvoiceSection scope,
165
+ * 'providers/Microsoft.CostManagement/externalBillingAccounts/{externalBillingAccountName}' for
166
+ * External Billing Account scope and
167
+ * 'providers/Microsoft.CostManagement/externalSubscriptions/{externalSubscriptionName}' for External
168
+ * Subscription scope. Note: Insight Alerts are only available on subscription scope.
169
+ * @param checkNameAvailabilityRequest Scheduled action to be created or updated.
170
+ * @param options The options parameters.
171
+ */
172
+ checkNameAvailabilityByScope(scope: string, checkNameAvailabilityRequest: CheckNameAvailabilityRequest, options?: ScheduledActionsCheckNameAvailabilityByScopeOptionalParams): Promise<ScheduledActionsCheckNameAvailabilityByScopeResponse>;
173
+ }
174
+ //# sourceMappingURL=scheduledActions.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"scheduledActions.d.ts","sourceRoot":"","sources":["../../../src/operationsInterfaces/scheduledActions.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,0BAA0B,EAAE,MAAM,oBAAoB,CAAC;AAChE,OAAO,EACL,eAAe,EACf,kCAAkC,EAClC,yCAAyC,EACzC,4CAA4C,EAC5C,sCAAsC,EACtC,iCAAiC,EACjC,2BAA2B,EAC3B,oCAAoC,EACpC,mDAAmD,EACnD,6CAA6C,EAC7C,wCAAwC,EACxC,kCAAkC,EAClC,2CAA2C,EAC3C,iCAAiC,EACjC,wCAAwC,EACxC,4BAA4B,EAC5B,mDAAmD,EACnD,6CAA6C,EAC7C,0DAA0D,EAC1D,oDAAoD,EACrD,MAAM,WAAW,CAAC;AAGnB,iDAAiD;AACjD,MAAM,WAAW,gBAAgB;IAC/B;;;OAGG;IACH,IAAI,CACF,OAAO,CAAC,EAAE,kCAAkC,GAC3C,0BAA0B,CAAC,eAAe,CAAC,CAAC;IAC/C;;;;;;;;;;;;;;;;;;;OAmBG;IACH,WAAW,CACT,KAAK,EAAE,MAAM,EACb,OAAO,CAAC,EAAE,yCAAyC,GAClD,0BAA0B,CAAC,eAAe,CAAC,CAAC;IAC/C;;;;;OAKG;IACH,cAAc,CACZ,IAAI,EAAE,MAAM,EACZ,eAAe,EAAE,eAAe,EAChC,OAAO,CAAC,EAAE,4CAA4C,GACrD,OAAO,CAAC,sCAAsC,CAAC,CAAC;IACnD;;;;OAIG;IACH,GAAG,CACD,IAAI,EAAE,MAAM,EACZ,OAAO,CAAC,EAAE,iCAAiC,GAC1C,OAAO,CAAC,2BAA2B,CAAC,CAAC;IACxC;;;;OAIG;IACH,MAAM,CACJ,IAAI,EAAE,MAAM,EACZ,OAAO,CAAC,EAAE,oCAAoC,GAC7C,OAAO,CAAC,IAAI,CAAC,CAAC;IACjB;;;;;;;;;;;;;;;;;;;;;OAqBG;IACH,qBAAqB,CACnB,KAAK,EAAE,MAAM,EACb,IAAI,EAAE,MAAM,EACZ,eAAe,EAAE,eAAe,EAChC,OAAO,CAAC,EAAE,mDAAmD,GAC5D,OAAO,CAAC,6CAA6C,CAAC,CAAC;IAC1D;;;;;;;;;;;;;;;;;;;;OAoBG;IACH,UAAU,CACR,KAAK,EAAE,MAAM,EACb,IAAI,EAAE,MAAM,EACZ,OAAO,CAAC,EAAE,wCAAwC,GACjD,OAAO,CAAC,kCAAkC,CAAC,CAAC;IAC/C;;;;;;;;;;;;;;;;;;;;OAoBG;IACH,aAAa,CACX,KAAK,EAAE,MAAM,EACb,IAAI,EAAE,MAAM,EACZ,OAAO,CAAC,EAAE,2CAA2C,GACpD,OAAO,CAAC,IAAI,CAAC,CAAC;IACjB;;;;OAIG;IACH,GAAG,CAAC,IAAI,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,iCAAiC,GAAG,OAAO,CAAC,IAAI,CAAC,CAAC;IAC9E;;;;;;;;;;;;;;;;;;;;OAoBG;IACH,UAAU,CACR,KAAK,EAAE,MAAM,EACb,IAAI,EAAE,MAAM,EACZ,OAAO,CAAC,EAAE,wCAAwC,GACjD,OAAO,CAAC,IAAI,CAAC,CAAC;IACjB;;;;OAIG;IACH,qBAAqB,CACnB,4BAA4B,EAAE,4BAA4B,EAC1D,OAAO,CAAC,EAAE,mDAAmD,GAC5D,OAAO,CAAC,6CAA6C,CAAC,CAAC;IAC1D;;;;;;;;;;;;;;;;;;;;OAoBG;IACH,4BAA4B,CAC1B,KAAK,EAAE,MAAM,EACb,4BAA4B,EAAE,4BAA4B,EAC1D,OAAO,CAAC,EAAE,0DAA0D,GACnE,OAAO,CAAC,oDAAoD,CAAC,CAAC;CAClE"}
@@ -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=scheduledActions.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"scheduledActions.js","sourceRoot":"","sources":["../../../src/operationsInterfaces/scheduledActions.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG"}
@@ -0,0 +1,126 @@
1
+ import { PagedAsyncIterableIterator } from "@azure/core-paging";
2
+ import { View, ViewsListOptionalParams, ViewsListByScopeOptionalParams, ViewsGetOptionalParams, ViewsGetResponse, ViewsCreateOrUpdateOptionalParams, ViewsCreateOrUpdateResponse, ViewsDeleteOptionalParams, ViewsGetByScopeOptionalParams, ViewsGetByScopeResponse, ViewsCreateOrUpdateByScopeOptionalParams, ViewsCreateOrUpdateByScopeResponse, ViewsDeleteByScopeOptionalParams } from "../models";
3
+ /** Interface representing a Views. */
4
+ export interface Views {
5
+ /**
6
+ * Lists all views by tenant and object.
7
+ * @param options The options parameters.
8
+ */
9
+ list(options?: ViewsListOptionalParams): PagedAsyncIterableIterator<View>;
10
+ /**
11
+ * Lists all views at the given scope.
12
+ * @param scope The scope associated with view operations. This includes
13
+ * 'subscriptions/{subscriptionId}' for subscription scope,
14
+ * 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}' for resourceGroup scope,
15
+ * 'providers/Microsoft.Billing/billingAccounts/{billingAccountId}' for Billing Account scope,
16
+ * 'providers/Microsoft.Billing/billingAccounts/{billingAccountId}/departments/{departmentId}' for
17
+ * Department scope,
18
+ * 'providers/Microsoft.Billing/billingAccounts/{billingAccountId}/enrollmentAccounts/{enrollmentAccountId}'
19
+ * for EnrollmentAccount scope,
20
+ * 'providers/Microsoft.Billing/billingAccounts/{billingAccountId}/billingProfiles/{billingProfileId}'
21
+ * for BillingProfile scope,
22
+ * 'providers/Microsoft.Billing/billingAccounts/{billingAccountId}/invoiceSections/{invoiceSectionId}'
23
+ * for InvoiceSection scope, 'providers/Microsoft.Management/managementGroups/{managementGroupId}' for
24
+ * Management Group scope,
25
+ * 'providers/Microsoft.CostManagement/externalBillingAccounts/{externalBillingAccountName}' for
26
+ * External Billing Account scope and
27
+ * 'providers/Microsoft.CostManagement/externalSubscriptions/{externalSubscriptionName}' for External
28
+ * Subscription scope.
29
+ * @param options The options parameters.
30
+ */
31
+ listByScope(scope: string, options?: ViewsListByScopeOptionalParams): PagedAsyncIterableIterator<View>;
32
+ /**
33
+ * Gets the view by view name.
34
+ * @param viewName View name
35
+ * @param options The options parameters.
36
+ */
37
+ get(viewName: string, options?: ViewsGetOptionalParams): Promise<ViewsGetResponse>;
38
+ /**
39
+ * The operation to create or update a view. Update operation requires latest eTag to be set in the
40
+ * request. You may obtain the latest eTag by performing a get operation. Create operation does not
41
+ * require eTag.
42
+ * @param viewName View name
43
+ * @param parameters Parameters supplied to the CreateOrUpdate View operation.
44
+ * @param options The options parameters.
45
+ */
46
+ createOrUpdate(viewName: string, parameters: View, options?: ViewsCreateOrUpdateOptionalParams): Promise<ViewsCreateOrUpdateResponse>;
47
+ /**
48
+ * The operation to delete a view.
49
+ * @param viewName View name
50
+ * @param options The options parameters.
51
+ */
52
+ delete(viewName: string, options?: ViewsDeleteOptionalParams): Promise<void>;
53
+ /**
54
+ * Gets the view for the defined scope by view name.
55
+ * @param scope The scope associated with view operations. This includes
56
+ * 'subscriptions/{subscriptionId}' for subscription scope,
57
+ * 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}' for resourceGroup scope,
58
+ * 'providers/Microsoft.Billing/billingAccounts/{billingAccountId}' for Billing Account scope,
59
+ * 'providers/Microsoft.Billing/billingAccounts/{billingAccountId}/departments/{departmentId}' for
60
+ * Department scope,
61
+ * 'providers/Microsoft.Billing/billingAccounts/{billingAccountId}/enrollmentAccounts/{enrollmentAccountId}'
62
+ * for EnrollmentAccount scope,
63
+ * 'providers/Microsoft.Billing/billingAccounts/{billingAccountId}/billingProfiles/{billingProfileId}'
64
+ * for BillingProfile scope,
65
+ * 'providers/Microsoft.Billing/billingAccounts/{billingAccountId}/invoiceSections/{invoiceSectionId}'
66
+ * for InvoiceSection scope, 'providers/Microsoft.Management/managementGroups/{managementGroupId}' for
67
+ * Management Group scope,
68
+ * 'providers/Microsoft.CostManagement/externalBillingAccounts/{externalBillingAccountName}' for
69
+ * External Billing Account scope and
70
+ * 'providers/Microsoft.CostManagement/externalSubscriptions/{externalSubscriptionName}' for External
71
+ * Subscription scope.
72
+ * @param viewName View name
73
+ * @param options The options parameters.
74
+ */
75
+ getByScope(scope: string, viewName: string, options?: ViewsGetByScopeOptionalParams): Promise<ViewsGetByScopeResponse>;
76
+ /**
77
+ * The operation to create or update a view. Update operation requires latest eTag to be set in the
78
+ * request. You may obtain the latest eTag by performing a get operation. Create operation does not
79
+ * require eTag.
80
+ * @param scope The scope associated with view operations. This includes
81
+ * 'subscriptions/{subscriptionId}' for subscription scope,
82
+ * 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}' for resourceGroup scope,
83
+ * 'providers/Microsoft.Billing/billingAccounts/{billingAccountId}' for Billing Account scope,
84
+ * 'providers/Microsoft.Billing/billingAccounts/{billingAccountId}/departments/{departmentId}' for
85
+ * Department scope,
86
+ * 'providers/Microsoft.Billing/billingAccounts/{billingAccountId}/enrollmentAccounts/{enrollmentAccountId}'
87
+ * for EnrollmentAccount scope,
88
+ * 'providers/Microsoft.Billing/billingAccounts/{billingAccountId}/billingProfiles/{billingProfileId}'
89
+ * for BillingProfile scope,
90
+ * 'providers/Microsoft.Billing/billingAccounts/{billingAccountId}/invoiceSections/{invoiceSectionId}'
91
+ * for InvoiceSection scope, 'providers/Microsoft.Management/managementGroups/{managementGroupId}' for
92
+ * Management Group scope,
93
+ * 'providers/Microsoft.CostManagement/externalBillingAccounts/{externalBillingAccountName}' for
94
+ * External Billing Account scope and
95
+ * 'providers/Microsoft.CostManagement/externalSubscriptions/{externalSubscriptionName}' for External
96
+ * Subscription scope.
97
+ * @param viewName View name
98
+ * @param parameters Parameters supplied to the CreateOrUpdate View operation.
99
+ * @param options The options parameters.
100
+ */
101
+ createOrUpdateByScope(scope: string, viewName: string, parameters: View, options?: ViewsCreateOrUpdateByScopeOptionalParams): Promise<ViewsCreateOrUpdateByScopeResponse>;
102
+ /**
103
+ * The operation to delete a view.
104
+ * @param scope The scope associated with view operations. This includes
105
+ * 'subscriptions/{subscriptionId}' for subscription scope,
106
+ * 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}' for resourceGroup scope,
107
+ * 'providers/Microsoft.Billing/billingAccounts/{billingAccountId}' for Billing Account scope,
108
+ * 'providers/Microsoft.Billing/billingAccounts/{billingAccountId}/departments/{departmentId}' for
109
+ * Department scope,
110
+ * 'providers/Microsoft.Billing/billingAccounts/{billingAccountId}/enrollmentAccounts/{enrollmentAccountId}'
111
+ * for EnrollmentAccount scope,
112
+ * 'providers/Microsoft.Billing/billingAccounts/{billingAccountId}/billingProfiles/{billingProfileId}'
113
+ * for BillingProfile scope,
114
+ * 'providers/Microsoft.Billing/billingAccounts/{billingAccountId}/invoiceSections/{invoiceSectionId}'
115
+ * for InvoiceSection scope, 'providers/Microsoft.Management/managementGroups/{managementGroupId}' for
116
+ * Management Group scope,
117
+ * 'providers/Microsoft.CostManagement/externalBillingAccounts/{externalBillingAccountName}' for
118
+ * External Billing Account scope and
119
+ * 'providers/Microsoft.CostManagement/externalSubscriptions/{externalSubscriptionName}' for External
120
+ * Subscription scope.
121
+ * @param viewName View name
122
+ * @param options The options parameters.
123
+ */
124
+ deleteByScope(scope: string, viewName: string, options?: ViewsDeleteByScopeOptionalParams): Promise<void>;
125
+ }
126
+ //# sourceMappingURL=views.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"views.d.ts","sourceRoot":"","sources":["../../../src/operationsInterfaces/views.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,0BAA0B,EAAE,MAAM,oBAAoB,CAAC;AAChE,OAAO,EACL,IAAI,EACJ,uBAAuB,EACvB,8BAA8B,EAC9B,sBAAsB,EACtB,gBAAgB,EAChB,iCAAiC,EACjC,2BAA2B,EAC3B,yBAAyB,EACzB,6BAA6B,EAC7B,uBAAuB,EACvB,wCAAwC,EACxC,kCAAkC,EAClC,gCAAgC,EACjC,MAAM,WAAW,CAAC;AAGnB,sCAAsC;AACtC,MAAM,WAAW,KAAK;IACpB;;;OAGG;IACH,IAAI,CAAC,OAAO,CAAC,EAAE,uBAAuB,GAAG,0BAA0B,CAAC,IAAI,CAAC,CAAC;IAC1E;;;;;;;;;;;;;;;;;;;;OAoBG;IACH,WAAW,CACT,KAAK,EAAE,MAAM,EACb,OAAO,CAAC,EAAE,8BAA8B,GACvC,0BAA0B,CAAC,IAAI,CAAC,CAAC;IACpC;;;;OAIG;IACH,GAAG,CACD,QAAQ,EAAE,MAAM,EAChB,OAAO,CAAC,EAAE,sBAAsB,GAC/B,OAAO,CAAC,gBAAgB,CAAC,CAAC;IAC7B;;;;;;;OAOG;IACH,cAAc,CACZ,QAAQ,EAAE,MAAM,EAChB,UAAU,EAAE,IAAI,EAChB,OAAO,CAAC,EAAE,iCAAiC,GAC1C,OAAO,CAAC,2BAA2B,CAAC,CAAC;IACxC;;;;OAIG;IACH,MAAM,CAAC,QAAQ,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,yBAAyB,GAAG,OAAO,CAAC,IAAI,CAAC,CAAC;IAC7E;;;;;;;;;;;;;;;;;;;;;OAqBG;IACH,UAAU,CACR,KAAK,EAAE,MAAM,EACb,QAAQ,EAAE,MAAM,EAChB,OAAO,CAAC,EAAE,6BAA6B,GACtC,OAAO,CAAC,uBAAuB,CAAC,CAAC;IACpC;;;;;;;;;;;;;;;;;;;;;;;;OAwBG;IACH,qBAAqB,CACnB,KAAK,EAAE,MAAM,EACb,QAAQ,EAAE,MAAM,EAChB,UAAU,EAAE,IAAI,EAChB,OAAO,CAAC,EAAE,wCAAwC,GACjD,OAAO,CAAC,kCAAkC,CAAC,CAAC;IAC/C;;;;;;;;;;;;;;;;;;;;;OAqBG;IACH,aAAa,CACX,KAAK,EAAE,MAAM,EACb,QAAQ,EAAE,MAAM,EAChB,OAAO,CAAC,EAAE,gCAAgC,GACzC,OAAO,CAAC,IAAI,CAAC,CAAC;CAClB"}
@@ -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=views.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"views.js","sourceRoot":"","sources":["../../../src/operationsInterfaces/views.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG"}
@@ -0,0 +1,13 @@
1
+ export interface PageInfo {
2
+ continuationToken?: string;
3
+ }
4
+ /**
5
+ * Given the last `.value` produced by the `byPage` iterator,
6
+ * returns a continuation token that can be used to begin paging from
7
+ * that point later.
8
+ * @param page An object from accessing `value` on the IteratorResult from a `byPage` iterator.
9
+ * @returns The continuation token that can be passed into byPage() during future calls.
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
@@ -0,0 +1 @@
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"}
@@ -0,0 +1,32 @@
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 the last `.value` produced by the `byPage` iterator,
11
+ * returns a continuation token that can be used to begin paging from
12
+ * that point later.
13
+ * @param page An object from accessing `value` on the IteratorResult from a `byPage` iterator.
14
+ * @returns The continuation token that can be passed into byPage() during future calls.
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