oci 2.19.0 → 2.20.0

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 (1490) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +5 -1
  3. data/lib/oci/adm/adm.rb +38 -0
  4. data/lib/oci/adm/application_dependency_management_client.rb +1429 -200
  5. data/lib/oci/adm/application_dependency_management_client_composite_operations.rb +454 -0
  6. data/lib/oci/adm/models/application_dependency.rb +3 -3
  7. data/lib/oci/adm/models/application_dependency_recommendation_collection.rb +151 -0
  8. data/lib/oci/adm/models/application_dependency_recommendation_summary.rb +195 -0
  9. data/lib/oci/adm/models/application_dependency_vulnerability_collection.rb +3 -3
  10. data/lib/oci/adm/models/application_dependency_vulnerability_summary.rb +6 -6
  11. data/lib/oci/adm/models/apply_stage.rb +208 -0
  12. data/lib/oci/adm/models/change_knowledge_base_compartment_details.rb +2 -2
  13. data/lib/oci/adm/models/change_remediation_recipe_compartment_details.rb +155 -0
  14. data/lib/oci/adm/models/change_remediation_run_compartment_details.rb +155 -0
  15. data/lib/oci/adm/models/change_vulnerability_audit_compartment_details.rb +1 -1
  16. data/lib/oci/adm/models/create_knowledge_base_details.rb +3 -3
  17. data/lib/oci/adm/models/create_remediation_recipe_details.rb +285 -0
  18. data/lib/oci/adm/models/create_remediation_run_details.rb +201 -0
  19. data/lib/oci/adm/models/create_vulnerability_audit_details.rb +20 -7
  20. data/lib/oci/adm/models/detect_configuration.rb +217 -0
  21. data/lib/oci/adm/models/detect_stage.rb +196 -0
  22. data/lib/oci/adm/models/external_resource_vulnerability_audit_source.rb +1 -1
  23. data/lib/oci/adm/models/external_scm_configuration.rb +241 -0
  24. data/lib/oci/adm/models/git_hub_actions_configuration.rb +220 -0
  25. data/lib/oci/adm/models/git_lab_pipeline_configuration.rb +221 -0
  26. data/lib/oci/adm/models/jenkins_pipeline_configuration.rb +217 -0
  27. data/lib/oci/adm/models/knowledge_base.rb +7 -7
  28. data/lib/oci/adm/models/knowledge_base_collection.rb +2 -2
  29. data/lib/oci/adm/models/knowledge_base_summary.rb +7 -7
  30. data/lib/oci/adm/models/network_configuration.rb +172 -0
  31. data/lib/oci/adm/models/none_verify_configuration.rb +146 -0
  32. data/lib/oci/adm/models/oci_code_repository_configuration.rb +175 -0
  33. data/lib/oci/adm/models/oci_dev_ops_build_configuration.rb +177 -0
  34. data/lib/oci/adm/models/oci_resource_vulnerability_audit_source.rb +2 -2
  35. data/lib/oci/adm/models/operation_type.rb +6 -0
  36. data/lib/oci/adm/models/pipeline_properties.rb +169 -0
  37. data/lib/oci/adm/models/pull_request_properties.rb +169 -0
  38. data/lib/oci/adm/models/recommend_stage.rb +209 -0
  39. data/lib/oci/adm/models/remediation_recipe.rb +381 -0
  40. data/lib/oci/adm/models/remediation_recipe_collection.rb +151 -0
  41. data/lib/oci/adm/models/remediation_recipe_summary.rb +297 -0
  42. data/lib/oci/adm/models/remediation_run.rb +418 -0
  43. data/lib/oci/adm/models/remediation_run_collection.rb +151 -0
  44. data/lib/oci/adm/models/remediation_run_stage.rb +363 -0
  45. data/lib/oci/adm/models/remediation_run_stage_collection.rb +151 -0
  46. data/lib/oci/adm/models/remediation_run_stage_summary.rb +249 -0
  47. data/lib/oci/adm/models/remediation_run_stage_type.rb +15 -0
  48. data/lib/oci/adm/models/remediation_run_summary.rb +361 -0
  49. data/lib/oci/adm/models/scm_configuration.rb +234 -0
  50. data/lib/oci/adm/models/stage_summary.rb +225 -0
  51. data/lib/oci/adm/models/unknown_source_vulnerability_audit_source.rb +1 -1
  52. data/lib/oci/adm/models/update_knowledge_base_details.rb +2 -2
  53. data/lib/oci/adm/models/update_remediation_recipe_details.rb +267 -0
  54. data/lib/oci/adm/models/update_remediation_run_details.rb +187 -0
  55. data/lib/oci/adm/models/update_vulnerability_audit_details.rb +2 -2
  56. data/lib/oci/adm/models/usage_data_details.rb +176 -0
  57. data/lib/oci/adm/models/usage_data_via_object_storage_tuple_details.rb +191 -0
  58. data/lib/oci/adm/models/verify_configuration.rb +201 -0
  59. data/lib/oci/adm/models/verify_stage.rb +208 -0
  60. data/lib/oci/adm/models/vulnerability.rb +18 -4
  61. data/lib/oci/adm/models/vulnerability_audit.rb +67 -18
  62. data/lib/oci/adm/models/vulnerability_audit_collection.rb +2 -2
  63. data/lib/oci/adm/models/vulnerability_audit_configuration.rb +7 -5
  64. data/lib/oci/adm/models/vulnerability_audit_source.rb +2 -2
  65. data/lib/oci/adm/models/vulnerability_audit_summary.rb +14 -14
  66. data/lib/oci/adm/models/work_request.rb +6 -0
  67. data/lib/oci/adm/models/work_request_summary.rb +26 -4
  68. data/lib/oci/ai_speech/ai_speech.rb +2 -0
  69. data/lib/oci/ai_speech/models/create_transcription_job_details.rb +2 -2
  70. data/lib/oci/ai_speech/models/diarization.rb +171 -0
  71. data/lib/oci/ai_speech/models/transcription_job.rb +3 -3
  72. data/lib/oci/ai_speech/models/transcription_job_summary.rb +3 -3
  73. data/lib/oci/ai_speech/models/transcription_model_details.rb +17 -4
  74. data/lib/oci/ai_speech/models/transcription_settings.rb +150 -0
  75. data/lib/oci/ai_speech/models/update_transcription_job_details.rb +2 -2
  76. data/lib/oci/bds/bds.rb +8 -0
  77. data/lib/oci/bds/bds_client.rb +285 -0
  78. data/lib/oci/bds/bds_client_composite_operations.rb +150 -0
  79. data/lib/oci/bds/models/certificate_service_info_details.rb +151 -0
  80. data/lib/oci/bds/models/certificate_service_info_summary.rb +228 -0
  81. data/lib/oci/bds/models/disable_certificate_details.rb +165 -0
  82. data/lib/oci/bds/models/enable_certificate_details.rb +207 -0
  83. data/lib/oci/bds/models/host_cert_details.rb +179 -0
  84. data/lib/oci/bds/models/host_specific_certificate_details.rb +203 -0
  85. data/lib/oci/bds/models/operation_types.rb +2 -1
  86. data/lib/oci/bds/models/renew_certificate_details.rb +207 -0
  87. data/lib/oci/bds/models/service.rb +23 -0
  88. data/lib/oci/bds/models/work_request.rb +1 -0
  89. data/lib/oci/compute_cloud_at_customer/compute_cloud_at_customer_client.rb +2 -3
  90. data/lib/oci/core/compute_client.rb +759 -31
  91. data/lib/oci/core/compute_client_composite_operations.rb +189 -0
  92. data/lib/oci/core/core.rb +22 -0
  93. data/lib/oci/core/models/capacity_source.rb +191 -0
  94. data/lib/oci/core/models/capture_filter.rb +20 -4
  95. data/lib/oci/core/models/change_compute_capacity_topology_compartment_details.rb +157 -0
  96. data/lib/oci/core/models/compute_bare_metal_host.rb +325 -0
  97. data/lib/oci/core/models/compute_bare_metal_host_collection.rb +152 -0
  98. data/lib/oci/core/models/compute_bare_metal_host_summary.rb +298 -0
  99. data/lib/oci/core/models/compute_capacity_topology.rb +321 -0
  100. data/lib/oci/core/models/compute_capacity_topology_collection.rb +152 -0
  101. data/lib/oci/core/models/compute_capacity_topology_summary.rb +284 -0
  102. data/lib/oci/core/models/compute_hpc_island.rb +241 -0
  103. data/lib/oci/core/models/compute_hpc_island_collection.rb +152 -0
  104. data/lib/oci/core/models/compute_hpc_island_summary.rb +228 -0
  105. data/lib/oci/core/models/compute_network_block.rb +255 -0
  106. data/lib/oci/core/models/compute_network_block_collection.rb +152 -0
  107. data/lib/oci/core/models/compute_network_block_summary.rb +242 -0
  108. data/lib/oci/core/models/create_capacity_source_details.rb +172 -0
  109. data/lib/oci/core/models/create_capture_filter_details.rb +21 -5
  110. data/lib/oci/core/models/create_compute_capacity_topology_details.rb +240 -0
  111. data/lib/oci/core/models/create_dedicated_capacity_source_details.rb +165 -0
  112. data/lib/oci/core/models/dedicated_capacity_source.rb +165 -0
  113. data/lib/oci/core/models/flow_log_capture_filter_rule_details.rb +334 -0
  114. data/lib/oci/core/models/update_capacity_source_details.rb +172 -0
  115. data/lib/oci/core/models/update_capture_filter_details.rb +16 -1
  116. data/lib/oci/core/models/update_compute_capacity_topology_details.rb +207 -0
  117. data/lib/oci/core/models/update_dedicated_capacity_source_details.rb +147 -0
  118. data/lib/oci/core/virtual_network_client.rb +6 -0
  119. data/lib/oci/data_safe/data_safe.rb +60 -0
  120. data/lib/oci/data_safe/data_safe_client.rb +7342 -4278
  121. data/lib/oci/data_safe/data_safe_client_composite_operations.rb +1302 -361
  122. data/lib/oci/data_safe/models/apply_sdm_masking_policy_difference_details.rb +1 -1
  123. data/lib/oci/data_safe/models/audit_policy_category.rb +2 -1
  124. data/lib/oci/data_safe/models/audit_policy_dimensions.rb +1 -0
  125. data/lib/oci/data_safe/models/audit_specification.rb +1 -0
  126. data/lib/oci/data_safe/models/audit_trail_source.rb +13 -0
  127. data/lib/oci/data_safe/models/autonomous_database_details.rb +2 -2
  128. data/lib/oci/data_safe/models/change_database_security_config_compartment_details.rb +155 -0
  129. data/lib/oci/data_safe/models/change_security_policy_compartment_details.rb +155 -0
  130. data/lib/oci/data_safe/models/change_security_policy_deployment_compartment_details.rb +155 -0
  131. data/lib/oci/data_safe/models/change_sql_collection_compartment_details.rb +155 -0
  132. data/lib/oci/data_safe/models/change_sql_firewall_policy_compartment_details.rb +155 -0
  133. data/lib/oci/data_safe/models/change_target_database_compartment_details.rb +1 -1
  134. data/lib/oci/data_safe/models/column_summary.rb +1 -1
  135. data/lib/oci/data_safe/models/create_data_safe_private_endpoint_details.rb +1 -1
  136. data/lib/oci/data_safe/models/create_discovery_job_details.rb +2 -2
  137. data/lib/oci/data_safe/models/create_masking_column_details.rb +1 -1
  138. data/lib/oci/data_safe/models/create_masking_policy_details.rb +1 -2
  139. data/lib/oci/data_safe/models/create_sensitive_data_model_details.rb +1 -1
  140. data/lib/oci/data_safe/models/create_sql_collection_details.rb +297 -0
  141. data/lib/oci/data_safe/models/create_target_alert_policy_association_details.rb +1 -1
  142. data/lib/oci/data_safe/models/database_cloud_service_details.rb +2 -2
  143. data/lib/oci/data_safe/models/database_security_config.rb +364 -0
  144. data/lib/oci/data_safe/models/database_security_config_collection.rb +151 -0
  145. data/lib/oci/data_safe/models/database_security_config_lifecycle_state.rb +18 -0
  146. data/lib/oci/data_safe/models/database_security_config_summary.rb +348 -0
  147. data/lib/oci/data_safe/models/discovery_job.rb +1 -1
  148. data/lib/oci/data_safe/models/discovery_job_result.rb +1 -1
  149. data/lib/oci/data_safe/models/discovery_job_result_summary.rb +1 -1
  150. data/lib/oci/data_safe/models/download_masking_log_details.rb +1 -1
  151. data/lib/oci/data_safe/models/entry_details.rb +192 -0
  152. data/lib/oci/data_safe/models/firewall_policy_entry_details.rb +177 -0
  153. data/lib/oci/data_safe/models/mask_data_details.rb +1 -2
  154. data/lib/oci/data_safe/models/masking_column.rb +1 -1
  155. data/lib/oci/data_safe/models/masking_column_summary.rb +1 -1
  156. data/lib/oci/data_safe/models/masking_policy.rb +1 -2
  157. data/lib/oci/data_safe/models/profile.rb +1 -1
  158. data/lib/oci/data_safe/models/profile_aggregation.rb +2 -32
  159. data/lib/oci/data_safe/models/profile_summary.rb +1 -1
  160. data/lib/oci/data_safe/models/report_definition.rb +4 -0
  161. data/lib/oci/data_safe/models/report_definition_data_source.rb +3 -1
  162. data/lib/oci/data_safe/models/report_definition_summary.rb +4 -0
  163. data/lib/oci/data_safe/models/role_summary.rb +2 -2
  164. data/lib/oci/data_safe/models/schema_summary.rb +1 -1
  165. data/lib/oci/data_safe/models/security_assessment.rb +3 -3
  166. data/lib/oci/data_safe/models/security_assessment_base_line_details.rb +2 -2
  167. data/lib/oci/data_safe/models/security_assessment_summary.rb +3 -3
  168. data/lib/oci/data_safe/models/security_policy.rb +320 -0
  169. data/lib/oci/data_safe/models/security_policy_collection.rb +151 -0
  170. data/lib/oci/data_safe/models/security_policy_deployment.rb +349 -0
  171. data/lib/oci/data_safe/models/security_policy_deployment_collection.rb +151 -0
  172. data/lib/oci/data_safe/models/security_policy_deployment_lifecycle_state.rb +18 -0
  173. data/lib/oci/data_safe/models/security_policy_deployment_summary.rb +349 -0
  174. data/lib/oci/data_safe/models/security_policy_entry_state.rb +230 -0
  175. data/lib/oci/data_safe/models/security_policy_entry_state_collection.rb +151 -0
  176. data/lib/oci/data_safe/models/security_policy_entry_state_deployment_status.rb +16 -0
  177. data/lib/oci/data_safe/models/security_policy_entry_state_summary.rb +217 -0
  178. data/lib/oci/data_safe/models/security_policy_lifecycle_state.rb +17 -0
  179. data/lib/oci/data_safe/models/security_policy_summary.rb +320 -0
  180. data/lib/oci/data_safe/models/sensitive_data_model.rb +1 -1
  181. data/lib/oci/data_safe/models/sql_collection.rb +445 -0
  182. data/lib/oci/data_safe/models/sql_collection_aggregation.rb +161 -0
  183. data/lib/oci/data_safe/models/sql_collection_analytics_collection.rb +151 -0
  184. data/lib/oci/data_safe/models/sql_collection_collection.rb +151 -0
  185. data/lib/oci/data_safe/models/sql_collection_dimensions.rb +196 -0
  186. data/lib/oci/data_safe/models/sql_collection_lifecycle_state.rb +20 -0
  187. data/lib/oci/data_safe/models/sql_collection_log_aggregation.rb +202 -0
  188. data/lib/oci/data_safe/models/sql_collection_log_dimensions.rb +183 -0
  189. data/lib/oci/data_safe/models/sql_collection_log_insights_collection.rb +151 -0
  190. data/lib/oci/data_safe/models/sql_collection_summary.rb +429 -0
  191. data/lib/oci/data_safe/models/sql_firewall_allowed_sql_aggregation.rb +161 -0
  192. data/lib/oci/data_safe/models/sql_firewall_allowed_sql_analytics_collection.rb +151 -0
  193. data/lib/oci/data_safe/models/sql_firewall_allowed_sql_collection.rb +151 -0
  194. data/lib/oci/data_safe/models/sql_firewall_allowed_sql_dimensions.rb +239 -0
  195. data/lib/oci/data_safe/models/sql_firewall_allowed_sql_lifecycle_state.rb +13 -0
  196. data/lib/oci/data_safe/models/sql_firewall_allowed_sql_summary.rb +418 -0
  197. data/lib/oci/data_safe/models/sql_firewall_config.rb +254 -0
  198. data/lib/oci/data_safe/models/sql_firewall_policy.rb +557 -0
  199. data/lib/oci/data_safe/models/sql_firewall_policy_aggregation.rb +161 -0
  200. data/lib/oci/data_safe/models/sql_firewall_policy_analytics_collection.rb +151 -0
  201. data/lib/oci/data_safe/models/sql_firewall_policy_collection.rb +151 -0
  202. data/lib/oci/data_safe/models/sql_firewall_policy_dimensions.rb +262 -0
  203. data/lib/oci/data_safe/models/sql_firewall_policy_lifecycle_state.rb +19 -0
  204. data/lib/oci/data_safe/models/sql_firewall_policy_summary.rb +499 -0
  205. data/lib/oci/data_safe/models/sql_firewall_violation_aggregation.rb +216 -0
  206. data/lib/oci/data_safe/models/sql_firewall_violation_aggregation_dimensions.rb +321 -0
  207. data/lib/oci/data_safe/models/sql_firewall_violation_analytics_collection.rb +151 -0
  208. data/lib/oci/data_safe/models/sql_firewall_violation_summary.rb +413 -0
  209. data/lib/oci/data_safe/models/sql_firewall_violations_collection.rb +151 -0
  210. data/lib/oci/data_safe/models/table_summary.rb +2 -1
  211. data/lib/oci/data_safe/models/target_alert_policy_association.rb +1 -1
  212. data/lib/oci/data_safe/models/target_alert_policy_association_summary.rb +1 -1
  213. data/lib/oci/data_safe/models/target_database.rb +2 -2
  214. data/lib/oci/data_safe/models/target_database_summary.rb +1 -1
  215. data/lib/oci/data_safe/models/update_data_safe_private_endpoint_details.rb +1 -1
  216. data/lib/oci/data_safe/models/update_database_security_config_details.rb +212 -0
  217. data/lib/oci/data_safe/models/update_masking_column_details.rb +1 -1
  218. data/lib/oci/data_safe/models/update_masking_policy_details.rb +1 -2
  219. data/lib/oci/data_safe/models/update_security_policy_deployment_details.rb +199 -0
  220. data/lib/oci/data_safe/models/update_security_policy_details.rb +199 -0
  221. data/lib/oci/data_safe/models/update_sql_collection_details.rb +199 -0
  222. data/lib/oci/data_safe/models/update_sql_firewall_config_details.rb +221 -0
  223. data/lib/oci/data_safe/models/update_sql_firewall_policy_details.rb +346 -0
  224. data/lib/oci/data_safe/models/update_target_alert_policy_association_details.rb +1 -1
  225. data/lib/oci/data_safe/models/user_assessment.rb +7 -7
  226. data/lib/oci/data_safe/models/user_assessment_base_line_details.rb +2 -2
  227. data/lib/oci/data_safe/models/user_assessment_summary.rb +9 -9
  228. data/lib/oci/data_safe/models/user_summary.rb +4 -4
  229. data/lib/oci/data_safe/models/work_request.rb +20 -0
  230. data/lib/oci/data_safe/models/work_request_summary.rb +20 -0
  231. data/lib/oci/data_science/data_science.rb +3 -0
  232. data/lib/oci/data_science/data_science_client.rb +51 -51
  233. data/lib/oci/data_science/models/create_job_details.rb +15 -1
  234. data/lib/oci/data_science/models/create_notebook_session_details.rb +18 -4
  235. data/lib/oci/data_science/models/fast_launch_job_config_summary.rb +1 -0
  236. data/lib/oci/data_science/models/file_storage_mount_configuration_details.rb +185 -0
  237. data/lib/oci/data_science/models/job.rb +15 -1
  238. data/lib/oci/data_science/models/job_run.rb +15 -1
  239. data/lib/oci/data_science/models/job_shape_summary.rb +1 -0
  240. data/lib/oci/data_science/models/model_deployment_shape_series.rb +2 -1
  241. data/lib/oci/data_science/models/model_deployment_shape_summary.rb +1 -0
  242. data/lib/oci/data_science/models/notebook_session.rb +15 -1
  243. data/lib/oci/data_science/models/notebook_session_shape_series.rb +2 -1
  244. data/lib/oci/data_science/models/notebook_session_shape_summary.rb +1 -0
  245. data/lib/oci/data_science/models/object_storage_mount_configuration_details.rb +187 -0
  246. data/lib/oci/data_science/models/storage_mount_configuration_details.rb +223 -0
  247. data/lib/oci/data_science/models/update_job_details.rb +15 -1
  248. data/lib/oci/data_science/models/update_notebook_session_details.rb +18 -4
  249. data/lib/oci/database/database.rb +21 -0
  250. data/lib/oci/database/database_client.rb +1057 -19
  251. data/lib/oci/database/database_client_composite_operations.rb +330 -0
  252. data/lib/oci/database/models/autonomous_container_database.rb +47 -4
  253. data/lib/oci/database/models/autonomous_container_database_backup_config.rb +1 -0
  254. data/lib/oci/database/models/autonomous_container_database_summary.rb +47 -4
  255. data/lib/oci/database/models/autonomous_patch.rb +40 -4
  256. data/lib/oci/database/models/autonomous_patch_summary.rb +40 -4
  257. data/lib/oci/database/models/autonomous_vm_cluster.rb +158 -4
  258. data/lib/oci/database/models/autonomous_vm_cluster_resource_usage.rb +435 -0
  259. data/lib/oci/database/models/autonomous_vm_cluster_summary.rb +158 -4
  260. data/lib/oci/database/models/cloud_autonomous_vm_cluster.rb +46 -4
  261. data/lib/oci/database/models/cloud_autonomous_vm_cluster_summary.rb +46 -4
  262. data/lib/oci/database/models/configure_saas_admin_user_details.rb +242 -0
  263. data/lib/oci/database/models/console_history.rb +291 -0
  264. data/lib/oci/database/models/console_history_collection.rb +151 -0
  265. data/lib/oci/database/models/console_history_summary.rb +294 -0
  266. data/lib/oci/database/models/convert_to_regular_pluggable_database_details.rb +184 -0
  267. data/lib/oci/database/models/create_autonomous_container_database_dataguard_association_details.rb +274 -0
  268. data/lib/oci/database/models/create_autonomous_container_database_details.rb +15 -1
  269. data/lib/oci/database/models/create_cloud_vm_cluster_details.rb +18 -4
  270. data/lib/oci/database/models/create_console_history_details.rb +192 -0
  271. data/lib/oci/database/models/create_database_from_another_database_details.rb +18 -4
  272. data/lib/oci/database/models/create_database_from_backup_details.rb +18 -4
  273. data/lib/oci/database/models/create_maintenance_run_details.rb +256 -0
  274. data/lib/oci/database/models/create_pluggable_database_creation_type_details.rb +200 -0
  275. data/lib/oci/database/models/create_pluggable_database_details.rb +43 -1
  276. data/lib/oci/database/models/create_pluggable_database_from_local_clone_details.rb +163 -0
  277. data/lib/oci/database/models/create_pluggable_database_from_relocate_details.rb +208 -0
  278. data/lib/oci/database/models/create_pluggable_database_from_remote_clone_details.rb +221 -0
  279. data/lib/oci/database/models/create_pluggable_database_refreshable_clone_details.rb +157 -0
  280. data/lib/oci/database/models/create_vm_cluster_details.rb +18 -4
  281. data/lib/oci/database/models/database_connection_string_profile.rb +18 -4
  282. data/lib/oci/database/models/db_system_upgrade_history_entry.rb +31 -3
  283. data/lib/oci/database/models/db_system_upgrade_history_entry_summary.rb +31 -3
  284. data/lib/oci/database/models/generate_autonomous_database_wallet_details.rb +18 -4
  285. data/lib/oci/database/models/local_clone_pluggable_database_details.rb +1 -0
  286. data/lib/oci/database/models/maintenance_run.rb +16 -1
  287. data/lib/oci/database/models/maintenance_run_summary.rb +16 -1
  288. data/lib/oci/database/models/peer_autonomous_container_database_backup_config.rb +1 -0
  289. data/lib/oci/database/models/pluggable_database.rb +42 -5
  290. data/lib/oci/database/models/pluggable_database_node_level_details.rb +192 -0
  291. data/lib/oci/database/models/pluggable_database_refreshable_clone_config.rb +155 -0
  292. data/lib/oci/database/models/pluggable_database_summary.rb +42 -5
  293. data/lib/oci/database/models/remote_clone_pluggable_database_details.rb +1 -0
  294. data/lib/oci/database/models/restore_database_details.rb +20 -4
  295. data/lib/oci/database/models/saas_admin_user_configuration.rb +245 -0
  296. data/lib/oci/database/models/saas_admin_user_status.rb +204 -0
  297. data/lib/oci/database/models/system_version_collection.rb +151 -0
  298. data/lib/oci/database/models/system_version_summary.rb +179 -0
  299. data/lib/oci/database/models/update_autonomous_container_database_details.rb +15 -1
  300. data/lib/oci/database/models/update_autonomous_vm_cluster_details.rb +46 -4
  301. data/lib/oci/database/models/update_cloud_autonomous_vm_cluster_details.rb +43 -1
  302. data/lib/oci/database/models/update_console_history_details.rb +191 -0
  303. data/lib/oci/database/models/upgrade_db_system_details.rb +15 -1
  304. data/lib/oci/database_management/database_management.rb +17 -0
  305. data/lib/oci/database_management/managed_my_sql_databases_client.rb +577 -0
  306. data/lib/oci/database_management/managed_my_sql_databases_client_composite_operations.rb +27 -0
  307. data/lib/oci/database_management/models/managed_my_sql_database.rb +217 -0
  308. data/lib/oci/database_management/models/managed_my_sql_database_collection.rb +151 -0
  309. data/lib/oci/database_management/models/managed_my_sql_database_summary.rb +217 -0
  310. data/lib/oci/database_management/models/mds_type.rb +14 -0
  311. data/lib/oci/database_management/models/my_sql_configuration_data_collection.rb +151 -0
  312. data/lib/oci/database_management/models/my_sql_configuration_data_summary.rb +383 -0
  313. data/lib/oci/database_management/models/my_sql_data_collection.rb +151 -0
  314. data/lib/oci/database_management/models/my_sql_data_summary.rb +573 -0
  315. data/lib/oci/database_management/models/my_sql_database_status.rb +14 -0
  316. data/lib/oci/database_management/models/my_sql_database_usage_metrics.rb +286 -0
  317. data/lib/oci/database_management/models/my_sql_deployment_type.rb +13 -0
  318. data/lib/oci/database_management/models/my_sql_fleet_by_category.rb +183 -0
  319. data/lib/oci/database_management/models/my_sql_fleet_metric_definition.rb +199 -0
  320. data/lib/oci/database_management/models/my_sql_fleet_metric_summary_definition.rb +189 -0
  321. data/lib/oci/database_management/models/my_sql_fleet_metrics.rb +197 -0
  322. data/lib/oci/database_management/models/my_sql_fleet_summary.rb +165 -0
  323. data/lib/oci/database_tools/database_tools.rb +60 -0
  324. data/lib/oci/database_tools/database_tools_client.rb +286 -19
  325. data/lib/oci/database_tools/database_tools_client_composite_operations.rb +160 -0
  326. data/lib/oci/database_tools/models/add_resource_lock_details.rb +202 -0
  327. data/lib/oci/database_tools/models/connection_type.rb +3 -1
  328. data/lib/oci/database_tools/models/create_database_tools_connection_details.rb +48 -5
  329. data/lib/oci/database_tools/models/create_database_tools_connection_generic_jdbc_details.rb +241 -0
  330. data/lib/oci/database_tools/models/create_database_tools_connection_my_sql_details.rb +12 -3
  331. data/lib/oci/database_tools/models/create_database_tools_connection_oracle_database_details.rb +28 -6
  332. data/lib/oci/database_tools/models/create_database_tools_connection_postgresql_details.rb +272 -0
  333. data/lib/oci/database_tools/models/create_database_tools_private_endpoint_details.rb +11 -1
  334. data/lib/oci/database_tools/models/create_database_tools_related_resource_postgresql_details.rb +177 -0
  335. data/lib/oci/database_tools/models/database_tools_connection.rb +52 -4
  336. data/lib/oci/database_tools/models/database_tools_connection_generic_jdbc.rb +264 -0
  337. data/lib/oci/database_tools/models/database_tools_connection_generic_jdbc_summary.rb +264 -0
  338. data/lib/oci/database_tools/models/database_tools_connection_my_sql.rb +10 -2
  339. data/lib/oci/database_tools/models/database_tools_connection_my_sql_summary.rb +10 -2
  340. data/lib/oci/database_tools/models/database_tools_connection_oracle_database.rb +26 -5
  341. data/lib/oci/database_tools/models/database_tools_connection_oracle_database_proxy_client.rb +194 -0
  342. data/lib/oci/database_tools/models/database_tools_connection_oracle_database_proxy_client_details.rb +187 -0
  343. data/lib/oci/database_tools/models/database_tools_connection_oracle_database_proxy_client_no_proxy.rb +146 -0
  344. data/lib/oci/database_tools/models/database_tools_connection_oracle_database_proxy_client_no_proxy_details.rb +146 -0
  345. data/lib/oci/database_tools/models/database_tools_connection_oracle_database_proxy_client_no_proxy_summary.rb +146 -0
  346. data/lib/oci/database_tools/models/database_tools_connection_oracle_database_proxy_client_summary.rb +194 -0
  347. data/lib/oci/database_tools/models/database_tools_connection_oracle_database_proxy_client_user_name.rb +186 -0
  348. data/lib/oci/database_tools/models/database_tools_connection_oracle_database_proxy_client_user_name_details.rb +186 -0
  349. data/lib/oci/database_tools/models/database_tools_connection_oracle_database_proxy_client_user_name_summary.rb +186 -0
  350. data/lib/oci/database_tools/models/database_tools_connection_oracle_database_summary.rb +26 -5
  351. data/lib/oci/database_tools/models/database_tools_connection_postgresql.rb +295 -0
  352. data/lib/oci/database_tools/models/database_tools_connection_postgresql_summary.rb +295 -0
  353. data/lib/oci/database_tools/models/database_tools_connection_summary.rb +52 -4
  354. data/lib/oci/database_tools/models/database_tools_endpoint_service.rb +1 -0
  355. data/lib/oci/database_tools/models/database_tools_endpoint_service_summary.rb +1 -0
  356. data/lib/oci/database_tools/models/database_tools_key_store_content_generic_jdbc.rb +190 -0
  357. data/lib/oci/database_tools/models/database_tools_key_store_content_generic_jdbc_details.rb +183 -0
  358. data/lib/oci/database_tools/models/database_tools_key_store_content_generic_jdbc_summary.rb +190 -0
  359. data/lib/oci/database_tools/models/database_tools_key_store_content_postgresql.rb +190 -0
  360. data/lib/oci/database_tools/models/database_tools_key_store_content_postgresql_details.rb +183 -0
  361. data/lib/oci/database_tools/models/database_tools_key_store_content_postgresql_summary.rb +190 -0
  362. data/lib/oci/database_tools/models/database_tools_key_store_content_secret_id_generic_jdbc.rb +163 -0
  363. data/lib/oci/database_tools/models/database_tools_key_store_content_secret_id_generic_jdbc_details.rb +163 -0
  364. data/lib/oci/database_tools/models/database_tools_key_store_content_secret_id_generic_jdbc_summary.rb +163 -0
  365. data/lib/oci/database_tools/models/database_tools_key_store_content_secret_id_postgresql.rb +163 -0
  366. data/lib/oci/database_tools/models/database_tools_key_store_content_secret_id_postgresql_details.rb +163 -0
  367. data/lib/oci/database_tools/models/database_tools_key_store_content_secret_id_postgresql_summary.rb +163 -0
  368. data/lib/oci/database_tools/models/database_tools_key_store_generic_jdbc.rb +206 -0
  369. data/lib/oci/database_tools/models/database_tools_key_store_generic_jdbc_details.rb +199 -0
  370. data/lib/oci/database_tools/models/database_tools_key_store_generic_jdbc_summary.rb +206 -0
  371. data/lib/oci/database_tools/models/database_tools_key_store_password_generic_jdbc.rb +190 -0
  372. data/lib/oci/database_tools/models/database_tools_key_store_password_generic_jdbc_details.rb +183 -0
  373. data/lib/oci/database_tools/models/database_tools_key_store_password_generic_jdbc_summary.rb +190 -0
  374. data/lib/oci/database_tools/models/database_tools_key_store_password_postgresql.rb +190 -0
  375. data/lib/oci/database_tools/models/database_tools_key_store_password_postgresql_details.rb +183 -0
  376. data/lib/oci/database_tools/models/database_tools_key_store_password_postgresql_summary.rb +190 -0
  377. data/lib/oci/database_tools/models/database_tools_key_store_password_secret_id_generic_jdbc.rb +163 -0
  378. data/lib/oci/database_tools/models/database_tools_key_store_password_secret_id_generic_jdbc_details.rb +163 -0
  379. data/lib/oci/database_tools/models/database_tools_key_store_password_secret_id_generic_jdbc_summary.rb +163 -0
  380. data/lib/oci/database_tools/models/database_tools_key_store_password_secret_id_postgresql.rb +163 -0
  381. data/lib/oci/database_tools/models/database_tools_key_store_password_secret_id_postgresql_details.rb +163 -0
  382. data/lib/oci/database_tools/models/database_tools_key_store_password_secret_id_postgresql_summary.rb +163 -0
  383. data/lib/oci/database_tools/models/database_tools_key_store_postgresql.rb +202 -0
  384. data/lib/oci/database_tools/models/database_tools_key_store_postgresql_details.rb +195 -0
  385. data/lib/oci/database_tools/models/database_tools_key_store_postgresql_summary.rb +202 -0
  386. data/lib/oci/database_tools/models/database_tools_private_endpoint.rb +12 -1
  387. data/lib/oci/database_tools/models/database_tools_private_endpoint_summary.rb +12 -1
  388. data/lib/oci/database_tools/models/database_tools_related_resource_postgresql.rb +184 -0
  389. data/lib/oci/database_tools/models/key_store_type_generic_jdbc.rb +18 -0
  390. data/lib/oci/database_tools/models/key_store_type_postgresql.rb +14 -0
  391. data/lib/oci/database_tools/models/lifecycle_state.rb +2 -1
  392. data/lib/oci/database_tools/models/proxy_authentication_type.rb +13 -0
  393. data/lib/oci/database_tools/models/related_resource_entity_type_postgresql.rb +12 -0
  394. data/lib/oci/database_tools/models/remove_resource_lock_details.rb +202 -0
  395. data/lib/oci/database_tools/models/resource_lock.rb +215 -0
  396. data/lib/oci/database_tools/models/runtime_support.rb +13 -0
  397. data/lib/oci/database_tools/models/update_database_tools_connection_details.rb +5 -1
  398. data/lib/oci/database_tools/models/update_database_tools_connection_generic_jdbc_details.rb +228 -0
  399. data/lib/oci/database_tools/models/update_database_tools_connection_oracle_database_details.rb +17 -4
  400. data/lib/oci/database_tools/models/update_database_tools_connection_postgresql_details.rb +259 -0
  401. data/lib/oci/database_tools/models/update_database_tools_related_resource_postgresql_details.rb +177 -0
  402. data/lib/oci/database_tools/models/validate_database_tools_connection_details.rb +4 -1
  403. data/lib/oci/database_tools/models/validate_database_tools_connection_my_sql_result.rb +1 -1
  404. data/lib/oci/database_tools/models/validate_database_tools_connection_oracle_database_result.rb +1 -1
  405. data/lib/oci/database_tools/models/validate_database_tools_connection_postgresql_details.rb +146 -0
  406. data/lib/oci/database_tools/models/validate_database_tools_connection_postgresql_result.rb +193 -0
  407. data/lib/oci/database_tools/models/validate_database_tools_connection_result.rb +3 -0
  408. data/lib/oci/disaster_recovery/disaster_recovery.rb +45 -0
  409. data/lib/oci/disaster_recovery/disaster_recovery_client.rb +124 -115
  410. data/lib/oci/disaster_recovery/disaster_recovery_client_composite_operations.rb +45 -45
  411. data/lib/oci/disaster_recovery/models/associate_dr_protection_group_details.rb +7 -5
  412. data/lib/oci/disaster_recovery/models/block_volume_attachment_details.rb +160 -0
  413. data/lib/oci/disaster_recovery/models/block_volume_mount_details.rb +159 -0
  414. data/lib/oci/disaster_recovery/models/cancel_dr_plan_execution_details.rb +1 -1
  415. data/lib/oci/disaster_recovery/models/change_dr_protection_group_compartment_details.rb +3 -3
  416. data/lib/oci/disaster_recovery/models/compute_instance_movable_file_system_operation.rb +204 -0
  417. data/lib/oci/disaster_recovery/models/compute_instance_movable_vnic_mapping.rb +14 -12
  418. data/lib/oci/disaster_recovery/models/compute_instance_movable_vnic_mapping_details.rb +15 -12
  419. data/lib/oci/disaster_recovery/models/compute_instance_non_movable_block_volume_operation.rb +185 -0
  420. data/lib/oci/disaster_recovery/models/compute_instance_non_movable_file_system_operation.rb +193 -0
  421. data/lib/oci/disaster_recovery/models/compute_instance_vnic_mapping.rb +8 -6
  422. data/lib/oci/disaster_recovery/models/compute_instance_vnic_mapping_details.rb +14 -11
  423. data/lib/oci/disaster_recovery/models/create_block_volume_attachment_details.rb +160 -0
  424. data/lib/oci/disaster_recovery/models/create_block_volume_mount_details.rb +159 -0
  425. data/lib/oci/disaster_recovery/models/create_compute_instance_movable_file_system_operation_details.rb +204 -0
  426. data/lib/oci/disaster_recovery/models/create_compute_instance_non_movable_block_volume_operation_details.rb +185 -0
  427. data/lib/oci/disaster_recovery/models/create_compute_instance_non_movable_file_system_operation_details.rb +193 -0
  428. data/lib/oci/disaster_recovery/models/create_dr_plan_details.rb +10 -6
  429. data/lib/oci/disaster_recovery/models/create_dr_plan_execution_details.rb +6 -4
  430. data/lib/oci/disaster_recovery/models/create_dr_protection_group_details.rb +8 -6
  431. data/lib/oci/disaster_recovery/models/create_dr_protection_group_member_autonomous_database_details.rb +1 -1
  432. data/lib/oci/disaster_recovery/models/create_dr_protection_group_member_compute_instance_details.rb +9 -8
  433. data/lib/oci/disaster_recovery/models/create_dr_protection_group_member_compute_instance_movable_details.rb +33 -16
  434. data/lib/oci/disaster_recovery/models/create_dr_protection_group_member_compute_instance_non_movable_details.rb +56 -5
  435. data/lib/oci/disaster_recovery/models/create_dr_protection_group_member_database_details.rb +2 -2
  436. data/lib/oci/disaster_recovery/models/create_dr_protection_group_member_details.rb +9 -3
  437. data/lib/oci/disaster_recovery/models/create_dr_protection_group_member_file_system_details.rb +185 -0
  438. data/lib/oci/disaster_recovery/models/create_dr_protection_group_member_load_balancer_details.rb +185 -0
  439. data/lib/oci/disaster_recovery/models/create_dr_protection_group_member_network_load_balancer_details.rb +185 -0
  440. data/lib/oci/disaster_recovery/models/create_dr_protection_group_member_volume_group_details.rb +1 -1
  441. data/lib/oci/disaster_recovery/models/create_file_system_mount_details.rb +159 -0
  442. data/lib/oci/disaster_recovery/models/create_file_system_unmount_details.rb +159 -0
  443. data/lib/oci/disaster_recovery/models/create_object_storage_log_location_details.rb +3 -3
  444. data/lib/oci/disaster_recovery/models/disassociate_dr_protection_group_default_details.rb +1 -1
  445. data/lib/oci/disaster_recovery/models/disassociate_dr_protection_group_details.rb +2 -2
  446. data/lib/oci/disaster_recovery/models/dr_plan.rb +25 -20
  447. data/lib/oci/disaster_recovery/models/dr_plan_collection.rb +2 -2
  448. data/lib/oci/disaster_recovery/models/dr_plan_execution.rb +31 -25
  449. data/lib/oci/disaster_recovery/models/dr_plan_execution_collection.rb +2 -3
  450. data/lib/oci/disaster_recovery/models/dr_plan_execution_option_details.rb +9 -1
  451. data/lib/oci/disaster_recovery/models/dr_plan_execution_options.rb +8 -0
  452. data/lib/oci/disaster_recovery/models/dr_plan_execution_summary.rb +29 -23
  453. data/lib/oci/disaster_recovery/models/dr_plan_execution_type.rb +5 -1
  454. data/lib/oci/disaster_recovery/models/dr_plan_group.rb +8 -6
  455. data/lib/oci/disaster_recovery/models/dr_plan_group_execution.rb +11 -9
  456. data/lib/oci/disaster_recovery/models/dr_plan_step.rb +45 -6
  457. data/lib/oci/disaster_recovery/models/dr_plan_step_execution.rb +49 -10
  458. data/lib/oci/disaster_recovery/models/dr_plan_step_type.rb +39 -0
  459. data/lib/oci/disaster_recovery/models/dr_plan_summary.rb +28 -18
  460. data/lib/oci/disaster_recovery/models/dr_plan_type.rb +3 -1
  461. data/lib/oci/disaster_recovery/models/dr_plan_user_defined_step.rb +10 -12
  462. data/lib/oci/disaster_recovery/models/dr_protection_group.rb +54 -17
  463. data/lib/oci/disaster_recovery/models/dr_protection_group_collection.rb +2 -2
  464. data/lib/oci/disaster_recovery/models/dr_protection_group_lifecycle_state.rb +1 -0
  465. data/lib/oci/disaster_recovery/models/dr_protection_group_lifecycle_sub_state.rb +12 -0
  466. data/lib/oci/disaster_recovery/models/dr_protection_group_member.rb +8 -2
  467. data/lib/oci/disaster_recovery/models/dr_protection_group_member_autonomous_database.rb +1 -1
  468. data/lib/oci/disaster_recovery/models/dr_protection_group_member_compute_instance.rb +8 -6
  469. data/lib/oci/disaster_recovery/models/dr_protection_group_member_compute_instance_movable.rb +32 -14
  470. data/lib/oci/disaster_recovery/models/dr_protection_group_member_compute_instance_non_movable.rb +55 -5
  471. data/lib/oci/disaster_recovery/models/dr_protection_group_member_database.rb +4 -3
  472. data/lib/oci/disaster_recovery/models/dr_protection_group_member_file_system.rb +186 -0
  473. data/lib/oci/disaster_recovery/models/dr_protection_group_member_load_balancer.rb +187 -0
  474. data/lib/oci/disaster_recovery/models/dr_protection_group_member_network_load_balancer.rb +187 -0
  475. data/lib/oci/disaster_recovery/models/dr_protection_group_member_type.rb +4 -1
  476. data/lib/oci/disaster_recovery/models/dr_protection_group_member_volume_group.rb +1 -1
  477. data/lib/oci/disaster_recovery/models/dr_protection_group_summary.rb +53 -16
  478. data/lib/oci/disaster_recovery/models/file_system_export_mapping.rb +176 -0
  479. data/lib/oci/disaster_recovery/models/file_system_export_mapping_details.rb +175 -0
  480. data/lib/oci/disaster_recovery/models/file_system_mount_details.rb +158 -0
  481. data/lib/oci/disaster_recovery/models/file_system_unmount_details.rb +158 -0
  482. data/lib/oci/disaster_recovery/models/ignore_dr_plan_execution_details.rb +2 -2
  483. data/lib/oci/disaster_recovery/models/invoke_function_step.rb +1 -1
  484. data/lib/oci/disaster_recovery/models/load_balancer_backend_set_mapping.rb +197 -0
  485. data/lib/oci/disaster_recovery/models/load_balancer_backend_set_mapping_details.rb +198 -0
  486. data/lib/oci/disaster_recovery/models/network_load_balancer_backend_set_mapping.rb +197 -0
  487. data/lib/oci/disaster_recovery/models/network_load_balancer_backend_set_mapping_details.rb +198 -0
  488. data/lib/oci/disaster_recovery/models/object_storage_log_location.rb +4 -4
  489. data/lib/oci/disaster_recovery/models/object_storage_script_location.rb +4 -4
  490. data/lib/oci/disaster_recovery/models/pause_dr_plan_execution_details.rb +1 -1
  491. data/lib/oci/disaster_recovery/models/resume_dr_plan_execution_details.rb +1 -1
  492. data/lib/oci/disaster_recovery/models/retry_dr_plan_execution_details.rb +2 -2
  493. data/lib/oci/disaster_recovery/models/run_local_script_user_defined_step.rb +8 -3
  494. data/lib/oci/disaster_recovery/models/run_object_store_script_user_defined_step.rb +8 -3
  495. data/lib/oci/disaster_recovery/models/start_drill_execution_option_details.rb +187 -0
  496. data/lib/oci/disaster_recovery/models/start_drill_execution_options.rb +187 -0
  497. data/lib/oci/disaster_recovery/models/start_drill_precheck_execution_option_details.rb +168 -0
  498. data/lib/oci/disaster_recovery/models/start_drill_precheck_execution_options.rb +168 -0
  499. data/lib/oci/disaster_recovery/models/stop_drill_execution_option_details.rb +187 -0
  500. data/lib/oci/disaster_recovery/models/stop_drill_execution_options.rb +187 -0
  501. data/lib/oci/disaster_recovery/models/stop_drill_precheck_execution_option_details.rb +168 -0
  502. data/lib/oci/disaster_recovery/models/stop_drill_precheck_execution_options.rb +168 -0
  503. data/lib/oci/disaster_recovery/models/update_block_volume_attachment_details.rb +160 -0
  504. data/lib/oci/disaster_recovery/models/update_block_volume_mount_details.rb +159 -0
  505. data/lib/oci/disaster_recovery/models/update_compute_instance_movable_file_system_operation_details.rb +204 -0
  506. data/lib/oci/disaster_recovery/models/update_compute_instance_non_movable_block_volume_operation_details.rb +185 -0
  507. data/lib/oci/disaster_recovery/models/update_compute_instance_non_movable_file_system_operation_details.rb +193 -0
  508. data/lib/oci/disaster_recovery/models/update_dr_plan_details.rb +5 -3
  509. data/lib/oci/disaster_recovery/models/update_dr_plan_execution_details.rb +5 -3
  510. data/lib/oci/disaster_recovery/models/update_dr_plan_group_details.rb +6 -4
  511. data/lib/oci/disaster_recovery/models/update_dr_plan_step_details.rb +4 -4
  512. data/lib/oci/disaster_recovery/models/update_dr_plan_user_defined_step_details.rb +14 -5
  513. data/lib/oci/disaster_recovery/models/update_dr_protection_group_details.rb +7 -4
  514. data/lib/oci/disaster_recovery/models/update_dr_protection_group_member_autonomous_database_details.rb +1 -1
  515. data/lib/oci/disaster_recovery/models/update_dr_protection_group_member_compute_instance_details.rb +9 -8
  516. data/lib/oci/disaster_recovery/models/update_dr_protection_group_member_compute_instance_movable_details.rb +33 -16
  517. data/lib/oci/disaster_recovery/models/update_dr_protection_group_member_compute_instance_non_movable_details.rb +56 -5
  518. data/lib/oci/disaster_recovery/models/update_dr_protection_group_member_database_details.rb +2 -2
  519. data/lib/oci/disaster_recovery/models/update_dr_protection_group_member_details.rb +9 -3
  520. data/lib/oci/disaster_recovery/models/update_dr_protection_group_member_file_system_details.rb +185 -0
  521. data/lib/oci/disaster_recovery/models/update_dr_protection_group_member_load_balancer_details.rb +185 -0
  522. data/lib/oci/disaster_recovery/models/update_dr_protection_group_member_network_load_balancer_details.rb +185 -0
  523. data/lib/oci/disaster_recovery/models/update_dr_protection_group_member_volume_group_details.rb +1 -1
  524. data/lib/oci/disaster_recovery/models/update_dr_protection_group_role_details.rb +2 -2
  525. data/lib/oci/disaster_recovery/models/update_file_system_mount_details.rb +158 -0
  526. data/lib/oci/disaster_recovery/models/update_file_system_unmount_details.rb +158 -0
  527. data/lib/oci/disaster_recovery/models/update_invoke_function_user_defined_step_details.rb +1 -1
  528. data/lib/oci/disaster_recovery/models/update_object_storage_log_location_details.rb +3 -3
  529. data/lib/oci/disaster_recovery/models/update_object_storage_script_location_details.rb +4 -4
  530. data/lib/oci/disaster_recovery/models/update_run_local_script_user_defined_step_details.rb +7 -2
  531. data/lib/oci/disaster_recovery/models/update_run_object_store_script_user_defined_step_details.rb +8 -1
  532. data/lib/oci/disaster_recovery/models/work_request.rb +3 -3
  533. data/lib/oci/disaster_recovery/models/work_request_error_collection.rb +1 -1
  534. data/lib/oci/disaster_recovery/models/work_request_log_entry.rb +1 -1
  535. data/lib/oci/disaster_recovery/models/work_request_resource.rb +1 -1
  536. data/lib/oci/disaster_recovery/models/work_request_summary.rb +4 -4
  537. data/lib/oci/disaster_recovery/models/work_request_summary_collection.rb +1 -1
  538. data/lib/oci/golden_gate/golden_gate.rb +33 -0
  539. data/lib/oci/golden_gate/golden_gate_client.rb +286 -6
  540. data/lib/oci/golden_gate/golden_gate_client_composite_operations.rb +104 -0
  541. data/lib/oci/golden_gate/models/amazon_kinesis_connection.rb +262 -0
  542. data/lib/oci/golden_gate/models/amazon_kinesis_connection_summary.rb +243 -0
  543. data/lib/oci/golden_gate/models/amazon_redshift_connection.rb +276 -0
  544. data/lib/oci/golden_gate/models/amazon_redshift_connection_summary.rb +257 -0
  545. data/lib/oci/golden_gate/models/amazon_s3_connection.rb +5 -5
  546. data/lib/oci/golden_gate/models/amazon_s3_connection_summary.rb +5 -5
  547. data/lib/oci/golden_gate/models/azure_data_lake_storage_connection.rb +5 -5
  548. data/lib/oci/golden_gate/models/azure_data_lake_storage_connection_summary.rb +5 -5
  549. data/lib/oci/golden_gate/models/azure_synapse_connection.rb +5 -5
  550. data/lib/oci/golden_gate/models/azure_synapse_connection_summary.rb +5 -5
  551. data/lib/oci/golden_gate/models/certificate.rb +448 -0
  552. data/lib/oci/golden_gate/models/certificate_collection.rb +152 -0
  553. data/lib/oci/golden_gate/models/certificate_lifecycle_state.rb +16 -0
  554. data/lib/oci/golden_gate/models/certificate_summary.rb +249 -0
  555. data/lib/oci/golden_gate/models/connection.rb +33 -19
  556. data/lib/oci/golden_gate/models/connection_summary.rb +33 -19
  557. data/lib/oci/golden_gate/models/connection_type.rb +8 -1
  558. data/lib/oci/golden_gate/models/create_amazon_kinesis_connection_details.rb +230 -0
  559. data/lib/oci/golden_gate/models/create_amazon_redshift_connection_details.rb +241 -0
  560. data/lib/oci/golden_gate/models/create_amazon_s3_connection_details.rb +5 -5
  561. data/lib/oci/golden_gate/models/create_azure_data_lake_storage_connection_details.rb +5 -5
  562. data/lib/oci/golden_gate/models/create_azure_synapse_connection_details.rb +5 -5
  563. data/lib/oci/golden_gate/models/create_certificate_details.rb +168 -0
  564. data/lib/oci/golden_gate/models/create_connection_details.rb +34 -20
  565. data/lib/oci/golden_gate/models/create_deployment_details.rb +3 -1
  566. data/lib/oci/golden_gate/models/create_elasticsearch_connection_details.rb +279 -0
  567. data/lib/oci/golden_gate/models/create_generic_connection_details.rb +215 -0
  568. data/lib/oci/golden_gate/models/create_golden_gate_connection_details.rb +5 -5
  569. data/lib/oci/golden_gate/models/create_google_big_query_connection_details.rb +216 -0
  570. data/lib/oci/golden_gate/models/create_google_cloud_storage_connection_details.rb +216 -0
  571. data/lib/oci/golden_gate/models/create_hdfs_connection_details.rb +5 -5
  572. data/lib/oci/golden_gate/models/create_java_message_service_connection_details.rb +113 -5
  573. data/lib/oci/golden_gate/models/create_kafka_connection_details.rb +5 -5
  574. data/lib/oci/golden_gate/models/create_kafka_schema_registry_connection_details.rb +5 -5
  575. data/lib/oci/golden_gate/models/create_microsoft_sqlserver_connection_details.rb +6 -6
  576. data/lib/oci/golden_gate/models/create_mongo_db_connection_details.rb +5 -5
  577. data/lib/oci/golden_gate/models/create_mysql_connection_details.rb +10 -11
  578. data/lib/oci/golden_gate/models/create_oci_object_storage_connection_details.rb +5 -5
  579. data/lib/oci/golden_gate/models/create_oracle_connection_details.rb +5 -5
  580. data/lib/oci/golden_gate/models/create_oracle_nosql_connection_details.rb +5 -5
  581. data/lib/oci/golden_gate/models/create_postgresql_connection_details.rb +9 -8
  582. data/lib/oci/golden_gate/models/create_redis_connection_details.rb +327 -0
  583. data/lib/oci/golden_gate/models/create_snowflake_connection_details.rb +5 -5
  584. data/lib/oci/golden_gate/models/deployment.rb +2 -0
  585. data/lib/oci/golden_gate/models/deployment_summary.rb +2 -0
  586. data/lib/oci/golden_gate/models/deployment_type.rb +3 -1
  587. data/lib/oci/golden_gate/models/deployment_type_summary.rb +46 -6
  588. data/lib/oci/golden_gate/models/deployment_version_summary.rb +2 -0
  589. data/lib/oci/golden_gate/models/elasticsearch_connection.rb +340 -0
  590. data/lib/oci/golden_gate/models/elasticsearch_connection_summary.rb +283 -0
  591. data/lib/oci/golden_gate/models/generic_connection.rb +262 -0
  592. data/lib/oci/golden_gate/models/generic_connection_summary.rb +243 -0
  593. data/lib/oci/golden_gate/models/golden_gate_connection.rb +5 -5
  594. data/lib/oci/golden_gate/models/golden_gate_connection_summary.rb +5 -5
  595. data/lib/oci/golden_gate/models/google_big_query_connection.rb +247 -0
  596. data/lib/oci/golden_gate/models/google_big_query_connection_summary.rb +228 -0
  597. data/lib/oci/golden_gate/models/google_cloud_storage_connection.rb +247 -0
  598. data/lib/oci/golden_gate/models/google_cloud_storage_connection_summary.rb +228 -0
  599. data/lib/oci/golden_gate/models/hdfs_connection.rb +5 -5
  600. data/lib/oci/golden_gate/models/hdfs_connection_summary.rb +5 -5
  601. data/lib/oci/golden_gate/models/java_message_service_connection.rb +76 -5
  602. data/lib/oci/golden_gate/models/java_message_service_connection_summary.rb +37 -5
  603. data/lib/oci/golden_gate/models/kafka_connection.rb +5 -5
  604. data/lib/oci/golden_gate/models/kafka_connection_summary.rb +5 -5
  605. data/lib/oci/golden_gate/models/kafka_schema_registry_connection.rb +5 -5
  606. data/lib/oci/golden_gate/models/kafka_schema_registry_connection_summary.rb +5 -5
  607. data/lib/oci/golden_gate/models/microsoft_sqlserver_connection.rb +7 -6
  608. data/lib/oci/golden_gate/models/microsoft_sqlserver_connection_summary.rb +6 -6
  609. data/lib/oci/golden_gate/models/mongo_db_connection.rb +5 -5
  610. data/lib/oci/golden_gate/models/mongo_db_connection_summary.rb +5 -5
  611. data/lib/oci/golden_gate/models/mysql_connection.rb +5 -5
  612. data/lib/oci/golden_gate/models/mysql_connection_summary.rb +5 -5
  613. data/lib/oci/golden_gate/models/oci_object_storage_connection.rb +5 -5
  614. data/lib/oci/golden_gate/models/oci_object_storage_connection_summary.rb +5 -5
  615. data/lib/oci/golden_gate/models/operation_type.rb +3 -1
  616. data/lib/oci/golden_gate/models/oracle_connection.rb +5 -5
  617. data/lib/oci/golden_gate/models/oracle_connection_summary.rb +5 -5
  618. data/lib/oci/golden_gate/models/oracle_nosql_connection.rb +5 -5
  619. data/lib/oci/golden_gate/models/oracle_nosql_connection_summary.rb +5 -5
  620. data/lib/oci/golden_gate/models/postgresql_connection.rb +5 -5
  621. data/lib/oci/golden_gate/models/postgresql_connection_summary.rb +5 -5
  622. data/lib/oci/golden_gate/models/redis_connection.rb +341 -0
  623. data/lib/oci/golden_gate/models/redis_connection_summary.rb +283 -0
  624. data/lib/oci/golden_gate/models/snowflake_connection.rb +5 -5
  625. data/lib/oci/golden_gate/models/snowflake_connection_summary.rb +5 -5
  626. data/lib/oci/golden_gate/models/technology_type.rb +8 -0
  627. data/lib/oci/golden_gate/models/update_amazon_kinesis_connection_details.rb +208 -0
  628. data/lib/oci/golden_gate/models/update_amazon_redshift_connection_details.rb +219 -0
  629. data/lib/oci/golden_gate/models/update_connection_details.rb +15 -1
  630. data/lib/oci/golden_gate/models/update_elasticsearch_connection_details.rb +257 -0
  631. data/lib/oci/golden_gate/models/update_generic_connection_details.rb +193 -0
  632. data/lib/oci/golden_gate/models/update_google_big_query_connection_details.rb +194 -0
  633. data/lib/oci/golden_gate/models/update_google_cloud_storage_connection_details.rb +194 -0
  634. data/lib/oci/golden_gate/models/update_java_message_service_connection_details.rb +109 -1
  635. data/lib/oci/golden_gate/models/update_microsoft_sqlserver_connection_details.rb +1 -1
  636. data/lib/oci/golden_gate/models/update_mysql_connection_details.rb +5 -6
  637. data/lib/oci/golden_gate/models/update_postgresql_connection_details.rb +4 -3
  638. data/lib/oci/golden_gate/models/update_redis_connection_details.rb +305 -0
  639. data/lib/oci/golden_gate/models/work_request.rb +2 -0
  640. data/lib/oci/identity_domains/identity_domains.rb +108 -0
  641. data/lib/oci/identity_domains/identity_domains_client.rb +12111 -4165
  642. data/lib/oci/identity_domains/models/app_extension_radius_app_app.rb +27 -1
  643. data/lib/oci/identity_domains/models/approval_workflow.rb +506 -0
  644. data/lib/oci/identity_domains/models/approval_workflow_approval_workflow_steps.rb +240 -0
  645. data/lib/oci/identity_domains/models/approval_workflow_assignment.rb +498 -0
  646. data/lib/oci/identity_domains/models/approval_workflow_assignment_approval_workflow.rb +270 -0
  647. data/lib/oci/identity_domains/models/approval_workflow_assignment_assigned_to.rb +270 -0
  648. data/lib/oci/identity_domains/models/approval_workflow_assignments.rb +203 -0
  649. data/lib/oci/identity_domains/models/approval_workflow_max_duration.rb +217 -0
  650. data/lib/oci/identity_domains/models/approval_workflow_step.rb +558 -0
  651. data/lib/oci/identity_domains/models/approval_workflow_step_approvers.rb +240 -0
  652. data/lib/oci/identity_domains/models/approval_workflow_steps.rb +203 -0
  653. data/lib/oci/identity_domains/models/approval_workflows.rb +203 -0
  654. data/lib/oci/identity_domains/models/authentication_factors_remover.rb +23 -4
  655. data/lib/oci/identity_domains/models/branding_setting.rb +841 -0
  656. data/lib/oci/identity_domains/models/branding_settings.rb +203 -0
  657. data/lib/oci/identity_domains/models/branding_settings_company_names.rb +175 -0
  658. data/lib/oci/identity_domains/models/branding_settings_default_company_names.rb +181 -0
  659. data/lib/oci/identity_domains/models/branding_settings_default_images.rb +198 -0
  660. data/lib/oci/identity_domains/models/branding_settings_default_login_texts.rb +181 -0
  661. data/lib/oci/identity_domains/models/branding_settings_images.rb +192 -0
  662. data/lib/oci/identity_domains/models/branding_settings_login_texts.rb +175 -0
  663. data/lib/oci/identity_domains/models/cloud_gate.rb +697 -0
  664. data/lib/oci/identity_domains/models/cloud_gate_ext_mappings.rb +397 -0
  665. data/lib/oci/identity_domains/models/cloud_gate_ext_servers.rb +253 -0
  666. data/lib/oci/identity_domains/models/cloud_gate_ext_upstream_server_groups.rb +259 -0
  667. data/lib/oci/identity_domains/models/cloud_gate_ext_upstream_servers.rb +311 -0
  668. data/lib/oci/identity_domains/models/cloud_gate_mapping.rb +620 -0
  669. data/lib/oci/identity_domains/models/cloud_gate_mapping_cloud_gate.rb +191 -0
  670. data/lib/oci/identity_domains/models/cloud_gate_mapping_gateway_app.rb +211 -0
  671. data/lib/oci/identity_domains/models/cloud_gate_mapping_search_request.rb +273 -0
  672. data/lib/oci/identity_domains/models/cloud_gate_mapping_server.rb +191 -0
  673. data/lib/oci/identity_domains/models/cloud_gate_mapping_upstream_server_group.rb +218 -0
  674. data/lib/oci/identity_domains/models/cloud_gate_mappings.rb +203 -0
  675. data/lib/oci/identity_domains/models/cloud_gate_oauth_client.rb +217 -0
  676. data/lib/oci/identity_domains/models/cloud_gate_search_request.rb +273 -0
  677. data/lib/oci/identity_domains/models/cloud_gate_server.rb +601 -0
  678. data/lib/oci/identity_domains/models/cloud_gate_server_cloud_gate.rb +191 -0
  679. data/lib/oci/identity_domains/models/cloud_gate_server_search_request.rb +273 -0
  680. data/lib/oci/identity_domains/models/cloud_gate_servers.rb +203 -0
  681. data/lib/oci/identity_domains/models/cloud_gates.rb +203 -0
  682. data/lib/oci/identity_domains/models/condition.rb +612 -0
  683. data/lib/oci/identity_domains/models/condition_search_request.rb +273 -0
  684. data/lib/oci/identity_domains/models/conditions.rb +203 -0
  685. data/lib/oci/identity_domains/models/defined_tags.rb +1 -0
  686. data/lib/oci/identity_domains/models/extension_social_identity_provider.rb +27 -1
  687. data/lib/oci/identity_domains/models/freeform_tags.rb +1 -0
  688. data/lib/oci/identity_domains/models/identity_provider_relay_idp_param_mappings.rb +203 -0
  689. data/lib/oci/identity_domains/models/me_password_changer.rb +1 -1
  690. data/lib/oci/identity_domains/models/my_authentication_factors_remover.rb +23 -4
  691. data/lib/oci/identity_domains/models/my_completed_approval.rb +648 -0
  692. data/lib/oci/identity_domains/models/my_completed_approvals.rb +203 -0
  693. data/lib/oci/identity_domains/models/my_pending_approval.rb +648 -0
  694. data/lib/oci/identity_domains/models/my_pending_approvals.rb +203 -0
  695. data/lib/oci/identity_domains/models/my_request.rb +113 -2
  696. data/lib/oci/identity_domains/models/my_request_approval_details.rb +297 -0
  697. data/lib/oci/identity_domains/models/my_request_requesting.rb +22 -1
  698. data/lib/oci/identity_domains/models/network_perimeter.rb +514 -0
  699. data/lib/oci/identity_domains/models/network_perimeter_ip_addresses.rb +240 -0
  700. data/lib/oci/identity_domains/models/network_perimeter_search_request.rb +273 -0
  701. data/lib/oci/identity_domains/models/network_perimeters.rb +203 -0
  702. data/lib/oci/identity_domains/models/notification_setting.rb +611 -0
  703. data/lib/oci/identity_domains/models/notification_settings.rb +203 -0
  704. data/lib/oci/identity_domains/models/notification_settings_event_settings.rb +185 -0
  705. data/lib/oci/identity_domains/models/notification_settings_from_email_address.rb +273 -0
  706. data/lib/oci/identity_domains/models/notification_settings_search_request.rb +198 -0
  707. data/lib/oci/identity_domains/models/o_auth_client_certificate.rb +675 -0
  708. data/lib/oci/identity_domains/models/o_auth_client_certificate_search_request.rb +273 -0
  709. data/lib/oci/identity_domains/models/o_auth_client_certificates.rb +203 -0
  710. data/lib/oci/identity_domains/models/o_auth_partner_certificate.rb +675 -0
  711. data/lib/oci/identity_domains/models/o_auth_partner_certificate_search_request.rb +273 -0
  712. data/lib/oci/identity_domains/models/o_auth_partner_certificates.rb +203 -0
  713. data/lib/oci/identity_domains/models/policies.rb +203 -0
  714. data/lib/oci/identity_domains/models/policy.rb +567 -0
  715. data/lib/oci/identity_domains/models/policy_policy_type.rb +189 -0
  716. data/lib/oci/identity_domains/models/policy_rules.rb +222 -0
  717. data/lib/oci/identity_domains/models/policy_search_request.rb +273 -0
  718. data/lib/oci/identity_domains/models/rule.rb +625 -0
  719. data/lib/oci/identity_domains/models/rule_condition_group.rb +250 -0
  720. data/lib/oci/identity_domains/models/rule_policy_type.rb +189 -0
  721. data/lib/oci/identity_domains/models/rule_return.rb +202 -0
  722. data/lib/oci/identity_domains/models/rule_search_request.rb +273 -0
  723. data/lib/oci/identity_domains/models/rules.rb +203 -0
  724. data/lib/oci/identity_domains/models/schema.rb +358 -0
  725. data/lib/oci/identity_domains/models/schema_attributes.rb +2135 -0
  726. data/lib/oci/identity_domains/models/schema_idcs_complex_attribute_name_mappings.rb +206 -0
  727. data/lib/oci/identity_domains/models/schema_idcs_csv_attribute_name_mappings.rb +325 -0
  728. data/lib/oci/identity_domains/models/schema_localized_canonical_values.rb +202 -0
  729. data/lib/oci/identity_domains/models/schema_localized_display_name.rb +187 -0
  730. data/lib/oci/identity_domains/models/schema_referenced_resource_type_unique_attribute_name_mappings.rb +187 -0
  731. data/lib/oci/identity_domains/models/schema_resolve_value_using_resource_type.rb +187 -0
  732. data/lib/oci/identity_domains/models/schema_search_request.rb +263 -0
  733. data/lib/oci/identity_domains/models/schema_sub_attributes.rb +1655 -0
  734. data/lib/oci/identity_domains/models/schemas.rb +203 -0
  735. data/lib/oci/identity_domains/models/self_registration_profile.rb +884 -0
  736. data/lib/oci/identity_domains/models/self_registration_profile_after_submit_text.rb +201 -0
  737. data/lib/oci/identity_domains/models/self_registration_profile_consent_text.rb +201 -0
  738. data/lib/oci/identity_domains/models/self_registration_profile_default_groups.rb +199 -0
  739. data/lib/oci/identity_domains/models/self_registration_profile_display_name.rb +201 -0
  740. data/lib/oci/identity_domains/models/self_registration_profile_email_template.rb +209 -0
  741. data/lib/oci/identity_domains/models/self_registration_profile_footer_text.rb +201 -0
  742. data/lib/oci/identity_domains/models/self_registration_profile_header_text.rb +201 -0
  743. data/lib/oci/identity_domains/models/self_registration_profile_search_request.rb +273 -0
  744. data/lib/oci/identity_domains/models/self_registration_profile_user_attributes.rb +244 -0
  745. data/lib/oci/identity_domains/models/self_registration_profiles.rb +203 -0
  746. data/lib/oci/identity_domains/models/setting.rb +1610 -0
  747. data/lib/oci/identity_domains/models/settings.rb +203 -0
  748. data/lib/oci/identity_domains/models/settings_certificate_validation.rb +394 -0
  749. data/lib/oci/identity_domains/models/settings_cloud_gate_cors_settings.rb +278 -0
  750. data/lib/oci/identity_domains/models/settings_company_names.rb +177 -0
  751. data/lib/oci/identity_domains/models/settings_default_company_names.rb +181 -0
  752. data/lib/oci/identity_domains/models/settings_default_images.rb +198 -0
  753. data/lib/oci/identity_domains/models/settings_default_login_texts.rb +182 -0
  754. data/lib/oci/identity_domains/models/settings_images.rb +192 -0
  755. data/lib/oci/identity_domains/models/settings_login_texts.rb +178 -0
  756. data/lib/oci/identity_domains/models/settings_purge_configs.rb +187 -0
  757. data/lib/oci/identity_domains/models/settings_search_request.rb +198 -0
  758. data/lib/oci/identity_domains/models/settings_tenant_custom_claims.rb +330 -0
  759. data/lib/oci/identity_domains/models/user_ext_risk_scores.rb +2 -0
  760. data/lib/oci/jms/java_management_service_client.rb +730 -72
  761. data/lib/oci/jms/java_management_service_client_composite_operations.rb +251 -0
  762. data/lib/oci/jms/jms.rb +23 -0
  763. data/lib/oci/jms/models/agent.rb +247 -0
  764. data/lib/oci/jms/models/agent_type.rb +13 -0
  765. data/lib/oci/jms/models/announcement_summary.rb +1 -1
  766. data/lib/oci/jms/models/blocklist.rb +7 -0
  767. data/lib/oci/jms/models/blocklist_entry.rb +7 -0
  768. data/lib/oci/jms/models/create_blocklist_details.rb +8 -1
  769. data/lib/oci/jms/models/create_drs_file_details.rb +179 -0
  770. data/lib/oci/jms/models/disable_drs_details.rb +156 -0
  771. data/lib/oci/jms/models/drs_file.rb +259 -0
  772. data/lib/oci/jms/models/drs_file_collection.rb +151 -0
  773. data/lib/oci/jms/models/drs_file_sort_by.rb +17 -0
  774. data/lib/oci/jms/models/drs_file_status.rb +15 -0
  775. data/lib/oci/jms/models/drs_file_summary.rb +259 -0
  776. data/lib/oci/jms/models/drs_target.rb +156 -0
  777. data/lib/oci/jms/models/enable_drs_details.rb +156 -0
  778. data/lib/oci/jms/models/export_duration.rb +14 -0
  779. data/lib/oci/jms/models/export_frequency.rb +14 -0
  780. data/lib/oci/jms/models/export_resources.rb +14 -0
  781. data/lib/oci/jms/models/export_run_status.rb +17 -0
  782. data/lib/oci/jms/models/export_setting.rb +386 -0
  783. data/lib/oci/jms/models/export_status.rb +223 -0
  784. data/lib/oci/jms/models/fleet.rb +16 -1
  785. data/lib/oci/jms/models/fleet_agent_configuration.rb +15 -1
  786. data/lib/oci/jms/models/fleet_summary.rb +16 -1
  787. data/lib/oci/jms/models/java_artifact.rb +119 -4
  788. data/lib/oci/jms/models/java_family.rb +53 -4
  789. data/lib/oci/jms/models/java_family_summary.rb +34 -4
  790. data/lib/oci/jms/models/java_migration_analysis_result.rb +15 -1
  791. data/lib/oci/jms/models/java_migration_analysis_result_summary.rb +15 -1
  792. data/lib/oci/jms/models/java_release.rb +34 -4
  793. data/lib/oci/jms/models/java_release_summary.rb +34 -4
  794. data/lib/oci/jms/models/lcm_work_item_details.rb +166 -0
  795. data/lib/oci/jms/models/manage_drs_details.rb +153 -0
  796. data/lib/oci/jms/models/managed_instance_usage.rb +45 -1
  797. data/lib/oci/jms/models/operation_type.rb +8 -1
  798. data/lib/oci/jms/models/patch_detail.rb +169 -0
  799. data/lib/oci/jms/models/performance_tuning_analysis.rb +1 -1
  800. data/lib/oci/jms/models/plugin.rb +162 -0
  801. data/lib/oci/jms/models/request_crypto_analyses_details.rb +2 -2
  802. data/lib/oci/jms/models/update_drs_file_details.rb +179 -0
  803. data/lib/oci/jms/models/update_export_setting_details.rb +306 -0
  804. data/lib/oci/jms/models/update_fleet_agent_configuration_details.rb +17 -4
  805. data/lib/oci/jms/models/work_item_details.rb +7 -0
  806. data/lib/oci/jms/models/work_item_type.rb +6 -1
  807. data/lib/oci/jms/models/work_request.rb +7 -0
  808. data/lib/oci/jms_java_downloads/java_download_client.rb +1812 -0
  809. data/lib/oci/jms_java_downloads/java_download_client_composite_operations.rb +392 -0
  810. data/lib/oci/jms_java_downloads/jms_java_downloads.rb +74 -0
  811. data/lib/oci/jms_java_downloads/models/action_type.rb +17 -0
  812. data/lib/oci/jms_java_downloads/models/aggregation_sort_by.rb +13 -0
  813. data/lib/oci/jms_java_downloads/models/checksum_type.rb +12 -0
  814. data/lib/oci/jms_java_downloads/models/create_java_download_report_details.rb +269 -0
  815. data/lib/oci/jms_java_downloads/models/create_java_download_token_details.rb +267 -0
  816. data/lib/oci/jms_java_downloads/models/create_java_license_acceptance_record_details.rb +210 -0
  817. data/lib/oci/jms_java_downloads/models/download_url.rb +189 -0
  818. data/lib/oci/jms_java_downloads/models/download_url_type.rb +13 -0
  819. data/lib/oci/jms_java_downloads/models/generate_artifact_download_url_details.rb +155 -0
  820. data/lib/oci/jms_java_downloads/models/java_download_count_aggregation.rb +249 -0
  821. data/lib/oci/jms_java_downloads/models/java_download_count_aggregation_collection.rb +186 -0
  822. data/lib/oci/jms_java_downloads/models/java_download_count_aggregation_type.rb +14 -0
  823. data/lib/oci/jms_java_downloads/models/java_download_record.rb +274 -0
  824. data/lib/oci/jms_java_downloads/models/java_download_record_collection.rb +152 -0
  825. data/lib/oci/jms_java_downloads/models/java_download_record_sort_by.rb +14 -0
  826. data/lib/oci/jms_java_downloads/models/java_download_record_summary.rb +277 -0
  827. data/lib/oci/jms_java_downloads/models/java_download_report.rb +386 -0
  828. data/lib/oci/jms_java_downloads/models/java_download_report_collection.rb +152 -0
  829. data/lib/oci/jms_java_downloads/models/java_download_report_format.rb +12 -0
  830. data/lib/oci/jms_java_downloads/models/java_download_report_sort_by.rb +13 -0
  831. data/lib/oci/jms_java_downloads/models/java_download_report_summary.rb +388 -0
  832. data/lib/oci/jms_java_downloads/models/java_download_token.rb +447 -0
  833. data/lib/oci/jms_java_downloads/models/java_download_token_collection.rb +152 -0
  834. data/lib/oci/jms_java_downloads/models/java_download_token_summary.rb +450 -0
  835. data/lib/oci/jms_java_downloads/models/java_license.rb +202 -0
  836. data/lib/oci/jms_java_downloads/models/java_license_acceptance_record.rb +376 -0
  837. data/lib/oci/jms_java_downloads/models/java_license_acceptance_record_collection.rb +152 -0
  838. data/lib/oci/jms_java_downloads/models/java_license_acceptance_record_summary.rb +380 -0
  839. data/lib/oci/jms_java_downloads/models/java_license_collection.rb +152 -0
  840. data/lib/oci/jms_java_downloads/models/java_license_summary.rb +204 -0
  841. data/lib/oci/jms_java_downloads/models/license_acceptance_sort_by.rb +14 -0
  842. data/lib/oci/jms_java_downloads/models/license_acceptance_status.rb +13 -0
  843. data/lib/oci/jms_java_downloads/models/license_sort_by.rb +13 -0
  844. data/lib/oci/jms_java_downloads/models/license_type.rb +14 -0
  845. data/lib/oci/jms_java_downloads/models/lifecycle_state.rb +18 -0
  846. data/lib/oci/jms_java_downloads/models/operation_status.rb +19 -0
  847. data/lib/oci/jms_java_downloads/models/operation_type.rb +16 -0
  848. data/lib/oci/jms_java_downloads/models/principal.rb +175 -0
  849. data/lib/oci/jms_java_downloads/models/request_summarized_java_download_counts_details.rb +321 -0
  850. data/lib/oci/jms_java_downloads/models/sort_order.rb +13 -0
  851. data/lib/oci/jms_java_downloads/models/token_lifecycle_details.rb +14 -0
  852. data/lib/oci/jms_java_downloads/models/token_sort_by.rb +16 -0
  853. data/lib/oci/jms_java_downloads/models/update_java_download_token_details.rb +239 -0
  854. data/lib/oci/jms_java_downloads/models/update_java_license_acceptance_record_details.rb +168 -0
  855. data/lib/oci/jms_java_downloads/models/work_request.rb +309 -0
  856. data/lib/oci/jms_java_downloads/models/work_request_error.rb +174 -0
  857. data/lib/oci/jms_java_downloads/models/work_request_error_collection.rb +151 -0
  858. data/lib/oci/jms_java_downloads/models/work_request_log_entry.rb +161 -0
  859. data/lib/oci/jms_java_downloads/models/work_request_log_entry_collection.rb +151 -0
  860. data/lib/oci/jms_java_downloads/models/work_request_resource.rb +221 -0
  861. data/lib/oci/jms_java_downloads/models/work_request_summary.rb +309 -0
  862. data/lib/oci/jms_java_downloads/models/work_request_summary_collection.rb +151 -0
  863. data/lib/oci/jms_java_downloads/util.rb +3 -0
  864. data/lib/oci/lockbox/lockbox.rb +1 -0
  865. data/lib/oci/lockbox/lockbox_client.rb +147 -1
  866. data/lib/oci/lockbox/models/access_context_attribute.rb +14 -4
  867. data/lib/oci/lockbox/models/access_request.rb +51 -4
  868. data/lib/oci/lockbox/models/access_request_summary.rb +17 -1
  869. data/lib/oci/lockbox/models/approval_template.rb +0 -1
  870. data/lib/oci/lockbox/models/approval_template_summary.rb +0 -1
  871. data/lib/oci/lockbox/models/create_approval_template_details.rb +0 -1
  872. data/lib/oci/lockbox/models/create_lockbox_details.rb +17 -3
  873. data/lib/oci/lockbox/models/export_access_requests_details.rb +183 -0
  874. data/lib/oci/lockbox/models/lockbox.rb +31 -3
  875. data/lib/oci/lockbox/models/lockbox_summary.rb +17 -3
  876. data/lib/oci/lockbox/models/operation_status.rb +2 -1
  877. data/lib/oci/lockbox/models/operation_type.rb +4 -1
  878. data/lib/oci/lockbox/models/work_request.rb +4 -0
  879. data/lib/oci/lockbox/models/work_request_summary.rb +4 -0
  880. data/lib/oci/log_analytics/log_analytics_client.rb +91 -0
  881. data/lib/oci/log_analytics/models/export_details.rb +7 -8
  882. data/lib/oci/logging/logging.rb +4 -0
  883. data/lib/oci/logging/logging_management_client.rb +1 -4
  884. data/lib/oci/logging/models/grok_pattern.rb +3 -3
  885. data/lib/oci/logging/models/operational_metrics_configuration.rb +161 -0
  886. data/lib/oci/logging/models/operational_metrics_destination.rb +155 -0
  887. data/lib/oci/logging/models/operational_metrics_record_input.rb +165 -0
  888. data/lib/oci/logging/models/operational_metrics_source.rb +193 -0
  889. data/lib/oci/logging/models/parameter.rb +2 -34
  890. data/lib/oci/logging/models/unified_agent_cri_parser.rb +2 -2
  891. data/lib/oci/logging/models/unified_agent_csv_parser.rb +2 -2
  892. data/lib/oci/logging/models/unified_agent_grok_parser.rb +4 -4
  893. data/lib/oci/logging/models/unified_agent_logging_destination.rb +17 -4
  894. data/lib/oci/logging/models/unified_agent_logging_source.rb +1 -1
  895. data/lib/oci/logging/models/unified_agent_msgpack_parser.rb +1 -1
  896. data/lib/oci/logging/models/unified_agent_multiline_grok_parser.rb +3 -3
  897. data/lib/oci/logging/models/unified_agent_parser.rb +5 -5
  898. data/lib/oci/logging/models/unified_agent_regex_parser.rb +1 -1
  899. data/lib/oci/logging/models/unified_agent_syslog_parser.rb +4 -4
  900. data/lib/oci/logging/models/unified_agent_tail_log_source.rb +1 -1
  901. data/lib/oci/logging/models/unified_agent_tsv_parser.rb +2 -2
  902. data/lib/oci/logging/models/unified_json_parser.rb +1 -1
  903. data/lib/oci/marketplace/marketplace.rb +15 -0
  904. data/lib/oci/marketplace/marketplace_client.rb +360 -0
  905. data/lib/oci/marketplace/marketplace_client_composite_operations.rb +51 -0
  906. data/lib/oci/marketplace/models/container_listing_package.rb +178 -0
  907. data/lib/oci/marketplace/models/create_publication_package.rb +3 -1
  908. data/lib/oci/marketplace/models/export_package_details.rb +169 -0
  909. data/lib/oci/marketplace/models/kubernetes_listing_package.rb +178 -0
  910. data/lib/oci/marketplace/models/listing.rb +2 -0
  911. data/lib/oci/marketplace/models/listing_package.rb +4 -0
  912. data/lib/oci/marketplace/models/listing_package_summary.rb +2 -0
  913. data/lib/oci/marketplace/models/listing_summary.rb +2 -0
  914. data/lib/oci/marketplace/models/operation_status.rb +15 -0
  915. data/lib/oci/marketplace/models/operation_type.rb +12 -0
  916. data/lib/oci/marketplace/models/package_type_enum.rb +3 -1
  917. data/lib/oci/marketplace/models/publication.rb +2 -0
  918. data/lib/oci/marketplace/models/publication_package.rb +2 -0
  919. data/lib/oci/marketplace/models/publication_package_summary.rb +2 -0
  920. data/lib/oci/marketplace/models/publication_summary.rb +2 -0
  921. data/lib/oci/marketplace/models/work_request.rb +327 -0
  922. data/lib/oci/marketplace/models/work_request_action_type.rb +18 -0
  923. data/lib/oci/marketplace/models/work_request_collection.rb +151 -0
  924. data/lib/oci/marketplace/models/work_request_error.rb +175 -0
  925. data/lib/oci/marketplace/models/work_request_error_collection.rb +152 -0
  926. data/lib/oci/marketplace/models/work_request_log_entry.rb +162 -0
  927. data/lib/oci/marketplace/models/work_request_log_entry_collection.rb +152 -0
  928. data/lib/oci/marketplace/models/work_request_resource.rb +233 -0
  929. data/lib/oci/marketplace/models/work_request_resource_metadata_key.rb +12 -0
  930. data/lib/oci/marketplace/models/work_request_summary.rb +330 -0
  931. data/lib/oci/marketplace_publisher/marketplace_publisher.rb +128 -0
  932. data/lib/oci/marketplace_publisher/marketplace_publisher_client.rb +4790 -0
  933. data/lib/oci/marketplace_publisher/marketplace_publisher_client_composite_operations.rb +1698 -0
  934. data/lib/oci/marketplace_publisher/models/action_type.rb +17 -0
  935. data/lib/oci/marketplace_publisher/models/artifact.rb +407 -0
  936. data/lib/oci/marketplace_publisher/models/artifact_collection.rb +151 -0
  937. data/lib/oci/marketplace_publisher/models/artifact_summary.rb +319 -0
  938. data/lib/oci/marketplace_publisher/models/artifact_type_enum.rb +13 -0
  939. data/lib/oci/marketplace_publisher/models/category.rb +243 -0
  940. data/lib/oci/marketplace_publisher/models/category_collection.rb +151 -0
  941. data/lib/oci/marketplace_publisher/models/category_summary.rb +224 -0
  942. data/lib/oci/marketplace_publisher/models/change_artifact_compartment_details.rb +155 -0
  943. data/lib/oci/marketplace_publisher/models/change_listing_compartment_details.rb +155 -0
  944. data/lib/oci/marketplace_publisher/models/change_term_compartment_details.rb +155 -0
  945. data/lib/oci/marketplace_publisher/models/container_image_artifact.rb +212 -0
  946. data/lib/oci/marketplace_publisher/models/container_image_details.rb +266 -0
  947. data/lib/oci/marketplace_publisher/models/container_package.rb +218 -0
  948. data/lib/oci/marketplace_publisher/models/create_artifact_details.rb +245 -0
  949. data/lib/oci/marketplace_publisher/models/create_container_image_artifact_details.rb +180 -0
  950. data/lib/oci/marketplace_publisher/models/create_container_image_details.rb +169 -0
  951. data/lib/oci/marketplace_publisher/models/create_helm_chart_image_details.rb +183 -0
  952. data/lib/oci/marketplace_publisher/models/create_kubernetes_image_artifact_details.rb +194 -0
  953. data/lib/oci/marketplace_publisher/models/create_listing_details.rb +250 -0
  954. data/lib/oci/marketplace_publisher/models/create_listing_revision_attachment_details.rb +244 -0
  955. data/lib/oci/marketplace_publisher/models/create_listing_revision_details.rb +395 -0
  956. data/lib/oci/marketplace_publisher/models/create_listing_revision_note_details.rb +201 -0
  957. data/lib/oci/marketplace_publisher/models/create_listing_revision_package_details.rb +281 -0
  958. data/lib/oci/marketplace_publisher/models/create_related_document_attachment_details.rb +184 -0
  959. data/lib/oci/marketplace_publisher/models/create_screen_shot_attachment_details.rb +167 -0
  960. data/lib/oci/marketplace_publisher/models/create_term_details.rb +197 -0
  961. data/lib/oci/marketplace_publisher/models/create_video_attachment_details.rb +184 -0
  962. data/lib/oci/marketplace_publisher/models/create_video_details.rb +155 -0
  963. data/lib/oci/marketplace_publisher/models/helm_chart_image_details.rb +280 -0
  964. data/lib/oci/marketplace_publisher/models/helm_chart_package.rb +218 -0
  965. data/lib/oci/marketplace_publisher/models/kubernetes_image_artifact.rb +226 -0
  966. data/lib/oci/marketplace_publisher/models/language_item.rb +161 -0
  967. data/lib/oci/marketplace_publisher/models/listing.rb +394 -0
  968. data/lib/oci/marketplace_publisher/models/listing_collection.rb +151 -0
  969. data/lib/oci/marketplace_publisher/models/listing_revision.rb +664 -0
  970. data/lib/oci/marketplace_publisher/models/listing_revision_attachment.rb +367 -0
  971. data/lib/oci/marketplace_publisher/models/listing_revision_attachment_collection.rb +151 -0
  972. data/lib/oci/marketplace_publisher/models/listing_revision_attachment_summary.rb +333 -0
  973. data/lib/oci/marketplace_publisher/models/listing_revision_collection.rb +151 -0
  974. data/lib/oci/marketplace_publisher/models/listing_revision_icon_attachment.rb +169 -0
  975. data/lib/oci/marketplace_publisher/models/listing_revision_note.rb +344 -0
  976. data/lib/oci/marketplace_publisher/models/listing_revision_note_collection.rb +151 -0
  977. data/lib/oci/marketplace_publisher/models/listing_revision_note_summary.rb +305 -0
  978. data/lib/oci/marketplace_publisher/models/listing_revision_package.rb +499 -0
  979. data/lib/oci/marketplace_publisher/models/listing_revision_package_collection.rb +151 -0
  980. data/lib/oci/marketplace_publisher/models/listing_revision_package_summary.rb +363 -0
  981. data/lib/oci/marketplace_publisher/models/listing_revision_summary.rb +401 -0
  982. data/lib/oci/marketplace_publisher/models/listing_summary.rb +337 -0
  983. data/lib/oci/marketplace_publisher/models/listing_type.rb +12 -0
  984. data/lib/oci/marketplace_publisher/models/market.rb +271 -0
  985. data/lib/oci/marketplace_publisher/models/market_collection.rb +151 -0
  986. data/lib/oci/marketplace_publisher/models/market_summary.rb +237 -0
  987. data/lib/oci/marketplace_publisher/models/named_link.rb +161 -0
  988. data/lib/oci/marketplace_publisher/models/operation_status.rb +19 -0
  989. data/lib/oci/marketplace_publisher/models/operation_type.rb +26 -0
  990. data/lib/oci/marketplace_publisher/models/opn_membership.rb +232 -0
  991. data/lib/oci/marketplace_publisher/models/package_type.rb +13 -0
  992. data/lib/oci/marketplace_publisher/models/private_offer_account_details.rb +161 -0
  993. data/lib/oci/marketplace_publisher/models/product.rb +243 -0
  994. data/lib/oci/marketplace_publisher/models/product_collection.rb +151 -0
  995. data/lib/oci/marketplace_publisher/models/product_summary.rb +223 -0
  996. data/lib/oci/marketplace_publisher/models/publication_status.rb +14 -0
  997. data/lib/oci/marketplace_publisher/models/publish_listing_revision_as_private_details.rb +155 -0
  998. data/lib/oci/marketplace_publisher/models/publisher.rb +525 -0
  999. data/lib/oci/marketplace_publisher/models/publisher_collection.rb +151 -0
  1000. data/lib/oci/marketplace_publisher/models/publisher_summary.rb +448 -0
  1001. data/lib/oci/marketplace_publisher/models/related_document_attachment.rb +260 -0
  1002. data/lib/oci/marketplace_publisher/models/screen_shot_attachment.rb +221 -0
  1003. data/lib/oci/marketplace_publisher/models/sort_order.rb +13 -0
  1004. data/lib/oci/marketplace_publisher/models/submit_listing_revision_for_review_details.rb +169 -0
  1005. data/lib/oci/marketplace_publisher/models/support_contact.rb +181 -0
  1006. data/lib/oci/marketplace_publisher/models/term.rb +334 -0
  1007. data/lib/oci/marketplace_publisher/models/term_collection.rb +151 -0
  1008. data/lib/oci/marketplace_publisher/models/term_summary.rb +282 -0
  1009. data/lib/oci/marketplace_publisher/models/term_version.rb +373 -0
  1010. data/lib/oci/marketplace_publisher/models/term_version_attachment.rb +169 -0
  1011. data/lib/oci/marketplace_publisher/models/term_version_collection.rb +151 -0
  1012. data/lib/oci/marketplace_publisher/models/term_version_summary.rb +285 -0
  1013. data/lib/oci/marketplace_publisher/models/update_artifact_details.rb +246 -0
  1014. data/lib/oci/marketplace_publisher/models/update_container_image_artifact_details.rb +179 -0
  1015. data/lib/oci/marketplace_publisher/models/update_container_image_details.rb +169 -0
  1016. data/lib/oci/marketplace_publisher/models/update_helm_chart_image_details.rb +183 -0
  1017. data/lib/oci/marketplace_publisher/models/update_kubernetes_image_artifact_details.rb +193 -0
  1018. data/lib/oci/marketplace_publisher/models/update_listing_details.rb +173 -0
  1019. data/lib/oci/marketplace_publisher/models/update_listing_revision_attachment_details.rb +230 -0
  1020. data/lib/oci/marketplace_publisher/models/update_listing_revision_details.rb +371 -0
  1021. data/lib/oci/marketplace_publisher/models/update_listing_revision_package_details.rb +267 -0
  1022. data/lib/oci/marketplace_publisher/models/update_related_document_attachment_details.rb +180 -0
  1023. data/lib/oci/marketplace_publisher/models/update_screen_shot_attachment_details.rb +163 -0
  1024. data/lib/oci/marketplace_publisher/models/update_term_details.rb +173 -0
  1025. data/lib/oci/marketplace_publisher/models/update_term_version_details.rb +187 -0
  1026. data/lib/oci/marketplace_publisher/models/update_video_attachment_details.rb +163 -0
  1027. data/lib/oci/marketplace_publisher/models/upload_data.rb +179 -0
  1028. data/lib/oci/marketplace_publisher/models/validation_status.rb +14 -0
  1029. data/lib/oci/marketplace_publisher/models/version_details.rb +175 -0
  1030. data/lib/oci/marketplace_publisher/models/video_attachment.rb +207 -0
  1031. data/lib/oci/marketplace_publisher/models/work_request.rb +322 -0
  1032. data/lib/oci/marketplace_publisher/models/work_request_error.rb +174 -0
  1033. data/lib/oci/marketplace_publisher/models/work_request_error_collection.rb +151 -0
  1034. data/lib/oci/marketplace_publisher/models/work_request_log_entry.rb +161 -0
  1035. data/lib/oci/marketplace_publisher/models/work_request_log_entry_collection.rb +151 -0
  1036. data/lib/oci/marketplace_publisher/models/work_request_resource.rb +231 -0
  1037. data/lib/oci/marketplace_publisher/models/work_request_resource_metadata_key.rb +12 -0
  1038. data/lib/oci/marketplace_publisher/models/work_request_summary.rb +322 -0
  1039. data/lib/oci/marketplace_publisher/models/work_request_summary_collection.rb +151 -0
  1040. data/lib/oci/marketplace_publisher/util.rb +3 -0
  1041. data/lib/oci/monitoring/models/alarm.rb +25 -18
  1042. data/lib/oci/monitoring/models/alarm_dimension_states_collection.rb +2 -2
  1043. data/lib/oci/monitoring/models/alarm_history_collection.rb +1 -1
  1044. data/lib/oci/monitoring/models/alarm_status_summary.rb +4 -4
  1045. data/lib/oci/monitoring/models/alarm_summary.rb +17 -10
  1046. data/lib/oci/monitoring/models/create_alarm_details.rb +21 -15
  1047. data/lib/oci/monitoring/models/datapoint.rb +1 -0
  1048. data/lib/oci/monitoring/models/list_metrics_details.rb +1 -0
  1049. data/lib/oci/monitoring/models/metric.rb +2 -1
  1050. data/lib/oci/monitoring/models/metric_data.rb +6 -4
  1051. data/lib/oci/monitoring/models/metric_data_details.rb +1 -0
  1052. data/lib/oci/monitoring/models/summarize_metrics_data_details.rb +3 -3
  1053. data/lib/oci/monitoring/models/suppression.rb +2 -1
  1054. data/lib/oci/monitoring/models/update_alarm_details.rb +21 -16
  1055. data/lib/oci/monitoring/monitoring_client.rb +120 -36
  1056. data/lib/oci/mysql/db_system_client.rb +14 -0
  1057. data/lib/oci/mysql/models/create_db_system_details.rb +34 -4
  1058. data/lib/oci/mysql/models/database_management_status.rb +13 -0
  1059. data/lib/oci/mysql/models/db_system.rb +40 -4
  1060. data/lib/oci/mysql/models/db_system_snapshot.rb +40 -4
  1061. data/lib/oci/mysql/models/db_system_summary.rb +40 -4
  1062. data/lib/oci/mysql/models/update_db_system_details.rb +34 -4
  1063. data/lib/oci/mysql/mysql.rb +1 -0
  1064. data/lib/oci/network_firewall/models/action_type.rb +1 -1
  1065. data/lib/oci/network_firewall/models/address_list.rb +222 -0
  1066. data/lib/oci/network_firewall/models/address_list_summary.rb +209 -0
  1067. data/lib/oci/network_firewall/models/address_list_summary_collection.rb +151 -0
  1068. data/lib/oci/network_firewall/models/address_list_type.rb +13 -0
  1069. data/lib/oci/network_firewall/models/app_type.rb +13 -0
  1070. data/lib/oci/network_firewall/models/application.rb +50 -9
  1071. data/lib/oci/network_firewall/models/application_group.rb +190 -0
  1072. data/lib/oci/network_firewall/models/application_group_summary.rb +179 -0
  1073. data/lib/oci/network_firewall/models/application_group_summary_collection.rb +151 -0
  1074. data/lib/oci/network_firewall/models/application_summary.rb +212 -0
  1075. data/lib/oci/network_firewall/models/application_summary_collection.rb +151 -0
  1076. data/lib/oci/network_firewall/models/apply_network_firewall_policy_details.rb +151 -0
  1077. data/lib/oci/network_firewall/models/change_network_firewall_compartment_details.rb +1 -1
  1078. data/lib/oci/network_firewall/models/change_network_firewall_policy_compartment_details.rb +1 -1
  1079. data/lib/oci/network_firewall/models/clone_network_firewall_policy_details.rb +203 -0
  1080. data/lib/oci/network_firewall/models/create_address_list_details.rb +185 -0
  1081. data/lib/oci/network_firewall/models/create_application_details.rb +191 -0
  1082. data/lib/oci/network_firewall/models/create_application_group_details.rb +161 -0
  1083. data/lib/oci/network_firewall/models/create_decryption_profile_details.rb +191 -0
  1084. data/lib/oci/network_firewall/models/create_decryption_rule_details.rb +223 -0
  1085. data/lib/oci/network_firewall/models/create_icmp6_application_details.rb +181 -0
  1086. data/lib/oci/network_firewall/models/create_icmp_application_details.rb +181 -0
  1087. data/lib/oci/network_firewall/models/create_mapped_secret_details.rb +206 -0
  1088. data/lib/oci/network_firewall/models/create_network_firewall_details.rb +6 -4
  1089. data/lib/oci/network_firewall/models/create_network_firewall_policy_details.rb +7 -122
  1090. data/lib/oci/network_firewall/models/create_security_rule_details.rb +231 -0
  1091. data/lib/oci/network_firewall/models/create_service_details.rb +191 -0
  1092. data/lib/oci/network_firewall/models/create_service_list_details.rb +161 -0
  1093. data/lib/oci/network_firewall/models/create_ssl_forward_proxy_profile_details.rb +281 -0
  1094. data/lib/oci/network_firewall/models/create_ssl_inbound_inspection_profile_details.rb +195 -0
  1095. data/lib/oci/network_firewall/models/create_tcp_service_details.rb +168 -0
  1096. data/lib/oci/network_firewall/models/create_udp_service_details.rb +168 -0
  1097. data/lib/oci/network_firewall/models/create_url_list_details.rb +162 -0
  1098. data/lib/oci/network_firewall/models/create_vault_mapped_secret_details.rb +185 -0
  1099. data/lib/oci/network_firewall/models/decryption_action_type.rb +13 -0
  1100. data/lib/oci/network_firewall/models/decryption_profile.rb +29 -5
  1101. data/lib/oci/network_firewall/models/decryption_profile_summary.rb +200 -0
  1102. data/lib/oci/network_firewall/models/decryption_profile_summary_collection.rb +151 -0
  1103. data/lib/oci/network_firewall/models/decryption_rule.rb +28 -5
  1104. data/lib/oci/network_firewall/models/decryption_rule_match_criteria.rb +22 -14
  1105. data/lib/oci/network_firewall/models/decryption_rule_summary.rb +239 -0
  1106. data/lib/oci/network_firewall/models/decryption_rule_summary_collection.rb +151 -0
  1107. data/lib/oci/network_firewall/models/icmp6_application.rb +11 -3
  1108. data/lib/oci/network_firewall/models/icmp6_application_summary.rb +185 -0
  1109. data/lib/oci/network_firewall/models/icmp_application.rb +10 -2
  1110. data/lib/oci/network_firewall/models/icmp_application_summary.rb +185 -0
  1111. data/lib/oci/network_firewall/models/inspection_type.rb +13 -0
  1112. data/lib/oci/network_firewall/models/lifecycle_state.rb +5 -2
  1113. data/lib/oci/network_firewall/models/mapped_secret.rb +48 -6
  1114. data/lib/oci/network_firewall/models/mapped_secret_summary.rb +210 -0
  1115. data/lib/oci/network_firewall/models/mapped_secret_summary_collection.rb +151 -0
  1116. data/lib/oci/network_firewall/models/mapped_secret_type.rb +12 -0
  1117. data/lib/oci/network_firewall/models/network_firewall.rb +15 -9
  1118. data/lib/oci/network_firewall/models/network_firewall_collection.rb +1 -1
  1119. data/lib/oci/network_firewall/models/network_firewall_policy.rb +20 -132
  1120. data/lib/oci/network_firewall/models/network_firewall_policy_summary.rb +9 -4
  1121. data/lib/oci/network_firewall/models/network_firewall_policy_summary_collection.rb +1 -1
  1122. data/lib/oci/network_firewall/models/network_firewall_summary.rb +9 -4
  1123. data/lib/oci/network_firewall/models/operation_status.rb +2 -1
  1124. data/lib/oci/network_firewall/models/operation_type.rb +1 -1
  1125. data/lib/oci/network_firewall/models/{tcp_application.rb → port_range.rb} +5 -12
  1126. data/lib/oci/network_firewall/models/rule_position.rb +169 -0
  1127. data/lib/oci/network_firewall/models/security_rule.rb +28 -5
  1128. data/lib/oci/network_firewall/models/security_rule_match_criteria.rb +44 -26
  1129. data/lib/oci/network_firewall/models/security_rule_summary.rb +253 -0
  1130. data/lib/oci/network_firewall/models/security_rule_summary_collection.rb +151 -0
  1131. data/lib/oci/network_firewall/models/service.rb +213 -0
  1132. data/lib/oci/network_firewall/models/service_list.rb +190 -0
  1133. data/lib/oci/network_firewall/models/service_list_summary.rb +179 -0
  1134. data/lib/oci/network_firewall/models/service_list_summary_collection.rb +151 -0
  1135. data/lib/oci/network_firewall/models/service_summary.rb +195 -0
  1136. data/lib/oci/network_firewall/models/service_summary_collection.rb +151 -0
  1137. data/lib/oci/network_firewall/models/service_type.rb +13 -0
  1138. data/lib/oci/network_firewall/models/simple_url_pattern.rb +5 -27
  1139. data/lib/oci/network_firewall/models/sort_order.rb +1 -1
  1140. data/lib/oci/network_firewall/models/ssl_forward_proxy_profile.rb +19 -11
  1141. data/lib/oci/network_firewall/models/ssl_inbound_inspection_profile.rb +13 -5
  1142. data/lib/oci/network_firewall/models/tcp_service.rb +172 -0
  1143. data/lib/oci/network_firewall/models/traffic_action_type.rb +15 -0
  1144. data/lib/oci/network_firewall/models/traffic_inspection_type.rb +13 -0
  1145. data/lib/oci/network_firewall/models/udp_service.rb +172 -0
  1146. data/lib/oci/network_firewall/models/update_address_list_details.rb +181 -0
  1147. data/lib/oci/network_firewall/models/update_application_details.rb +182 -0
  1148. data/lib/oci/network_firewall/models/update_application_group_details.rb +152 -0
  1149. data/lib/oci/network_firewall/models/update_decryption_profile_details.rb +181 -0
  1150. data/lib/oci/network_firewall/models/update_decryption_rule_details.rb +213 -0
  1151. data/lib/oci/network_firewall/models/update_fqdn_address_list_details.rb +159 -0
  1152. data/lib/oci/network_firewall/models/update_icmp6_application_details.rb +178 -0
  1153. data/lib/oci/network_firewall/models/{udp_application.rb → update_icmp_application_details.rb} +25 -24
  1154. data/lib/oci/network_firewall/models/update_ip_address_list_details.rb +159 -0
  1155. data/lib/oci/network_firewall/models/update_mapped_secret_details.rb +195 -0
  1156. data/lib/oci/network_firewall/models/update_network_firewall_details.rb +6 -4
  1157. data/lib/oci/network_firewall/models/update_network_firewall_policy_details.rb +7 -122
  1158. data/lib/oci/network_firewall/models/update_security_rule_details.rb +221 -0
  1159. data/lib/oci/network_firewall/models/update_service_details.rb +182 -0
  1160. data/lib/oci/network_firewall/models/update_service_list_details.rb +152 -0
  1161. data/lib/oci/network_firewall/models/update_ssl_forward_proxy_profile_details.rb +277 -0
  1162. data/lib/oci/network_firewall/models/update_ssl_inbound_inspection_profile_details.rb +191 -0
  1163. data/lib/oci/network_firewall/models/update_tcp_service_details.rb +164 -0
  1164. data/lib/oci/network_firewall/models/update_udp_service_details.rb +164 -0
  1165. data/lib/oci/network_firewall/models/update_url_list_details.rb +151 -0
  1166. data/lib/oci/network_firewall/models/update_vault_mapped_secret_details.rb +181 -0
  1167. data/lib/oci/network_firewall/models/url_list.rb +192 -0
  1168. data/lib/oci/network_firewall/models/url_list_summary.rb +179 -0
  1169. data/lib/oci/network_firewall/models/url_list_summary_collection.rb +151 -0
  1170. data/lib/oci/network_firewall/models/url_pattern.rb +1 -1
  1171. data/lib/oci/network_firewall/models/vault_mapped_secret.rb +10 -2
  1172. data/lib/oci/network_firewall/models/work_request.rb +2 -1
  1173. data/lib/oci/network_firewall/models/work_request_error.rb +1 -1
  1174. data/lib/oci/network_firewall/models/work_request_error_collection.rb +1 -1
  1175. data/lib/oci/network_firewall/models/work_request_log_entry.rb +1 -1
  1176. data/lib/oci/network_firewall/models/work_request_log_entry_collection.rb +1 -1
  1177. data/lib/oci/network_firewall/models/work_request_resource.rb +1 -1
  1178. data/lib/oci/network_firewall/models/work_request_resource_metadata_key.rb +1 -1
  1179. data/lib/oci/network_firewall/models/work_request_summary.rb +2 -1
  1180. data/lib/oci/network_firewall/models/work_request_summary_collection.rb +1 -1
  1181. data/lib/oci/network_firewall/network_firewall.rb +78 -3
  1182. data/lib/oci/network_firewall/network_firewall_client.rb +4575 -367
  1183. data/lib/oci/network_firewall/network_firewall_client_composite_operations.rb +650 -1
  1184. data/lib/oci/nosql/models/create_replica_details.rb +203 -0
  1185. data/lib/oci/nosql/models/replica.rb +265 -0
  1186. data/lib/oci/nosql/models/table.rb +78 -1
  1187. data/lib/oci/nosql/models/table_collection.rb +18 -4
  1188. data/lib/oci/nosql/models/table_summary.rb +52 -1
  1189. data/lib/oci/nosql/models/table_usage_summary.rb +19 -4
  1190. data/lib/oci/nosql/nosql.rb +2 -0
  1191. data/lib/oci/nosql/nosql_client.rb +140 -0
  1192. data/lib/oci/nosql/nosql_client_composite_operations.rb +100 -0
  1193. data/lib/oci/ocvp/cluster_client.rb +473 -0
  1194. data/lib/oci/ocvp/cluster_client_composite_operations.rb +167 -0
  1195. data/lib/oci/ocvp/esxi_host_client.rb +152 -3
  1196. data/lib/oci/ocvp/esxi_host_client_composite_operations.rb +102 -1
  1197. data/lib/oci/ocvp/models/action_types.rb +1 -1
  1198. data/lib/oci/ocvp/models/change_sddc_compartment_details.rb +1 -1
  1199. data/lib/oci/ocvp/models/cluster.rb +630 -0
  1200. data/lib/oci/ocvp/models/cluster_collection.rb +151 -0
  1201. data/lib/oci/ocvp/models/cluster_summary.rb +449 -0
  1202. data/lib/oci/ocvp/models/commitment.rb +15 -0
  1203. data/lib/oci/ocvp/models/create_cluster_details.rb +439 -0
  1204. data/lib/oci/ocvp/models/create_esxi_host_details.rb +72 -87
  1205. data/lib/oci/ocvp/models/create_sddc_details.rb +46 -379
  1206. data/lib/oci/ocvp/models/{datastore_summary.rb → datastore_details.rb} +2 -2
  1207. data/lib/oci/ocvp/models/datastore_info.rb +12 -5
  1208. data/lib/oci/ocvp/models/datastore_types.rb +1 -1
  1209. data/lib/oci/ocvp/models/downgrade_hcx_details.rb +1 -1
  1210. data/lib/oci/ocvp/models/esxi_host.rb +80 -49
  1211. data/lib/oci/ocvp/models/esxi_host_collection.rb +1 -1
  1212. data/lib/oci/ocvp/models/esxi_host_summary.rb +64 -48
  1213. data/lib/oci/ocvp/models/hcx_license_status.rb +1 -1
  1214. data/lib/oci/ocvp/models/hcx_license_summary.rb +1 -1
  1215. data/lib/oci/ocvp/models/{sku.rb → hcx_modes.rb} +5 -6
  1216. data/lib/oci/ocvp/models/initial_cluster_configuration.rb +395 -0
  1217. data/lib/oci/ocvp/models/initial_configuration.rb +156 -0
  1218. data/lib/oci/ocvp/models/lifecycle_states.rb +1 -1
  1219. data/lib/oci/ocvp/models/network_configuration.rb +411 -0
  1220. data/lib/oci/ocvp/models/operation_status.rb +1 -1
  1221. data/lib/oci/ocvp/models/operation_types.rb +6 -2
  1222. data/lib/oci/ocvp/models/password_types.rb +14 -0
  1223. data/lib/oci/ocvp/models/replace_host_details.rb +160 -0
  1224. data/lib/oci/ocvp/models/sddc.rb +71 -576
  1225. data/lib/oci/ocvp/models/sddc_collection.rb +1 -1
  1226. data/lib/oci/ocvp/models/sddc_password.rb +186 -0
  1227. data/lib/oci/ocvp/models/sddc_summary.rb +41 -83
  1228. data/lib/oci/ocvp/models/sort_orders.rb +1 -1
  1229. data/lib/oci/ocvp/models/{supported_sku_summary.rb → supported_commitment_summary.rb} +4 -4
  1230. data/lib/oci/ocvp/models/supported_commitment_summary_collection.rb +152 -0
  1231. data/lib/oci/ocvp/models/supported_esxi_software_version_summary.rb +178 -0
  1232. data/lib/oci/ocvp/models/supported_host_shape_collection.rb +1 -1
  1233. data/lib/oci/ocvp/models/supported_host_shape_summary.rb +27 -49
  1234. data/lib/oci/ocvp/models/supported_vmware_software_version_collection.rb +1 -1
  1235. data/lib/oci/ocvp/models/supported_vmware_software_version_summary.rb +20 -5
  1236. data/lib/oci/ocvp/models/update_cluster_details.rb +248 -0
  1237. data/lib/oci/ocvp/models/update_esxi_host_details.rb +22 -22
  1238. data/lib/oci/ocvp/models/update_sddc_details.rb +22 -165
  1239. data/lib/oci/ocvp/models/vsphere_license.rb +1 -1
  1240. data/lib/oci/ocvp/models/{sddc_types.rb → vsphere_types.rb} +4 -4
  1241. data/lib/oci/ocvp/models/vsphere_upgrade_object.rb +1 -1
  1242. data/lib/oci/ocvp/models/work_request.rb +5 -1
  1243. data/lib/oci/ocvp/models/work_request_collection.rb +1 -1
  1244. data/lib/oci/ocvp/models/work_request_error.rb +1 -1
  1245. data/lib/oci/ocvp/models/work_request_error_collection.rb +1 -1
  1246. data/lib/oci/ocvp/models/work_request_log_entry.rb +1 -1
  1247. data/lib/oci/ocvp/models/work_request_log_entry_collection.rb +1 -1
  1248. data/lib/oci/ocvp/models/work_request_resource.rb +1 -1
  1249. data/lib/oci/ocvp/ocvp.rb +21 -6
  1250. data/lib/oci/ocvp/sddc_client.rb +114 -31
  1251. data/lib/oci/ocvp/sddc_client_composite_operations.rb +1 -1
  1252. data/lib/oci/ocvp/work_request_client.rb +3 -3
  1253. data/lib/oci/ocvp/work_request_client_composite_operations.rb +1 -1
  1254. data/lib/oci/onesubscription/models/commitment.rb +1 -0
  1255. data/lib/oci/opsi/models/archival_state.rb +14 -0
  1256. data/lib/oci/opsi/models/awr_hub_objects.rb +155 -0
  1257. data/lib/oci/opsi/models/awr_hub_source.rb +531 -0
  1258. data/lib/oci/opsi/models/awr_hub_source_lifecycle_state.rb +17 -0
  1259. data/lib/oci/opsi/models/awr_hub_source_status.rb +15 -0
  1260. data/lib/oci/opsi/models/awr_hub_source_summary.rb +531 -0
  1261. data/lib/oci/opsi/models/awr_hub_source_summary_collection.rb +151 -0
  1262. data/lib/oci/opsi/models/awr_hub_source_type.rb +27 -0
  1263. data/lib/oci/opsi/models/awr_hub_sources.rb +155 -0
  1264. data/lib/oci/opsi/models/change_awr_hub_source_compartment_details.rb +156 -0
  1265. data/lib/oci/opsi/models/change_operations_insights_warehouse_compartment_details.rb +155 -0
  1266. data/lib/oci/opsi/models/create_awr_hub_details.rb +1 -1
  1267. data/lib/oci/opsi/models/create_awr_hub_source_details.rb +276 -0
  1268. data/lib/oci/opsi/models/list_objects.rb +175 -0
  1269. data/lib/oci/opsi/models/object_summary.rb +279 -0
  1270. data/lib/oci/opsi/models/operation_type.rb +7 -1
  1271. data/lib/oci/opsi/models/storage_tier.rb +14 -0
  1272. data/lib/oci/opsi/models/update_awr_hub_source_details.rb +210 -0
  1273. data/lib/oci/opsi/models/work_request.rb +6 -0
  1274. data/lib/oci/opsi/operations_insights_client.rb +1197 -156
  1275. data/lib/oci/opsi/operations_insights_client_composite_operations.rb +346 -0
  1276. data/lib/oci/opsi/opsi.rb +16 -0
  1277. data/lib/oci/osub_subscription/models/commitment.rb +1 -0
  1278. data/lib/oci/psql/models/action_type.rb +17 -0
  1279. data/lib/oci/psql/models/backup.rb +433 -0
  1280. data/lib/oci/psql/models/backup_collection.rb +151 -0
  1281. data/lib/oci/psql/models/backup_policy.rb +206 -0
  1282. data/lib/oci/psql/models/backup_source_details.rb +180 -0
  1283. data/lib/oci/psql/models/backup_summary.rb +340 -0
  1284. data/lib/oci/psql/models/change_backup_compartment_details.rb +157 -0
  1285. data/lib/oci/psql/models/change_configuration_compartment_details.rb +157 -0
  1286. data/lib/oci/psql/models/change_db_system_compartment_details.rb +157 -0
  1287. data/lib/oci/psql/models/config_overrides.rb +169 -0
  1288. data/lib/oci/psql/models/config_params.rb +251 -0
  1289. data/lib/oci/psql/models/configuration.rb +369 -0
  1290. data/lib/oci/psql/models/configuration_collection.rb +151 -0
  1291. data/lib/oci/psql/models/configuration_details.rb +151 -0
  1292. data/lib/oci/psql/models/configuration_summary.rb +323 -0
  1293. data/lib/oci/psql/models/connection_details.rb +188 -0
  1294. data/lib/oci/psql/models/create_backup_details.rb +239 -0
  1295. data/lib/oci/psql/models/create_configuration_details.rb +295 -0
  1296. data/lib/oci/psql/models/create_db_instance_details.rb +181 -0
  1297. data/lib/oci/psql/models/create_db_system_details.rb +381 -0
  1298. data/lib/oci/psql/models/credentials.rb +167 -0
  1299. data/lib/oci/psql/models/daily_backup_policy.rb +167 -0
  1300. data/lib/oci/psql/models/db_configuration_override_collection.rb +151 -0
  1301. data/lib/oci/psql/models/db_instance.rb +270 -0
  1302. data/lib/oci/psql/models/db_instance_endpoint.rb +165 -0
  1303. data/lib/oci/psql/models/db_system.rb +506 -0
  1304. data/lib/oci/psql/models/db_system_collection.rb +151 -0
  1305. data/lib/oci/psql/models/db_system_details.rb +169 -0
  1306. data/lib/oci/psql/models/db_system_summary.rb +378 -0
  1307. data/lib/oci/psql/models/default_config_params.rb +237 -0
  1308. data/lib/oci/psql/models/default_configuration.rb +308 -0
  1309. data/lib/oci/psql/models/default_configuration_collection.rb +151 -0
  1310. data/lib/oci/psql/models/default_configuration_details.rb +151 -0
  1311. data/lib/oci/psql/models/default_configuration_summary.rb +261 -0
  1312. data/lib/oci/psql/models/endpoint.rb +176 -0
  1313. data/lib/oci/psql/models/failover_db_system_details.rb +169 -0
  1314. data/lib/oci/psql/models/management_policy.rb +170 -0
  1315. data/lib/oci/psql/models/management_policy_details.rb +169 -0
  1316. data/lib/oci/psql/models/monthly_backup_policy.rb +183 -0
  1317. data/lib/oci/psql/models/network_details.rb +185 -0
  1318. data/lib/oci/psql/models/none_backup_policy.rb +150 -0
  1319. data/lib/oci/psql/models/none_source_details.rb +147 -0
  1320. data/lib/oci/psql/models/oci_optimized_storage_details.rb +167 -0
  1321. data/lib/oci/psql/models/operation_status.rb +18 -0
  1322. data/lib/oci/psql/models/operation_type.rb +19 -0
  1323. data/lib/oci/psql/models/password_details.rb +187 -0
  1324. data/lib/oci/psql/models/patch_db_system_details.rb +154 -0
  1325. data/lib/oci/psql/models/patch_insert_instruction.rb +204 -0
  1326. data/lib/oci/psql/models/patch_instruction.rb +204 -0
  1327. data/lib/oci/psql/models/patch_merge_instruction.rb +170 -0
  1328. data/lib/oci/psql/models/patch_move_instruction.rb +195 -0
  1329. data/lib/oci/psql/models/patch_prohibit_instruction.rb +170 -0
  1330. data/lib/oci/psql/models/patch_remove_instruction.rb +152 -0
  1331. data/lib/oci/psql/models/patch_replace_instruction.rb +167 -0
  1332. data/lib/oci/psql/models/patch_require_instruction.rb +169 -0
  1333. data/lib/oci/psql/models/plain_text_password_details.rb +159 -0
  1334. data/lib/oci/psql/models/primary_db_instance_details.rb +155 -0
  1335. data/lib/oci/psql/models/reset_master_user_password_details.rb +157 -0
  1336. data/lib/oci/psql/models/restart_db_instance_in_db_system_details.rb +184 -0
  1337. data/lib/oci/psql/models/restore_db_system_details.rb +167 -0
  1338. data/lib/oci/psql/models/shape_collection.rb +151 -0
  1339. data/lib/oci/psql/models/shape_summary.rb +190 -0
  1340. data/lib/oci/psql/models/sort_order.rb +13 -0
  1341. data/lib/oci/psql/models/source_details.rb +193 -0
  1342. data/lib/oci/psql/models/storage_details.rb +208 -0
  1343. data/lib/oci/psql/models/update_backup_details.rb +211 -0
  1344. data/lib/oci/psql/models/update_configuration_details.rb +165 -0
  1345. data/lib/oci/psql/models/update_db_config_params.rb +186 -0
  1346. data/lib/oci/psql/models/update_db_system_db_instance_details.rb +165 -0
  1347. data/lib/oci/psql/models/update_db_system_details.rb +236 -0
  1348. data/lib/oci/psql/models/update_storage_details_params.rb +153 -0
  1349. data/lib/oci/psql/models/vault_secret_password_details.rb +177 -0
  1350. data/lib/oci/psql/models/weekly_backup_policy.rb +213 -0
  1351. data/lib/oci/psql/models/work_request.rb +311 -0
  1352. data/lib/oci/psql/models/work_request_error.rb +174 -0
  1353. data/lib/oci/psql/models/work_request_error_collection.rb +151 -0
  1354. data/lib/oci/psql/models/work_request_log_entry.rb +161 -0
  1355. data/lib/oci/psql/models/work_request_log_entry_collection.rb +151 -0
  1356. data/lib/oci/psql/models/work_request_resource.rb +228 -0
  1357. data/lib/oci/psql/models/work_request_resource_metadata_key.rb +12 -0
  1358. data/lib/oci/psql/models/work_request_summary.rb +311 -0
  1359. data/lib/oci/psql/models/work_request_summary_collection.rb +151 -0
  1360. data/lib/oci/psql/postgresql_client.rb +2223 -0
  1361. data/lib/oci/psql/postgresql_client_composite_operations.rb +873 -0
  1362. data/lib/oci/psql/psql.rb +104 -0
  1363. data/lib/oci/psql/util.rb +3 -0
  1364. data/lib/oci/redis/models/action_type.rb +17 -0
  1365. data/lib/oci/redis/models/change_redis_cluster_compartment_details.rb +157 -0
  1366. data/lib/oci/redis/models/create_redis_cluster_details.rb +257 -0
  1367. data/lib/oci/redis/models/node.rb +184 -0
  1368. data/lib/oci/redis/models/node_collection.rb +151 -0
  1369. data/lib/oci/redis/models/operation_status.rb +19 -0
  1370. data/lib/oci/redis/models/operation_type.rb +20 -0
  1371. data/lib/oci/redis/models/redis_cluster.rb +451 -0
  1372. data/lib/oci/redis/models/redis_cluster_collection.rb +151 -0
  1373. data/lib/oci/redis/models/redis_cluster_summary.rb +396 -0
  1374. data/lib/oci/redis/models/sort_order.rb +13 -0
  1375. data/lib/oci/redis/models/update_redis_cluster_details.rb +215 -0
  1376. data/lib/oci/redis/models/work_request.rb +311 -0
  1377. data/lib/oci/redis/models/work_request_error.rb +173 -0
  1378. data/lib/oci/redis/models/work_request_error_collection.rb +151 -0
  1379. data/lib/oci/redis/models/work_request_log_entry.rb +161 -0
  1380. data/lib/oci/redis/models/work_request_log_entry_collection.rb +151 -0
  1381. data/lib/oci/redis/models/work_request_resource.rb +221 -0
  1382. data/lib/oci/redis/models/work_request_summary.rb +343 -0
  1383. data/lib/oci/{ocvp/models/supported_sku_summary_collection.rb → redis/models/work_request_summary_collection.rb} +7 -8
  1384. data/lib/oci/redis/redis.rb +42 -0
  1385. data/lib/oci/redis/redis_cluster_client.rb +839 -0
  1386. data/lib/oci/redis/redis_cluster_client_composite_operations.rb +225 -0
  1387. data/lib/oci/redis/util.rb +3 -0
  1388. data/lib/oci/regions_definitions.rb +15 -4
  1389. data/lib/oci/stack_monitoring/models/anomaly_data_point.rb +191 -0
  1390. data/lib/oci/stack_monitoring/models/anomaly_metric_data.rb +165 -0
  1391. data/lib/oci/stack_monitoring/models/associated_monitored_resource.rb +30 -1
  1392. data/lib/oci/stack_monitoring/models/associated_resources_summary.rb +30 -1
  1393. data/lib/oci/stack_monitoring/models/baselineable_metric.rb +375 -0
  1394. data/lib/oci/stack_monitoring/models/baselineable_metric_life_cycle_states.rb +13 -0
  1395. data/lib/oci/stack_monitoring/models/baselineable_metric_summary.rb +319 -0
  1396. data/lib/oci/stack_monitoring/models/baselineable_metric_summary_collection.rb +151 -0
  1397. data/lib/oci/stack_monitoring/models/change_metric_extension_compartment_details.rb +157 -0
  1398. data/lib/oci/stack_monitoring/models/change_monitored_resource_task_compartment_details.rb +157 -0
  1399. data/lib/oci/stack_monitoring/models/config.rb +4 -0
  1400. data/lib/oci/stack_monitoring/models/config_summary.rb +2 -0
  1401. data/lib/oci/stack_monitoring/models/create_baselineable_metric_details.rb +199 -0
  1402. data/lib/oci/stack_monitoring/models/create_config_details.rb +2 -0
  1403. data/lib/oci/stack_monitoring/models/create_license_auto_assign_config_details.rb +189 -0
  1404. data/lib/oci/stack_monitoring/models/create_license_enterprise_extensibility_config_details.rb +180 -0
  1405. data/lib/oci/stack_monitoring/models/create_metric_extension_details.rb +245 -0
  1406. data/lib/oci/stack_monitoring/models/create_monitored_resource_details.rb +26 -1
  1407. data/lib/oci/stack_monitoring/models/create_monitored_resource_task_details.rb +214 -0
  1408. data/lib/oci/stack_monitoring/models/create_monitored_resource_type_details.rb +250 -0
  1409. data/lib/oci/stack_monitoring/models/data_point.rb +161 -0
  1410. data/lib/oci/stack_monitoring/models/disable_metric_extension_details.rb +155 -0
  1411. data/lib/oci/stack_monitoring/models/discovery_details.rb +30 -1
  1412. data/lib/oci/stack_monitoring/models/discovery_job_summary.rb +30 -1
  1413. data/lib/oci/stack_monitoring/models/enable_metric_extension_details.rb +155 -0
  1414. data/lib/oci/stack_monitoring/models/enabled_resource_details.rb +155 -0
  1415. data/lib/oci/stack_monitoring/models/evaluate_baselineable_metric_details.rb +165 -0
  1416. data/lib/oci/stack_monitoring/models/evaluate_baselineable_metric_result.rb +165 -0
  1417. data/lib/oci/stack_monitoring/models/import_oci_telemetry_resources_task_details.rb +245 -0
  1418. data/lib/oci/stack_monitoring/models/jmx_query_properties.rb +221 -0
  1419. data/lib/oci/stack_monitoring/models/jmx_update_query_properties.rb +221 -0
  1420. data/lib/oci/stack_monitoring/models/license_auto_assign_config_details.rb +217 -0
  1421. data/lib/oci/stack_monitoring/models/license_auto_assign_config_summary.rb +216 -0
  1422. data/lib/oci/stack_monitoring/models/license_enterprise_extensibility_config_details.rb +201 -0
  1423. data/lib/oci/stack_monitoring/models/license_enterprise_extensibility_config_summary.rb +200 -0
  1424. data/lib/oci/stack_monitoring/models/license_type.rb +13 -0
  1425. data/lib/oci/stack_monitoring/models/manage_license_details.rb +165 -0
  1426. data/lib/oci/stack_monitoring/models/metric.rb +290 -0
  1427. data/lib/oci/stack_monitoring/models/metric_data.rb +179 -0
  1428. data/lib/oci/stack_monitoring/models/metric_extension.rb +444 -0
  1429. data/lib/oci/stack_monitoring/models/metric_extension_collection.rb +151 -0
  1430. data/lib/oci/stack_monitoring/models/metric_extension_collection_methods.rb +14 -0
  1431. data/lib/oci/stack_monitoring/models/metric_extension_life_cycle_details.rb +13 -0
  1432. data/lib/oci/stack_monitoring/models/metric_extension_life_cycle_states.rb +13 -0
  1433. data/lib/oci/stack_monitoring/models/metric_extension_query_properties.rb +194 -0
  1434. data/lib/oci/stack_monitoring/models/metric_extension_sort_by.rb +13 -0
  1435. data/lib/oci/stack_monitoring/models/metric_extension_summary.rb +366 -0
  1436. data/lib/oci/stack_monitoring/models/metric_extension_update_query_properties.rb +187 -0
  1437. data/lib/oci/stack_monitoring/models/monitored_resource.rb +30 -1
  1438. data/lib/oci/stack_monitoring/models/monitored_resource_member_summary.rb +30 -1
  1439. data/lib/oci/stack_monitoring/models/monitored_resource_sort_by.rb +13 -0
  1440. data/lib/oci/stack_monitoring/models/monitored_resource_summary.rb +44 -1
  1441. data/lib/oci/stack_monitoring/models/monitored_resource_task.rb +340 -0
  1442. data/lib/oci/stack_monitoring/models/monitored_resource_task_details.rb +186 -0
  1443. data/lib/oci/stack_monitoring/models/monitored_resource_task_lifecycle_state.rb +19 -0
  1444. data/lib/oci/stack_monitoring/models/monitored_resource_task_summary.rb +311 -0
  1445. data/lib/oci/stack_monitoring/models/monitored_resource_tasks_collection.rb +151 -0
  1446. data/lib/oci/stack_monitoring/models/monitored_resource_type.rb +346 -0
  1447. data/lib/oci/stack_monitoring/models/monitored_resource_type_summary.rb +345 -0
  1448. data/lib/oci/stack_monitoring/models/monitored_resource_types_collection.rb +151 -0
  1449. data/lib/oci/stack_monitoring/models/monitored_resources_count_aggregation.rb +166 -0
  1450. data/lib/oci/stack_monitoring/models/monitored_resources_count_aggregation_collection.rb +151 -0
  1451. data/lib/oci/stack_monitoring/models/operation_type.rb +5 -1
  1452. data/lib/oci/stack_monitoring/models/os_command_query_properties.rb +206 -0
  1453. data/lib/oci/stack_monitoring/models/os_command_update_query_properties.rb +206 -0
  1454. data/lib/oci/stack_monitoring/models/resource_type_lifecycle_state.rb +17 -0
  1455. data/lib/oci/stack_monitoring/models/resource_type_metadata_details.rb +189 -0
  1456. data/lib/oci/stack_monitoring/models/script_file_details.rb +161 -0
  1457. data/lib/oci/stack_monitoring/models/search_monitored_resources_details.rb +24 -1
  1458. data/lib/oci/stack_monitoring/models/sql_details.rb +165 -0
  1459. data/lib/oci/stack_monitoring/models/sql_in_param_details.rb +169 -0
  1460. data/lib/oci/stack_monitoring/models/sql_out_param_details.rb +189 -0
  1461. data/lib/oci/stack_monitoring/models/sql_out_param_types.rb +13 -0
  1462. data/lib/oci/stack_monitoring/models/sql_query_properties.rb +224 -0
  1463. data/lib/oci/stack_monitoring/models/sql_query_types.rb +13 -0
  1464. data/lib/oci/stack_monitoring/models/sql_update_query_properties.rb +216 -0
  1465. data/lib/oci/stack_monitoring/models/system_format_resource_type_metadata_details.rb +251 -0
  1466. data/lib/oci/stack_monitoring/models/test_metric_extension_data.rb +197 -0
  1467. data/lib/oci/stack_monitoring/models/test_metric_extension_details.rb +155 -0
  1468. data/lib/oci/stack_monitoring/models/unique_property_set.rb +151 -0
  1469. data/lib/oci/stack_monitoring/models/update_baselineable_metric_details.rb +309 -0
  1470. data/lib/oci/stack_monitoring/models/update_config_details.rb +2 -0
  1471. data/lib/oci/stack_monitoring/models/update_license_auto_assign_config_details.rb +185 -0
  1472. data/lib/oci/stack_monitoring/models/update_license_enterprise_extensibility_config_details.rb +176 -0
  1473. data/lib/oci/stack_monitoring/models/update_metric_extension_details.rb +206 -0
  1474. data/lib/oci/stack_monitoring/models/update_monitored_resource_task_details.rb +173 -0
  1475. data/lib/oci/stack_monitoring/models/update_monitored_resource_type_details.rb +220 -0
  1476. data/lib/oci/stack_monitoring/models/work_request.rb +4 -0
  1477. data/lib/oci/stack_monitoring/models/work_request_summary.rb +4 -0
  1478. data/lib/oci/stack_monitoring/stack_monitoring.rb +73 -0
  1479. data/lib/oci/stack_monitoring/stack_monitoring_client.rb +2942 -717
  1480. data/lib/oci/stack_monitoring/stack_monitoring_client_composite_operations.rb +651 -16
  1481. data/lib/oci/tenant_manager_control_plane/models/sku.rb +0 -1
  1482. data/lib/oci/version.rb +1 -1
  1483. data/lib/oci/vn_monitoring/models/capture_filter.rb +20 -4
  1484. data/lib/oci/vn_monitoring/models/create_capture_filter_details.rb +21 -5
  1485. data/lib/oci/vn_monitoring/models/flow_log_capture_filter_rule_details.rb +334 -0
  1486. data/lib/oci/vn_monitoring/models/service.rb +1 -0
  1487. data/lib/oci/vn_monitoring/models/update_capture_filter_details.rb +16 -1
  1488. data/lib/oci/vn_monitoring/vn_monitoring.rb +1 -0
  1489. data/lib/oci.rb +4 -0
  1490. metadata +929 -9
