@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,636 @@
1
+ /*
2
+ * Copyright (c) Microsoft Corporation.
3
+ * Licensed under the MIT License.
4
+ *
5
+ * Code generated by Microsoft (R) AutoRest Code Generator.
6
+ * Changes may cause incorrect behavior and will be lost if the code is regenerated.
7
+ */
8
+ import { __asyncDelegator, __asyncGenerator, __asyncValues, __await } from "tslib";
9
+ import { setContinuationToken } from "../pagingHelper";
10
+ import * as coreClient from "@azure/core-client";
11
+ import * as Mappers from "../models/mappers";
12
+ import * as Parameters from "../models/parameters";
13
+ /// <reference lib="esnext.asynciterable" />
14
+ /** Class containing ScheduledActions operations. */
15
+ export class ScheduledActionsImpl {
16
+ /**
17
+ * Initialize a new instance of the class ScheduledActions class.
18
+ * @param client Reference to the service client
19
+ */
20
+ constructor(client) {
21
+ this.client = client;
22
+ }
23
+ /**
24
+ * List all private scheduled actions.
25
+ * @param options The options parameters.
26
+ */
27
+ list(options) {
28
+ const iter = this.listPagingAll(options);
29
+ return {
30
+ next() {
31
+ return iter.next();
32
+ },
33
+ [Symbol.asyncIterator]() {
34
+ return this;
35
+ },
36
+ byPage: (settings) => {
37
+ if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
38
+ throw new Error("maxPageSize is not supported by this operation.");
39
+ }
40
+ return this.listPagingPage(options, settings);
41
+ }
42
+ };
43
+ }
44
+ listPagingPage(options, settings) {
45
+ return __asyncGenerator(this, arguments, function* listPagingPage_1() {
46
+ let result;
47
+ let continuationToken = settings === null || settings === void 0 ? void 0 : settings.continuationToken;
48
+ if (!continuationToken) {
49
+ result = yield __await(this._list(options));
50
+ let page = result.value || [];
51
+ continuationToken = result.nextLink;
52
+ setContinuationToken(page, continuationToken);
53
+ yield yield __await(page);
54
+ }
55
+ while (continuationToken) {
56
+ result = yield __await(this._listNext(continuationToken, options));
57
+ continuationToken = result.nextLink;
58
+ let page = result.value || [];
59
+ setContinuationToken(page, continuationToken);
60
+ yield yield __await(page);
61
+ }
62
+ });
63
+ }
64
+ listPagingAll(options) {
65
+ return __asyncGenerator(this, arguments, function* listPagingAll_1() {
66
+ var _a, e_1, _b, _c;
67
+ try {
68
+ for (var _d = true, _e = __asyncValues(this.listPagingPage(options)), _f; _f = yield __await(_e.next()), _a = _f.done, !_a;) {
69
+ _c = _f.value;
70
+ _d = false;
71
+ try {
72
+ const page = _c;
73
+ yield __await(yield* __asyncDelegator(__asyncValues(page)));
74
+ }
75
+ finally {
76
+ _d = true;
77
+ }
78
+ }
79
+ }
80
+ catch (e_1_1) { e_1 = { error: e_1_1 }; }
81
+ finally {
82
+ try {
83
+ if (!_d && !_a && (_b = _e.return)) yield __await(_b.call(_e));
84
+ }
85
+ finally { if (e_1) throw e_1.error; }
86
+ }
87
+ });
88
+ }
89
+ /**
90
+ * List all shared scheduled actions within the given scope.
91
+ * @param scope The scope associated with scheduled action operations. This includes
92
+ * 'subscriptions/{subscriptionId}' for subscription scope,
93
+ * 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}' for resourceGroup scope,
94
+ * 'providers/Microsoft.Billing/billingAccounts/{billingAccountId}' for Billing Account scope,
95
+ * 'providers/Microsoft.Billing/billingAccounts/{billingAccountId}/departments/{departmentId}' for
96
+ * Department scope,
97
+ * 'providers/Microsoft.Billing/billingAccounts/{billingAccountId}/enrollmentAccounts/{enrollmentAccountId}'
98
+ * for EnrollmentAccount scope,
99
+ * 'providers/Microsoft.Billing/billingAccounts/{billingAccountId}/billingProfiles/{billingProfileId}'
100
+ * for BillingProfile scope,
101
+ * 'providers/Microsoft.Billing/billingAccounts/{billingAccountId}/invoiceSections/{invoiceSectionId}'
102
+ * for InvoiceSection scope,
103
+ * 'providers/Microsoft.CostManagement/externalBillingAccounts/{externalBillingAccountName}' for
104
+ * External Billing Account scope and
105
+ * 'providers/Microsoft.CostManagement/externalSubscriptions/{externalSubscriptionName}' for External
106
+ * Subscription scope. Note: Insight Alerts are only available on subscription scope.
107
+ * @param options The options parameters.
108
+ */
109
+ listByScope(scope, options) {
110
+ const iter = this.listByScopePagingAll(scope, options);
111
+ return {
112
+ next() {
113
+ return iter.next();
114
+ },
115
+ [Symbol.asyncIterator]() {
116
+ return this;
117
+ },
118
+ byPage: (settings) => {
119
+ if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
120
+ throw new Error("maxPageSize is not supported by this operation.");
121
+ }
122
+ return this.listByScopePagingPage(scope, options, settings);
123
+ }
124
+ };
125
+ }
126
+ listByScopePagingPage(scope, options, settings) {
127
+ return __asyncGenerator(this, arguments, function* listByScopePagingPage_1() {
128
+ let result;
129
+ let continuationToken = settings === null || settings === void 0 ? void 0 : settings.continuationToken;
130
+ if (!continuationToken) {
131
+ result = yield __await(this._listByScope(scope, options));
132
+ let page = result.value || [];
133
+ continuationToken = result.nextLink;
134
+ setContinuationToken(page, continuationToken);
135
+ yield yield __await(page);
136
+ }
137
+ while (continuationToken) {
138
+ result = yield __await(this._listByScopeNext(scope, continuationToken, options));
139
+ continuationToken = result.nextLink;
140
+ let page = result.value || [];
141
+ setContinuationToken(page, continuationToken);
142
+ yield yield __await(page);
143
+ }
144
+ });
145
+ }
146
+ listByScopePagingAll(scope, options) {
147
+ return __asyncGenerator(this, arguments, function* listByScopePagingAll_1() {
148
+ var _a, e_2, _b, _c;
149
+ try {
150
+ for (var _d = true, _e = __asyncValues(this.listByScopePagingPage(scope, options)), _f; _f = yield __await(_e.next()), _a = _f.done, !_a;) {
151
+ _c = _f.value;
152
+ _d = false;
153
+ try {
154
+ const page = _c;
155
+ yield __await(yield* __asyncDelegator(__asyncValues(page)));
156
+ }
157
+ finally {
158
+ _d = true;
159
+ }
160
+ }
161
+ }
162
+ catch (e_2_1) { e_2 = { error: e_2_1 }; }
163
+ finally {
164
+ try {
165
+ if (!_d && !_a && (_b = _e.return)) yield __await(_b.call(_e));
166
+ }
167
+ finally { if (e_2) throw e_2.error; }
168
+ }
169
+ });
170
+ }
171
+ /**
172
+ * List all private scheduled actions.
173
+ * @param options The options parameters.
174
+ */
175
+ _list(options) {
176
+ return this.client.sendOperationRequest({ options }, listOperationSpec);
177
+ }
178
+ /**
179
+ * List all shared scheduled actions within the given scope.
180
+ * @param scope The scope associated with scheduled action operations. This includes
181
+ * 'subscriptions/{subscriptionId}' for subscription scope,
182
+ * 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}' for resourceGroup scope,
183
+ * 'providers/Microsoft.Billing/billingAccounts/{billingAccountId}' for Billing Account scope,
184
+ * 'providers/Microsoft.Billing/billingAccounts/{billingAccountId}/departments/{departmentId}' for
185
+ * Department scope,
186
+ * 'providers/Microsoft.Billing/billingAccounts/{billingAccountId}/enrollmentAccounts/{enrollmentAccountId}'
187
+ * for EnrollmentAccount scope,
188
+ * 'providers/Microsoft.Billing/billingAccounts/{billingAccountId}/billingProfiles/{billingProfileId}'
189
+ * for BillingProfile scope,
190
+ * 'providers/Microsoft.Billing/billingAccounts/{billingAccountId}/invoiceSections/{invoiceSectionId}'
191
+ * for InvoiceSection scope,
192
+ * 'providers/Microsoft.CostManagement/externalBillingAccounts/{externalBillingAccountName}' for
193
+ * External Billing Account scope and
194
+ * 'providers/Microsoft.CostManagement/externalSubscriptions/{externalSubscriptionName}' for External
195
+ * Subscription scope. Note: Insight Alerts are only available on subscription scope.
196
+ * @param options The options parameters.
197
+ */
198
+ _listByScope(scope, options) {
199
+ return this.client.sendOperationRequest({ scope, options }, listByScopeOperationSpec);
200
+ }
201
+ /**
202
+ * Create or update a private scheduled action.
203
+ * @param name Scheduled action name.
204
+ * @param scheduledAction Scheduled action to be created or updated.
205
+ * @param options The options parameters.
206
+ */
207
+ createOrUpdate(name, scheduledAction, options) {
208
+ return this.client.sendOperationRequest({ name, scheduledAction, options }, createOrUpdateOperationSpec);
209
+ }
210
+ /**
211
+ * Get the private scheduled action by name.
212
+ * @param name Scheduled action name.
213
+ * @param options The options parameters.
214
+ */
215
+ get(name, options) {
216
+ return this.client.sendOperationRequest({ name, options }, getOperationSpec);
217
+ }
218
+ /**
219
+ * Delete a private scheduled action.
220
+ * @param name Scheduled action name.
221
+ * @param options The options parameters.
222
+ */
223
+ delete(name, options) {
224
+ return this.client.sendOperationRequest({ name, options }, deleteOperationSpec);
225
+ }
226
+ /**
227
+ * Create or update a shared scheduled action within the given scope.
228
+ * @param scope The scope associated with scheduled action operations. This includes
229
+ * 'subscriptions/{subscriptionId}' for subscription scope,
230
+ * 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}' for resourceGroup scope,
231
+ * 'providers/Microsoft.Billing/billingAccounts/{billingAccountId}' for Billing Account scope,
232
+ * 'providers/Microsoft.Billing/billingAccounts/{billingAccountId}/departments/{departmentId}' for
233
+ * Department scope,
234
+ * 'providers/Microsoft.Billing/billingAccounts/{billingAccountId}/enrollmentAccounts/{enrollmentAccountId}'
235
+ * for EnrollmentAccount scope,
236
+ * 'providers/Microsoft.Billing/billingAccounts/{billingAccountId}/billingProfiles/{billingProfileId}'
237
+ * for BillingProfile scope,
238
+ * 'providers/Microsoft.Billing/billingAccounts/{billingAccountId}/invoiceSections/{invoiceSectionId}'
239
+ * for InvoiceSection scope,
240
+ * 'providers/Microsoft.CostManagement/externalBillingAccounts/{externalBillingAccountName}' for
241
+ * External Billing Account scope and
242
+ * 'providers/Microsoft.CostManagement/externalSubscriptions/{externalSubscriptionName}' for External
243
+ * Subscription scope. Note: Insight Alerts are only available on subscription scope.
244
+ * @param name Scheduled action name.
245
+ * @param scheduledAction Scheduled action to be created or updated.
246
+ * @param options The options parameters.
247
+ */
248
+ createOrUpdateByScope(scope, name, scheduledAction, options) {
249
+ return this.client.sendOperationRequest({ scope, name, scheduledAction, options }, createOrUpdateByScopeOperationSpec);
250
+ }
251
+ /**
252
+ * Get the shared scheduled action from the given scope by name.
253
+ * @param scope The scope associated with scheduled action operations. This includes
254
+ * 'subscriptions/{subscriptionId}' for subscription scope,
255
+ * 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}' for resourceGroup scope,
256
+ * 'providers/Microsoft.Billing/billingAccounts/{billingAccountId}' for Billing Account scope,
257
+ * 'providers/Microsoft.Billing/billingAccounts/{billingAccountId}/departments/{departmentId}' for
258
+ * Department scope,
259
+ * 'providers/Microsoft.Billing/billingAccounts/{billingAccountId}/enrollmentAccounts/{enrollmentAccountId}'
260
+ * for EnrollmentAccount scope,
261
+ * 'providers/Microsoft.Billing/billingAccounts/{billingAccountId}/billingProfiles/{billingProfileId}'
262
+ * for BillingProfile scope,
263
+ * 'providers/Microsoft.Billing/billingAccounts/{billingAccountId}/invoiceSections/{invoiceSectionId}'
264
+ * for InvoiceSection scope,
265
+ * 'providers/Microsoft.CostManagement/externalBillingAccounts/{externalBillingAccountName}' for
266
+ * External Billing Account scope and
267
+ * 'providers/Microsoft.CostManagement/externalSubscriptions/{externalSubscriptionName}' for External
268
+ * Subscription scope. Note: Insight Alerts are only available on subscription scope.
269
+ * @param name Scheduled action name.
270
+ * @param options The options parameters.
271
+ */
272
+ getByScope(scope, name, options) {
273
+ return this.client.sendOperationRequest({ scope, name, options }, getByScopeOperationSpec);
274
+ }
275
+ /**
276
+ * Delete a scheduled action within the given scope.
277
+ * @param scope The scope associated with scheduled action operations. This includes
278
+ * 'subscriptions/{subscriptionId}' for subscription scope,
279
+ * 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}' for resourceGroup scope,
280
+ * 'providers/Microsoft.Billing/billingAccounts/{billingAccountId}' for Billing Account scope,
281
+ * 'providers/Microsoft.Billing/billingAccounts/{billingAccountId}/departments/{departmentId}' for
282
+ * Department scope,
283
+ * 'providers/Microsoft.Billing/billingAccounts/{billingAccountId}/enrollmentAccounts/{enrollmentAccountId}'
284
+ * for EnrollmentAccount scope,
285
+ * 'providers/Microsoft.Billing/billingAccounts/{billingAccountId}/billingProfiles/{billingProfileId}'
286
+ * for BillingProfile scope,
287
+ * 'providers/Microsoft.Billing/billingAccounts/{billingAccountId}/invoiceSections/{invoiceSectionId}'
288
+ * for InvoiceSection scope,
289
+ * 'providers/Microsoft.CostManagement/externalBillingAccounts/{externalBillingAccountName}' for
290
+ * External Billing Account scope and
291
+ * 'providers/Microsoft.CostManagement/externalSubscriptions/{externalSubscriptionName}' for External
292
+ * Subscription scope. Note: Insight Alerts are only available on subscription scope.
293
+ * @param name Scheduled action name.
294
+ * @param options The options parameters.
295
+ */
296
+ deleteByScope(scope, name, options) {
297
+ return this.client.sendOperationRequest({ scope, name, options }, deleteByScopeOperationSpec);
298
+ }
299
+ /**
300
+ * Processes a private scheduled action.
301
+ * @param name Scheduled action name.
302
+ * @param options The options parameters.
303
+ */
304
+ run(name, options) {
305
+ return this.client.sendOperationRequest({ name, options }, runOperationSpec);
306
+ }
307
+ /**
308
+ * Runs a shared scheduled action within the given scope.
309
+ * @param scope The scope associated with scheduled action operations. This includes
310
+ * 'subscriptions/{subscriptionId}' for subscription scope,
311
+ * 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}' for resourceGroup scope,
312
+ * 'providers/Microsoft.Billing/billingAccounts/{billingAccountId}' for Billing Account scope,
313
+ * 'providers/Microsoft.Billing/billingAccounts/{billingAccountId}/departments/{departmentId}' for
314
+ * Department scope,
315
+ * 'providers/Microsoft.Billing/billingAccounts/{billingAccountId}/enrollmentAccounts/{enrollmentAccountId}'
316
+ * for EnrollmentAccount scope,
317
+ * 'providers/Microsoft.Billing/billingAccounts/{billingAccountId}/billingProfiles/{billingProfileId}'
318
+ * for BillingProfile scope,
319
+ * 'providers/Microsoft.Billing/billingAccounts/{billingAccountId}/invoiceSections/{invoiceSectionId}'
320
+ * for InvoiceSection scope,
321
+ * 'providers/Microsoft.CostManagement/externalBillingAccounts/{externalBillingAccountName}' for
322
+ * External Billing Account scope and
323
+ * 'providers/Microsoft.CostManagement/externalSubscriptions/{externalSubscriptionName}' for External
324
+ * Subscription scope. Note: Insight Alerts are only available on subscription scope.
325
+ * @param name Scheduled action name.
326
+ * @param options The options parameters.
327
+ */
328
+ runByScope(scope, name, options) {
329
+ return this.client.sendOperationRequest({ scope, name, options }, runByScopeOperationSpec);
330
+ }
331
+ /**
332
+ * Checks availability and correctness of the name for a scheduled action.
333
+ * @param checkNameAvailabilityRequest Scheduled action to be created or updated.
334
+ * @param options The options parameters.
335
+ */
336
+ checkNameAvailability(checkNameAvailabilityRequest, options) {
337
+ return this.client.sendOperationRequest({ checkNameAvailabilityRequest, options }, checkNameAvailabilityOperationSpec);
338
+ }
339
+ /**
340
+ * Checks availability and correctness of the name for a scheduled action within the given scope.
341
+ * @param scope The scope associated with scheduled action operations. This includes
342
+ * 'subscriptions/{subscriptionId}' for subscription scope,
343
+ * 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}' for resourceGroup scope,
344
+ * 'providers/Microsoft.Billing/billingAccounts/{billingAccountId}' for Billing Account scope,
345
+ * 'providers/Microsoft.Billing/billingAccounts/{billingAccountId}/departments/{departmentId}' for
346
+ * Department scope,
347
+ * 'providers/Microsoft.Billing/billingAccounts/{billingAccountId}/enrollmentAccounts/{enrollmentAccountId}'
348
+ * for EnrollmentAccount scope,
349
+ * 'providers/Microsoft.Billing/billingAccounts/{billingAccountId}/billingProfiles/{billingProfileId}'
350
+ * for BillingProfile scope,
351
+ * 'providers/Microsoft.Billing/billingAccounts/{billingAccountId}/invoiceSections/{invoiceSectionId}'
352
+ * for InvoiceSection scope,
353
+ * 'providers/Microsoft.CostManagement/externalBillingAccounts/{externalBillingAccountName}' for
354
+ * External Billing Account scope and
355
+ * 'providers/Microsoft.CostManagement/externalSubscriptions/{externalSubscriptionName}' for External
356
+ * Subscription scope. Note: Insight Alerts are only available on subscription scope.
357
+ * @param checkNameAvailabilityRequest Scheduled action to be created or updated.
358
+ * @param options The options parameters.
359
+ */
360
+ checkNameAvailabilityByScope(scope, checkNameAvailabilityRequest, options) {
361
+ return this.client.sendOperationRequest({ scope, checkNameAvailabilityRequest, options }, checkNameAvailabilityByScopeOperationSpec);
362
+ }
363
+ /**
364
+ * ListNext
365
+ * @param nextLink The nextLink from the previous successful call to the List method.
366
+ * @param options The options parameters.
367
+ */
368
+ _listNext(nextLink, options) {
369
+ return this.client.sendOperationRequest({ nextLink, options }, listNextOperationSpec);
370
+ }
371
+ /**
372
+ * ListByScopeNext
373
+ * @param scope The scope associated with scheduled action operations. This includes
374
+ * 'subscriptions/{subscriptionId}' for subscription scope,
375
+ * 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}' for resourceGroup scope,
376
+ * 'providers/Microsoft.Billing/billingAccounts/{billingAccountId}' for Billing Account scope,
377
+ * 'providers/Microsoft.Billing/billingAccounts/{billingAccountId}/departments/{departmentId}' for
378
+ * Department scope,
379
+ * 'providers/Microsoft.Billing/billingAccounts/{billingAccountId}/enrollmentAccounts/{enrollmentAccountId}'
380
+ * for EnrollmentAccount scope,
381
+ * 'providers/Microsoft.Billing/billingAccounts/{billingAccountId}/billingProfiles/{billingProfileId}'
382
+ * for BillingProfile scope,
383
+ * 'providers/Microsoft.Billing/billingAccounts/{billingAccountId}/invoiceSections/{invoiceSectionId}'
384
+ * for InvoiceSection scope,
385
+ * 'providers/Microsoft.CostManagement/externalBillingAccounts/{externalBillingAccountName}' for
386
+ * External Billing Account scope and
387
+ * 'providers/Microsoft.CostManagement/externalSubscriptions/{externalSubscriptionName}' for External
388
+ * Subscription scope. Note: Insight Alerts are only available on subscription scope.
389
+ * @param nextLink The nextLink from the previous successful call to the ListByScope method.
390
+ * @param options The options parameters.
391
+ */
392
+ _listByScopeNext(scope, nextLink, options) {
393
+ return this.client.sendOperationRequest({ scope, nextLink, options }, listByScopeNextOperationSpec);
394
+ }
395
+ }
396
+ // Operation Specifications
397
+ const serializer = coreClient.createSerializer(Mappers, /* isXml */ false);
398
+ const listOperationSpec = {
399
+ path: "/providers/Microsoft.CostManagement/scheduledActions",
400
+ httpMethod: "GET",
401
+ responses: {
402
+ 200: {
403
+ bodyMapper: Mappers.ScheduledActionListResult
404
+ },
405
+ default: {
406
+ bodyMapper: Mappers.ErrorResponseWithNestedDetails
407
+ }
408
+ },
409
+ queryParameters: [Parameters.apiVersion, Parameters.filter],
410
+ urlParameters: [Parameters.$host],
411
+ headerParameters: [Parameters.accept],
412
+ serializer
413
+ };
414
+ const listByScopeOperationSpec = {
415
+ path: "/{scope}/providers/Microsoft.CostManagement/scheduledActions",
416
+ httpMethod: "GET",
417
+ responses: {
418
+ 200: {
419
+ bodyMapper: Mappers.ScheduledActionListResult
420
+ },
421
+ default: {
422
+ bodyMapper: Mappers.ErrorResponseWithNestedDetails
423
+ }
424
+ },
425
+ queryParameters: [Parameters.apiVersion, Parameters.filter],
426
+ urlParameters: [Parameters.$host, Parameters.scope],
427
+ headerParameters: [Parameters.accept],
428
+ serializer
429
+ };
430
+ const createOrUpdateOperationSpec = {
431
+ path: "/providers/Microsoft.CostManagement/scheduledActions/{name}",
432
+ httpMethod: "PUT",
433
+ responses: {
434
+ 200: {
435
+ bodyMapper: Mappers.ScheduledAction
436
+ },
437
+ 201: {
438
+ bodyMapper: Mappers.ScheduledAction
439
+ },
440
+ default: {
441
+ bodyMapper: Mappers.ErrorResponseWithNestedDetails
442
+ }
443
+ },
444
+ requestBody: Parameters.scheduledAction,
445
+ queryParameters: [Parameters.apiVersion],
446
+ urlParameters: [Parameters.$host, Parameters.name],
447
+ headerParameters: [
448
+ Parameters.accept,
449
+ Parameters.contentType,
450
+ Parameters.ifMatch
451
+ ],
452
+ mediaType: "json",
453
+ serializer
454
+ };
455
+ const getOperationSpec = {
456
+ path: "/providers/Microsoft.CostManagement/scheduledActions/{name}",
457
+ httpMethod: "GET",
458
+ responses: {
459
+ 200: {
460
+ bodyMapper: Mappers.ScheduledAction
461
+ },
462
+ default: {
463
+ bodyMapper: Mappers.ErrorResponseWithNestedDetails
464
+ }
465
+ },
466
+ queryParameters: [Parameters.apiVersion],
467
+ urlParameters: [Parameters.$host, Parameters.name],
468
+ headerParameters: [Parameters.accept],
469
+ serializer
470
+ };
471
+ const deleteOperationSpec = {
472
+ path: "/providers/Microsoft.CostManagement/scheduledActions/{name}",
473
+ httpMethod: "DELETE",
474
+ responses: {
475
+ 200: {},
476
+ 204: {},
477
+ default: {
478
+ bodyMapper: Mappers.ErrorResponseWithNestedDetails
479
+ }
480
+ },
481
+ queryParameters: [Parameters.apiVersion],
482
+ urlParameters: [Parameters.$host, Parameters.name],
483
+ headerParameters: [Parameters.accept],
484
+ serializer
485
+ };
486
+ const createOrUpdateByScopeOperationSpec = {
487
+ path: "/{scope}/providers/Microsoft.CostManagement/scheduledActions/{name}",
488
+ httpMethod: "PUT",
489
+ responses: {
490
+ 200: {
491
+ bodyMapper: Mappers.ScheduledAction
492
+ },
493
+ 201: {
494
+ bodyMapper: Mappers.ScheduledAction
495
+ },
496
+ default: {
497
+ bodyMapper: Mappers.ErrorResponseWithNestedDetails
498
+ }
499
+ },
500
+ requestBody: Parameters.scheduledAction,
501
+ queryParameters: [Parameters.apiVersion],
502
+ urlParameters: [Parameters.$host, Parameters.scope, Parameters.name],
503
+ headerParameters: [
504
+ Parameters.accept,
505
+ Parameters.contentType,
506
+ Parameters.ifMatch
507
+ ],
508
+ mediaType: "json",
509
+ serializer
510
+ };
511
+ const getByScopeOperationSpec = {
512
+ path: "/{scope}/providers/Microsoft.CostManagement/scheduledActions/{name}",
513
+ httpMethod: "GET",
514
+ responses: {
515
+ 200: {
516
+ bodyMapper: Mappers.ScheduledAction
517
+ },
518
+ default: {
519
+ bodyMapper: Mappers.ErrorResponseWithNestedDetails
520
+ }
521
+ },
522
+ queryParameters: [Parameters.apiVersion],
523
+ urlParameters: [Parameters.$host, Parameters.scope, Parameters.name],
524
+ headerParameters: [Parameters.accept],
525
+ serializer
526
+ };
527
+ const deleteByScopeOperationSpec = {
528
+ path: "/{scope}/providers/Microsoft.CostManagement/scheduledActions/{name}",
529
+ httpMethod: "DELETE",
530
+ responses: {
531
+ 200: {},
532
+ 204: {},
533
+ default: {
534
+ bodyMapper: Mappers.ErrorResponseWithNestedDetails
535
+ }
536
+ },
537
+ queryParameters: [Parameters.apiVersion],
538
+ urlParameters: [Parameters.$host, Parameters.scope, Parameters.name],
539
+ headerParameters: [Parameters.accept],
540
+ serializer
541
+ };
542
+ const runOperationSpec = {
543
+ path: "/providers/Microsoft.CostManagement/scheduledActions/{name}/execute",
544
+ httpMethod: "POST",
545
+ responses: {
546
+ 200: {},
547
+ default: {
548
+ bodyMapper: Mappers.ErrorResponseWithNestedDetails
549
+ }
550
+ },
551
+ queryParameters: [Parameters.apiVersion],
552
+ urlParameters: [Parameters.$host, Parameters.name],
553
+ headerParameters: [Parameters.accept],
554
+ serializer
555
+ };
556
+ const runByScopeOperationSpec = {
557
+ path: "/{scope}/providers/Microsoft.CostManagement/scheduledActions/{name}/execute",
558
+ httpMethod: "POST",
559
+ responses: {
560
+ 200: {},
561
+ default: {
562
+ bodyMapper: Mappers.ErrorResponseWithNestedDetails
563
+ }
564
+ },
565
+ queryParameters: [Parameters.apiVersion],
566
+ urlParameters: [Parameters.$host, Parameters.scope, Parameters.name],
567
+ headerParameters: [Parameters.accept],
568
+ serializer
569
+ };
570
+ const checkNameAvailabilityOperationSpec = {
571
+ path: "/providers/Microsoft.CostManagement/checkNameAvailability",
572
+ httpMethod: "POST",
573
+ responses: {
574
+ 200: {
575
+ bodyMapper: Mappers.CheckNameAvailabilityResponse
576
+ },
577
+ default: {
578
+ bodyMapper: Mappers.ErrorResponseWithNestedDetails
579
+ }
580
+ },
581
+ requestBody: Parameters.checkNameAvailabilityRequest,
582
+ queryParameters: [Parameters.apiVersion],
583
+ urlParameters: [Parameters.$host],
584
+ headerParameters: [Parameters.accept, Parameters.contentType],
585
+ mediaType: "json",
586
+ serializer
587
+ };
588
+ const checkNameAvailabilityByScopeOperationSpec = {
589
+ path: "/{scope}/providers/Microsoft.CostManagement/checkNameAvailability",
590
+ httpMethod: "POST",
591
+ responses: {
592
+ 200: {
593
+ bodyMapper: Mappers.CheckNameAvailabilityResponse
594
+ },
595
+ default: {
596
+ bodyMapper: Mappers.ErrorResponseWithNestedDetails
597
+ }
598
+ },
599
+ requestBody: Parameters.checkNameAvailabilityRequest,
600
+ queryParameters: [Parameters.apiVersion],
601
+ urlParameters: [Parameters.$host, Parameters.scope],
602
+ headerParameters: [Parameters.accept, Parameters.contentType],
603
+ mediaType: "json",
604
+ serializer
605
+ };
606
+ const listNextOperationSpec = {
607
+ path: "{nextLink}",
608
+ httpMethod: "GET",
609
+ responses: {
610
+ 200: {
611
+ bodyMapper: Mappers.ScheduledActionListResult
612
+ },
613
+ default: {
614
+ bodyMapper: Mappers.ErrorResponseWithNestedDetails
615
+ }
616
+ },
617
+ urlParameters: [Parameters.$host, Parameters.nextLink],
618
+ headerParameters: [Parameters.accept],
619
+ serializer
620
+ };
621
+ const listByScopeNextOperationSpec = {
622
+ path: "{nextLink}",
623
+ httpMethod: "GET",
624
+ responses: {
625
+ 200: {
626
+ bodyMapper: Mappers.ScheduledActionListResult
627
+ },
628
+ default: {
629
+ bodyMapper: Mappers.ErrorResponseWithNestedDetails
630
+ }
631
+ },
632
+ urlParameters: [Parameters.$host, Parameters.nextLink, Parameters.scope],
633
+ headerParameters: [Parameters.accept],
634
+ serializer
635
+ };
636
+ //# sourceMappingURL=scheduledActions.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"scheduledActions.js","sourceRoot":"","sources":["../../../src/operations/scheduledActions.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAGH,OAAO,EAAE,oBAAoB,EAAE,MAAM,iBAAiB,CAAC;AAEvD,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AACjD,OAAO,KAAK,OAAO,MAAM,mBAAmB,CAAC;AAC7C,OAAO,KAAK,UAAU,MAAM,sBAAsB,CAAC;AA+BnD,4CAA4C;AAC5C,oDAAoD;AACpD,MAAM,OAAO,oBAAoB;IAG/B;;;OAGG;IACH,YAAY,MAA4B;QACtC,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACvB,CAAC;IAED;;;OAGG;IACI,IAAI,CACT,OAA4C;QAE5C,MAAM,IAAI,GAAG,IAAI,CAAC,aAAa,CAAC,OAAO,CAAC,CAAC;QACzC,OAAO;YACL,IAAI;gBACF,OAAO,IAAI,CAAC,IAAI,EAAE,CAAC;YACrB,CAAC;YACD,CAAC,MAAM,CAAC,aAAa,CAAC;gBACpB,OAAO,IAAI,CAAC;YACd,CAAC;YACD,MAAM,EAAE,CAAC,QAAuB,EAAE,EAAE;gBAClC,IAAI,QAAQ,aAAR,QAAQ,uBAAR,QAAQ,CAAE,WAAW,EAAE;oBACzB,MAAM,IAAI,KAAK,CAAC,iDAAiD,CAAC,CAAC;iBACpE;gBACD,OAAO,IAAI,CAAC,cAAc,CAAC,OAAO,EAAE,QAAQ,CAAC,CAAC;YAChD,CAAC;SACF,CAAC;IACJ,CAAC;IAEc,cAAc,CAC3B,OAA4C,EAC5C,QAAuB;;YAEvB,IAAI,MAAoC,CAAC;YACzC,IAAI,iBAAiB,GAAG,QAAQ,aAAR,QAAQ,uBAAR,QAAQ,CAAE,iBAAiB,CAAC;YACpD,IAAI,CAAC,iBAAiB,EAAE;gBACtB,MAAM,GAAG,cAAM,IAAI,CAAC,KAAK,CAAC,OAAO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