oci-usageapi 2.75.0 → 2.76.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (256) hide show
  1. package/index.d.ts +1 -1
  2. package/index.js +1 -1
  3. package/lib/client.d.ts +110 -20
  4. package/lib/client.js +597 -20
  5. package/lib/client.js.map +1 -1
  6. package/lib/model/average-carbon-emission.d.ts +29 -0
  7. package/lib/model/average-carbon-emission.js +29 -0
  8. package/lib/model/average-carbon-emission.js.map +1 -0
  9. package/lib/model/clean-energy-usage.d.ts +33 -0
  10. package/lib/model/clean-energy-usage.js +29 -0
  11. package/lib/model/clean-energy-usage.js.map +1 -0
  12. package/lib/model/configuration-aggregation.d.ts +1 -1
  13. package/lib/model/configuration-aggregation.js +1 -1
  14. package/lib/model/configuration.d.ts +1 -1
  15. package/lib/model/configuration.js +1 -1
  16. package/lib/model/cost-analysis-ui.d.ts +1 -1
  17. package/lib/model/cost-analysis-ui.js +1 -1
  18. package/lib/model/create-custom-table-details.d.ts +1 -1
  19. package/lib/model/create-custom-table-details.js +1 -1
  20. package/lib/model/create-query-details.d.ts +1 -1
  21. package/lib/model/create-query-details.js +1 -1
  22. package/lib/model/create-schedule-details.d.ts +3 -3
  23. package/lib/model/create-schedule-details.js +1 -1
  24. package/lib/model/create-usage-carbon-emissions-query-details.d.ts +27 -0
  25. package/lib/model/create-usage-carbon-emissions-query-details.js +57 -0
  26. package/lib/model/create-usage-carbon-emissions-query-details.js.map +1 -0
  27. package/lib/model/custom-table-collection.d.ts +1 -1
  28. package/lib/model/custom-table-collection.js +1 -1
  29. package/lib/model/custom-table-summary.d.ts +1 -1
  30. package/lib/model/custom-table-summary.js +1 -1
  31. package/lib/model/custom-table.d.ts +1 -1
  32. package/lib/model/custom-table.js +1 -1
  33. package/lib/model/date-range.d.ts +1 -1
  34. package/lib/model/date-range.js +1 -1
  35. package/lib/model/dimension.d.ts +1 -1
  36. package/lib/model/dimension.js +1 -1
  37. package/lib/model/dynamic-date-range.d.ts +1 -1
  38. package/lib/model/dynamic-date-range.js +1 -1
  39. package/lib/model/filter.d.ts +1 -1
  40. package/lib/model/filter.js +1 -1
  41. package/lib/model/forecast.d.ts +1 -1
  42. package/lib/model/forecast.js +1 -1
  43. package/lib/model/index.d.ts +25 -1
  44. package/lib/model/index.js +26 -2
  45. package/lib/model/index.js.map +1 -1
  46. package/lib/model/object-storage-location.d.ts +1 -1
  47. package/lib/model/object-storage-location.js +1 -1
  48. package/lib/model/query-collection.d.ts +1 -1
  49. package/lib/model/query-collection.js +1 -1
  50. package/lib/model/query-definition.d.ts +1 -1
  51. package/lib/model/query-definition.js +1 -1
  52. package/lib/model/query-properties.d.ts +1 -1
  53. package/lib/model/query-properties.js +1 -1
  54. package/lib/model/query-summary.d.ts +1 -1
  55. package/lib/model/query-summary.js +1 -1
  56. package/lib/model/query.d.ts +1 -1
  57. package/lib/model/query.js +1 -1
  58. package/lib/model/report-query.d.ts +1 -1
  59. package/lib/model/report-query.js +1 -1
  60. package/lib/model/request-summarized-usages-details.d.ts +1 -1
  61. package/lib/model/request-summarized-usages-details.js +1 -1
  62. package/lib/model/request-usage-carbon-emissions-details.d.ts +59 -0
  63. package/lib/model/request-usage-carbon-emissions-details.js +63 -0
  64. package/lib/model/request-usage-carbon-emissions-details.js.map +1 -0
  65. package/lib/model/result-location.d.ts +1 -1
  66. package/lib/model/result-location.js +1 -1
  67. package/lib/model/saved-custom-table.d.ts +1 -1
  68. package/lib/model/saved-custom-table.js +1 -1
  69. package/lib/model/schedule-collection.d.ts +1 -1
  70. package/lib/model/schedule-collection.js +1 -1
  71. package/lib/model/schedule-summary.d.ts +1 -1
  72. package/lib/model/schedule-summary.js +1 -1
  73. package/lib/model/schedule.d.ts +3 -3
  74. package/lib/model/schedule.js +1 -1
  75. package/lib/model/scheduled-run-collection.d.ts +1 -1
  76. package/lib/model/scheduled-run-collection.js +1 -1
  77. package/lib/model/scheduled-run-summary.d.ts +1 -1
  78. package/lib/model/scheduled-run-summary.js +1 -1
  79. package/lib/model/scheduled-run.d.ts +1 -1
  80. package/lib/model/scheduled-run.js +1 -1
  81. package/lib/model/static-date-range.d.ts +1 -1
  82. package/lib/model/static-date-range.js +1 -1
  83. package/lib/model/tag.d.ts +1 -1
  84. package/lib/model/tag.js +1 -1
  85. package/lib/model/update-custom-table-details.d.ts +1 -1
  86. package/lib/model/update-custom-table-details.js +1 -1
  87. package/lib/model/update-query-details.d.ts +1 -1
  88. package/lib/model/update-query-details.js +1 -1
  89. package/lib/model/update-schedule-details.d.ts +2 -2
  90. package/lib/model/update-schedule-details.js +1 -1
  91. package/lib/model/update-usage-carbon-emissions-query-details.d.ts +23 -0
  92. package/lib/model/update-usage-carbon-emissions-query-details.js +57 -0
  93. package/lib/model/update-usage-carbon-emissions-query-details.js.map +1 -0
  94. package/lib/model/usage-aggregation.d.ts +1 -1
  95. package/lib/model/usage-aggregation.js +1 -1
  96. package/lib/model/usage-carbon-emission-aggregation.d.ts +30 -0
  97. package/lib/model/usage-carbon-emission-aggregation.js +61 -0
  98. package/lib/model/usage-carbon-emission-aggregation.js.map +1 -0
  99. package/lib/model/usage-carbon-emission-summary.d.ts +98 -0
  100. package/lib/model/usage-carbon-emission-summary.js +61 -0
  101. package/lib/model/usage-carbon-emission-summary.js.map +1 -0
  102. package/lib/model/usage-carbon-emissions-query-collection.d.ts +26 -0
  103. package/lib/model/usage-carbon-emissions-query-collection.js +61 -0
  104. package/lib/model/usage-carbon-emissions-query-collection.js.map +1 -0
  105. package/lib/model/usage-carbon-emissions-query-definition.d.ts +32 -0
  106. package/lib/model/usage-carbon-emissions-query-definition.js +63 -0
  107. package/lib/model/usage-carbon-emissions-query-definition.js.map +1 -0
  108. package/lib/model/usage-carbon-emissions-query-summary.d.ts +27 -0
  109. package/lib/model/usage-carbon-emissions-query-summary.js +57 -0
  110. package/lib/model/usage-carbon-emissions-query-summary.js.map +1 -0
  111. package/lib/model/usage-carbon-emissions-query.d.ts +31 -0
  112. package/lib/model/usage-carbon-emissions-query.js +57 -0
  113. package/lib/model/usage-carbon-emissions-query.js.map +1 -0
  114. package/lib/model/usage-carbon-emissions-report-query.d.ts +75 -0
  115. package/lib/model/usage-carbon-emissions-report-query.js +76 -0
  116. package/lib/model/usage-carbon-emissions-report-query.js.map +1 -0
  117. package/lib/model/usage-summary.d.ts +1 -1
  118. package/lib/model/usage-summary.js +1 -1
  119. package/lib/request/create-custom-table-request.d.ts +2 -2
  120. package/lib/request/create-custom-table-request.js +1 -1
  121. package/lib/request/create-query-request.d.ts +2 -2
  122. package/lib/request/create-query-request.js +1 -1
  123. package/lib/request/create-schedule-request.d.ts +2 -2
  124. package/lib/request/create-schedule-request.js +1 -1
  125. package/lib/request/create-usage-carbon-emissions-query-request.d.ts +38 -0
  126. package/lib/request/create-usage-carbon-emissions-query-request.js +15 -0
  127. package/lib/request/create-usage-carbon-emissions-query-request.js.map +1 -0
  128. package/lib/request/delete-custom-table-request.d.ts +2 -2
  129. package/lib/request/delete-custom-table-request.js +1 -1
  130. package/lib/request/delete-query-request.d.ts +2 -2
  131. package/lib/request/delete-query-request.js +1 -1
  132. package/lib/request/delete-schedule-request.d.ts +2 -2
  133. package/lib/request/delete-schedule-request.js +1 -1
  134. package/lib/request/delete-usage-carbon-emissions-query-request.d.ts +37 -0
  135. package/lib/request/delete-usage-carbon-emissions-query-request.js +15 -0
  136. package/lib/request/delete-usage-carbon-emissions-query-request.js.map +1 -0
  137. package/lib/request/get-custom-table-request.d.ts +2 -2
  138. package/lib/request/get-custom-table-request.js +1 -1
  139. package/lib/request/get-query-request.d.ts +2 -2
  140. package/lib/request/get-query-request.js +1 -1
  141. package/lib/request/get-schedule-request.d.ts +2 -2
  142. package/lib/request/get-schedule-request.js +1 -1
  143. package/lib/request/get-scheduled-run-request.d.ts +2 -2
  144. package/lib/request/get-scheduled-run-request.js +1 -1
  145. package/lib/request/get-usage-carbon-emissions-query-request.d.ts +28 -0
  146. package/lib/request/get-usage-carbon-emissions-query-request.js +15 -0
  147. package/lib/request/get-usage-carbon-emissions-query-request.js.map +1 -0
  148. package/lib/request/index.d.ts +19 -1
  149. package/lib/request/index.js +4 -2
  150. package/lib/request/index.js.map +1 -1
  151. package/lib/request/list-custom-tables-request.d.ts +2 -2
  152. package/lib/request/list-custom-tables-request.js +1 -1
  153. package/lib/request/list-queries-request.d.ts +2 -2
  154. package/lib/request/list-queries-request.js +1 -1
  155. package/lib/request/list-scheduled-runs-request.d.ts +2 -2
  156. package/lib/request/list-scheduled-runs-request.js +1 -1
  157. package/lib/request/list-schedules-request.d.ts +2 -2
  158. package/lib/request/list-schedules-request.js +1 -1
  159. package/lib/request/list-usage-carbon-emissions-queries-request.d.ts +56 -0
  160. package/lib/request/list-usage-carbon-emissions-queries-request.js +28 -0
  161. package/lib/request/list-usage-carbon-emissions-queries-request.js.map +1 -0
  162. package/lib/request/request-average-carbon-emission-request.d.ts +28 -0
  163. package/lib/request/request-average-carbon-emission-request.js +15 -0
  164. package/lib/request/request-average-carbon-emission-request.js.map +1 -0
  165. package/lib/request/request-clean-energy-usage-request.d.ts +32 -0
  166. package/lib/request/request-clean-energy-usage-request.js +15 -0
  167. package/lib/request/request-clean-energy-usage-request.js.map +1 -0
  168. package/lib/request/request-summarized-configurations-request.d.ts +2 -2
  169. package/lib/request/request-summarized-configurations-request.js +1 -1
  170. package/lib/request/request-summarized-usages-request.d.ts +2 -2
  171. package/lib/request/request-summarized-usages-request.js +1 -1
  172. package/lib/request/request-usage-carbon-emission-config-request.d.ts +28 -0
  173. package/lib/request/request-usage-carbon-emission-config-request.js +15 -0
  174. package/lib/request/request-usage-carbon-emission-config-request.js.map +1 -0
  175. package/lib/request/request-usage-carbon-emissions-request.d.ts +40 -0
  176. package/lib/request/request-usage-carbon-emissions-request.js +15 -0
  177. package/lib/request/request-usage-carbon-emissions-request.js.map +1 -0
  178. package/lib/request/update-custom-table-request.d.ts +2 -2
  179. package/lib/request/update-custom-table-request.js +1 -1
  180. package/lib/request/update-query-request.d.ts +2 -2
  181. package/lib/request/update-query-request.js +1 -1
  182. package/lib/request/update-schedule-request.d.ts +2 -2
  183. package/lib/request/update-schedule-request.js +1 -1
  184. package/lib/request/update-usage-carbon-emissions-query-request.d.ts +42 -0
  185. package/lib/request/update-usage-carbon-emissions-query-request.js +15 -0
  186. package/lib/request/update-usage-carbon-emissions-query-request.js.map +1 -0
  187. package/lib/response/create-custom-table-response.d.ts +1 -1
  188. package/lib/response/create-custom-table-response.js +1 -1
  189. package/lib/response/create-query-response.d.ts +1 -1
  190. package/lib/response/create-query-response.js +1 -1
  191. package/lib/response/create-schedule-response.d.ts +1 -1
  192. package/lib/response/create-schedule-response.js +1 -1
  193. package/lib/response/create-usage-carbon-emissions-query-response.d.ts +29 -0
  194. package/lib/response/create-usage-carbon-emissions-query-response.js +15 -0
  195. package/lib/response/create-usage-carbon-emissions-query-response.js.map +1 -0
  196. package/lib/response/delete-custom-table-response.d.ts +1 -1
  197. package/lib/response/delete-custom-table-response.js +1 -1
  198. package/lib/response/delete-query-response.d.ts +1 -1
  199. package/lib/response/delete-query-response.js +1 -1
  200. package/lib/response/delete-schedule-response.d.ts +1 -1
  201. package/lib/response/delete-schedule-response.js +1 -1
  202. package/lib/response/delete-usage-carbon-emissions-query-response.d.ts +20 -0
  203. package/lib/response/delete-usage-carbon-emissions-query-response.js +15 -0
  204. package/lib/response/delete-usage-carbon-emissions-query-response.js.map +1 -0
  205. package/lib/response/get-custom-table-response.d.ts +1 -1
  206. package/lib/response/get-custom-table-response.js +1 -1
  207. package/lib/response/get-query-response.d.ts +1 -1
  208. package/lib/response/get-query-response.js +1 -1
  209. package/lib/response/get-schedule-response.d.ts +1 -1
  210. package/lib/response/get-schedule-response.js +1 -1
  211. package/lib/response/get-scheduled-run-response.d.ts +1 -1
  212. package/lib/response/get-scheduled-run-response.js +1 -1
  213. package/lib/response/get-usage-carbon-emissions-query-response.d.ts +29 -0
  214. package/lib/response/get-usage-carbon-emissions-query-response.js +15 -0
  215. package/lib/response/get-usage-carbon-emissions-query-response.js.map +1 -0
  216. package/lib/response/index.d.ts +19 -1
  217. package/lib/response/index.js +1 -1
  218. package/lib/response/list-custom-tables-response.d.ts +1 -1
  219. package/lib/response/list-custom-tables-response.js +1 -1
  220. package/lib/response/list-queries-response.d.ts +1 -1
  221. package/lib/response/list-queries-response.js +1 -1
  222. package/lib/response/list-scheduled-runs-response.d.ts +1 -1
  223. package/lib/response/list-scheduled-runs-response.js +1 -1
  224. package/lib/response/list-schedules-response.d.ts +1 -1
  225. package/lib/response/list-schedules-response.js +1 -1
  226. package/lib/response/list-usage-carbon-emissions-queries-response.d.ts +32 -0
  227. package/lib/response/list-usage-carbon-emissions-queries-response.js +15 -0
  228. package/lib/response/list-usage-carbon-emissions-queries-response.js.map +1 -0
  229. package/lib/response/request-average-carbon-emission-response.d.ts +29 -0
  230. package/lib/response/request-average-carbon-emission-response.js +15 -0
  231. package/lib/response/request-average-carbon-emission-response.js.map +1 -0
  232. package/lib/response/request-clean-energy-usage-response.d.ts +29 -0
  233. package/lib/response/request-clean-energy-usage-response.js +15 -0
  234. package/lib/response/request-clean-energy-usage-response.js.map +1 -0
  235. package/lib/response/request-summarized-configurations-response.d.ts +1 -1
  236. package/lib/response/request-summarized-configurations-response.js +1 -1
  237. package/lib/response/request-summarized-usages-response.d.ts +1 -1
  238. package/lib/response/request-summarized-usages-response.js +1 -1
  239. package/lib/response/request-usage-carbon-emission-config-response.d.ts +25 -0
  240. package/lib/response/request-usage-carbon-emission-config-response.js +15 -0
  241. package/lib/response/request-usage-carbon-emission-config-response.js.map +1 -0
  242. package/lib/response/request-usage-carbon-emissions-response.d.ts +32 -0
  243. package/lib/response/request-usage-carbon-emissions-response.js +15 -0
  244. package/lib/response/request-usage-carbon-emissions-response.js.map +1 -0
  245. package/lib/response/update-custom-table-response.d.ts +1 -1
  246. package/lib/response/update-custom-table-response.js +1 -1
  247. package/lib/response/update-query-response.d.ts +1 -1
  248. package/lib/response/update-query-response.js +1 -1
  249. package/lib/response/update-schedule-response.d.ts +1 -1
  250. package/lib/response/update-schedule-response.js +1 -1
  251. package/lib/response/update-usage-carbon-emissions-query-response.d.ts +29 -0
  252. package/lib/response/update-usage-carbon-emissions-query-response.js +15 -0
  253. package/lib/response/update-usage-carbon-emissions-query-response.js.map +1 -0
  254. package/lib/usageapi-waiter.d.ts +1 -1
  255. package/lib/usageapi-waiter.js +1 -1
  256. package/package.json +3 -3