@@ -100,8 +100,8 @@ module OCI
100
100
  # rubocop:disable Metrics/MethodLength, Layout/EmptyLines
101
101
 
102
102
 
103
- # Cancel work request with the given ID.
104
- # @param [String] work_request_id The Oracle Cloud Identifier ([OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm)) of the asynchronous request.
103
+ # Activates the specified Remediation Recipe.
104
+ # @param [String] remediation_recipe_id The Oracle Cloud Identifier ([OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm)) of a Remediation Recipe, as a URL path parameter.
105
105
  # @param [Hash] opts the optional parameters
106
106
  # @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
107
107
  # retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
@@ -113,14 +113,14 @@ module OCI
113
113
  #
114
114
  # @option opts [String] :opc_request_id The client request ID for tracing.
115
115
  # @return [Response] A Response object with data of type nil
116
- # @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/adm/cancel_work_request.rb.html) to see an example of how to use cancel_work_request API.
117
- def cancel_work_request(work_request_id, opts = {})
118
- logger.debug 'Calling operation ApplicationDependencyManagementClient#cancel_work_request.' if logger
116
+ # @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/adm/activate_remediation_recipe.rb.html) to see an example of how to use activate_remediation_recipe API.
117
+ def activate_remediation_recipe(remediation_recipe_id, opts = {})
118
+ logger.debug 'Calling operation ApplicationDependencyManagementClient#activate_remediation_recipe.' if logger
119
119
 
