oci-opsi 2.5.0 → 2.6.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 (447) hide show
  1. package/LICENSE.txt +6 -0
  2. package/lib/client.d.ts +362 -62
  3. package/lib/client.js +2074 -419
  4. package/lib/client.js.map +1 -1
  5. package/lib/model/action-type.d.ts +1 -0
  6. package/lib/model/action-type.js +1 -0
  7. package/lib/model/action-type.js.map +1 -1
  8. package/lib/model/add-em-managed-external-exadata-insight-members-details.d.ts +28 -0
  9. package/lib/model/add-em-managed-external-exadata-insight-members-details.js +69 -0
  10. package/lib/model/add-em-managed-external-exadata-insight-members-details.js.map +1 -0
  11. package/lib/model/add-exadata-insight-members-details.d.ts +25 -0
  12. package/lib/model/add-exadata-insight-members-details.js +68 -0
  13. package/lib/model/add-exadata-insight-members-details.js.map +1 -0
  14. package/lib/model/change-exadata-insight-compartment-details.d.ts +29 -0
  15. package/lib/model/change-exadata-insight-compartment-details.js +32 -0
  16. package/lib/model/change-exadata-insight-compartment-details.js.map +1 -0
  17. package/lib/model/create-em-managed-external-database-insight-details.d.ts +4 -0
  18. package/lib/model/create-em-managed-external-database-insight-details.js.map +1 -1
  19. package/lib/model/create-em-managed-external-exadata-insight-details.d.ts +44 -0
  20. package/lib/model/create-em-managed-external-exadata-insight-details.js +69 -0
  21. package/lib/model/create-em-managed-external-exadata-insight-details.js.map +1 -0
  22. package/lib/model/create-em-managed-external-exadata-member-entity-details.d.ts +32 -0
  23. package/lib/model/create-em-managed-external-exadata-member-entity-details.js +32 -0
  24. package/lib/model/create-em-managed-external-exadata-member-entity-details.js.map +1 -0
  25. package/lib/model/create-em-managed-external-host-insight-details.d.ts +43 -0
  26. package/lib/model/create-em-managed-external-host-insight-details.js +57 -0
  27. package/lib/model/create-em-managed-external-host-insight-details.js.map +1 -0
  28. package/lib/model/create-exadata-insight-details.d.ts +47 -0
  29. package/lib/model/create-exadata-insight-details.js +68 -0
  30. package/lib/model/create-exadata-insight-details.js.map +1 -0
  31. package/lib/model/create-host-insight-details.js +4 -0
  32. package/lib/model/create-host-insight-details.js.map +1 -1
  33. package/lib/model/database-configuration-summary.d.ts +4 -0
  34. package/lib/model/database-configuration-summary.js.map +1 -1
  35. package/lib/model/database-details.d.ts +4 -0
  36. package/lib/model/database-details.js.map +1 -1
  37. package/lib/model/database.d.ts +33 -0
  38. package/lib/model/database.js +44 -0
  39. package/lib/model/database.js.map +1 -0
  40. package/lib/model/disk-group-details.d.ts +32 -0
  41. package/lib/model/disk-group-details.js +32 -0
  42. package/lib/model/disk-group-details.js.map +1 -0
  43. package/lib/model/disk-group.d.ts +25 -0
  44. package/lib/model/disk-group.js +36 -0
  45. package/lib/model/disk-group.js.map +1 -0
  46. package/lib/model/em-managed-external-database-configuration-summary.d.ts +1 -0
  47. package/lib/model/em-managed-external-database-configuration-summary.js +6 -0
  48. package/lib/model/em-managed-external-database-configuration-summary.js.map +1 -1
  49. package/lib/model/em-managed-external-database-insight-summary.d.ts +4 -0
  50. package/lib/model/em-managed-external-database-insight-summary.js.map +1 -1
  51. package/lib/model/em-managed-external-database-insight.d.ts +4 -0
  52. package/lib/model/em-managed-external-database-insight.js.map +1 -1
  53. package/lib/model/em-managed-external-exadata-insight-summary.d.ts +51 -0
  54. package/lib/model/em-managed-external-exadata-insight-summary.js +57 -0
  55. package/lib/model/em-managed-external-exadata-insight-summary.js.map +1 -0
  56. package/lib/model/em-managed-external-exadata-insight.d.ts +55 -0
  57. package/lib/model/em-managed-external-exadata-insight.js +57 -0
  58. package/lib/model/em-managed-external-exadata-insight.js.map +1 -0
  59. package/lib/model/em-managed-external-host-configuration-summary.d.ts +36 -0
  60. package/lib/model/em-managed-external-host-configuration-summary.js +65 -0
  61. package/lib/model/em-managed-external-host-configuration-summary.js.map +1 -0
  62. package/lib/model/em-managed-external-host-insight-summary.d.ts +67 -0
  63. package/lib/model/em-managed-external-host-insight-summary.js +66 -0
  64. package/lib/model/em-managed-external-host-insight-summary.js.map +1 -0
  65. package/lib/model/em-managed-external-host-insight.d.ts +75 -0
  66. package/lib/model/em-managed-external-host-insight.js +66 -0
  67. package/lib/model/em-managed-external-host-insight.js.map +1 -0
  68. package/lib/model/enable-em-managed-external-exadata-insight-details.d.ts +27 -0
  69. package/lib/model/enable-em-managed-external-exadata-insight-details.js +57 -0
  70. package/lib/model/enable-em-managed-external-exadata-insight-details.js.map +1 -0
  71. package/lib/model/enable-em-managed-external-host-insight-details.d.ts +27 -0
  72. package/lib/model/enable-em-managed-external-host-insight-details.js +57 -0
  73. package/lib/model/enable-em-managed-external-host-insight-details.js.map +1 -0
  74. package/lib/model/enable-exadata-insight-details.d.ts +25 -0
  75. package/lib/model/enable-exadata-insight-details.js +68 -0
  76. package/lib/model/enable-exadata-insight-details.js.map +1 -0
  77. package/lib/model/enable-host-insight-details.js +4 -0
  78. package/lib/model/enable-host-insight-details.js.map +1 -1
  79. package/lib/model/exadata-configuration-collection.d.ts +29 -0
  80. package/lib/model/exadata-configuration-collection.js +64 -0
  81. package/lib/model/exadata-configuration-collection.js.map +1 -0
  82. package/lib/model/exadata-configuration-summary.d.ts +68 -0
  83. package/lib/model/exadata-configuration-summary.js +68 -0
  84. package/lib/model/exadata-configuration-summary.js.map +1 -0
  85. package/lib/model/exadata-database-machine-configuration-summary.d.ts +35 -0
  86. package/lib/model/exadata-database-machine-configuration-summary.js +57 -0
  87. package/lib/model/exadata-database-machine-configuration-summary.js.map +1 -0
  88. package/lib/model/exadata-database-statistics-summary.d.ts +29 -0
  89. package/lib/model/exadata-database-statistics-summary.js +71 -0
  90. package/lib/model/exadata-database-statistics-summary.js.map +1 -0
  91. package/lib/model/exadata-details.d.ts +32 -0
  92. package/lib/model/exadata-details.js +32 -0
  93. package/lib/model/exadata-details.js.map +1 -0
  94. package/lib/model/exadata-diskgroup-statistics-summary.d.ts +29 -0
  95. package/lib/model/exadata-diskgroup-statistics-summary.js +71 -0
  96. package/lib/model/exadata-diskgroup-statistics-summary.js.map +1 -0
  97. package/lib/model/exadata-entity-source.d.ts +30 -0
  98. package/lib/model/exadata-entity-source.js +41 -0
  99. package/lib/model/exadata-entity-source.js.map +1 -0
  100. package/lib/model/exadata-host-statistics-summary.d.ts +29 -0
  101. package/lib/model/exadata-host-statistics-summary.js +71 -0
  102. package/lib/model/exadata-host-statistics-summary.js.map +1 -0
  103. package/lib/model/exadata-insight-lifecycle-state.d.ts +35 -0
  104. package/lib/model/exadata-insight-lifecycle-state.js +46 -0
  105. package/lib/model/exadata-insight-lifecycle-state.js.map +1 -0
  106. package/lib/model/exadata-insight-resource-capacity-trend-aggregation.d.ts +33 -0
  107. package/lib/model/exadata-insight-resource-capacity-trend-aggregation.js +32 -0
  108. package/lib/model/exadata-insight-resource-capacity-trend-aggregation.js.map +1 -0
  109. package/lib/model/exadata-insight-resource-capacity-trend-summary.d.ts +37 -0
  110. package/lib/model/exadata-insight-resource-capacity-trend-summary.js +64 -0
  111. package/lib/model/exadata-insight-resource-capacity-trend-summary.js.map +1 -0
  112. package/lib/model/exadata-insight-resource-forecast-trend-summary.d.ts +64 -0
  113. package/lib/model/exadata-insight-resource-forecast-trend-summary.js +90 -0
  114. package/lib/model/exadata-insight-resource-forecast-trend-summary.js.map +1 -0
  115. package/lib/model/exadata-insight-resource-insight-utilization-item.d.ts +44 -0
  116. package/lib/model/exadata-insight-resource-insight-utilization-item.js +32 -0
  117. package/lib/model/exadata-insight-resource-insight-utilization-item.js.map +1 -0
  118. package/lib/model/exadata-insight-resource-statistics-aggregation.d.ts +25 -0
  119. package/lib/model/exadata-insight-resource-statistics-aggregation.js +80 -0
  120. package/lib/model/exadata-insight-resource-statistics-aggregation.js.map +1 -0
  121. package/lib/model/exadata-insight-resource-statistics.d.ts +47 -0
  122. package/lib/model/exadata-insight-resource-statistics.js +64 -0
  123. package/lib/model/exadata-insight-resource-statistics.js.map +1 -0
  124. package/lib/model/exadata-insight-summary-collection.d.ts +29 -0
  125. package/lib/model/exadata-insight-summary-collection.js +64 -0
  126. package/lib/model/exadata-insight-summary-collection.js.map +1 -0
  127. package/lib/model/exadata-insight-summary.d.ts +98 -0
  128. package/lib/model/exadata-insight-summary.js +68 -0
  129. package/lib/model/exadata-insight-summary.js.map +1 -0
  130. package/lib/model/exadata-insight.d.ts +102 -0
  131. package/lib/model/exadata-insight.js +68 -0
  132. package/lib/model/exadata-insight.js.map +1 -0
  133. package/lib/model/exadata-insights.d.ts +28 -0
  134. package/lib/model/exadata-insights.js +32 -0
  135. package/lib/model/exadata-insights.js.map +1 -0
  136. package/lib/model/exadata-member-collection.d.ts +49 -0
  137. package/lib/model/exadata-member-collection.js +64 -0
  138. package/lib/model/exadata-member-collection.js.map +1 -0
  139. package/lib/model/exadata-member-summary.d.ts +50 -0
  140. package/lib/model/exadata-member-summary.js +47 -0
  141. package/lib/model/exadata-member-summary.js.map +1 -0
  142. package/lib/model/exadata-rack-type.d.ts +33 -0
  143. package/lib/model/exadata-rack-type.js +44 -0
  144. package/lib/model/exadata-rack-type.js.map +1 -0
  145. package/lib/model/exadata-storage-server-statistics-summary.d.ts +29 -0
  146. package/lib/model/exadata-storage-server-statistics-summary.js +71 -0
  147. package/lib/model/exadata-storage-server-statistics-summary.js.map +1 -0
  148. package/lib/model/exadata-type.d.ts +32 -0
  149. package/lib/model/exadata-type.js +43 -0
  150. package/lib/model/exadata-type.js.map +1 -0
  151. package/lib/model/host-configuration-collection.d.ts +29 -0
  152. package/lib/model/host-configuration-collection.js +64 -0
  153. package/lib/model/host-configuration-collection.js.map +1 -0
  154. package/lib/model/host-configuration-summary.d.ts +125 -0
  155. package/lib/model/host-configuration-summary.js +81 -0
  156. package/lib/model/host-configuration-summary.js.map +1 -0
  157. package/lib/model/host-entity-source.d.ts +1 -0
  158. package/lib/model/host-entity-source.js +1 -0
  159. package/lib/model/host-entity-source.js.map +1 -1
  160. package/lib/model/host-insight-summary.js +4 -0
  161. package/lib/model/host-insight-summary.js.map +1 -1
  162. package/lib/model/host-insight.js +4 -0
  163. package/lib/model/host-insight.js.map +1 -1
  164. package/lib/model/host.d.ts +26 -0
  165. package/lib/model/host.js +37 -0
  166. package/lib/model/host.js.map +1 -0
  167. package/lib/model/index.d.ts +124 -0
  168. package/lib/model/index.js +129 -4
  169. package/lib/model/index.js.map +1 -1
  170. package/lib/model/instance-metrics.d.ts +50 -0
  171. package/lib/model/instance-metrics.js +32 -0
  172. package/lib/model/instance-metrics.js.map +1 -0
  173. package/lib/model/macs-managed-external-host-configuration-summary.d.ts +35 -0
  174. package/lib/model/macs-managed-external-host-configuration-summary.js +57 -0
  175. package/lib/model/macs-managed-external-host-configuration-summary.js.map +1 -0
  176. package/lib/model/operation-status.d.ts +1 -0
  177. package/lib/model/operation-status.js +1 -0
  178. package/lib/model/operation-status.js.map +1 -1
  179. package/lib/model/operation-type.d.ts +8 -0
  180. package/lib/model/operation-type.js +8 -0
  181. package/lib/model/operation-type.js.map +1 -1
  182. package/lib/model/resource-statistics.d.ts +5 -0
  183. package/lib/model/resource-statistics.js +34 -2
  184. package/lib/model/resource-statistics.js.map +1 -1
  185. package/lib/model/resource-usage-summary.d.ts +46 -0
  186. package/lib/model/resource-usage-summary.js +32 -0
  187. package/lib/model/resource-usage-summary.js.map +1 -0
  188. package/lib/model/storage-server-details.d.ts +32 -0
  189. package/lib/model/storage-server-details.js +32 -0
  190. package/lib/model/storage-server-details.js.map +1 -0
  191. package/lib/model/storage-server.d.ts +27 -0
  192. package/lib/model/storage-server.js +38 -0
  193. package/lib/model/storage-server.js.map +1 -0
  194. package/lib/model/summarize-exadata-insight-resource-capacity-trend-aggregation.d.ts +83 -0
  195. package/lib/model/summarize-exadata-insight-resource-capacity-trend-aggregation.js +90 -0
  196. package/lib/model/summarize-exadata-insight-resource-capacity-trend-aggregation.js.map +1 -0
  197. package/lib/model/summarize-exadata-insight-resource-capacity-trend-collection.d.ts +81 -0
  198. package/lib/model/summarize-exadata-insight-resource-capacity-trend-collection.js +90 -0
  199. package/lib/model/summarize-exadata-insight-resource-capacity-trend-collection.js.map +1 -0
  200. package/lib/model/summarize-exadata-insight-resource-forecast-trend-aggregation.d.ts +103 -0
  201. package/lib/model/summarize-exadata-insight-resource-forecast-trend-aggregation.js +116 -0
  202. package/lib/model/summarize-exadata-insight-resource-forecast-trend-aggregation.js.map +1 -0
  203. package/lib/model/summarize-exadata-insight-resource-forecast-trend-collection.d.ts +80 -0
  204. package/lib/model/summarize-exadata-insight-resource-forecast-trend-collection.js +90 -0
  205. package/lib/model/summarize-exadata-insight-resource-forecast-trend-collection.js.map +1 -0
  206. package/lib/model/summarize-exadata-insight-resource-statistics-aggregation-collection.d.ts +64 -0
  207. package/lib/model/summarize-exadata-insight-resource-statistics-aggregation-collection.js +78 -0
  208. package/lib/model/summarize-exadata-insight-resource-statistics-aggregation-collection.js.map +1 -0
  209. package/lib/model/summarize-exadata-insight-resource-usage-aggregation.d.ts +86 -0
  210. package/lib/model/summarize-exadata-insight-resource-usage-aggregation.js +58 -0
  211. package/lib/model/summarize-exadata-insight-resource-usage-aggregation.js.map +1 -0
  212. package/lib/model/summarize-exadata-insight-resource-usage-collection.d.ts +76 -0
  213. package/lib/model/summarize-exadata-insight-resource-usage-collection.js +90 -0
  214. package/lib/model/summarize-exadata-insight-resource-usage-collection.js.map +1 -0
  215. package/lib/model/summarize-exadata-insight-resource-utilization-insight-aggregation.d.ts +72 -0
  216. package/lib/model/summarize-exadata-insight-resource-utilization-insight-aggregation.js +90 -0
  217. package/lib/model/summarize-exadata-insight-resource-utilization-insight-aggregation.js.map +1 -0
  218. package/lib/model/update-em-managed-external-exadata-insight-details.d.ts +31 -0
  219. package/lib/model/update-em-managed-external-exadata-insight-details.js +57 -0
  220. package/lib/model/update-em-managed-external-exadata-insight-details.js.map +1 -0
  221. package/lib/model/update-em-managed-external-host-insight-details.d.ts +27 -0
  222. package/lib/model/update-em-managed-external-host-insight-details.js +57 -0
  223. package/lib/model/update-em-managed-external-host-insight-details.js.map +1 -0
  224. package/lib/model/update-exadata-insight-details.d.ts +43 -0
  225. package/lib/model/update-exadata-insight-details.js +68 -0
  226. package/lib/model/update-exadata-insight-details.js.map +1 -0
  227. package/lib/model/update-host-insight-details.js +4 -0
  228. package/lib/model/update-host-insight-details.js.map +1 -1
  229. package/lib/model/usage-unit.d.ts +1 -0
  230. package/lib/model/usage-unit.js +1 -0
  231. package/lib/model/usage-unit.js.map +1 -1
  232. package/lib/model/work-request-resource-metadata-key.d.ts +31 -0
  233. package/lib/model/work-request-resource-metadata-key.js +42 -0
  234. package/lib/model/work-request-resource-metadata-key.js.map +1 -0
  235. package/lib/model/work-request-resource.d.ts +6 -0
  236. package/lib/model/work-request-resource.js.map +1 -1
  237. package/lib/operationsinsights-waiter.d.ts +8 -0
  238. package/lib/operationsinsights-waiter.js +12 -0
  239. package/lib/operationsinsights-waiter.js.map +1 -1
  240. package/lib/request/add-exadata-insight-members-request.d.ts +50 -0
  241. package/lib/request/add-exadata-insight-members-request.js +15 -0
  242. package/lib/request/add-exadata-insight-members-request.js.map +1 -0
  243. package/lib/request/change-database-insight-compartment-request.d.ts +1 -1
  244. package/lib/request/change-enterprise-manager-bridge-compartment-request.d.ts +1 -1
  245. package/lib/request/change-exadata-insight-compartment-request.d.ts +50 -0
  246. package/lib/request/change-exadata-insight-compartment-request.js +15 -0
  247. package/lib/request/change-exadata-insight-compartment-request.js.map +1 -0
  248. package/lib/request/change-host-insight-compartment-request.d.ts +1 -1
  249. package/lib/request/create-database-insight-request.d.ts +1 -1
  250. package/lib/request/create-enterprise-manager-bridge-request.d.ts +1 -1
  251. package/lib/request/create-exadata-insight-request.d.ts +39 -0
  252. package/lib/request/create-exadata-insight-request.js +15 -0
  253. package/lib/request/create-exadata-insight-request.js.map +1 -0
  254. package/lib/request/create-host-insight-request.d.ts +2 -2
  255. package/lib/request/delete-database-insight-request.d.ts +1 -1
  256. package/lib/request/delete-enterprise-manager-bridge-request.d.ts +1 -1
  257. package/lib/request/delete-exadata-insight-request.d.ts +35 -0
  258. package/lib/request/delete-exadata-insight-request.js +15 -0
  259. package/lib/request/delete-exadata-insight-request.js.map +1 -0
  260. package/lib/request/delete-host-insight-request.d.ts +1 -1
  261. package/lib/request/disable-database-insight-request.d.ts +1 -1
  262. package/lib/request/disable-exadata-insight-request.d.ts +45 -0
  263. package/lib/request/disable-exadata-insight-request.js +15 -0
  264. package/lib/request/disable-exadata-insight-request.js.map +1 -0
  265. package/lib/request/disable-host-insight-request.d.ts +1 -1
  266. package/lib/request/enable-database-insight-request.d.ts +1 -1
  267. package/lib/request/enable-exadata-insight-request.d.ts +50 -0
  268. package/lib/request/enable-exadata-insight-request.js +15 -0
  269. package/lib/request/enable-exadata-insight-request.js.map +1 -0
  270. package/lib/request/enable-host-insight-request.d.ts +2 -2
  271. package/lib/request/get-database-insight-request.d.ts +1 -1
  272. package/lib/request/get-enterprise-manager-bridge-request.d.ts +1 -1
  273. package/lib/request/get-exadata-insight-request.d.ts +28 -0
  274. package/lib/request/get-exadata-insight-request.js +15 -0
  275. package/lib/request/get-exadata-insight-request.js.map +1 -0
  276. package/lib/request/get-host-insight-request.d.ts +1 -1
  277. package/lib/request/get-work-request-request.d.ts +1 -1
  278. package/lib/request/index.d.ts +40 -0
  279. package/lib/request/index.js +27 -1
  280. package/lib/request/index.js.map +1 -1
  281. package/lib/request/ingest-database-configuration-request.d.ts +1 -1
  282. package/lib/request/ingest-host-configuration-request.d.ts +1 -1
  283. package/lib/request/ingest-host-metrics-request.d.ts +1 -1
  284. package/lib/request/ingest-sql-bucket-request.d.ts +1 -1
  285. package/lib/request/ingest-sql-plan-lines-request.d.ts +1 -1
  286. package/lib/request/ingest-sql-text-request.d.ts +1 -1
  287. package/lib/request/list-database-configurations-request.d.ts +11 -1
  288. package/lib/request/list-database-configurations-request.js.map +1 -1
  289. package/lib/request/list-database-insights-request.d.ts +6 -1
  290. package/lib/request/list-database-insights-request.js.map +1 -1
  291. package/lib/request/list-enterprise-manager-bridges-request.d.ts +1 -1
  292. package/lib/request/list-exadata-configurations-request.d.ts +106 -0
  293. package/lib/request/list-exadata-configurations-request.js +25 -0
  294. package/lib/request/list-exadata-configurations-request.js.map +1 -0
  295. package/lib/request/list-exadata-insights-request.d.ts +84 -0
  296. package/lib/request/list-exadata-insights-request.js +24 -0
  297. package/lib/request/list-exadata-insights-request.js.map +1 -0
  298. package/lib/request/list-host-configurations-request.d.ts +117 -0
  299. package/lib/request/list-host-configurations-request.js +28 -0
  300. package/lib/request/list-host-configurations-request.js.map +1 -0
  301. package/lib/request/list-host-insights-request.d.ts +10 -1
  302. package/lib/request/list-host-insights-request.js.map +1 -1
  303. package/lib/request/list-hosted-entities-request.d.ts +6 -1
  304. package/lib/request/list-hosted-entities-request.js.map +1 -1
  305. package/lib/request/list-importable-agent-entities-request.d.ts +1 -1
  306. package/lib/request/list-importable-enterprise-manager-entities-request.d.ts +16 -1
  307. package/lib/request/list-sql-plans-request.d.ts +1 -1
  308. package/lib/request/list-sql-searches-request.d.ts +1 -1
  309. package/lib/request/list-sql-texts-request.d.ts +1 -1
  310. package/lib/request/list-work-request-errors-request.d.ts +17 -1
  311. package/lib/request/list-work-request-errors-request.js +8 -0
  312. package/lib/request/list-work-request-errors-request.js.map +1 -1
  313. package/lib/request/list-work-request-logs-request.d.ts +17 -1
  314. package/lib/request/list-work-request-logs-request.js +8 -0
  315. package/lib/request/list-work-request-logs-request.js.map +1 -1
  316. package/lib/request/list-work-requests-request.d.ts +37 -5
  317. package/lib/request/list-work-requests-request.js +8 -0
  318. package/lib/request/list-work-requests-request.js.map +1 -1
  319. package/lib/request/summarize-database-insight-resource-capacity-trend-request.d.ts +11 -1
  320. package/lib/request/summarize-database-insight-resource-capacity-trend-request.js.map +1 -1
  321. package/lib/request/summarize-database-insight-resource-forecast-trend-request.d.ts +11 -1
  322. package/lib/request/summarize-database-insight-resource-forecast-trend-request.js.map +1 -1
  323. package/lib/request/summarize-database-insight-resource-statistics-request.d.ts +11 -1
  324. package/lib/request/summarize-database-insight-resource-statistics-request.js.map +1 -1
  325. package/lib/request/summarize-database-insight-resource-usage-request.d.ts +6 -1
  326. package/lib/request/summarize-database-insight-resource-usage-request.js.map +1 -1
  327. package/lib/request/summarize-database-insight-resource-usage-trend-request.d.ts +6 -1
  328. package/lib/request/summarize-database-insight-resource-usage-trend-request.js.map +1 -1
  329. package/lib/request/summarize-database-insight-resource-utilization-insight-request.d.ts +6 -1
  330. package/lib/request/summarize-database-insight-resource-utilization-insight-request.js.map +1 -1
  331. package/lib/request/summarize-database-insight-tablespace-usage-trend-request.d.ts +1 -1
  332. package/lib/request/summarize-exadata-insight-resource-capacity-trend-aggregated-request.d.ts +143 -0
  333. package/lib/request/summarize-exadata-insight-resource-capacity-trend-aggregated-request.js +24 -0
  334. package/lib/request/summarize-exadata-insight-resource-capacity-trend-aggregated-request.js.map +1 -0
  335. package/lib/request/summarize-exadata-insight-resource-capacity-trend-request.d.ts +133 -0
  336. package/lib/request/summarize-exadata-insight-resource-capacity-trend-request.js +24 -0
  337. package/lib/request/summarize-exadata-insight-resource-capacity-trend-request.js.map +1 -0
  338. package/lib/request/summarize-exadata-insight-resource-forecast-trend-aggregated-request.d.ts +169 -0
  339. package/lib/request/summarize-exadata-insight-resource-forecast-trend-aggregated-request.js +30 -0
  340. package/lib/request/summarize-exadata-insight-resource-forecast-trend-aggregated-request.js.map +1 -0
  341. package/lib/request/summarize-exadata-insight-resource-forecast-trend-request.d.ts +171 -0
  342. package/lib/request/summarize-exadata-insight-resource-forecast-trend-request.js +36 -0
  343. package/lib/request/summarize-exadata-insight-resource-forecast-trend-request.js.map +1 -0
  344. package/lib/request/summarize-exadata-insight-resource-statistics-request.d.ts +121 -0
  345. package/lib/request/summarize-exadata-insight-resource-statistics-request.js +25 -0
  346. package/lib/request/summarize-exadata-insight-resource-statistics-request.js.map +1 -0
  347. package/lib/request/summarize-exadata-insight-resource-usage-aggregated-request.d.ts +131 -0
  348. package/lib/request/summarize-exadata-insight-resource-usage-aggregated-request.js +15 -0
  349. package/lib/request/summarize-exadata-insight-resource-usage-aggregated-request.js.map +1 -0
  350. package/lib/request/summarize-exadata-insight-resource-usage-request.d.ts +159 -0
  351. package/lib/request/summarize-exadata-insight-resource-usage-request.js +26 -0
  352. package/lib/request/summarize-exadata-insight-resource-usage-request.js.map +1 -0
  353. package/lib/request/summarize-exadata-insight-resource-utilization-insight-request.d.ts +145 -0
  354. package/lib/request/summarize-exadata-insight-resource-utilization-insight-request.js +15 -0
  355. package/lib/request/summarize-exadata-insight-resource-utilization-insight-request.js.map +1 -0
  356. package/lib/request/summarize-exadata-members-request.d.ts +68 -0
  357. package/lib/request/summarize-exadata-members-request.js +25 -0
  358. package/lib/request/summarize-exadata-members-request.js.map +1 -0
  359. package/lib/request/summarize-host-insight-resource-capacity-trend-request.d.ts +6 -1
  360. package/lib/request/summarize-host-insight-resource-capacity-trend-request.js.map +1 -1
  361. package/lib/request/summarize-host-insight-resource-forecast-trend-request.d.ts +6 -1
  362. package/lib/request/summarize-host-insight-resource-forecast-trend-request.js.map +1 -1
  363. package/lib/request/summarize-host-insight-resource-statistics-request.d.ts +6 -1
  364. package/lib/request/summarize-host-insight-resource-statistics-request.js.map +1 -1
  365. package/lib/request/summarize-host-insight-resource-usage-request.d.ts +6 -1
  366. package/lib/request/summarize-host-insight-resource-usage-request.js.map +1 -1
  367. package/lib/request/summarize-host-insight-resource-usage-trend-request.d.ts +6 -1
  368. package/lib/request/summarize-host-insight-resource-usage-trend-request.js.map +1 -1
  369. package/lib/request/summarize-host-insight-resource-utilization-insight-request.d.ts +6 -1
  370. package/lib/request/summarize-host-insight-resource-utilization-insight-request.js.map +1 -1
  371. package/lib/request/summarize-sql-insights-request.d.ts +11 -1
  372. package/lib/request/summarize-sql-insights-request.js.map +1 -1
  373. package/lib/request/summarize-sql-plan-insights-request.d.ts +1 -1
  374. package/lib/request/summarize-sql-response-time-distributions-request.d.ts +1 -1
  375. package/lib/request/summarize-sql-statistics-request.d.ts +11 -1
  376. package/lib/request/summarize-sql-statistics-request.js.map +1 -1
  377. package/lib/request/summarize-sql-statistics-time-series-by-plan-request.d.ts +1 -1
  378. package/lib/request/summarize-sql-statistics-time-series-request.d.ts +11 -1
  379. package/lib/request/update-database-insight-request.d.ts +1 -1
  380. package/lib/request/update-enterprise-manager-bridge-request.d.ts +1 -1
  381. package/lib/request/update-exadata-insight-request.d.ts +40 -0
  382. package/lib/request/update-exadata-insight-request.js +15 -0
  383. package/lib/request/update-exadata-insight-request.js.map +1 -0
  384. package/lib/request/update-host-insight-request.d.ts +2 -2
  385. package/lib/response/add-exadata-insight-members-response.d.ts +25 -0
  386. package/lib/response/add-exadata-insight-members-response.js +15 -0
  387. package/lib/response/add-exadata-insight-members-response.js.map +1 -0
  388. package/lib/response/change-exadata-insight-compartment-response.d.ts +25 -0
  389. package/lib/response/change-exadata-insight-compartment-response.js +15 -0
  390. package/lib/response/change-exadata-insight-compartment-response.js.map +1 -0
  391. package/lib/response/create-exadata-insight-response.d.ts +43 -0
  392. package/lib/response/create-exadata-insight-response.js +15 -0
  393. package/lib/response/create-exadata-insight-response.js.map +1 -0
  394. package/lib/response/delete-exadata-insight-response.d.ts +25 -0
  395. package/lib/response/delete-exadata-insight-response.js +15 -0
  396. package/lib/response/delete-exadata-insight-response.js.map +1 -0
  397. package/lib/response/disable-exadata-insight-response.d.ts +25 -0
  398. package/lib/response/disable-exadata-insight-response.js +15 -0
  399. package/lib/response/disable-exadata-insight-response.js.map +1 -0
  400. package/lib/response/enable-exadata-insight-response.d.ts +25 -0
  401. package/lib/response/enable-exadata-insight-response.js +15 -0
  402. package/lib/response/enable-exadata-insight-response.js.map +1 -0
  403. package/lib/response/get-exadata-insight-response.d.ts +30 -0
  404. package/lib/response/get-exadata-insight-response.js +15 -0
  405. package/lib/response/get-exadata-insight-response.js.map +1 -0
  406. package/lib/response/get-work-request-response.d.ts +5 -0
  407. package/lib/response/index.d.ts +40 -0
  408. package/lib/response/list-exadata-configurations-response.d.ts +37 -0
  409. package/lib/response/list-exadata-configurations-response.js +15 -0
  410. package/lib/response/list-exadata-configurations-response.js.map +1 -0
  411. package/lib/response/list-exadata-insights-response.d.ts +37 -0
  412. package/lib/response/list-exadata-insights-response.js +15 -0
  413. package/lib/response/list-exadata-insights-response.js.map +1 -0
  414. package/lib/response/list-host-configurations-response.d.ts +37 -0
  415. package/lib/response/list-host-configurations-response.js +15 -0
  416. package/lib/response/list-host-configurations-response.js.map +1 -0
  417. package/lib/response/summarize-exadata-insight-resource-capacity-trend-aggregated-response.d.ts +32 -0
  418. package/lib/response/summarize-exadata-insight-resource-capacity-trend-aggregated-response.js +15 -0
  419. package/lib/response/summarize-exadata-insight-resource-capacity-trend-aggregated-response.js.map +1 -0
  420. package/lib/response/summarize-exadata-insight-resource-capacity-trend-response.d.ts +32 -0
  421. package/lib/response/summarize-exadata-insight-resource-capacity-trend-response.js +15 -0
  422. package/lib/response/summarize-exadata-insight-resource-capacity-trend-response.js.map +1 -0
  423. package/lib/response/summarize-exadata-insight-resource-forecast-trend-aggregated-response.d.ts +32 -0
  424. package/lib/response/summarize-exadata-insight-resource-forecast-trend-aggregated-response.js +15 -0
  425. package/lib/response/summarize-exadata-insight-resource-forecast-trend-aggregated-response.js.map +1 -0
  426. package/lib/response/summarize-exadata-insight-resource-forecast-trend-response.d.ts +32 -0
  427. package/lib/response/summarize-exadata-insight-resource-forecast-trend-response.js +15 -0
  428. package/lib/response/summarize-exadata-insight-resource-forecast-trend-response.js.map +1 -0
  429. package/lib/response/summarize-exadata-insight-resource-statistics-response.d.ts +37 -0
  430. package/lib/response/summarize-exadata-insight-resource-statistics-response.js +15 -0
  431. package/lib/response/summarize-exadata-insight-resource-statistics-response.js.map +1 -0
  432. package/lib/response/summarize-exadata-insight-resource-usage-aggregated-response.d.ts +32 -0
  433. package/lib/response/summarize-exadata-insight-resource-usage-aggregated-response.js +15 -0
  434. package/lib/response/summarize-exadata-insight-resource-usage-aggregated-response.js.map +1 -0
  435. package/lib/response/summarize-exadata-insight-resource-usage-response.d.ts +32 -0
  436. package/lib/response/summarize-exadata-insight-resource-usage-response.js +15 -0
  437. package/lib/response/summarize-exadata-insight-resource-usage-response.js.map +1 -0
  438. package/lib/response/summarize-exadata-insight-resource-utilization-insight-response.d.ts +37 -0
  439. package/lib/response/summarize-exadata-insight-resource-utilization-insight-response.js +15 -0
  440. package/lib/response/summarize-exadata-insight-resource-utilization-insight-response.js.map +1 -0
  441. package/lib/response/summarize-exadata-members-response.d.ts +37 -0
  442. package/lib/response/summarize-exadata-members-response.js +15 -0
  443. package/lib/response/summarize-exadata-members-response.js.map +1 -0
  444. package/lib/response/update-exadata-insight-response.d.ts +25 -0
  445. package/lib/response/update-exadata-insight-response.js +15 -0
  446. package/lib/response/update-exadata-insight-response.js.map +1 -0
  447. package/package.json +3 -3