@@ -8,7 +8,7 @@
8
8
  * NOTE: This class is auto generated by OracleSDKGenerator.
9
9
  * Do not edit the class manually.
10
10
  *
11
- * Copyright (c) 2020, 2023, Oracle and/or its affiliates. All rights reserved.
11
+ * Copyright (c) 2020, 2024, Oracle and/or its affiliates. All rights reserved.
12
12
  * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
13
13
  */
14
14
  var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
@@ -7,7 +7,7 @@
7
7
  * NOTE: This class is auto generated by OracleSDKGenerator.
8
8
  * Do not edit the class manually.
9
9
  *
10
- * Copyright (c) 2020, 2023, Oracle and/or its affiliates. All rights reserved.
10
+ * Copyright (c) 2020, 2024, Oracle and/or its affiliates. All rights reserved.
11
11
  * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
12
12
  */
13
13
  /**
@@ -8,7 +8,7 @@
8
8
  * NOTE: This class is auto generated by OracleSDKGenerator.
9
9
  * Do not edit the class manually.
10
10
  *
11
- * Copyright (c) 2020, 2023, Oracle and/or its affiliates. All rights reserved.
11
+ * Copyright (c) 2020, 2024, Oracle and/or its affiliates. All rights reserved.
12
12
  * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
13
13
  */