120
- raise "Missing the required parameter 'work_request_id' when calling cancel_work_request." if work_request_id.nil?
121
- raise "Parameter value for 'work_request_id' must not be blank" if OCI::Internal::Util.blank_string?(work_request_id)
120
+ raise "Missing the required parameter 'remediation_recipe_id' when calling activate_remediation_recipe." if remediation_recipe_id.nil?
121
+ raise "Parameter value for 'remediation_recipe_id' must not be blank" if OCI::Internal::Util.blank_string?(remediation_recipe_id)
122
122
 
123
- path = '/workRequests/{workRequestId}'.sub('{workRequestId}', work_request_id.to_s)
123
+ path = '/remediationRecipes/{remediationRecipeId}/actions/activate'.sub('{remediationRecipeId}', remediation_recipe_id.to_s)
124
124
  operation_signing_strategy = :standard
125
125
 
126
126
  # rubocop:disable Style/NegatedIf
@@ -138,9 +138,9 @@ module OCI
138
138
  post_body = nil
139
139
 
140
140
  # rubocop:disable Metrics/BlockLength
141
- OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'ApplicationDependencyManagementClient#cancel_work_request') do
141
+ OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'ApplicationDependencyManagementClient#activate_remediation_recipe') do
142
142
  @api_client.call_api(
143
- :DELETE,
143
+ :POST,
144
144
  path,
145
145
  endpoint,
146
146
  header_params: header_params,
@@ -160,9 +160,8 @@ module OCI
160
160
  # rubocop:disable Metrics/MethodLength, Layout/EmptyLines
161
161
 
162
162
 
163
- # Moves a Knowledge Base from one compartment to another.
164
- # @param [String] knowledge_base_id The Oracle Cloud Identifier ([OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm)) of a Knowledge Base, as a URL path parameter.
165
- # @param [OCI::Adm::Models::ChangeKnowledgeBaseCompartmentDetails] change_knowledge_base_compartment_details The information to be updated.
163
+ # Cancels the specified remediation run.
164
+ # @param [String] remediation_run_id Unique Remediation Run identifier path parameter.
166
165
  # @param [Hash] opts the optional parameters
167
166
  # @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
168
167
  # retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
@@ -179,16 +178,15 @@ module OCI
179
178
  # has been deleted and purged from the system, then a retry of the original creation request
180
179
  # might be rejected.
181
180
  #
182
- # @return [Response] A Response object with data of type nil
183
- # @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/adm/change_knowledge_base_compartment.rb.html) to see an example of how to use change_knowledge_base_compartment API.
184
- def change_knowledge_base_compartment(knowledge_base_id, change_knowledge_base_compartment_details, opts = {})
185
- logger.debug 'Calling operation ApplicationDependencyManagementClient#change_knowledge_base_compartment.' if logger
181
+ # @return [Response] A Response object with data of type {OCI::Adm::Models::RemediationRun RemediationRun}
182
+ # @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/adm/cancel_remediation_run.rb.html) to see an example of how to use cancel_remediation_run API.
183
+ def cancel_remediation_run(remediation_run_id, opts = {})
184
+ logger.debug 'Calling operation ApplicationDependencyManagementClient#cancel_remediation_run.' if logger
186
185
 
187
- raise "Missing the required parameter 'knowledge_base_id' when calling change_knowledge_base_compartment." if knowledge_base_id.nil?
188
- raise "Missing the required parameter 'change_knowledge_base_compartment_details' when calling change_knowledge_base_compartment." if change_knowledge_base_compartment_details.nil?
189
- raise "Parameter value for 'knowledge_base_id' must not be blank" if OCI::Internal::Util.blank_string?(knowledge_base_id)
186
+ raise "Missing the required parameter 'remediation_run_id' when calling cancel_remediation_run." if remediation_run_id.nil?
187
+ raise "Parameter value for 'remediation_run_id' must not be blank" if OCI::Internal::Util.blank_string?(remediation_run_id)
190
188
 
191
- path = '/knowledgeBases/{knowledgeBaseId}/actions/changeCompartment'.sub('{knowledgeBaseId}', knowledge_base_id.to_s)
189
+ path = '/remediationRuns/{remediationRunId}/actions/cancel'.sub('{remediationRunId}', remediation_run_id.to_s)
192
190
  operation_signing_strategy = :standard
193
191
 
194
192
  # rubocop:disable Style/NegatedIf
@@ -205,10 +203,10 @@ module OCI
205
203
  # rubocop:enable Style/NegatedIf
206
204
  header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token
207
205
 
208
- post_body = @api_client.object_to_http_body(change_knowledge_base_compartment_details)
206
+ post_body = nil
209
207
 
210
208
  # rubocop:disable Metrics/BlockLength
211
- OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'ApplicationDependencyManagementClient#change_knowledge_base_compartment') do
209
+ OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'ApplicationDependencyManagementClient#cancel_remediation_run') do
212
210
  @api_client.call_api(
213
211
  :POST,
214
212
  path,
@@ -216,6 +214,67 @@ module OCI
216
214
  header_params: header_params,
217
215
  query_params: query_params,
218
216
  operation_signing_strategy: operation_signing_strategy,
217
+ body: post_body,
218
+ return_type: 'OCI::Adm::Models::RemediationRun'
219
+ )
220
+ end
221
+ # rubocop:enable Metrics/BlockLength
222
+ end
223
+ # rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
224
+ # rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
225
+ # rubocop:enable Metrics/MethodLength, Layout/EmptyLines
226
+
227
+ # rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
228
+ # rubocop:disable Style/IfUnlessModifier, Metrics/ParameterLists
229
+ # rubocop:disable Metrics/MethodLength, Layout/EmptyLines
230
+
231
+
232
+ # Cancel work request with the given ID.
233
+ # @param [String] work_request_id The Oracle Cloud Identifier ([OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm)) of the asynchronous request.
234
+ # @param [Hash] opts the optional parameters
235
+ # @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
236
+ # retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
237
+ # @option opts [String] :if_match For optimistic concurrency control. In the PUT or DELETE call
238
+ # for a resource, set the `if-match` parameter to the value of the
239
+ # etag from a previous GET or POST response for that resource.
240
+ # The resource will be updated or deleted only if the etag you
241
+ # provide matches the resource's current etag value.
242
+ #
243
+ # @option opts [String] :opc_request_id The client request ID for tracing.
244
+ # @return [Response] A Response object with data of type nil
245
+ # @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/adm/cancel_work_request.rb.html) to see an example of how to use cancel_work_request API.
246
+ def cancel_work_request(work_request_id, opts = {})
247
+ logger.debug 'Calling operation ApplicationDependencyManagementClient#cancel_work_request.' if logger
248
+
249
+ raise "Missing the required parameter 'work_request_id' when calling cancel_work_request." if work_request_id.nil?
250
+ raise "Parameter value for 'work_request_id' must not be blank" if OCI::Internal::Util.blank_string?(work_request_id)
251
+
252
+ path = '/workRequests/{workRequestId}'.sub('{workRequestId}', work_request_id.to_s)
253
+ operation_signing_strategy = :standard
254
+
255
+ # rubocop:disable Style/NegatedIf
256
+ # Query Params
257
+ query_params = {}
258
+
259
+ # Header Params
260
+ header_params = {}
261
+ header_params[:accept] = 'application/json'
262
+ header_params[:'content-type'] = 'application/json'
263
+ header_params[:'if-match'] = opts[:if_match] if opts[:if_match]
264
+ header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
265
+ # rubocop:enable Style/NegatedIf
266
+
267
+ post_body = nil
268
+
269
+ # rubocop:disable Metrics/BlockLength
270
+ OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'ApplicationDependencyManagementClient#cancel_work_request') do
271
+ @api_client.call_api(
272
+ :DELETE,
273
+ path,
274
+ endpoint,
275
+ header_params: header_params,
276
+ query_params: query_params,
277
+ operation_signing_strategy: operation_signing_strategy,
219
278
  body: post_body
220
279
  )