package/lib/client.js CHANGED
@@ -54,6 +54,9 @@ const oci_common_1 = require("oci-common");
54
54
  var OperationsInsightsApiKeys;
55
55
  (function (OperationsInsightsApiKeys) {
56
56
  })(OperationsInsightsApiKeys = exports.OperationsInsightsApiKeys || (exports.OperationsInsightsApiKeys = {}));
57
+ /**
58
+ * This service client does not use circuit breakers by default if the user has not defined a circuit breaker configuration.
59
+ */
57
60
  class OperationsInsightsClient {
58
61
  constructor(params, clientConfiguration) {
59
62
  this["_endpoint"] = "";
@@ -68,6 +71,13 @@ class OperationsInsightsClient {
68
71
  ? clientConfiguration.circuitBreaker.circuit
69
72
  : null;
70
73
  }
74
+ // if circuit breaker is not created, check if circuit breaker system is enabled to use default circuit breaker
75
+ const specCircuitBreakerEnabled = false;
76
+ if (!this._circuitBreaker &&
77
+ common.utils.isCircuitBreakerSystemEnabled(clientConfiguration) &&
78
+ (specCircuitBreakerEnabled || common.CircuitBreaker.DefaultCircuitBreakerOverriden)) {
79
+ this._circuitBreaker = new common.CircuitBreaker().circuit;
80
+ }
71
81
  this._httpClient =
72
82
  params.httpClient || new common.FetchHttpClient(requestSigner, this._circuitBreaker);
73
83
  if (params.authenticationDetailsProvider &&
@@ -137,12 +147,73 @@ class OperationsInsightsClient {
137
147
  }
138
148
  throw Error("Waiters do not exist. Please create waiters.");
139
149
  }
150
+ /**
151
+ * Add new members (e.g. databases and hosts) to an Exadata system in Operations Insights. Exadata-related metric collection and analysis will be started.
152
+ * This operation does not retry by default if the user has not defined a retry configuration.
153
+ * @param AddExadataInsightMembersRequest
154
+ * @return AddExadataInsightMembersResponse
155
+ * @throws OciError when an error occurs
156
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.1/opsi/AddExadataInsightMembers.ts.html |here} to see how to use AddExadataInsightMembers API.
157
+ */
158
+ addExadataInsightMembers(addExadataInsightMembersRequest) {
159
+ return __awaiter(this, void 0, void 0, function* () {
160
+ if (this.logger)
161
+ this.logger.debug("Calling operation OperationsInsightsClient#addExadataInsightMembers.");
162
+ const pathParams = {
163
+ "{exadataInsightId}": addExadataInsightMembersRequest.exadataInsightId
164
+ };
165
+ const queryParams = {};
166
+ let headerParams = {
167
+ "Content-Type": common.Constants.APPLICATION_JSON,
168
+ "if-match": addExadataInsightMembersRequest.ifMatch,
169
+ "opc-request-id": addExadataInsightMembersRequest.opcRequestId,
170
+ "opc-retry-token": addExadataInsightMembersRequest.opcRetryToken
171
+ };
172
+ const specRetryConfiguration = common.NoRetryConfigurationDetails;
173
+ const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, addExadataInsightMembersRequest.retryConfiguration, specRetryConfiguration);
174
+ if (this.logger)
175
+ retrier.logger = this.logger;
176
+ const request = yield oci_common_1.composeRequest({
177
+ baseEndpoint: this._endpoint,
178
+ defaultHeaders: this._defaultHeaders,
179
+ path: "/exadataInsights/{exadataInsightId}/actions/addMembers",
180
+ method: "POST",
181
+ bodyContent: common.ObjectSerializer.serialize(addExadataInsightMembersRequest.addExadataInsightMembersDetails, "AddExadataInsightMembersDetails", model.AddExadataInsightMembersDetails.getJsonObj),
182
+ pathParams: pathParams,
183
+ headerParams: headerParams,
184
+ queryParams: queryParams
185
+ });
186
+ try {
187
+ const response = yield retrier.makeServiceCall(this._httpClient, request);
188
+ const sdkResponse = oci_common_1.composeResponse({
189
+ responseObject: {},
190
+ responseHeaders: [
191
+ {
192
+ value: response.headers.get("opc-work-request-id"),
193
+ key: "opcWorkRequestId",
194
+ dataType: "string"
195
+ },
196
+ {
197
+ value: response.headers.get("opc-request-id"),
198
+ key: "opcRequestId",
199
+ dataType: "string"
200
+ }
201
+ ]
202
+ });
203
+ return sdkResponse;
204
+ }
205
+ catch (err) {
206
+ throw err;
207
+ }
208
+ });
209
+ }
140
210
  /**
141
211
  * Moves a DatabaseInsight resource from one compartment identifier to another. When provided, If-Match is checked against ETag values of the resource.
212
+ * This operation does not retry by default if the user has not defined a retry configuration.
142
213
  * @param ChangeDatabaseInsightCompartmentRequest
143
214
  * @return ChangeDatabaseInsightCompartmentResponse
144
215
  * @throws OciError when an error occurs
145
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.5.0/opsi/ChangeDatabaseInsightCompartment.ts.html |here} to see how to use ChangeDatabaseInsightCompartment API.
216
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.1/opsi/ChangeDatabaseInsightCompartment.ts.html |here} to see how to use ChangeDatabaseInsightCompartment API.
146
217
  */
147
218
  changeDatabaseInsightCompartment(changeDatabaseInsightCompartmentRequest) {
148
219
  return __awaiter(this, void 0, void 0, function* () {
@@ -158,7 +229,8 @@ class OperationsInsightsClient {
158
229
  "opc-request-id": changeDatabaseInsightCompartmentRequest.opcRequestId,
159
230
  "opc-retry-token": changeDatabaseInsightCompartmentRequest.opcRetryToken
160
231
  };
161
- const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : {}, changeDatabaseInsightCompartmentRequest.retryConfiguration);
232
+ const specRetryConfiguration = common.NoRetryConfigurationDetails;
233
+ const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, changeDatabaseInsightCompartmentRequest.retryConfiguration, specRetryConfiguration);
162
234
  if (this.logger)
163
235
  retrier.logger = this.logger;
164
236
  const request = yield oci_common_1.composeRequest({
@@ -197,10 +269,11 @@ class OperationsInsightsClient {
197
269
  }
198
270
  /**
199
271
  * Moves a EnterpriseManagerBridge resource from one compartment to another. When provided, If-Match is checked against ETag values of the resource.
272
+ * This operation does not retry by default if the user has not defined a retry configuration.
200
273
  * @param ChangeEnterpriseManagerBridgeCompartmentRequest
201
274
  * @return ChangeEnterpriseManagerBridgeCompartmentResponse
202
275
  * @throws OciError when an error occurs
203
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.5.0/opsi/ChangeEnterpriseManagerBridgeCompartment.ts.html |here} to see how to use ChangeEnterpriseManagerBridgeCompartment API.
276
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.1/opsi/ChangeEnterpriseManagerBridgeCompartment.ts.html |here} to see how to use ChangeEnterpriseManagerBridgeCompartment API.
204
277
  */
205
278
  changeEnterpriseManagerBridgeCompartment(changeEnterpriseManagerBridgeCompartmentRequest) {
206
279
  return __awaiter(this, void 0, void 0, function* () {
@@ -215,7 +288,8 @@ class OperationsInsightsClient {
215
288
  "if-match": changeEnterpriseManagerBridgeCompartmentRequest.ifMatch,
216
289
  "opc-request-id": changeEnterpriseManagerBridgeCompartmentRequest.opcRequestId
217
290
  };
218
- const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : {}, changeEnterpriseManagerBridgeCompartmentRequest.retryConfiguration);
291
+ const specRetryConfiguration = common.NoRetryConfigurationDetails;
292
+ const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, changeEnterpriseManagerBridgeCompartmentRequest.retryConfiguration, specRetryConfiguration);
219
293
  if (this.logger)
220
294
  retrier.logger = this.logger;
221
295
  const request = yield oci_common_1.composeRequest({
@@ -252,12 +326,73 @@ class OperationsInsightsClient {
252
326
  }
253
327
  });
254
328
  }
329
+ /**
330
+ * Moves an Exadata insight resource from one compartment identifier to another. When provided, If-Match is checked against ETag values of the resource.
331
+ * This operation does not retry by default if the user has not defined a retry configuration.
332
+ * @param ChangeExadataInsightCompartmentRequest
333
+ * @return ChangeExadataInsightCompartmentResponse
334
+ * @throws OciError when an error occurs
335
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.1/opsi/ChangeExadataInsightCompartment.ts.html |here} to see how to use ChangeExadataInsightCompartment API.
336
+ */
337
+ changeExadataInsightCompartment(changeExadataInsightCompartmentRequest) {
338
+ return __awaiter(this, void 0, void 0, function* () {
339
+ if (this.logger)
340
+ this.logger.debug("Calling operation OperationsInsightsClient#changeExadataInsightCompartment.");
341
+ const pathParams = {
342
+ "{exadataInsightId}": changeExadataInsightCompartmentRequest.exadataInsightId
343
+ };
344
+ const queryParams = {};
345
+ let headerParams = {
346
+ "Content-Type": common.Constants.APPLICATION_JSON,
347
+ "if-match": changeExadataInsightCompartmentRequest.ifMatch,
348
+ "opc-request-id": changeExadataInsightCompartmentRequest.opcRequestId,
349
+ "opc-retry-token": changeExadataInsightCompartmentRequest.opcRetryToken
350
+ };
351
+ const specRetryConfiguration = common.NoRetryConfigurationDetails;
352
+ const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, changeExadataInsightCompartmentRequest.retryConfiguration, specRetryConfiguration);
353
+ if (this.logger)
354
+ retrier.logger = this.logger;
355
+ const request = yield oci_common_1.composeRequest({
356
+ baseEndpoint: this._endpoint,
357
+ defaultHeaders: this._defaultHeaders,
358
+ path: "/exadataInsights/{exadataInsightId}/actions/changeCompartment",
359
+ method: "POST",
360
+ bodyContent: common.ObjectSerializer.serialize(changeExadataInsightCompartmentRequest.changeExadataInsightCompartmentDetails, "ChangeExadataInsightCompartmentDetails", model.ChangeExadataInsightCompartmentDetails.getJsonObj),
361
+ pathParams: pathParams,
362
+ headerParams: headerParams,
363
+ queryParams: queryParams
364
+ });
365
+ try {
366
+ const response = yield retrier.makeServiceCall(this._httpClient, request);
367
+ const sdkResponse = oci_common_1.composeResponse({
368
+ responseObject: {},
369
+ responseHeaders: [
370
+ {
371
+ value: response.headers.get("opc-work-request-id"),
372
+ key: "opcWorkRequestId",
373
+ dataType: "string"
374
+ },
375
+ {
376
+ value: response.headers.get("opc-request-id"),
377
+ key: "opcRequestId",
378
+ dataType: "string"
379
+ }
380
+ ]
381
+ });
382
+ return sdkResponse;
383
+ }
384
+ catch (err) {
385
+ throw err;
386
+ }
387
+ });
388
+ }
255
389
  /**
256
390
  * Moves a HostInsight resource from one compartment identifier to another. When provided, If-Match is checked against ETag values of the resource.
391
+ * This operation does not retry by default if the user has not defined a retry configuration.
257
392
  * @param ChangeHostInsightCompartmentRequest
258
393
  * @return ChangeHostInsightCompartmentResponse
259
394
  * @throws OciError when an error occurs
260
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.5.0/opsi/ChangeHostInsightCompartment.ts.html |here} to see how to use ChangeHostInsightCompartment API.
395
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.1/opsi/ChangeHostInsightCompartment.ts.html |here} to see how to use ChangeHostInsightCompartment API.
261
396
  */
262
397
  changeHostInsightCompartment(changeHostInsightCompartmentRequest) {
263
398
  return __awaiter(this, void 0, void 0, function* () {
@@ -273,7 +408,8 @@ class OperationsInsightsClient {
273
408
  "opc-request-id": changeHostInsightCompartmentRequest.opcRequestId,
274
409
  "opc-retry-token": changeHostInsightCompartmentRequest.opcRetryToken
275
410
  };
276
- const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : {}, changeHostInsightCompartmentRequest.retryConfiguration);
411
+ const specRetryConfiguration = common.NoRetryConfigurationDetails;
412
+ const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, changeHostInsightCompartmentRequest.retryConfiguration, specRetryConfiguration);
277
413
  if (this.logger)
278
414
  retrier.logger = this.logger;
279
415
  const request = yield oci_common_1.composeRequest({
@@ -313,10 +449,11 @@ class OperationsInsightsClient {
313
449
  /**
314
450
  * Create a Database Insight resource for a database in Operations Insights. The database will be enabled in Operations Insights. Database metric collection and analysis will be started.
315
451
  *
452
+ * This operation does not retry by default if the user has not defined a retry configuration.
316
453
  * @param CreateDatabaseInsightRequest
317
454
  * @return CreateDatabaseInsightResponse
318
455
  * @throws OciError when an error occurs
319
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.5.0/opsi/CreateDatabaseInsight.ts.html |here} to see how to use CreateDatabaseInsight API.
456
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.1/opsi/CreateDatabaseInsight.ts.html |here} to see how to use CreateDatabaseInsight API.
320
457
  */
321
458
  createDatabaseInsight(createDatabaseInsightRequest) {
322
459
  return __awaiter(this, void 0, void 0, function* () {
@@ -329,7 +466,8 @@ class OperationsInsightsClient {
329
466
  "opc-retry-token": createDatabaseInsightRequest.opcRetryToken,
330
467
  "opc-request-id": createDatabaseInsightRequest.opcRequestId
331
468
  };
332
- const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : {}, createDatabaseInsightRequest.retryConfiguration);
469
+ const specRetryConfiguration = common.NoRetryConfigurationDetails;
470
+ const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, createDatabaseInsightRequest.retryConfiguration, specRetryConfiguration);
333
471
  if (this.logger)
334
472
  retrier.logger = this.logger;
335
473
  const request = yield oci_common_1.composeRequest({
@@ -388,10 +526,11 @@ class OperationsInsightsClient {
388
526
  /**
389
527
  * Create a Enterprise Manager bridge in Operations Insights.
390
528
  *
529
+ * This operation does not retry by default if the user has not defined a retry configuration.
391
530
  * @param CreateEnterpriseManagerBridgeRequest
392
531
  * @return CreateEnterpriseManagerBridgeResponse
393
532
  * @throws OciError when an error occurs
394
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.5.0/opsi/CreateEnterpriseManagerBridge.ts.html |here} to see how to use CreateEnterpriseManagerBridge API.
533
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.1/opsi/CreateEnterpriseManagerBridge.ts.html |here} to see how to use CreateEnterpriseManagerBridge API.
395
534
  */
396
535
  createEnterpriseManagerBridge(createEnterpriseManagerBridgeRequest) {
397
536
  return __awaiter(this, void 0, void 0, function* () {
@@ -404,7 +543,8 @@ class OperationsInsightsClient {
404
543
  "opc-retry-token": createEnterpriseManagerBridgeRequest.opcRetryToken,
405
544
  "opc-request-id": createEnterpriseManagerBridgeRequest.opcRequestId
406
545
  };
407
- const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : {}, createEnterpriseManagerBridgeRequest.retryConfiguration);
546
+ const specRetryConfiguration = common.NoRetryConfigurationDetails;
547
+ const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, createEnterpriseManagerBridgeRequest.retryConfiguration, specRetryConfiguration);
408
548
  if (this.logger)
409
549
  retrier.logger = this.logger;
410
550
  const request = yield oci_common_1.composeRequest({
@@ -460,13 +600,91 @@ class OperationsInsightsClient {
460
600
  }
461
601
  });
462
602
  }
603
+ /**
604
+ * Create an Exadata insight resource for an Exadata system in Operations Insights. The Exadata system will be enabled in Operations Insights. Exadata-related metric collection and analysis will be started.
605
+ *
606
+ * This operation does not retry by default if the user has not defined a retry configuration.
607
+ * @param CreateExadataInsightRequest
608
+ * @return CreateExadataInsightResponse
609
+ * @throws OciError when an error occurs
610
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.1/opsi/CreateExadataInsight.ts.html |here} to see how to use CreateExadataInsight API.
611
+ */
612
+ createExadataInsight(createExadataInsightRequest) {
613
+ return __awaiter(this, void 0, void 0, function* () {
614
+ if (this.logger)
615
+ this.logger.debug("Calling operation OperationsInsightsClient#createExadataInsight.");
616
+ const pathParams = {};
617
+ const queryParams = {};
618
+ let headerParams = {
619
+ "Content-Type": common.Constants.APPLICATION_JSON,
620
+ "opc-retry-token": createExadataInsightRequest.opcRetryToken,
621
+ "opc-request-id": createExadataInsightRequest.opcRequestId
622
+ };
623
+ const specRetryConfiguration = common.NoRetryConfigurationDetails;
624
+ const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, createExadataInsightRequest.retryConfiguration, specRetryConfiguration);
625
+ if (this.logger)
626
+ retrier.logger = this.logger;
627
+ const request = yield oci_common_1.composeRequest({
628
+ baseEndpoint: this._endpoint,
629
+ defaultHeaders: this._defaultHeaders,
630
+ path: "/exadataInsights",
631
+ method: "POST",
632
+ bodyContent: common.ObjectSerializer.serialize(createExadataInsightRequest.createExadataInsightDetails, "CreateExadataInsightDetails", model.CreateExadataInsightDetails.getJsonObj),
633
+ pathParams: pathParams,
634
+ headerParams: headerParams,
635
+ queryParams: queryParams
636
+ });
637
+ try {
638
+ const response = yield retrier.makeServiceCall(this._httpClient, request);
639
+ const sdkResponse = oci_common_1.composeResponse({
640
+ responseObject: {},
641
+ body: yield response.json(),
642
+ bodyKey: "exadataInsight",
643
+ bodyModel: model.ExadataInsight,
644
+ type: "model.ExadataInsight",
645
+ responseHeaders: [
646
+ {
647
+ value: response.headers.get("opc-work-request-id"),
648
+ key: "opcWorkRequestId",
649
+ dataType: "string"
650
+ },
651
+ {
652
+ value: response.headers.get("opc-request-id"),
653
+ key: "opcRequestId",
654
+ dataType: "string"
655
+ },
656
+ {
657
+ value: response.headers.get("location"),
658
+ key: "location",
659
+ dataType: "string"
660
+ },
661
+ {
662
+ value: response.headers.get("content-location"),
663
+ key: "contentLocation",
664
+ dataType: "string"
665
+ },
666
+ {
667
+ value: response.headers.get("etag"),
668
+ key: "etag",
669
+ dataType: "string"
670
+ }
671
+ ]
672
+ });
673
+ return sdkResponse;
674
+ }
675
+ catch (err) {
676
+ throw err;
677
+ }
678
+ });
679
+ }
463
680
  /**
464
681
  * Create a Host Insight resource for a host in Operations Insights. The host will be enabled in Operations Insights. Host metric collection and analysis will be started.
465
682
  *
683
+ * This operation does not retry by default if the user has not defined a retry configuration.
466
684
  * @param CreateHostInsightRequest
467
685
  * @return CreateHostInsightResponse
468
686
  * @throws OciError when an error occurs
469
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.5.0/opsi/CreateHostInsight.ts.html |here} to see how to use CreateHostInsight API.
687
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.1/opsi/CreateHostInsight.ts.html |here} to see how to use CreateHostInsight API.
470
688
  */
471
689
  createHostInsight(createHostInsightRequest) {
472
690
  return __awaiter(this, void 0, void 0, function* () {
@@ -479,7 +697,8 @@ class OperationsInsightsClient {
479
697
  "opc-retry-token": createHostInsightRequest.opcRetryToken,
480
698
  "opc-request-id": createHostInsightRequest.opcRequestId
481
699
  };
482
- const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : {}, createHostInsightRequest.retryConfiguration);
700
+ const specRetryConfiguration = common.NoRetryConfigurationDetails;
701
+ const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, createHostInsightRequest.retryConfiguration, specRetryConfiguration);
483
702
  if (this.logger)
484
703
  retrier.logger = this.logger;
485
704
  const request = yield oci_common_1.composeRequest({
@@ -537,10 +756,11 @@ class OperationsInsightsClient {
537
756
  }
538
757
  /**
539
758
  * Deletes a database insight. The database insight will be deleted and cannot be enabled again.
759
+ * This operation does not retry by default if the user has not defined a retry configuration.
540
760
  * @param DeleteDatabaseInsightRequest
541
761
  * @return DeleteDatabaseInsightResponse
542
762
  * @throws OciError when an error occurs
543
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.5.0/opsi/DeleteDatabaseInsight.ts.html |here} to see how to use DeleteDatabaseInsight API.
763
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.1/opsi/DeleteDatabaseInsight.ts.html |here} to see how to use DeleteDatabaseInsight API.
544
764
  */
545
765
  deleteDatabaseInsight(deleteDatabaseInsightRequest) {
546
766
  return __awaiter(this, void 0, void 0, function* () {
@@ -555,7 +775,8 @@ class OperationsInsightsClient {
555
775
  "if-match": deleteDatabaseInsightRequest.ifMatch,
556
776
  "opc-request-id": deleteDatabaseInsightRequest.opcRequestId
557
777
  };
558
- const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : {}, deleteDatabaseInsightRequest.retryConfiguration);
778
+ const specRetryConfiguration = common.NoRetryConfigurationDetails;
779
+ const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, deleteDatabaseInsightRequest.retryConfiguration, specRetryConfiguration);
559
780
  if (this.logger)
560
781
  retrier.logger = this.logger;
561
782
  const request = yield oci_common_1.composeRequest({
@@ -593,10 +814,11 @@ class OperationsInsightsClient {
593
814
  }
594
815
  /**
595
816
  * Deletes an Operations Insights Enterprise Manager bridge. If any database insight is still referencing this bridge, the operation will fail.
817
+ * This operation does not retry by default if the user has not defined a retry configuration.
596
818
  * @param DeleteEnterpriseManagerBridgeRequest
597
819
  * @return DeleteEnterpriseManagerBridgeResponse
598
820
  * @throws OciError when an error occurs
599
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.5.0/opsi/DeleteEnterpriseManagerBridge.ts.html |here} to see how to use DeleteEnterpriseManagerBridge API.
821
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.1/opsi/DeleteEnterpriseManagerBridge.ts.html |here} to see how to use DeleteEnterpriseManagerBridge API.
600
822
  */
601
823
  deleteEnterpriseManagerBridge(deleteEnterpriseManagerBridgeRequest) {
602
824
  return __awaiter(this, void 0, void 0, function* () {
@@ -611,7 +833,8 @@ class OperationsInsightsClient {
611
833
  "if-match": deleteEnterpriseManagerBridgeRequest.ifMatch,
612
834
  "opc-request-id": deleteEnterpriseManagerBridgeRequest.opcRequestId
613
835
  };
614
- const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : {}, deleteEnterpriseManagerBridgeRequest.retryConfiguration);
836
+ const specRetryConfiguration = common.NoRetryConfigurationDetails;
837
+ const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, deleteEnterpriseManagerBridgeRequest.retryConfiguration, specRetryConfiguration);
615
838
  if (this.logger)
616
839
  retrier.logger = this.logger;
617
840
  const request = yield oci_common_1.composeRequest({
@@ -647,12 +870,71 @@ class OperationsInsightsClient {
647
870
  }
648
871
  });
649
872
  }
873
+ /**
874
+ * Deletes an Exadata insight. The Exadata insight will be deleted and cannot be enabled again.
875
+ * This operation does not retry by default if the user has not defined a retry configuration.
876
+ * @param DeleteExadataInsightRequest
877
+ * @return DeleteExadataInsightResponse
878
+ * @throws OciError when an error occurs
879
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.1/opsi/DeleteExadataInsight.ts.html |here} to see how to use DeleteExadataInsight API.
880
+ */
881
+ deleteExadataInsight(deleteExadataInsightRequest) {
882
+ return __awaiter(this, void 0, void 0, function* () {
883
+ if (this.logger)
884
+ this.logger.debug("Calling operation OperationsInsightsClient#deleteExadataInsight.");
885
+ const pathParams = {
886
+ "{exadataInsightId}": deleteExadataInsightRequest.exadataInsightId
887
+ };
888
+ const queryParams = {};
889
+ let headerParams = {
890
+ "Content-Type": common.Constants.APPLICATION_JSON,
891
+ "if-match": deleteExadataInsightRequest.ifMatch,
892
+ "opc-request-id": deleteExadataInsightRequest.opcRequestId
893
+ };
894
+ const specRetryConfiguration = common.NoRetryConfigurationDetails;
895
+ const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, deleteExadataInsightRequest.retryConfiguration, specRetryConfiguration);
896
+ if (this.logger)
897
+ retrier.logger = this.logger;
898
+ const request = yield oci_common_1.composeRequest({
899
+ baseEndpoint: this._endpoint,
900
+ defaultHeaders: this._defaultHeaders,
901
+ path: "/exadataInsights/{exadataInsightId}",
902
+ method: "DELETE",
903
+ pathParams: pathParams,
904
+ headerParams: headerParams,
905
+ queryParams: queryParams
906
+ });
907
+ try {
908
+ const response = yield retrier.makeServiceCall(this._httpClient, request);
909
+ const sdkResponse = oci_common_1.composeResponse({
910
+ responseObject: {},
911
+ responseHeaders: [
912
+ {
913
+ value: response.headers.get("opc-work-request-id"),
914
+ key: "opcWorkRequestId",
915
+ dataType: "string"
916
+ },
917
+ {
918
+ value: response.headers.get("opc-request-id"),
919
+ key: "opcRequestId",
920
+ dataType: "string"
921
+ }
922
+ ]
923
+ });
924
+ return sdkResponse;
925
+ }
926
+ catch (err) {
927
+ throw err;
928
+ }
929
+ });
930
+ }
650
931
  /**
651
932
  * Deletes a host insight. The host insight will be deleted and cannot be enabled again.
933
+ * This operation does not retry by default if the user has not defined a retry configuration.
652
934
  * @param DeleteHostInsightRequest
653
935
  * @return DeleteHostInsightResponse
654
936
  * @throws OciError when an error occurs
655
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.5.0/opsi/DeleteHostInsight.ts.html |here} to see how to use DeleteHostInsight API.
937
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.1/opsi/DeleteHostInsight.ts.html |here} to see how to use DeleteHostInsight API.
656
938
  */
657
939
  deleteHostInsight(deleteHostInsightRequest) {
658
940
  return __awaiter(this, void 0, void 0, function* () {
@@ -667,7 +949,8 @@ class OperationsInsightsClient {
667
949
  "if-match": deleteHostInsightRequest.ifMatch,
668
950
  "opc-request-id": deleteHostInsightRequest.opcRequestId
669
951
  };
670
- const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : {}, deleteHostInsightRequest.retryConfiguration);
952
+ const specRetryConfiguration = common.NoRetryConfigurationDetails;
953
+ const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, deleteHostInsightRequest.retryConfiguration, specRetryConfiguration);
671
954
  if (this.logger)
672
955
  retrier.logger = this.logger;
673
956
  const request = yield oci_common_1.composeRequest({
@@ -705,10 +988,11 @@ class OperationsInsightsClient {
705
988
  }
706
989
  /**
707
990
  * Disables a database in Operations Insights. Database metric collection and analysis will be stopped.
991
+ * This operation does not retry by default if the user has not defined a retry configuration.
708
992
  * @param DisableDatabaseInsightRequest
709
993
  * @return DisableDatabaseInsightResponse
710
994
  * @throws OciError when an error occurs
711
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.5.0/opsi/DisableDatabaseInsight.ts.html |here} to see how to use DisableDatabaseInsight API.
995
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.1/opsi/DisableDatabaseInsight.ts.html |here} to see how to use DisableDatabaseInsight API.
712
996
  */
713
997
  disableDatabaseInsight(disableDatabaseInsightRequest) {
714
998
  return __awaiter(this, void 0, void 0, function* () {
@@ -724,7 +1008,8 @@ class OperationsInsightsClient {
724
1008
  "opc-request-id": disableDatabaseInsightRequest.opcRequestId,
725
1009
  "opc-retry-token": disableDatabaseInsightRequest.opcRetryToken
726
1010
  };
727
- const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : {}, disableDatabaseInsightRequest.retryConfiguration);
1011
+ const specRetryConfiguration = common.NoRetryConfigurationDetails;
1012
+ const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, disableDatabaseInsightRequest.retryConfiguration, specRetryConfiguration);
728
1013
  if (this.logger)
729
1014
  retrier.logger = this.logger;
730
1015
  const request = yield oci_common_1.composeRequest({
@@ -760,12 +1045,72 @@ class OperationsInsightsClient {
760
1045
  }
761
1046
  });
762
1047
  }
1048
+ /**
1049
+ * Disables an Exadata system in Operations Insights. Exadata-related metric collection and analysis will be stopped.
1050
+ * This operation does not retry by default if the user has not defined a retry configuration.
1051
+ * @param DisableExadataInsightRequest
1052
+ * @return DisableExadataInsightResponse
1053
+ * @throws OciError when an error occurs
1054
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.1/opsi/DisableExadataInsight.ts.html |here} to see how to use DisableExadataInsight API.
1055
+ */
1056
+ disableExadataInsight(disableExadataInsightRequest) {
1057
+ return __awaiter(this, void 0, void 0, function* () {
1058
+ if (this.logger)
1059
+ this.logger.debug("Calling operation OperationsInsightsClient#disableExadataInsight.");
1060
+ const pathParams = {
1061
+ "{exadataInsightId}": disableExadataInsightRequest.exadataInsightId
1062
+ };
1063
+ const queryParams = {};
1064
+ let headerParams = {
1065
+ "Content-Type": common.Constants.APPLICATION_JSON,
1066
+ "if-match": disableExadataInsightRequest.ifMatch,
1067
+ "opc-request-id": disableExadataInsightRequest.opcRequestId,
1068
+ "opc-retry-token": disableExadataInsightRequest.opcRetryToken
1069
+ };
1070
+ const specRetryConfiguration = common.NoRetryConfigurationDetails;
1071
+ const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, disableExadataInsightRequest.retryConfiguration, specRetryConfiguration);
1072
+ if (this.logger)
1073
+ retrier.logger = this.logger;
1074
+ const request = yield oci_common_1.composeRequest({
1075
+ baseEndpoint: this._endpoint,
1076
+ defaultHeaders: this._defaultHeaders,
1077
+ path: "/exadataInsights/{exadataInsightId}/actions/disable",
1078
+ method: "POST",
1079
+ pathParams: pathParams,
1080
+ headerParams: headerParams,
1081
+ queryParams: queryParams
1082
+ });
1083
+ try {
1084
+ const response = yield retrier.makeServiceCall(this._httpClient, request);
1085
+ const sdkResponse = oci_common_1.composeResponse({
1086
+ responseObject: {},
1087
+ responseHeaders: [
1088
+ {
1089
+ value: response.headers.get("opc-work-request-id"),
1090
+ key: "opcWorkRequestId",
1091
+ dataType: "string"
1092
+ },
1093
+ {
1094
+ value: response.headers.get("opc-request-id"),
1095
+ key: "opcRequestId",
1096
+ dataType: "string"
1097
+ }
1098
+ ]
1099
+ });
1100
+ return sdkResponse;
1101
+ }
1102
+ catch (err) {
1103
+ throw err;
1104
+ }
1105
+ });
1106
+ }
763
1107
  /**
764
1108
  * Disables a host in Operations Insights. Host metric collection and analysis will be stopped.
1109
+ * This operation does not retry by default if the user has not defined a retry configuration.
765
1110
  * @param DisableHostInsightRequest
766
1111
  * @return DisableHostInsightResponse
767
1112
  * @throws OciError when an error occurs
768
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.5.0/opsi/DisableHostInsight.ts.html |here} to see how to use DisableHostInsight API.
1113
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.1/opsi/DisableHostInsight.ts.html |here} to see how to use DisableHostInsight API.
769
1114
  */
770
1115
  disableHostInsight(disableHostInsightRequest) {
771
1116
  return __awaiter(this, void 0, void 0, function* () {
@@ -781,7 +1126,8 @@ class OperationsInsightsClient {
781
1126
  "opc-request-id": disableHostInsightRequest.opcRequestId,
782
1127
  "opc-retry-token": disableHostInsightRequest.opcRetryToken
783
1128
  };
784
- const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : {}, disableHostInsightRequest.retryConfiguration);
1129
+ const specRetryConfiguration = common.NoRetryConfigurationDetails;
1130
+ const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, disableHostInsightRequest.retryConfiguration, specRetryConfiguration);
785
1131
  if (this.logger)
786
1132
  retrier.logger = this.logger;
787
1133
  const request = yield oci_common_1.composeRequest({
@@ -819,10 +1165,11 @@ class OperationsInsightsClient {
819
1165
  }
820
1166
  /**
821
1167
  * Enables a database in Operations Insights. Database metric collection and analysis will be started.
1168
+ * This operation does not retry by default if the user has not defined a retry configuration.
822
1169
  * @param EnableDatabaseInsightRequest
823
1170
  * @return EnableDatabaseInsightResponse
824
1171
  * @throws OciError when an error occurs
825
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.5.0/opsi/EnableDatabaseInsight.ts.html |here} to see how to use EnableDatabaseInsight API.
1172
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.1/opsi/EnableDatabaseInsight.ts.html |here} to see how to use EnableDatabaseInsight API.
826
1173
  */
827
1174
  enableDatabaseInsight(enableDatabaseInsightRequest) {
828
1175
  return __awaiter(this, void 0, void 0, function* () {
@@ -838,7 +1185,8 @@ class OperationsInsightsClient {
838
1185
  "opc-request-id": enableDatabaseInsightRequest.opcRequestId,
839
1186
  "opc-retry-token": enableDatabaseInsightRequest.opcRetryToken
840
1187
  };
841
- const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : {}, enableDatabaseInsightRequest.retryConfiguration);
1188
+ const specRetryConfiguration = common.NoRetryConfigurationDetails;
1189
+ const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, enableDatabaseInsightRequest.retryConfiguration, specRetryConfiguration);
842
1190
  if (this.logger)
843
1191
  retrier.logger = this.logger;
844
1192
  const request = yield oci_common_1.composeRequest({
@@ -876,35 +1224,37 @@ class OperationsInsightsClient {
876
1224
  });
877
1225
  }
878
1226
  /**
879
- * Enables a host in Operations Insights. Host metric collection and analysis will be started.
880
- * @param EnableHostInsightRequest
881
- * @return EnableHostInsightResponse
1227
+ * Enables an Exadata system in Operations Insights. Exadata-related metric collection and analysis will be started.
1228
+ * This operation does not retry by default if the user has not defined a retry configuration.
1229
+ * @param EnableExadataInsightRequest
1230
+ * @return EnableExadataInsightResponse
882
1231
  * @throws OciError when an error occurs
883
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.5.0/opsi/EnableHostInsight.ts.html |here} to see how to use EnableHostInsight API.
1232
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.1/opsi/EnableExadataInsight.ts.html |here} to see how to use EnableExadataInsight API.
884
1233
  */
885
- enableHostInsight(enableHostInsightRequest) {
1234
+ enableExadataInsight(enableExadataInsightRequest) {
886
1235
  return __awaiter(this, void 0, void 0, function* () {
887
1236
  if (this.logger)
888
- this.logger.debug("Calling operation OperationsInsightsClient#enableHostInsight.");
1237
+ this.logger.debug("Calling operation OperationsInsightsClient#enableExadataInsight.");
889
1238
  const pathParams = {
890
- "{hostInsightId}": enableHostInsightRequest.hostInsightId
1239
+ "{exadataInsightId}": enableExadataInsightRequest.exadataInsightId
891
1240
  };
892
1241
  const queryParams = {};
893
1242
  let headerParams = {
894
1243
  "Content-Type": common.Constants.APPLICATION_JSON,
895
- "if-match": enableHostInsightRequest.ifMatch,
896
- "opc-request-id": enableHostInsightRequest.opcRequestId,
897
- "opc-retry-token": enableHostInsightRequest.opcRetryToken
1244
+ "if-match": enableExadataInsightRequest.ifMatch,
1245
+ "opc-request-id": enableExadataInsightRequest.opcRequestId,
1246
+ "opc-retry-token": enableExadataInsightRequest.opcRetryToken
898
1247
  };
899
- const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : {}, enableHostInsightRequest.retryConfiguration);
1248
+ const specRetryConfiguration = common.NoRetryConfigurationDetails;
1249
+ const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, enableExadataInsightRequest.retryConfiguration, specRetryConfiguration);
900
1250
  if (this.logger)
901
1251
  retrier.logger = this.logger;
902
1252
  const request = yield oci_common_1.composeRequest({
903
1253
  baseEndpoint: this._endpoint,
904
1254
  defaultHeaders: this._defaultHeaders,
905
- path: "/hostInsights/{hostInsightId}/actions/enable",
1255
+ path: "/exadataInsights/{exadataInsightId}/actions/enable",
906
1256
  method: "POST",
907
- bodyContent: common.ObjectSerializer.serialize(enableHostInsightRequest.enableHostInsightDetails, "EnableHostInsightDetails", model.EnableHostInsightDetails.getJsonObj),
1257
+ bodyContent: common.ObjectSerializer.serialize(enableExadataInsightRequest.enableExadataInsightDetails, "EnableExadataInsightDetails", model.EnableExadataInsightDetails.getJsonObj),
908
1258
  pathParams: pathParams,
909
1259
  headerParams: headerParams,
910
1260
  queryParams: queryParams
@@ -934,11 +1284,72 @@ class OperationsInsightsClient {
934
1284
  });
935
1285
  }
936
1286
  /**
937
- * Gets details of a database insight.
1287
+ * Enables a host in Operations Insights. Host metric collection and analysis will be started.
1288
+ * This operation does not retry by default if the user has not defined a retry configuration.
1289
+ * @param EnableHostInsightRequest
1290
+ * @return EnableHostInsightResponse
1291
+ * @throws OciError when an error occurs
1292
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.1/opsi/EnableHostInsight.ts.html |here} to see how to use EnableHostInsight API.
1293
+ */
1294
+ enableHostInsight(enableHostInsightRequest) {
1295
+ return __awaiter(this, void 0, void 0, function* () {
1296
+ if (this.logger)
1297
+ this.logger.debug("Calling operation OperationsInsightsClient#enableHostInsight.");
1298
+ const pathParams = {
1299
+ "{hostInsightId}": enableHostInsightRequest.hostInsightId
1300
+ };
1301
+ const queryParams = {};
1302
+ let headerParams = {
1303
+ "Content-Type": common.Constants.APPLICATION_JSON,
1304
+ "if-match": enableHostInsightRequest.ifMatch,
1305
+ "opc-request-id": enableHostInsightRequest.opcRequestId,
1306
+ "opc-retry-token": enableHostInsightRequest.opcRetryToken
1307
+ };
1308
+ const specRetryConfiguration = common.NoRetryConfigurationDetails;
1309
+ const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, enableHostInsightRequest.retryConfiguration, specRetryConfiguration);
1310
+ if (this.logger)
1311
+ retrier.logger = this.logger;
1312
+ const request = yield oci_common_1.composeRequest({
1313
+ baseEndpoint: this._endpoint,
1314
+ defaultHeaders: this._defaultHeaders,
1315
+ path: "/hostInsights/{hostInsightId}/actions/enable",
1316
+ method: "POST",
1317
+ bodyContent: common.ObjectSerializer.serialize(enableHostInsightRequest.enableHostInsightDetails, "EnableHostInsightDetails", model.EnableHostInsightDetails.getJsonObj),
1318
+ pathParams: pathParams,
1319
+ headerParams: headerParams,
1320
+ queryParams: queryParams
1321
+ });
1322
+ try {
1323
+ const response = yield retrier.makeServiceCall(this._httpClient, request);
1324
+ const sdkResponse = oci_common_1.composeResponse({
1325
+ responseObject: {},
1326
+ responseHeaders: [
1327
+ {
1328
+ value: response.headers.get("opc-work-request-id"),
1329
+ key: "opcWorkRequestId",
1330
+ dataType: "string"
1331
+ },
1332
+ {
1333
+ value: response.headers.get("opc-request-id"),
1334
+ key: "opcRequestId",
1335
+ dataType: "string"
1336
+ }
1337
+ ]
1338
+ });
1339
+ return sdkResponse;
1340
+ }
1341
+ catch (err) {
1342
+ throw err;
1343
+ }
1344
+ });
1345
+ }
1346
+ /**
1347
+ * Gets details of a database insight.
1348
+ * This operation does not retry by default if the user has not defined a retry configuration.
938
1349
  * @param GetDatabaseInsightRequest
939
1350
  * @return GetDatabaseInsightResponse
940
1351
  * @throws OciError when an error occurs
941
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.5.0/opsi/GetDatabaseInsight.ts.html |here} to see how to use GetDatabaseInsight API.
1352
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.1/opsi/GetDatabaseInsight.ts.html |here} to see how to use GetDatabaseInsight API.
942
1353
  */
943
1354
  getDatabaseInsight(getDatabaseInsightRequest) {
944
1355
  return __awaiter(this, void 0, void 0, function* () {
@@ -952,7 +1363,8 @@ class OperationsInsightsClient {
952
1363
  "Content-Type": common.Constants.APPLICATION_JSON,
953
1364
  "opc-request-id": getDatabaseInsightRequest.opcRequestId
954
1365
  };
955
- const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : {}, getDatabaseInsightRequest.retryConfiguration);
1366
+ const specRetryConfiguration = common.NoRetryConfigurationDetails;
1367
+ const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getDatabaseInsightRequest.retryConfiguration, specRetryConfiguration);
956
1368
  if (this.logger)
957
1369
  retrier.logger = this.logger;
958
1370
  const request = yield oci_common_1.composeRequest({
@@ -994,10 +1406,11 @@ class OperationsInsightsClient {
994
1406
  }
995
1407
  /**
996
1408
  * Gets details of an Operations Insights Enterprise Manager bridge.
1409
+ * This operation does not retry by default if the user has not defined a retry configuration.
997
1410
  * @param GetEnterpriseManagerBridgeRequest
998
1411
  * @return GetEnterpriseManagerBridgeResponse
999
1412
  * @throws OciError when an error occurs
1000
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.5.0/opsi/GetEnterpriseManagerBridge.ts.html |here} to see how to use GetEnterpriseManagerBridge API.
1413
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.1/opsi/GetEnterpriseManagerBridge.ts.html |here} to see how to use GetEnterpriseManagerBridge API.
1001
1414
  */
1002
1415
  getEnterpriseManagerBridge(getEnterpriseManagerBridgeRequest) {
1003
1416
  return __awaiter(this, void 0, void 0, function* () {
@@ -1011,7 +1424,8 @@ class OperationsInsightsClient {
1011
1424
  "Content-Type": common.Constants.APPLICATION_JSON,
1012
1425
  "opc-request-id": getEnterpriseManagerBridgeRequest.opcRequestId
1013
1426
  };
1014
- const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : {}, getEnterpriseManagerBridgeRequest.retryConfiguration);
1427
+ const specRetryConfiguration = common.NoRetryConfigurationDetails;
1428
+ const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getEnterpriseManagerBridgeRequest.retryConfiguration, specRetryConfiguration);
1015
1429
  if (this.logger)
1016
1430
  retrier.logger = this.logger;
1017
1431
  const request = yield oci_common_1.composeRequest({
@@ -1051,12 +1465,74 @@ class OperationsInsightsClient {
1051
1465
  }
1052
1466
  });
1053
1467
  }
1468
+ /**
1469
+ * Gets details of an Exadata insight.
1470
+ * This operation does not retry by default if the user has not defined a retry configuration.
1471
+ * @param GetExadataInsightRequest
1472
+ * @return GetExadataInsightResponse
1473
+ * @throws OciError when an error occurs
1474
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.1/opsi/GetExadataInsight.ts.html |here} to see how to use GetExadataInsight API.
1475
+ */
1476
+ getExadataInsight(getExadataInsightRequest) {
1477
+ return __awaiter(this, void 0, void 0, function* () {
1478
+ if (this.logger)
1479
+ this.logger.debug("Calling operation OperationsInsightsClient#getExadataInsight.");
1480
+ const pathParams = {
1481
+ "{exadataInsightId}": getExadataInsightRequest.exadataInsightId
1482
+ };
1483
+ const queryParams = {};
1484
+ let headerParams = {
1485
+ "Content-Type": common.Constants.APPLICATION_JSON,
1486
+ "opc-request-id": getExadataInsightRequest.opcRequestId
1487
+ };
1488
+ const specRetryConfiguration = common.NoRetryConfigurationDetails;
1489
+ const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getExadataInsightRequest.retryConfiguration, specRetryConfiguration);
1490
+ if (this.logger)
1491
+ retrier.logger = this.logger;
1492
+ const request = yield oci_common_1.composeRequest({
1493
+ baseEndpoint: this._endpoint,
1494
+ defaultHeaders: this._defaultHeaders,
1495
+ path: "/exadataInsights/{exadataInsightId}",
1496
+ method: "GET",
1497
+ pathParams: pathParams,
1498
+ headerParams: headerParams,
1499
+ queryParams: queryParams
1500
+ });
1501
+ try {
1502
+ const response = yield retrier.makeServiceCall(this._httpClient, request);
1503
+ const sdkResponse = oci_common_1.composeResponse({
1504
+ responseObject: {},
1505
+ body: yield response.json(),
1506
+ bodyKey: "exadataInsight",
1507
+ bodyModel: model.ExadataInsight,
1508
+ type: "model.ExadataInsight",
1509
+ responseHeaders: [
1510
+ {
1511
+ value: response.headers.get("etag"),
1512
+ key: "etag",
1513
+ dataType: "string"
1514
+ },
1515
+ {
1516
+ value: response.headers.get("opc-request-id"),
1517
+ key: "opcRequestId",
1518
+ dataType: "string"
1519
+ }
1520
+ ]
1521
+ });
1522
+ return sdkResponse;
1523
+ }
1524
+ catch (err) {
1525
+ throw err;
1526
+ }
1527
+ });
1528
+ }
1054
1529
  /**
1055
1530
  * Gets details of a host insight.
1531
+ * This operation does not retry by default if the user has not defined a retry configuration.
1056
1532
  * @param GetHostInsightRequest
1057
1533
  * @return GetHostInsightResponse
1058
1534
  * @throws OciError when an error occurs
1059
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.5.0/opsi/GetHostInsight.ts.html |here} to see how to use GetHostInsight API.
1535
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.1/opsi/GetHostInsight.ts.html |here} to see how to use GetHostInsight API.
1060
1536
  */
1061
1537
  getHostInsight(getHostInsightRequest) {
1062
1538
  return __awaiter(this, void 0, void 0, function* () {
@@ -1070,7 +1546,8 @@ class OperationsInsightsClient {
1070
1546
  "Content-Type": common.Constants.APPLICATION_JSON,
1071
1547
  "opc-request-id": getHostInsightRequest.opcRequestId
1072
1548
  };
1073
- const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : {}, getHostInsightRequest.retryConfiguration);
1549
+ const specRetryConfiguration = common.NoRetryConfigurationDetails;
1550
+ const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getHostInsightRequest.retryConfiguration, specRetryConfiguration);
1074
1551
  if (this.logger)
1075
1552
  retrier.logger = this.logger;
1076
1553
  const request = yield oci_common_1.composeRequest({
@@ -1112,10 +1589,11 @@ class OperationsInsightsClient {
1112
1589
  }
1113
1590
  /**
1114
1591
  * Gets the status of the work request with the given ID.
1592
+ * This operation does not retry by default if the user has not defined a retry configuration.
1115
1593
  * @param GetWorkRequestRequest
1116
1594
  * @return GetWorkRequestResponse
1117
1595
  * @throws OciError when an error occurs
1118
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.5.0/opsi/GetWorkRequest.ts.html |here} to see how to use GetWorkRequest API.
1596
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.1/opsi/GetWorkRequest.ts.html |here} to see how to use GetWorkRequest API.
1119
1597
  */
1120
1598
  getWorkRequest(getWorkRequestRequest) {
1121
1599
  return __awaiter(this, void 0, void 0, function* () {
@@ -1129,7 +1607,8 @@ class OperationsInsightsClient {
1129
1607
  "Content-Type": common.Constants.APPLICATION_JSON,
1130
1608
  "opc-request-id": getWorkRequestRequest.opcRequestId
1131
1609
  };
1132
- const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : {}, getWorkRequestRequest.retryConfiguration);
1610
+ const specRetryConfiguration = common.NoRetryConfigurationDetails;
1611
+ const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getWorkRequestRequest.retryConfiguration, specRetryConfiguration);
1133
1612
  if (this.logger)
1134
1613
  retrier.logger = this.logger;
1135
1614
  const request = yield oci_common_1.composeRequest({
@@ -1150,6 +1629,11 @@ class OperationsInsightsClient {
1150
1629
  bodyModel: model.WorkRequest,
1151
1630
  type: "model.WorkRequest",
1152
1631
  responseHeaders: [
1632
+ {
1633
+ value: response.headers.get("etag"),
1634
+ key: "etag",
1635
+ dataType: "string"
1636
+ },
1153
1637
  {
1154
1638
  value: response.headers.get("opc-request-id"),
1155
1639
  key: "opcRequestId",
@@ -1171,10 +1655,11 @@ class OperationsInsightsClient {
1171
1655
  }
1172
1656
  /**
1173
1657
  * This is a generic ingest endpoint for all database configuration metrics.
1658
+ * This operation does not retry by default if the user has not defined a retry configuration.
1174
1659
  * @param IngestDatabaseConfigurationRequest
1175
1660
  * @return IngestDatabaseConfigurationResponse
1176
1661
  * @throws OciError when an error occurs
1177
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.5.0/opsi/IngestDatabaseConfiguration.ts.html |here} to see how to use IngestDatabaseConfiguration API.
1662
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.1/opsi/IngestDatabaseConfiguration.ts.html |here} to see how to use IngestDatabaseConfiguration API.
1178
1663
  */
1179
1664
  ingestDatabaseConfiguration(ingestDatabaseConfigurationRequest) {
1180
1665
  return __awaiter(this, void 0, void 0, function* () {
@@ -1191,7 +1676,8 @@ class OperationsInsightsClient {
1191
1676
  "if-match": ingestDatabaseConfigurationRequest.ifMatch,
1192
1677
  "opc-retry-token": ingestDatabaseConfigurationRequest.opcRetryToken
1193
1678
  };
1194
- const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : {}, ingestDatabaseConfigurationRequest.retryConfiguration);
1679
+ const specRetryConfiguration = common.NoRetryConfigurationDetails;
1680
+ const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, ingestDatabaseConfigurationRequest.retryConfiguration, specRetryConfiguration);
1195
1681
  if (this.logger)
1196
1682
  retrier.logger = this.logger;
1197
1683
  const request = yield oci_common_1.composeRequest({
@@ -1234,10 +1720,11 @@ class OperationsInsightsClient {
1234
1720
  }
1235
1721
  /**
1236
1722
  * This is a generic ingest endpoint for all the host configuration metrics
1723
+ * This operation does not retry by default if the user has not defined a retry configuration.
1237
1724
  * @param IngestHostConfigurationRequest
1238
1725
  * @return IngestHostConfigurationResponse
1239
1726
  * @throws OciError when an error occurs
1240
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.5.0/opsi/IngestHostConfiguration.ts.html |here} to see how to use IngestHostConfiguration API.
1727
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.1/opsi/IngestHostConfiguration.ts.html |here} to see how to use IngestHostConfiguration API.
1241
1728
  */
1242
1729
  ingestHostConfiguration(ingestHostConfigurationRequest) {
1243
1730
  return __awaiter(this, void 0, void 0, function* () {
@@ -1253,7 +1740,8 @@ class OperationsInsightsClient {
1253
1740
  "if-match": ingestHostConfigurationRequest.ifMatch,
1254
1741
  "opc-retry-token": ingestHostConfigurationRequest.opcRetryToken
1255
1742
  };
1256
- const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : {}, ingestHostConfigurationRequest.retryConfiguration);
1743
+ const specRetryConfiguration = common.NoRetryConfigurationDetails;
1744
+ const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, ingestHostConfigurationRequest.retryConfiguration, specRetryConfiguration);
1257
1745
  if (this.logger)
1258
1746
  retrier.logger = this.logger;
1259
1747
  const request = yield oci_common_1.composeRequest({
@@ -1296,10 +1784,11 @@ class OperationsInsightsClient {
1296
1784
  }
1297
1785
  /**
1298
1786
  * This is a generic ingest endpoint for all the host performance metrics
1787
+ * This operation does not retry by default if the user has not defined a retry configuration.
1299
1788
  * @param IngestHostMetricsRequest
1300
1789
  * @return IngestHostMetricsResponse
1301
1790
  * @throws OciError when an error occurs
1302
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.5.0/opsi/IngestHostMetrics.ts.html |here} to see how to use IngestHostMetrics API.
1791
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.1/opsi/IngestHostMetrics.ts.html |here} to see how to use IngestHostMetrics API.
1303
1792
  */
1304
1793
  ingestHostMetrics(ingestHostMetricsRequest) {
1305
1794
  return __awaiter(this, void 0, void 0, function* () {
@@ -1315,7 +1804,8 @@ class OperationsInsightsClient {
1315
1804
  "if-match": ingestHostMetricsRequest.ifMatch,
1316
1805
  "opc-retry-token": ingestHostMetricsRequest.opcRetryToken
1317
1806
  };
1318
- const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : {}, ingestHostMetricsRequest.retryConfiguration);
1807
+ const specRetryConfiguration = common.NoRetryConfigurationDetails;
1808
+ const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, ingestHostMetricsRequest.retryConfiguration, specRetryConfiguration);
1319
1809
  if (this.logger)
1320
1810
  retrier.logger = this.logger;
1321
1811
  const request = yield oci_common_1.composeRequest({
@@ -1360,10 +1850,11 @@ class OperationsInsightsClient {
1360
1850
  * The sqlbucket endpoint takes in a JSON payload, persists it in Operations Insights ingest pipeline.
1361
1851
  * Either databaseId or id must be specified.
1362
1852
  *
1853
+ * This operation does not retry by default if the user has not defined a retry configuration.
1363
1854
  * @param IngestSqlBucketRequest
1364
1855
  * @return IngestSqlBucketResponse
1365
1856
  * @throws OciError when an error occurs
1366
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.5.0/opsi/IngestSqlBucket.ts.html |here} to see how to use IngestSqlBucket API.
1857
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.1/opsi/IngestSqlBucket.ts.html |here} to see how to use IngestSqlBucket API.
1367
1858
  */
1368
1859
  ingestSqlBucket(ingestSqlBucketRequest) {
1369
1860
  return __awaiter(this, void 0, void 0, function* () {
@@ -1381,7 +1872,8 @@ class OperationsInsightsClient {
1381
1872
  "if-match": ingestSqlBucketRequest.ifMatch,
1382
1873
  "opc-retry-token": ingestSqlBucketRequest.opcRetryToken
1383
1874
  };
1384
- const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : {}, ingestSqlBucketRequest.retryConfiguration);
1875
+ const specRetryConfiguration = common.NoRetryConfigurationDetails;
1876
+ const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, ingestSqlBucketRequest.retryConfiguration, specRetryConfiguration);
1385
1877
  if (this.logger)
1386
1878
  retrier.logger = this.logger;
1387
1879
  const request = yield oci_common_1.composeRequest({
@@ -1426,10 +1918,11 @@ class OperationsInsightsClient {
1426
1918
  * The SqlPlanLines endpoint takes in a JSON payload, persists it in Operation Insights ingest pipeline.
1427
1919
  * Either databaseId or id must be specified.
1428
1920
  *
1921
+ * This operation does not retry by default if the user has not defined a retry configuration.
1429
1922
  * @param IngestSqlPlanLinesRequest
1430
1923
  * @return IngestSqlPlanLinesResponse
1431
1924
  * @throws OciError when an error occurs
1432
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.5.0/opsi/IngestSqlPlanLines.ts.html |here} to see how to use IngestSqlPlanLines API.
1925
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.1/opsi/IngestSqlPlanLines.ts.html |here} to see how to use IngestSqlPlanLines API.
1433
1926
  */
1434
1927
  ingestSqlPlanLines(ingestSqlPlanLinesRequest) {
1435
1928
  return __awaiter(this, void 0, void 0, function* () {
@@ -1447,7 +1940,8 @@ class OperationsInsightsClient {
1447
1940
  "if-match": ingestSqlPlanLinesRequest.ifMatch,
1448
1941
  "opc-retry-token": ingestSqlPlanLinesRequest.opcRetryToken
1449
1942
  };
1450
- const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : {}, ingestSqlPlanLinesRequest.retryConfiguration);
1943
+ const specRetryConfiguration = common.NoRetryConfigurationDetails;
1944
+ const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, ingestSqlPlanLinesRequest.retryConfiguration, specRetryConfiguration);
1451
1945
  if (this.logger)
1452
1946
  retrier.logger = this.logger;
1453
1947
  const request = yield oci_common_1.composeRequest({
@@ -1493,10 +1987,11 @@ class OperationsInsightsClient {
1493
1987
  * Either databaseId or id must be specified.
1494
1988
  * Disclaimer: SQL text being uploaded explicitly via APIs is not masked. Any sensitive literals contained in the sqlFullText column should be masked prior to ingestion.
1495
1989
  *
1990
+ * This operation does not retry by default if the user has not defined a retry configuration.
1496
1991
  * @param IngestSqlTextRequest
1497
1992
  * @return IngestSqlTextResponse
1498
1993
  * @throws OciError when an error occurs
1499
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.5.0/opsi/IngestSqlText.ts.html |here} to see how to use IngestSqlText API.
1994
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.1/opsi/IngestSqlText.ts.html |here} to see how to use IngestSqlText API.
1500
1995
  */
1501
1996
  ingestSqlText(ingestSqlTextRequest) {
1502
1997
  return __awaiter(this, void 0, void 0, function* () {
@@ -1514,7 +2009,8 @@ class OperationsInsightsClient {
1514
2009
  "if-match": ingestSqlTextRequest.ifMatch,
1515
2010
  "opc-retry-token": ingestSqlTextRequest.opcRetryToken
1516
2011
  };
1517
- const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : {}, ingestSqlTextRequest.retryConfiguration);
2012
+ const specRetryConfiguration = common.NoRetryConfigurationDetails;
2013
+ const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, ingestSqlTextRequest.retryConfiguration, specRetryConfiguration);
1518
2014
  if (this.logger)
1519
2015
  retrier.logger = this.logger;
1520
2016
  const request = yield oci_common_1.composeRequest({
@@ -1557,10 +2053,12 @@ class OperationsInsightsClient {
1557
2053
  }
1558
2054
  /**
1559
2055
  * Gets a list of database insight configurations based on the query parameters specified. Either compartmentId or databaseInsightId query parameter must be specified.
2056
+ *
2057
+ * This operation does not retry by default if the user has not defined a retry configuration.
1560
2058
  * @param ListDatabaseConfigurationsRequest
1561
2059
  * @return ListDatabaseConfigurationsResponse
1562
2060
  * @throws OciError when an error occurs
1563
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.5.0/opsi/ListDatabaseConfigurations.ts.html |here} to see how to use ListDatabaseConfigurations API.
2061
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.1/opsi/ListDatabaseConfigurations.ts.html |here} to see how to use ListDatabaseConfigurations API.
1564
2062
  */
1565
2063
  listDatabaseConfigurations(listDatabaseConfigurationsRequest) {
1566
2064
  return __awaiter(this, void 0, void 0, function* () {
@@ -1572,6 +2070,8 @@ class OperationsInsightsClient {
1572
2070
  "enterpriseManagerBridgeId": listDatabaseConfigurationsRequest.enterpriseManagerBridgeId,
1573
2071
  "id": listDatabaseConfigurationsRequest.id,
1574
2072
  "databaseId": listDatabaseConfigurationsRequest.databaseId,
2073
+ "exadataInsightId": listDatabaseConfigurationsRequest.exadataInsightId,
2074
+ "cdbName": listDatabaseConfigurationsRequest.cdbName,
1575
2075
  "databaseType": listDatabaseConfigurationsRequest.databaseType,
1576
2076
  "limit": listDatabaseConfigurationsRequest.limit,
1577
2077
  "page": listDatabaseConfigurationsRequest.page,
@@ -1587,7 +2087,8 @@ class OperationsInsightsClient {
1587
2087
  "Content-Type": common.Constants.APPLICATION_JSON,
1588
2088
  "opc-request-id": listDatabaseConfigurationsRequest.opcRequestId
1589
2089
  };
1590
- const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : {}, listDatabaseConfigurationsRequest.retryConfiguration);
2090
+ const specRetryConfiguration = common.NoRetryConfigurationDetails;
2091
+ const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listDatabaseConfigurationsRequest.retryConfiguration, specRetryConfiguration);
1591
2092
  if (this.logger)
1592
2093
  retrier.logger = this.logger;
1593
2094
  const request = yield oci_common_1.composeRequest({
@@ -1634,10 +2135,12 @@ class OperationsInsightsClient {
1634
2135
  }
1635
2136
  /**
1636
2137
  * Gets a list of database insights based on the query parameters specified. Either compartmentId or id query parameter must be specified.
2138
+ *
2139
+ * This operation does not retry by default if the user has not defined a retry configuration.
1637
2140
  * @param ListDatabaseInsightsRequest
1638
2141
  * @return ListDatabaseInsightsResponse
1639
2142
  * @throws OciError when an error occurs
1640
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.5.0/opsi/ListDatabaseInsights.ts.html |here} to see how to use ListDatabaseInsights API.
2143
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.1/opsi/ListDatabaseInsights.ts.html |here} to see how to use ListDatabaseInsights API.
1641
2144
  */
1642
2145
  listDatabaseInsights(listDatabaseInsightsRequest) {
1643
2146
  return __awaiter(this, void 0, void 0, function* () {
@@ -1656,13 +2159,15 @@ class OperationsInsightsClient {
1656
2159
  "limit": listDatabaseInsightsRequest.limit,
1657
2160
  "page": listDatabaseInsightsRequest.page,
1658
2161
  "sortOrder": listDatabaseInsightsRequest.sortOrder,
1659
- "sortBy": listDatabaseInsightsRequest.sortBy
2162
+ "sortBy": listDatabaseInsightsRequest.sortBy,
2163
+ "exadataInsightId": listDatabaseInsightsRequest.exadataInsightId
1660
2164
  };
1661
2165
  let headerParams = {
1662
2166
  "Content-Type": common.Constants.APPLICATION_JSON,
1663
2167
  "opc-request-id": listDatabaseInsightsRequest.opcRequestId
1664
2168
  };
1665
- const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : {}, listDatabaseInsightsRequest.retryConfiguration);
2169
+ const specRetryConfiguration = common.NoRetryConfigurationDetails;
2170
+ const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listDatabaseInsightsRequest.retryConfiguration, specRetryConfiguration);
1666
2171
  if (this.logger)
1667
2172
  retrier.logger = this.logger;
1668
2173
  const request = yield oci_common_1.composeRequest({
@@ -1710,10 +2215,11 @@ class OperationsInsightsClient {
1710
2215
  /**
1711
2216
  * Gets a list of Operations Insights Enterprise Manager bridges. Either compartmentId or id must be specified.
1712
2217
  *
2218
+ * This operation does not retry by default if the user has not defined a retry configuration.
1713
2219
  * @param ListEnterpriseManagerBridgesRequest
1714
2220
  * @return ListEnterpriseManagerBridgesResponse
1715
2221
  * @throws OciError when an error occurs
1716
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.5.0/opsi/ListEnterpriseManagerBridges.ts.html |here} to see how to use ListEnterpriseManagerBridges API.
2222
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.1/opsi/ListEnterpriseManagerBridges.ts.html |here} to see how to use ListEnterpriseManagerBridges API.
1717
2223
  */
1718
2224
  listEnterpriseManagerBridges(listEnterpriseManagerBridgesRequest) {
1719
2225
  return __awaiter(this, void 0, void 0, function* () {
@@ -1734,7 +2240,8 @@ class OperationsInsightsClient {
1734
2240
  "Content-Type": common.Constants.APPLICATION_JSON,
1735
2241
  "opc-request-id": listEnterpriseManagerBridgesRequest.opcRequestId
1736
2242
  };
1737
- const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : {}, listEnterpriseManagerBridgesRequest.retryConfiguration);
2243
+ const specRetryConfiguration = common.NoRetryConfigurationDetails;
2244
+ const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listEnterpriseManagerBridgesRequest.retryConfiguration, specRetryConfiguration);
1738
2245
  if (this.logger)
1739
2246
  retrier.logger = this.logger;
1740
2247
  const request = yield oci_common_1.composeRequest({
@@ -1775,40 +2282,43 @@ class OperationsInsightsClient {
1775
2282
  });
1776
2283
  }
1777
2284
  /**
1778
- * Gets a list of host insights based on the query parameters specified. Either compartmentId or id query parameter must be specified.
1779
- * @param ListHostInsightsRequest
1780
- * @return ListHostInsightsResponse
2285
+ * Gets a list of exadata insight configurations. Either compartmentId or exadataInsightsId query parameter must be specified.
2286
+ * This operation does not retry by default if the user has not defined a retry configuration.
2287
+ * @param ListExadataConfigurationsRequest
2288
+ * @return ListExadataConfigurationsResponse
1781
2289
  * @throws OciError when an error occurs
1782
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.5.0/opsi/ListHostInsights.ts.html |here} to see how to use ListHostInsights API.
2290
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.1/opsi/ListExadataConfigurations.ts.html |here} to see how to use ListExadataConfigurations API.
1783
2291
  */
1784
- listHostInsights(listHostInsightsRequest) {
2292
+ listExadataConfigurations(listExadataConfigurationsRequest) {
1785
2293
  return __awaiter(this, void 0, void 0, function* () {
1786
2294
  if (this.logger)
1787
- this.logger.debug("Calling operation OperationsInsightsClient#listHostInsights.");
2295
+ this.logger.debug("Calling operation OperationsInsightsClient#listExadataConfigurations.");
1788
2296
  const pathParams = {};
1789
2297
  const queryParams = {
1790
- "compartmentId": listHostInsightsRequest.compartmentId,
1791
- "id": listHostInsightsRequest.id,
1792
- "status": listHostInsightsRequest.status,
1793
- "lifecycleState": listHostInsightsRequest.lifecycleState,
1794
- "hostType": listHostInsightsRequest.hostType,
1795
- "platformType": listHostInsightsRequest.platformType,
1796
- "limit": listHostInsightsRequest.limit,
1797
- "page": listHostInsightsRequest.page,
1798
- "sortOrder": listHostInsightsRequest.sortOrder,
1799
- "sortBy": listHostInsightsRequest.sortBy
2298
+ "compartmentId": listExadataConfigurationsRequest.compartmentId,
2299
+ "exadataInsightId": listExadataConfigurationsRequest.exadataInsightId,
2300
+ "exadataType": listExadataConfigurationsRequest.exadataType,
2301
+ "limit": listExadataConfigurationsRequest.limit,
2302
+ "page": listExadataConfigurationsRequest.page,
2303
+ "sortOrder": listExadataConfigurationsRequest.sortOrder,
2304
+ "sortBy": listExadataConfigurationsRequest.sortBy,
2305
+ "definedTagEquals": listExadataConfigurationsRequest.definedTagEquals,
2306
+ "freeformTagEquals": listExadataConfigurationsRequest.freeformTagEquals,
2307
+ "definedTagExists": listExadataConfigurationsRequest.definedTagExists,
2308
+ "freeformTagExists": listExadataConfigurationsRequest.freeformTagExists
1800
2309
  };
1801
2310
  let headerParams = {
1802
2311
  "Content-Type": common.Constants.APPLICATION_JSON,
1803
- "opc-request-id": listHostInsightsRequest.opcRequestId
2312
+ "opc-request-id": listExadataConfigurationsRequest.opcRequestId
1804
2313
  };
1805
- const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : {}, listHostInsightsRequest.retryConfiguration);
2314
+ const specRetryConfiguration = common.NoRetryConfigurationDetails;
2315
+ const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listExadataConfigurationsRequest.retryConfiguration, specRetryConfiguration);
1806
2316
  if (this.logger)
1807
2317
  retrier.logger = this.logger;
1808
2318
  const request = yield oci_common_1.composeRequest({
1809
2319
  baseEndpoint: this._endpoint,
1810
2320
  defaultHeaders: this._defaultHeaders,
1811
- path: "/hostInsights",
2321
+ path: "/exadataInsights/exadataConfigurations",
1812
2322
  method: "GET",
1813
2323
  pathParams: pathParams,
1814
2324
  headerParams: headerParams,
@@ -1819,9 +2329,9 @@ class OperationsInsightsClient {
1819
2329
  const sdkResponse = oci_common_1.composeResponse({
1820
2330
  responseObject: {},
1821
2331
  body: yield response.json(),
1822
- bodyKey: "hostInsightSummaryCollection",
1823
- bodyModel: model.HostInsightSummaryCollection,
1824
- type: "model.HostInsightSummaryCollection",
2332
+ bodyKey: "exadataConfigurationCollection",
2333
+ bodyModel: model.ExadataConfigurationCollection,
2334
+ type: "model.ExadataConfigurationCollection",
1825
2335
  responseHeaders: [
1826
2336
  {
1827
2337
  value: response.headers.get("opc-request-id"),
@@ -1848,41 +2358,43 @@ class OperationsInsightsClient {
1848
2358
  });
1849
2359
  }
1850
2360
  /**
1851
- * Get a list of hosted entities details.
2361
+ * Gets a list of Exadata insights based on the query parameters specified. Either compartmentId or id query parameter must be specified.
1852
2362
  *
1853
- * @param ListHostedEntitiesRequest
1854
- * @return ListHostedEntitiesResponse
2363
+ * This operation does not retry by default if the user has not defined a retry configuration.
2364
+ * @param ListExadataInsightsRequest
2365
+ * @return ListExadataInsightsResponse
1855
2366
  * @throws OciError when an error occurs
1856
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.5.0/opsi/ListHostedEntities.ts.html |here} to see how to use ListHostedEntities API.
2367
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.1/opsi/ListExadataInsights.ts.html |here} to see how to use ListExadataInsights API.
1857
2368
  */
1858
- listHostedEntities(listHostedEntitiesRequest) {
2369
+ listExadataInsights(listExadataInsightsRequest) {
1859
2370
  return __awaiter(this, void 0, void 0, function* () {
1860
2371
  if (this.logger)
1861
- this.logger.debug("Calling operation OperationsInsightsClient#listHostedEntities.");
2372
+ this.logger.debug("Calling operation OperationsInsightsClient#listExadataInsights.");
1862
2373
  const pathParams = {};
1863
2374
  const queryParams = {
1864
- "compartmentId": listHostedEntitiesRequest.compartmentId,
1865
- "analysisTimeInterval": listHostedEntitiesRequest.analysisTimeInterval,
1866
- "timeIntervalStart": listHostedEntitiesRequest.timeIntervalStart,
1867
- "timeIntervalEnd": listHostedEntitiesRequest.timeIntervalEnd,
1868
- "platformType": listHostedEntitiesRequest.platformType,
1869
- "id": listHostedEntitiesRequest.id,
1870
- "limit": listHostedEntitiesRequest.limit,
1871
- "page": listHostedEntitiesRequest.page,
1872
- "sortOrder": listHostedEntitiesRequest.sortOrder,
1873
- "sortBy": listHostedEntitiesRequest.sortBy
2375
+ "compartmentId": listExadataInsightsRequest.compartmentId,
2376
+ "enterpriseManagerBridgeId": listExadataInsightsRequest.enterpriseManagerBridgeId,
2377
+ "id": listExadataInsightsRequest.id,
2378
+ "status": listExadataInsightsRequest.status,
2379
+ "lifecycleState": listExadataInsightsRequest.lifecycleState,
2380
+ "exadataType": listExadataInsightsRequest.exadataType,
2381
+ "limit": listExadataInsightsRequest.limit,
2382
+ "page": listExadataInsightsRequest.page,
2383
+ "sortOrder": listExadataInsightsRequest.sortOrder,
2384
+ "sortBy": listExadataInsightsRequest.sortBy
1874
2385
  };
1875
2386
  let headerParams = {
1876
2387
  "Content-Type": common.Constants.APPLICATION_JSON,
1877
- "opc-request-id": listHostedEntitiesRequest.opcRequestId
2388
+ "opc-request-id": listExadataInsightsRequest.opcRequestId
1878
2389
  };
1879
- const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : {}, listHostedEntitiesRequest.retryConfiguration);
2390
+ const specRetryConfiguration = common.NoRetryConfigurationDetails;
2391
+ const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listExadataInsightsRequest.retryConfiguration, specRetryConfiguration);
1880
2392
  if (this.logger)
1881
2393
  retrier.logger = this.logger;
1882
2394
  const request = yield oci_common_1.composeRequest({
1883
2395
  baseEndpoint: this._endpoint,
1884
2396
  defaultHeaders: this._defaultHeaders,
1885
- path: "/hostInsights/hostedEntities",
2397
+ path: "/exadataInsights",
1886
2398
  method: "GET",
1887
2399
  pathParams: pathParams,
1888
2400
  headerParams: headerParams,
@@ -1893,15 +2405,20 @@ class OperationsInsightsClient {
1893
2405
  const sdkResponse = oci_common_1.composeResponse({
1894
2406
  responseObject: {},
1895
2407
  body: yield response.json(),
1896
- bodyKey: "hostedEntityCollection",
1897
- bodyModel: model.HostedEntityCollection,
1898
- type: "model.HostedEntityCollection",
2408
+ bodyKey: "exadataInsightSummaryCollection",
2409
+ bodyModel: model.ExadataInsightSummaryCollection,
2410
+ type: "model.ExadataInsightSummaryCollection",
1899
2411
  responseHeaders: [
1900
2412
  {
1901
2413
  value: response.headers.get("opc-request-id"),
1902
2414
  key: "opcRequestId",
1903
2415
  dataType: "string"
1904
2416
  },
2417
+ {
2418
+ value: response.headers.get("opc-total-items"),
2419
+ key: "opcTotalItems",
2420
+ dataType: "number"
2421
+ },
1905
2422
  {
1906
2423
  value: response.headers.get("opc-next-page"),
1907
2424
  key: "opcNextPage",
@@ -1917,40 +2434,47 @@ class OperationsInsightsClient {
1917
2434
  });
1918
2435
  }
1919
2436
  /**
1920
- * Gets a list of agent entities available to add a new hostInsight. An agent entity is \"available\"
1921
- * and will be shown if all the following conditions are true:
1922
- * 1. The agent OCID is not already being used for an existing hostInsight.
1923
- * 2. The agent availabilityStatus = 'ACTIVE'
1924
- * 3. The agent lifecycleState = 'ACTIVE'
2437
+ * Gets a list of host insight configurations based on the query parameters specified. Either compartmentId or hostInsightId query parameter must be specified.
2438
+ * When both compartmentId and compartmentIdInSubtree are specified, a list of host insight configurations in that compartment and in all sub-compartments will be returned.
1925
2439
  *
1926
- * @param ListImportableAgentEntitiesRequest
1927
- * @return ListImportableAgentEntitiesResponse
2440
+ * This operation does not retry by default if the user has not defined a retry configuration.
2441
+ * @param ListHostConfigurationsRequest
2442
+ * @return ListHostConfigurationsResponse
1928
2443
  * @throws OciError when an error occurs
1929
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.5.0/opsi/ListImportableAgentEntities.ts.html |here} to see how to use ListImportableAgentEntities API.
2444
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.1/opsi/ListHostConfigurations.ts.html |here} to see how to use ListHostConfigurations API.
1930
2445
  */
1931
- listImportableAgentEntities(listImportableAgentEntitiesRequest) {
2446
+ listHostConfigurations(listHostConfigurationsRequest) {
1932
2447
  return __awaiter(this, void 0, void 0, function* () {
1933
2448
  if (this.logger)
1934
- this.logger.debug("Calling operation OperationsInsightsClient#listImportableAgentEntities.");
2449
+ this.logger.debug("Calling operation OperationsInsightsClient#listHostConfigurations.");
1935
2450
  const pathParams = {};
1936
2451
  const queryParams = {
1937
- "compartmentId": listImportableAgentEntitiesRequest.compartmentId,
1938
- "limit": listImportableAgentEntitiesRequest.limit,
1939
- "page": listImportableAgentEntitiesRequest.page,
1940
- "sortOrder": listImportableAgentEntitiesRequest.sortOrder,
1941
- "sortBy": listImportableAgentEntitiesRequest.sortBy
2452
+ "compartmentId": listHostConfigurationsRequest.compartmentId,
2453
+ "enterpriseManagerBridgeId": listHostConfigurationsRequest.enterpriseManagerBridgeId,
2454
+ "id": listHostConfigurationsRequest.id,
2455
+ "exadataInsightId": listHostConfigurationsRequest.exadataInsightId,
2456
+ "platformType": listHostConfigurationsRequest.platformType,
2457
+ "limit": listHostConfigurationsRequest.limit,
2458
+ "page": listHostConfigurationsRequest.page,
2459
+ "sortOrder": listHostConfigurationsRequest.sortOrder,
2460
+ "sortBy": listHostConfigurationsRequest.sortBy,
2461
+ "definedTagEquals": listHostConfigurationsRequest.definedTagEquals,
2462
+ "freeformTagEquals": listHostConfigurationsRequest.freeformTagEquals,
2463
+ "definedTagExists": listHostConfigurationsRequest.definedTagExists,
2464
+ "freeformTagExists": listHostConfigurationsRequest.freeformTagExists
1942
2465
  };
1943
2466
  let headerParams = {
1944
2467
  "Content-Type": common.Constants.APPLICATION_JSON,
1945
- "opc-request-id": listImportableAgentEntitiesRequest.opcRequestId
2468
+ "opc-request-id": listHostConfigurationsRequest.opcRequestId
1946
2469
  };
1947
- const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : {}, listImportableAgentEntitiesRequest.retryConfiguration);
2470
+ const specRetryConfiguration = common.NoRetryConfigurationDetails;
2471
+ const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listHostConfigurationsRequest.retryConfiguration, specRetryConfiguration);
1948
2472
  if (this.logger)
1949
2473
  retrier.logger = this.logger;
1950
2474
  const request = yield oci_common_1.composeRequest({
1951
2475
  baseEndpoint: this._endpoint,
1952
2476
  defaultHeaders: this._defaultHeaders,
1953
- path: "/importableAgentEntities",
2477
+ path: "/hostInsights/hostConfigurations",
1954
2478
  method: "GET",
1955
2479
  pathParams: pathParams,
1956
2480
  headerParams: headerParams,
@@ -1961,15 +2485,20 @@ class OperationsInsightsClient {
1961
2485
  const sdkResponse = oci_common_1.composeResponse({
1962
2486
  responseObject: {},
1963
2487
  body: yield response.json(),
1964
- bodyKey: "importableAgentEntitySummaryCollection",
1965
- bodyModel: model.ImportableAgentEntitySummaryCollection,
1966
- type: "model.ImportableAgentEntitySummaryCollection",
2488
+ bodyKey: "hostConfigurationCollection",
2489
+ bodyModel: model.HostConfigurationCollection,
2490
+ type: "model.HostConfigurationCollection",
1967
2491
  responseHeaders: [
1968
2492
  {
1969
2493
  value: response.headers.get("opc-request-id"),
1970
2494
  key: "opcRequestId",
1971
2495
  dataType: "string"
1972
2496
  },
2497
+ {
2498
+ value: response.headers.get("opc-total-items"),
2499
+ key: "opcTotalItems",
2500
+ dataType: "number"
2501
+ },
1973
2502
  {
1974
2503
  value: response.headers.get("opc-next-page"),
1975
2504
  key: "opcNextPage",
@@ -1985,35 +2514,45 @@ class OperationsInsightsClient {
1985
2514
  });
1986
2515
  }
1987
2516
  /**
1988
- * Gets a list of importable entities for an Operations Insights Enterprise Manager bridge that have not been imported before.
2517
+ * Gets a list of host insights based on the query parameters specified. Either compartmentId or id query parameter must be specified.
1989
2518
  *
1990
- * @param ListImportableEnterpriseManagerEntitiesRequest
1991
- * @return ListImportableEnterpriseManagerEntitiesResponse
2519
+ * This operation does not retry by default if the user has not defined a retry configuration.
2520
+ * @param ListHostInsightsRequest
2521
+ * @return ListHostInsightsResponse
1992
2522
  * @throws OciError when an error occurs
1993
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.5.0/opsi/ListImportableEnterpriseManagerEntities.ts.html |here} to see how to use ListImportableEnterpriseManagerEntities API.
2523
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.1/opsi/ListHostInsights.ts.html |here} to see how to use ListHostInsights API.
1994
2524
  */
1995
- listImportableEnterpriseManagerEntities(listImportableEnterpriseManagerEntitiesRequest) {
2525
+ listHostInsights(listHostInsightsRequest) {
1996
2526
  return __awaiter(this, void 0, void 0, function* () {
1997
2527
  if (this.logger)
1998
- this.logger.debug("Calling operation OperationsInsightsClient#listImportableEnterpriseManagerEntities.");
1999
- const pathParams = {
2000
- "{enterpriseManagerBridgeId}": listImportableEnterpriseManagerEntitiesRequest.enterpriseManagerBridgeId
2001
- };
2528
+ this.logger.debug("Calling operation OperationsInsightsClient#listHostInsights.");
2529
+ const pathParams = {};
2002
2530
  const queryParams = {
2003
- "limit": listImportableEnterpriseManagerEntitiesRequest.limit,
2004
- "page": listImportableEnterpriseManagerEntitiesRequest.page
2531
+ "compartmentId": listHostInsightsRequest.compartmentId,
2532
+ "id": listHostInsightsRequest.id,
2533
+ "status": listHostInsightsRequest.status,
2534
+ "lifecycleState": listHostInsightsRequest.lifecycleState,
2535
+ "hostType": listHostInsightsRequest.hostType,
2536
+ "platformType": listHostInsightsRequest.platformType,
2537
+ "limit": listHostInsightsRequest.limit,
2538
+ "page": listHostInsightsRequest.page,
2539
+ "sortOrder": listHostInsightsRequest.sortOrder,
2540
+ "sortBy": listHostInsightsRequest.sortBy,
2541
+ "enterpriseManagerBridgeId": listHostInsightsRequest.enterpriseManagerBridgeId,
2542
+ "exadataInsightId": listHostInsightsRequest.exadataInsightId
2005
2543
  };
2006
2544
  let headerParams = {
2007
2545
  "Content-Type": common.Constants.APPLICATION_JSON,
2008
- "opc-request-id": listImportableEnterpriseManagerEntitiesRequest.opcRequestId
2546
+ "opc-request-id": listHostInsightsRequest.opcRequestId
2009
2547
  };
2010
- const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : {}, listImportableEnterpriseManagerEntitiesRequest.retryConfiguration);
2548
+ const specRetryConfiguration = common.NoRetryConfigurationDetails;
2549
+ const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listHostInsightsRequest.retryConfiguration, specRetryConfiguration);
2011
2550
  if (this.logger)
2012
2551
  retrier.logger = this.logger;
2013
2552
  const request = yield oci_common_1.composeRequest({
2014
2553
  baseEndpoint: this._endpoint,
2015
2554
  defaultHeaders: this._defaultHeaders,
2016
- path: "/enterpriseManagerBridges/{enterpriseManagerBridgeId}/importableEnterpriseManagerEntities",
2555
+ path: "/hostInsights",
2017
2556
  method: "GET",
2018
2557
  pathParams: pathParams,
2019
2558
  headerParams: headerParams,
@@ -2024,15 +2563,20 @@ class OperationsInsightsClient {
2024
2563
  const sdkResponse = oci_common_1.composeResponse({
2025
2564
  responseObject: {},
2026
2565
  body: yield response.json(),
2027
- bodyKey: "importableEnterpriseManagerEntityCollection",
2028
- bodyModel: model.ImportableEnterpriseManagerEntityCollection,
2029
- type: "model.ImportableEnterpriseManagerEntityCollection",
2566
+ bodyKey: "hostInsightSummaryCollection",
2567
+ bodyModel: model.HostInsightSummaryCollection,
2568
+ type: "model.HostInsightSummaryCollection",
2030
2569
  responseHeaders: [
2031
2570
  {
2032
2571
  value: response.headers.get("opc-request-id"),
2033
2572
  key: "opcRequestId",
2034
2573
  dataType: "string"
2035
2574
  },
2575
+ {
2576
+ value: response.headers.get("opc-total-items"),
2577
+ key: "opcTotalItems",
2578
+ dataType: "number"
2579
+ },
2036
2580
  {
2037
2581
  value: response.headers.get("opc-next-page"),
2038
2582
  key: "opcNextPage",
@@ -2048,38 +2592,44 @@ class OperationsInsightsClient {
2048
2592
  });
2049
2593
  }
2050
2594
  /**
2051
- * Query SQL Warehouse to list the plan xml for a given SQL execution plan. This returns a SqlPlanCollection object, but is currently limited to a single plan.
2052
- * Either databaseId or id must be specified.
2595
+ * Get a list of hosted entities details.
2053
2596
  *
2054
- * @param ListSqlPlansRequest
2055
- * @return ListSqlPlansResponse
2597
+ * This operation does not retry by default if the user has not defined a retry configuration.
2598
+ * @param ListHostedEntitiesRequest
2599
+ * @return ListHostedEntitiesResponse
2056
2600
  * @throws OciError when an error occurs
2057
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.5.0/opsi/ListSqlPlans.ts.html |here} to see how to use ListSqlPlans API.
2601
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.1/opsi/ListHostedEntities.ts.html |here} to see how to use ListHostedEntities API.
2058
2602
  */
2059
- listSqlPlans(listSqlPlansRequest) {
2603
+ listHostedEntities(listHostedEntitiesRequest) {
2060
2604
  return __awaiter(this, void 0, void 0, function* () {
2061
2605
  if (this.logger)
2062
- this.logger.debug("Calling operation OperationsInsightsClient#listSqlPlans.");
2606
+ this.logger.debug("Calling operation OperationsInsightsClient#listHostedEntities.");
2063
2607
  const pathParams = {};
2064
2608
  const queryParams = {
2065
- "compartmentId": listSqlPlansRequest.compartmentId,
2066
- "databaseId": listSqlPlansRequest.databaseId,
2067
- "id": listSqlPlansRequest.id,
2068
- "sqlIdentifier": listSqlPlansRequest.sqlIdentifier,
2069
- "planHash": listSqlPlansRequest.planHash,
2070
- "page": listSqlPlansRequest.page
2609
+ "compartmentId": listHostedEntitiesRequest.compartmentId,
2610
+ "analysisTimeInterval": listHostedEntitiesRequest.analysisTimeInterval,
2611
+ "timeIntervalStart": listHostedEntitiesRequest.timeIntervalStart,
2612
+ "timeIntervalEnd": listHostedEntitiesRequest.timeIntervalEnd,
2613
+ "platformType": listHostedEntitiesRequest.platformType,
2614
+ "id": listHostedEntitiesRequest.id,
2615
+ "exadataInsightId": listHostedEntitiesRequest.exadataInsightId,
2616
+ "limit": listHostedEntitiesRequest.limit,
2617
+ "page": listHostedEntitiesRequest.page,
2618
+ "sortOrder": listHostedEntitiesRequest.sortOrder,
2619
+ "sortBy": listHostedEntitiesRequest.sortBy
2071
2620
  };
2072
2621
  let headerParams = {
2073
2622
  "Content-Type": common.Constants.APPLICATION_JSON,
2074
- "opc-request-id": listSqlPlansRequest.opcRequestId
2623
+ "opc-request-id": listHostedEntitiesRequest.opcRequestId
2075
2624
  };
2076
- const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : {}, listSqlPlansRequest.retryConfiguration);
2625
+ const specRetryConfiguration = common.NoRetryConfigurationDetails;
2626
+ const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listHostedEntitiesRequest.retryConfiguration, specRetryConfiguration);
2077
2627
  if (this.logger)
2078
2628
  retrier.logger = this.logger;
2079
2629
  const request = yield oci_common_1.composeRequest({
2080
2630
  baseEndpoint: this._endpoint,
2081
2631
  defaultHeaders: this._defaultHeaders,
2082
- path: "/databaseInsights/sqlPlans",
2632
+ path: "/hostInsights/hostedEntities",
2083
2633
  method: "GET",
2084
2634
  pathParams: pathParams,
2085
2635
  headerParams: headerParams,
@@ -2090,9 +2640,9 @@ class OperationsInsightsClient {
2090
2640
  const sdkResponse = oci_common_1.composeResponse({
2091
2641
  responseObject: {},
2092
2642
  body: yield response.json(),
2093
- bodyKey: "sqlPlanCollection",
2094
- bodyModel: model.SqlPlanCollection,
2095
- type: "model.SqlPlanCollection",
2643
+ bodyKey: "hostedEntityCollection",
2644
+ bodyModel: model.HostedEntityCollection,
2645
+ type: "model.HostedEntityCollection",
2096
2646
  responseHeaders: [
2097
2647
  {
2098
2648
  value: response.headers.get("opc-request-id"),
@@ -2114,11 +2664,219 @@ class OperationsInsightsClient {
2114
2664
  });
2115
2665
  }
2116
2666
  /**
2117
- * Search SQL by SQL Identifier across databases and get the SQL Text and the details of the databases executing the SQL for a given time period.
2118
- * @param ListSqlSearchesRequest
2667
+ * Gets a list of agent entities available to add a new hostInsight. An agent entity is \"available\"
2668
+ * and will be shown if all the following conditions are true:
2669
+ * 1. The agent OCID is not already being used for an existing hostInsight.
2670
+ * 2. The agent availabilityStatus = 'ACTIVE'
2671
+ * 3. The agent lifecycleState = 'ACTIVE'
2672
+ *
2673
+ * This operation does not retry by default if the user has not defined a retry configuration.
2674
+ * @param ListImportableAgentEntitiesRequest
2675
+ * @return ListImportableAgentEntitiesResponse
2676
+ * @throws OciError when an error occurs
2677
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.1/opsi/ListImportableAgentEntities.ts.html |here} to see how to use ListImportableAgentEntities API.
2678
+ */
2679
+ listImportableAgentEntities(listImportableAgentEntitiesRequest) {
2680
+ return __awaiter(this, void 0, void 0, function* () {
2681
+ if (this.logger)
2682
+ this.logger.debug("Calling operation OperationsInsightsClient#listImportableAgentEntities.");
2683
+ const pathParams = {};
2684
+ const queryParams = {
2685
+ "compartmentId": listImportableAgentEntitiesRequest.compartmentId,
2686
+ "limit": listImportableAgentEntitiesRequest.limit,
2687
+ "page": listImportableAgentEntitiesRequest.page,
2688
+ "sortOrder": listImportableAgentEntitiesRequest.sortOrder,
2689
+ "sortBy": listImportableAgentEntitiesRequest.sortBy
2690
+ };
2691
+ let headerParams = {
2692
+ "Content-Type": common.Constants.APPLICATION_JSON,
2693
+ "opc-request-id": listImportableAgentEntitiesRequest.opcRequestId
2694
+ };
2695
+ const specRetryConfiguration = common.NoRetryConfigurationDetails;
2696
+ const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listImportableAgentEntitiesRequest.retryConfiguration, specRetryConfiguration);
2697
+ if (this.logger)
2698
+ retrier.logger = this.logger;
2699
+ const request = yield oci_common_1.composeRequest({
2700
+ baseEndpoint: this._endpoint,
2701
+ defaultHeaders: this._defaultHeaders,
2702
+ path: "/importableAgentEntities",
2703
+ method: "GET",
2704
+ pathParams: pathParams,
2705
+ headerParams: headerParams,
2706
+ queryParams: queryParams
2707
+ });
2708
+ try {
2709
+ const response = yield retrier.makeServiceCall(this._httpClient, request);
2710
+ const sdkResponse = oci_common_1.composeResponse({
2711
+ responseObject: {},
2712
+ body: yield response.json(),
2713
+ bodyKey: "importableAgentEntitySummaryCollection",
2714
+ bodyModel: model.ImportableAgentEntitySummaryCollection,
2715
+ type: "model.ImportableAgentEntitySummaryCollection",
2716
+ responseHeaders: [
2717
+ {
2718
+ value: response.headers.get("opc-request-id"),
2719
+ key: "opcRequestId",
2720
+ dataType: "string"
2721
+ },
2722
+ {
2723
+ value: response.headers.get("opc-next-page"),
2724
+ key: "opcNextPage",
2725
+ dataType: "string"
2726
+ }
2727
+ ]
2728
+ });
2729
+ return sdkResponse;
2730
+ }
2731
+ catch (err) {
2732
+ throw err;
2733
+ }
2734
+ });
2735
+ }
2736
+ /**
2737
+ * Gets a list of importable entities for an Operations Insights Enterprise Manager bridge that have not been imported before.
2738
+ *
2739
+ * This operation does not retry by default if the user has not defined a retry configuration.
2740
+ * @param ListImportableEnterpriseManagerEntitiesRequest
2741
+ * @return ListImportableEnterpriseManagerEntitiesResponse
2742
+ * @throws OciError when an error occurs
2743
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.1/opsi/ListImportableEnterpriseManagerEntities.ts.html |here} to see how to use ListImportableEnterpriseManagerEntities API.
2744
+ */
2745
+ listImportableEnterpriseManagerEntities(listImportableEnterpriseManagerEntitiesRequest) {
2746
+ return __awaiter(this, void 0, void 0, function* () {
2747
+ if (this.logger)
2748
+ this.logger.debug("Calling operation OperationsInsightsClient#listImportableEnterpriseManagerEntities.");
2749
+ const pathParams = {
2750
+ "{enterpriseManagerBridgeId}": listImportableEnterpriseManagerEntitiesRequest.enterpriseManagerBridgeId
2751
+ };
2752
+ const queryParams = {
2753
+ "limit": listImportableEnterpriseManagerEntitiesRequest.limit,
2754
+ "page": listImportableEnterpriseManagerEntitiesRequest.page,
2755
+ "enterpriseManagerEntityType": listImportableEnterpriseManagerEntitiesRequest.enterpriseManagerEntityType,
2756
+ "enterpriseManagerIdentifier": listImportableEnterpriseManagerEntitiesRequest.enterpriseManagerIdentifier,
2757
+ "enterpriseManagerParentEntityIdentifier": listImportableEnterpriseManagerEntitiesRequest.enterpriseManagerParentEntityIdentifier
2758
+ };
2759
+ let headerParams = {
2760
+ "Content-Type": common.Constants.APPLICATION_JSON,
2761
+ "opc-request-id": listImportableEnterpriseManagerEntitiesRequest.opcRequestId
2762
+ };
2763
+ const specRetryConfiguration = common.NoRetryConfigurationDetails;
2764
+ const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listImportableEnterpriseManagerEntitiesRequest.retryConfiguration, specRetryConfiguration);
2765
+ if (this.logger)
2766
+ retrier.logger = this.logger;
2767
+ const request = yield oci_common_1.composeRequest({
2768
+ baseEndpoint: this._endpoint,
2769
+ defaultHeaders: this._defaultHeaders,
2770
+ path: "/enterpriseManagerBridges/{enterpriseManagerBridgeId}/importableEnterpriseManagerEntities",
2771
+ method: "GET",
2772
+ pathParams: pathParams,
2773
+ headerParams: headerParams,
2774
+ queryParams: queryParams
2775
+ });
2776
+ try {
2777
+ const response = yield retrier.makeServiceCall(this._httpClient, request);
2778
+ const sdkResponse = oci_common_1.composeResponse({
2779
+ responseObject: {},
2780
+ body: yield response.json(),
2781
+ bodyKey: "importableEnterpriseManagerEntityCollection",
2782
+ bodyModel: model.ImportableEnterpriseManagerEntityCollection,
2783
+ type: "model.ImportableEnterpriseManagerEntityCollection",
2784
+ responseHeaders: [
2785
+ {
2786
+ value: response.headers.get("opc-request-id"),
2787
+ key: "opcRequestId",
2788
+ dataType: "string"
2789
+ },
2790
+ {
2791
+ value: response.headers.get("opc-next-page"),
2792
+ key: "opcNextPage",
2793
+ dataType: "string"
2794
+ }
2795
+ ]
2796
+ });
2797
+ return sdkResponse;
2798
+ }
2799
+ catch (err) {
2800
+ throw err;
2801
+ }
2802
+ });
2803
+ }
2804
+ /**
2805
+ * Query SQL Warehouse to list the plan xml for a given SQL execution plan. This returns a SqlPlanCollection object, but is currently limited to a single plan.
2806
+ * Either databaseId or id must be specified.
2807
+ *
2808
+ * This operation does not retry by default if the user has not defined a retry configuration.
2809
+ * @param ListSqlPlansRequest
2810
+ * @return ListSqlPlansResponse
2811
+ * @throws OciError when an error occurs
2812
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.1/opsi/ListSqlPlans.ts.html |here} to see how to use ListSqlPlans API.
2813
+ */
2814
+ listSqlPlans(listSqlPlansRequest) {
2815
+ return __awaiter(this, void 0, void 0, function* () {
2816
+ if (this.logger)
2817
+ this.logger.debug("Calling operation OperationsInsightsClient#listSqlPlans.");
2818
+ const pathParams = {};
2819
+ const queryParams = {
2820
+ "compartmentId": listSqlPlansRequest.compartmentId,
2821
+ "databaseId": listSqlPlansRequest.databaseId,
2822
+ "id": listSqlPlansRequest.id,
2823
+ "sqlIdentifier": listSqlPlansRequest.sqlIdentifier,
2824
+ "planHash": listSqlPlansRequest.planHash,
2825
+ "page": listSqlPlansRequest.page
2826
+ };
2827
+ let headerParams = {
2828
+ "Content-Type": common.Constants.APPLICATION_JSON,
2829
+ "opc-request-id": listSqlPlansRequest.opcRequestId
2830
+ };
2831
+ const specRetryConfiguration = common.NoRetryConfigurationDetails;
2832
+ const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listSqlPlansRequest.retryConfiguration, specRetryConfiguration);
2833
+ if (this.logger)
2834
+ retrier.logger = this.logger;
2835
+ const request = yield oci_common_1.composeRequest({
2836
+ baseEndpoint: this._endpoint,
2837
+ defaultHeaders: this._defaultHeaders,
2838
+ path: "/databaseInsights/sqlPlans",
2839
+ method: "GET",
2840
+ pathParams: pathParams,
2841
+ headerParams: headerParams,
2842
+ queryParams: queryParams
2843
+ });
2844
+ try {
2845
+ const response = yield retrier.makeServiceCall(this._httpClient, request);
2846
+ const sdkResponse = oci_common_1.composeResponse({
2847
+ responseObject: {},
2848
+ body: yield response.json(),
2849
+ bodyKey: "sqlPlanCollection",
2850
+ bodyModel: model.SqlPlanCollection,
2851
+ type: "model.SqlPlanCollection",
2852
+ responseHeaders: [
2853
+ {
2854
+ value: response.headers.get("opc-request-id"),
2855
+ key: "opcRequestId",
2856
+ dataType: "string"
2857
+ },
2858
+ {
2859
+ value: response.headers.get("opc-next-page"),
2860
+ key: "opcNextPage",
2861
+ dataType: "string"
2862
+ }
2863
+ ]
2864
+ });
2865
+ return sdkResponse;
2866
+ }
2867
+ catch (err) {
2868
+ throw err;
2869
+ }
2870
+ });
2871
+ }
2872
+ /**
2873
+ * Search SQL by SQL Identifier across databases and get the SQL Text and the details of the databases executing the SQL for a given time period.
2874
+ *
2875
+ * This operation does not retry by default if the user has not defined a retry configuration.
2876
+ * @param ListSqlSearchesRequest
2119
2877
  * @return ListSqlSearchesResponse
2120
2878
  * @throws OciError when an error occurs
2121
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.5.0/opsi/ListSqlSearches.ts.html |here} to see how to use ListSqlSearches API.
2879
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.1/opsi/ListSqlSearches.ts.html |here} to see how to use ListSqlSearches API.
2122
2880
  */
2123
2881
  listSqlSearches(listSqlSearchesRequest) {
2124
2882
  return __awaiter(this, void 0, void 0, function* () {
@@ -2141,7 +2899,8 @@ class OperationsInsightsClient {
2141
2899
  "Content-Type": common.Constants.APPLICATION_JSON,
2142
2900
  "opc-request-id": listSqlSearchesRequest.opcRequestId
2143
2901
  };
2144
- const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : {}, listSqlSearchesRequest.retryConfiguration);
2902
+ const specRetryConfiguration = common.NoRetryConfigurationDetails;
2903
+ const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listSqlSearchesRequest.retryConfiguration, specRetryConfiguration);
2145
2904
  if (this.logger)
2146
2905
  retrier.logger = this.logger;
2147
2906
  const request = yield oci_common_1.composeRequest({
@@ -2183,10 +2942,12 @@ class OperationsInsightsClient {
2183
2942
  }
2184
2943
  /**
2185
2944
  * Query SQL Warehouse to get the full SQL Text for a SQL.
2945
+ *
2946
+ * This operation does not retry by default if the user has not defined a retry configuration.
2186
2947
  * @param ListSqlTextsRequest
2187
2948
  * @return ListSqlTextsResponse
2188
2949
  * @throws OciError when an error occurs
2189
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.5.0/opsi/ListSqlTexts.ts.html |here} to see how to use ListSqlTexts API.
2950
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.1/opsi/ListSqlTexts.ts.html |here} to see how to use ListSqlTexts API.
2190
2951
  */
2191
2952
  listSqlTexts(listSqlTextsRequest) {
2192
2953
  return __awaiter(this, void 0, void 0, function* () {
@@ -2208,7 +2969,8 @@ class OperationsInsightsClient {
2208
2969
  "Content-Type": common.Constants.APPLICATION_JSON,
2209
2970
  "opc-request-id": listSqlTextsRequest.opcRequestId
2210
2971
  };
2211
- const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : {}, listSqlTextsRequest.retryConfiguration);
2972
+ const specRetryConfiguration = common.NoRetryConfigurationDetails;
2973
+ const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listSqlTextsRequest.retryConfiguration, specRetryConfiguration);
2212
2974
  if (this.logger)
2213
2975
  retrier.logger = this.logger;
2214
2976
  const request = yield oci_common_1.composeRequest({
@@ -2251,10 +3013,11 @@ class OperationsInsightsClient {
2251
3013
  /**
2252
3014
  * Return a (paginated) list of errors for a given work request.
2253
3015
  *
3016
+ * This operation does not retry by default if the user has not defined a retry configuration.
2254
3017
  * @param ListWorkRequestErrorsRequest
2255
3018
  * @return ListWorkRequestErrorsResponse
2256
3019
  * @throws OciError when an error occurs
2257
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.5.0/opsi/ListWorkRequestErrors.ts.html |here} to see how to use ListWorkRequestErrors API.
3020
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.1/opsi/ListWorkRequestErrors.ts.html |here} to see how to use ListWorkRequestErrors API.
2258
3021
  */
2259
3022
  listWorkRequestErrors(listWorkRequestErrorsRequest) {
2260
3023
  return __awaiter(this, void 0, void 0, function* () {
@@ -2265,13 +3028,16 @@ class OperationsInsightsClient {
2265
3028
  };
2266
3029
  const queryParams = {
2267
3030
  "page": listWorkRequestErrorsRequest.page,
2268
- "limit": listWorkRequestErrorsRequest.limit
3031
+ "limit": listWorkRequestErrorsRequest.limit,
3032
+ "sortBy": listWorkRequestErrorsRequest.sortBy,
3033
+ "sortOrder": listWorkRequestErrorsRequest.sortOrder
2269
3034
  };
2270
3035
  let headerParams = {
2271
3036
  "Content-Type": common.Constants.APPLICATION_JSON,
2272
3037
  "opc-request-id": listWorkRequestErrorsRequest.opcRequestId
2273
3038
  };
2274
- const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : {}, listWorkRequestErrorsRequest.retryConfiguration);
3039
+ const specRetryConfiguration = common.NoRetryConfigurationDetails;
3040
+ const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listWorkRequestErrorsRequest.retryConfiguration, specRetryConfiguration);
2275
3041
  if (this.logger)
2276
3042
  retrier.logger = this.logger;
2277
3043
  const request = yield oci_common_1.composeRequest({
@@ -2314,10 +3080,11 @@ class OperationsInsightsClient {
2314
3080
  /**
2315
3081
  * Return a (paginated) list of logs for a given work request.
2316
3082
  *
3083
+ * This operation does not retry by default if the user has not defined a retry configuration.
2317
3084
  * @param ListWorkRequestLogsRequest
2318
3085
  * @return ListWorkRequestLogsResponse
2319
3086
  * @throws OciError when an error occurs
2320
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.5.0/opsi/ListWorkRequestLogs.ts.html |here} to see how to use ListWorkRequestLogs API.
3087
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.1/opsi/ListWorkRequestLogs.ts.html |here} to see how to use ListWorkRequestLogs API.
2321
3088
  */
2322
3089
  listWorkRequestLogs(listWorkRequestLogsRequest) {
2323
3090
  return __awaiter(this, void 0, void 0, function* () {
@@ -2328,13 +3095,16 @@ class OperationsInsightsClient {
2328
3095
  };
2329
3096
  const queryParams = {
2330
3097
  "page": listWorkRequestLogsRequest.page,
2331
- "limit": listWorkRequestLogsRequest.limit
3098
+ "limit": listWorkRequestLogsRequest.limit,
3099
+ "sortBy": listWorkRequestLogsRequest.sortBy,
3100
+ "sortOrder": listWorkRequestLogsRequest.sortOrder
2332
3101
  };
2333
3102
  let headerParams = {
2334
3103
  "Content-Type": common.Constants.APPLICATION_JSON,
2335
3104
  "opc-request-id": listWorkRequestLogsRequest.opcRequestId
2336
3105
  };
2337
- const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : {}, listWorkRequestLogsRequest.retryConfiguration);
3106
+ const specRetryConfiguration = common.NoRetryConfigurationDetails;
3107
+ const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listWorkRequestLogsRequest.retryConfiguration, specRetryConfiguration);
2338
3108
  if (this.logger)
2339
3109
  retrier.logger = this.logger;
2340
3110
  const request = yield oci_common_1.composeRequest({
@@ -2375,12 +3145,13 @@ class OperationsInsightsClient {
2375
3145
  });
2376
3146
  }
2377
3147
  /**
2378
- * Lists the work requests in a compartment.
3148
+ * Lists the work requests in a compartment. Either compartmentId or id must be specified. Only one of id, resourceId or relatedResourceId can be specified optionally.
2379
3149
  *
3150
+ * This operation does not retry by default if the user has not defined a retry configuration.
2380
3151
  * @param ListWorkRequestsRequest
2381
3152
  * @return ListWorkRequestsResponse
2382
3153
  * @throws OciError when an error occurs
2383
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.5.0/opsi/ListWorkRequests.ts.html |here} to see how to use ListWorkRequests API.
3154
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.1/opsi/ListWorkRequests.ts.html |here} to see how to use ListWorkRequests API.
2384
3155
  */
2385
3156
  listWorkRequests(listWorkRequestsRequest) {
2386
3157
  return __awaiter(this, void 0, void 0, function* () {
@@ -2388,15 +3159,22 @@ class OperationsInsightsClient {
2388
3159
  this.logger.debug("Calling operation OperationsInsightsClient#listWorkRequests.");
2389
3160
  const pathParams = {};
2390
3161
  const queryParams = {
2391
- "compartmentId": listWorkRequestsRequest.compartmentId,
2392
3162
  "page": listWorkRequestsRequest.page,
2393
- "limit": listWorkRequestsRequest.limit
3163
+ "limit": listWorkRequestsRequest.limit,
3164
+ "compartmentId": listWorkRequestsRequest.compartmentId,
3165
+ "id": listWorkRequestsRequest.id,
3166
+ "status": listWorkRequestsRequest.status,
3167
+ "resourceId": listWorkRequestsRequest.resourceId,
3168
+ "relatedResourceId": listWorkRequestsRequest.relatedResourceId,
3169
+ "sortOrder": listWorkRequestsRequest.sortOrder,
3170
+ "sortBy": listWorkRequestsRequest.sortBy
2394
3171
  };
2395
3172
  let headerParams = {
2396
3173
  "Content-Type": common.Constants.APPLICATION_JSON,
2397
3174
  "opc-request-id": listWorkRequestsRequest.opcRequestId
2398
3175
  };
2399
- const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : {}, listWorkRequestsRequest.retryConfiguration);
3176
+ const specRetryConfiguration = common.NoRetryConfigurationDetails;
3177
+ const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listWorkRequestsRequest.retryConfiguration, specRetryConfiguration);
2400
3178
  if (this.logger)
2401
3179
  retrier.logger = this.logger;
2402
3180
  const request = yield oci_common_1.composeRequest({
@@ -2440,48 +3218,786 @@ class OperationsInsightsClient {
2440
3218
  * Returns response with time series data (endTimestamp, capacity, baseCapacity) for the time period specified.
2441
3219
  * The maximum time range for analysis is 2 years, hence this is intentionally not paginated.
2442
3220
  *
3221
+ * This operation does not retry by default if the user has not defined a retry configuration.
2443
3222
  * @param SummarizeDatabaseInsightResourceCapacityTrendRequest
2444
3223
  * @return SummarizeDatabaseInsightResourceCapacityTrendResponse
2445
3224
  * @throws OciError when an error occurs
2446
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.5.0/opsi/SummarizeDatabaseInsightResourceCapacityTrend.ts.html |here} to see how to use SummarizeDatabaseInsightResourceCapacityTrend API.
3225
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.1/opsi/SummarizeDatabaseInsightResourceCapacityTrend.ts.html |here} to see how to use SummarizeDatabaseInsightResourceCapacityTrend API.
3226
+ */
3227
+ summarizeDatabaseInsightResourceCapacityTrend(summarizeDatabaseInsightResourceCapacityTrendRequest) {
3228
+ return __awaiter(this, void 0, void 0, function* () {
3229
+ if (this.logger)
3230
+ this.logger.debug("Calling operation OperationsInsightsClient#summarizeDatabaseInsightResourceCapacityTrend.");
3231
+ const pathParams = {};
3232
+ const queryParams = {
3233
+ "compartmentId": summarizeDatabaseInsightResourceCapacityTrendRequest.compartmentId,
3234
+ "resourceMetric": summarizeDatabaseInsightResourceCapacityTrendRequest.resourceMetric,
3235
+ "analysisTimeInterval": summarizeDatabaseInsightResourceCapacityTrendRequest.analysisTimeInterval,
3236
+ "timeIntervalStart": summarizeDatabaseInsightResourceCapacityTrendRequest.timeIntervalStart,
3237
+ "timeIntervalEnd": summarizeDatabaseInsightResourceCapacityTrendRequest.timeIntervalEnd,
3238
+ "databaseType": summarizeDatabaseInsightResourceCapacityTrendRequest.databaseType,
3239
+ "databaseId": summarizeDatabaseInsightResourceCapacityTrendRequest.databaseId,
3240
+ "id": summarizeDatabaseInsightResourceCapacityTrendRequest.id,
3241
+ "exadataInsightId": summarizeDatabaseInsightResourceCapacityTrendRequest.exadataInsightId,
3242
+ "cdbName": summarizeDatabaseInsightResourceCapacityTrendRequest.cdbName,
3243
+ "utilizationLevel": summarizeDatabaseInsightResourceCapacityTrendRequest.utilizationLevel,
3244
+ "page": summarizeDatabaseInsightResourceCapacityTrendRequest.page,
3245
+ "sortOrder": summarizeDatabaseInsightResourceCapacityTrendRequest.sortOrder,
3246
+ "sortBy": summarizeDatabaseInsightResourceCapacityTrendRequest.sortBy,
3247
+ "tablespaceName": summarizeDatabaseInsightResourceCapacityTrendRequest.tablespaceName,
3248
+ "hostName": summarizeDatabaseInsightResourceCapacityTrendRequest.hostName,
3249
+ "isDatabaseInstanceLevelMetrics": summarizeDatabaseInsightResourceCapacityTrendRequest.isDatabaseInstanceLevelMetrics,
3250
+ "definedTagEquals": summarizeDatabaseInsightResourceCapacityTrendRequest.definedTagEquals,
3251
+ "freeformTagEquals": summarizeDatabaseInsightResourceCapacityTrendRequest.freeformTagEquals,
3252
+ "definedTagExists": summarizeDatabaseInsightResourceCapacityTrendRequest.definedTagExists,
3253
+ "freeformTagExists": summarizeDatabaseInsightResourceCapacityTrendRequest.freeformTagExists
3254
+ };
3255
+ let headerParams = {
3256
+ "Content-Type": common.Constants.APPLICATION_JSON,
3257
+ "opc-request-id": summarizeDatabaseInsightResourceCapacityTrendRequest.opcRequestId
3258
+ };
3259
+ const specRetryConfiguration = common.NoRetryConfigurationDetails;
3260
+ const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, summarizeDatabaseInsightResourceCapacityTrendRequest.retryConfiguration, specRetryConfiguration);
3261
+ if (this.logger)
3262
+ retrier.logger = this.logger;
3263
+ const request = yield oci_common_1.composeRequest({
3264
+ baseEndpoint: this._endpoint,
3265
+ defaultHeaders: this._defaultHeaders,
3266
+ path: "/databaseInsights/resourceCapacityTrend",
3267
+ method: "GET",
3268
+ pathParams: pathParams,
3269
+ headerParams: headerParams,
3270
+ queryParams: queryParams
3271
+ });
3272
+ try {
3273
+ const response = yield retrier.makeServiceCall(this._httpClient, request);
3274
+ const sdkResponse = oci_common_1.composeResponse({
3275
+ responseObject: {},
3276
+ body: yield response.json(),
3277
+ bodyKey: "summarizeDatabaseInsightResourceCapacityTrendAggregationCollection",
3278
+ bodyModel: model.SummarizeDatabaseInsightResourceCapacityTrendAggregationCollection,
3279
+ type: "model.SummarizeDatabaseInsightResourceCapacityTrendAggregationCollection",
3280
+ responseHeaders: [
3281
+ {
3282
+ value: response.headers.get("opc-request-id"),
3283
+ key: "opcRequestId",
3284
+ dataType: "string"
3285
+ },
3286
+ {
3287
+ value: response.headers.get("opc-next-page"),
3288
+ key: "opcNextPage",
3289
+ dataType: "string"
3290
+ }
3291
+ ]
3292
+ });
3293
+ return sdkResponse;
3294
+ }
3295
+ catch (err) {
3296
+ throw err;
3297
+ }
3298
+ });
3299
+ }
3300
+ /**
3301
+ * Get Forecast predictions for CPU and Storage resources since a time in the past.
3302
+ *
3303
+ * This operation does not retry by default if the user has not defined a retry configuration.
3304
+ * @param SummarizeDatabaseInsightResourceForecastTrendRequest
3305
+ * @return SummarizeDatabaseInsightResourceForecastTrendResponse
3306
+ * @throws OciError when an error occurs
3307
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.1/opsi/SummarizeDatabaseInsightResourceForecastTrend.ts.html |here} to see how to use SummarizeDatabaseInsightResourceForecastTrend API.
3308
+ */
3309
+ summarizeDatabaseInsightResourceForecastTrend(summarizeDatabaseInsightResourceForecastTrendRequest) {
3310
+ return __awaiter(this, void 0, void 0, function* () {
3311
+ if (this.logger)
3312
+ this.logger.debug("Calling operation OperationsInsightsClient#summarizeDatabaseInsightResourceForecastTrend.");
3313
+ const pathParams = {};
3314
+ const queryParams = {
3315
+ "compartmentId": summarizeDatabaseInsightResourceForecastTrendRequest.compartmentId,
3316
+ "resourceMetric": summarizeDatabaseInsightResourceForecastTrendRequest.resourceMetric,
3317
+ "analysisTimeInterval": summarizeDatabaseInsightResourceForecastTrendRequest.analysisTimeInterval,
3318
+ "timeIntervalStart": summarizeDatabaseInsightResourceForecastTrendRequest.timeIntervalStart,
3319
+ "timeIntervalEnd": summarizeDatabaseInsightResourceForecastTrendRequest.timeIntervalEnd,
3320
+ "databaseType": summarizeDatabaseInsightResourceForecastTrendRequest.databaseType,
3321
+ "databaseId": summarizeDatabaseInsightResourceForecastTrendRequest.databaseId,
3322
+ "id": summarizeDatabaseInsightResourceForecastTrendRequest.id,
3323
+ "exadataInsightId": summarizeDatabaseInsightResourceForecastTrendRequest.exadataInsightId,
3324
+ "cdbName": summarizeDatabaseInsightResourceForecastTrendRequest.cdbName,
3325
+ "statistic": summarizeDatabaseInsightResourceForecastTrendRequest.statistic,
3326
+ "forecastDays": summarizeDatabaseInsightResourceForecastTrendRequest.forecastDays,
3327
+ "forecastModel": summarizeDatabaseInsightResourceForecastTrendRequest.forecastModel,
3328
+ "utilizationLevel": summarizeDatabaseInsightResourceForecastTrendRequest.utilizationLevel,
3329
+ "confidence": summarizeDatabaseInsightResourceForecastTrendRequest.confidence,
3330
+ "page": summarizeDatabaseInsightResourceForecastTrendRequest.page,
3331
+ "hostName": summarizeDatabaseInsightResourceForecastTrendRequest.hostName,
3332
+ "tablespaceName": summarizeDatabaseInsightResourceForecastTrendRequest.tablespaceName,
3333
+ "isDatabaseInstanceLevelMetrics": summarizeDatabaseInsightResourceForecastTrendRequest.isDatabaseInstanceLevelMetrics,
3334
+ "definedTagEquals": summarizeDatabaseInsightResourceForecastTrendRequest.definedTagEquals,
3335
+ "freeformTagEquals": summarizeDatabaseInsightResourceForecastTrendRequest.freeformTagEquals,
3336
+ "definedTagExists": summarizeDatabaseInsightResourceForecastTrendRequest.definedTagExists,
3337
+ "freeformTagExists": summarizeDatabaseInsightResourceForecastTrendRequest.freeformTagExists
3338
+ };
3339
+ let headerParams = {
3340
+ "Content-Type": common.Constants.APPLICATION_JSON,
3341
+ "opc-request-id": summarizeDatabaseInsightResourceForecastTrendRequest.opcRequestId
3342
+ };
3343
+ const specRetryConfiguration = common.NoRetryConfigurationDetails;
3344
+ const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, summarizeDatabaseInsightResourceForecastTrendRequest.retryConfiguration, specRetryConfiguration);
3345
+ if (this.logger)
3346
+ retrier.logger = this.logger;
3347
+ const request = yield oci_common_1.composeRequest({
3348
+ baseEndpoint: this._endpoint,
3349
+ defaultHeaders: this._defaultHeaders,
3350
+ path: "/databaseInsights/resourceForecastTrend",
3351
+ method: "GET",
3352
+ pathParams: pathParams,
3353
+ headerParams: headerParams,
3354
+ queryParams: queryParams
3355
+ });
3356
+ try {
3357
+ const response = yield retrier.makeServiceCall(this._httpClient, request);
3358
+ const sdkResponse = oci_common_1.composeResponse({
3359
+ responseObject: {},
3360
+ body: yield response.json(),
3361
+ bodyKey: "summarizeDatabaseInsightResourceForecastTrendAggregation",
3362
+ bodyModel: model.SummarizeDatabaseInsightResourceForecastTrendAggregation,
3363
+ type: "model.SummarizeDatabaseInsightResourceForecastTrendAggregation",
3364
+ responseHeaders: [
3365
+ {
3366
+ value: response.headers.get("opc-request-id"),
3367
+ key: "opcRequestId",
3368
+ dataType: "string"
3369
+ },
3370
+ {
3371
+ value: response.headers.get("opc-next-page"),
3372
+ key: "opcNextPage",
3373
+ dataType: "string"
3374
+ }
3375
+ ]
3376
+ });
3377
+ return sdkResponse;
3378
+ }
3379
+ catch (err) {
3380
+ throw err;
3381
+ }
3382
+ });
3383
+ }
3384
+ /**
3385
+ * Lists the Resource statistics (usage,capacity, usage change percent, utilization percent, base capacity, isAutoScalingEnabled)
3386
+ * for each database filtered by utilization level.
3387
+ *
3388
+ * This operation does not retry by default if the user has not defined a retry configuration.
3389
+ * @param SummarizeDatabaseInsightResourceStatisticsRequest
3390
+ * @return SummarizeDatabaseInsightResourceStatisticsResponse
3391
+ * @throws OciError when an error occurs
3392
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.1/opsi/SummarizeDatabaseInsightResourceStatistics.ts.html |here} to see how to use SummarizeDatabaseInsightResourceStatistics API.
3393
+ */
3394
+ summarizeDatabaseInsightResourceStatistics(summarizeDatabaseInsightResourceStatisticsRequest) {
3395
+ return __awaiter(this, void 0, void 0, function* () {
3396
+ if (this.logger)
3397
+ this.logger.debug("Calling operation OperationsInsightsClient#summarizeDatabaseInsightResourceStatistics.");
3398
+ const pathParams = {};
3399
+ const queryParams = {
3400
+ "compartmentId": summarizeDatabaseInsightResourceStatisticsRequest.compartmentId,
3401
+ "resourceMetric": summarizeDatabaseInsightResourceStatisticsRequest.resourceMetric,
3402
+ "analysisTimeInterval": summarizeDatabaseInsightResourceStatisticsRequest.analysisTimeInterval,
3403
+ "timeIntervalStart": summarizeDatabaseInsightResourceStatisticsRequest.timeIntervalStart,
3404
+ "timeIntervalEnd": summarizeDatabaseInsightResourceStatisticsRequest.timeIntervalEnd,
3405
+ "databaseType": summarizeDatabaseInsightResourceStatisticsRequest.databaseType,
3406
+ "databaseId": summarizeDatabaseInsightResourceStatisticsRequest.databaseId,
3407
+ "id": summarizeDatabaseInsightResourceStatisticsRequest.id,
3408
+ "exadataInsightId": summarizeDatabaseInsightResourceStatisticsRequest.exadataInsightId,
3409
+ "cdbName": summarizeDatabaseInsightResourceStatisticsRequest.cdbName,
3410
+ "percentile": summarizeDatabaseInsightResourceStatisticsRequest.percentile,
3411
+ "insightBy": summarizeDatabaseInsightResourceStatisticsRequest.insightBy,
3412
+ "forecastDays": summarizeDatabaseInsightResourceStatisticsRequest.forecastDays,
3413
+ "limit": summarizeDatabaseInsightResourceStatisticsRequest.limit,
3414
+ "page": summarizeDatabaseInsightResourceStatisticsRequest.page,
3415
+ "sortOrder": summarizeDatabaseInsightResourceStatisticsRequest.sortOrder,
3416
+ "sortBy": summarizeDatabaseInsightResourceStatisticsRequest.sortBy,
3417
+ "hostName": summarizeDatabaseInsightResourceStatisticsRequest.hostName,
3418
+ "isDatabaseInstanceLevelMetrics": summarizeDatabaseInsightResourceStatisticsRequest.isDatabaseInstanceLevelMetrics,
3419
+ "definedTagEquals": summarizeDatabaseInsightResourceStatisticsRequest.definedTagEquals,
3420
+ "freeformTagEquals": summarizeDatabaseInsightResourceStatisticsRequest.freeformTagEquals,
3421
+ "definedTagExists": summarizeDatabaseInsightResourceStatisticsRequest.definedTagExists,
3422
+ "freeformTagExists": summarizeDatabaseInsightResourceStatisticsRequest.freeformTagExists
3423
+ };
3424
+ let headerParams = {
3425
+ "Content-Type": common.Constants.APPLICATION_JSON,
3426
+ "opc-request-id": summarizeDatabaseInsightResourceStatisticsRequest.opcRequestId
3427
+ };
3428
+ const specRetryConfiguration = common.NoRetryConfigurationDetails;
3429
+ const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, summarizeDatabaseInsightResourceStatisticsRequest.retryConfiguration, specRetryConfiguration);
3430
+ if (this.logger)
3431
+ retrier.logger = this.logger;
3432
+ const request = yield oci_common_1.composeRequest({
3433
+ baseEndpoint: this._endpoint,
3434
+ defaultHeaders: this._defaultHeaders,
3435
+ path: "/databaseInsights/resourceStatistics",
3436
+ method: "GET",
3437
+ pathParams: pathParams,
3438
+ headerParams: headerParams,
3439
+ queryParams: queryParams
3440
+ });
3441
+ try {
3442
+ const response = yield retrier.makeServiceCall(this._httpClient, request);
3443
+ const sdkResponse = oci_common_1.composeResponse({
3444
+ responseObject: {},
3445
+ body: yield response.json(),
3446
+ bodyKey: "summarizeDatabaseInsightResourceStatisticsAggregationCollection",
3447
+ bodyModel: model.SummarizeDatabaseInsightResourceStatisticsAggregationCollection,
3448
+ type: "model.SummarizeDatabaseInsightResourceStatisticsAggregationCollection",
3449
+ responseHeaders: [
3450
+ {
3451
+ value: response.headers.get("opc-request-id"),
3452
+ key: "opcRequestId",
3453
+ dataType: "string"
3454
+ },
3455
+ {
3456
+ value: response.headers.get("opc-next-page"),
3457
+ key: "opcNextPage",
3458
+ dataType: "string"
3459
+ }
3460
+ ]
3461
+ });
3462
+ return sdkResponse;
3463
+ }
3464
+ catch (err) {
3465
+ throw err;
3466
+ }
3467
+ });
3468
+ }
3469
+ /**
3470
+ * A cumulative distribution function is used to rank the usage data points per database within the specified time period.
3471
+ * For each database, the minimum data point with a ranking > the percentile value is included in the summation.
3472
+ * Linear regression functions are used to calculate the usage change percentage.
3473
+ *
3474
+ * This operation does not retry by default if the user has not defined a retry configuration.
3475
+ * @param SummarizeDatabaseInsightResourceUsageRequest
3476
+ * @return SummarizeDatabaseInsightResourceUsageResponse
3477
+ * @throws OciError when an error occurs
3478
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.1/opsi/SummarizeDatabaseInsightResourceUsage.ts.html |here} to see how to use SummarizeDatabaseInsightResourceUsage API.
3479
+ */
3480
+ summarizeDatabaseInsightResourceUsage(summarizeDatabaseInsightResourceUsageRequest) {
3481
+ return __awaiter(this, void 0, void 0, function* () {
3482
+ if (this.logger)
3483
+ this.logger.debug("Calling operation OperationsInsightsClient#summarizeDatabaseInsightResourceUsage.");
3484
+ const pathParams = {};
3485
+ const queryParams = {
3486
+ "compartmentId": summarizeDatabaseInsightResourceUsageRequest.compartmentId,
3487
+ "resourceMetric": summarizeDatabaseInsightResourceUsageRequest.resourceMetric,
3488
+ "analysisTimeInterval": summarizeDatabaseInsightResourceUsageRequest.analysisTimeInterval,
3489
+ "timeIntervalStart": summarizeDatabaseInsightResourceUsageRequest.timeIntervalStart,
3490
+ "timeIntervalEnd": summarizeDatabaseInsightResourceUsageRequest.timeIntervalEnd,
3491
+ "databaseType": summarizeDatabaseInsightResourceUsageRequest.databaseType,
3492
+ "databaseId": summarizeDatabaseInsightResourceUsageRequest.databaseId,
3493
+ "id": summarizeDatabaseInsightResourceUsageRequest.id,
3494
+ "exadataInsightId": summarizeDatabaseInsightResourceUsageRequest.exadataInsightId,
3495
+ "hostName": summarizeDatabaseInsightResourceUsageRequest.hostName,
3496
+ "isDatabaseInstanceLevelMetrics": summarizeDatabaseInsightResourceUsageRequest.isDatabaseInstanceLevelMetrics,
3497
+ "page": summarizeDatabaseInsightResourceUsageRequest.page,
3498
+ "percentile": summarizeDatabaseInsightResourceUsageRequest.percentile,
3499
+ "definedTagEquals": summarizeDatabaseInsightResourceUsageRequest.definedTagEquals,
3500
+ "freeformTagEquals": summarizeDatabaseInsightResourceUsageRequest.freeformTagEquals,
3501
+ "definedTagExists": summarizeDatabaseInsightResourceUsageRequest.definedTagExists,
3502
+ "freeformTagExists": summarizeDatabaseInsightResourceUsageRequest.freeformTagExists
3503
+ };
3504
+ let headerParams = {
3505
+ "Content-Type": common.Constants.APPLICATION_JSON,
3506
+ "opc-request-id": summarizeDatabaseInsightResourceUsageRequest.opcRequestId
3507
+ };
3508
+ const specRetryConfiguration = common.NoRetryConfigurationDetails;
3509
+ const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, summarizeDatabaseInsightResourceUsageRequest.retryConfiguration, specRetryConfiguration);
3510
+ if (this.logger)
3511
+ retrier.logger = this.logger;
3512
+ const request = yield oci_common_1.composeRequest({
3513
+ baseEndpoint: this._endpoint,
3514
+ defaultHeaders: this._defaultHeaders,
3515
+ path: "/databaseInsights/resourceUsageSummary",
3516
+ method: "GET",
3517
+ pathParams: pathParams,
3518
+ headerParams: headerParams,
3519
+ queryParams: queryParams
3520
+ });
3521
+ try {
3522
+ const response = yield retrier.makeServiceCall(this._httpClient, request);
3523
+ const sdkResponse = oci_common_1.composeResponse({
3524
+ responseObject: {},
3525
+ body: yield response.json(),
3526
+ bodyKey: "summarizeDatabaseInsightResourceUsageAggregation",
3527
+ bodyModel: model.SummarizeDatabaseInsightResourceUsageAggregation,
3528
+ type: "model.SummarizeDatabaseInsightResourceUsageAggregation",
3529
+ responseHeaders: [
3530
+ {
3531
+ value: response.headers.get("opc-request-id"),
3532
+ key: "opcRequestId",
3533
+ dataType: "string"
3534
+ },
3535
+ {
3536
+ value: response.headers.get("opc-next-page"),
3537
+ key: "opcNextPage",
3538
+ dataType: "string"
3539
+ }
3540
+ ]
3541
+ });
3542
+ return sdkResponse;
3543
+ }
3544
+ catch (err) {
3545
+ throw err;
3546
+ }
3547
+ });
3548
+ }
3549
+ /**
3550
+ * Returns response with time series data (endTimestamp, usage, capacity) for the time period specified.
3551
+ * The maximum time range for analysis is 2 years, hence this is intentionally not paginated.
3552
+ *
3553
+ * This operation does not retry by default if the user has not defined a retry configuration.
3554
+ * @param SummarizeDatabaseInsightResourceUsageTrendRequest
3555
+ * @return SummarizeDatabaseInsightResourceUsageTrendResponse
3556
+ * @throws OciError when an error occurs
3557
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.1/opsi/SummarizeDatabaseInsightResourceUsageTrend.ts.html |here} to see how to use SummarizeDatabaseInsightResourceUsageTrend API.
3558
+ */
3559
+ summarizeDatabaseInsightResourceUsageTrend(summarizeDatabaseInsightResourceUsageTrendRequest) {
3560
+ return __awaiter(this, void 0, void 0, function* () {
3561
+ if (this.logger)
3562
+ this.logger.debug("Calling operation OperationsInsightsClient#summarizeDatabaseInsightResourceUsageTrend.");
3563
+ const pathParams = {};
3564
+ const queryParams = {
3565
+ "compartmentId": summarizeDatabaseInsightResourceUsageTrendRequest.compartmentId,
3566
+ "resourceMetric": summarizeDatabaseInsightResourceUsageTrendRequest.resourceMetric,
3567
+ "analysisTimeInterval": summarizeDatabaseInsightResourceUsageTrendRequest.analysisTimeInterval,
3568
+ "timeIntervalStart": summarizeDatabaseInsightResourceUsageTrendRequest.timeIntervalStart,
3569
+ "timeIntervalEnd": summarizeDatabaseInsightResourceUsageTrendRequest.timeIntervalEnd,
3570
+ "databaseType": summarizeDatabaseInsightResourceUsageTrendRequest.databaseType,
3571
+ "databaseId": summarizeDatabaseInsightResourceUsageTrendRequest.databaseId,
3572
+ "id": summarizeDatabaseInsightResourceUsageTrendRequest.id,
3573
+ "exadataInsightId": summarizeDatabaseInsightResourceUsageTrendRequest.exadataInsightId,
3574
+ "page": summarizeDatabaseInsightResourceUsageTrendRequest.page,
3575
+ "sortOrder": summarizeDatabaseInsightResourceUsageTrendRequest.sortOrder,
3576
+ "sortBy": summarizeDatabaseInsightResourceUsageTrendRequest.sortBy,
3577
+ "hostName": summarizeDatabaseInsightResourceUsageTrendRequest.hostName,
3578
+ "isDatabaseInstanceLevelMetrics": summarizeDatabaseInsightResourceUsageTrendRequest.isDatabaseInstanceLevelMetrics,
3579
+ "definedTagEquals": summarizeDatabaseInsightResourceUsageTrendRequest.definedTagEquals,
3580
+ "freeformTagEquals": summarizeDatabaseInsightResourceUsageTrendRequest.freeformTagEquals,
3581
+ "definedTagExists": summarizeDatabaseInsightResourceUsageTrendRequest.definedTagExists,
3582
+ "freeformTagExists": summarizeDatabaseInsightResourceUsageTrendRequest.freeformTagExists
3583
+ };
3584
+ let headerParams = {
3585
+ "Content-Type": common.Constants.APPLICATION_JSON,
3586
+ "opc-request-id": summarizeDatabaseInsightResourceUsageTrendRequest.opcRequestId
3587
+ };
3588
+ const specRetryConfiguration = common.NoRetryConfigurationDetails;
3589
+ const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, summarizeDatabaseInsightResourceUsageTrendRequest.retryConfiguration, specRetryConfiguration);
3590
+ if (this.logger)
3591
+ retrier.logger = this.logger;
3592
+ const request = yield oci_common_1.composeRequest({
3593
+ baseEndpoint: this._endpoint,
3594
+ defaultHeaders: this._defaultHeaders,
3595
+ path: "/databaseInsights/resourceUsageTrend",
3596
+ method: "GET",
3597
+ pathParams: pathParams,
3598
+ headerParams: headerParams,
3599
+ queryParams: queryParams
3600
+ });
3601
+ try {
3602
+ const response = yield retrier.makeServiceCall(this._httpClient, request);
3603
+ const sdkResponse = oci_common_1.composeResponse({
3604
+ responseObject: {},
3605
+ body: yield response.json(),
3606
+ bodyKey: "summarizeDatabaseInsightResourceUsageTrendAggregationCollection",
3607
+ bodyModel: model.SummarizeDatabaseInsightResourceUsageTrendAggregationCollection,
3608
+ type: "model.SummarizeDatabaseInsightResourceUsageTrendAggregationCollection",
3609
+ responseHeaders: [
3610
+ {
3611
+ value: response.headers.get("opc-request-id"),
3612
+ key: "opcRequestId",
3613
+ dataType: "string"
3614
+ },
3615
+ {
3616
+ value: response.headers.get("opc-next-page"),
3617
+ key: "opcNextPage",
3618
+ dataType: "string"
3619
+ }
3620
+ ]
3621
+ });
3622
+ return sdkResponse;
3623
+ }
3624
+ catch (err) {
3625
+ throw err;
3626
+ }
3627
+ });
3628
+ }
3629
+ /**
3630
+ * Gets resources with current utilization (high and low) and projected utilization (high and low) for a resource type over specified time period.
3631
+ *
3632
+ * This operation does not retry by default if the user has not defined a retry configuration.
3633
+ * @param SummarizeDatabaseInsightResourceUtilizationInsightRequest
3634
+ * @return SummarizeDatabaseInsightResourceUtilizationInsightResponse
3635
+ * @throws OciError when an error occurs
3636
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.1/opsi/SummarizeDatabaseInsightResourceUtilizationInsight.ts.html |here} to see how to use SummarizeDatabaseInsightResourceUtilizationInsight API.
3637
+ */
3638
+ summarizeDatabaseInsightResourceUtilizationInsight(summarizeDatabaseInsightResourceUtilizationInsightRequest) {
3639
+ return __awaiter(this, void 0, void 0, function* () {
3640
+ if (this.logger)
3641
+ this.logger.debug("Calling operation OperationsInsightsClient#summarizeDatabaseInsightResourceUtilizationInsight.");
3642
+ const pathParams = {};
3643
+ const queryParams = {
3644
+ "compartmentId": summarizeDatabaseInsightResourceUtilizationInsightRequest.compartmentId,
3645
+ "resourceMetric": summarizeDatabaseInsightResourceUtilizationInsightRequest.resourceMetric,
3646
+ "analysisTimeInterval": summarizeDatabaseInsightResourceUtilizationInsightRequest.analysisTimeInterval,
3647
+ "timeIntervalStart": summarizeDatabaseInsightResourceUtilizationInsightRequest.timeIntervalStart,
3648
+ "timeIntervalEnd": summarizeDatabaseInsightResourceUtilizationInsightRequest.timeIntervalEnd,
3649
+ "databaseType": summarizeDatabaseInsightResourceUtilizationInsightRequest.databaseType,
3650
+ "databaseId": summarizeDatabaseInsightResourceUtilizationInsightRequest.databaseId,
3651
+ "id": summarizeDatabaseInsightResourceUtilizationInsightRequest.id,
3652
+ "exadataInsightId": summarizeDatabaseInsightResourceUtilizationInsightRequest.exadataInsightId,
3653
+ "forecastDays": summarizeDatabaseInsightResourceUtilizationInsightRequest.forecastDays,
3654
+ "hostName": summarizeDatabaseInsightResourceUtilizationInsightRequest.hostName,
3655
+ "isDatabaseInstanceLevelMetrics": summarizeDatabaseInsightResourceUtilizationInsightRequest.isDatabaseInstanceLevelMetrics,
3656
+ "page": summarizeDatabaseInsightResourceUtilizationInsightRequest.page,
3657
+ "definedTagEquals": summarizeDatabaseInsightResourceUtilizationInsightRequest.definedTagEquals,
3658
+ "freeformTagEquals": summarizeDatabaseInsightResourceUtilizationInsightRequest.freeformTagEquals,
3659
+ "definedTagExists": summarizeDatabaseInsightResourceUtilizationInsightRequest.definedTagExists,
3660
+ "freeformTagExists": summarizeDatabaseInsightResourceUtilizationInsightRequest.freeformTagExists
3661
+ };
3662
+ let headerParams = {
3663
+ "Content-Type": common.Constants.APPLICATION_JSON,
3664
+ "opc-request-id": summarizeDatabaseInsightResourceUtilizationInsightRequest.opcRequestId
3665
+ };
3666
+ const specRetryConfiguration = common.NoRetryConfigurationDetails;
3667
+ const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, summarizeDatabaseInsightResourceUtilizationInsightRequest.retryConfiguration, specRetryConfiguration);
3668
+ if (this.logger)
3669
+ retrier.logger = this.logger;
3670
+ const request = yield oci_common_1.composeRequest({
3671
+ baseEndpoint: this._endpoint,
3672
+ defaultHeaders: this._defaultHeaders,
3673
+ path: "/databaseInsights/resourceUtilizationInsight",
3674
+ method: "GET",
3675
+ pathParams: pathParams,
3676
+ headerParams: headerParams,
3677
+ queryParams: queryParams
3678
+ });
3679
+ try {
3680
+ const response = yield retrier.makeServiceCall(this._httpClient, request);
3681
+ const sdkResponse = oci_common_1.composeResponse({
3682
+ responseObject: {},
3683
+ body: yield response.json(),
3684
+ bodyKey: "summarizeDatabaseInsightResourceUtilizationInsightAggregation",
3685
+ bodyModel: model.SummarizeDatabaseInsightResourceUtilizationInsightAggregation,
3686
+ type: "model.SummarizeDatabaseInsightResourceUtilizationInsightAggregation",
3687
+ responseHeaders: [
3688
+ {
3689
+ value: response.headers.get("opc-request-id"),
3690
+ key: "opcRequestId",
3691
+ dataType: "string"
3692
+ },
3693
+ {
3694
+ value: response.headers.get("opc-next-page"),
3695
+ key: "opcNextPage",
3696
+ dataType: "string"
3697
+ }
3698
+ ]
3699
+ });
3700
+ return sdkResponse;
3701
+ }
3702
+ catch (err) {
3703
+ throw err;
3704
+ }
3705
+ });
3706
+ }
3707
+ /**
3708
+ * Returns response with usage time series data (endTimestamp, usage, capacity) with breakdown by tablespaceName for the time period specified.
3709
+ * The maximum time range for analysis is 2 years, hence this is intentionally not paginated.
3710
+ * Either databaseId or id must be specified.
3711
+ *
3712
+ * This operation does not retry by default if the user has not defined a retry configuration.
3713
+ * @param SummarizeDatabaseInsightTablespaceUsageTrendRequest
3714
+ * @return SummarizeDatabaseInsightTablespaceUsageTrendResponse
3715
+ * @throws OciError when an error occurs
3716
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.1/opsi/SummarizeDatabaseInsightTablespaceUsageTrend.ts.html |here} to see how to use SummarizeDatabaseInsightTablespaceUsageTrend API.
3717
+ */
3718
+ summarizeDatabaseInsightTablespaceUsageTrend(summarizeDatabaseInsightTablespaceUsageTrendRequest) {
3719
+ return __awaiter(this, void 0, void 0, function* () {
3720
+ if (this.logger)
3721
+ this.logger.debug("Calling operation OperationsInsightsClient#summarizeDatabaseInsightTablespaceUsageTrend.");
3722
+ const pathParams = {};
3723
+ const queryParams = {
3724
+ "compartmentId": summarizeDatabaseInsightTablespaceUsageTrendRequest.compartmentId,
3725
+ "analysisTimeInterval": summarizeDatabaseInsightTablespaceUsageTrendRequest.analysisTimeInterval,
3726
+ "timeIntervalStart": summarizeDatabaseInsightTablespaceUsageTrendRequest.timeIntervalStart,
3727
+ "timeIntervalEnd": summarizeDatabaseInsightTablespaceUsageTrendRequest.timeIntervalEnd,
3728
+ "databaseId": summarizeDatabaseInsightTablespaceUsageTrendRequest.databaseId,
3729
+ "id": summarizeDatabaseInsightTablespaceUsageTrendRequest.id,
3730
+ "page": summarizeDatabaseInsightTablespaceUsageTrendRequest.page,
3731
+ "limit": summarizeDatabaseInsightTablespaceUsageTrendRequest.limit
3732
+ };
3733
+ let headerParams = {
3734
+ "Content-Type": common.Constants.APPLICATION_JSON,
3735
+ "opc-request-id": summarizeDatabaseInsightTablespaceUsageTrendRequest.opcRequestId
3736
+ };
3737
+ const specRetryConfiguration = common.NoRetryConfigurationDetails;
3738
+ const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, summarizeDatabaseInsightTablespaceUsageTrendRequest.retryConfiguration, specRetryConfiguration);
3739
+ if (this.logger)
3740
+ retrier.logger = this.logger;
3741
+ const request = yield oci_common_1.composeRequest({
3742
+ baseEndpoint: this._endpoint,
3743
+ defaultHeaders: this._defaultHeaders,
3744
+ path: "/databaseInsights/tablespaceUsageTrend",
3745
+ method: "GET",
3746
+ pathParams: pathParams,
3747
+ headerParams: headerParams,
3748
+ queryParams: queryParams
3749
+ });
3750
+ try {
3751
+ const response = yield retrier.makeServiceCall(this._httpClient, request);
3752
+ const sdkResponse = oci_common_1.composeResponse({
3753
+ responseObject: {},
3754
+ body: yield response.json(),
3755
+ bodyKey: "summarizeDatabaseInsightTablespaceUsageTrendAggregationCollection",
3756
+ bodyModel: model.SummarizeDatabaseInsightTablespaceUsageTrendAggregationCollection,
3757
+ type: "model.SummarizeDatabaseInsightTablespaceUsageTrendAggregationCollection",
3758
+ responseHeaders: [
3759
+ {
3760
+ value: response.headers.get("opc-request-id"),
3761
+ key: "opcRequestId",
3762
+ dataType: "string"
3763
+ },
3764
+ {
3765
+ value: response.headers.get("opc-next-page"),
3766
+ key: "opcNextPage",
3767
+ dataType: "string"
3768
+ }
3769
+ ]
3770
+ });
3771
+ return sdkResponse;
3772
+ }
3773
+ catch (err) {
3774
+ throw err;
3775
+ }
3776
+ });
3777
+ }
3778
+ /**
3779
+ * Returns response with time series data (endTimestamp, capacity) for the time period specified for an exadata system for a resource metric.
3780
+ * Additionally resources can be filtered using databaseInsightId, hostInsightId or storageServerName query parameters.
3781
+ * Top five resources are returned if total exceeds the limit specified.
3782
+ * Valid values for ResourceType DATABASE are CPU,MEMORY,IO and STORAGE. Database name is returned in name field. DatabaseInsightId, cdbName and hostName query parameter applies to ResourceType DATABASE.
3783
+ * Valid values for ResourceType HOST are CPU and MEMORY. HostName is returned in name field. HostInsightId and hostName query parameter applies to ResourceType HOST.
3784
+ * Valid values for ResourceType STORAGE_SERVER are STORAGE, IOPS and THROUGHPUT. Storage server name is returned in name field for resourceMetric IOPS and THROUGHPUT
3785
+ * and asmName is returned in name field for resourceMetric STORAGE. StorageServerName query parameter applies to ResourceType STORAGE_SERVER.
3786
+ * Valid values for ResourceType DISKGROUP is STORAGE. Comma delimited (asmName,diskgroupName) is returned in name field.
3787
+ *
3788
+ * This operation does not retry by default if the user has not defined a retry configuration.
3789
+ * @param SummarizeExadataInsightResourceCapacityTrendRequest
3790
+ * @return SummarizeExadataInsightResourceCapacityTrendResponse
3791
+ * @throws OciError when an error occurs
3792
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.1/opsi/SummarizeExadataInsightResourceCapacityTrend.ts.html |here} to see how to use SummarizeExadataInsightResourceCapacityTrend API.
3793
+ */
3794
+ summarizeExadataInsightResourceCapacityTrend(summarizeExadataInsightResourceCapacityTrendRequest) {
3795
+ return __awaiter(this, void 0, void 0, function* () {
3796
+ if (this.logger)
3797
+ this.logger.debug("Calling operation OperationsInsightsClient#summarizeExadataInsightResourceCapacityTrend.");
3798
+ const pathParams = {};
3799
+ const queryParams = {
3800
+ "compartmentId": summarizeExadataInsightResourceCapacityTrendRequest.compartmentId,
3801
+ "resourceType": summarizeExadataInsightResourceCapacityTrendRequest.resourceType,
3802
+ "resourceMetric": summarizeExadataInsightResourceCapacityTrendRequest.resourceMetric,
3803
+ "analysisTimeInterval": summarizeExadataInsightResourceCapacityTrendRequest.analysisTimeInterval,
3804
+ "timeIntervalStart": summarizeExadataInsightResourceCapacityTrendRequest.timeIntervalStart,
3805
+ "timeIntervalEnd": summarizeExadataInsightResourceCapacityTrendRequest.timeIntervalEnd,
3806
+ "exadataInsightId": summarizeExadataInsightResourceCapacityTrendRequest.exadataInsightId,
3807
+ "databaseInsightId": summarizeExadataInsightResourceCapacityTrendRequest.databaseInsightId,
3808
+ "hostInsightId": summarizeExadataInsightResourceCapacityTrendRequest.hostInsightId,
3809
+ "storageServerName": summarizeExadataInsightResourceCapacityTrendRequest.storageServerName,
3810
+ "exadataType": summarizeExadataInsightResourceCapacityTrendRequest.exadataType,
3811
+ "cdbName": summarizeExadataInsightResourceCapacityTrendRequest.cdbName,
3812
+ "hostName": summarizeExadataInsightResourceCapacityTrendRequest.hostName,
3813
+ "page": summarizeExadataInsightResourceCapacityTrendRequest.page,
3814
+ "limit": summarizeExadataInsightResourceCapacityTrendRequest.limit,
3815
+ "sortOrder": summarizeExadataInsightResourceCapacityTrendRequest.sortOrder,
3816
+ "sortBy": summarizeExadataInsightResourceCapacityTrendRequest.sortBy
3817
+ };
3818
+ let headerParams = {
3819
+ "Content-Type": common.Constants.APPLICATION_JSON,
3820
+ "opc-request-id": summarizeExadataInsightResourceCapacityTrendRequest.opcRequestId
3821
+ };
3822
+ const specRetryConfiguration = common.NoRetryConfigurationDetails;
3823
+ const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, summarizeExadataInsightResourceCapacityTrendRequest.retryConfiguration, specRetryConfiguration);
3824
+ if (this.logger)
3825
+ retrier.logger = this.logger;
3826
+ const request = yield oci_common_1.composeRequest({
3827
+ baseEndpoint: this._endpoint,
3828
+ defaultHeaders: this._defaultHeaders,
3829
+ path: "/exadataInsights/resourceCapacityTrend",
3830
+ method: "GET",
3831
+ pathParams: pathParams,
3832
+ headerParams: headerParams,
3833
+ queryParams: queryParams
3834
+ });
3835
+ try {
3836
+ const response = yield retrier.makeServiceCall(this._httpClient, request);
3837
+ const sdkResponse = oci_common_1.composeResponse({
3838
+ responseObject: {},
3839
+ body: yield response.json(),
3840
+ bodyKey: "summarizeExadataInsightResourceCapacityTrendCollection",
3841
+ bodyModel: model.SummarizeExadataInsightResourceCapacityTrendCollection,
3842
+ type: "model.SummarizeExadataInsightResourceCapacityTrendCollection",
3843
+ responseHeaders: [
3844
+ {
3845
+ value: response.headers.get("opc-request-id"),
3846
+ key: "opcRequestId",
3847
+ dataType: "string"
3848
+ },
3849
+ {
3850
+ value: response.headers.get("opc-next-page"),
3851
+ key: "opcNextPage",
3852
+ dataType: "string"
3853
+ }
3854
+ ]
3855
+ });
3856
+ return sdkResponse;
3857
+ }
3858
+ catch (err) {
3859
+ throw err;
3860
+ }
3861
+ });
3862
+ }
3863
+ /**
3864
+ * Returns response with time series data (endTimestamp, capacity) for the time period specified for an exadata system or fleet aggregation for a resource metric.
3865
+ * The maximum time range for analysis is 2 years, hence this is intentionally not paginated.
3866
+ * Valid values for ResourceType DATABASE are CPU,MEMORY,IO and STORAGE.
3867
+ * Valid values for ResourceType HOST are CPU and MEMORY.
3868
+ * Valid values for ResourceType STORAGE_SERVER are STORAGE, IOPS and THROUGHPUT.
3869
+ *
3870
+ * This operation does not retry by default if the user has not defined a retry configuration.
3871
+ * @param SummarizeExadataInsightResourceCapacityTrendAggregatedRequest
3872
+ * @return SummarizeExadataInsightResourceCapacityTrendAggregatedResponse
3873
+ * @throws OciError when an error occurs
3874
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.1/opsi/SummarizeExadataInsightResourceCapacityTrendAggregated.ts.html |here} to see how to use SummarizeExadataInsightResourceCapacityTrendAggregated API.
3875
+ */
3876
+ summarizeExadataInsightResourceCapacityTrendAggregated(summarizeExadataInsightResourceCapacityTrendAggregatedRequest) {
3877
+ return __awaiter(this, void 0, void 0, function* () {
3878
+ if (this.logger)
3879
+ this.logger.debug("Calling operation OperationsInsightsClient#summarizeExadataInsightResourceCapacityTrendAggregated.");
3880
+ const pathParams = {};
3881
+ const queryParams = {
3882
+ "compartmentId": summarizeExadataInsightResourceCapacityTrendAggregatedRequest.compartmentId,
3883
+ "resourceType": summarizeExadataInsightResourceCapacityTrendAggregatedRequest.resourceType,
3884
+ "resourceMetric": summarizeExadataInsightResourceCapacityTrendAggregatedRequest.resourceMetric,
3885
+ "analysisTimeInterval": summarizeExadataInsightResourceCapacityTrendAggregatedRequest.analysisTimeInterval,
3886
+ "timeIntervalStart": summarizeExadataInsightResourceCapacityTrendAggregatedRequest.timeIntervalStart,
3887
+ "timeIntervalEnd": summarizeExadataInsightResourceCapacityTrendAggregatedRequest.timeIntervalEnd,
3888
+ "exadataInsightId": summarizeExadataInsightResourceCapacityTrendAggregatedRequest.exadataInsightId,
3889
+ "exadataType": summarizeExadataInsightResourceCapacityTrendAggregatedRequest.exadataType,
3890
+ "cdbName": summarizeExadataInsightResourceCapacityTrendAggregatedRequest.cdbName,
3891
+ "hostName": summarizeExadataInsightResourceCapacityTrendAggregatedRequest.hostName,
3892
+ "page": summarizeExadataInsightResourceCapacityTrendAggregatedRequest.page,
3893
+ "sortOrder": summarizeExadataInsightResourceCapacityTrendAggregatedRequest.sortOrder,
3894
+ "sortBy": summarizeExadataInsightResourceCapacityTrendAggregatedRequest.sortBy,
3895
+ "definedTagEquals": summarizeExadataInsightResourceCapacityTrendAggregatedRequest.definedTagEquals,
3896
+ "freeformTagEquals": summarizeExadataInsightResourceCapacityTrendAggregatedRequest.freeformTagEquals,
3897
+ "definedTagExists": summarizeExadataInsightResourceCapacityTrendAggregatedRequest.definedTagExists,
3898
+ "freeformTagExists": summarizeExadataInsightResourceCapacityTrendAggregatedRequest.freeformTagExists
3899
+ };
3900
+ let headerParams = {
3901
+ "Content-Type": common.Constants.APPLICATION_JSON,
3902
+ "opc-request-id": summarizeExadataInsightResourceCapacityTrendAggregatedRequest.opcRequestId
3903
+ };
3904
+ const specRetryConfiguration = common.NoRetryConfigurationDetails;
3905
+ const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, summarizeExadataInsightResourceCapacityTrendAggregatedRequest.retryConfiguration, specRetryConfiguration);
3906
+ if (this.logger)
3907
+ retrier.logger = this.logger;
3908
+ const request = yield oci_common_1.composeRequest({
3909
+ baseEndpoint: this._endpoint,
3910
+ defaultHeaders: this._defaultHeaders,
3911
+ path: "/exadataInsights/resourceCapacityTrendAggregated",
3912
+ method: "GET",
3913
+ pathParams: pathParams,
3914
+ headerParams: headerParams,
3915
+ queryParams: queryParams
3916
+ });
3917
+ try {
3918
+ const response = yield retrier.makeServiceCall(this._httpClient, request);
3919
+ const sdkResponse = oci_common_1.composeResponse({
3920
+ responseObject: {},
3921
+ body: yield response.json(),
3922
+ bodyKey: "summarizeExadataInsightResourceCapacityTrendAggregation",
3923
+ bodyModel: model.SummarizeExadataInsightResourceCapacityTrendAggregation,
3924
+ type: "model.SummarizeExadataInsightResourceCapacityTrendAggregation",
3925
+ responseHeaders: [
3926
+ {
3927
+ value: response.headers.get("opc-request-id"),
3928
+ key: "opcRequestId",
3929
+ dataType: "string"
3930
+ },
3931
+ {
3932
+ value: response.headers.get("opc-next-page"),
3933
+ key: "opcNextPage",
3934
+ dataType: "string"
3935
+ }
3936
+ ]
3937
+ });
3938
+ return sdkResponse;
3939
+ }
3940
+ catch (err) {
3941
+ throw err;
3942
+ }
3943
+ });
3944
+ }
3945
+ /**
3946
+ * Get historical usage and forecast predictions for an exadata system with breakdown by databases, hosts or storage servers.
3947
+ * Additionally resources can be filtered using databaseInsightId, hostInsightId or storageServerName query parameters.
3948
+ * Top five resources are returned if total exceeds the limit specified.
3949
+ * Valid values for ResourceType DATABASE are CPU,MEMORY,IO and STORAGE. Database name is returned in name field. DatabaseInsightId , cdbName and hostName query parameter applies to ResourceType DATABASE.
3950
+ * Valid values for ResourceType HOST are CPU and MEMORY. HostName s returned in name field. HostInsightId and hostName query parameter applies to ResourceType HOST.
3951
+ * Valid values for ResourceType STORAGE_SERVER are STORAGE, IOPS and THROUGHPUT. Storage server name is returned in name field for resourceMetric IOPS and THROUGHPUT
3952
+ * and asmName is returned in name field for resourceMetric STORAGE. StorageServerName query parameter applies to ResourceType STORAGE_SERVER.
3953
+ * Valid value for ResourceType DISKGROUP is STORAGE. Comma delimited (asmName,diskgroupName) is returned in name field.
3954
+ *
3955
+ * This operation does not retry by default if the user has not defined a retry configuration.
3956
+ * @param SummarizeExadataInsightResourceForecastTrendRequest
3957
+ * @return SummarizeExadataInsightResourceForecastTrendResponse
3958
+ * @throws OciError when an error occurs
3959
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.1/opsi/SummarizeExadataInsightResourceForecastTrend.ts.html |here} to see how to use SummarizeExadataInsightResourceForecastTrend API.
2447
3960
  */
2448
- summarizeDatabaseInsightResourceCapacityTrend(summarizeDatabaseInsightResourceCapacityTrendRequest) {
3961
+ summarizeExadataInsightResourceForecastTrend(summarizeExadataInsightResourceForecastTrendRequest) {
2449
3962
  return __awaiter(this, void 0, void 0, function* () {
2450
3963
  if (this.logger)
2451
- this.logger.debug("Calling operation OperationsInsightsClient#summarizeDatabaseInsightResourceCapacityTrend.");
3964
+ this.logger.debug("Calling operation OperationsInsightsClient#summarizeExadataInsightResourceForecastTrend.");
2452
3965
  const pathParams = {};
2453
3966
  const queryParams = {
2454
- "compartmentId": summarizeDatabaseInsightResourceCapacityTrendRequest.compartmentId,
2455
- "resourceMetric": summarizeDatabaseInsightResourceCapacityTrendRequest.resourceMetric,
2456
- "analysisTimeInterval": summarizeDatabaseInsightResourceCapacityTrendRequest.analysisTimeInterval,
2457
- "timeIntervalStart": summarizeDatabaseInsightResourceCapacityTrendRequest.timeIntervalStart,
2458
- "timeIntervalEnd": summarizeDatabaseInsightResourceCapacityTrendRequest.timeIntervalEnd,
2459
- "databaseType": summarizeDatabaseInsightResourceCapacityTrendRequest.databaseType,
2460
- "databaseId": summarizeDatabaseInsightResourceCapacityTrendRequest.databaseId,
2461
- "id": summarizeDatabaseInsightResourceCapacityTrendRequest.id,
2462
- "utilizationLevel": summarizeDatabaseInsightResourceCapacityTrendRequest.utilizationLevel,
2463
- "page": summarizeDatabaseInsightResourceCapacityTrendRequest.page,
2464
- "sortOrder": summarizeDatabaseInsightResourceCapacityTrendRequest.sortOrder,
2465
- "sortBy": summarizeDatabaseInsightResourceCapacityTrendRequest.sortBy,
2466
- "tablespaceName": summarizeDatabaseInsightResourceCapacityTrendRequest.tablespaceName,
2467
- "hostName": summarizeDatabaseInsightResourceCapacityTrendRequest.hostName,
2468
- "isDatabaseInstanceLevelMetrics": summarizeDatabaseInsightResourceCapacityTrendRequest.isDatabaseInstanceLevelMetrics,
2469
- "definedTagEquals": summarizeDatabaseInsightResourceCapacityTrendRequest.definedTagEquals,
2470
- "freeformTagEquals": summarizeDatabaseInsightResourceCapacityTrendRequest.freeformTagEquals,
2471
- "definedTagExists": summarizeDatabaseInsightResourceCapacityTrendRequest.definedTagExists,
2472
- "freeformTagExists": summarizeDatabaseInsightResourceCapacityTrendRequest.freeformTagExists
3967
+ "resourceType": summarizeExadataInsightResourceForecastTrendRequest.resourceType,
3968
+ "resourceMetric": summarizeExadataInsightResourceForecastTrendRequest.resourceMetric,
3969
+ "analysisTimeInterval": summarizeExadataInsightResourceForecastTrendRequest.analysisTimeInterval,
3970
+ "timeIntervalStart": summarizeExadataInsightResourceForecastTrendRequest.timeIntervalStart,
3971
+ "timeIntervalEnd": summarizeExadataInsightResourceForecastTrendRequest.timeIntervalEnd,
3972
+ "exadataInsightId": summarizeExadataInsightResourceForecastTrendRequest.exadataInsightId,
3973
+ "databaseInsightId": summarizeExadataInsightResourceForecastTrendRequest.databaseInsightId,
3974
+ "hostInsightId": summarizeExadataInsightResourceForecastTrendRequest.hostInsightId,
3975
+ "storageServerName": summarizeExadataInsightResourceForecastTrendRequest.storageServerName,
3976
+ "exadataType": summarizeExadataInsightResourceForecastTrendRequest.exadataType,
3977
+ "statistic": summarizeExadataInsightResourceForecastTrendRequest.statistic,
3978
+ "forecastStartDay": summarizeExadataInsightResourceForecastTrendRequest.forecastStartDay,
3979
+ "forecastDays": summarizeExadataInsightResourceForecastTrendRequest.forecastDays,
3980
+ "forecastModel": summarizeExadataInsightResourceForecastTrendRequest.forecastModel,
3981
+ "cdbName": summarizeExadataInsightResourceForecastTrendRequest.cdbName,
3982
+ "hostName": summarizeExadataInsightResourceForecastTrendRequest.hostName,
3983
+ "limit": summarizeExadataInsightResourceForecastTrendRequest.limit,
3984
+ "confidence": summarizeExadataInsightResourceForecastTrendRequest.confidence,
3985
+ "sortOrder": summarizeExadataInsightResourceForecastTrendRequest.sortOrder,
3986
+ "sortBy": summarizeExadataInsightResourceForecastTrendRequest.sortBy,
3987
+ "page": summarizeExadataInsightResourceForecastTrendRequest.page
2473
3988
  };
2474
3989
  let headerParams = {
2475
3990
  "Content-Type": common.Constants.APPLICATION_JSON,
2476
- "opc-request-id": summarizeDatabaseInsightResourceCapacityTrendRequest.opcRequestId
3991
+ "opc-request-id": summarizeExadataInsightResourceForecastTrendRequest.opcRequestId
2477
3992
  };
2478
- const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : {}, summarizeDatabaseInsightResourceCapacityTrendRequest.retryConfiguration);
3993
+ const specRetryConfiguration = common.NoRetryConfigurationDetails;
3994
+ const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, summarizeExadataInsightResourceForecastTrendRequest.retryConfiguration, specRetryConfiguration);
2479
3995
  if (this.logger)
2480
3996
  retrier.logger = this.logger;
2481
3997
  const request = yield oci_common_1.composeRequest({
2482
3998
  baseEndpoint: this._endpoint,
2483
3999
  defaultHeaders: this._defaultHeaders,
2484
- path: "/databaseInsights/resourceCapacityTrend",
4000
+ path: "/exadataInsights/resourceForecastTrend",
2485
4001
  method: "GET",
2486
4002
  pathParams: pathParams,
2487
4003
  headerParams: headerParams,
@@ -2492,9 +4008,9 @@ class OperationsInsightsClient {
2492
4008
  const sdkResponse = oci_common_1.composeResponse({
2493
4009
  responseObject: {},
2494
4010
  body: yield response.json(),
2495
- bodyKey: "summarizeDatabaseInsightResourceCapacityTrendAggregationCollection",
2496
- bodyModel: model.SummarizeDatabaseInsightResourceCapacityTrendAggregationCollection,
2497
- type: "model.SummarizeDatabaseInsightResourceCapacityTrendAggregationCollection",
4011
+ bodyKey: "summarizeExadataInsightResourceForecastTrendCollection",
4012
+ bodyModel: model.SummarizeExadataInsightResourceForecastTrendCollection,
4013
+ type: "model.SummarizeExadataInsightResourceForecastTrendCollection",
2498
4014
  responseHeaders: [
2499
4015
  {
2500
4016
  value: response.headers.get("opc-request-id"),
@@ -2516,52 +4032,56 @@ class OperationsInsightsClient {
2516
4032
  });
2517
4033
  }
2518
4034
  /**
2519
- * Get Forecast predictions for CPU and Storage resources since a time in the past.
4035
+ * Get aggregated historical usage and forecast predictions for resources. Either compartmentId or exadataInsightsId query parameter must be specified.
4036
+ * Valid values for ResourceType DATABASE are CPU,MEMORY,IO and STORAGE.
4037
+ * Valid values for ResourceType HOST are CPU and MEMORY.
4038
+ * Valid values for ResourceType STORAGE_SERVER are STORAGE, IOPS and THROUGHPUT.
2520
4039
  *
2521
- * @param SummarizeDatabaseInsightResourceForecastTrendRequest
2522
- * @return SummarizeDatabaseInsightResourceForecastTrendResponse
4040
+ * This operation does not retry by default if the user has not defined a retry configuration.
4041
+ * @param SummarizeExadataInsightResourceForecastTrendAggregatedRequest
4042
+ * @return SummarizeExadataInsightResourceForecastTrendAggregatedResponse
2523
4043
  * @throws OciError when an error occurs
2524
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.5.0/opsi/SummarizeDatabaseInsightResourceForecastTrend.ts.html |here} to see how to use SummarizeDatabaseInsightResourceForecastTrend API.
4044
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.1/opsi/SummarizeExadataInsightResourceForecastTrendAggregated.ts.html |here} to see how to use SummarizeExadataInsightResourceForecastTrendAggregated API.
2525
4045
  */
2526
- summarizeDatabaseInsightResourceForecastTrend(summarizeDatabaseInsightResourceForecastTrendRequest) {
4046
+ summarizeExadataInsightResourceForecastTrendAggregated(summarizeExadataInsightResourceForecastTrendAggregatedRequest) {
2527
4047
  return __awaiter(this, void 0, void 0, function* () {
2528
4048
  if (this.logger)
2529
- this.logger.debug("Calling operation OperationsInsightsClient#summarizeDatabaseInsightResourceForecastTrend.");
4049
+ this.logger.debug("Calling operation OperationsInsightsClient#summarizeExadataInsightResourceForecastTrendAggregated.");
2530
4050
  const pathParams = {};
2531
4051
  const queryParams = {
2532
- "compartmentId": summarizeDatabaseInsightResourceForecastTrendRequest.compartmentId,
2533
- "resourceMetric": summarizeDatabaseInsightResourceForecastTrendRequest.resourceMetric,
2534
- "analysisTimeInterval": summarizeDatabaseInsightResourceForecastTrendRequest.analysisTimeInterval,
2535
- "timeIntervalStart": summarizeDatabaseInsightResourceForecastTrendRequest.timeIntervalStart,
2536
- "timeIntervalEnd": summarizeDatabaseInsightResourceForecastTrendRequest.timeIntervalEnd,
2537
- "databaseType": summarizeDatabaseInsightResourceForecastTrendRequest.databaseType,
2538
- "databaseId": summarizeDatabaseInsightResourceForecastTrendRequest.databaseId,
2539
- "id": summarizeDatabaseInsightResourceForecastTrendRequest.id,
2540
- "statistic": summarizeDatabaseInsightResourceForecastTrendRequest.statistic,
2541
- "forecastDays": summarizeDatabaseInsightResourceForecastTrendRequest.forecastDays,
2542
- "forecastModel": summarizeDatabaseInsightResourceForecastTrendRequest.forecastModel,
2543
- "utilizationLevel": summarizeDatabaseInsightResourceForecastTrendRequest.utilizationLevel,
2544
- "confidence": summarizeDatabaseInsightResourceForecastTrendRequest.confidence,
2545
- "page": summarizeDatabaseInsightResourceForecastTrendRequest.page,
2546
- "hostName": summarizeDatabaseInsightResourceForecastTrendRequest.hostName,
2547
- "tablespaceName": summarizeDatabaseInsightResourceForecastTrendRequest.tablespaceName,
2548
- "isDatabaseInstanceLevelMetrics": summarizeDatabaseInsightResourceForecastTrendRequest.isDatabaseInstanceLevelMetrics,
2549
- "definedTagEquals": summarizeDatabaseInsightResourceForecastTrendRequest.definedTagEquals,
2550
- "freeformTagEquals": summarizeDatabaseInsightResourceForecastTrendRequest.freeformTagEquals,
2551
- "definedTagExists": summarizeDatabaseInsightResourceForecastTrendRequest.definedTagExists,
2552
- "freeformTagExists": summarizeDatabaseInsightResourceForecastTrendRequest.freeformTagExists
4052
+ "compartmentId": summarizeExadataInsightResourceForecastTrendAggregatedRequest.compartmentId,
4053
+ "resourceType": summarizeExadataInsightResourceForecastTrendAggregatedRequest.resourceType,
4054
+ "resourceMetric": summarizeExadataInsightResourceForecastTrendAggregatedRequest.resourceMetric,
4055
+ "analysisTimeInterval": summarizeExadataInsightResourceForecastTrendAggregatedRequest.analysisTimeInterval,
4056
+ "timeIntervalStart": summarizeExadataInsightResourceForecastTrendAggregatedRequest.timeIntervalStart,
4057
+ "timeIntervalEnd": summarizeExadataInsightResourceForecastTrendAggregatedRequest.timeIntervalEnd,
4058
+ "exadataInsightId": summarizeExadataInsightResourceForecastTrendAggregatedRequest.exadataInsightId,
4059
+ "exadataType": summarizeExadataInsightResourceForecastTrendAggregatedRequest.exadataType,
4060
+ "statistic": summarizeExadataInsightResourceForecastTrendAggregatedRequest.statistic,
4061
+ "forecastStartDay": summarizeExadataInsightResourceForecastTrendAggregatedRequest.forecastStartDay,
4062
+ "forecastDays": summarizeExadataInsightResourceForecastTrendAggregatedRequest.forecastDays,
4063
+ "forecastModel": summarizeExadataInsightResourceForecastTrendAggregatedRequest.forecastModel,
4064
+ "cdbName": summarizeExadataInsightResourceForecastTrendAggregatedRequest.cdbName,
4065
+ "hostName": summarizeExadataInsightResourceForecastTrendAggregatedRequest.hostName,
4066
+ "confidence": summarizeExadataInsightResourceForecastTrendAggregatedRequest.confidence,
4067
+ "page": summarizeExadataInsightResourceForecastTrendAggregatedRequest.page,
4068
+ "definedTagEquals": summarizeExadataInsightResourceForecastTrendAggregatedRequest.definedTagEquals,
4069
+ "freeformTagEquals": summarizeExadataInsightResourceForecastTrendAggregatedRequest.freeformTagEquals,
4070
+ "definedTagExists": summarizeExadataInsightResourceForecastTrendAggregatedRequest.definedTagExists,
4071
+ "freeformTagExists": summarizeExadataInsightResourceForecastTrendAggregatedRequest.freeformTagExists
2553
4072
  };
2554
4073
  let headerParams = {
2555
4074
  "Content-Type": common.Constants.APPLICATION_JSON,
2556
- "opc-request-id": summarizeDatabaseInsightResourceForecastTrendRequest.opcRequestId
4075
+ "opc-request-id": summarizeExadataInsightResourceForecastTrendAggregatedRequest.opcRequestId
2557
4076
  };
2558
- const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : {}, summarizeDatabaseInsightResourceForecastTrendRequest.retryConfiguration);
4077
+ const specRetryConfiguration = common.NoRetryConfigurationDetails;
4078
+ const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, summarizeExadataInsightResourceForecastTrendAggregatedRequest.retryConfiguration, specRetryConfiguration);
2559
4079
  if (this.logger)
2560
4080
  retrier.logger = this.logger;
2561
4081
  const request = yield oci_common_1.composeRequest({
2562
4082
  baseEndpoint: this._endpoint,
2563
4083
  defaultHeaders: this._defaultHeaders,
2564
- path: "/databaseInsights/resourceForecastTrend",
4084
+ path: "/exadataInsights/resourceForecastTrendAggregated",
2565
4085
  method: "GET",
2566
4086
  pathParams: pathParams,
2567
4087
  headerParams: headerParams,
@@ -2572,9 +4092,9 @@ class OperationsInsightsClient {
2572
4092
  const sdkResponse = oci_common_1.composeResponse({
2573
4093
  responseObject: {},
2574
4094
  body: yield response.json(),
2575
- bodyKey: "summarizeDatabaseInsightResourceForecastTrendAggregation",
2576
- bodyModel: model.SummarizeDatabaseInsightResourceForecastTrendAggregation,
2577
- type: "model.SummarizeDatabaseInsightResourceForecastTrendAggregation",
4095
+ bodyKey: "summarizeExadataInsightResourceForecastTrendAggregation",
4096
+ bodyModel: model.SummarizeExadataInsightResourceForecastTrendAggregation,
4097
+ type: "model.SummarizeExadataInsightResourceForecastTrendAggregation",
2578
4098
  responseHeaders: [
2579
4099
  {
2580
4100
  value: response.headers.get("opc-request-id"),
@@ -2596,51 +4116,51 @@ class OperationsInsightsClient {
2596
4116
  });
2597
4117
  }
2598
4118
  /**
2599
- * Lists the Resource statistics (usage,capacity, usage change percent, utilization percent, base capacity, isAutoScalingEnabled) for each database filtered by utilization level
2600
- * @param SummarizeDatabaseInsightResourceStatisticsRequest
2601
- * @return SummarizeDatabaseInsightResourceStatisticsResponse
4119
+ * Lists the Resource statistics (usage, capacity, usage change percent, utilization percent) for each resource based on resourceMetric filtered by utilization level.
4120
+ * Valid values for ResourceType DATABASE are CPU,MEMORY,IO and STORAGE.
4121
+ * Valid values for ResourceType HOST are CPU and MEMORY.
4122
+ * Valid values for ResourceType STORAGE_SERVER are STORAGE, IOPS, THROUGHPUT.
4123
+ * Valid value for ResourceType DISKGROUP is STORAGE.
4124
+ *
4125
+ * This operation does not retry by default if the user has not defined a retry configuration.
4126
+ * @param SummarizeExadataInsightResourceStatisticsRequest
4127
+ * @return SummarizeExadataInsightResourceStatisticsResponse
2602
4128
  * @throws OciError when an error occurs
2603
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.5.0/opsi/SummarizeDatabaseInsightResourceStatistics.ts.html |here} to see how to use SummarizeDatabaseInsightResourceStatistics API.
4129
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.1/opsi/SummarizeExadataInsightResourceStatistics.ts.html |here} to see how to use SummarizeExadataInsightResourceStatistics API.
2604
4130
  */
2605
- summarizeDatabaseInsightResourceStatistics(summarizeDatabaseInsightResourceStatisticsRequest) {
4131
+ summarizeExadataInsightResourceStatistics(summarizeExadataInsightResourceStatisticsRequest) {
2606
4132
  return __awaiter(this, void 0, void 0, function* () {
2607
4133
  if (this.logger)
2608
- this.logger.debug("Calling operation OperationsInsightsClient#summarizeDatabaseInsightResourceStatistics.");
4134
+ this.logger.debug("Calling operation OperationsInsightsClient#summarizeExadataInsightResourceStatistics.");
2609
4135
  const pathParams = {};
2610
4136
  const queryParams = {
2611
- "compartmentId": summarizeDatabaseInsightResourceStatisticsRequest.compartmentId,
2612
- "resourceMetric": summarizeDatabaseInsightResourceStatisticsRequest.resourceMetric,
2613
- "analysisTimeInterval": summarizeDatabaseInsightResourceStatisticsRequest.analysisTimeInterval,
2614
- "timeIntervalStart": summarizeDatabaseInsightResourceStatisticsRequest.timeIntervalStart,
2615
- "timeIntervalEnd": summarizeDatabaseInsightResourceStatisticsRequest.timeIntervalEnd,
2616
- "databaseType": summarizeDatabaseInsightResourceStatisticsRequest.databaseType,
2617
- "databaseId": summarizeDatabaseInsightResourceStatisticsRequest.databaseId,
2618
- "id": summarizeDatabaseInsightResourceStatisticsRequest.id,
2619
- "percentile": summarizeDatabaseInsightResourceStatisticsRequest.percentile,
2620
- "insightBy": summarizeDatabaseInsightResourceStatisticsRequest.insightBy,
2621
- "forecastDays": summarizeDatabaseInsightResourceStatisticsRequest.forecastDays,
2622
- "limit": summarizeDatabaseInsightResourceStatisticsRequest.limit,
2623
- "page": summarizeDatabaseInsightResourceStatisticsRequest.page,
2624
- "sortOrder": summarizeDatabaseInsightResourceStatisticsRequest.sortOrder,
2625
- "sortBy": summarizeDatabaseInsightResourceStatisticsRequest.sortBy,
2626
- "hostName": summarizeDatabaseInsightResourceStatisticsRequest.hostName,
2627
- "isDatabaseInstanceLevelMetrics": summarizeDatabaseInsightResourceStatisticsRequest.isDatabaseInstanceLevelMetrics,
2628
- "definedTagEquals": summarizeDatabaseInsightResourceStatisticsRequest.definedTagEquals,
2629
- "freeformTagEquals": summarizeDatabaseInsightResourceStatisticsRequest.freeformTagEquals,
2630
- "definedTagExists": summarizeDatabaseInsightResourceStatisticsRequest.definedTagExists,
2631
- "freeformTagExists": summarizeDatabaseInsightResourceStatisticsRequest.freeformTagExists
4137
+ "exadataInsightId": summarizeExadataInsightResourceStatisticsRequest.exadataInsightId,
4138
+ "resourceType": summarizeExadataInsightResourceStatisticsRequest.resourceType,
4139
+ "resourceMetric": summarizeExadataInsightResourceStatisticsRequest.resourceMetric,
4140
+ "analysisTimeInterval": summarizeExadataInsightResourceStatisticsRequest.analysisTimeInterval,
4141
+ "timeIntervalStart": summarizeExadataInsightResourceStatisticsRequest.timeIntervalStart,
4142
+ "timeIntervalEnd": summarizeExadataInsightResourceStatisticsRequest.timeIntervalEnd,
4143
+ "exadataType": summarizeExadataInsightResourceStatisticsRequest.exadataType,
4144
+ "cdbName": summarizeExadataInsightResourceStatisticsRequest.cdbName,
4145
+ "hostName": summarizeExadataInsightResourceStatisticsRequest.hostName,
4146
+ "percentile": summarizeExadataInsightResourceStatisticsRequest.percentile,
4147
+ "sortOrder": summarizeExadataInsightResourceStatisticsRequest.sortOrder,
4148
+ "sortBy": summarizeExadataInsightResourceStatisticsRequest.sortBy,
4149
+ "limit": summarizeExadataInsightResourceStatisticsRequest.limit,
4150
+ "page": summarizeExadataInsightResourceStatisticsRequest.page
2632
4151
  };
2633
4152
  let headerParams = {
2634
4153
  "Content-Type": common.Constants.APPLICATION_JSON,
2635
- "opc-request-id": summarizeDatabaseInsightResourceStatisticsRequest.opcRequestId
4154
+ "opc-request-id": summarizeExadataInsightResourceStatisticsRequest.opcRequestId
2636
4155
  };
2637
- const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : {}, summarizeDatabaseInsightResourceStatisticsRequest.retryConfiguration);
4156
+ const specRetryConfiguration = common.NoRetryConfigurationDetails;
4157
+ const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, summarizeExadataInsightResourceStatisticsRequest.retryConfiguration, specRetryConfiguration);
2638
4158
  if (this.logger)
2639
4159
  retrier.logger = this.logger;
2640
4160
  const request = yield oci_common_1.composeRequest({
2641
4161
  baseEndpoint: this._endpoint,
2642
4162
  defaultHeaders: this._defaultHeaders,
2643
- path: "/databaseInsights/resourceStatistics",
4163
+ path: "/exadataInsights/resourceStatistics",
2644
4164
  method: "GET",
2645
4165
  pathParams: pathParams,
2646
4166
  headerParams: headerParams,
@@ -2651,15 +4171,20 @@ class OperationsInsightsClient {
2651
4171
  const sdkResponse = oci_common_1.composeResponse({
2652
4172
  responseObject: {},
2653
4173
  body: yield response.json(),
2654
- bodyKey: "summarizeDatabaseInsightResourceStatisticsAggregationCollection",
2655
- bodyModel: model.SummarizeDatabaseInsightResourceStatisticsAggregationCollection,
2656
- type: "model.SummarizeDatabaseInsightResourceStatisticsAggregationCollection",
4174
+ bodyKey: "summarizeExadataInsightResourceStatisticsAggregationCollection",
4175
+ bodyModel: model.SummarizeExadataInsightResourceStatisticsAggregationCollection,
4176
+ type: "model.SummarizeExadataInsightResourceStatisticsAggregationCollection",
2657
4177
  responseHeaders: [
2658
4178
  {
2659
4179
  value: response.headers.get("opc-request-id"),
2660
4180
  key: "opcRequestId",
2661
4181
  dataType: "string"
2662
4182
  },
4183
+ {
4184
+ value: response.headers.get("opc-total-items"),
4185
+ key: "opcTotalItems",
4186
+ dataType: "number"
4187
+ },
2663
4188
  {
2664
4189
  value: response.headers.get("opc-next-page"),
2665
4190
  key: "opcNextPage",
@@ -2675,49 +4200,57 @@ class OperationsInsightsClient {
2675
4200
  });
2676
4201
  }
2677
4202
  /**
2678
- * A cumulative distribution function is used to rank the usage data points per database within the specified time period.
2679
- * For each database, the minimum data point with a ranking > the percentile value is included in the summation.
4203
+ * A cumulative distribution function is used to rank the usage data points per resource within the specified time period.
4204
+ * For each resource, the minimum data point with a ranking > the percentile value is included in the summation.
2680
4205
  * Linear regression functions are used to calculate the usage change percentage.
4206
+ * Valid values for ResourceType DATABASE are CPU,MEMORY,IO and STORAGE.
4207
+ * Valid values for ResourceType HOST are CPU and MEMORY.
4208
+ * Valid values for ResourceType STORAGE_SERVER are STORAGE, IOPS and THROUGHPUT.
2681
4209
  *
2682
- * @param SummarizeDatabaseInsightResourceUsageRequest
2683
- * @return SummarizeDatabaseInsightResourceUsageResponse
4210
+ * This operation does not retry by default if the user has not defined a retry configuration.
4211
+ * @param SummarizeExadataInsightResourceUsageRequest
4212
+ * @return SummarizeExadataInsightResourceUsageResponse
2684
4213
  * @throws OciError when an error occurs
2685
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.5.0/opsi/SummarizeDatabaseInsightResourceUsage.ts.html |here} to see how to use SummarizeDatabaseInsightResourceUsage API.
4214
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.1/opsi/SummarizeExadataInsightResourceUsage.ts.html |here} to see how to use SummarizeExadataInsightResourceUsage API.
2686
4215
  */
2687
- summarizeDatabaseInsightResourceUsage(summarizeDatabaseInsightResourceUsageRequest) {
4216
+ summarizeExadataInsightResourceUsage(summarizeExadataInsightResourceUsageRequest) {
2688
4217
  return __awaiter(this, void 0, void 0, function* () {
2689
4218
  if (this.logger)
2690
- this.logger.debug("Calling operation OperationsInsightsClient#summarizeDatabaseInsightResourceUsage.");
4219
+ this.logger.debug("Calling operation OperationsInsightsClient#summarizeExadataInsightResourceUsage.");
2691
4220
  const pathParams = {};
2692
4221
  const queryParams = {
2693
- "compartmentId": summarizeDatabaseInsightResourceUsageRequest.compartmentId,
2694
- "resourceMetric": summarizeDatabaseInsightResourceUsageRequest.resourceMetric,
2695
- "analysisTimeInterval": summarizeDatabaseInsightResourceUsageRequest.analysisTimeInterval,
2696
- "timeIntervalStart": summarizeDatabaseInsightResourceUsageRequest.timeIntervalStart,
2697
- "timeIntervalEnd": summarizeDatabaseInsightResourceUsageRequest.timeIntervalEnd,
2698
- "databaseType": summarizeDatabaseInsightResourceUsageRequest.databaseType,
2699
- "databaseId": summarizeDatabaseInsightResourceUsageRequest.databaseId,
2700
- "id": summarizeDatabaseInsightResourceUsageRequest.id,
2701
- "hostName": summarizeDatabaseInsightResourceUsageRequest.hostName,
2702
- "isDatabaseInstanceLevelMetrics": summarizeDatabaseInsightResourceUsageRequest.isDatabaseInstanceLevelMetrics,
2703
- "page": summarizeDatabaseInsightResourceUsageRequest.page,
2704
- "percentile": summarizeDatabaseInsightResourceUsageRequest.percentile,
2705
- "definedTagEquals": summarizeDatabaseInsightResourceUsageRequest.definedTagEquals,
2706
- "freeformTagEquals": summarizeDatabaseInsightResourceUsageRequest.freeformTagEquals,
2707
- "definedTagExists": summarizeDatabaseInsightResourceUsageRequest.definedTagExists,
2708
- "freeformTagExists": summarizeDatabaseInsightResourceUsageRequest.freeformTagExists
4222
+ "compartmentId": summarizeExadataInsightResourceUsageRequest.compartmentId,
4223
+ "resourceType": summarizeExadataInsightResourceUsageRequest.resourceType,
4224
+ "resourceMetric": summarizeExadataInsightResourceUsageRequest.resourceMetric,
4225
+ "analysisTimeInterval": summarizeExadataInsightResourceUsageRequest.analysisTimeInterval,
4226
+ "timeIntervalStart": summarizeExadataInsightResourceUsageRequest.timeIntervalStart,
4227
+ "timeIntervalEnd": summarizeExadataInsightResourceUsageRequest.timeIntervalEnd,
4228
+ "exadataInsightId": summarizeExadataInsightResourceUsageRequest.exadataInsightId,
4229
+ "exadataType": summarizeExadataInsightResourceUsageRequest.exadataType,
4230
+ "cdbName": summarizeExadataInsightResourceUsageRequest.cdbName,
4231
+ "hostName": summarizeExadataInsightResourceUsageRequest.hostName,
4232
+ "sortOrder": summarizeExadataInsightResourceUsageRequest.sortOrder,
4233
+ "sortBy": summarizeExadataInsightResourceUsageRequest.sortBy,
4234
+ "page": summarizeExadataInsightResourceUsageRequest.page,
4235
+ "limit": summarizeExadataInsightResourceUsageRequest.limit,
4236
+ "percentile": summarizeExadataInsightResourceUsageRequest.percentile,
4237
+ "definedTagEquals": summarizeExadataInsightResourceUsageRequest.definedTagEquals,
4238
+ "freeformTagEquals": summarizeExadataInsightResourceUsageRequest.freeformTagEquals,
4239
+ "definedTagExists": summarizeExadataInsightResourceUsageRequest.definedTagExists,
4240
+ "freeformTagExists": summarizeExadataInsightResourceUsageRequest.freeformTagExists
2709
4241
  };
2710
4242
  let headerParams = {
2711
4243
  "Content-Type": common.Constants.APPLICATION_JSON,
2712
- "opc-request-id": summarizeDatabaseInsightResourceUsageRequest.opcRequestId
4244
+ "opc-request-id": summarizeExadataInsightResourceUsageRequest.opcRequestId
2713
4245
  };
2714
- const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : {}, summarizeDatabaseInsightResourceUsageRequest.retryConfiguration);
4246
+ const specRetryConfiguration = common.NoRetryConfigurationDetails;
4247
+ const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, summarizeExadataInsightResourceUsageRequest.retryConfiguration, specRetryConfiguration);
2715
4248
  if (this.logger)
2716
4249
  retrier.logger = this.logger;
2717
4250
  const request = yield oci_common_1.composeRequest({
2718
4251
  baseEndpoint: this._endpoint,
2719
4252
  defaultHeaders: this._defaultHeaders,
2720
- path: "/databaseInsights/resourceUsageSummary",
4253
+ path: "/exadataInsights/resourceUsageSummary",
2721
4254
  method: "GET",
2722
4255
  pathParams: pathParams,
2723
4256
  headerParams: headerParams,
@@ -2728,9 +4261,9 @@ class OperationsInsightsClient {
2728
4261
  const sdkResponse = oci_common_1.composeResponse({
2729
4262
  responseObject: {},
2730
4263
  body: yield response.json(),
2731
- bodyKey: "summarizeDatabaseInsightResourceUsageAggregation",
2732
- bodyModel: model.SummarizeDatabaseInsightResourceUsageAggregation,
2733
- type: "model.SummarizeDatabaseInsightResourceUsageAggregation",
4264
+ bodyKey: "summarizeExadataInsightResourceUsageCollection",
4265
+ bodyModel: model.SummarizeExadataInsightResourceUsageCollection,
4266
+ type: "model.SummarizeExadataInsightResourceUsageCollection",
2734
4267
  responseHeaders: [
2735
4268
  {
2736
4269
  value: response.headers.get("opc-request-id"),
@@ -2752,49 +4285,54 @@ class OperationsInsightsClient {
2752
4285
  });
2753
4286
  }
2754
4287
  /**
2755
- * Returns response with time series data (endTimestamp, usage, capacity) for the time period specified.
2756
- * The maximum time range for analysis is 2 years, hence this is intentionally not paginated.
4288
+ * A cumulative distribution function is used to rank the usage data points per database within the specified time period.
4289
+ * For each database, the minimum data point with a ranking > the percentile value is included in the summation.
4290
+ * Linear regression functions are used to calculate the usage change percentage.
4291
+ * Valid values for ResourceType DATABASE are CPU,MEMORY,IO and STORAGE.
4292
+ * Valid values for ResourceType HOST are CPU and MEMORY.
4293
+ * Valid values for ResourceType STORAGE_SERVER are STORAGE, IOPS and THROUGHPUT.
2757
4294
  *
2758
- * @param SummarizeDatabaseInsightResourceUsageTrendRequest
2759
- * @return SummarizeDatabaseInsightResourceUsageTrendResponse
4295
+ * This operation does not retry by default if the user has not defined a retry configuration.
4296
+ * @param SummarizeExadataInsightResourceUsageAggregatedRequest
4297
+ * @return SummarizeExadataInsightResourceUsageAggregatedResponse
2760
4298
  * @throws OciError when an error occurs
2761
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.5.0/opsi/SummarizeDatabaseInsightResourceUsageTrend.ts.html |here} to see how to use SummarizeDatabaseInsightResourceUsageTrend API.
4299
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.1/opsi/SummarizeExadataInsightResourceUsageAggregated.ts.html |here} to see how to use SummarizeExadataInsightResourceUsageAggregated API.
2762
4300
  */
2763
- summarizeDatabaseInsightResourceUsageTrend(summarizeDatabaseInsightResourceUsageTrendRequest) {
4301
+ summarizeExadataInsightResourceUsageAggregated(summarizeExadataInsightResourceUsageAggregatedRequest) {
2764
4302
  return __awaiter(this, void 0, void 0, function* () {
2765
4303
  if (this.logger)
2766
- this.logger.debug("Calling operation OperationsInsightsClient#summarizeDatabaseInsightResourceUsageTrend.");
4304
+ this.logger.debug("Calling operation OperationsInsightsClient#summarizeExadataInsightResourceUsageAggregated.");
2767
4305
  const pathParams = {};
2768
4306
  const queryParams = {
2769
- "compartmentId": summarizeDatabaseInsightResourceUsageTrendRequest.compartmentId,
2770
- "resourceMetric": summarizeDatabaseInsightResourceUsageTrendRequest.resourceMetric,
2771
- "analysisTimeInterval": summarizeDatabaseInsightResourceUsageTrendRequest.analysisTimeInterval,
2772
- "timeIntervalStart": summarizeDatabaseInsightResourceUsageTrendRequest.timeIntervalStart,
2773
- "timeIntervalEnd": summarizeDatabaseInsightResourceUsageTrendRequest.timeIntervalEnd,
2774
- "databaseType": summarizeDatabaseInsightResourceUsageTrendRequest.databaseType,
2775
- "databaseId": summarizeDatabaseInsightResourceUsageTrendRequest.databaseId,
2776
- "id": summarizeDatabaseInsightResourceUsageTrendRequest.id,
2777
- "page": summarizeDatabaseInsightResourceUsageTrendRequest.page,
2778
- "sortOrder": summarizeDatabaseInsightResourceUsageTrendRequest.sortOrder,
2779
- "sortBy": summarizeDatabaseInsightResourceUsageTrendRequest.sortBy,
2780
- "hostName": summarizeDatabaseInsightResourceUsageTrendRequest.hostName,
2781
- "isDatabaseInstanceLevelMetrics": summarizeDatabaseInsightResourceUsageTrendRequest.isDatabaseInstanceLevelMetrics,
2782
- "definedTagEquals": summarizeDatabaseInsightResourceUsageTrendRequest.definedTagEquals,
2783
- "freeformTagEquals": summarizeDatabaseInsightResourceUsageTrendRequest.freeformTagEquals,
2784
- "definedTagExists": summarizeDatabaseInsightResourceUsageTrendRequest.definedTagExists,
2785
- "freeformTagExists": summarizeDatabaseInsightResourceUsageTrendRequest.freeformTagExists
4307
+ "compartmentId": summarizeExadataInsightResourceUsageAggregatedRequest.compartmentId,
4308
+ "resourceType": summarizeExadataInsightResourceUsageAggregatedRequest.resourceType,
4309
+ "resourceMetric": summarizeExadataInsightResourceUsageAggregatedRequest.resourceMetric,
4310
+ "analysisTimeInterval": summarizeExadataInsightResourceUsageAggregatedRequest.analysisTimeInterval,
4311
+ "timeIntervalStart": summarizeExadataInsightResourceUsageAggregatedRequest.timeIntervalStart,
4312
+ "timeIntervalEnd": summarizeExadataInsightResourceUsageAggregatedRequest.timeIntervalEnd,
4313
+ "exadataInsightId": summarizeExadataInsightResourceUsageAggregatedRequest.exadataInsightId,
4314
+ "exadataType": summarizeExadataInsightResourceUsageAggregatedRequest.exadataType,
4315
+ "cdbName": summarizeExadataInsightResourceUsageAggregatedRequest.cdbName,
4316
+ "hostName": summarizeExadataInsightResourceUsageAggregatedRequest.hostName,
4317
+ "page": summarizeExadataInsightResourceUsageAggregatedRequest.page,
4318
+ "percentile": summarizeExadataInsightResourceUsageAggregatedRequest.percentile,
4319
+ "definedTagEquals": summarizeExadataInsightResourceUsageAggregatedRequest.definedTagEquals,
4320
+ "freeformTagEquals": summarizeExadataInsightResourceUsageAggregatedRequest.freeformTagEquals,
4321
+ "definedTagExists": summarizeExadataInsightResourceUsageAggregatedRequest.definedTagExists,
4322
+ "freeformTagExists": summarizeExadataInsightResourceUsageAggregatedRequest.freeformTagExists
2786
4323
  };
2787
4324
  let headerParams = {
2788
4325
  "Content-Type": common.Constants.APPLICATION_JSON,
2789
- "opc-request-id": summarizeDatabaseInsightResourceUsageTrendRequest.opcRequestId
4326
+ "opc-request-id": summarizeExadataInsightResourceUsageAggregatedRequest.opcRequestId
2790
4327
  };
2791
- const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : {}, summarizeDatabaseInsightResourceUsageTrendRequest.retryConfiguration);
4328
+ const specRetryConfiguration = common.NoRetryConfigurationDetails;
4329
+ const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, summarizeExadataInsightResourceUsageAggregatedRequest.retryConfiguration, specRetryConfiguration);
2792
4330
  if (this.logger)
2793
4331
  retrier.logger = this.logger;
2794
4332
  const request = yield oci_common_1.composeRequest({
2795
4333
  baseEndpoint: this._endpoint,
2796
4334
  defaultHeaders: this._defaultHeaders,
2797
- path: "/databaseInsights/resourceUsageTrend",
4335
+ path: "/exadataInsights/resourceUsageSummaryAggregated",
2798
4336
  method: "GET",
2799
4337
  pathParams: pathParams,
2800
4338
  headerParams: headerParams,
@@ -2805,9 +4343,9 @@ class OperationsInsightsClient {
2805
4343
  const sdkResponse = oci_common_1.composeResponse({
2806
4344
  responseObject: {},
2807
4345
  body: yield response.json(),
2808
- bodyKey: "summarizeDatabaseInsightResourceUsageTrendAggregationCollection",
2809
- bodyModel: model.SummarizeDatabaseInsightResourceUsageTrendAggregationCollection,
2810
- type: "model.SummarizeDatabaseInsightResourceUsageTrendAggregationCollection",
4346
+ bodyKey: "summarizeExadataInsightResourceUsageAggregation",
4347
+ bodyModel: model.SummarizeExadataInsightResourceUsageAggregation,
4348
+ type: "model.SummarizeExadataInsightResourceUsageAggregation",
2811
4349
  responseHeaders: [
2812
4350
  {
2813
4351
  value: response.headers.get("opc-request-id"),
@@ -2829,46 +4367,50 @@ class OperationsInsightsClient {
2829
4367
  });
2830
4368
  }
2831
4369
  /**
2832
- * Gets resources with current utilization (high and low) and projected utilization (high and low) for a resource type over specified time period.
2833
- * @param SummarizeDatabaseInsightResourceUtilizationInsightRequest
2834
- * @return SummarizeDatabaseInsightResourceUtilizationInsightResponse
4370
+ * Gets current utilization, projected utilization and days to reach projectedUtilization for an exadata system over specified time period. Valid values for ResourceType DATABASE are CPU,MEMORY,IO and STORAGE. Valid values for ResourceType HOST are CPU and MEMORY. Valid values for ResourceType STORAGE_SERVER are STORAGE, IOPS and THROUGHPUT.
4371
+ * This operation does not retry by default if the user has not defined a retry configuration.
4372
+ * @param SummarizeExadataInsightResourceUtilizationInsightRequest
4373
+ * @return SummarizeExadataInsightResourceUtilizationInsightResponse
2835
4374
  * @throws OciError when an error occurs
2836
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.5.0/opsi/SummarizeDatabaseInsightResourceUtilizationInsight.ts.html |here} to see how to use SummarizeDatabaseInsightResourceUtilizationInsight API.
4375
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.1/opsi/SummarizeExadataInsightResourceUtilizationInsight.ts.html |here} to see how to use SummarizeExadataInsightResourceUtilizationInsight API.
2837
4376
  */
2838
- summarizeDatabaseInsightResourceUtilizationInsight(summarizeDatabaseInsightResourceUtilizationInsightRequest) {
4377
+ summarizeExadataInsightResourceUtilizationInsight(summarizeExadataInsightResourceUtilizationInsightRequest) {
2839
4378
  return __awaiter(this, void 0, void 0, function* () {
2840
4379
  if (this.logger)
2841
- this.logger.debug("Calling operation OperationsInsightsClient#summarizeDatabaseInsightResourceUtilizationInsight.");
4380
+ this.logger.debug("Calling operation OperationsInsightsClient#summarizeExadataInsightResourceUtilizationInsight.");
2842
4381
  const pathParams = {};
2843
4382
  const queryParams = {
2844
- "compartmentId": summarizeDatabaseInsightResourceUtilizationInsightRequest.compartmentId,
2845
- "resourceMetric": summarizeDatabaseInsightResourceUtilizationInsightRequest.resourceMetric,
2846
- "analysisTimeInterval": summarizeDatabaseInsightResourceUtilizationInsightRequest.analysisTimeInterval,
2847
- "timeIntervalStart": summarizeDatabaseInsightResourceUtilizationInsightRequest.timeIntervalStart,
2848
- "timeIntervalEnd": summarizeDatabaseInsightResourceUtilizationInsightRequest.timeIntervalEnd,
2849
- "databaseType": summarizeDatabaseInsightResourceUtilizationInsightRequest.databaseType,
2850
- "databaseId": summarizeDatabaseInsightResourceUtilizationInsightRequest.databaseId,
2851
- "id": summarizeDatabaseInsightResourceUtilizationInsightRequest.id,
2852
- "forecastDays": summarizeDatabaseInsightResourceUtilizationInsightRequest.forecastDays,
2853
- "hostName": summarizeDatabaseInsightResourceUtilizationInsightRequest.hostName,
2854
- "isDatabaseInstanceLevelMetrics": summarizeDatabaseInsightResourceUtilizationInsightRequest.isDatabaseInstanceLevelMetrics,
2855
- "page": summarizeDatabaseInsightResourceUtilizationInsightRequest.page,
2856
- "definedTagEquals": summarizeDatabaseInsightResourceUtilizationInsightRequest.definedTagEquals,
2857
- "freeformTagEquals": summarizeDatabaseInsightResourceUtilizationInsightRequest.freeformTagEquals,
2858
- "definedTagExists": summarizeDatabaseInsightResourceUtilizationInsightRequest.definedTagExists,
2859
- "freeformTagExists": summarizeDatabaseInsightResourceUtilizationInsightRequest.freeformTagExists
4383
+ "compartmentId": summarizeExadataInsightResourceUtilizationInsightRequest.compartmentId,
4384
+ "resourceType": summarizeExadataInsightResourceUtilizationInsightRequest.resourceType,
4385
+ "resourceMetric": summarizeExadataInsightResourceUtilizationInsightRequest.resourceMetric,
4386
+ "analysisTimeInterval": summarizeExadataInsightResourceUtilizationInsightRequest.analysisTimeInterval,
4387
+ "timeIntervalStart": summarizeExadataInsightResourceUtilizationInsightRequest.timeIntervalStart,
4388
+ "timeIntervalEnd": summarizeExadataInsightResourceUtilizationInsightRequest.timeIntervalEnd,
4389
+ "exadataInsightId": summarizeExadataInsightResourceUtilizationInsightRequest.exadataInsightId,
4390
+ "exadataType": summarizeExadataInsightResourceUtilizationInsightRequest.exadataType,
4391
+ "forecastStartDay": summarizeExadataInsightResourceUtilizationInsightRequest.forecastStartDay,
4392
+ "forecastDays": summarizeExadataInsightResourceUtilizationInsightRequest.forecastDays,
4393
+ "cdbName": summarizeExadataInsightResourceUtilizationInsightRequest.cdbName,
4394
+ "hostName": summarizeExadataInsightResourceUtilizationInsightRequest.hostName,
4395
+ "limit": summarizeExadataInsightResourceUtilizationInsightRequest.limit,
4396
+ "page": summarizeExadataInsightResourceUtilizationInsightRequest.page,
4397
+ "definedTagEquals": summarizeExadataInsightResourceUtilizationInsightRequest.definedTagEquals,
4398
+ "freeformTagEquals": summarizeExadataInsightResourceUtilizationInsightRequest.freeformTagEquals,
4399
+ "definedTagExists": summarizeExadataInsightResourceUtilizationInsightRequest.definedTagExists,
4400
+ "freeformTagExists": summarizeExadataInsightResourceUtilizationInsightRequest.freeformTagExists
2860
4401
  };
2861
4402
  let headerParams = {
2862
4403
  "Content-Type": common.Constants.APPLICATION_JSON,
2863
- "opc-request-id": summarizeDatabaseInsightResourceUtilizationInsightRequest.opcRequestId
4404
+ "opc-request-id": summarizeExadataInsightResourceUtilizationInsightRequest.opcRequestId
2864
4405
  };
2865
- const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : {}, summarizeDatabaseInsightResourceUtilizationInsightRequest.retryConfiguration);
4406
+ const specRetryConfiguration = common.NoRetryConfigurationDetails;
4407
+ const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, summarizeExadataInsightResourceUtilizationInsightRequest.retryConfiguration, specRetryConfiguration);
2866
4408
  if (this.logger)
2867
4409
  retrier.logger = this.logger;
2868
4410
  const request = yield oci_common_1.composeRequest({
2869
4411
  baseEndpoint: this._endpoint,
2870
4412
  defaultHeaders: this._defaultHeaders,
2871
- path: "/databaseInsights/resourceUtilizationInsight",
4413
+ path: "/exadataInsights/resourceUtilizationInsight",
2872
4414
  method: "GET",
2873
4415
  pathParams: pathParams,
2874
4416
  headerParams: headerParams,
@@ -2879,15 +4421,20 @@ class OperationsInsightsClient {
2879
4421
  const sdkResponse = oci_common_1.composeResponse({
2880
4422
  responseObject: {},
2881
4423
  body: yield response.json(),
2882
- bodyKey: "summarizeDatabaseInsightResourceUtilizationInsightAggregation",
2883
- bodyModel: model.SummarizeDatabaseInsightResourceUtilizationInsightAggregation,
2884
- type: "model.SummarizeDatabaseInsightResourceUtilizationInsightAggregation",
4424
+ bodyKey: "summarizeExadataInsightResourceUtilizationInsightAggregation",
4425
+ bodyModel: model.SummarizeExadataInsightResourceUtilizationInsightAggregation,
4426
+ type: "model.SummarizeExadataInsightResourceUtilizationInsightAggregation",
2885
4427
  responseHeaders: [
2886
4428
  {
2887
4429
  value: response.headers.get("opc-request-id"),
2888
4430
  key: "opcRequestId",
2889
4431
  dataType: "string"
2890
4432
  },
4433
+ {
4434
+ value: response.headers.get("opc-total-items"),
4435
+ key: "opcTotalItems",
4436
+ dataType: "number"
4437
+ },
2891
4438
  {
2892
4439
  value: response.headers.get("opc-next-page"),
2893
4440
  key: "opcNextPage",
@@ -2903,41 +4450,38 @@ class OperationsInsightsClient {
2903
4450
  });
2904
4451
  }
2905
4452
  /**
2906
- * Returns response with usage time series data (endTimestamp, usage, capacity) with breakdown by tablespaceName for the time period specified.
2907
- * The maximum time range for analysis is 2 years, hence this is intentionally not paginated.
2908
- * Either databaseId or id must be specified.
2909
- *
2910
- * @param SummarizeDatabaseInsightTablespaceUsageTrendRequest
2911
- * @return SummarizeDatabaseInsightTablespaceUsageTrendResponse
4453
+ * Lists the software and hardware inventory of the Exadata System.
4454
+ * This operation does not retry by default if the user has not defined a retry configuration.
4455
+ * @param SummarizeExadataMembersRequest
4456
+ * @return SummarizeExadataMembersResponse
2912
4457
  * @throws OciError when an error occurs
2913
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.5.0/opsi/SummarizeDatabaseInsightTablespaceUsageTrend.ts.html |here} to see how to use SummarizeDatabaseInsightTablespaceUsageTrend API.
4458
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.1/opsi/SummarizeExadataMembers.ts.html |here} to see how to use SummarizeExadataMembers API.
2914
4459
  */
2915
- summarizeDatabaseInsightTablespaceUsageTrend(summarizeDatabaseInsightTablespaceUsageTrendRequest) {
4460
+ summarizeExadataMembers(summarizeExadataMembersRequest) {
2916
4461
  return __awaiter(this, void 0, void 0, function* () {
2917
4462
  if (this.logger)
2918
- this.logger.debug("Calling operation OperationsInsightsClient#summarizeDatabaseInsightTablespaceUsageTrend.");
4463
+ this.logger.debug("Calling operation OperationsInsightsClient#summarizeExadataMembers.");
2919
4464
  const pathParams = {};
2920
4465
  const queryParams = {
2921
- "compartmentId": summarizeDatabaseInsightTablespaceUsageTrendRequest.compartmentId,
2922
- "analysisTimeInterval": summarizeDatabaseInsightTablespaceUsageTrendRequest.analysisTimeInterval,
2923
- "timeIntervalStart": summarizeDatabaseInsightTablespaceUsageTrendRequest.timeIntervalStart,
2924
- "timeIntervalEnd": summarizeDatabaseInsightTablespaceUsageTrendRequest.timeIntervalEnd,
2925
- "databaseId": summarizeDatabaseInsightTablespaceUsageTrendRequest.databaseId,
2926
- "id": summarizeDatabaseInsightTablespaceUsageTrendRequest.id,
2927
- "page": summarizeDatabaseInsightTablespaceUsageTrendRequest.page,
2928
- "limit": summarizeDatabaseInsightTablespaceUsageTrendRequest.limit
4466
+ "exadataInsightId": summarizeExadataMembersRequest.exadataInsightId,
4467
+ "exadataType": summarizeExadataMembersRequest.exadataType,
4468
+ "sortOrder": summarizeExadataMembersRequest.sortOrder,
4469
+ "sortBy": summarizeExadataMembersRequest.sortBy,
4470
+ "limit": summarizeExadataMembersRequest.limit,
4471
+ "page": summarizeExadataMembersRequest.page
2929
4472
  };
2930
4473
  let headerParams = {
2931
4474
  "Content-Type": common.Constants.APPLICATION_JSON,
2932
- "opc-request-id": summarizeDatabaseInsightTablespaceUsageTrendRequest.opcRequestId
4475
+ "opc-request-id": summarizeExadataMembersRequest.opcRequestId
2933
4476
  };
2934
- const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : {}, summarizeDatabaseInsightTablespaceUsageTrendRequest.retryConfiguration);
4477
+ const specRetryConfiguration = common.NoRetryConfigurationDetails;
4478
+ const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, summarizeExadataMembersRequest.retryConfiguration, specRetryConfiguration);
2935
4479
  if (this.logger)
2936
4480
  retrier.logger = this.logger;
2937
4481
  const request = yield oci_common_1.composeRequest({
2938
4482
  baseEndpoint: this._endpoint,
2939
4483
  defaultHeaders: this._defaultHeaders,
2940
- path: "/databaseInsights/tablespaceUsageTrend",
4484
+ path: "/exadataInsights/exadataMembers",
2941
4485
  method: "GET",
2942
4486
  pathParams: pathParams,
2943
4487
  headerParams: headerParams,
@@ -2948,15 +4492,20 @@ class OperationsInsightsClient {
2948
4492
  const sdkResponse = oci_common_1.composeResponse({
2949
4493
  responseObject: {},
2950
4494
  body: yield response.json(),
2951
- bodyKey: "summarizeDatabaseInsightTablespaceUsageTrendAggregationCollection",
2952
- bodyModel: model.SummarizeDatabaseInsightTablespaceUsageTrendAggregationCollection,
2953
- type: "model.SummarizeDatabaseInsightTablespaceUsageTrendAggregationCollection",
4495
+ bodyKey: "exadataMemberCollection",
4496
+ bodyModel: model.ExadataMemberCollection,
4497
+ type: "model.ExadataMemberCollection",
2954
4498
  responseHeaders: [
2955
4499
  {
2956
4500
  value: response.headers.get("opc-request-id"),
2957
4501
  key: "opcRequestId",
2958
4502
  dataType: "string"
2959
4503
  },
4504
+ {
4505
+ value: response.headers.get("opc-total-items"),
4506
+ key: "opcTotalItems",
4507
+ dataType: "number"
4508
+ },
2960
4509
  {
2961
4510
  value: response.headers.get("opc-next-page"),
2962
4511
  key: "opcNextPage",
@@ -2975,10 +4524,11 @@ class OperationsInsightsClient {
2975
4524
  * Returns response with time series data (endTimestamp, capacity) for the time period specified.
2976
4525
  * The maximum time range for analysis is 2 years, hence this is intentionally not paginated.
2977
4526
  *
4527
+ * This operation does not retry by default if the user has not defined a retry configuration.
2978
4528
  * @param SummarizeHostInsightResourceCapacityTrendRequest
2979
4529
  * @return SummarizeHostInsightResourceCapacityTrendResponse
2980
4530
  * @throws OciError when an error occurs
2981
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.5.0/opsi/SummarizeHostInsightResourceCapacityTrend.ts.html |here} to see how to use SummarizeHostInsightResourceCapacityTrend API.
4531
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.1/opsi/SummarizeHostInsightResourceCapacityTrend.ts.html |here} to see how to use SummarizeHostInsightResourceCapacityTrend API.
2982
4532
  */
2983
4533
  summarizeHostInsightResourceCapacityTrend(summarizeHostInsightResourceCapacityTrendRequest) {
2984
4534
  return __awaiter(this, void 0, void 0, function* () {
@@ -2993,6 +4543,7 @@ class OperationsInsightsClient {
2993
4543
  "timeIntervalEnd": summarizeHostInsightResourceCapacityTrendRequest.timeIntervalEnd,
2994
4544
  "platformType": summarizeHostInsightResourceCapacityTrendRequest.platformType,
2995
4545
  "id": summarizeHostInsightResourceCapacityTrendRequest.id,
4546
+ "exadataInsightId": summarizeHostInsightResourceCapacityTrendRequest.exadataInsightId,
2996
4547
  "utilizationLevel": summarizeHostInsightResourceCapacityTrendRequest.utilizationLevel,
2997
4548
  "page": summarizeHostInsightResourceCapacityTrendRequest.page,
2998
4549
  "sortOrder": summarizeHostInsightResourceCapacityTrendRequest.sortOrder,
@@ -3006,7 +4557,8 @@ class OperationsInsightsClient {
3006
4557
  "Content-Type": common.Constants.APPLICATION_JSON,
3007
4558
  "opc-request-id": summarizeHostInsightResourceCapacityTrendRequest.opcRequestId
3008
4559
  };
3009
- const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : {}, summarizeHostInsightResourceCapacityTrendRequest.retryConfiguration);
4560
+ const specRetryConfiguration = common.NoRetryConfigurationDetails;
4561
+ const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, summarizeHostInsightResourceCapacityTrendRequest.retryConfiguration, specRetryConfiguration);
3010
4562
  if (this.logger)
3011
4563
  retrier.logger = this.logger;
3012
4564
  const request = yield oci_common_1.composeRequest({
@@ -3049,10 +4601,11 @@ class OperationsInsightsClient {
3049
4601
  /**
3050
4602
  * Get Forecast predictions for CPU or memory resources since a time in the past.
3051
4603
  *
4604
+ * This operation does not retry by default if the user has not defined a retry configuration.
3052
4605
  * @param SummarizeHostInsightResourceForecastTrendRequest
3053
4606
  * @return SummarizeHostInsightResourceForecastTrendResponse
3054
4607
  * @throws OciError when an error occurs
3055
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.5.0/opsi/SummarizeHostInsightResourceForecastTrend.ts.html |here} to see how to use SummarizeHostInsightResourceForecastTrend API.
4608
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.1/opsi/SummarizeHostInsightResourceForecastTrend.ts.html |here} to see how to use SummarizeHostInsightResourceForecastTrend API.
3056
4609
  */
3057
4610
  summarizeHostInsightResourceForecastTrend(summarizeHostInsightResourceForecastTrendRequest) {
3058
4611
  return __awaiter(this, void 0, void 0, function* () {
@@ -3067,6 +4620,7 @@ class OperationsInsightsClient {
3067
4620
  "timeIntervalEnd": summarizeHostInsightResourceForecastTrendRequest.timeIntervalEnd,
3068
4621
  "platformType": summarizeHostInsightResourceForecastTrendRequest.platformType,
3069
4622
  "id": summarizeHostInsightResourceForecastTrendRequest.id,
4623
+ "exadataInsightId": summarizeHostInsightResourceForecastTrendRequest.exadataInsightId,
3070
4624
  "statistic": summarizeHostInsightResourceForecastTrendRequest.statistic,
3071
4625
  "forecastDays": summarizeHostInsightResourceForecastTrendRequest.forecastDays,
3072
4626
  "forecastModel": summarizeHostInsightResourceForecastTrendRequest.forecastModel,
@@ -3082,7 +4636,8 @@ class OperationsInsightsClient {
3082
4636
  "Content-Type": common.Constants.APPLICATION_JSON,
3083
4637
  "opc-request-id": summarizeHostInsightResourceForecastTrendRequest.opcRequestId
3084
4638
  };
3085
- const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : {}, summarizeHostInsightResourceForecastTrendRequest.retryConfiguration);
4639
+ const specRetryConfiguration = common.NoRetryConfigurationDetails;
4640
+ const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, summarizeHostInsightResourceForecastTrendRequest.retryConfiguration, specRetryConfiguration);
3086
4641
  if (this.logger)
3087
4642
  retrier.logger = this.logger;
3088
4643
  const request = yield oci_common_1.composeRequest({
@@ -3121,10 +4676,11 @@ class OperationsInsightsClient {
3121
4676
  * Lists the resource statistics (usage, capacity, usage change percent, utilization percent, load) for each host filtered
3122
4677
  * by utilization level.
3123
4678
  *
4679
+ * This operation does not retry by default if the user has not defined a retry configuration.
3124
4680
  * @param SummarizeHostInsightResourceStatisticsRequest
3125
4681
  * @return SummarizeHostInsightResourceStatisticsResponse
3126
4682
  * @throws OciError when an error occurs
3127
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.5.0/opsi/SummarizeHostInsightResourceStatistics.ts.html |here} to see how to use SummarizeHostInsightResourceStatistics API.
4683
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.1/opsi/SummarizeHostInsightResourceStatistics.ts.html |here} to see how to use SummarizeHostInsightResourceStatistics API.
3128
4684
  */
3129
4685
  summarizeHostInsightResourceStatistics(summarizeHostInsightResourceStatisticsRequest) {
3130
4686
  return __awaiter(this, void 0, void 0, function* () {
@@ -3139,6 +4695,7 @@ class OperationsInsightsClient {
3139
4695
  "timeIntervalEnd": summarizeHostInsightResourceStatisticsRequest.timeIntervalEnd,
3140
4696
  "platformType": summarizeHostInsightResourceStatisticsRequest.platformType,
3141
4697
  "id": summarizeHostInsightResourceStatisticsRequest.id,
4698
+ "exadataInsightId": summarizeHostInsightResourceStatisticsRequest.exadataInsightId,
3142
4699
  "percentile": summarizeHostInsightResourceStatisticsRequest.percentile,
3143
4700
  "insightBy": summarizeHostInsightResourceStatisticsRequest.insightBy,
3144
4701
  "forecastDays": summarizeHostInsightResourceStatisticsRequest.forecastDays,
@@ -3155,7 +4712,8 @@ class OperationsInsightsClient {
3155
4712
  "Content-Type": common.Constants.APPLICATION_JSON,
3156
4713
  "opc-request-id": summarizeHostInsightResourceStatisticsRequest.opcRequestId
3157
4714
  };
3158
- const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : {}, summarizeHostInsightResourceStatisticsRequest.retryConfiguration);
4715
+ const specRetryConfiguration = common.NoRetryConfigurationDetails;
4716
+ const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, summarizeHostInsightResourceStatisticsRequest.retryConfiguration, specRetryConfiguration);
3159
4717
  if (this.logger)
3160
4718
  retrier.logger = this.logger;
3161
4719
  const request = yield oci_common_1.composeRequest({
@@ -3200,10 +4758,11 @@ class OperationsInsightsClient {
3200
4758
  * For each host, the minimum data point with a ranking > the percentile value is included in the summation.
3201
4759
  * Linear regression functions are used to calculate the usage change percentage.
3202
4760
  *
4761
+ * This operation does not retry by default if the user has not defined a retry configuration.
3203
4762
  * @param SummarizeHostInsightResourceUsageRequest
3204
4763
  * @return SummarizeHostInsightResourceUsageResponse
3205
4764
  * @throws OciError when an error occurs
3206
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.5.0/opsi/SummarizeHostInsightResourceUsage.ts.html |here} to see how to use SummarizeHostInsightResourceUsage API.
4765
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.1/opsi/SummarizeHostInsightResourceUsage.ts.html |here} to see how to use SummarizeHostInsightResourceUsage API.
3207
4766
  */
3208
4767
  summarizeHostInsightResourceUsage(summarizeHostInsightResourceUsageRequest) {
3209
4768
  return __awaiter(this, void 0, void 0, function* () {
@@ -3218,6 +4777,7 @@ class OperationsInsightsClient {
3218
4777
  "timeIntervalEnd": summarizeHostInsightResourceUsageRequest.timeIntervalEnd,
3219
4778
  "platformType": summarizeHostInsightResourceUsageRequest.platformType,
3220
4779
  "id": summarizeHostInsightResourceUsageRequest.id,
4780
+ "exadataInsightId": summarizeHostInsightResourceUsageRequest.exadataInsightId,
3221
4781
  "page": summarizeHostInsightResourceUsageRequest.page,
3222
4782
  "percentile": summarizeHostInsightResourceUsageRequest.percentile,
3223
4783
  "definedTagEquals": summarizeHostInsightResourceUsageRequest.definedTagEquals,
@@ -3229,7 +4789,8 @@ class OperationsInsightsClient {
3229
4789
  "Content-Type": common.Constants.APPLICATION_JSON,
3230
4790
  "opc-request-id": summarizeHostInsightResourceUsageRequest.opcRequestId
3231
4791
  };
3232
- const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : {}, summarizeHostInsightResourceUsageRequest.retryConfiguration);
4792
+ const specRetryConfiguration = common.NoRetryConfigurationDetails;
4793
+ const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, summarizeHostInsightResourceUsageRequest.retryConfiguration, specRetryConfiguration);
3233
4794
  if (this.logger)
3234
4795
  retrier.logger = this.logger;
3235
4796
  const request = yield oci_common_1.composeRequest({
@@ -3268,10 +4829,11 @@ class OperationsInsightsClient {
3268
4829
  * Returns response with time series data (endTimestamp, usage, capacity) for the time period specified.
3269
4830
  * The maximum time range for analysis is 2 years, hence this is intentionally not paginated.
3270
4831
  *
4832
+ * This operation does not retry by default if the user has not defined a retry configuration.
3271
4833
  * @param SummarizeHostInsightResourceUsageTrendRequest
3272
4834
  * @return SummarizeHostInsightResourceUsageTrendResponse
3273
4835
  * @throws OciError when an error occurs
3274
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.5.0/opsi/SummarizeHostInsightResourceUsageTrend.ts.html |here} to see how to use SummarizeHostInsightResourceUsageTrend API.
4836
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.1/opsi/SummarizeHostInsightResourceUsageTrend.ts.html |here} to see how to use SummarizeHostInsightResourceUsageTrend API.
3275
4837
  */
3276
4838
  summarizeHostInsightResourceUsageTrend(summarizeHostInsightResourceUsageTrendRequest) {
3277
4839
  return __awaiter(this, void 0, void 0, function* () {
@@ -3286,6 +4848,7 @@ class OperationsInsightsClient {
3286
4848
  "timeIntervalEnd": summarizeHostInsightResourceUsageTrendRequest.timeIntervalEnd,
3287
4849
  "platformType": summarizeHostInsightResourceUsageTrendRequest.platformType,
3288
4850
  "id": summarizeHostInsightResourceUsageTrendRequest.id,
4851
+ "exadataInsightId": summarizeHostInsightResourceUsageTrendRequest.exadataInsightId,
3289
4852
  "page": summarizeHostInsightResourceUsageTrendRequest.page,
3290
4853
  "sortOrder": summarizeHostInsightResourceUsageTrendRequest.sortOrder,
3291
4854
  "sortBy": summarizeHostInsightResourceUsageTrendRequest.sortBy,
@@ -3298,7 +4861,8 @@ class OperationsInsightsClient {
3298
4861
  "Content-Type": common.Constants.APPLICATION_JSON,
3299
4862
  "opc-request-id": summarizeHostInsightResourceUsageTrendRequest.opcRequestId
3300
4863
  };
3301
- const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : {}, summarizeHostInsightResourceUsageTrendRequest.retryConfiguration);
4864
+ const specRetryConfiguration = common.NoRetryConfigurationDetails;
4865
+ const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, summarizeHostInsightResourceUsageTrendRequest.retryConfiguration, specRetryConfiguration);
3302
4866
  if (this.logger)
3303
4867
  retrier.logger = this.logger;
3304
4868
  const request = yield oci_common_1.composeRequest({
@@ -3340,10 +4904,12 @@ class OperationsInsightsClient {
3340
4904
  }
3341
4905
  /**
3342
4906
  * Gets resources with current utilization (high and low) and projected utilization (high and low) for a resource type over specified time period.
4907
+ *
4908
+ * This operation does not retry by default if the user has not defined a retry configuration.
3343
4909
  * @param SummarizeHostInsightResourceUtilizationInsightRequest
3344
4910
  * @return SummarizeHostInsightResourceUtilizationInsightResponse
3345
4911
  * @throws OciError when an error occurs
3346
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.5.0/opsi/SummarizeHostInsightResourceUtilizationInsight.ts.html |here} to see how to use SummarizeHostInsightResourceUtilizationInsight API.
4912
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.1/opsi/SummarizeHostInsightResourceUtilizationInsight.ts.html |here} to see how to use SummarizeHostInsightResourceUtilizationInsight API.
3347
4913
  */
3348
4914
  summarizeHostInsightResourceUtilizationInsight(summarizeHostInsightResourceUtilizationInsightRequest) {
3349
4915
  return __awaiter(this, void 0, void 0, function* () {
@@ -3358,6 +4924,7 @@ class OperationsInsightsClient {
3358
4924
  "timeIntervalEnd": summarizeHostInsightResourceUtilizationInsightRequest.timeIntervalEnd,
3359
4925
  "platformType": summarizeHostInsightResourceUtilizationInsightRequest.platformType,
3360
4926
  "id": summarizeHostInsightResourceUtilizationInsightRequest.id,
4927
+ "exadataInsightId": summarizeHostInsightResourceUtilizationInsightRequest.exadataInsightId,
3361
4928
  "forecastDays": summarizeHostInsightResourceUtilizationInsightRequest.forecastDays,
3362
4929
  "page": summarizeHostInsightResourceUtilizationInsightRequest.page,
3363
4930
  "definedTagEquals": summarizeHostInsightResourceUtilizationInsightRequest.definedTagEquals,
@@ -3369,7 +4936,8 @@ class OperationsInsightsClient {
3369
4936
  "Content-Type": common.Constants.APPLICATION_JSON,
3370
4937
  "opc-request-id": summarizeHostInsightResourceUtilizationInsightRequest.opcRequestId
3371
4938
  };
3372
- const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : {}, summarizeHostInsightResourceUtilizationInsightRequest.retryConfiguration);
4939
+ const specRetryConfiguration = common.NoRetryConfigurationDetails;
4940
+ const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, summarizeHostInsightResourceUtilizationInsightRequest.retryConfiguration, specRetryConfiguration);
3373
4941
  if (this.logger)
3374
4942
  retrier.logger = this.logger;
3375
4943
  const request = yield oci_common_1.composeRequest({
@@ -3405,11 +4973,14 @@ class OperationsInsightsClient {
3405
4973
  });
3406
4974
  }
3407
4975
  /**
3408
- * Query SQL Warehouse to get the performance insights for SQLs taking greater than X% database time for a given time period across the given databases or database types.
4976
+ * Query SQL Warehouse to get the performance insights for SQLs taking greater than X% database time for a given
4977
+ * time period across the given databases or database types.
4978
+ *
4979
+ * This operation does not retry by default if the user has not defined a retry configuration.
3409
4980
  * @param SummarizeSqlInsightsRequest
3410
4981
  * @return SummarizeSqlInsightsResponse
3411
4982
  * @throws OciError when an error occurs
3412
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.5.0/opsi/SummarizeSqlInsights.ts.html |here} to see how to use SummarizeSqlInsights API.
4983
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.1/opsi/SummarizeSqlInsights.ts.html |here} to see how to use SummarizeSqlInsights API.
3413
4984
  */
3414
4985
  summarizeSqlInsights(summarizeSqlInsightsRequest) {
3415
4986
  return __awaiter(this, void 0, void 0, function* () {
@@ -3421,6 +4992,8 @@ class OperationsInsightsClient {
3421
4992
  "databaseType": summarizeSqlInsightsRequest.databaseType,
3422
4993
  "databaseId": summarizeSqlInsightsRequest.databaseId,
3423
4994
  "id": summarizeSqlInsightsRequest.id,
4995
+ "exadataInsightId": summarizeSqlInsightsRequest.exadataInsightId,
4996
+ "cdbName": summarizeSqlInsightsRequest.cdbName,
3424
4997
  "hostName": summarizeSqlInsightsRequest.hostName,
3425
4998
  "databaseTimePctGreaterThan": summarizeSqlInsightsRequest.databaseTimePctGreaterThan,
3426
4999
  "analysisTimeInterval": summarizeSqlInsightsRequest.analysisTimeInterval,
@@ -3436,7 +5009,8 @@ class OperationsInsightsClient {
3436
5009
  "Content-Type": common.Constants.APPLICATION_JSON,
3437
5010
  "opc-request-id": summarizeSqlInsightsRequest.opcRequestId
3438
5011
  };
3439
- const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : {}, summarizeSqlInsightsRequest.retryConfiguration);
5012
+ const specRetryConfiguration = common.NoRetryConfigurationDetails;
5013
+ const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, summarizeSqlInsightsRequest.retryConfiguration, specRetryConfiguration);
3440
5014
  if (this.logger)
3441
5015
  retrier.logger = this.logger;
3442
5016
  const request = yield oci_common_1.composeRequest({
@@ -3480,10 +5054,11 @@ class OperationsInsightsClient {
3480
5054
  * Query SQL Warehouse to get the performance insights on the execution plans for a given SQL for a given time period.
3481
5055
  * Either databaseId or id must be specified.
3482
5056
  *
5057
+ * This operation does not retry by default if the user has not defined a retry configuration.
3483
5058
  * @param SummarizeSqlPlanInsightsRequest
3484
5059
  * @return SummarizeSqlPlanInsightsResponse
3485
5060
  * @throws OciError when an error occurs
3486
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.5.0/opsi/SummarizeSqlPlanInsights.ts.html |here} to see how to use SummarizeSqlPlanInsights API.
5061
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.1/opsi/SummarizeSqlPlanInsights.ts.html |here} to see how to use SummarizeSqlPlanInsights API.
3487
5062
  */
3488
5063
  summarizeSqlPlanInsights(summarizeSqlPlanInsightsRequest) {
3489
5064
  return __awaiter(this, void 0, void 0, function* () {
@@ -3504,7 +5079,8 @@ class OperationsInsightsClient {
3504
5079
  "Content-Type": common.Constants.APPLICATION_JSON,
3505
5080
  "opc-request-id": summarizeSqlPlanInsightsRequest.opcRequestId
3506
5081
  };
3507
- const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : {}, summarizeSqlPlanInsightsRequest.retryConfiguration);
5082
+ const specRetryConfiguration = common.NoRetryConfigurationDetails;
5083
+ const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, summarizeSqlPlanInsightsRequest.retryConfiguration, specRetryConfiguration);
3508
5084
  if (this.logger)
3509
5085
  retrier.logger = this.logger;
3510
5086
  const request = yield oci_common_1.composeRequest({
@@ -3548,10 +5124,11 @@ class OperationsInsightsClient {
3548
5124
  * Query SQL Warehouse to summarize the response time distribution of query executions for a given SQL for a given time period.
3549
5125
  * Either databaseId or id must be specified.
3550
5126
  *
5127
+ * This operation does not retry by default if the user has not defined a retry configuration.
3551
5128
  * @param SummarizeSqlResponseTimeDistributionsRequest
3552
5129
  * @return SummarizeSqlResponseTimeDistributionsResponse
3553
5130
  * @throws OciError when an error occurs
3554
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.5.0/opsi/SummarizeSqlResponseTimeDistributions.ts.html |here} to see how to use SummarizeSqlResponseTimeDistributions API.
5131
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.1/opsi/SummarizeSqlResponseTimeDistributions.ts.html |here} to see how to use SummarizeSqlResponseTimeDistributions API.
3555
5132
  */
3556
5133
  summarizeSqlResponseTimeDistributions(summarizeSqlResponseTimeDistributionsRequest) {
3557
5134
  return __awaiter(this, void 0, void 0, function* () {
@@ -3572,7 +5149,8 @@ class OperationsInsightsClient {
3572
5149
  "Content-Type": common.Constants.APPLICATION_JSON,
3573
5150
  "opc-request-id": summarizeSqlResponseTimeDistributionsRequest.opcRequestId
3574
5151
  };
3575
- const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : {}, summarizeSqlResponseTimeDistributionsRequest.retryConfiguration);
5152
+ const specRetryConfiguration = common.NoRetryConfigurationDetails;
5153
+ const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, summarizeSqlResponseTimeDistributionsRequest.retryConfiguration, specRetryConfiguration);
3576
5154
  if (this.logger)
3577
5155
  retrier.logger = this.logger;
3578
5156
  const request = yield oci_common_1.composeRequest({
@@ -3613,11 +5191,14 @@ class OperationsInsightsClient {
3613
5191
  });
3614
5192
  }
3615
5193
  /**
3616
- * Query SQL Warehouse to get the performance statistics for SQLs taking greater than X% database time for a given time period across the given databases or database types.
5194
+ * Query SQL Warehouse to get the performance statistics for SQLs taking greater than X% database time for a given
5195
+ * time period across the given databases or database types.
5196
+ *
5197
+ * This operation does not retry by default if the user has not defined a retry configuration.
3617
5198
  * @param SummarizeSqlStatisticsRequest
3618
5199
  * @return SummarizeSqlStatisticsResponse
3619
5200
  * @throws OciError when an error occurs
3620
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.5.0/opsi/SummarizeSqlStatistics.ts.html |here} to see how to use SummarizeSqlStatistics API.
5201
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.1/opsi/SummarizeSqlStatistics.ts.html |here} to see how to use SummarizeSqlStatistics API.
3621
5202
  */
3622
5203
  summarizeSqlStatistics(summarizeSqlStatisticsRequest) {
3623
5204
  return __awaiter(this, void 0, void 0, function* () {
@@ -3629,6 +5210,8 @@ class OperationsInsightsClient {
3629
5210
  "databaseType": summarizeSqlStatisticsRequest.databaseType,
3630
5211
  "databaseId": summarizeSqlStatisticsRequest.databaseId,
3631
5212
  "id": summarizeSqlStatisticsRequest.id,
5213
+ "exadataInsightId": summarizeSqlStatisticsRequest.exadataInsightId,
5214
+ "cdbName": summarizeSqlStatisticsRequest.cdbName,
3632
5215
  "hostName": summarizeSqlStatisticsRequest.hostName,
3633
5216
  "databaseTimePctGreaterThan": summarizeSqlStatisticsRequest.databaseTimePctGreaterThan,
3634
5217
  "sqlIdentifier": summarizeSqlStatisticsRequest.sqlIdentifier,
@@ -3649,7 +5232,8 @@ class OperationsInsightsClient {
3649
5232
  "Content-Type": common.Constants.APPLICATION_JSON,
3650
5233
  "opc-request-id": summarizeSqlStatisticsRequest.opcRequestId
3651
5234
  };
3652
- const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : {}, summarizeSqlStatisticsRequest.retryConfiguration);
5235
+ const specRetryConfiguration = common.NoRetryConfigurationDetails;
5236
+ const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, summarizeSqlStatisticsRequest.retryConfiguration, specRetryConfiguration);
3653
5237
  if (this.logger)
3654
5238
  retrier.logger = this.logger;
3655
5239
  const request = yield oci_common_1.composeRequest({
@@ -3692,10 +5276,11 @@ class OperationsInsightsClient {
3692
5276
  /**
3693
5277
  * Query SQL Warehouse to get the performance statistics time series for a given SQL across given databases for a given time period.
3694
5278
  *
5279
+ * This operation does not retry by default if the user has not defined a retry configuration.
3695
5280
  * @param SummarizeSqlStatisticsTimeSeriesRequest
3696
5281
  * @return SummarizeSqlStatisticsTimeSeriesResponse
3697
5282
  * @throws OciError when an error occurs
3698
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.5.0/opsi/SummarizeSqlStatisticsTimeSeries.ts.html |here} to see how to use SummarizeSqlStatisticsTimeSeries API.
5283
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.1/opsi/SummarizeSqlStatisticsTimeSeries.ts.html |here} to see how to use SummarizeSqlStatisticsTimeSeries API.
3699
5284
  */
3700
5285
  summarizeSqlStatisticsTimeSeries(summarizeSqlStatisticsTimeSeriesRequest) {
3701
5286
  return __awaiter(this, void 0, void 0, function* () {
@@ -3706,6 +5291,8 @@ class OperationsInsightsClient {
3706
5291
  "compartmentId": summarizeSqlStatisticsTimeSeriesRequest.compartmentId,
3707
5292
  "databaseId": summarizeSqlStatisticsTimeSeriesRequest.databaseId,
3708
5293
  "id": summarizeSqlStatisticsTimeSeriesRequest.id,
5294
+ "exadataInsightId": summarizeSqlStatisticsTimeSeriesRequest.exadataInsightId,
5295
+ "cdbName": summarizeSqlStatisticsTimeSeriesRequest.cdbName,
3709
5296
  "hostName": summarizeSqlStatisticsTimeSeriesRequest.hostName,
3710
5297
  "sqlIdentifier": summarizeSqlStatisticsTimeSeriesRequest.sqlIdentifier,
3711
5298
  "analysisTimeInterval": summarizeSqlStatisticsTimeSeriesRequest.analysisTimeInterval,
@@ -3721,7 +5308,8 @@ class OperationsInsightsClient {
3721
5308
  "Content-Type": common.Constants.APPLICATION_JSON,
3722
5309
  "opc-request-id": summarizeSqlStatisticsTimeSeriesRequest.opcRequestId
3723
5310
  };
3724
- const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : {}, summarizeSqlStatisticsTimeSeriesRequest.retryConfiguration);
5311
+ const specRetryConfiguration = common.NoRetryConfigurationDetails;
5312
+ const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, summarizeSqlStatisticsTimeSeriesRequest.retryConfiguration, specRetryConfiguration);
3725
5313
  if (this.logger)
3726
5314
  retrier.logger = this.logger;
3727
5315
  const request = yield oci_common_1.composeRequest({
@@ -3765,10 +5353,11 @@ class OperationsInsightsClient {
3765
5353
  * Query SQL Warehouse to get the performance statistics time series for a given SQL by execution plans for a given time period.
3766
5354
  * Either databaseId or id must be specified.
3767
5355
  *
5356
+ * This operation does not retry by default if the user has not defined a retry configuration.
3768
5357
  * @param SummarizeSqlStatisticsTimeSeriesByPlanRequest
3769
5358
  * @return SummarizeSqlStatisticsTimeSeriesByPlanResponse
3770
5359
  * @throws OciError when an error occurs
3771
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.5.0/opsi/SummarizeSqlStatisticsTimeSeriesByPlan.ts.html |here} to see how to use SummarizeSqlStatisticsTimeSeriesByPlan API.
5360
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.1/opsi/SummarizeSqlStatisticsTimeSeriesByPlan.ts.html |here} to see how to use SummarizeSqlStatisticsTimeSeriesByPlan API.
3772
5361
  */
3773
5362
  summarizeSqlStatisticsTimeSeriesByPlan(summarizeSqlStatisticsTimeSeriesByPlanRequest) {
3774
5363
  return __awaiter(this, void 0, void 0, function* () {
@@ -3789,7 +5378,8 @@ class OperationsInsightsClient {
3789
5378
  "Content-Type": common.Constants.APPLICATION_JSON,
3790
5379
  "opc-request-id": summarizeSqlStatisticsTimeSeriesByPlanRequest.opcRequestId
3791
5380
  };
3792
- const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : {}, summarizeSqlStatisticsTimeSeriesByPlanRequest.retryConfiguration);
5381
+ const specRetryConfiguration = common.NoRetryConfigurationDetails;
5382
+ const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, summarizeSqlStatisticsTimeSeriesByPlanRequest.retryConfiguration, specRetryConfiguration);
3793
5383
  if (this.logger)
3794
5384
  retrier.logger = this.logger;
3795
5385
  const request = yield oci_common_1.composeRequest({
@@ -3831,10 +5421,11 @@ class OperationsInsightsClient {
3831
5421
  }
3832
5422
  /**
3833
5423
  * Updates configuration of a database insight.
5424
+ * This operation does not retry by default if the user has not defined a retry configuration.
3834
5425
  * @param UpdateDatabaseInsightRequest
3835
5426
  * @return UpdateDatabaseInsightResponse
3836
5427
  * @throws OciError when an error occurs
3837
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.5.0/opsi/UpdateDatabaseInsight.ts.html |here} to see how to use UpdateDatabaseInsight API.
5428
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.1/opsi/UpdateDatabaseInsight.ts.html |here} to see how to use UpdateDatabaseInsight API.
3838
5429
  */
3839
5430
  updateDatabaseInsight(updateDatabaseInsightRequest) {
3840
5431
  return __awaiter(this, void 0, void 0, function* () {
@@ -3849,7 +5440,8 @@ class OperationsInsightsClient {
3849
5440
  "if-match": updateDatabaseInsightRequest.ifMatch,
3850
5441
  "opc-request-id": updateDatabaseInsightRequest.opcRequestId
3851
5442
  };
3852
- const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : {}, updateDatabaseInsightRequest.retryConfiguration);
5443
+ const specRetryConfiguration = common.NoRetryConfigurationDetails;
5444
+ const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, updateDatabaseInsightRequest.retryConfiguration, specRetryConfiguration);
3853
5445
  if (this.logger)
3854
5446
  retrier.logger = this.logger;
3855
5447
  const request = yield oci_common_1.composeRequest({
@@ -3888,10 +5480,11 @@ class OperationsInsightsClient {
3888
5480
  }
3889
5481
  /**
3890
5482
  * Updates configuration of an Operations Insights Enterprise Manager bridge.
5483
+ * This operation does not retry by default if the user has not defined a retry configuration.
3891
5484
  * @param UpdateEnterpriseManagerBridgeRequest
3892
5485
  * @return UpdateEnterpriseManagerBridgeResponse
3893
5486
  * @throws OciError when an error occurs
3894
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.5.0/opsi/UpdateEnterpriseManagerBridge.ts.html |here} to see how to use UpdateEnterpriseManagerBridge API.
5487
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.1/opsi/UpdateEnterpriseManagerBridge.ts.html |here} to see how to use UpdateEnterpriseManagerBridge API.
3895
5488
  */
3896
5489
  updateEnterpriseManagerBridge(updateEnterpriseManagerBridgeRequest) {
3897
5490
  return __awaiter(this, void 0, void 0, function* () {
@@ -3906,7 +5499,8 @@ class OperationsInsightsClient {
3906
5499
  "if-match": updateEnterpriseManagerBridgeRequest.ifMatch,
3907
5500
  "opc-request-id": updateEnterpriseManagerBridgeRequest.opcRequestId
3908
5501
  };
3909
- const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : {}, updateEnterpriseManagerBridgeRequest.retryConfiguration);
5502
+ const specRetryConfiguration = common.NoRetryConfigurationDetails;
5503
+ const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, updateEnterpriseManagerBridgeRequest.retryConfiguration, specRetryConfiguration);
3910
5504
  if (this.logger)
3911
5505
  retrier.logger = this.logger;
3912
5506
  const request = yield oci_common_1.composeRequest({
@@ -3943,12 +5537,72 @@ class OperationsInsightsClient {
3943
5537
  }
3944
5538
  });
3945
5539
  }
5540
+ /**
5541
+ * Updates configuration of an Exadata insight.
5542
+ * This operation does not retry by default if the user has not defined a retry configuration.
5543
+ * @param UpdateExadataInsightRequest
5544
+ * @return UpdateExadataInsightResponse
5545
+ * @throws OciError when an error occurs
5546
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.1/opsi/UpdateExadataInsight.ts.html |here} to see how to use UpdateExadataInsight API.
5547
+ */
5548
+ updateExadataInsight(updateExadataInsightRequest) {
5549
+ return __awaiter(this, void 0, void 0, function* () {
5550
+ if (this.logger)
5551
+ this.logger.debug("Calling operation OperationsInsightsClient#updateExadataInsight.");
5552
+ const pathParams = {
5553
+ "{exadataInsightId}": updateExadataInsightRequest.exadataInsightId
5554
+ };
5555
+ const queryParams = {};
5556
+ let headerParams = {
5557
+ "Content-Type": common.Constants.APPLICATION_JSON,
5558
+ "if-match": updateExadataInsightRequest.ifMatch,
5559
+ "opc-request-id": updateExadataInsightRequest.opcRequestId
5560
+ };
5561
+ const specRetryConfiguration = common.NoRetryConfigurationDetails;
5562
+ const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, updateExadataInsightRequest.retryConfiguration, specRetryConfiguration);
5563
+ if (this.logger)
5564
+ retrier.logger = this.logger;
5565
+ const request = yield oci_common_1.composeRequest({
5566
+ baseEndpoint: this._endpoint,
5567
+ defaultHeaders: this._defaultHeaders,
5568
+ path: "/exadataInsights/{exadataInsightId}",
5569
+ method: "PUT",
5570
+ bodyContent: common.ObjectSerializer.serialize(updateExadataInsightRequest.updateExadataInsightDetails, "UpdateExadataInsightDetails", model.UpdateExadataInsightDetails.getJsonObj),
5571
+ pathParams: pathParams,
5572
+ headerParams: headerParams,
5573
+ queryParams: queryParams
5574
+ });
5575
+ try {
5576
+ const response = yield retrier.makeServiceCall(this._httpClient, request);
5577
+ const sdkResponse = oci_common_1.composeResponse({
5578
+ responseObject: {},
5579
+ responseHeaders: [
5580
+ {
5581
+ value: response.headers.get("opc-work-request-id"),
5582
+ key: "opcWorkRequestId",
5583
+ dataType: "string"
5584
+ },
5585
+ {
5586
+ value: response.headers.get("opc-request-id"),
5587
+ key: "opcRequestId",
5588
+ dataType: "string"
5589
+ }
5590
+ ]
5591
+ });
5592
+ return sdkResponse;
5593
+ }
5594
+ catch (err) {
5595
+ throw err;
5596
+ }
5597
+ });
5598
+ }
3946
5599
  /**
3947
5600
  * Updates configuration of a host insight.
5601
+ * This operation does not retry by default if the user has not defined a retry configuration.
3948
5602
  * @param UpdateHostInsightRequest
3949
5603
  * @return UpdateHostInsightResponse
3950
5604
  * @throws OciError when an error occurs
3951
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.5.0/opsi/UpdateHostInsight.ts.html |here} to see how to use UpdateHostInsight API.
5605
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.1/opsi/UpdateHostInsight.ts.html |here} to see how to use UpdateHostInsight API.
3952
5606
  */
3953
5607
  updateHostInsight(updateHostInsightRequest) {
3954
5608
  return __awaiter(this, void 0, void 0, function* () {
@@ -3963,7 +5617,8 @@ class OperationsInsightsClient {
3963
5617
  "if-match": updateHostInsightRequest.ifMatch,
3964
5618
  "opc-request-id": updateHostInsightRequest.opcRequestId
3965
5619
  };
3966
- const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : {}, updateHostInsightRequest.retryConfiguration);
5620
+ const specRetryConfiguration = common.NoRetryConfigurationDetails;
5621
+ const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, updateHostInsightRequest.retryConfiguration, specRetryConfiguration);
3967
5622
  if (this.logger)
3968
5623
  retrier.logger = this.logger;
3969
5624
  const request = yield oci_common_1.composeRequest({