14
14
  Object.defineProperty(exports, "__esModule", { value: true });
@@ -7,7 +7,7 @@
7
7
  * NOTE: This class is auto generated by OracleSDKGenerator.
8
8
  * Do not edit the class manually.
9
9
  *
10
- * Copyright (c) 2020, 2023, Oracle and/or its affiliates. All rights reserved.
10
+ * Copyright (c) 2020, 2024, Oracle and/or its affiliates. All rights reserved.
11
11
  * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
12
12
  */
13
13
  import * as model from "../model";
@@ -37,11 +37,11 @@ export interface Schedule {
37
37
  */
38
38
  "timeNextRun"?: Date;
39
39
  /**
40
- * Specifies supported output file format.
40
+ * Specifies the supported output file format.
41
41
  */
42
42
  "outputFileFormat"?: Schedule.OutputFileFormat;
43
43
  /**
44
- * The saved report id which can also be used to generate query.
44
+ * The saved report ID which can also be used to generate a query.
45
45
  */
46
46
  "savedReportId"?: string;
47
47
  /**
@@ -8,7 +8,7 @@
8
8
  * NOTE: This class is auto generated by OracleSDKGenerator.
9
9
  * Do not edit the class manually.
10
10
  *
11
- * Copyright (c) 2020, 2023, Oracle and/or its affiliates. All rights reserved.
11
+ * Copyright (c) 2020, 2024, Oracle and/or its affiliates. All rights reserved.
12
12
  * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
13
13
  */
14
14
  var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
@@ -7,7 +7,7 @@
7
7
  * NOTE: This class is auto generated by OracleSDKGenerator.
8
8
  * Do not edit the class manually.
9
9
  *
10
- * Copyright (c) 2020, 2023, Oracle and/or its affiliates. All rights reserved.
10
+ * Copyright (c) 2020, 2024, Oracle and/or its affiliates. All rights reserved.
11
11
  * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
12
12
  */
13
13
  import * as model from "../model";
@@ -8,7 +8,7 @@
8
8
  * NOTE: This class is auto generated by OracleSDKGenerator.
9
9
  * Do not edit the class manually.
10
10
  *
11
- * Copyright (c) 2020, 2023, Oracle and/or its affiliates. All rights reserved.
11
+ * Copyright (c) 2020, 2024, Oracle and/or its affiliates. All rights reserved.
12
12
  * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
13
13
  */
14
14
  var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
@@ -7,7 +7,7 @@
7
7
  * NOTE: This class is auto generated by OracleSDKGenerator.
8
8
  * Do not edit the class manually.
9
9
  *
10
- * Copyright (c) 2020, 2023, Oracle and/or its affiliates. All rights reserved.
10
+ * Copyright (c) 2020, 2024, Oracle and/or its affiliates. All rights reserved.
11
11
  * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
12
12
  */
13
13
  /**
@@ -8,7 +8,7 @@
8
8
  * NOTE: This class is auto generated by OracleSDKGenerator.
9
9
  * Do not edit the class manually.
10
10
  *
11
- * Copyright (c) 2020, 2023, Oracle and/or its affiliates. All rights reserved.
11
+ * Copyright (c) 2020, 2024, Oracle and/or its affiliates. All rights reserved.
12
12
  * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
13
13
  */
14
14
  Object.defineProperty(exports, "__esModule", { value: true });
@@ -7,7 +7,7 @@
7
7
  * NOTE: This class is auto generated by OracleSDKGenerator.
8
8
  * Do not edit the class manually.
9
9
  *
10
- * Copyright (c) 2020, 2023, Oracle and/or its affiliates. All rights reserved.
10
+ * Copyright (c) 2020, 2024, Oracle and/or its affiliates. All rights reserved.
11
11
  * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
12
12
  */
13
13
  /**
@@ -8,7 +8,7 @@
8
8
  * NOTE: This class is auto generated by OracleSDKGenerator.
9
9
  * Do not edit the class manually.
10
10
  *
11
- * Copyright (c) 2020, 2023, Oracle and/or its affiliates. All rights reserved.
11
+ * Copyright (c) 2020, 2024, Oracle and/or its affiliates. All rights reserved.
12
12
  * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
13
13
  */
14
14
  Object.defineProperty(exports, "__esModule", { value: true });
@@ -7,7 +7,7 @@
7
7
  * NOTE: This class is auto generated by OracleSDKGenerator.
8
8
  * Do not edit the class manually.
9
9
  *
10
- * Copyright (c) 2020, 2023, Oracle and/or its affiliates. All rights reserved.
10
+ * Copyright (c) 2020, 2024, Oracle and/or its affiliates. All rights reserved.
11
11
  * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
12
12
  */
13
13
  import * as model from "../model";
@@ -8,7 +8,7 @@
8
8
  * NOTE: This class is auto generated by OracleSDKGenerator.
9
9
  * Do not edit the class manually.
10
10
  *
11
- * Copyright (c) 2020, 2023, Oracle and/or its affiliates. All rights reserved.
11
+ * Copyright (c) 2020, 2024, Oracle and/or its affiliates. All rights reserved.
12
12
  * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
13
13
  */
14
14
  var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
@@ -7,7 +7,7 @@
7
7
  * NOTE: This class is auto generated by OracleSDKGenerator.
8
8
  * Do not edit the class manually.
9
9
  *
10
- * Copyright (c) 2020, 2023, Oracle and/or its affiliates. All rights reserved.
10
+ * Copyright (c) 2020, 2024, Oracle and/or its affiliates. All rights reserved.
11
11
  * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
12
12
  */
13
13
  /**
package/lib/model/tag.js CHANGED
@@ -8,7 +8,7 @@
8
8
  * NOTE: This class is auto generated by OracleSDKGenerator.
9
9
  * Do not edit the class manually.
10
10
  *
11
- * Copyright (c) 2020, 2023, Oracle and/or its affiliates. All rights reserved.
11
+ * Copyright (c) 2020, 2024, Oracle and/or its affiliates. All rights reserved.
12
12
  * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
13
13
  */
14
14
  Object.defineProperty(exports, "__esModule", { value: true });
@@ -7,7 +7,7 @@
7
7
  * NOTE: This class is auto generated by OracleSDKGenerator.
8
8
  * Do not edit the class manually.
9
9
  *
10
- * Copyright (c) 2020, 2023, Oracle and/or its affiliates. All rights reserved.
10
+ * Copyright (c) 2020, 2024, Oracle and/or its affiliates. All rights reserved.
11
11
  * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
12
12
  */
13
13
  import * as model from "../model";
@@ -8,7 +8,7 @@
8
8
  * NOTE: This class is auto generated by OracleSDKGenerator.
9
9
  * Do not edit the class manually.
10
10
  *
11
- * Copyright (c) 2020, 2023, Oracle and/or its affiliates. All rights reserved.
11
+ * Copyright (c) 2020, 2024, Oracle and/or its affiliates. All rights reserved.
12
12
  * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
13
13
  */
14
14
  var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
@@ -7,7 +7,7 @@
7
7
  * NOTE: This class is auto generated by OracleSDKGenerator.
8
8
  * Do not edit the class manually.
9
9
  *
10
- * Copyright (c) 2020, 2023, Oracle and/or its affiliates. All rights reserved.
10
+ * Copyright (c) 2020, 2024, Oracle and/or its affiliates. All rights reserved.
11
11
  * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
12
12
  */
13
13
  import * as model from "../model";
@@ -8,7 +8,7 @@
8
8
  * NOTE: This class is auto generated by OracleSDKGenerator.
9
9
  * Do not edit the class manually.
10
10
  *
11
- * Copyright (c) 2020, 2023, Oracle and/or its affiliates. All rights reserved.
11
+ * Copyright (c) 2020, 2024, Oracle and/or its affiliates. All rights reserved.
12
12
  * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
13
13
  */
14
14
  var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
@@ -7,7 +7,7 @@
7
7
  * NOTE: This class is auto generated by OracleSDKGenerator.
8
8
  * Do not edit the class manually.
9
9
  *
10
- * Copyright (c) 2020, 2023, Oracle and/or its affiliates. All rights reserved.
10
+ * Copyright (c) 2020, 2024, Oracle and/or its affiliates. All rights reserved.
11
11
  * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
12
12
  */
13
13
  import * as model from "../model";
@@ -21,7 +21,7 @@ export interface UpdateScheduleDetails {
21
21
  */
22
22
  "description"?: string;
23
23
  /**
24
- * Specifies supported output file format.
24
+ * Specifies the supported output file format.
25
25
  */
26
26
  "outputFileFormat"?: UpdateScheduleDetails.OutputFileFormat;
27
27
  "resultLocation"?: model.ObjectStorageLocation;
@@ -8,7 +8,7 @@
8
8
  * NOTE: This class is auto generated by OracleSDKGenerator.
9
9
  * Do not edit the class manually.
10
10
  *
11
- * Copyright (c) 2020, 2023, Oracle and/or its affiliates. All rights reserved.
11
+ * Copyright (c) 2020, 2024, Oracle and/or its affiliates. All rights reserved.
12
12
  * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
13
13
  */
14
14
  var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
@@ -0,0 +1,23 @@
1
+ /**
2
+ * Usage API
3
+ * Use the Usage API to view your Oracle Cloud usage and costs. The API allows you to request data that meets the specified filter criteria, and to group that data by the dimension of your choosing. The Usage API is used by the Cost Analysis tool in the Console. Also see [Using the Usage API](/Content/Billing/Concepts/costanalysisoverview.htm#cost_analysis_using_the_api) for more information.
4
+ * OpenAPI spec version: 20200107
5
+ *
6
+ *
7
+ * NOTE: This class is auto generated by OracleSDKGenerator.
8
+ * Do not edit the class manually.
9
+ *
10
+ * Copyright (c) 2020, 2024, Oracle and/or its affiliates. All rights reserved.
11
+ * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
12
+ */
13
+ import * as model from "../model";
14
+ /**
15
+ * Details for the query to update usageCarbonEmissionsQuery, costAnalysisUI, and displayName.
16
+ */
17
+ export interface UpdateUsageCarbonEmissionsQueryDetails {
18
+ "queryDefinition": model.UsageCarbonEmissionsQueryDefinition;
19
+ }
20
+ export declare namespace UpdateUsageCarbonEmissionsQueryDetails {
21
+ function getJsonObj(obj: UpdateUsageCarbonEmissionsQueryDetails): object;
22
+ function getDeserializedJsonObj(obj: UpdateUsageCarbonEmissionsQueryDetails): object;
23
+ }
@@ -0,0 +1,57 @@
1
+ "use strict";
2
+ /**
3
+ * Usage API
4
+ * Use the Usage API to view your Oracle Cloud usage and costs. The API allows you to request data that meets the specified filter criteria, and to group that data by the dimension of your choosing. The Usage API is used by the Cost Analysis tool in the Console. Also see [Using the Usage API](/Content/Billing/Concepts/costanalysisoverview.htm#cost_analysis_using_the_api) for more information.
5
+ * OpenAPI spec version: 20200107
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by OracleSDKGenerator.
9
+ * Do not edit the class manually.
10
+ *
11
+ * Copyright (c) 2020, 2024, Oracle and/or its affiliates. All rights reserved.
12
+ * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
13
+ */
14
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
15
+ if (k2 === undefined) k2 = k;
16
+ Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
17
+ }) : (function(o, m, k, k2) {
18
+ if (k2 === undefined) k2 = k;
19
+ o[k2] = m[k];
20
+ }));
21
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
22
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
23
+ }) : function(o, v) {
24
+ o["default"] = v;
25
+ });
26
+ var __importStar = (this && this.__importStar) || function (mod) {
27
+ if (mod && mod.__esModule) return mod;
28
+ var result = {};
29
+ if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
30
+ __setModuleDefault(result, mod);
31
+ return result;
32
+ };
33
+ Object.defineProperty(exports, "__esModule", { value: true });
34
+ exports.UpdateUsageCarbonEmissionsQueryDetails = void 0;
35
+ const model = __importStar(require("../model"));
36
+ var UpdateUsageCarbonEmissionsQueryDetails;
37
+ (function (UpdateUsageCarbonEmissionsQueryDetails) {
38
+ function getJsonObj(obj) {
39
+ const jsonObj = Object.assign(Object.assign({}, obj), {
40
+ "queryDefinition": obj.queryDefinition
41
+ ? model.UsageCarbonEmissionsQueryDefinition.getJsonObj(obj.queryDefinition)
42
+ : undefined
43
+ });
44
+ return jsonObj;
45
+ }
46
+ UpdateUsageCarbonEmissionsQueryDetails.getJsonObj = getJsonObj;
47
+ function getDeserializedJsonObj(obj) {
48
+ const jsonObj = Object.assign(Object.assign({}, obj), {
49
+ "queryDefinition": obj.queryDefinition
50
+ ? model.UsageCarbonEmissionsQueryDefinition.getDeserializedJsonObj(obj.queryDefinition)
51
+ : undefined
52
+ });
53
+ return jsonObj;
54
+ }
55
+ UpdateUsageCarbonEmissionsQueryDetails.getDeserializedJsonObj = getDeserializedJsonObj;
56
+ })(UpdateUsageCarbonEmissionsQueryDetails = exports.UpdateUsageCarbonEmissionsQueryDetails || (exports.UpdateUsageCarbonEmissionsQueryDetails = {}));
57
+ //# sourceMappingURL=update-usage-carbon-emissions-query-details.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"update-usage-carbon-emissions-query-details.js","sourceRoot":"","sources":["../../../../../lib/usageapi/lib/model/update-usage-carbon-emissions-query-details.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;GAWG;;;;;;;;;;;;;;;;;;;;;;AAEH,gDAAkC;AAUlC,IAAiB,sCAAsC,CAyBtD;AAzBD,WAAiB,sCAAsC;IACrD,SAAgB,UAAU,CAAC,GAA2C;QACpE,MAAM,OAAO,mCACR,GAAG,GACH;YACD,iBAAiB,EAAE,GAAG,CAAC,eAAe;gBACpC,CAAC,CAAC,KAAK,CAAC,mCAAmC,CAAC,UAAU,CAAC,GAAG,CAAC,eAAe,CAAC;gBAC3E,CAAC,CAAC,SAAS;SACd,CACF,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAXe,iDAAU,aAWzB,CAAA;IACD,SAAgB,sBAAsB,CAAC,GAA2C;QAChF,MAAM,OAAO,mCACR,GAAG,GACH;YACD,iBAAiB,EAAE,GAAG,CAAC,eAAe;gBACpC,CAAC,CAAC,KAAK,CAAC,mCAAmC,CAAC,sBAAsB,CAAC,GAAG,CAAC,eAAe,CAAC;gBACvF,CAAC,CAAC,SAAS;SACd,CACF,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAXe,6DAAsB,yBAWrC,CAAA;AACH,CAAC,EAzBgB,sCAAsC,GAAtC,8CAAsC,KAAtC,8CAAsC,QAyBtD"}
@@ -7,7 +7,7 @@
7
7
  * NOTE: This class is auto generated by OracleSDKGenerator.