221
280
  end
@@ -230,9 +289,9 @@ module OCI
230
289
  # rubocop:disable Metrics/MethodLength, Layout/EmptyLines
231
290
 
232
291
 
233
- # Moves a Vulnerability Audit from one compartment to another.
234
- # @param [String] vulnerability_audit_id Unique Vulnerability Audit identifier path parameter.
235
- # @param [OCI::Adm::Models::ChangeVulnerabilityAuditCompartmentDetails] change_vulnerability_audit_compartment_details The information to be updated.
292
+ # Moves a Knowledge Base from one compartment to another.
293
+ # @param [String] knowledge_base_id The Oracle Cloud Identifier ([OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm)) of a Knowledge Base, as a URL path parameter.
294
+ # @param [OCI::Adm::Models::ChangeKnowledgeBaseCompartmentDetails] change_knowledge_base_compartment_details The information to be updated.
236
295
  # @param [Hash] opts the optional parameters
237
296
  # @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
238
297
  # retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
@@ -250,15 +309,15 @@ module OCI
250
309
  # might be rejected.
251
310
  #
252
311
  # @return [Response] A Response object with data of type nil
253
- # @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/adm/change_vulnerability_audit_compartment.rb.html) to see an example of how to use change_vulnerability_audit_compartment API.
254
- def change_vulnerability_audit_compartment(vulnerability_audit_id, change_vulnerability_audit_compartment_details, opts = {})
255
- logger.debug 'Calling operation ApplicationDependencyManagementClient#change_vulnerability_audit_compartment.' if logger
312
+ # @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/adm/change_knowledge_base_compartment.rb.html) to see an example of how to use change_knowledge_base_compartment API.
313
+ def change_knowledge_base_compartment(knowledge_base_id, change_knowledge_base_compartment_details, opts = {})
314
+ logger.debug 'Calling operation ApplicationDependencyManagementClient#change_knowledge_base_compartment.' if logger
256
315
 