8
8
  * Do not edit the class manually.
9
9
  *
10
- * Copyright (c) 2020, 2023, Oracle and/or its affiliates. All rights reserved.
10
+ * Copyright (c) 2020, 2024, Oracle and/or its affiliates. All rights reserved.
11
11
  * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
12
12
  */
13
13
  import * as model from "../model";
@@ -8,7 +8,7 @@
8
8
  * NOTE: This class is auto generated by OracleSDKGenerator.
9
9
  * Do not edit the class manually.
10
10
  *
11
- * Copyright (c) 2020, 2023, Oracle and/or its affiliates. All rights reserved.
11
+ * Copyright (c) 2020, 2024, Oracle and/or its affiliates. All rights reserved.
12
12
  * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
13
13
  */
14
14
  var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
@@ -0,0 +1,30 @@
1
+ /**
2
+ * Usage API
3
+ * Use the Usage API to view your Oracle Cloud usage and costs. The API allows you to request data that meets the specified filter criteria, and to group that data by the dimension of your choosing. The Usage API is used by the Cost Analysis tool in the Console. Also see [Using the Usage API](/Content/Billing/Concepts/costanalysisoverview.htm#cost_analysis_using_the_api) for more information.
4
+ * OpenAPI spec version: 20200107
5
+ *
6
+ *
7
+ * NOTE: This class is auto generated by OracleSDKGenerator.
8
+ * Do not edit the class manually.
9
+ *
10
+ * Copyright (c) 2020, 2024, Oracle and/or its affiliates. All rights reserved.
11
+ * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
12
+ */
13
+ import * as model from "../model";
14
+ /**
15
+ * The account (tenant) usage carbon emissions.
16
+ */
17
+ export interface UsageCarbonEmissionAggregation {
18
+ /**
19
+ * Aggregate the result by.
20
+ */
21
+ "groupBy"?: Array<string>;
22
+ /**
23
+ * A list of usage carbon emission items.
24
+ */
25
+ "items": Array<model.UsageCarbonEmissionSummary>;
26
+ }
27
+ export declare namespace UsageCarbonEmissionAggregation {
28
+ function getJsonObj(obj: UsageCarbonEmissionAggregation): object;
29
+ function getDeserializedJsonObj(obj: UsageCarbonEmissionAggregation): object;
30
+ }
@@ -0,0 +1,61 @@
1
+ "use strict";
2
+ /**
3
+ * Usage API
4
+ * Use the Usage API to view your Oracle Cloud usage and costs. The API allows you to request data that meets the specified filter criteria, and to group that data by the dimension of your choosing. The Usage API is used by the Cost Analysis tool in the Console. Also see [Using the Usage API](/Content/Billing/Concepts/costanalysisoverview.htm#cost_analysis_using_the_api) for more information.
5
+ * OpenAPI spec version: 20200107
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by OracleSDKGenerator.
9
+ * Do not edit the class manually.
10
+ *
11
+ * Copyright (c) 2020, 2024, Oracle and/or its affiliates. All rights reserved.
12
+ * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
13
+ */
14
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
15
+ if (k2 === undefined) k2 = k;
16
+ Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
17
+ }) : (function(o, m, k, k2) {
18
+ if (k2 === undefined) k2 = k;
19
+ o[k2] = m[k];
20
+ }));
21
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
22
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
23
+ }) : function(o, v) {
24
+ o["default"] = v;
25
+ });
26
+ var __importStar = (this && this.__importStar) || function (mod) {
27
+ if (mod && mod.__esModule) return mod;
28
+ var result = {};
29
+ if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
30
+ __setModuleDefault(result, mod);
31
+ return result;
32
+ };
33
+ Object.defineProperty(exports, "__esModule", { value: true });
34
+ exports.UsageCarbonEmissionAggregation = void 0;
35
+ const model = __importStar(require("../model"));
36
+ var UsageCarbonEmissionAggregation;
37
+ (function (UsageCarbonEmissionAggregation) {
38
+ function getJsonObj(obj) {
39
+ const jsonObj = Object.assign(Object.assign({}, obj), {
40
+ "items": obj.items
41
+ ? obj.items.map(item => {
42
+ return model.UsageCarbonEmissionSummary.getJsonObj(item);
43
+ })
44
+ : undefined
45
+ });
46
+ return jsonObj;
47
+ }
48
+ UsageCarbonEmissionAggregation.getJsonObj = getJsonObj;
49
+ function getDeserializedJsonObj(obj) {
50
+ const jsonObj = Object.assign(Object.assign({}, obj), {
51
+ "items": obj.items
52
+ ? obj.items.map(item => {
53
+ return model.UsageCarbonEmissionSummary.getDeserializedJsonObj(item);
54
+ })
55
+ : undefined
56
+ });
57
+ return jsonObj;
58
+ }
59
+ UsageCarbonEmissionAggregation.getDeserializedJsonObj = getDeserializedJsonObj;
60
+ })(UsageCarbonEmissionAggregation = exports.UsageCarbonEmissionAggregation || (exports.UsageCarbonEmissionAggregation = {}));
61
+ //# sourceMappingURL=usage-carbon-emission-aggregation.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"usage-carbon-emission-aggregation.js","sourceRoot":"","sources":["../../../../../lib/usageapi/lib/model/usage-carbon-emission-aggregation.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;GAWG;;;;;;;;;;;;;;;;;;;;;;AAEH,gDAAkC;AAiBlC,IAAiB,8BAA8B,CA6B9C;AA7BD,WAAiB,8BAA8B;IAC7C,SAAgB,UAAU,CAAC,GAAmC;QAC5D,MAAM,OAAO,mCACR,GAAG,GACH;YACD,OAAO,EAAE,GAAG,CAAC,KAAK;gBAChB,CAAC,CAAC,GAAG,CAAC,KAAK,CAAC,GAAG,CAAC,IAAI,CAAC,EAAE;oBACnB,OAAO,KAAK,CAAC,0BAA0B,CAAC,UAAU,CAAC,IAAI,CAAC,CAAC;gBAC3D,CAAC,CAAC;gBACJ,CAAC,CAAC,SAAS;SACd,CACF,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAbe,yCAAU,aAazB,CAAA;IACD,SAAgB,sBAAsB,CAAC,GAAmC;QACxE,MAAM,OAAO,mCACR,GAAG,GACH;YACD,OAAO,EAAE,GAAG,CAAC,KAAK;gBAChB,CAAC,CAAC,GAAG,CAAC,KAAK,CAAC,GAAG,CAAC,IAAI,CAAC,EAAE;oBACnB,OAAO,KAAK,CAAC,0BAA0B,CAAC,sBAAsB,CAAC,IAAI,CAAC,CAAC;gBACvE,CAAC,CAAC;gBACJ,CAAC,CAAC,SAAS;SACd,CACF,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAbe,qDAAsB,yBAarC,CAAA;AACH,CAAC,EA7BgB,8BAA8B,GAA9B,sCAA8B,KAA9B,sCAA8B,QA6B9C"}
@@ -0,0 +1,98 @@
1
+ /**
2
+ * Usage API
3
+ * Use the Usage API to view your Oracle Cloud usage and costs. The API allows you to request data that meets the specified filter criteria, and to group that data by the dimension of your choosing. The Usage API is used by the Cost Analysis tool in the Console. Also see [Using the Usage API](/Content/Billing/Concepts/costanalysisoverview.htm#cost_analysis_using_the_api) for more information.
4
+ * OpenAPI spec version: 20200107
5
+ *
6
+ *
7
+ * NOTE: This class is auto generated by OracleSDKGenerator.
8
+ * Do not edit the class manually.
9
+ *
10
+ * Copyright (c) 2020, 2024, Oracle and/or its affiliates. All rights reserved.
11
+ * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
12
+ */
13
+ import * as model from "../model";
14
+ /**
15
+ * The usage carbon emission store result.
16
+ */
17
+ export interface UsageCarbonEmissionSummary {
18
+ /**
19
+ * The tenancy OCID.
20
+ */
21
+ "tenantId"?: string;
22
+ /**
23
+ * The tenancy name.
24
+ */
25
+ "tenantName"?: string;
26
+ /**
27
+ * The compartment OCID.
28
+ */
29
+ "compartmentId"?: string;
30
+ /**
31
+ * The compartment path, starting from root.
32
+ */
33
+ "compartmentPath"?: string;
34
+ /**
35
+ * The compartment name.
36
+ */
37
+ "compartmentName"?: string;
38
+ /**
39
+ * The service name that is incurring the cost.
40
+ */
41
+ "service"?: string;
42
+ /**
43
+ * The resource name that is incurring the cost.
44
+ */
45
+ "resourceName"?: string;
46
+ /**
47
+ * The resource OCID that is incurring the cost.
48
+ */
49
+ "resourceId"?: string;
50
+ /**
51
+ * The region of the usage.
52
+ */
53
+ "region"?: string;
54
+ /**
55
+ * The availability domain of the usage.
56
+ */
57
+ "ad"?: string;
58
+ /**
59
+ * The SKU part number.
60
+ */
61
+ "skuPartNumber"?: string;
62
+ /**
63
+ * The SKU friendly name.
64
+ */
65
+ "skuName"?: string;
66
+ /**
67
+ * Platform for the cost.
68
+ */
69
+ "platform"?: string;
70
+ /**
71
+ * The usage start time.
72
+ */
73
+ "timeUsageStarted": Date;
74
+ /**
75
+ * The usage end time.
76
+ */
77
+ "timeUsageEnded": Date;
78
+ /**
79
+ * The carbon emission in MTCO2 unit. Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues.
80
+ */
81
+ "computedCarbonEmission": number;
82
+ /**
83
+ * The method used to calculate carbon emission.
84
+ */
85
+ "emissionCalculationMethod": string;
86
+ /**
87
+ * The subscription ID.
88
+ */
89
+ "subscriptionId"?: string;
90
+ /**
91
+ * For grouping, a tag definition. For filtering, a definition and key.
92
+ */
93
+ "tags"?: Array<model.Tag>;
94
+ }
95
+ export declare namespace UsageCarbonEmissionSummary {
96
+ function getJsonObj(obj: UsageCarbonEmissionSummary): object;
97
+ function getDeserializedJsonObj(obj: UsageCarbonEmissionSummary): object;
98
+ }
@@ -0,0 +1,61 @@
1
+ "use strict";
2
+ /**
3
+ * Usage API
4
+ * Use the Usage API to view your Oracle Cloud usage and costs. The API allows you to request data that meets the specified filter criteria, and to group that data by the dimension of your choosing. The Usage API is used by the Cost Analysis tool in the Console. Also see [Using the Usage API](/Content/Billing/Concepts/costanalysisoverview.htm#cost_analysis_using_the_api) for more information.
5
+ * OpenAPI spec version: 20200107
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by OracleSDKGenerator.
9
+ * Do not edit the class manually.
10
+ *
11
+ * Copyright (c) 2020, 2024, Oracle and/or its affiliates. All rights reserved.
12
+ * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
13
+ */
14
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
15
+ if (k2 === undefined) k2 = k;
16
+ Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
17
+ }) : (function(o, m, k, k2) {
18
+ if (k2 === undefined) k2 = k;
19
+ o[k2] = m[k];
20
+ }));
21
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
22
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
23
+ }) : function(o, v) {
24
+ o["default"] = v;
25
+ });
26
+ var __importStar = (this && this.__importStar) || function (mod) {
27
+ if (mod && mod.__esModule) return mod;
28
+ var result = {};
29
+ if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
30
+ __setModuleDefault(result, mod);
31
+ return result;
32
+ };
33
+ Object.defineProperty(exports, "__esModule", { value: true });
34
+ exports.UsageCarbonEmissionSummary = void 0;
35
+ const model = __importStar(require("../model"));
36
+ var UsageCarbonEmissionSummary;
37
+ (function (UsageCarbonEmissionSummary) {
38
+ function getJsonObj(obj) {
39
+ const jsonObj = Object.assign(Object.assign({}, obj), {
40
+ "tags": obj.tags
41
+ ? obj.tags.map(item => {
42
+ return model.Tag.getJsonObj(item);
43
+ })
44
+ : undefined
45
+ });
46
+ return jsonObj;
47
+ }
48
+ UsageCarbonEmissionSummary.getJsonObj = getJsonObj;
49
+ function getDeserializedJsonObj(obj) {
50
+ const jsonObj = Object.assign(Object.assign({}, obj), {
51
+ "tags": obj.tags
52
+ ? obj.tags.map(item => {
53
+ return model.Tag.getDeserializedJsonObj(item);
54
+ })
55
+ : undefined
56
+ });
57
+ return jsonObj;
58
+ }
59
+ UsageCarbonEmissionSummary.getDeserializedJsonObj = getDeserializedJsonObj;
60
+ })(UsageCarbonEmissionSummary = exports.UsageCarbonEmissionSummary || (exports.UsageCarbonEmissionSummary = {}));
61
+ //# sourceMappingURL=usage-carbon-emission-summary.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"usage-carbon-emission-summary.js","sourceRoot":"","sources":["../../../../../lib/usageapi/lib/model/usage-carbon-emission-summary.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;GAWG;;;;;;;;;;;;;;;;;;;;;;AAEH,gDAAkC;AAqFlC,IAAiB,0BAA0B,CA6B1C;AA7BD,WAAiB,0BAA0B;IACzC,SAAgB,UAAU,CAAC,GAA+B;QACxD,MAAM,OAAO,mCACR,GAAG,GACH;YACD,MAAM,EAAE,GAAG,CAAC,IAAI;gBACd,CAAC,CAAC,GAAG,CAAC,IAAI,CAAC,GAAG,CAAC,IAAI,CAAC,EAAE;oBAClB,OAAO,KAAK,CAAC,GAAG,CAAC,UAAU,CAAC,IAAI,CAAC,CAAC;gBACpC,CAAC,CAAC;gBACJ,CAAC,CAAC,SAAS;SACd,CACF,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAbe,qCAAU,aAazB,CAAA;IACD,SAAgB,sBAAsB,CAAC,GAA+B;QACpE,MAAM,OAAO,mCACR,GAAG,GACH;YACD,MAAM,EAAE,GAAG,CAAC,IAAI;gBACd,CAAC,CAAC,GAAG,CAAC,IAAI,CAAC,GAAG,CAAC,IAAI,CAAC,EAAE;oBAClB,OAAO,KAAK,CAAC,GAAG,CAAC,sBAAsB,CAAC,IAAI,CAAC,CAAC;gBAChD,CAAC,CAAC;gBACJ,CAAC,CAAC,SAAS;SACd,CACF,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAbe,iDAAsB,yBAarC,CAAA;AACH,CAAC,EA7BgB,0BAA0B,GAA1B,kCAA0B,KAA1B,kCAA0B,QA6B1C"}
@@ -0,0 +1,26 @@
1
+ /**
2
+ * Usage API
3
+ * Use the Usage API to view your Oracle Cloud usage and costs. The API allows you to request data that meets the specified filter criteria, and to group that data by the dimension of your choosing. The Usage API is used by the Cost Analysis tool in the Console. Also see [Using the Usage API](/Content/Billing/Concepts/costanalysisoverview.htm#cost_analysis_using_the_api) for more information.
4
+ * OpenAPI spec version: 20200107
5
+ *
6
+ *
7
+ * NOTE: This class is auto generated by OracleSDKGenerator.
8
+ * Do not edit the class manually.
9
+ *
10
+ * Copyright (c) 2020, 2024, Oracle and/or its affiliates. All rights reserved.
11
+ * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
12
+ */
13
+ import * as model from "../model";
14
+ /**
15
+ * A usage carbon emissions query list.
16
+ */
17
+ export interface UsageCarbonEmissionsQueryCollection {
18
+ /**
19
+ * Usage carbon emissions query list.
20
+ */
21
+ "items": Array<model.UsageCarbonEmissionsQuerySummary>;
22
+ }
23
+ export declare namespace UsageCarbonEmissionsQueryCollection {
24
+ function getJsonObj(obj: UsageCarbonEmissionsQueryCollection): object;
25
+ function getDeserializedJsonObj(obj: UsageCarbonEmissionsQueryCollection): object;
26
+ }