257
- raise "Missing the required parameter 'vulnerability_audit_id' when calling change_vulnerability_audit_compartment." if vulnerability_audit_id.nil?
258
- raise "Missing the required parameter 'change_vulnerability_audit_compartment_details' when calling change_vulnerability_audit_compartment." if change_vulnerability_audit_compartment_details.nil?
259
- raise "Parameter value for 'vulnerability_audit_id' must not be blank" if OCI::Internal::Util.blank_string?(vulnerability_audit_id)
316
+ raise "Missing the required parameter 'knowledge_base_id' when calling change_knowledge_base_compartment." if knowledge_base_id.nil?
317
+ raise "Missing the required parameter 'change_knowledge_base_compartment_details' when calling change_knowledge_base_compartment." if change_knowledge_base_compartment_details.nil?
318
+ raise "Parameter value for 'knowledge_base_id' must not be blank" if OCI::Internal::Util.blank_string?(knowledge_base_id)
260
319
 
261
- path = '/vulnerabilityAudits/{vulnerabilityAuditId}/actions/changeCompartment'.sub('{vulnerabilityAuditId}', vulnerability_audit_id.to_s)
320
+ path = '/knowledgeBases/{knowledgeBaseId}/actions/changeCompartment'.sub('{knowledgeBaseId}', knowledge_base_id.to_s)
262
321
  operation_signing_strategy = :standard
263
322
 
264
323
  # rubocop:disable Style/NegatedIf
@@ -275,10 +334,10 @@ module OCI
275
334
  # rubocop:enable Style/NegatedIf
276
335
  header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token
277
336
 
278
- post_body = @api_client.object_to_http_body(change_vulnerability_audit_compartment_details)
337
+ post_body = @api_client.object_to_http_body(change_knowledge_base_compartment_details)
279
338
 
280
339
  # rubocop:disable Metrics/BlockLength
281
- OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'ApplicationDependencyManagementClient#change_vulnerability_audit_compartment') do
340
+ OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'ApplicationDependencyManagementClient#change_knowledge_base_compartment') do
282
341
  @api_client.call_api(
283
342
  :POST,
284
343
  path,
@@ -300,11 +359,18 @@ module OCI
300
359
  # rubocop:disable Metrics/MethodLength, Layout/EmptyLines
301
360
 
302
361
 
303
- # Creates a new Knowledge Base.
304
- # @param [OCI::Adm::Models::CreateKnowledgeBaseDetails] create_knowledge_base_details The details to create a new Knowledge Base.
362
+ # Moves a Remediation Recipe from one compartment to another.
363
+ # @param [String] remediation_recipe_id The Oracle Cloud Identifier ([OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm)) of a Remediation Recipe, as a URL path parameter.
364
+ # @param [OCI::Adm::Models::ChangeRemediationRecipeCompartmentDetails] change_remediation_recipe_compartment_details The information to be updated.
305
365
  # @param [Hash] opts the optional parameters
306
366
  # @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
307
367
  # retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
368
+ # @option opts [String] :if_match For optimistic concurrency control. In the PUT or DELETE call
369
+ # for a resource, set the `if-match` parameter to the value of the
370
+ # etag from a previous GET or POST response for that resource.
371
+ # The resource will be updated or deleted only if the etag you
372
+ # provide matches the resource's current etag value.
373
+ #
308
374
  # @option opts [String] :opc_request_id The client request ID for tracing.
309
375
  # @option opts [String] :opc_retry_token A token that uniquely identifies a request so it can be retried in case of a timeout or
310
376
  # server error without risk of executing that same action again. Retry tokens expire after 24
@@ -313,13 +379,15 @@ module OCI
313
379
  # might be rejected.
314
380
  #
315
381
  # @return [Response] A Response object with data of type nil
316
- # @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/adm/create_knowledge_base.rb.html) to see an example of how to use create_knowledge_base API.
317
- def create_knowledge_base(create_knowledge_base_details, opts = {})
318
- logger.debug 'Calling operation ApplicationDependencyManagementClient#create_knowledge_base.' if logger
382
+ # @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/adm/change_remediation_recipe_compartment.rb.html) to see an example of how to use change_remediation_recipe_compartment API.
383
+ def change_remediation_recipe_compartment(remediation_recipe_id, change_remediation_recipe_compartment_details, opts = {})
384
+ logger.debug 'Calling operation ApplicationDependencyManagementClient#change_remediation_recipe_compartment.' if logger
319
385
 
320
- raise "Missing the required parameter 'create_knowledge_base_details' when calling create_knowledge_base." if create_knowledge_base_details.nil?
386
+ raise "Missing the required parameter 'remediation_recipe_id' when calling change_remediation_recipe_compartment." if remediation_recipe_id.nil?
387
+ raise "Missing the required parameter 'change_remediation_recipe_compartment_details' when calling change_remediation_recipe_compartment." if change_remediation_recipe_compartment_details.nil?
388
+ raise "Parameter value for 'remediation_recipe_id' must not be blank" if OCI::Internal::Util.blank_string?(remediation_recipe_id)
321
389
 
322
- path = '/knowledgeBases'
390
+ path = '/remediationRecipes/{remediationRecipeId}/actions/changeCompartment'.sub('{remediationRecipeId}', remediation_recipe_id.to_s)
323
391
  operation_signing_strategy = :standard
324
392
 
325
393
  # rubocop:disable Style/NegatedIf
@@ -330,15 +398,16 @@ module OCI
330
398
  header_params = {}
331
399
  header_params[:accept] = 'application/json'
332
400
  header_params[:'content-type'] = 'application/json'
401
+ header_params[:'if-match'] = opts[:if_match] if opts[:if_match]
333
402
  header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
334
403
  header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token]
335
404
  # rubocop:enable Style/NegatedIf
336
405
  header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token
337
406
 
338
- post_body = @api_client.object_to_http_body(create_knowledge_base_details)
407
+ post_body = @api_client.object_to_http_body(change_remediation_recipe_compartment_details)
339
408
 
340
409
  # rubocop:disable Metrics/BlockLength
341
- OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'ApplicationDependencyManagementClient#create_knowledge_base') do
410
+ OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'ApplicationDependencyManagementClient#change_remediation_recipe_compartment') do
342
411
  @api_client.call_api(
343
412
  :POST,
344
413
  path,
@@ -360,11 +429,18 @@ module OCI
360
429
  # rubocop:disable Metrics/MethodLength, Layout/EmptyLines
361
430
 
362
431
 
363
- # Creates a new Vulnerability Audit by providing a tree of Application Dependencies.
364
- # @param [OCI::Adm::Models::CreateVulnerabilityAuditDetails] create_vulnerability_audit_details The details to create a new Vulnerability Audit.
432
+ # Moves a remediation run from one compartment to another.
433
+ # @param [String] remediation_run_id Unique Remediation Run identifier path parameter.
434
+ # @param [OCI::Adm::Models::ChangeRemediationRunCompartmentDetails] change_remediation_run_compartment_details The information to be updated.
365
435
  # @param [Hash] opts the optional parameters
366
436
  # @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
367
437
  # retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
438
+ # @option opts [String] :if_match For optimistic concurrency control. In the PUT or DELETE call
439
+ # for a resource, set the `if-match` parameter to the value of the
440
+ # etag from a previous GET or POST response for that resource.
441
+ # The resource will be updated or deleted only if the etag you
442
+ # provide matches the resource's current etag value.
443
+ #
368
444
  # @option opts [String] :opc_request_id The client request ID for tracing.
369
445
  # @option opts [String] :opc_retry_token A token that uniquely identifies a request so it can be retried in case of a timeout or
370
446
  # server error without risk of executing that same action again. Retry tokens expire after 24
@@ -372,20 +448,16 @@ module OCI
372
448
  # has been deleted and purged from the system, then a retry of the original creation request
373
449
  # might be rejected.
374
450
  #
375
- # @option opts [String] :if_match For optimistic concurrency control. In the PUT or DELETE call
376
- # for a resource, set the `if-match` parameter to the value of the
377
- # etag from a previous GET or POST response for that resource.
378
- # The resource will be updated or deleted only if the etag you
379
- # provide matches the resource's current etag value.
380
- #
381
- # @return [Response] A Response object with data of type {OCI::Adm::Models::VulnerabilityAudit VulnerabilityAudit}
382
- # @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/adm/create_vulnerability_audit.rb.html) to see an example of how to use create_vulnerability_audit API.
383
- def create_vulnerability_audit(create_vulnerability_audit_details, opts = {})
384
- logger.debug 'Calling operation ApplicationDependencyManagementClient#create_vulnerability_audit.' if logger
451
+ # @return [Response] A Response object with data of type nil
452
+ # @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/adm/change_remediation_run_compartment.rb.html) to see an example of how to use change_remediation_run_compartment API.
453
+ def change_remediation_run_compartment(remediation_run_id, change_remediation_run_compartment_details, opts = {})
454
+ logger.debug 'Calling operation ApplicationDependencyManagementClient#change_remediation_run_compartment.' if logger
385
455
 
386
- raise "Missing the required parameter 'create_vulnerability_audit_details' when calling create_vulnerability_audit." if create_vulnerability_audit_details.nil?
456
+ raise "Missing the required parameter 'remediation_run_id' when calling change_remediation_run_compartment." if remediation_run_id.nil?
457
+ raise "Missing the required parameter 'change_remediation_run_compartment_details' when calling change_remediation_run_compartment." if change_remediation_run_compartment_details.nil?
458
+ raise "Parameter value for 'remediation_run_id' must not be blank" if OCI::Internal::Util.blank_string?(remediation_run_id)
387
459
 
388
- path = '/vulnerabilityAudits'
460
+ path = '/remediationRuns/{remediationRunId}/actions/changeCompartment'.sub('{remediationRunId}', remediation_run_id.to_s)
389
461
  operation_signing_strategy = :standard
390
462
 
391
463
  # rubocop:disable Style/NegatedIf
@@ -396,16 +468,16 @@ module OCI
396
468
  header_params = {}
397
469
  header_params[:accept] = 'application/json'
398
470
  header_params[:'content-type'] = 'application/json'
471
+ header_params[:'if-match'] = opts[:if_match] if opts[:if_match]
399
472
  header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
400
473
  header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token]
401
- header_params[:'if-match'] = opts[:if_match] if opts[:if_match]
402
474
  # rubocop:enable Style/NegatedIf
403
475
  header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token
404
476
 
405
- post_body = @api_client.object_to_http_body(create_vulnerability_audit_details)
477
+ post_body = @api_client.object_to_http_body(change_remediation_run_compartment_details)
406
478
 
407
479
  # rubocop:disable Metrics/BlockLength
408
- OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'ApplicationDependencyManagementClient#create_vulnerability_audit') do
480
+ OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'ApplicationDependencyManagementClient#change_remediation_run_compartment') do
409
481
  @api_client.call_api(
410
482
  :POST,
411
483
  path,
@@ -413,8 +485,7 @@ module OCI
413
485
  header_params: header_params,
414
486
  query_params: query_params,
415
487
  operation_signing_strategy: operation_signing_strategy,
416
- body: post_body,
417
- return_type: 'OCI::Adm::Models::VulnerabilityAudit'
488
+ body: post_body
418
489
  )
419
490
  end
420
491
  # rubocop:enable Metrics/BlockLength
@@ -428,8 +499,9 @@ module OCI
428
499
  # rubocop:disable Metrics/MethodLength, Layout/EmptyLines
429
500
 
430
501
 
431
- # Deletes the specified Knowledge Base.
432
- # @param [String] knowledge_base_id The Oracle Cloud Identifier ([OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm)) of a Knowledge Base, as a URL path parameter.
502
+ # Moves a Vulnerability Audit from one compartment to another.
503
+ # @param [String] vulnerability_audit_id Unique Vulnerability Audit identifier path parameter.
504
+ # @param [OCI::Adm::Models::ChangeVulnerabilityAuditCompartmentDetails] change_vulnerability_audit_compartment_details The information to be updated.
433
505
  # @param [Hash] opts the optional parameters
434
506
  # @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
435
507
  # retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
@@ -440,15 +512,22 @@ module OCI
440
512
  # provide matches the resource's current etag value.
441
513
  #
442
514
  # @option opts [String] :opc_request_id The client request ID for tracing.
515
+ # @option opts [String] :opc_retry_token A token that uniquely identifies a request so it can be retried in case of a timeout or
516
+ # server error without risk of executing that same action again. Retry tokens expire after 24
517
+ # hours, but can be invalidated before then due to conflicting operations. For example, if a resource
518
+ # has been deleted and purged from the system, then a retry of the original creation request
519
+ # might be rejected.
520
+ #
443
521
  # @return [Response] A Response object with data of type nil
444
- # @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/adm/delete_knowledge_base.rb.html) to see an example of how to use delete_knowledge_base API.
445
- def delete_knowledge_base(knowledge_base_id, opts = {})
446
- logger.debug 'Calling operation ApplicationDependencyManagementClient#delete_knowledge_base.' if logger
522
+ # @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/adm/change_vulnerability_audit_compartment.rb.html) to see an example of how to use change_vulnerability_audit_compartment API.
523
+ def change_vulnerability_audit_compartment(vulnerability_audit_id, change_vulnerability_audit_compartment_details, opts = {})
524
+ logger.debug 'Calling operation ApplicationDependencyManagementClient#change_vulnerability_audit_compartment.' if logger
447
525
 
448
- raise "Missing the required parameter 'knowledge_base_id' when calling delete_knowledge_base." if knowledge_base_id.nil?
449
- raise "Parameter value for 'knowledge_base_id' must not be blank" if OCI::Internal::Util.blank_string?(knowledge_base_id)
526
+ raise "Missing the required parameter 'vulnerability_audit_id' when calling change_vulnerability_audit_compartment." if vulnerability_audit_id.nil?
527
+ raise "Missing the required parameter 'change_vulnerability_audit_compartment_details' when calling change_vulnerability_audit_compartment." if change_vulnerability_audit_compartment_details.nil?
528
+ raise "Parameter value for 'vulnerability_audit_id' must not be blank" if OCI::Internal::Util.blank_string?(vulnerability_audit_id)
450
529
 
451
- path = '/knowledgeBases/{knowledgeBaseId}'.sub('{knowledgeBaseId}', knowledge_base_id.to_s)
530
+ path = '/vulnerabilityAudits/{vulnerabilityAuditId}/actions/changeCompartment'.sub('{vulnerabilityAuditId}', vulnerability_audit_id.to_s)
452
531
  operation_signing_strategy = :standard
453
532
 
454
533
  # rubocop:disable Style/NegatedIf
@@ -461,14 +540,16 @@ module OCI
461
540
  header_params[:'content-type'] = 'application/json'
462
541
  header_params[:'if-match'] = opts[:if_match] if opts[:if_match]
463
542
  header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
543
+ header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token]
464
544
  # rubocop:enable Style/NegatedIf
545
+ header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token
465
546
 
466
- post_body = nil
547
+ post_body = @api_client.object_to_http_body(change_vulnerability_audit_compartment_details)
467
548
 
468
549
  # rubocop:disable Metrics/BlockLength
469
- OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'ApplicationDependencyManagementClient#delete_knowledge_base') do
550
+ OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'ApplicationDependencyManagementClient#change_vulnerability_audit_compartment') do
470
551
  @api_client.call_api(
471
- :DELETE,
552
+ :POST,
472
553
  path,
473
554
  endpoint,
474
555
  header_params: header_params,
@@ -488,27 +569,26 @@ module OCI
488
569
  # rubocop:disable Metrics/MethodLength, Layout/EmptyLines
489
570
 
490
571
 
491
- # Deletes the specified Vulnerability Audit.
492
- # @param [String] vulnerability_audit_id Unique Vulnerability Audit identifier path parameter.
572
+ # Creates a new Knowledge Base.
573
+ # @param [OCI::Adm::Models::CreateKnowledgeBaseDetails] create_knowledge_base_details The details to create a new Knowledge Base.
493
574
  # @param [Hash] opts the optional parameters
494
575
  # @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
495
576
  # retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
496
- # @option opts [String] :if_match For optimistic concurrency control. In the PUT or DELETE call
497
- # for a resource, set the `if-match` parameter to the value of the
498
- # etag from a previous GET or POST response for that resource.
499
- # The resource will be updated or deleted only if the etag you
500
- # provide matches the resource's current etag value.
501
- #
502
577
  # @option opts [String] :opc_request_id The client request ID for tracing.
578
+ # @option opts [String] :opc_retry_token A token that uniquely identifies a request so it can be retried in case of a timeout or
579
+ # server error without risk of executing that same action again. Retry tokens expire after 24
580
+ # hours, but can be invalidated before then due to conflicting operations. For example, if a resource
581
+ # has been deleted and purged from the system, then a retry of the original creation request
582
+ # might be rejected.
583
+ #
503
584
  # @return [Response] A Response object with data of type nil
504
- # @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/adm/delete_vulnerability_audit.rb.html) to see an example of how to use delete_vulnerability_audit API.
505
- def delete_vulnerability_audit(vulnerability_audit_id, opts = {})
506
- logger.debug 'Calling operation ApplicationDependencyManagementClient#delete_vulnerability_audit.' if logger
585
+ # @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/adm/create_knowledge_base.rb.html) to see an example of how to use create_knowledge_base API.
586
+ def create_knowledge_base(create_knowledge_base_details, opts = {})
587
+ logger.debug 'Calling operation ApplicationDependencyManagementClient#create_knowledge_base.' if logger
507
588
 
508
- raise "Missing the required parameter 'vulnerability_audit_id' when calling delete_vulnerability_audit." if vulnerability_audit_id.nil?
509
- raise "Parameter value for 'vulnerability_audit_id' must not be blank" if OCI::Internal::Util.blank_string?(vulnerability_audit_id)
589
+ raise "Missing the required parameter 'create_knowledge_base_details' when calling create_knowledge_base." if create_knowledge_base_details.nil?
510
590
 
511
- path = '/vulnerabilityAudits/{vulnerabilityAuditId}'.sub('{vulnerabilityAuditId}', vulnerability_audit_id.to_s)
591
+ path = '/knowledgeBases'
512
592
  operation_signing_strategy = :standard
513
593
 
514
594
  # rubocop:disable Style/NegatedIf
@@ -519,16 +599,17 @@ module OCI
519
599
  header_params = {}
520
600
  header_params[:accept] = 'application/json'
521
601
  header_params[:'content-type'] = 'application/json'
522
- header_params[:'if-match'] = opts[:if_match] if opts[:if_match]
523
602
  header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
603
+ header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token]
524
604
  # rubocop:enable Style/NegatedIf
605
+ header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token
525
606
 
526
- post_body = nil
607
+ post_body = @api_client.object_to_http_body(create_knowledge_base_details)
527
608
 
528
609
  # rubocop:disable Metrics/BlockLength
529
- OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'ApplicationDependencyManagementClient#delete_vulnerability_audit') do
610
+ OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'ApplicationDependencyManagementClient#create_knowledge_base') do
530
611
  @api_client.call_api(
531
- :DELETE,
612
+ :POST,
532
613
  path,
533
614
  endpoint,
534
615
  header_params: header_params,
@@ -548,21 +629,26 @@ module OCI
548
629
  # rubocop:disable Metrics/MethodLength, Layout/EmptyLines
549
630
 
550
631
 
551
- # Returns the details of the specified Knowledge Base.
552
- # @param [String] knowledge_base_id The Oracle Cloud Identifier ([OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm)) of a Knowledge Base, as a URL path parameter.
632
+ # Creates a new Remediation Recipe.
633
+ # @param [OCI::Adm::Models::CreateRemediationRecipeDetails] create_remediation_recipe_details The details to create a new Remediation Recipe.
553
634
  # @param [Hash] opts the optional parameters
554
635
  # @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
555
636
  # retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
556
637
  # @option opts [String] :opc_request_id The client request ID for tracing.
557
- # @return [Response] A Response object with data of type {OCI::Adm::Models::KnowledgeBase KnowledgeBase}
558
- # @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/adm/get_knowledge_base.rb.html) to see an example of how to use get_knowledge_base API.
559
- def get_knowledge_base(knowledge_base_id, opts = {})
560
- logger.debug 'Calling operation ApplicationDependencyManagementClient#get_knowledge_base.' if logger
638
+ # @option opts [String] :opc_retry_token A token that uniquely identifies a request so it can be retried in case of a timeout or
639
+ # server error without risk of executing that same action again. Retry tokens expire after 24
640
+ # hours, but can be invalidated before then due to conflicting operations. For example, if a resource
641
+ # has been deleted and purged from the system, then a retry of the original creation request
642
+ # might be rejected.
643
+ #
644
+ # @return [Response] A Response object with data of type nil
645
+ # @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/adm/create_remediation_recipe.rb.html) to see an example of how to use create_remediation_recipe API.
646
+ def create_remediation_recipe(create_remediation_recipe_details, opts = {})
647
+ logger.debug 'Calling operation ApplicationDependencyManagementClient#create_remediation_recipe.' if logger
561
648
 
562
- raise "Missing the required parameter 'knowledge_base_id' when calling get_knowledge_base." if knowledge_base_id.nil?
563
- raise "Parameter value for 'knowledge_base_id' must not be blank" if OCI::Internal::Util.blank_string?(knowledge_base_id)
649
+ raise "Missing the required parameter 'create_remediation_recipe_details' when calling create_remediation_recipe." if create_remediation_recipe_details.nil?
564
650
 
565
- path = '/knowledgeBases/{knowledgeBaseId}'.sub('{knowledgeBaseId}', knowledge_base_id.to_s)
651
+ path = '/remediationRecipes'
566
652
  operation_signing_strategy = :standard
567
653
 
568
654
  # rubocop:disable Style/NegatedIf
@@ -574,21 +660,22 @@ module OCI
574
660
  header_params[:accept] = 'application/json'
575
661
  header_params[:'content-type'] = 'application/json'
576
662
  header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
663
+ header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token]
577
664
  # rubocop:enable Style/NegatedIf
665
+ header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token
578
666
 
579
- post_body = nil
667
+ post_body = @api_client.object_to_http_body(create_remediation_recipe_details)
580
668
 
581
669
  # rubocop:disable Metrics/BlockLength
582
- OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'ApplicationDependencyManagementClient#get_knowledge_base') do
670
+ OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'ApplicationDependencyManagementClient#create_remediation_recipe') do
583
671
  @api_client.call_api(
584
- :GET,
672
+ :POST,
585
673
  path,
586
674
  endpoint,
587
675
  header_params: header_params,
588
676
  query_params: query_params,
589
677
  operation_signing_strategy: operation_signing_strategy,
590
- body: post_body,
591
- return_type: 'OCI::Adm::Models::KnowledgeBase'
678
+ body: post_body
592
679
  )
593
680
  end
594
681
  # rubocop:enable Metrics/BlockLength
@@ -602,26 +689,996 @@ module OCI
602
689
  # rubocop:disable Metrics/MethodLength, Layout/EmptyLines
603
690
 
604
691
 
605
- # Returns the details of the specified Vulnerability Audit.
606
- # @param [String] vulnerability_audit_id Unique Vulnerability Audit identifier path parameter.
692
+ # Creates a new remediation run.
693
+ # @param [OCI::Adm::Models::CreateRemediationRunDetails] create_remediation_run_details The details used to create a new remediation run.
607
694
  # @param [Hash] opts the optional parameters
608
695
  # @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
609
696
  # retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
610
697
  # @option opts [String] :opc_request_id The client request ID for tracing.
611
- # @return [Response] A Response object with data of type {OCI::Adm::Models::VulnerabilityAudit VulnerabilityAudit}
612
- # @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/adm/get_vulnerability_audit.rb.html) to see an example of how to use get_vulnerability_audit API.
613
- def get_vulnerability_audit(vulnerability_audit_id, opts = {})
614
- logger.debug 'Calling operation ApplicationDependencyManagementClient#get_vulnerability_audit.' if logger
698
+ # @option opts [String] :opc_retry_token A token that uniquely identifies a request so it can be retried in case of a timeout or
699
+ # server error without risk of executing that same action again. Retry tokens expire after 24
700
+ # hours, but can be invalidated before then due to conflicting operations. For example, if a resource
701
+ # has been deleted and purged from the system, then a retry of the original creation request
702
+ # might be rejected.
703
+ #
704
+ # @return [Response] A Response object with data of type {OCI::Adm::Models::RemediationRun RemediationRun}
705
+ # @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/adm/create_remediation_run.rb.html) to see an example of how to use create_remediation_run API.
706
+ def create_remediation_run(create_remediation_run_details, opts = {})
707
+ logger.debug 'Calling operation ApplicationDependencyManagementClient#create_remediation_run.' if logger
708
+
709
+ raise "Missing the required parameter 'create_remediation_run_details' when calling create_remediation_run." if create_remediation_run_details.nil?
710
+
711
+ path = '/remediationRuns'
712
+ operation_signing_strategy = :standard
713
+
714
+ # rubocop:disable Style/NegatedIf
715
+ # Query Params
716
+ query_params = {}
717
+
718
+ # Header Params
719
+ header_params = {}
720
+ header_params[:accept] = 'application/json'
721
+ header_params[:'content-type'] = 'application/json'
722
+ header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
723
+ header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token]
724
+ # rubocop:enable Style/NegatedIf
725
+ header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token
726
+
727
+ post_body = @api_client.object_to_http_body(create_remediation_run_details)
728
+
729
+ # rubocop:disable Metrics/BlockLength
730
+ OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'ApplicationDependencyManagementClient#create_remediation_run') do
731
+ @api_client.call_api(
732
+ :POST,
733
+ path,
734
+ endpoint,
735
+ header_params: header_params,
736
+ query_params: query_params,
737
+ operation_signing_strategy: operation_signing_strategy,
738
+ body: post_body,
739
+ return_type: 'OCI::Adm::Models::RemediationRun'
740
+ )
741
+ end
742
+ # rubocop:enable Metrics/BlockLength
743
+ end
744
+ # rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
745
+ # rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
746
+ # rubocop:enable Metrics/MethodLength, Layout/EmptyLines
747
+
748
+ # rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
749
+ # rubocop:disable Style/IfUnlessModifier, Metrics/ParameterLists
750
+ # rubocop:disable Metrics/MethodLength, Layout/EmptyLines
751
+
752
+
753
+ # Creates a new Vulnerability Audit by providing a tree of Application Dependencies.
754
+ # @param [OCI::Adm::Models::CreateVulnerabilityAuditDetails] create_vulnerability_audit_details The details to create a new Vulnerability Audit.
755
+ # @param [Hash] opts the optional parameters
756
+ # @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
757
+ # retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
758
+ # @option opts [String] :opc_request_id The client request ID for tracing.
759
+ # @option opts [String] :opc_retry_token A token that uniquely identifies a request so it can be retried in case of a timeout or
760
+ # server error without risk of executing that same action again. Retry tokens expire after 24
761
+ # hours, but can be invalidated before then due to conflicting operations. For example, if a resource
762
+ # has been deleted and purged from the system, then a retry of the original creation request
763
+ # might be rejected.
764
+ #
765
+ # @option opts [String] :if_match For optimistic concurrency control. In the PUT or DELETE call
766
+ # for a resource, set the `if-match` parameter to the value of the
767
+ # etag from a previous GET or POST response for that resource.
768
+ # The resource will be updated or deleted only if the etag you
769
+ # provide matches the resource's current etag value.
770
+ #
771
+ # @return [Response] A Response object with data of type {OCI::Adm::Models::VulnerabilityAudit VulnerabilityAudit}
772
+ # @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/adm/create_vulnerability_audit.rb.html) to see an example of how to use create_vulnerability_audit API.
773
+ def create_vulnerability_audit(create_vulnerability_audit_details, opts = {})
774
+ logger.debug 'Calling operation ApplicationDependencyManagementClient#create_vulnerability_audit.' if logger
775
+
776
+ raise "Missing the required parameter 'create_vulnerability_audit_details' when calling create_vulnerability_audit." if create_vulnerability_audit_details.nil?
777
+
778
+ path = '/vulnerabilityAudits'
779
+ operation_signing_strategy = :standard
780
+
781
+ # rubocop:disable Style/NegatedIf
782
+ # Query Params
783
+ query_params = {}
784
+
785
+ # Header Params
786
+ header_params = {}
787
+ header_params[:accept] = 'application/json'
788
+ header_params[:'content-type'] = 'application/json'
789
+ header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
790
+ header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token]
791
+ header_params[:'if-match'] = opts[:if_match] if opts[:if_match]
792
+ # rubocop:enable Style/NegatedIf
793
+ header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token
794
+
795
+ post_body = @api_client.object_to_http_body(create_vulnerability_audit_details)
796
+
797
+ # rubocop:disable Metrics/BlockLength
798
+ OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'ApplicationDependencyManagementClient#create_vulnerability_audit') do
799
+ @api_client.call_api(
800
+ :POST,
801
+ path,
802
+ endpoint,
803
+ header_params: header_params,
804
+ query_params: query_params,
805
+ operation_signing_strategy: operation_signing_strategy,
806
+ body: post_body,
807
+ return_type: 'OCI::Adm::Models::VulnerabilityAudit'
808
+ )
809
+ end
810
+ # rubocop:enable Metrics/BlockLength
811
+ end
812
+ # rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
813
+ # rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
814
+ # rubocop:enable Metrics/MethodLength, Layout/EmptyLines
815
+
816
+ # rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
817
+ # rubocop:disable Style/IfUnlessModifier, Metrics/ParameterLists
818
+ # rubocop:disable Metrics/MethodLength, Layout/EmptyLines
819
+
820
+
821
+ # Deactivates the specified Remediation Recipe.
822
+ # @param [String] remediation_recipe_id The Oracle Cloud Identifier ([OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm)) of a Remediation Recipe, as a URL path parameter.
823
+ # @param [Hash] opts the optional parameters
824
+ # @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
825
+ # retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
826
+ # @option opts [String] :if_match For optimistic concurrency control. In the PUT or DELETE call
827
+ # for a resource, set the `if-match` parameter to the value of the
828
+ # etag from a previous GET or POST response for that resource.
829
+ # The resource will be updated or deleted only if the etag you
830
+ # provide matches the resource's current etag value.
831
+ #
832
+ # @option opts [String] :opc_request_id The client request ID for tracing.
833
+ # @return [Response] A Response object with data of type nil
834
+ # @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/adm/deactivate_remediation_recipe.rb.html) to see an example of how to use deactivate_remediation_recipe API.
835
+ def deactivate_remediation_recipe(remediation_recipe_id, opts = {})
836
+ logger.debug 'Calling operation ApplicationDependencyManagementClient#deactivate_remediation_recipe.' if logger
837
+
838
+ raise "Missing the required parameter 'remediation_recipe_id' when calling deactivate_remediation_recipe." if remediation_recipe_id.nil?
839
+ raise "Parameter value for 'remediation_recipe_id' must not be blank" if OCI::Internal::Util.blank_string?(remediation_recipe_id)
840
+
841
+ path = '/remediationRecipes/{remediationRecipeId}/actions/deactivate'.sub('{remediationRecipeId}', remediation_recipe_id.to_s)
842
+ operation_signing_strategy = :standard
843
+
844
+ # rubocop:disable Style/NegatedIf
845
+ # Query Params
846
+ query_params = {}
847
+
848
+ # Header Params
849
+ header_params = {}
850
+ header_params[:accept] = 'application/json'
851
+ header_params[:'content-type'] = 'application/json'
852
+ header_params[:'if-match'] = opts[:if_match] if opts[:if_match]
853
+ header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
854
+ # rubocop:enable Style/NegatedIf
855
+
856
+ post_body = nil
857
+
858
+ # rubocop:disable Metrics/BlockLength
859
+ OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'ApplicationDependencyManagementClient#deactivate_remediation_recipe') do
860
+ @api_client.call_api(
861
+ :POST,
862
+ path,
863
+ endpoint,
864
+ header_params: header_params,
865
+ query_params: query_params,
866
+ operation_signing_strategy: operation_signing_strategy,
867
+ body: post_body
868
+ )
869
+ end
870
+ # rubocop:enable Metrics/BlockLength
871
+ end
872
+ # rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
873
+ # rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
874
+ # rubocop:enable Metrics/MethodLength, Layout/EmptyLines
875
+
876
+ # rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
877
+ # rubocop:disable Style/IfUnlessModifier, Metrics/ParameterLists
878
+ # rubocop:disable Metrics/MethodLength, Layout/EmptyLines
879
+
880
+
881
+ # Deletes the specified Knowledge Base.
882
+ # @param [String] knowledge_base_id The Oracle Cloud Identifier ([OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm)) of a Knowledge Base, as a URL path parameter.
883
+ # @param [Hash] opts the optional parameters
884
+ # @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
885
+ # retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
886
+ # @option opts [String] :if_match For optimistic concurrency control. In the PUT or DELETE call
887
+ # for a resource, set the `if-match` parameter to the value of the
888
+ # etag from a previous GET or POST response for that resource.
889
+ # The resource will be updated or deleted only if the etag you
890
+ # provide matches the resource's current etag value.
891
+ #
892
+ # @option opts [String] :opc_request_id The client request ID for tracing.
893
+ # @return [Response] A Response object with data of type nil
894
+ # @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/adm/delete_knowledge_base.rb.html) to see an example of how to use delete_knowledge_base API.
895
+ def delete_knowledge_base(knowledge_base_id, opts = {})
896
+ logger.debug 'Calling operation ApplicationDependencyManagementClient#delete_knowledge_base.' if logger
897
+
898
+ raise "Missing the required parameter 'knowledge_base_id' when calling delete_knowledge_base." if knowledge_base_id.nil?
899
+ raise "Parameter value for 'knowledge_base_id' must not be blank" if OCI::Internal::Util.blank_string?(knowledge_base_id)
900
+
901
+ path = '/knowledgeBases/{knowledgeBaseId}'.sub('{knowledgeBaseId}', knowledge_base_id.to_s)
902
+ operation_signing_strategy = :standard
903
+
904
+ # rubocop:disable Style/NegatedIf
905
+ # Query Params
906
+ query_params = {}
907
+
908
+ # Header Params
909
+ header_params = {}
910
+ header_params[:accept] = 'application/json'
911
+ header_params[:'content-type'] = 'application/json'
912
+ header_params[:'if-match'] = opts[:if_match] if opts[:if_match]
913
+ header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
914
+ # rubocop:enable Style/NegatedIf
915
+
916
+ post_body = nil
917
+
918
+ # rubocop:disable Metrics/BlockLength
919
+ OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'ApplicationDependencyManagementClient#delete_knowledge_base') do
920
+ @api_client.call_api(
921
+ :DELETE,
922
+ path,
923
+ endpoint,
924
+ header_params: header_params,
925
+ query_params: query_params,
926
+ operation_signing_strategy: operation_signing_strategy,
927
+ body: post_body
928
+ )
929
+ end
930
+ # rubocop:enable Metrics/BlockLength
931
+ end
932
+ # rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
933
+ # rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
934
+ # rubocop:enable Metrics/MethodLength, Layout/EmptyLines
935
+
936
+ # rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
937
+ # rubocop:disable Style/IfUnlessModifier, Metrics/ParameterLists
938
+ # rubocop:disable Metrics/MethodLength, Layout/EmptyLines
939
+
940
+
941
+ # Deletes the specified Remediation Recipe.
942
+ # @param [String] remediation_recipe_id The Oracle Cloud Identifier ([OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm)) of a Remediation Recipe, as a URL path parameter.
943
+ # @param [Hash] opts the optional parameters
944
+ # @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
945
+ # retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
946
+ # @option opts [String] :if_match For optimistic concurrency control. In the PUT or DELETE call
947
+ # for a resource, set the `if-match` parameter to the value of the
948
+ # etag from a previous GET or POST response for that resource.
949
+ # The resource will be updated or deleted only if the etag you
950
+ # provide matches the resource's current etag value.
951
+ #
952
+ # @option opts [String] :opc_request_id The client request ID for tracing.
953
+ # @return [Response] A Response object with data of type nil
954
+ # @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/adm/delete_remediation_recipe.rb.html) to see an example of how to use delete_remediation_recipe API.
955
+ def delete_remediation_recipe(remediation_recipe_id, opts = {})
956
+ logger.debug 'Calling operation ApplicationDependencyManagementClient#delete_remediation_recipe.' if logger
957
+
958
+ raise "Missing the required parameter 'remediation_recipe_id' when calling delete_remediation_recipe." if remediation_recipe_id.nil?
959
+ raise "Parameter value for 'remediation_recipe_id' must not be blank" if OCI::Internal::Util.blank_string?(remediation_recipe_id)
960
+
961
+ path = '/remediationRecipes/{remediationRecipeId}'.sub('{remediationRecipeId}', remediation_recipe_id.to_s)
962
+ operation_signing_strategy = :standard
963
+
964
+ # rubocop:disable Style/NegatedIf
965
+ # Query Params
966
+ query_params = {}
967
+
968
+ # Header Params
969
+ header_params = {}
970
+ header_params[:accept] = 'application/json'
971
+ header_params[:'content-type'] = 'application/json'
972
+ header_params[:'if-match'] = opts[:if_match] if opts[:if_match]
973
+ header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
974
+ # rubocop:enable Style/NegatedIf
975
+
976
+ post_body = nil
977
+
978
+ # rubocop:disable Metrics/BlockLength
979
+ OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'ApplicationDependencyManagementClient#delete_remediation_recipe') do
980
+ @api_client.call_api(
981
+ :DELETE,
982
+ path,
983
+ endpoint,
984
+ header_params: header_params,
985
+ query_params: query_params,
986
+ operation_signing_strategy: operation_signing_strategy,
987
+ body: post_body
988
+ )
989
+ end
990
+ # rubocop:enable Metrics/BlockLength
991
+ end
992
+ # rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
993
+ # rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
994
+ # rubocop:enable Metrics/MethodLength, Layout/EmptyLines
995
+
996
+ # rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
997
+ # rubocop:disable Style/IfUnlessModifier, Metrics/ParameterLists
998
+ # rubocop:disable Metrics/MethodLength, Layout/EmptyLines
999
+
1000
+
1001
+ # Deletes the specified remediation run.
1002
+ # @param [String] remediation_run_id Unique Remediation Run identifier path parameter.
1003
+ # @param [Hash] opts the optional parameters
1004
+ # @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
1005
+ # retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
1006
+ # @option opts [String] :if_match For optimistic concurrency control. In the PUT or DELETE call
1007
+ # for a resource, set the `if-match` parameter to the value of the
1008
+ # etag from a previous GET or POST response for that resource.
1009
+ # The resource will be updated or deleted only if the etag you
1010
+ # provide matches the resource's current etag value.
1011
+ #
1012
+ # @option opts [String] :opc_request_id The client request ID for tracing.
1013
+ # @return [Response] A Response object with data of type nil
1014
+ # @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/adm/delete_remediation_run.rb.html) to see an example of how to use delete_remediation_run API.
1015
+ def delete_remediation_run(remediation_run_id, opts = {})
1016
+ logger.debug 'Calling operation ApplicationDependencyManagementClient#delete_remediation_run.' if logger
1017
+
1018
+ raise "Missing the required parameter 'remediation_run_id' when calling delete_remediation_run." if remediation_run_id.nil?
1019
+ raise "Parameter value for 'remediation_run_id' must not be blank" if OCI::Internal::Util.blank_string?(remediation_run_id)
1020
+
1021
+ path = '/remediationRuns/{remediationRunId}'.sub('{remediationRunId}', remediation_run_id.to_s)
1022
+ operation_signing_strategy = :standard
1023
+
1024
+ # rubocop:disable Style/NegatedIf
1025
+ # Query Params
1026
+ query_params = {}
1027
+
1028
+ # Header Params
1029
+ header_params = {}
1030
+ header_params[:accept] = 'application/json'
1031
+ header_params[:'content-type'] = 'application/json'
1032
+ header_params[:'if-match'] = opts[:if_match] if opts[:if_match]
1033
+ header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
1034
+ # rubocop:enable Style/NegatedIf
1035
+
1036
+ post_body = nil
1037
+
1038
+ # rubocop:disable Metrics/BlockLength
1039
+ OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'ApplicationDependencyManagementClient#delete_remediation_run') do
1040
+ @api_client.call_api(
1041
+ :DELETE,
1042
+ path,
1043
+ endpoint,
1044
+ header_params: header_params,
1045
+ query_params: query_params,
1046
+ operation_signing_strategy: operation_signing_strategy,
1047
+ body: post_body
1048
+ )
1049
+ end
1050
+ # rubocop:enable Metrics/BlockLength
1051
+ end
1052
+ # rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
1053
+ # rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
1054
+ # rubocop:enable Metrics/MethodLength, Layout/EmptyLines
1055
+
1056
+ # rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
1057
+ # rubocop:disable Style/IfUnlessModifier, Metrics/ParameterLists
1058
+ # rubocop:disable Metrics/MethodLength, Layout/EmptyLines
1059
+
1060
+
1061
+ # Deletes the specified Vulnerability Audit.
1062
+ # @param [String] vulnerability_audit_id Unique Vulnerability Audit identifier path parameter.
1063
+ # @param [Hash] opts the optional parameters
1064
+ # @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
1065
+ # retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
1066
+ # @option opts [String] :if_match For optimistic concurrency control. In the PUT or DELETE call
1067
+ # for a resource, set the `if-match` parameter to the value of the
1068
+ # etag from a previous GET or POST response for that resource.
1069
+ # The resource will be updated or deleted only if the etag you
1070
+ # provide matches the resource's current etag value.
1071
+ #
1072
+ # @option opts [String] :opc_request_id The client request ID for tracing.
1073
+ # @return [Response] A Response object with data of type nil
1074
+ # @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/adm/delete_vulnerability_audit.rb.html) to see an example of how to use delete_vulnerability_audit API.
1075
+ def delete_vulnerability_audit(vulnerability_audit_id, opts = {})
1076
+ logger.debug 'Calling operation ApplicationDependencyManagementClient#delete_vulnerability_audit.' if logger
1077
+
1078
+ raise "Missing the required parameter 'vulnerability_audit_id' when calling delete_vulnerability_audit." if vulnerability_audit_id.nil?
1079
+ raise "Parameter value for 'vulnerability_audit_id' must not be blank" if OCI::Internal::Util.blank_string?(vulnerability_audit_id)
1080
+
1081
+ path = '/vulnerabilityAudits/{vulnerabilityAuditId}'.sub('{vulnerabilityAuditId}', vulnerability_audit_id.to_s)
1082
+ operation_signing_strategy = :standard
1083
+
1084
+ # rubocop:disable Style/NegatedIf
1085
+ # Query Params
1086
+ query_params = {}
1087
+
1088
+ # Header Params
1089
+ header_params = {}
1090
+ header_params[:accept] = 'application/json'
1091
+ header_params[:'content-type'] = 'application/json'
1092
+ header_params[:'if-match'] = opts[:if_match] if opts[:if_match]
1093
+ header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
1094
+ # rubocop:enable Style/NegatedIf
1095
+
1096
+ post_body = nil
1097
+
1098
+ # rubocop:disable Metrics/BlockLength
1099
+ OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'ApplicationDependencyManagementClient#delete_vulnerability_audit') do
1100
+ @api_client.call_api(
1101
+ :DELETE,
1102
+ path,
1103
+ endpoint,
1104
+ header_params: header_params,
1105
+ query_params: query_params,
1106
+ operation_signing_strategy: operation_signing_strategy,
1107
+ body: post_body
1108
+ )
1109
+ end
1110
+ # rubocop:enable Metrics/BlockLength
1111
+ end
1112
+ # rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
1113
+ # rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
1114
+ # rubocop:enable Metrics/MethodLength, Layout/EmptyLines
1115
+
1116
+ # rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
1117
+ # rubocop:disable Style/IfUnlessModifier, Metrics/ParameterLists
1118
+ # rubocop:disable Metrics/MethodLength, Layout/EmptyLines
1119
+
1120
+
1121
+ # Returns the details of the specified Knowledge Base.
1122
+ # @param [String] knowledge_base_id The Oracle Cloud Identifier ([OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm)) of a Knowledge Base, as a URL path parameter.
1123
+ # @param [Hash] opts the optional parameters
1124
+ # @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
1125
+ # retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
1126
+ # @option opts [String] :opc_request_id The client request ID for tracing.
1127
+ # @return [Response] A Response object with data of type {OCI::Adm::Models::KnowledgeBase KnowledgeBase}
1128
+ # @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/adm/get_knowledge_base.rb.html) to see an example of how to use get_knowledge_base API.
1129
+ def get_knowledge_base(knowledge_base_id, opts = {})
1130
+ logger.debug 'Calling operation ApplicationDependencyManagementClient#get_knowledge_base.' if logger
1131
+
1132
+ raise "Missing the required parameter 'knowledge_base_id' when calling get_knowledge_base." if knowledge_base_id.nil?
1133
+ raise "Parameter value for 'knowledge_base_id' must not be blank" if OCI::Internal::Util.blank_string?(knowledge_base_id)
1134
+
1135
+ path = '/knowledgeBases/{knowledgeBaseId}'.sub('{knowledgeBaseId}', knowledge_base_id.to_s)
1136
+ operation_signing_strategy = :standard
1137
+
1138
+ # rubocop:disable Style/NegatedIf
1139
+ # Query Params
1140
+ query_params = {}
1141
+
1142
+ # Header Params
1143
+ header_params = {}
1144
+ header_params[:accept] = 'application/json'
1145
+ header_params[:'content-type'] = 'application/json'
1146
+ header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
1147
+ # rubocop:enable Style/NegatedIf
1148
+
1149
+ post_body = nil
1150
+
1151
+ # rubocop:disable Metrics/BlockLength
1152
+ OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'ApplicationDependencyManagementClient#get_knowledge_base') do
1153
+ @api_client.call_api(
1154
+ :GET,
1155
+ path,
1156
+ endpoint,
1157
+ header_params: header_params,
1158
+ query_params: query_params,
1159
+ operation_signing_strategy: operation_signing_strategy,
1160
+ body: post_body,
1161
+ return_type: 'OCI::Adm::Models::KnowledgeBase'
1162
+ )
1163
+ end
1164
+ # rubocop:enable Metrics/BlockLength
1165
+ end
1166
+ # rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
1167
+ # rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
1168
+ # rubocop:enable Metrics/MethodLength, Layout/EmptyLines
1169
+
1170
+ # rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
1171
+ # rubocop:disable Style/IfUnlessModifier, Metrics/ParameterLists
1172
+ # rubocop:disable Metrics/MethodLength, Layout/EmptyLines
1173
+
1174
+
1175
+ # Returns the details of the specified RemediationRecipe.
1176
+ # @param [String] remediation_recipe_id The Oracle Cloud Identifier ([OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm)) of a Remediation Recipe, as a URL path parameter.
1177
+ # @param [Hash] opts the optional parameters
1178
+ # @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
1179
+ # retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
1180
+ # @option opts [String] :opc_request_id The client request ID for tracing.
1181
+ # @return [Response] A Response object with data of type {OCI::Adm::Models::RemediationRecipe RemediationRecipe}
1182
+ # @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/adm/get_remediation_recipe.rb.html) to see an example of how to use get_remediation_recipe API.
1183
+ def get_remediation_recipe(remediation_recipe_id, opts = {})
1184
+ logger.debug 'Calling operation ApplicationDependencyManagementClient#get_remediation_recipe.' if logger
1185
+
1186
+ raise "Missing the required parameter 'remediation_recipe_id' when calling get_remediation_recipe." if remediation_recipe_id.nil?
1187
+ raise "Parameter value for 'remediation_recipe_id' must not be blank" if OCI::Internal::Util.blank_string?(remediation_recipe_id)
1188
+
1189
+ path = '/remediationRecipes/{remediationRecipeId}'.sub('{remediationRecipeId}', remediation_recipe_id.to_s)
1190
+ operation_signing_strategy = :standard
1191
+
1192
+ # rubocop:disable Style/NegatedIf
1193
+ # Query Params
1194
+ query_params = {}
1195
+
1196
+ # Header Params
1197
+ header_params = {}
1198
+ header_params[:accept] = 'application/json'
1199
+ header_params[:'content-type'] = 'application/json'
1200
+ header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
1201
+ # rubocop:enable Style/NegatedIf
1202
+
1203
+ post_body = nil
1204
+
1205
+ # rubocop:disable Metrics/BlockLength
1206
+ OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'ApplicationDependencyManagementClient#get_remediation_recipe') do
1207
+ @api_client.call_api(
1208
+ :GET,
1209
+ path,
1210
+ endpoint,
1211
+ header_params: header_params,
1212
+ query_params: query_params,
1213
+ operation_signing_strategy: operation_signing_strategy,
1214
+ body: post_body,
1215
+ return_type: 'OCI::Adm::Models::RemediationRecipe'
1216
+ )
1217
+ end
1218
+ # rubocop:enable Metrics/BlockLength
1219
+ end
1220
+ # rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
1221
+ # rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
1222
+ # rubocop:enable Metrics/MethodLength, Layout/EmptyLines
1223
+
1224
+ # rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
1225
+ # rubocop:disable Style/IfUnlessModifier, Metrics/ParameterLists
1226
+ # rubocop:disable Metrics/MethodLength, Layout/EmptyLines
1227
+
1228
+
1229
+ # Returns the details of the specified remediation run.
1230
+ # @param [String] remediation_run_id Unique Remediation Run identifier path parameter.
1231
+ # @param [Hash] opts the optional parameters
1232
+ # @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
1233
+ # retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
1234
+ # @option opts [String] :opc_request_id The client request ID for tracing.
1235
+ # @return [Response] A Response object with data of type {OCI::Adm::Models::RemediationRun RemediationRun}
1236
+ # @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/adm/get_remediation_run.rb.html) to see an example of how to use get_remediation_run API.
1237
+ def get_remediation_run(remediation_run_id, opts = {})
1238
+ logger.debug 'Calling operation ApplicationDependencyManagementClient#get_remediation_run.' if logger
1239
+
1240
+ raise "Missing the required parameter 'remediation_run_id' when calling get_remediation_run." if remediation_run_id.nil?
1241
+ raise "Parameter value for 'remediation_run_id' must not be blank" if OCI::Internal::Util.blank_string?(remediation_run_id)
1242
+
1243
+ path = '/remediationRuns/{remediationRunId}'.sub('{remediationRunId}', remediation_run_id.to_s)
1244
+ operation_signing_strategy = :standard
1245
+
1246
+ # rubocop:disable Style/NegatedIf
1247
+ # Query Params
1248
+ query_params = {}
1249
+
1250
+ # Header Params
1251
+ header_params = {}
1252
+ header_params[:accept] = 'application/json'
1253
+ header_params[:'content-type'] = 'application/json'
1254
+ header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
1255
+ # rubocop:enable Style/NegatedIf
1256
+
1257
+ post_body = nil
1258
+
1259
+ # rubocop:disable Metrics/BlockLength
1260
+ OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'ApplicationDependencyManagementClient#get_remediation_run') do
1261
+ @api_client.call_api(
1262
+ :GET,
1263
+ path,
1264
+ endpoint,
1265
+ header_params: header_params,
1266
+ query_params: query_params,
1267
+ operation_signing_strategy: operation_signing_strategy,
1268
+ body: post_body,
1269
+ return_type: 'OCI::Adm::Models::RemediationRun'
1270
+ )
1271
+ end
1272
+ # rubocop:enable Metrics/BlockLength
1273
+ end
1274
+ # rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
1275
+ # rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
1276
+ # rubocop:enable Metrics/MethodLength, Layout/EmptyLines
1277
+
1278
+ # rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
1279
+ # rubocop:disable Style/IfUnlessModifier, Metrics/ParameterLists
1280
+ # rubocop:disable Metrics/MethodLength, Layout/EmptyLines
1281
+
1282
+
1283
+ # Returns the details of the specified Remediation Run Stage.
1284
+ # @param [String] remediation_run_id Unique Remediation Run identifier path parameter.
1285
+ # @param [String] stage_type The type of Remediation Run Stage, as a URL path parameter.
1286
+ # @param [Hash] opts the optional parameters
1287
+ # @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
1288
+ # retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
1289
+ # @option opts [String] :opc_request_id The client request ID for tracing.
1290
+ # @return [Response] A Response object with data of type {OCI::Adm::Models::RemediationRunStage RemediationRunStage}
1291
+ # @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/adm/get_stage.rb.html) to see an example of how to use get_stage API.
1292
+ def get_stage(remediation_run_id, stage_type, opts = {})
1293
+ logger.debug 'Calling operation ApplicationDependencyManagementClient#get_stage.' if logger
1294
+
1295
+ raise "Missing the required parameter 'remediation_run_id' when calling get_stage." if remediation_run_id.nil?
1296
+ raise "Missing the required parameter 'stage_type' when calling get_stage." if stage_type.nil?
1297
+ unless OCI::Adm::Models::REMEDIATION_RUN_STAGE_TYPE_ENUM.include?(stage_type)
1298
+ raise 'Invalid value for "stage_type", must be one of the values in OCI::Adm::Models::REMEDIATION_RUN_STAGE_TYPE_ENUM.'
1299
+ end
1300
+
1301
+ raise "Parameter value for 'remediation_run_id' must not be blank" if OCI::Internal::Util.blank_string?(remediation_run_id)
1302
+ raise "Parameter value for 'stage_type' must not be blank" if OCI::Internal::Util.blank_string?(stage_type)
1303
+
1304
+ path = '/remediationRuns/{remediationRunId}/stages/{stageType}'.sub('{remediationRunId}', remediation_run_id.to_s).sub('{stageType}', stage_type.to_s)
1305
+ operation_signing_strategy = :standard
1306
+
1307
+ # rubocop:disable Style/NegatedIf
1308
+ # Query Params
1309
+ query_params = {}
1310
+
1311
+ # Header Params
1312
+ header_params = {}
1313
+ header_params[:accept] = 'application/json'
1314
+ header_params[:'content-type'] = 'application/json'
1315
+ header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
1316
+ # rubocop:enable Style/NegatedIf
1317
+
1318
+ post_body = nil
1319
+
1320
+ # rubocop:disable Metrics/BlockLength
1321
+ OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'ApplicationDependencyManagementClient#get_stage') do
1322
+ @api_client.call_api(
1323
+ :GET,
1324
+ path,
1325
+ endpoint,
1326
+ header_params: header_params,
1327
+ query_params: query_params,
1328
+ operation_signing_strategy: operation_signing_strategy,
1329
+ body: post_body,
1330
+ return_type: 'OCI::Adm::Models::RemediationRunStage'
1331
+ )
1332
+ end
1333
+ # rubocop:enable Metrics/BlockLength
1334
+ end
1335
+ # rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
1336
+ # rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
1337
+ # rubocop:enable Metrics/MethodLength, Layout/EmptyLines
1338
+
1339
+ # rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
1340
+ # rubocop:disable Style/IfUnlessModifier, Metrics/ParameterLists
1341
+ # rubocop:disable Metrics/MethodLength, Layout/EmptyLines
1342
+
1343
+
1344
+ # Returns the details of the specified Vulnerability Audit.
1345
+ # @param [String] vulnerability_audit_id Unique Vulnerability Audit identifier path parameter.
1346
+ # @param [Hash] opts the optional parameters
1347
+ # @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
1348
+ # retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
1349
+ # @option opts [String] :opc_request_id The client request ID for tracing.
1350
+ # @return [Response] A Response object with data of type {OCI::Adm::Models::VulnerabilityAudit VulnerabilityAudit}
1351
+ # @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/adm/get_vulnerability_audit.rb.html) to see an example of how to use get_vulnerability_audit API.
1352
+ def get_vulnerability_audit(vulnerability_audit_id, opts = {})
1353
+ logger.debug 'Calling operation ApplicationDependencyManagementClient#get_vulnerability_audit.' if logger
1354
+
1355
+ raise "Missing the required parameter 'vulnerability_audit_id' when calling get_vulnerability_audit." if vulnerability_audit_id.nil?
1356
+ raise "Parameter value for 'vulnerability_audit_id' must not be blank" if OCI::Internal::Util.blank_string?(vulnerability_audit_id)
1357
+
1358
+ path = '/vulnerabilityAudits/{vulnerabilityAuditId}'.sub('{vulnerabilityAuditId}', vulnerability_audit_id.to_s)
1359
+ operation_signing_strategy = :standard
1360
+
1361
+ # rubocop:disable Style/NegatedIf
1362
+ # Query Params
1363
+ query_params = {}
1364
+
1365
+ # Header Params
1366
+ header_params = {}
1367
+ header_params[:accept] = 'application/json'
1368
+ header_params[:'content-type'] = 'application/json'
1369
+ header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
1370
+ # rubocop:enable Style/NegatedIf
1371
+
1372
+ post_body = nil
1373
+
1374
+ # rubocop:disable Metrics/BlockLength
1375
+ OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'ApplicationDependencyManagementClient#get_vulnerability_audit') do
1376
+ @api_client.call_api(
1377
+ :GET,
1378
+ path,
1379
+ endpoint,
1380
+ header_params: header_params,
1381
+ query_params: query_params,
1382
+ operation_signing_strategy: operation_signing_strategy,
1383
+ body: post_body,
1384
+ return_type: 'OCI::Adm::Models::VulnerabilityAudit'
1385
+ )
1386
+ end
1387
+ # rubocop:enable Metrics/BlockLength
1388
+ end
1389
+ # rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
1390
+ # rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
1391
+ # rubocop:enable Metrics/MethodLength, Layout/EmptyLines
1392
+
1393
+ # rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
1394
+ # rubocop:disable Style/IfUnlessModifier, Metrics/ParameterLists
1395
+ # rubocop:disable Metrics/MethodLength, Layout/EmptyLines
1396
+
1397
+
1398
+ # Gets the status of the work request with the given ID.
1399
+ # @param [String] work_request_id The Oracle Cloud Identifier ([OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm)) of the asynchronous request.
1400
+ # @param [Hash] opts the optional parameters
1401
+ # @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
1402
+ # retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
1403
+ # @option opts [String] :opc_request_id The client request ID for tracing.
1404
+ # @return [Response] A Response object with data of type {OCI::Adm::Models::WorkRequest WorkRequest}
1405
+ # @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/adm/get_work_request.rb.html) to see an example of how to use get_work_request API.
1406
+ def get_work_request(work_request_id, opts = {})
1407
+ logger.debug 'Calling operation ApplicationDependencyManagementClient#get_work_request.' if logger
1408
+
1409
+ raise "Missing the required parameter 'work_request_id' when calling get_work_request." if work_request_id.nil?
1410
+ raise "Parameter value for 'work_request_id' must not be blank" if OCI::Internal::Util.blank_string?(work_request_id)
1411
+
1412
+ path = '/workRequests/{workRequestId}'.sub('{workRequestId}', work_request_id.to_s)
1413
+ operation_signing_strategy = :standard
1414
+
1415
+ # rubocop:disable Style/NegatedIf
1416
+ # Query Params
1417
+ query_params = {}
1418
+
1419
+ # Header Params
1420
+ header_params = {}
1421
+ header_params[:accept] = 'application/json'
1422
+ header_params[:'content-type'] = 'application/json'
1423
+ header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
1424
+ # rubocop:enable Style/NegatedIf
1425
+
1426
+ post_body = nil
1427
+
1428
+ # rubocop:disable Metrics/BlockLength
1429
+ OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'ApplicationDependencyManagementClient#get_work_request') do
1430
+ @api_client.call_api(
1431
+ :GET,
1432
+ path,
1433
+ endpoint,
1434
+ header_params: header_params,
1435
+ query_params: query_params,
1436
+ operation_signing_strategy: operation_signing_strategy,
1437
+ body: post_body,
1438
+ return_type: 'OCI::Adm::Models::WorkRequest'
1439
+ )
1440
+ end
1441
+ # rubocop:enable Metrics/BlockLength
1442
+ end
1443
+ # rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
1444
+ # rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
1445
+ # rubocop:enable Metrics/MethodLength, Layout/EmptyLines
1446
+
1447
+ # rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
1448
+ # rubocop:disable Style/IfUnlessModifier, Metrics/ParameterLists
1449
+ # rubocop:disable Metrics/MethodLength, Layout/EmptyLines
1450
+
1451
+
1452
+ # Returns a list of application dependency with their associated recommendations.
1453
+ # @param [String] remediation_run_id Unique Remediation Run identifier path parameter.
1454
+ # @param [Hash] opts the optional parameters
1455
+ # @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
1456
+ # retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
1457
+ # @option opts [String] :opc_request_id The client request ID for tracing.
1458
+ # @option opts [Integer] :limit The maximum number of items to return. (default to 100)
1459
+ # @option opts [String] :page A token representing the position at which to start retrieving results. This must come from the `opc-next-page` header field of a previous response.
1460
+ # @option opts [String] :sort_order The sort order to use, either 'ASC' or 'DESC'.
1461
+ # @option opts [String] :gav A filter to return only resources that match the entire GAV (Group Artifact Version) identifier given.
1462
+ # @option opts [String] :sort_by The field to sort by. Only one sort order may be provided.
1463
+ # If sort order is dfs, the nodes are returned by going through the application dependency tree in a depth-first manner. Children are sorted based on their GAV property alphabetically (either ascending or descending, depending on the order parameter). Default order is ascending.
1464
+ # If sort order is bfs, the nodes are returned by going through the application dependency tree in a breadth-first manner. Children are sorted based on their GAV property alphabetically (either ascending or descending, depending on the order parameter). Default order is ascending.
1465
+ # Default order for gav is ascending where ascending corresponds to alphanumerical order.
1466
+ # Default order for nodeId is ascending where ascending corresponds to alphanumerical order.
1467
+ # Sorting by DFS or BFS cannot be used in conjunction with the following query parameters: \"gav\", \"cvssV2GreaterThanOrEqual\", \"cvssV3GreaterThanOrEqual\" and \"vulnerabilityId\".
1468
+ # (default to gav)
1469
+ # Allowed values are: gav, nodeId, dfs, bfs
1470
+ # @return [Response] A Response object with data of type {OCI::Adm::Models::ApplicationDependencyRecommendationCollection ApplicationDependencyRecommendationCollection}
1471
+ # @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/adm/list_application_dependency_recommendations.rb.html) to see an example of how to use list_application_dependency_recommendations API.
1472
+ def list_application_dependency_recommendations(remediation_run_id, opts = {})
1473
+ logger.debug 'Calling operation ApplicationDependencyManagementClient#list_application_dependency_recommendations.' if logger
1474
+
1475
+ raise "Missing the required parameter 'remediation_run_id' when calling list_application_dependency_recommendations." if remediation_run_id.nil?
1476
+
1477
+ if opts[:sort_order] && !OCI::Adm::Models::SORT_ORDER_ENUM.include?(opts[:sort_order])
1478
+ raise 'Invalid value for "sort_order", must be one of the values in OCI::Adm::Models::SORT_ORDER_ENUM.'
1479
+ end
1480
+
1481
+ if opts[:sort_by] && !%w[gav nodeId dfs bfs].include?(opts[:sort_by])
1482
+ raise 'Invalid value for "sort_by", must be one of gav, nodeId, dfs, bfs.'
1483
+ end
1484
+ raise "Parameter value for 'remediation_run_id' must not be blank" if OCI::Internal::Util.blank_string?(remediation_run_id)
1485
+
1486
+ path = '/remediationRuns/{remediationRunId}/applicationDependencyRecommendations'.sub('{remediationRunId}', remediation_run_id.to_s)
1487
+ operation_signing_strategy = :standard
1488
+
1489
+ # rubocop:disable Style/NegatedIf
1490
+ # Query Params
1491
+ query_params = {}
1492
+ query_params[:limit] = opts[:limit] if opts[:limit]
1493
+ query_params[:page] = opts[:page] if opts[:page]
1494
+ query_params[:sortOrder] = opts[:sort_order] if opts[:sort_order]
1495
+ query_params[:gav] = opts[:gav] if opts[:gav]
1496
+ query_params[:sortBy] = opts[:sort_by] if opts[:sort_by]
1497
+
1498
+ # Header Params
1499
+ header_params = {}
1500
+ header_params[:accept] = 'application/json'
1501
+ header_params[:'content-type'] = 'application/json'
1502
+ header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
1503
+ # rubocop:enable Style/NegatedIf
1504
+
1505
+ post_body = nil
1506
+
1507
+ # rubocop:disable Metrics/BlockLength
1508
+ OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'ApplicationDependencyManagementClient#list_application_dependency_recommendations') do
1509
+ @api_client.call_api(
1510
+ :GET,
1511
+ path,
1512
+ endpoint,
1513
+ header_params: header_params,
1514
+ query_params: query_params,
1515
+ operation_signing_strategy: operation_signing_strategy,
1516
+ body: post_body,
1517
+ return_type: 'OCI::Adm::Models::ApplicationDependencyRecommendationCollection'
1518
+ )
1519
+ end
1520
+ # rubocop:enable Metrics/BlockLength
1521
+ end
1522
+ # rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
1523
+ # rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
1524
+ # rubocop:enable Metrics/MethodLength, Layout/EmptyLines
1525
+
1526
+ # rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
1527
+ # rubocop:disable Style/IfUnlessModifier, Metrics/ParameterLists
1528
+ # rubocop:disable Metrics/MethodLength, Layout/EmptyLines
1529
+
1530
+
1531
+ # Returns a list of Application Dependencies with their associated vulnerabilities.
1532
+ # @param [String] vulnerability_audit_id Unique Vulnerability Audit identifier path parameter.
1533
+ # @param [Hash] opts the optional parameters
1534
+ # @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
1535
+ # retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
1536
+ # @option opts [String] :vulnerability_id A filter to return only Vulnerability Audits that match the specified id.
1537
+ # @option opts [Float] :cvss_v3_greater_than_or_equal A filter that returns only Vulnerability Audits that have a Common Vulnerability Scoring System Version 3 (CVSS V3) greater or equal than the specified value.
1538
+ # (default to 0)
1539
+ # @option opts [Float] :cvss_v2_greater_than_or_equal A filter that returns only Vulnerability Audits that have a Common Vulnerability Scoring System Version 2 (CVSS V2) greater or equal than the specified value.
1540
+ # (default to 0)
1541
+ # @option opts [Integer] :limit The maximum number of items to return. (default to 100)
1542
+ # @option opts [String] :page A token representing the position at which to start retrieving results. This must come from the `opc-next-page` header field of a previous response.
1543
+ # @option opts [String] :sort_order The sort order to use, either 'ASC' or 'DESC'.
1544
+ # @option opts [String] :sort_by The field to sort by. Only one sort order may be provided.
1545
+ # If sort order is dfs, the nodes are returned by going through the application dependency tree in a depth-first manner. Children are sorted based on their GAV property alphabetically (either ascending or descending, depending on the order parameter). Default order is ascending.
1546
+ # If sort order is bfs, the nodes are returned by going through the application dependency tree in a breadth-first manner. Children are sorted based on their GAV property alphabetically (either ascending or descending, depending on the order parameter). Default order is ascending.
1547
+ # Default order for gav is ascending where ascending corresponds to alphanumerical order.
1548
+ # Default order for nodeId is ascending where ascending corresponds to alphanumerical order.
1549
+ # Sorting by DFS or BFS cannot be used in conjunction with the following query parameters: \"gav\", \"cvssV2GreaterThanOrEqual\", \"cvssV3GreaterThanOrEqual\" and \"vulnerabilityId\".
1550
+ # (default to gav)
1551
+ # Allowed values are: gav, nodeId, dfs, bfs
1552
+ # @option opts [String] :root_node_id A filter to override the top level root identifier with the new given value. The application dependency tree will only be traversed from the given node.
1553
+ # Query parameters \"cvssV2GreaterThanOrEqual\", \"cvssV3GreaterThanOrEqual\", \"gav\" and \"vulnerabilityId\" cannot be used in conjunction with this parameter.
1554
+ # (default to null)
1555
+ # @option opts [Integer] :depth A filter to limit depth of the application dependencies tree traversal.
1556
+ # Additionally query parameters such as \"cvssV2GreaterThanOrEqual\", \"cvssV3GreaterThanOrEqual\", \"gav\" and \"vulnerabilityId\" can't be used in conjunction with this latter.
1557
+ #
1558
+ # @option opts [String] :gav A filter to return only resources that match the entire GAV (Group Artifact Version) identifier given.
1559
+ # @option opts [String] :opc_request_id The client request ID for tracing.
1560
+ # @return [Response] A Response object with data of type {OCI::Adm::Models::ApplicationDependencyVulnerabilityCollection ApplicationDependencyVulnerabilityCollection}
1561
+ # @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/adm/list_application_dependency_vulnerabilities.rb.html) to see an example of how to use list_application_dependency_vulnerabilities API.
1562
+ def list_application_dependency_vulnerabilities(vulnerability_audit_id, opts = {})
1563
+ logger.debug 'Calling operation ApplicationDependencyManagementClient#list_application_dependency_vulnerabilities.' if logger
1564
+
1565
+ raise "Missing the required parameter 'vulnerability_audit_id' when calling list_application_dependency_vulnerabilities." if vulnerability_audit_id.nil?
1566
+
1567
+ if opts[:sort_order] && !OCI::Adm::Models::SORT_ORDER_ENUM.include?(opts[:sort_order])
1568
+ raise 'Invalid value for "sort_order", must be one of the values in OCI::Adm::Models::SORT_ORDER_ENUM.'
1569
+ end
1570
+
1571
+ if opts[:sort_by] && !%w[gav nodeId dfs bfs].include?(opts[:sort_by])
1572
+ raise 'Invalid value for "sort_by", must be one of gav, nodeId, dfs, bfs.'
1573
+ end
1574
+ raise "Parameter value for 'vulnerability_audit_id' must not be blank" if OCI::Internal::Util.blank_string?(vulnerability_audit_id)
1575
+
1576
+ path = '/vulnerabilityAudits/{vulnerabilityAuditId}/applicationDependencyVulnerabilities'.sub('{vulnerabilityAuditId}', vulnerability_audit_id.to_s)
1577
+ operation_signing_strategy = :standard
1578
+
1579
+ # rubocop:disable Style/NegatedIf
1580
+ # Query Params
1581
+ query_params = {}
1582
+ query_params[:vulnerabilityId] = opts[:vulnerability_id] if opts[:vulnerability_id]
1583
+ query_params[:cvssV3GreaterThanOrEqual] = opts[:cvss_v3_greater_than_or_equal] if opts[:cvss_v3_greater_than_or_equal]
1584
+ query_params[:cvssV2GreaterThanOrEqual] = opts[:cvss_v2_greater_than_or_equal] if opts[:cvss_v2_greater_than_or_equal]
1585
+ query_params[:limit] = opts[:limit] if opts[:limit]
1586
+ query_params[:page] = opts[:page] if opts[:page]
1587
+ query_params[:sortOrder] = opts[:sort_order] if opts[:sort_order]
1588
+ query_params[:sortBy] = opts[:sort_by] if opts[:sort_by]
1589
+ query_params[:rootNodeId] = opts[:root_node_id] if opts[:root_node_id]
1590
+ query_params[:depth] = opts[:depth] if opts[:depth]
1591
+ query_params[:gav] = opts[:gav] if opts[:gav]
1592
+
1593
+ # Header Params
1594
+ header_params = {}
1595
+ header_params[:accept] = 'application/json'
1596
+ header_params[:'content-type'] = 'application/json'
1597
+ header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
1598
+ # rubocop:enable Style/NegatedIf
1599
+
1600
+ post_body = nil
1601
+
1602
+ # rubocop:disable Metrics/BlockLength
1603
+ OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'ApplicationDependencyManagementClient#list_application_dependency_vulnerabilities') do
1604
+ @api_client.call_api(
1605
+ :GET,
1606
+ path,
1607
+ endpoint,
1608
+ header_params: header_params,
1609
+ query_params: query_params,
1610
+ operation_signing_strategy: operation_signing_strategy,
1611
+ body: post_body,
1612
+ return_type: 'OCI::Adm::Models::ApplicationDependencyVulnerabilityCollection'
1613
+ )
1614
+ end
1615
+ # rubocop:enable Metrics/BlockLength
1616
+ end
1617
+ # rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
1618
+ # rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
1619
+ # rubocop:enable Metrics/MethodLength, Layout/EmptyLines
1620
+
1621
+ # rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
1622
+ # rubocop:disable Style/IfUnlessModifier, Metrics/ParameterLists
1623
+ # rubocop:disable Metrics/MethodLength, Layout/EmptyLines
1624
+
1625
+
1626
+ # Returns a list of KnowledgeBases based on the specified query parameters.
1627
+ # At least id or compartmentId query parameter must be provided.
1628
+ #
1629
+ # @param [Hash] opts the optional parameters
1630
+ # @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
1631
+ # retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
1632
+ # @option opts [String] :id A filter to return only resources that match the specified identifier.
1633
+ # Required only if the compartmentId query parameter is not specified.
1634
+ #
1635
+ # @option opts [String] :sort_by The field used to sort Knowledge Bases. Only one sort order is allowed.
1636
+ # Default order for _displayName_ is **ascending alphabetical order**.
1637
+ # Default order for _lifecyleState_ is the following sequence: **CREATING, ACTIVE, UPDATING, FAILED, DELETING, and DELETED**.Default order for _timeCreated_ is **descending**.
1638
+ # Default order for _timeUpdated_ is **descending**.
1639
+ # (default to timeCreated)
1640
+ # Allowed values are: DISPLAY_NAME, LIFECYCLE_STATE, TIME_CREATED, TIME_UPDATED
1641
+ # @option opts [String] :lifecycle_state A filter to return only Knowledge Bases that match the specified lifecycleState.
1642
+ # @option opts [String] :sort_order The sort order to use, either 'ASC' or 'DESC'.
1643
+ # @option opts [String] :display_name A filter to return only resources that match the entire display name given.
1644
+ # @option opts [Integer] :limit The maximum number of items to return. (default to 100)
1645
+ # @option opts [String] :page A token representing the position at which to start retrieving results. This must come from the `opc-next-page` header field of a previous response.
1646
+ # @option opts [String] :compartment_id A filter to return only resources that belong to the specified compartment identifier.
1647
+ # Required only if the id query param is not specified.
1648
+ #
1649
+ # @option opts [String] :opc_request_id The client request ID for tracing.
1650
+ # @return [Response] A Response object with data of type {OCI::Adm::Models::KnowledgeBaseCollection KnowledgeBaseCollection}
1651
+ # @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/adm/list_knowledge_bases.rb.html) to see an example of how to use list_knowledge_bases API.
1652
+ def list_knowledge_bases(opts = {})
1653
+ logger.debug 'Calling operation ApplicationDependencyManagementClient#list_knowledge_bases.' if logger
1654
+
1655
+
1656
+ if opts[:sort_by] && !%w[DISPLAY_NAME LIFECYCLE_STATE TIME_CREATED TIME_UPDATED].include?(opts[:sort_by])
1657
+ raise 'Invalid value for "sort_by", must be one of DISPLAY_NAME, LIFECYCLE_STATE, TIME_CREATED, TIME_UPDATED.'
1658
+ end
1659
+
1660
+ if opts[:lifecycle_state] && !OCI::Adm::Models::KnowledgeBase::LIFECYCLE_STATE_ENUM.include?(opts[:lifecycle_state])
1661
+ raise 'Invalid value for "lifecycle_state", must be one of the values in OCI::Adm::Models::KnowledgeBase::LIFECYCLE_STATE_ENUM.'
1662
+ end
615
1663
 
616
- raise "Missing the required parameter 'vulnerability_audit_id' when calling get_vulnerability_audit." if vulnerability_audit_id.nil?
617
- raise "Parameter value for 'vulnerability_audit_id' must not be blank" if OCI::Internal::Util.blank_string?(vulnerability_audit_id)
1664
+ if opts[:sort_order] && !OCI::Adm::Models::SORT_ORDER_ENUM.include?(opts[:sort_order])
1665
+ raise 'Invalid value for "sort_order", must be one of the values in OCI::Adm::Models::SORT_ORDER_ENUM.'
1666
+ end
618
1667
 
619
- path = '/vulnerabilityAudits/{vulnerabilityAuditId}'.sub('{vulnerabilityAuditId}', vulnerability_audit_id.to_s)
1668
+ path = '/knowledgeBases'
620
1669
  operation_signing_strategy = :standard
621
1670
 
622
1671
  # rubocop:disable Style/NegatedIf
623
1672
  # Query Params
624
1673
  query_params = {}
1674
+ query_params[:id] = opts[:id] if opts[:id]
1675
+ query_params[:sortBy] = opts[:sort_by] if opts[:sort_by]
1676
+ query_params[:lifecycleState] = opts[:lifecycle_state] if opts[:lifecycle_state]
1677
+ query_params[:sortOrder] = opts[:sort_order] if opts[:sort_order]
1678
+ query_params[:displayName] = opts[:display_name] if opts[:display_name]
1679
+ query_params[:limit] = opts[:limit] if opts[:limit]
1680
+ query_params[:page] = opts[:page] if opts[:page]
1681
+ query_params[:compartmentId] = opts[:compartment_id] if opts[:compartment_id]
625
1682
 
626
1683
  # Header Params
627
1684
  header_params = {}
@@ -633,7 +1690,7 @@ module OCI
633
1690
  post_body = nil
634
1691
 
635
1692
  # rubocop:disable Metrics/BlockLength
636
- OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'ApplicationDependencyManagementClient#get_vulnerability_audit') do
1693
+ OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'ApplicationDependencyManagementClient#list_knowledge_bases') do
637
1694
  @api_client.call_api(
638
1695
  :GET,
639
1696
  path,
@@ -642,7 +1699,7 @@ module OCI
642
1699
  query_params: query_params,
643
1700
  operation_signing_strategy: operation_signing_strategy,
644
1701
  body: post_body,
645
- return_type: 'OCI::Adm::Models::VulnerabilityAudit'
1702
+ return_type: 'OCI::Adm::Models::KnowledgeBaseCollection'
646
1703
  )
647
1704
  end
648
1705
  # rubocop:enable Metrics/BlockLength
@@ -656,26 +1713,64 @@ module OCI
656
1713
  # rubocop:disable Metrics/MethodLength, Layout/EmptyLines
657
1714
 
658
1715
 
659
- # Gets the status of the work request with the given ID.
660
- # @param [String] work_request_id The Oracle Cloud Identifier ([OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm)) of the asynchronous request.
1716
+ # Returns a list of Remediation Recipes based on the specified query parameters.
1717
+ # The query parameters `compartmentId` or `id` must be provided.
1718
+ #
661
1719
  # @param [Hash] opts the optional parameters
662
1720
  # @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
663
1721
  # retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
1722
+ # @option opts [String] :id A filter to return only resources that match the specified identifier.
1723
+ # Required only if the compartmentId query parameter is not specified.
1724
+ #
1725
+ # @option opts [String] :sort_by The field used to sort Remediation Recipes. Only one sort order is allowed.
1726
+ # Default order for _displayName_ is **ascending alphabetical order**.
1727
+ # Default order for _lifecyleState_ is the following sequence: **CREATING, ACTIVE, UPDATING, INACTIVE, FAILED, DELETING, and DELETED**.
1728
+ # Default order for _timeCreated_ is **descending**.
1729
+ # Default order for _timeUpdated_ is **descending**.
1730
+ # Default order for _type_ is the following sequence: **ADM**.
1731
+ # (default to timeCreated)
1732
+ # Allowed values are: DISPLAY_NAME, LIFECYCLE_STATE, TIME_CREATED, TIME_UPDATED, TYPE
1733
+ # @option opts [String] :lifecycle_state A filter to return only Remediation Recipes that match the specified lifecycleState.
1734
+ # @option opts [String] :sort_order The sort order to use, either 'ASC' or 'DESC'.
1735
+ # @option opts [String] :display_name A filter to return only resources that match the entire display name given.
1736
+ # @option opts [Integer] :limit The maximum number of items to return. (default to 100)
1737
+ # @option opts [String] :page A token representing the position at which to start retrieving results. This must come from the `opc-next-page` header field of a previous response.
1738
+ # @option opts [String] :compartment_id A filter to return only resources that belong to the specified compartment identifier.
1739
+ # Required only if the id query param is not specified.
1740
+ #
664
1741
  # @option opts [String] :opc_request_id The client request ID for tracing.
665
- # @return [Response] A Response object with data of type {OCI::Adm::Models::WorkRequest WorkRequest}
666
- # @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/adm/get_work_request.rb.html) to see an example of how to use get_work_request API.
667
- def get_work_request(work_request_id, opts = {})
668
- logger.debug 'Calling operation ApplicationDependencyManagementClient#get_work_request.' if logger
1742
+ # @return [Response] A Response object with data of type {OCI::Adm::Models::RemediationRecipeCollection RemediationRecipeCollection}
1743
+ # @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/adm/list_remediation_recipes.rb.html) to see an example of how to use list_remediation_recipes API.
1744
+ def list_remediation_recipes(opts = {})
1745
+ logger.debug 'Calling operation ApplicationDependencyManagementClient#list_remediation_recipes.' if logger
669
1746
 
670
- raise "Missing the required parameter 'work_request_id' when calling get_work_request." if work_request_id.nil?
671
- raise "Parameter value for 'work_request_id' must not be blank" if OCI::Internal::Util.blank_string?(work_request_id)
672
1747
 
673
- path = '/workRequests/{workRequestId}'.sub('{workRequestId}', work_request_id.to_s)
1748
+ if opts[:sort_by] && !%w[DISPLAY_NAME LIFECYCLE_STATE TIME_CREATED TIME_UPDATED TYPE].include?(opts[:sort_by])
1749
+ raise 'Invalid value for "sort_by", must be one of DISPLAY_NAME, LIFECYCLE_STATE, TIME_CREATED, TIME_UPDATED, TYPE.'
1750
+ end
1751
+
1752
+ if opts[:lifecycle_state] && !OCI::Adm::Models::RemediationRecipe::LIFECYCLE_STATE_ENUM.include?(opts[:lifecycle_state])
1753
+ raise 'Invalid value for "lifecycle_state", must be one of the values in OCI::Adm::Models::RemediationRecipe::LIFECYCLE_STATE_ENUM.'
1754
+ end
1755
+
1756
+ if opts[:sort_order] && !OCI::Adm::Models::SORT_ORDER_ENUM.include?(opts[:sort_order])
1757
+ raise 'Invalid value for "sort_order", must be one of the values in OCI::Adm::Models::SORT_ORDER_ENUM.'
1758
+ end
1759
+
1760
+ path = '/remediationRecipes'
674
1761
  operation_signing_strategy = :standard
675
1762
 
676
1763
  # rubocop:disable Style/NegatedIf
677
1764
  # Query Params
678
1765
  query_params = {}
1766
+ query_params[:id] = opts[:id] if opts[:id]
1767
+ query_params[:sortBy] = opts[:sort_by] if opts[:sort_by]
1768
+ query_params[:lifecycleState] = opts[:lifecycle_state] if opts[:lifecycle_state]
1769
+ query_params[:sortOrder] = opts[:sort_order] if opts[:sort_order]
1770
+ query_params[:displayName] = opts[:display_name] if opts[:display_name]
1771
+ query_params[:limit] = opts[:limit] if opts[:limit]
1772
+ query_params[:page] = opts[:page] if opts[:page]
1773
+ query_params[:compartmentId] = opts[:compartment_id] if opts[:compartment_id]
679
1774
 
680
1775
  # Header Params
681
1776
  header_params = {}
@@ -687,7 +1782,7 @@ module OCI
687
1782
  post_body = nil
688
1783
 
689
1784
  # rubocop:disable Metrics/BlockLength
690
- OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'ApplicationDependencyManagementClient#get_work_request') do
1785
+ OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'ApplicationDependencyManagementClient#list_remediation_recipes') do
691
1786
  @api_client.call_api(
692
1787
  :GET,
693
1788
  path,
@@ -696,7 +1791,7 @@ module OCI
696
1791
  query_params: query_params,
697
1792
  operation_signing_strategy: operation_signing_strategy,
698
1793
  body: post_body,
699
- return_type: 'OCI::Adm::Models::WorkRequest'
1794
+ return_type: 'OCI::Adm::Models::RemediationRecipeCollection'
700
1795
  )
701
1796
  end
702
1797
  # rubocop:enable Metrics/BlockLength
@@ -710,67 +1805,67 @@ module OCI
710
1805
  # rubocop:disable Metrics/MethodLength, Layout/EmptyLines
711
1806
 
712
1807
 
713
- # Returns a list of Application Dependencies with their associated vulnerabilities.
714
- # @param [String] vulnerability_audit_id Unique Vulnerability Audit identifier path parameter.
1808
+ # Returns a list of remediation runs contained by a compartment.
1809
+ # The query parameter `compartmentId` is required unless the query parameter `id` is specified.
1810
+ #
715
1811
  # @param [Hash] opts the optional parameters
716
1812
  # @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
717
1813
  # retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
718
- # @option opts [String] :vulnerability_id A filter to return only Vulnerability Audits that match the specified id.
719
- # @option opts [Float] :cvss_v3_greater_than_or_equal A filter that returns only Vulnerability Audits that have a Common Vulnerability Scoring System Version 3 (CVSS V3) greater or equal than the specified value.
720
- # (default to 0)
721
- # @option opts [Float] :cvss_v2_greater_than_or_equal A filter that returns only Vulnerability Audits that have a Common Vulnerability Scoring System Version 2 (CVSS V2) greater or equal than the specified value.
722
- # (default to 0)
723
- # @option opts [Integer] :limit The maximum number of items to return. (default to 100)
724
- # @option opts [String] :page A token representing the position at which to start retrieving results. This must come from the `opc-next-page` header field of a previous response.
1814
+ # @option opts [String] :id A filter to return only resources that match the specified identifier.
1815
+ # Required only if the compartmentId query parameter is not specified.
1816
+ #
1817
+ # @option opts [String] :remediation_recipe_id A filter to return only resources that match the specified Remediation Recipe identifier.
1818
+ # @option opts [String] :lifecycle_state A filter to return only Remediation Runs that match the specified lifecycleState.
1819
+ # @option opts [String] :display_name A filter to return only resources that match the entire display name given.
725
1820
  # @option opts [String] :sort_order The sort order to use, either 'ASC' or 'DESC'.
726
- # @option opts [String] :sort_by The field to sort by. Only one sort order may be provided.
727
- # If sort order is dfs, the nodes are returned by going through the application dependency tree in a depth-first manner. Children are sorted based on their GAV property alphabetically (either ascending or descending, depending on the order parameter). Default order is ascending.
728
- # If sort order is bfs, the nodes are returned by going through the application dependency tree in a breadth-first manner. Children are sorted based on their GAV property alphabetically (either ascending or descending, depending on the order parameter). Default order is ascending.
729
- # Default order for gav is ascending where ascending corresponds to alphanumerical order.
730
- # Default order for nodeId is ascending where ascending corresponds to alphanumerical order.
731
- # Sorting by DFS or BFS cannot be used in conjunction with the following query parameters: \"gav\", \"cvssV2GreaterThanOrEqual\", \"cvssV3GreaterThanOrEqual\" and \"vulnerabilityId\".
732
- # (default to gav)
733
- # Allowed values are: gav, nodeId, dfs, bfs
734
- # @option opts [String] :root_node_id A filter to override the top level root identifier with the new given value. The application dependency tree will only be traversed from the given node.
735
- # Query parameters \"cvssV2GreaterThanOrEqual\", \"cvssV3GreaterThanOrEqual\", \"gav\" and \"vulnerabilityId\" cannot be used in conjunction with this parameter.
736
- # (default to null)
737
- # @option opts [Integer] :depth A filter to limit depth of the application dependencies tree traversal.
738
- # Additionally query parameters such as \"cvssV2GreaterThanOrEqual\", \"cvssV3GreaterThanOrEqual\", \"gav\" and \"vulnerabilityId\" can't be used in conjunction with this latter.
1821
+ # @option opts [String] :sort_by The field used to sort Remediation Runs. Only one sort order is allowed.
1822
+ # Default order for _timeCreated_ is **descending**.
1823
+ # Default order for _timeFinished_ is **descending**.
1824
+ # Default order for _timeStarted_ is **descending**.
1825
+ # Default order for _displayName_ is **ascending alphabetical order**.
1826
+ # Default order for _lifecycleState_ is the following sequence: **CREATING, ACTIVE, UPDATING, DELETING, DELETED, and FAILED**.
1827
+ # Default order for currentStageType is the following sequence: **DETECT, RECOMMEND, VERIFY, and APPLY**.
1828
+ # (default to timeCreated)
1829
+ # Allowed values are: timeCreated, timeFinished, timeStarted, displayName, lifecycleState, currentStageType
1830
+ # @option opts [String] :compartment_id A filter to return only resources that belong to the specified compartment identifier.
1831
+ # Required only if the id query param is not specified.
739
1832
  #
740
- # @option opts [String] :gav A filter to return only resources that match the entire GAV (Group Artifact Version) identifier given.
1833
+ # @option opts [Integer] :limit The maximum number of items to return. (default to 100)
1834
+ # @option opts [String] :page A token representing the position at which to start retrieving results. This must come from the `opc-next-page` header field of a previous response.
741
1835
  # @option opts [String] :opc_request_id The client request ID for tracing.
742
- # @return [Response] A Response object with data of type {OCI::Adm::Models::ApplicationDependencyVulnerabilityCollection ApplicationDependencyVulnerabilityCollection}
743
- # @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/adm/list_application_dependency_vulnerabilities.rb.html) to see an example of how to use list_application_dependency_vulnerabilities API.
744
- def list_application_dependency_vulnerabilities(vulnerability_audit_id, opts = {})
745
- logger.debug 'Calling operation ApplicationDependencyManagementClient#list_application_dependency_vulnerabilities.' if logger
1836
+ # @return [Response] A Response object with data of type {OCI::Adm::Models::RemediationRunCollection RemediationRunCollection}
1837
+ # @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/adm/list_remediation_runs.rb.html) to see an example of how to use list_remediation_runs API.
1838
+ def list_remediation_runs(opts = {})
1839
+ logger.debug 'Calling operation ApplicationDependencyManagementClient#list_remediation_runs.' if logger
746
1840
 
747
- raise "Missing the required parameter 'vulnerability_audit_id' when calling list_application_dependency_vulnerabilities." if vulnerability_audit_id.nil?
1841
+
1842
+ if opts[:lifecycle_state] && !OCI::Adm::Models::RemediationRun::LIFECYCLE_STATE_ENUM.include?(opts[:lifecycle_state])
1843
+ raise 'Invalid value for "lifecycle_state", must be one of the values in OCI::Adm::Models::RemediationRun::LIFECYCLE_STATE_ENUM.'
1844
+ end
748
1845
 
749
1846
  if opts[:sort_order] && !OCI::Adm::Models::SORT_ORDER_ENUM.include?(opts[:sort_order])
750
1847
  raise 'Invalid value for "sort_order", must be one of the values in OCI::Adm::Models::SORT_ORDER_ENUM.'
751
1848
  end
752
1849
 
753
- if opts[:sort_by] && !%w[gav nodeId dfs bfs].include?(opts[:sort_by])
754
- raise 'Invalid value for "sort_by", must be one of gav, nodeId, dfs, bfs.'
1850
+ if opts[:sort_by] && !%w[timeCreated timeFinished timeStarted displayName lifecycleState currentStageType].include?(opts[:sort_by])
1851
+ raise 'Invalid value for "sort_by", must be one of timeCreated, timeFinished, timeStarted, displayName, lifecycleState, currentStageType.'
755
1852
  end
756
- raise "Parameter value for 'vulnerability_audit_id' must not be blank" if OCI::Internal::Util.blank_string?(vulnerability_audit_id)
757
1853
 
758
- path = '/vulnerabilityAudits/{vulnerabilityAuditId}/applicationDependencyVulnerabilities'.sub('{vulnerabilityAuditId}', vulnerability_audit_id.to_s)
1854
+ path = '/remediationRuns'
759
1855
  operation_signing_strategy = :standard
760
1856
 
761
1857
  # rubocop:disable Style/NegatedIf
762
1858
  # Query Params
763
1859
  query_params = {}
764
- query_params[:vulnerabilityId] = opts[:vulnerability_id] if opts[:vulnerability_id]
765
- query_params[:cvssV3GreaterThanOrEqual] = opts[:cvss_v3_greater_than_or_equal] if opts[:cvss_v3_greater_than_or_equal]
766
- query_params[:cvssV2GreaterThanOrEqual] = opts[:cvss_v2_greater_than_or_equal] if opts[:cvss_v2_greater_than_or_equal]
767
- query_params[:limit] = opts[:limit] if opts[:limit]
768
- query_params[:page] = opts[:page] if opts[:page]
1860
+ query_params[:id] = opts[:id] if opts[:id]
1861
+ query_params[:remediationRecipeId] = opts[:remediation_recipe_id] if opts[:remediation_recipe_id]
1862
+ query_params[:lifecycleState] = opts[:lifecycle_state] if opts[:lifecycle_state]
1863
+ query_params[:displayName] = opts[:display_name] if opts[:display_name]
769
1864
  query_params[:sortOrder] = opts[:sort_order] if opts[:sort_order]
770
1865
  query_params[:sortBy] = opts[:sort_by] if opts[:sort_by]
771
- query_params[:rootNodeId] = opts[:root_node_id] if opts[:root_node_id]
772
- query_params[:depth] = opts[:depth] if opts[:depth]
773
- query_params[:gav] = opts[:gav] if opts[:gav]
1866
+ query_params[:compartmentId] = opts[:compartment_id] if opts[:compartment_id]
1867
+ query_params[:limit] = opts[:limit] if opts[:limit]
1868
+ query_params[:page] = opts[:page] if opts[:page]
774
1869
 
775
1870
  # Header Params
776
1871
  header_params = {}
@@ -782,7 +1877,7 @@ module OCI
782
1877
  post_body = nil
783
1878
 
784
1879
  # rubocop:disable Metrics/BlockLength
785
- OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'ApplicationDependencyManagementClient#list_application_dependency_vulnerabilities') do
1880
+ OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'ApplicationDependencyManagementClient#list_remediation_runs') do
786
1881
  @api_client.call_api(
787
1882
  :GET,
788
1883
  path,
@@ -791,7 +1886,7 @@ module OCI
791
1886
  query_params: query_params,
792
1887
  operation_signing_strategy: operation_signing_strategy,
793
1888
  body: post_body,
794
- return_type: 'OCI::Adm::Models::ApplicationDependencyVulnerabilityCollection'
1889
+ return_type: 'OCI::Adm::Models::RemediationRunCollection'
795
1890
  )
796
1891
  end
797
1892
  # rubocop:enable Metrics/BlockLength
@@ -805,58 +1900,61 @@ module OCI
805
1900
  # rubocop:disable Metrics/MethodLength, Layout/EmptyLines
806
1901
 
807
1902
 
808
- # Returns a list of KnowledgeBases based on the specified query parameters.
809
- # At least id or compartmentId query parameter must be provided.
810
- #
1903
+ # Returns a list of Remediation Run Stages based on the specified query parameters and Remediation Run identifier.
1904
+ # @param [String] remediation_run_id Unique Remediation Run identifier path parameter.
811
1905
  # @param [Hash] opts the optional parameters
812
1906
  # @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
813
1907
  # retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
814
- # @option opts [String] :id A filter to return only resources that match the specified identifier.
815
- # @option opts [String] :sort_by The field used to sort Knowledge Bases. Only one sort order is allowed.
816
- # Default order for _displayName_ is **ascending alphabetical order**.
817
- # Default order for _lifecyleState_ is the following sequence: **CREATING, ACTIVE, UPDATING, FAILED, DELETING, and DELETED**.Default order for _timeCreated_ is **descending**.
818
- # Default order for _timeUpdated_ is **descending**.
819
- # (default to timeCreated)
820
- # Allowed values are: DISPLAY_NAME, LIFECYCLE_STATE, TIME_CREATED, TIME_UPDATED
821
- # @option opts [String] :lifecycle_state A filter to return only Knowledge Bases that match the specified lifecycleState.
1908
+ # @option opts [String] :type A filter to return only Stages that match the specified type.
1909
+ # @option opts [String] :status A filter to return only Stages that match the specified status.
822
1910
  # @option opts [String] :sort_order The sort order to use, either 'ASC' or 'DESC'.
823
- # @option opts [String] :display_name A filter to return only resources that match the entire display name given.
824
1911
  # @option opts [Integer] :limit The maximum number of items to return. (default to 100)
825
1912
  # @option opts [String] :page A token representing the position at which to start retrieving results. This must come from the `opc-next-page` header field of a previous response.
826
- # @option opts [String] :compartment_id A filter to return only resources that belong to the specified compartment identifier.
827
1913
  # @option opts [String] :opc_request_id The client request ID for tracing.
828
- # @return [Response] A Response object with data of type {OCI::Adm::Models::KnowledgeBaseCollection KnowledgeBaseCollection}
829
- # @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/adm/list_knowledge_bases.rb.html) to see an example of how to use list_knowledge_bases API.
830
- def list_knowledge_bases(opts = {})
831
- logger.debug 'Calling operation ApplicationDependencyManagementClient#list_knowledge_bases.' if logger
1914
+ # @option opts [String] :sort_by The field used to sort Stages. Only one sort order is allowed.
1915
+ # Default order for status is the following sequence: **CREATED, IN_PROGRESS, SUCCEEDED, FAILED, CANCELING, and CANCELED**.
1916
+ # Default order for _timeCreated_ is **descending**.
1917
+ # Default order for _timeFinished_ is **descending**.
1918
+ # Default order for _timeStarted_ is **descending**.
1919
+ # Default order for _type_ is the following sequence: **DETECT, RECOMMEND, VERIFY, and APPLY**.
1920
+ # (default to timeCreated)
1921
+ # Allowed values are: status, timeCreated, timeFinished, timeStarted, type
1922
+ # @return [Response] A Response object with data of type {OCI::Adm::Models::RemediationRunStageCollection RemediationRunStageCollection}
1923
+ # @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/adm/list_stages.rb.html) to see an example of how to use list_stages API.
1924
+ def list_stages(remediation_run_id, opts = {})
1925
+ logger.debug 'Calling operation ApplicationDependencyManagementClient#list_stages.' if logger
832
1926
 
1927
+ raise "Missing the required parameter 'remediation_run_id' when calling list_stages." if remediation_run_id.nil?
833
1928
 
834
- if opts[:sort_by] && !%w[DISPLAY_NAME LIFECYCLE_STATE TIME_CREATED TIME_UPDATED].include?(opts[:sort_by])
835
- raise 'Invalid value for "sort_by", must be one of DISPLAY_NAME, LIFECYCLE_STATE, TIME_CREATED, TIME_UPDATED.'
1929
+ if opts[:type] && !OCI::Adm::Models::REMEDIATION_RUN_STAGE_TYPE_ENUM.include?(opts[:type])
1930
+ raise 'Invalid value for "type", must be one of the values in OCI::Adm::Models::REMEDIATION_RUN_STAGE_TYPE_ENUM.'
836
1931
  end
837
1932
 
838
- if opts[:lifecycle_state] && !OCI::Adm::Models::KnowledgeBase::LIFECYCLE_STATE_ENUM.include?(opts[:lifecycle_state])
839
- raise 'Invalid value for "lifecycle_state", must be one of the values in OCI::Adm::Models::KnowledgeBase::LIFECYCLE_STATE_ENUM.'
1933
+ if opts[:status] && !OCI::Adm::Models::RemediationRunStage::STATUS_ENUM.include?(opts[:status])
1934
+ raise 'Invalid value for "status", must be one of the values in OCI::Adm::Models::RemediationRunStage::STATUS_ENUM.'
840
1935
  end
841
1936
 
842
1937
  if opts[:sort_order] && !OCI::Adm::Models::SORT_ORDER_ENUM.include?(opts[:sort_order])
843
1938
  raise 'Invalid value for "sort_order", must be one of the values in OCI::Adm::Models::SORT_ORDER_ENUM.'
844
1939
  end
845
1940
 
846
- path = '/knowledgeBases'
1941
+ if opts[:sort_by] && !%w[status timeCreated timeFinished timeStarted type].include?(opts[:sort_by])
1942
+ raise 'Invalid value for "sort_by", must be one of status, timeCreated, timeFinished, timeStarted, type.'
1943
+ end
1944
+ raise "Parameter value for 'remediation_run_id' must not be blank" if OCI::Internal::Util.blank_string?(remediation_run_id)
1945
+
1946
+ path = '/remediationRuns/{remediationRunId}/stages'.sub('{remediationRunId}', remediation_run_id.to_s)
847
1947
  operation_signing_strategy = :standard
848
1948
 
849
1949
  # rubocop:disable Style/NegatedIf
850
1950
  # Query Params
851
1951
  query_params = {}
852
- query_params[:id] = opts[:id] if opts[:id]
853
- query_params[:sortBy] = opts[:sort_by] if opts[:sort_by]
854
- query_params[:lifecycleState] = opts[:lifecycle_state] if opts[:lifecycle_state]
1952
+ query_params[:type] = opts[:type] if opts[:type]
1953
+ query_params[:status] = opts[:status] if opts[:status]
855
1954
  query_params[:sortOrder] = opts[:sort_order] if opts[:sort_order]
856
- query_params[:displayName] = opts[:display_name] if opts[:display_name]
857
1955
  query_params[:limit] = opts[:limit] if opts[:limit]
858
1956
  query_params[:page] = opts[:page] if opts[:page]
859
- query_params[:compartmentId] = opts[:compartment_id] if opts[:compartment_id]
1957
+ query_params[:sortBy] = opts[:sort_by] if opts[:sort_by]
860
1958
 
861
1959
  # Header Params
862
1960
  header_params = {}
@@ -868,7 +1966,7 @@ module OCI
868
1966
  post_body = nil
869
1967
 
870
1968
  # rubocop:disable Metrics/BlockLength
871
- OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'ApplicationDependencyManagementClient#list_knowledge_bases') do
1969
+ OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'ApplicationDependencyManagementClient#list_stages') do
872
1970
  @api_client.call_api(
873
1971
  :GET,
874
1972
  path,
@@ -877,7 +1975,7 @@ module OCI
877
1975
  query_params: query_params,
878
1976
  operation_signing_strategy: operation_signing_strategy,
879
1977
  body: post_body,
880
- return_type: 'OCI::Adm::Models::KnowledgeBaseCollection'
1978
+ return_type: 'OCI::Adm::Models::RemediationRunStageCollection'
881
1979
  )
882
1980
  end
883
1981
  # rubocop:enable Metrics/BlockLength
@@ -892,13 +1990,17 @@ module OCI
892
1990
 
893
1991
 
894
1992
  # Returns a list of Vulnerability Audits based on the specified query parameters.
895
- # At least one of id, compartmentId or knowledgeBaseId query parameter must be provided.
1993
+ # At least one of id, compartmentId query parameter must be provided.
896
1994
  #
897
1995
  # @param [Hash] opts the optional parameters
898
1996
  # @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
899
1997
  # retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
900
1998
  # @option opts [String] :id A filter to return only resources that match the specified identifier.
1999
+ # Required only if the compartmentId query parameter is not specified.
2000
+ #
901
2001
  # @option opts [String] :compartment_id A filter to return only resources that belong to the specified compartment identifier.
2002
+ # Required only if the id query param is not specified.
2003
+ #
902
2004
  # @option opts [String] :knowledge_base_id A filter to return only Vulnerability Audits that were created against the specified knowledge base.
903
2005
  # @option opts [BOOLEAN] :is_success A filter to return only successful or failed Vulnerability Audits.
904
2006
  # @option opts [String] :lifecycle_state A filter to return only Vulnerability Audits that match the specified lifecycleState.
@@ -1137,6 +2239,8 @@ module OCI
1137
2239
  # @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
1138
2240
  # retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
1139
2241
  # @option opts [String] :compartment_id A filter to return only resources that belong to the specified compartment identifier.
2242
+ # Required only if the id query param is not specified.
2243
+ #
1140
2244
  # @option opts [String] :work_request_id The identifier of the asynchronous work request.
1141
2245
  # @option opts [String] :status A filter to return only resources that match the specified OperationStatus.
1142
2246
  # @option opts [String] :resource_id The Oracle Cloud Identifier ([OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm)) of the resource affected by the work request.
@@ -1275,6 +2379,131 @@ module OCI
1275
2379
  # rubocop:disable Metrics/MethodLength, Layout/EmptyLines
1276
2380
 
1277
2381
 
2382
+ # Updates one or more attributes of the specified Remediation Recipe.
2383
+ # @param [String] remediation_recipe_id The Oracle Cloud Identifier ([OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm)) of a Remediation Recipe, as a URL path parameter.
2384
+ # @param [OCI::Adm::Models::UpdateRemediationRecipeDetails] update_remediation_recipe_details The details to update a Remediation Recipe.
2385
+ # @param [Hash] opts the optional parameters
2386
+ # @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
2387
+ # retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
2388
+ # @option opts [String] :if_match For optimistic concurrency control. In the PUT or DELETE call
2389
+ # for a resource, set the `if-match` parameter to the value of the
2390
+ # etag from a previous GET or POST response for that resource.
2391
+ # The resource will be updated or deleted only if the etag you
2392
+ # provide matches the resource's current etag value.
2393
+ #
2394
+ # @option opts [String] :opc_request_id The client request ID for tracing.
2395
+ # @return [Response] A Response object with data of type nil
2396
+ # @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/adm/update_remediation_recipe.rb.html) to see an example of how to use update_remediation_recipe API.
2397
+ def update_remediation_recipe(remediation_recipe_id, update_remediation_recipe_details, opts = {})
2398
+ logger.debug 'Calling operation ApplicationDependencyManagementClient#update_remediation_recipe.' if logger
2399
+
2400
+ raise "Missing the required parameter 'remediation_recipe_id' when calling update_remediation_recipe." if remediation_recipe_id.nil?
2401
+ raise "Missing the required parameter 'update_remediation_recipe_details' when calling update_remediation_recipe." if update_remediation_recipe_details.nil?
2402
+ raise "Parameter value for 'remediation_recipe_id' must not be blank" if OCI::Internal::Util.blank_string?(remediation_recipe_id)
2403
+
2404
+ path = '/remediationRecipes/{remediationRecipeId}'.sub('{remediationRecipeId}', remediation_recipe_id.to_s)
2405
+ operation_signing_strategy = :standard
2406
+
2407
+ # rubocop:disable Style/NegatedIf
2408
+ # Query Params
2409
+ query_params = {}
2410
+
2411
+ # Header Params
2412
+ header_params = {}
2413
+ header_params[:accept] = 'application/json'
2414
+ header_params[:'content-type'] = 'application/json'
2415
+ header_params[:'if-match'] = opts[:if_match] if opts[:if_match]
2416
+ header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
2417
+ # rubocop:enable Style/NegatedIf
2418
+
2419
+ post_body = @api_client.object_to_http_body(update_remediation_recipe_details)
2420
+
2421
+ # rubocop:disable Metrics/BlockLength
2422
+ OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'ApplicationDependencyManagementClient#update_remediation_recipe') do
2423
+ @api_client.call_api(
2424
+ :PUT,
2425
+ path,
2426
+ endpoint,
2427
+ header_params: header_params,
2428
+ query_params: query_params,
2429
+ operation_signing_strategy: operation_signing_strategy,
2430
+ body: post_body
2431
+ )
2432
+ end
2433
+ # rubocop:enable Metrics/BlockLength
2434
+ end
2435
+ # rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
2436
+ # rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
2437
+ # rubocop:enable Metrics/MethodLength, Layout/EmptyLines
2438
+
2439
+ # rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
2440
+ # rubocop:disable Style/IfUnlessModifier, Metrics/ParameterLists
2441
+ # rubocop:disable Metrics/MethodLength, Layout/EmptyLines
2442
+
2443
+
2444
+ # Updates by identifier one or more attributes of the specified remediation run.
2445
+ # @param [String] remediation_run_id Unique Remediation Run identifier path parameter.
2446
+ # @param [OCI::Adm::Models::UpdateRemediationRunDetails] update_remediation_run_details The details used to update a remediation run.
2447
+ # @param [Hash] opts the optional parameters
2448
+ # @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
2449
+ # retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
2450
+ # @option opts [String] :if_match For optimistic concurrency control. In the PUT or DELETE call
2451
+ # for a resource, set the `if-match` parameter to the value of the
2452
+ # etag from a previous GET or POST response for that resource.
2453
+ # The resource will be updated or deleted only if the etag you
2454
+ # provide matches the resource's current etag value.
2455
+ #
2456
+ # @option opts [String] :opc_request_id The client request ID for tracing.
2457
+ # @return [Response] A Response object with data of type {OCI::Adm::Models::RemediationRun RemediationRun}
2458
+ # @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/adm/update_remediation_run.rb.html) to see an example of how to use update_remediation_run API.
2459
+ def update_remediation_run(remediation_run_id, update_remediation_run_details, opts = {})
2460
+ logger.debug 'Calling operation ApplicationDependencyManagementClient#update_remediation_run.' if logger
2461
+
2462
+ raise "Missing the required parameter 'remediation_run_id' when calling update_remediation_run." if remediation_run_id.nil?
2463
+ raise "Missing the required parameter 'update_remediation_run_details' when calling update_remediation_run." if update_remediation_run_details.nil?
2464
+ raise "Parameter value for 'remediation_run_id' must not be blank" if OCI::Internal::Util.blank_string?(remediation_run_id)
2465
+
2466
+ path = '/remediationRuns/{remediationRunId}'.sub('{remediationRunId}', remediation_run_id.to_s)
2467
+ operation_signing_strategy = :standard
2468
+
2469
+ # rubocop:disable Style/NegatedIf
2470
+ # Query Params
2471
+ query_params = {}
2472
+
2473
+ # Header Params
2474
+ header_params = {}
2475
+ header_params[:accept] = 'application/json'
2476
+ header_params[:'content-type'] = 'application/json'
2477
+ header_params[:'if-match'] = opts[:if_match] if opts[:if_match]
2478
+ header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
2479
+ # rubocop:enable Style/NegatedIf
2480
+
2481
+ post_body = @api_client.object_to_http_body(update_remediation_run_details)
2482
+
2483
+ # rubocop:disable Metrics/BlockLength
2484
+ OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'ApplicationDependencyManagementClient#update_remediation_run') do
2485
+ @api_client.call_api(
2486
+ :PUT,
2487
+ path,
2488
+ endpoint,
2489
+ header_params: header_params,
2490
+ query_params: query_params,
2491
+ operation_signing_strategy: operation_signing_strategy,
2492
+ body: post_body,
2493
+ return_type: 'OCI::Adm::Models::RemediationRun'
2494
+ )
2495
+ end
2496
+ # rubocop:enable Metrics/BlockLength
2497
+ end
2498
+ # rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
2499
+ # rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
2500
+ # rubocop:enable Metrics/MethodLength, Layout/EmptyLines
2501
+
2502
+ # rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
2503
+ # rubocop:disable Style/IfUnlessModifier, Metrics/ParameterLists
2504
+ # rubocop:disable Metrics/MethodLength, Layout/EmptyLines
2505
+
2506
+
1278
2507
  # Updates one or more attributes of the specified Vulnerability Audit.
1279
2508
  # @param [String] vulnerability_audit_id Unique Vulnerability Audit identifier path parameter.
1280
2509
  # @param [OCI::Adm::Models::UpdateVulnerabilityAuditDetails] update_vulnerability_audit_details The details to update a Vulnerability Audit.