oci 2.14.0 → 2.15.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (894) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +7 -2
  3. data/lib/oci.rb +5 -0
  4. data/lib/oci/ai_anomaly_detection/ai_anomaly_detection.rb +76 -0
  5. data/lib/oci/ai_anomaly_detection/anomaly_detection_client.rb +2054 -0
  6. data/lib/oci/ai_anomaly_detection/anomaly_detection_client_composite_operations.rb +658 -0
  7. data/lib/oci/ai_anomaly_detection/models/action_type.rb +14 -0
  8. data/lib/oci/ai_anomaly_detection/models/ai_private_endpoint.rb +350 -0
  9. data/lib/oci/ai_anomaly_detection/models/ai_private_endpoint_collection.rb +150 -0
  10. data/lib/oci/ai_anomaly_detection/models/ai_private_endpoint_summary.rb +312 -0
  11. data/lib/oci/ai_anomaly_detection/models/anomaly.rb +210 -0
  12. data/lib/oci/ai_anomaly_detection/models/anomaly_detect_result.rb +154 -0
  13. data/lib/oci/ai_anomaly_detection/models/change_ai_private_endpoint_compartment_details.rb +154 -0
  14. data/lib/oci/ai_anomaly_detection/models/change_data_asset_compartment_details.rb +154 -0
  15. data/lib/oci/ai_anomaly_detection/models/change_model_compartment_details.rb +156 -0
  16. data/lib/oci/ai_anomaly_detection/models/change_project_compartment_details.rb +156 -0
  17. data/lib/oci/ai_anomaly_detection/models/create_ai_private_endpoint_details.rb +231 -0
  18. data/lib/oci/ai_anomaly_detection/models/create_data_asset_details.rb +253 -0
  19. data/lib/oci/ai_anomaly_detection/models/create_model_details.rb +238 -0
  20. data/lib/oci/ai_anomaly_detection/models/create_project_details.rb +211 -0
  21. data/lib/oci/ai_anomaly_detection/models/data_asset.rb +340 -0
  22. data/lib/oci/ai_anomaly_detection/models/data_asset_collection.rb +150 -0
  23. data/lib/oci/ai_anomaly_detection/models/data_asset_summary.rb +341 -0
  24. data/lib/oci/ai_anomaly_detection/models/data_item.rb +160 -0
  25. data/lib/oci/ai_anomaly_detection/models/data_source_details.rb +193 -0
  26. data/lib/oci/ai_anomaly_detection/models/data_source_details_atp.rb +302 -0
  27. data/lib/oci/ai_anomaly_detection/models/data_source_details_influx.rb +214 -0
  28. data/lib/oci/ai_anomaly_detection/models/data_source_details_object_storage.rb +186 -0
  29. data/lib/oci/ai_anomaly_detection/models/data_source_type.rb +12 -0
  30. data/lib/oci/ai_anomaly_detection/models/detect_anomalies_details.rb +202 -0
  31. data/lib/oci/ai_anomaly_detection/models/detection_result_item.rb +184 -0
  32. data/lib/oci/ai_anomaly_detection/models/embedded_detect_anomalies_request.rb +192 -0
  33. data/lib/oci/ai_anomaly_detection/models/influx_details.rb +191 -0
  34. data/lib/oci/ai_anomaly_detection/models/influx_details_v1v8.rb +176 -0
  35. data/lib/oci/ai_anomaly_detection/models/influx_details_v2v0.rb +176 -0
  36. data/lib/oci/ai_anomaly_detection/models/influx_version.rb +11 -0
  37. data/lib/oci/ai_anomaly_detection/models/inline_detect_anomalies_request.rb +179 -0
  38. data/lib/oci/ai_anomaly_detection/models/model.rb +358 -0
  39. data/lib/oci/ai_anomaly_detection/models/model_collection.rb +150 -0
  40. data/lib/oci/ai_anomaly_detection/models/model_summary.rb +305 -0
  41. data/lib/oci/ai_anomaly_detection/models/model_training_details.rb +186 -0
  42. data/lib/oci/ai_anomaly_detection/models/model_training_results.rb +215 -0
  43. data/lib/oci/ai_anomaly_detection/models/operation_status.rb +16 -0
  44. data/lib/oci/ai_anomaly_detection/models/operation_type.rb +16 -0
  45. data/lib/oci/ai_anomaly_detection/models/per_signal_details.rb +267 -0
  46. data/lib/oci/ai_anomaly_detection/models/project.rb +302 -0
  47. data/lib/oci/ai_anomaly_detection/models/project_collection.rb +150 -0
  48. data/lib/oci/ai_anomaly_detection/models/project_summary.rb +279 -0
  49. data/lib/oci/ai_anomaly_detection/models/row_reduction_details.rb +205 -0
  50. data/lib/oci/ai_anomaly_detection/models/sort_order.rb +11 -0
  51. data/lib/oci/ai_anomaly_detection/models/update_ai_private_endpoint_details.rb +202 -0
  52. data/lib/oci/ai_anomaly_detection/models/update_data_asset_details.rb +196 -0
  53. data/lib/oci/ai_anomaly_detection/models/update_model_details.rb +196 -0
  54. data/lib/oci/ai_anomaly_detection/models/update_project_details.rb +196 -0
  55. data/lib/oci/ai_anomaly_detection/models/work_request.rb +312 -0
  56. data/lib/oci/ai_anomaly_detection/models/work_request_error.rb +173 -0
  57. data/lib/oci/ai_anomaly_detection/models/work_request_error_collection.rb +150 -0
  58. data/lib/oci/ai_anomaly_detection/models/work_request_log_entry.rb +160 -0
  59. data/lib/oci/ai_anomaly_detection/models/work_request_log_entry_collection.rb +150 -0
  60. data/lib/oci/ai_anomaly_detection/models/work_request_resource.rb +219 -0
  61. data/lib/oci/ai_anomaly_detection/models/work_request_summary.rb +312 -0
  62. data/lib/oci/ai_anomaly_detection/models/work_request_summary_collection.rb +150 -0
  63. data/lib/oci/ai_anomaly_detection/util.rb +3 -0
  64. data/lib/oci/api_client.rb +4 -4
  65. data/lib/oci/application_migration/application_migration.rb +2 -0
  66. data/lib/oci/application_migration/models/authorization_details.rb +2 -1
  67. data/lib/oci/application_migration/models/import_manifest.rb +208 -0
  68. data/lib/oci/application_migration/models/import_source_details.rb +192 -0
  69. data/lib/oci/application_migration/models/source_details.rb +2 -0
  70. data/lib/oci/application_migration/models/source_summary.rb +1 -0
  71. data/lib/oci/application_migration/models/source_types.rb +2 -1
  72. data/lib/oci/artifacts/artifacts.rb +15 -0
  73. data/lib/oci/artifacts/artifacts_client.rb +1104 -147
  74. data/lib/oci/artifacts/artifacts_client_composite_operations.rb +211 -0
  75. data/lib/oci/artifacts/models/change_repository_compartment_details.rb +155 -0
  76. data/lib/oci/artifacts/models/container_repository.rb +18 -4
  77. data/lib/oci/artifacts/models/container_repository_summary.rb +18 -4
  78. data/lib/oci/artifacts/models/create_generic_repository_details.rb +169 -0
  79. data/lib/oci/artifacts/models/create_repository_details.rb +259 -0
  80. data/lib/oci/artifacts/models/generic_artifact.rb +337 -0
  81. data/lib/oci/artifacts/models/generic_artifact_collection.rb +150 -0
  82. data/lib/oci/artifacts/models/generic_artifact_summary.rb +316 -0
  83. data/lib/oci/artifacts/models/generic_repository.rb +181 -0
  84. data/lib/oci/artifacts/models/generic_repository_summary.rb +181 -0
  85. data/lib/oci/artifacts/models/repository.rb +338 -0
  86. data/lib/oci/{usage_api/models/schedule_report_collection.rb → artifacts/models/repository_collection.rb} +6 -6
  87. data/lib/oci/artifacts/models/repository_summary.rb +299 -0
  88. data/lib/oci/artifacts/models/update_generic_artifact_by_path_details.rb +176 -0
  89. data/lib/oci/artifacts/models/update_generic_artifact_details.rb +176 -0
  90. data/lib/oci/artifacts/models/update_generic_repository_details.rb +161 -0
  91. data/lib/oci/artifacts/models/update_repository_details.rb +230 -0
  92. data/lib/oci/bastion/bastion.rb +48 -0
  93. data/lib/oci/bastion/bastion_client.rb +1041 -0
  94. data/lib/oci/bastion/bastion_client_composite_operations.rb +311 -0
  95. data/lib/oci/bastion/models/action_type.rb +14 -0
  96. data/lib/oci/bastion/models/bastion.rb +434 -0
  97. data/lib/oci/bastion/models/bastion_lifecycle_state.rb +15 -0
  98. data/lib/oci/bastion/models/bastion_summary.rb +348 -0
  99. data/lib/oci/bastion/models/change_bastion_compartment_details.rb +154 -0
  100. data/lib/oci/bastion/models/create_bastion_details.rb +283 -0
  101. data/lib/oci/bastion/models/create_managed_ssh_session_target_resource_details.rb +194 -0
  102. data/lib/oci/bastion/models/create_port_forwarding_session_target_resource_details.rb +180 -0
  103. data/lib/oci/bastion/models/create_session_details.rb +238 -0
  104. data/lib/oci/bastion/models/create_session_target_resource_details.rb +198 -0
  105. data/lib/oci/bastion/models/managed_ssh_session_target_resource_details.rb +208 -0
  106. data/lib/oci/bastion/models/operation_status.rb +15 -0
  107. data/lib/oci/bastion/models/operation_type.rb +14 -0
  108. data/lib/oci/bastion/models/port_forwarding_session_target_resource_details.rb +194 -0
  109. data/lib/oci/bastion/models/public_key_details.rb +154 -0
  110. data/lib/oci/bastion/models/session.rb +393 -0
  111. data/lib/oci/bastion/models/session_lifecycle_state.rb +14 -0
  112. data/lib/oci/bastion/models/session_summary.rb +303 -0
  113. data/lib/oci/bastion/models/session_type.rb +11 -0
  114. data/lib/oci/bastion/models/sort_order.rb +11 -0
  115. data/lib/oci/bastion/models/target_resource_details.rb +205 -0
  116. data/lib/oci/bastion/models/update_bastion_details.rb +215 -0
  117. data/lib/oci/bastion/models/update_session_details.rb +154 -0
  118. data/lib/oci/bastion/models/work_request.rb +309 -0
  119. data/lib/oci/bastion/models/work_request_error.rb +173 -0
  120. data/lib/oci/bastion/models/work_request_log_entry.rb +160 -0
  121. data/lib/oci/bastion/models/work_request_resource.rb +219 -0
  122. data/lib/oci/bastion/models/work_request_summary.rb +309 -0
  123. data/lib/oci/bastion/util.rb +3 -0
  124. data/lib/oci/bds/bds_client.rb +70 -77
  125. data/lib/oci/bds/bds_client_composite_operations.rb +21 -21
  126. data/lib/oci/bds/models/add_auto_scaling_configuration_details.rb +5 -5
  127. data/lib/oci/bds/models/add_block_storage_details.rb +4 -4
  128. data/lib/oci/bds/models/add_cloud_sql_details.rb +4 -5
  129. data/lib/oci/bds/models/add_worker_nodes_details.rb +3 -3
  130. data/lib/oci/bds/models/auto_scale_policy.rb +3 -3
  131. data/lib/oci/bds/models/auto_scale_policy_metric_rule.rb +2 -2
  132. data/lib/oci/bds/models/auto_scale_policy_rule.rb +2 -2
  133. data/lib/oci/bds/models/auto_scaling_configuration.rb +7 -8
  134. data/lib/oci/bds/models/auto_scaling_configuration_summary.rb +7 -8
  135. data/lib/oci/bds/models/bds_instance.rb +17 -16
  136. data/lib/oci/bds/models/bds_instance_summary.rb +14 -14
  137. data/lib/oci/bds/models/change_bds_instance_compartment_details.rb +2 -2
  138. data/lib/oci/bds/models/change_shape_details.rb +1 -1
  139. data/lib/oci/bds/models/change_shape_nodes.rb +2 -2
  140. data/lib/oci/bds/models/cloud_sql_details.rb +3 -3
  141. data/lib/oci/bds/models/cluster_details.rb +26 -13
  142. data/lib/oci/bds/models/create_bds_instance_details.rb +11 -11
  143. data/lib/oci/bds/models/create_node_details.rb +6 -6
  144. data/lib/oci/bds/models/kerberos_details.rb +2 -2
  145. data/lib/oci/bds/models/metric_threshold_rule.rb +4 -4
  146. data/lib/oci/bds/models/network_config.rb +1 -1
  147. data/lib/oci/bds/models/node.rb +15 -15
  148. data/lib/oci/bds/models/remove_auto_scaling_configuration_details.rb +2 -2
  149. data/lib/oci/bds/models/remove_cloud_sql_details.rb +2 -2
  150. data/lib/oci/bds/models/restart_node_details.rb +2 -2
  151. data/lib/oci/bds/models/update_auto_scaling_configuration_details.rb +4 -4
  152. data/lib/oci/bds/models/update_bds_instance_details.rb +5 -5
  153. data/lib/oci/bds/models/work_request.rb +9 -14
  154. data/lib/oci/bds/models/work_request_error.rb +2 -3
  155. data/lib/oci/bds/models/work_request_log_entry.rb +1 -1
  156. data/lib/oci/bds/models/work_request_resource.rb +2 -5
  157. data/lib/oci/container_engine/container_engine.rb +2 -0
  158. data/lib/oci/container_engine/container_engine_client.rb +118 -0
  159. data/lib/oci/container_engine/container_engine_client_composite_operations.rb +50 -0
  160. data/lib/oci/container_engine/models/cluster_migrate_to_native_vcn_details.rb +169 -0
  161. data/lib/oci/container_engine/models/cluster_migrate_to_native_vcn_status.rb +187 -0
  162. data/lib/oci/container_engine/models/create_node_pool_node_config_details.rb +16 -1
  163. data/lib/oci/container_engine/models/node_pool_node_config_details.rb +16 -1
  164. data/lib/oci/container_engine/models/update_node_pool_node_config_details.rb +16 -1
  165. data/lib/oci/container_engine/models/work_request.rb +1 -0
  166. data/lib/oci/container_engine/models/work_request_operation_type.rb +1 -0
  167. data/lib/oci/container_engine/models/work_request_summary.rb +1 -0
  168. data/lib/oci/core/blockstorage_client.rb +70 -1
  169. data/lib/oci/core/blockstorage_client_composite_operations.rb +41 -0
  170. data/lib/oci/core/compute_client.rb +63 -0
  171. data/lib/oci/core/compute_client_composite_operations.rb +40 -0
  172. data/lib/oci/core/core.rb +4 -0
  173. data/lib/oci/core/models/attach_boot_volume_details.rb +35 -4
  174. data/lib/oci/core/models/attach_i_scsi_volume_details.rb +35 -4
  175. data/lib/oci/core/models/block_volume_replica.rb +1 -1
  176. data/lib/oci/core/models/boot_volume_attachment.rb +41 -4
  177. data/lib/oci/core/models/boot_volume_replica.rb +1 -1
  178. data/lib/oci/core/models/copy_volume_group_backup_details.rb +196 -0
  179. data/lib/oci/core/models/create_boot_volume_details.rb +1 -1
  180. data/lib/oci/core/models/create_dhcp_details.rb +32 -4
  181. data/lib/oci/core/models/create_vlan_details.rb +11 -3
  182. data/lib/oci/core/models/create_volume_details.rb +1 -1
  183. data/lib/oci/core/models/dhcp_options.rb +38 -4
  184. data/lib/oci/core/models/emulated_volume_attachment.rb +12 -4
  185. data/lib/oci/core/models/encryption_in_transit_type.rb +11 -0
  186. data/lib/oci/core/models/i_scsi_volume_attachment.rb +64 -4
  187. data/lib/oci/core/models/image.rb +18 -1
  188. data/lib/oci/core/models/instance_agent_features.rb +2 -2
  189. data/lib/oci/core/models/instance_configuration_instance_source_via_image_details.rb +1 -1
  190. data/lib/oci/core/models/instance_source_via_image_details.rb +1 -1
  191. data/lib/oci/core/models/launch_instance_availability_config_details.rb +2 -2
  192. data/lib/oci/core/models/multipath_device.rb +180 -0
  193. data/lib/oci/core/models/paravirtualized_volume_attachment.rb +12 -4
  194. data/lib/oci/core/models/update_dhcp_details.rb +32 -4
  195. data/lib/oci/core/models/update_instance_availability_config_details.rb +1 -1
  196. data/lib/oci/core/models/update_volume_attachment_details.rb +174 -0
  197. data/lib/oci/core/models/vlan.rb +2 -1
  198. data/lib/oci/core/models/volume_attachment.rb +58 -4
  199. data/lib/oci/core/virtual_network_client.rb +7 -5
  200. data/lib/oci/data_catalog/data_catalog.rb +11 -0
  201. data/lib/oci/data_catalog/data_catalog_client.rb +599 -7
  202. data/lib/oci/data_catalog/data_catalog_client_composite_operations.rb +188 -0
  203. data/lib/oci/data_catalog/models/attribute.rb +43 -1
  204. data/lib/oci/data_catalog/models/attribute_summary.rb +33 -4
  205. data/lib/oci/data_catalog/models/change_metastore_compartment_details.rb +154 -0
  206. data/lib/oci/data_catalog/models/create_custom_property_details.rb +17 -1
  207. data/lib/oci/data_catalog/models/create_job_definition_details.rb +2 -1
  208. data/lib/oci/data_catalog/models/create_job_execution_details.rb +2 -1
  209. data/lib/oci/data_catalog/models/create_metastore_details.rb +232 -0
  210. data/lib/oci/data_catalog/models/custom_property.rb +17 -1
  211. data/lib/oci/data_catalog/models/custom_property_get_usage.rb +17 -1
  212. data/lib/oci/data_catalog/models/custom_property_summary.rb +63 -4
  213. data/lib/oci/data_catalog/models/custom_property_type_usage.rb +20 -4
  214. data/lib/oci/data_catalog/models/data_asset.rb +16 -1
  215. data/lib/oci/data_catalog/models/data_asset_export_scope.rb +172 -0
  216. data/lib/oci/data_catalog/models/data_asset_import_export_type_filter.rb +11 -0
  217. data/lib/oci/data_catalog/models/entity.rb +30 -1
  218. data/lib/oci/data_catalog/models/export_data_asset_details.rb +154 -0
  219. data/lib/oci/data_catalog/models/folder.rb +44 -1
  220. data/lib/oci/data_catalog/models/folder_summary.rb +15 -1
  221. data/lib/oci/data_catalog/models/import_data_asset_details.rb +154 -0
  222. data/lib/oci/data_catalog/models/import_data_asset_job_result.rb +235 -0
  223. data/lib/oci/data_catalog/models/job.rb +1 -0
  224. data/lib/oci/data_catalog/models/job_definition.rb +1 -0
  225. data/lib/oci/data_catalog/models/job_definition_summary.rb +1 -0
  226. data/lib/oci/data_catalog/models/job_execution.rb +1 -0
  227. data/lib/oci/data_catalog/models/job_execution_summary.rb +1 -0
  228. data/lib/oci/data_catalog/models/job_summary.rb +1 -0
  229. data/lib/oci/data_catalog/models/job_type.rb +2 -1
  230. data/lib/oci/data_catalog/models/metastore.rb +325 -0
  231. data/lib/oci/data_catalog/models/metastore_summary.rb +292 -0
  232. data/lib/oci/data_catalog/models/object_relationship.rb +233 -0
  233. data/lib/oci/data_catalog/models/search_result.rb +15 -1
  234. data/lib/oci/data_catalog/models/type_custom_property_details.rb +20 -4
  235. data/lib/oci/data_catalog/models/update_custom_property_details.rb +17 -1
  236. data/lib/oci/data_catalog/models/update_metastore_details.rb +186 -0
  237. data/lib/oci/data_flow/data_flow_client.rb +3 -0
  238. data/lib/oci/data_flow/models/application.rb +16 -1
  239. data/lib/oci/data_flow/models/application_summary.rb +16 -1
  240. data/lib/oci/data_flow/models/create_application_details.rb +16 -1
  241. data/lib/oci/data_flow/models/create_run_details.rb +17 -1
  242. data/lib/oci/data_flow/models/run.rb +16 -1
  243. data/lib/oci/data_flow/models/update_application_details.rb +16 -1
  244. data/lib/oci/data_integration/data_integration.rb +52 -0
  245. data/lib/oci/data_integration/data_integration_client.rb +766 -24
  246. data/lib/oci/data_integration/models/abstract_format_attribute.rb +19 -4
  247. data/lib/oci/data_integration/models/abstract_read_attribute.rb +3 -0
  248. data/lib/oci/data_integration/models/abstract_write_attribute.rb +7 -0
  249. data/lib/oci/data_integration/models/auth_details.rb +213 -0
  250. data/lib/oci/data_integration/models/avro_format_attribute.rb +5 -1
  251. data/lib/oci/data_integration/models/bicc_read_attributes.rb +237 -0
  252. data/lib/oci/data_integration/models/config_parameter_value.rb +18 -4
  253. data/lib/oci/data_integration/models/connection.rb +4 -0
  254. data/lib/oci/data_integration/models/connection_details.rb +5 -1
  255. data/lib/oci/data_integration/models/connection_from_amazon_s3.rb +226 -0
  256. data/lib/oci/data_integration/models/connection_from_amazon_s3_details.rb +222 -0
  257. data/lib/oci/data_integration/models/connection_from_bicc.rb +236 -0
  258. data/lib/oci/data_integration/models/connection_from_bicc_details.rb +232 -0
  259. data/lib/oci/data_integration/models/connection_summary.rb +4 -0
  260. data/lib/oci/data_integration/models/connection_summary_from_amazon_s3.rb +227 -0
  261. data/lib/oci/data_integration/models/connection_summary_from_bicc.rb +223 -0
  262. data/lib/oci/data_integration/models/connector_attribute.rb +182 -0
  263. data/lib/oci/data_integration/models/create_connection_details.rb +5 -1
  264. data/lib/oci/data_integration/models/create_connection_from_amazon_s3.rb +210 -0
  265. data/lib/oci/data_integration/models/create_connection_from_bicc.rb +220 -0
  266. data/lib/oci/data_integration/models/create_data_asset_details.rb +5 -1
  267. data/lib/oci/data_integration/models/create_data_asset_from_adwc.rb +57 -1
  268. data/lib/oci/data_integration/models/create_data_asset_from_amazon_s3.rb +207 -0
  269. data/lib/oci/data_integration/models/create_data_asset_from_atp.rb +57 -1
  270. data/lib/oci/data_integration/models/create_data_asset_from_fusion_app.rb +211 -0
  271. data/lib/oci/data_integration/models/create_schedule_details.rb +272 -0
  272. data/lib/oci/data_integration/models/create_task_details.rb +7 -1
  273. data/lib/oci/data_integration/models/create_task_from_oci_dataflow_task.rb +213 -0
  274. data/lib/oci/data_integration/models/create_task_from_rest_task.rb +348 -0
  275. data/lib/oci/data_integration/models/create_task_from_sql_task.rb +246 -0
  276. data/lib/oci/data_integration/models/create_task_run_details.rb +15 -1
  277. data/lib/oci/data_integration/models/create_task_schedule_details.rb +476 -0
  278. data/lib/oci/data_integration/models/csv_format_attribute.rb +5 -15
  279. data/lib/oci/data_integration/models/data_asset.rb +4 -0
  280. data/lib/oci/data_integration/models/data_asset_from_amazon_s3.rb +223 -0
  281. data/lib/oci/data_integration/models/data_asset_from_fusion_app.rb +227 -0
  282. data/lib/oci/data_integration/models/data_asset_summary.rb +4 -0
  283. data/lib/oci/data_integration/models/data_asset_summary_from_amazon_s3.rb +219 -0
  284. data/lib/oci/data_integration/models/data_asset_summary_from_fusion_app.rb +223 -0
  285. data/lib/oci/data_integration/models/data_entity.rb +2 -0
  286. data/lib/oci/data_integration/models/data_entity_details.rb +3 -1
  287. data/lib/oci/data_integration/models/data_entity_from_data_store.rb +454 -0
  288. data/lib/oci/data_integration/models/data_entity_from_data_store_entity_details.rb +443 -0
  289. data/lib/oci/data_integration/models/data_entity_summary.rb +2 -0
  290. data/lib/oci/data_integration/models/data_entity_summary_from_data_store.rb +454 -0
  291. data/lib/oci/{usage_api/models/create_schedule_report_details.rb → data_integration/models/dataflow_application.rb} +20 -33
  292. data/lib/oci/data_integration/models/dependent_object_summary.rb +17 -4
  293. data/lib/oci/data_integration/models/enriched_entity.rb +31 -4
  294. data/lib/oci/data_integration/models/expression_operator.rb +250 -0
  295. data/lib/oci/data_integration/models/external_storage.rb +221 -0
  296. data/lib/oci/data_integration/models/json_format_attribute.rb +5 -1
  297. data/lib/oci/data_integration/models/lookup.rb +274 -0
  298. data/lib/oci/data_integration/models/native_shape_field.rb +3 -3
  299. data/lib/oci/data_integration/models/object_metadata.rb +17 -4
  300. data/lib/oci/data_integration/models/object_storage_write_attribute.rb +162 -0
  301. data/lib/oci/data_integration/models/object_storage_write_attributes.rb +164 -0
  302. data/lib/oci/data_integration/models/operator.rb +4 -1
  303. data/lib/oci/data_integration/models/oracle_adwc_write_attributes.rb +22 -12
  304. data/lib/oci/data_integration/models/oracle_atp_write_attributes.rb +22 -12
  305. data/lib/oci/data_integration/models/oracle_read_attributes.rb +13 -2
  306. data/lib/oci/data_integration/models/oracle_write_attributes.rb +13 -2
  307. data/lib/oci/data_integration/models/parameter.rb +4 -3
  308. data/lib/oci/data_integration/models/parent_reference.rb +18 -4
  309. data/lib/oci/data_integration/models/parquet_format_attribute.rb +162 -0
  310. data/lib/oci/data_integration/models/patch_change_summary.rb +3 -0
  311. data/lib/oci/data_integration/models/patch_object_metadata.rb +3 -0
  312. data/lib/oci/data_integration/models/published_object.rb +3 -0
  313. data/lib/oci/data_integration/models/published_object_summary.rb +3 -0
  314. data/lib/oci/data_integration/models/schedule_summary.rb +295 -0
  315. data/lib/oci/data_integration/models/schedule_summary_collection.rb +150 -0
  316. data/lib/oci/data_integration/models/script.rb +202 -0
  317. data/lib/oci/data_integration/models/shape_field.rb +3 -3
  318. data/lib/oci/data_integration/models/task.rb +23 -4
  319. data/lib/oci/data_integration/models/task_from_data_loader_task_details.rb +5 -1
  320. data/lib/oci/data_integration/models/task_from_integration_task_details.rb +5 -1
  321. data/lib/oci/data_integration/models/task_from_oci_dataflow_task_details.rb +225 -0
  322. data/lib/oci/data_integration/models/task_from_pipeline_task_details.rb +5 -1
  323. data/lib/oci/data_integration/models/task_from_rest_task_details.rb +379 -0
  324. data/lib/oci/data_integration/models/task_from_sql_task_details.rb +265 -0
  325. data/lib/oci/data_integration/models/task_operator.rb +3 -0
  326. data/lib/oci/data_integration/models/task_run.rb +62 -1
  327. data/lib/oci/data_integration/models/task_run_details.rb +3 -0
  328. data/lib/oci/data_integration/models/task_run_summary.rb +3 -0
  329. data/lib/oci/data_integration/models/task_schedule_summary.rb +532 -0
  330. data/lib/oci/data_integration/models/task_schedule_summary_collection.rb +150 -0
  331. data/lib/oci/data_integration/models/task_summary.rb +6 -0
  332. data/lib/oci/data_integration/models/task_summary_from_oci_dataflow_task.rb +221 -0
  333. data/lib/oci/data_integration/models/task_summary_from_rest_task.rb +356 -0
  334. data/lib/oci/data_integration/models/task_summary_from_sql_task.rb +254 -0
  335. data/lib/oci/data_integration/models/update_connection_details.rb +5 -1
  336. data/lib/oci/data_integration/models/update_connection_from_amazon_s3.rb +214 -0
  337. data/lib/oci/data_integration/models/update_connection_from_bicc.rb +224 -0
  338. data/lib/oci/data_integration/models/update_data_asset_details.rb +5 -1
  339. data/lib/oci/data_integration/models/update_data_asset_from_adwc.rb +57 -1
  340. data/lib/oci/data_integration/models/update_data_asset_from_amazon_s3.rb +198 -0
  341. data/lib/oci/data_integration/models/update_data_asset_from_atp.rb +57 -1
  342. data/lib/oci/data_integration/models/update_data_asset_from_fusion_app.rb +202 -0
  343. data/lib/oci/data_integration/models/update_schedule_details.rb +299 -0
  344. data/lib/oci/data_integration/models/update_task_details.rb +7 -1
  345. data/lib/oci/data_integration/models/update_task_from_oci_dataflow_task.rb +217 -0
  346. data/lib/oci/data_integration/models/update_task_from_rest_task.rb +366 -0
  347. data/lib/oci/data_integration/models/update_task_from_sql_task.rb +250 -0
  348. data/lib/oci/data_integration/models/update_task_run_details.rb +15 -1
  349. data/lib/oci/data_integration/models/update_task_schedule_details.rb +490 -0
  350. data/lib/oci/data_safe/data_safe.rb +18 -0
  351. data/lib/oci/data_safe/data_safe_client.rb +731 -17
  352. data/lib/oci/data_safe/data_safe_client_composite_operations.rb +247 -0
  353. data/lib/oci/{usage_api/models/update_schedule_report_details.rb → data_safe/models/activate_target_database_details.rb} +10 -14
  354. data/lib/oci/data_safe/models/autonomous_database_details.rb +166 -0
  355. data/lib/oci/data_safe/models/change_target_database_compartment_details.rb +154 -0
  356. data/lib/oci/data_safe/models/connection_option.rb +194 -0
  357. data/lib/oci/data_safe/models/create_target_database_details.rb +261 -0
  358. data/lib/oci/data_safe/models/credentials.rb +164 -0
  359. data/lib/oci/data_safe/models/data_safe_private_endpoint.rb +20 -4
  360. data/lib/oci/data_safe/models/data_safe_private_endpoint_summary.rb +54 -4
  361. data/lib/oci/data_safe/models/database_cloud_service_details.rb +194 -0
  362. data/lib/oci/data_safe/models/database_details.rb +231 -0
  363. data/lib/oci/data_safe/models/database_type.rb +12 -0
  364. data/lib/oci/data_safe/models/infrastructure_type.rb +13 -0
  365. data/lib/oci/data_safe/models/installed_database_details.rb +209 -0
  366. data/lib/oci/data_safe/models/on_prem_connector.rb +17 -1
  367. data/lib/oci/data_safe/models/on_prem_connector_summary.rb +17 -1
  368. data/lib/oci/data_safe/models/on_premise_connector.rb +162 -0
  369. data/lib/oci/data_safe/models/private_endpoint.rb +163 -0
  370. data/lib/oci/data_safe/models/service_list.rb +4 -0
  371. data/lib/oci/data_safe/models/target_database.rb +369 -0
  372. data/lib/oci/data_safe/models/target_database_lifecycle_state.rb +17 -0
  373. data/lib/oci/data_safe/models/target_database_summary.rb +359 -0
  374. data/lib/oci/data_safe/models/tls_config.rb +244 -0
  375. data/lib/oci/data_safe/models/update_target_database_details.rb +246 -0
  376. data/lib/oci/data_safe/models/work_request.rb +6 -0
  377. data/lib/oci/data_safe/models/work_request_summary.rb +6 -0
  378. data/lib/oci/data_science/data_science.rb +3 -0
  379. data/lib/oci/data_science/data_science_client.rb +16 -9
  380. data/lib/oci/data_science/data_science_client_composite_operations.rb +4 -4
  381. data/lib/oci/data_science/models/create_model_details.rb +60 -4
  382. data/lib/oci/data_science/models/create_model_provenance_details.rb +18 -4
  383. data/lib/oci/data_science/models/metadata.rb +197 -0
  384. data/lib/oci/data_science/models/model.rb +60 -4
  385. data/lib/oci/data_science/models/model_deployment.rb +1 -1
  386. data/lib/oci/data_science/models/model_provenance.rb +18 -4
  387. data/lib/oci/data_science/models/notebook_session_configuration_details.rb +17 -4
  388. data/lib/oci/data_science/models/notebook_session_shape_config_details.rb +169 -0
  389. data/lib/oci/data_science/models/notebook_session_shape_series.rb +13 -0
  390. data/lib/oci/data_science/models/notebook_session_shape_summary.rb +41 -4
  391. data/lib/oci/data_science/models/update_model_details.rb +32 -4
  392. data/lib/oci/data_science/models/update_model_provenance_details.rb +18 -4
  393. data/lib/oci/database/database.rb +17 -0
  394. data/lib/oci/database/database_client.rb +1228 -46
  395. data/lib/oci/database/database_client_composite_operations.rb +416 -0
  396. data/lib/oci/database/models/autonomous_container_database_dataguard_association.rb +2 -2
  397. data/lib/oci/database/models/autonomous_database.rb +213 -6
  398. data/lib/oci/database/models/autonomous_database_backup.rb +32 -4
  399. data/lib/oci/database/models/autonomous_database_backup_summary.rb +32 -4
  400. data/lib/oci/database/models/autonomous_database_dataguard_association.rb +2 -2
  401. data/lib/oci/{usage_api/models/schedule_report.rb → database/models/autonomous_database_key_history_entry.rb} +24 -36
  402. data/lib/oci/database/models/autonomous_database_standby_summary.rb +19 -4
  403. data/lib/oci/database/models/autonomous_database_summary.rb +213 -6
  404. data/lib/oci/database/models/cloud_exadata_infrastructure.rb +21 -4
  405. data/lib/oci/database/models/cloud_exadata_infrastructure_summary.rb +21 -4
  406. data/lib/oci/database/models/configure_autonomous_database_vault_key_details.rb +182 -0
  407. data/lib/oci/database/models/create_autonomous_database_base.rb +118 -7
  408. data/lib/oci/database/models/create_autonomous_database_clone_details.rb +21 -1
  409. data/lib/oci/database/models/create_autonomous_database_details.rb +24 -4
  410. data/lib/oci/database/models/create_autonomous_database_from_backup_details.rb +21 -1
  411. data/lib/oci/database/models/create_autonomous_database_from_backup_timestamp_details.rb +21 -1
  412. data/lib/oci/database/models/create_cloud_exadata_infrastructure_details.rb +18 -4
  413. data/lib/oci/database/models/create_cross_region_autonomous_database_data_guard_details.rb +283 -0
  414. data/lib/oci/database/models/create_database_software_image_details.rb +18 -4
  415. data/lib/oci/database/models/create_db_home_base.rb +18 -4
  416. data/lib/oci/database/models/create_db_home_with_db_system_id_details.rb +5 -1
  417. data/lib/oci/database/models/create_db_home_with_db_system_id_from_backup_details.rb +5 -1
  418. data/lib/oci/database/models/create_db_home_with_db_system_id_from_database_details.rb +5 -1
  419. data/lib/oci/database/models/create_db_home_with_vm_cluster_id_details.rb +5 -1
  420. data/lib/oci/database/models/create_db_home_with_vm_cluster_id_from_backup_details.rb +5 -1
  421. data/lib/oci/database/models/create_exadata_infrastructure_details.rb +29 -1
  422. data/lib/oci/database/models/create_pluggable_database_details.rb +233 -0
  423. data/lib/oci/database/models/create_refreshable_autonomous_database_clone_details.rb +21 -1
  424. data/lib/oci/database/models/customer_contact.rb +2 -2
  425. data/lib/oci/database/models/db_home_from_agent_resource_id.rb +380 -0
  426. data/lib/oci/database/models/db_node.rb +69 -1
  427. data/lib/oci/database/models/db_node_summary.rb +69 -1
  428. data/lib/oci/database/models/db_system_shape_summary.rb +72 -2
  429. data/lib/oci/database/models/exadata_infrastructure.rb +57 -1
  430. data/lib/oci/database/models/exadata_infrastructure_summary.rb +57 -1
  431. data/lib/oci/database/models/local_clone_pluggable_database_details.rb +185 -0
  432. data/lib/oci/database/models/maintenance_run.rb +4 -1
  433. data/lib/oci/database/models/maintenance_run_summary.rb +4 -1
  434. data/lib/oci/database/models/pluggable_database.rb +358 -0
  435. data/lib/oci/database/models/pluggable_database_connection_strings.rb +183 -0
  436. data/lib/oci/database/models/pluggable_database_summary.rb +361 -0
  437. data/lib/oci/database/models/remote_clone_pluggable_database_details.rb +213 -0
  438. data/lib/oci/database/models/scan_details.rb +1 -1
  439. data/lib/oci/database/models/update_autonomous_database_details.rb +64 -5
  440. data/lib/oci/database/models/update_cloud_exadata_infrastructure_details.rb +18 -4
  441. data/lib/oci/database/models/update_data_guard_association_details.rb +237 -0
  442. data/lib/oci/database/models/update_exadata_infrastructure_details.rb +15 -1
  443. data/lib/oci/database/models/update_external_macs_connector_details.rb +2 -1
  444. data/lib/oci/database/models/update_maintenance_run_details.rb +4 -1
  445. data/lib/oci/database/models/update_pluggable_database_details.rb +177 -0
  446. data/lib/oci/database/models/update_vm_cluster_details.rb +14 -1
  447. data/lib/oci/database/models/vm_cluster.rb +15 -2
  448. data/lib/oci/database/models/vm_cluster_summary.rb +15 -2
  449. data/lib/oci/database/models/vm_cluster_update.rb +346 -0
  450. data/lib/oci/database/models/vm_cluster_update_details.rb +183 -0
  451. data/lib/oci/database/models/vm_cluster_update_history_entry.rb +308 -0
  452. data/lib/oci/database/models/vm_cluster_update_history_entry_summary.rb +311 -0
  453. data/lib/oci/database/models/vm_cluster_update_summary.rb +349 -0
  454. data/lib/oci/database_management/database_management.rb +25 -0
  455. data/lib/oci/database_management/db_management_client.rb +1467 -97
  456. data/lib/oci/database_management/models/awr_db_collection.rb +175 -0
  457. data/lib/oci/database_management/models/awr_db_cpu_usage_collection.rb +217 -0
  458. data/lib/oci/database_management/models/awr_db_cpu_usage_summary.rb +164 -0
  459. data/lib/oci/database_management/models/awr_db_metric_collection.rb +175 -0
  460. data/lib/oci/database_management/models/awr_db_metric_summary.rb +202 -0
  461. data/lib/oci/database_management/models/awr_db_parameter_change_collection.rb +175 -0
  462. data/lib/oci/database_management/models/awr_db_parameter_change_summary.rb +255 -0
  463. data/lib/oci/database_management/models/awr_db_parameter_collection.rb +175 -0
  464. data/lib/oci/database_management/models/awr_db_parameter_summary.rb +238 -0
  465. data/lib/oci/database_management/models/awr_db_report.rb +205 -0
  466. data/lib/oci/database_management/models/awr_db_snapshot_collection.rb +175 -0
  467. data/lib/oci/database_management/models/awr_db_snapshot_range_collection.rb +175 -0
  468. data/lib/oci/database_management/models/awr_db_snapshot_range_summary.rb +331 -0
  469. data/lib/oci/database_management/models/awr_db_snapshot_summary.rb +244 -0
  470. data/lib/oci/database_management/models/awr_db_sql_report.rb +204 -0
  471. data/lib/oci/database_management/models/awr_db_summary.rb +334 -0
  472. data/lib/oci/database_management/models/awr_db_sysstat_collection.rb +175 -0
  473. data/lib/oci/database_management/models/awr_db_sysstat_summary.rb +216 -0
  474. data/lib/oci/database_management/models/awr_db_top_wait_event_collection.rb +175 -0
  475. data/lib/oci/database_management/models/awr_db_top_wait_event_summary.rb +178 -0
  476. data/lib/oci/database_management/models/awr_db_wait_event_bucket_collection.rb +189 -0
  477. data/lib/oci/database_management/models/awr_db_wait_event_bucket_summary.rb +160 -0
  478. data/lib/oci/database_management/models/awr_db_wait_event_collection.rb +175 -0
  479. data/lib/oci/database_management/models/awr_db_wait_event_summary.rb +223 -0
  480. data/lib/oci/database_management/models/awr_query_result.rb +254 -0
  481. data/lib/oci/devops/devops.rb +177 -0
  482. data/lib/oci/devops/devops_client.rb +2344 -0
  483. data/lib/oci/devops/devops_client_composite_operations.rb +974 -0
  484. data/lib/oci/devops/models/absolute_wait_criteria.rb +162 -0
  485. data/lib/oci/devops/models/absolute_wait_criteria_summary.rb +162 -0
  486. data/lib/oci/devops/models/action_type.rb +15 -0
  487. data/lib/oci/devops/models/approval_action.rb +184 -0
  488. data/lib/oci/devops/models/approval_policy.rb +189 -0
  489. data/lib/oci/devops/models/approve_deployment_details.rb +187 -0
  490. data/lib/oci/devops/models/automated_deploy_stage_rollback_policy.rb +145 -0
  491. data/lib/oci/devops/models/backend_set_ip_collection.rb +150 -0
  492. data/lib/oci/devops/models/cancel_deployment_details.rb +150 -0
  493. data/lib/oci/devops/models/change_project_compartment_details.rb +154 -0
  494. data/lib/oci/devops/models/compute_instance_group_blue_green_deploy_stage_execution_progress.rb +173 -0
  495. data/lib/oci/devops/models/compute_instance_group_blue_green_traffic_shift_deploy_stage_execution_progress.rb +173 -0
  496. data/lib/oci/devops/models/compute_instance_group_by_ids_selector.rb +162 -0
  497. data/lib/oci/devops/models/compute_instance_group_by_query_selector.rb +168 -0
  498. data/lib/oci/devops/models/compute_instance_group_canary_approval_deploy_stage_execution_progress.rb +189 -0
  499. data/lib/oci/devops/models/compute_instance_group_canary_deploy_stage_execution_progress.rb +173 -0
  500. data/lib/oci/devops/models/compute_instance_group_canary_traffic_shift_deploy_stage_execution_progress.rb +173 -0
  501. data/lib/oci/devops/models/compute_instance_group_deploy_environment.rb +210 -0
  502. data/lib/oci/devops/models/compute_instance_group_deploy_environment_summary.rb +210 -0
  503. data/lib/oci/devops/models/compute_instance_group_deploy_stage.rb +299 -0
  504. data/lib/oci/devops/models/compute_instance_group_deploy_stage_execution_progress.rb +173 -0
  505. data/lib/oci/devops/models/compute_instance_group_deploy_stage_summary.rb +299 -0
  506. data/lib/oci/devops/models/compute_instance_group_failure_policy.rb +191 -0
  507. data/lib/oci/devops/models/compute_instance_group_failure_policy_by_count.rb +162 -0
  508. data/lib/oci/devops/models/compute_instance_group_failure_policy_by_percentage.rb +162 -0
  509. data/lib/oci/devops/models/compute_instance_group_linear_rollout_policy_by_count.rb +166 -0
  510. data/lib/oci/devops/models/compute_instance_group_linear_rollout_policy_by_percentage.rb +166 -0
  511. data/lib/oci/devops/models/compute_instance_group_rollout_policy.rb +207 -0
  512. data/lib/oci/devops/models/compute_instance_group_selector.rb +191 -0
  513. data/lib/oci/devops/models/compute_instance_group_selector_collection.rb +150 -0
  514. data/lib/oci/devops/models/count_based_approval_policy.rb +164 -0
  515. data/lib/oci/devops/models/create_compute_instance_group_deploy_environment_details.rb +182 -0
  516. data/lib/oci/devops/models/create_compute_instance_group_deploy_stage_details.rb +267 -0
  517. data/lib/oci/devops/models/create_deploy_artifact_details.rb +248 -0
  518. data/lib/oci/devops/models/create_deploy_environment_details.rb +238 -0
  519. data/lib/oci/devops/models/create_deploy_pipeline_deployment_details.rb +190 -0
  520. data/lib/oci/devops/models/create_deploy_pipeline_details.rb +219 -0
  521. data/lib/oci/devops/models/create_deploy_pipeline_redeployment_details.rb +178 -0
  522. data/lib/oci/devops/models/create_deploy_stage_details.rb +256 -0
  523. data/lib/oci/devops/models/create_deployment_details.rb +228 -0
  524. data/lib/oci/devops/models/create_function_deploy_environment_details.rb +182 -0
  525. data/lib/oci/devops/models/create_function_deploy_stage_details.rb +238 -0
  526. data/lib/oci/devops/models/create_invoke_function_deploy_stage_details.rb +228 -0
  527. data/lib/oci/devops/models/create_load_balancer_traffic_shift_deploy_stage_details.rb +255 -0
  528. data/lib/oci/devops/models/create_manual_approval_deploy_stage_details.rb +186 -0
  529. data/lib/oci/devops/models/create_oke_cluster_deploy_environment_details.rb +182 -0
  530. data/lib/oci/devops/models/create_oke_deploy_stage_details.rb +224 -0
  531. data/lib/oci/devops/models/create_project_details.rb +216 -0
  532. data/lib/oci/devops/models/create_single_deploy_stage_deployment_details.rb +204 -0
  533. data/lib/oci/devops/models/create_wait_deploy_stage_details.rb +186 -0
  534. data/lib/oci/devops/models/deploy_artifact.rb +407 -0
  535. data/lib/oci/devops/models/deploy_artifact_collection.rb +150 -0
  536. data/lib/oci/devops/models/deploy_artifact_override_argument.rb +174 -0
  537. data/lib/oci/devops/models/deploy_artifact_override_argument_collection.rb +150 -0
  538. data/lib/oci/devops/models/deploy_artifact_source.rb +193 -0
  539. data/lib/oci/devops/models/deploy_artifact_summary.rb +342 -0
  540. data/lib/oci/devops/models/deploy_environment.rb +376 -0
  541. data/lib/oci/devops/models/deploy_environment_collection.rb +150 -0
  542. data/lib/oci/devops/models/deploy_environment_summary.rb +332 -0
  543. data/lib/oci/devops/models/deploy_pipeline.rb +365 -0
  544. data/lib/oci/{usage_api/models/saved_schedule_report.rb → devops/models/deploy_pipeline_artifact.rb} +27 -39
  545. data/lib/oci/devops/models/deploy_pipeline_artifact_collection.rb +150 -0
  546. data/lib/oci/devops/models/deploy_pipeline_collection.rb +150 -0
  547. data/lib/oci/devops/models/deploy_pipeline_deployment.rb +213 -0
  548. data/lib/oci/devops/models/deploy_pipeline_deployment_summary.rb +201 -0
  549. data/lib/oci/devops/models/deploy_pipeline_environment.rb +182 -0
  550. data/lib/oci/devops/models/deploy_pipeline_environment_collection.rb +150 -0
  551. data/lib/oci/devops/models/deploy_pipeline_parameter.rb +174 -0
  552. data/lib/oci/devops/models/deploy_pipeline_parameter_collection.rb +150 -0
  553. data/lib/oci/devops/models/deploy_pipeline_redeployment.rb +230 -0
  554. data/lib/oci/devops/models/deploy_pipeline_redeployment_summary.rb +218 -0
  555. data/lib/oci/devops/models/deploy_pipeline_stage.rb +168 -0
  556. data/lib/oci/devops/models/deploy_pipeline_stage_collection.rb +150 -0
  557. data/lib/oci/devops/models/deploy_pipeline_summary.rb +299 -0
  558. data/lib/oci/devops/models/deploy_stage.rb +411 -0
  559. data/lib/oci/devops/models/deploy_stage_collection.rb +150 -0
  560. data/lib/oci/devops/models/deploy_stage_execution_progress.rb +303 -0
  561. data/lib/oci/devops/models/deploy_stage_execution_progress_details.rb +192 -0
  562. data/lib/oci/devops/models/deploy_stage_execution_step.rb +211 -0
  563. data/lib/oci/{usage_api/models/schedule_report_summary.rb → devops/models/deploy_stage_predecessor.rb} +7 -20
  564. data/lib/oci/devops/models/deploy_stage_predecessor_collection.rb +150 -0
  565. data/lib/oci/devops/models/deploy_stage_rollback_policy.rb +191 -0
  566. data/lib/oci/devops/models/deploy_stage_summary.rb +363 -0
  567. data/lib/oci/devops/models/deployment.rb +445 -0
  568. data/lib/oci/devops/models/deployment_argument.rb +160 -0
  569. data/lib/oci/devops/models/deployment_argument_collection.rb +150 -0
  570. data/lib/oci/devops/models/deployment_collection.rb +150 -0
  571. data/lib/oci/devops/models/deployment_execution_progress.rb +182 -0
  572. data/lib/oci/devops/models/deployment_summary.rb +363 -0
  573. data/lib/oci/devops/models/function_deploy_environment.rb +210 -0
  574. data/lib/oci/devops/models/function_deploy_environment_summary.rb +210 -0
  575. data/lib/oci/devops/models/function_deploy_stage.rb +270 -0
  576. data/lib/oci/devops/models/function_deploy_stage_execution_progress.rb +173 -0
  577. data/lib/oci/devops/models/function_deploy_stage_summary.rb +270 -0
  578. data/lib/oci/devops/models/generic_deploy_artifact_source.rb +190 -0
  579. data/lib/oci/devops/models/inline_deploy_artifact_source.rb +162 -0
  580. data/lib/oci/devops/models/invoke_function_deploy_stage.rb +260 -0
  581. data/lib/oci/devops/models/invoke_function_deploy_stage_execution_progress.rb +173 -0
  582. data/lib/oci/devops/models/invoke_function_deploy_stage_summary.rb +260 -0
  583. data/lib/oci/devops/models/load_balancer_config.rb +184 -0
  584. data/lib/oci/devops/models/load_balancer_traffic_shift_deploy_stage.rb +308 -0
  585. data/lib/oci/devops/models/load_balancer_traffic_shift_deploy_stage_execution_progress.rb +173 -0
  586. data/lib/oci/devops/models/load_balancer_traffic_shift_deploy_stage_summary.rb +287 -0
  587. data/lib/oci/devops/models/load_balancer_traffic_shift_rollout_policy.rb +184 -0
  588. data/lib/oci/devops/models/manual_approval_deploy_stage.rb +218 -0
  589. data/lib/oci/devops/models/manual_approval_deploy_stage_execution_progress.rb +189 -0
  590. data/lib/oci/devops/models/manual_approval_deploy_stage_summary.rb +218 -0
  591. data/lib/oci/devops/models/no_deploy_stage_rollback_policy.rb +145 -0
  592. data/lib/oci/devops/models/notification_config.rb +154 -0
  593. data/lib/oci/devops/models/ocir_deploy_artifact_source.rb +176 -0
  594. data/lib/oci/devops/models/oke_cluster_deploy_environment.rb +210 -0
  595. data/lib/oci/devops/models/oke_cluster_deploy_environment_summary.rb +210 -0
  596. data/lib/oci/devops/models/oke_deploy_stage.rb +256 -0
  597. data/lib/oci/devops/models/oke_deploy_stage_execution_progress.rb +173 -0
  598. data/lib/oci/devops/models/oke_deploy_stage_summary.rb +256 -0
  599. data/lib/oci/devops/models/operation_status.rb +15 -0
  600. data/lib/oci/devops/models/operation_type.rb +28 -0
  601. data/lib/oci/devops/models/project.rb +330 -0
  602. data/lib/oci/devops/models/project_collection.rb +150 -0
  603. data/lib/oci/devops/models/project_summary.rb +292 -0
  604. data/lib/oci/devops/models/run_pipeline_deploy_stage_execution_progress.rb +173 -0
  605. data/lib/oci/devops/models/run_validation_test_on_compute_instance_deploy_stage_execution_progress.rb +173 -0
  606. data/lib/oci/devops/models/single_deploy_stage_deployment.rb +230 -0
  607. data/lib/oci/devops/models/single_deploy_stage_deployment_summary.rb +218 -0
  608. data/lib/oci/devops/models/sort_order.rb +11 -0
  609. data/lib/oci/devops/models/update_compute_instance_group_deploy_environment_details.rb +177 -0
  610. data/lib/oci/devops/models/update_compute_instance_group_deploy_stage_details.rb +262 -0
  611. data/lib/oci/devops/models/update_deploy_artifact_details.rb +233 -0
  612. data/lib/oci/devops/models/update_deploy_environment_details.rb +224 -0
  613. data/lib/oci/devops/models/update_deploy_pipeline_deployment_details.rb +157 -0
  614. data/lib/oci/devops/models/update_deploy_pipeline_details.rb +205 -0
  615. data/lib/oci/devops/models/update_deploy_pipeline_redeployment_details.rb +157 -0
  616. data/lib/oci/devops/models/update_deploy_stage_details.rb +241 -0
  617. data/lib/oci/devops/models/update_deployment_details.rb +214 -0
  618. data/lib/oci/devops/models/update_function_deploy_environment_details.rb +178 -0
  619. data/lib/oci/devops/models/update_function_deploy_stage_details.rb +234 -0
  620. data/lib/oci/devops/models/update_invoke_function_deploy_stage_details.rb +224 -0
  621. data/lib/oci/devops/models/update_load_balancer_traffic_shift_deploy_stage_details.rb +247 -0
  622. data/lib/oci/devops/models/update_manual_approval_deploy_stage_details.rb +181 -0
  623. data/lib/oci/devops/models/update_oke_cluster_deploy_environment_details.rb +178 -0
  624. data/lib/oci/devops/models/update_oke_deploy_stage_details.rb +220 -0
  625. data/lib/oci/devops/models/update_project_details.rb +191 -0
  626. data/lib/oci/devops/models/update_single_deploy_stage_deployment_details.rb +157 -0
  627. data/lib/oci/devops/models/update_wait_deploy_stage_details.rb +181 -0
  628. data/lib/oci/devops/models/wait_criteria.rb +189 -0
  629. data/lib/oci/devops/models/wait_criteria_summary.rb +189 -0
  630. data/lib/oci/devops/models/wait_deploy_stage.rb +218 -0
  631. data/lib/oci/devops/models/wait_deploy_stage_execution_progress.rb +173 -0
  632. data/lib/oci/devops/models/wait_deploy_stage_summary.rb +218 -0
  633. data/lib/oci/devops/models/work_request.rb +314 -0
  634. data/lib/oci/devops/models/work_request_collection.rb +150 -0
  635. data/lib/oci/devops/models/work_request_error.rb +171 -0
  636. data/lib/oci/devops/models/work_request_error_collection.rb +150 -0
  637. data/lib/oci/devops/models/work_request_log_entry.rb +160 -0
  638. data/lib/oci/devops/models/work_request_log_entry_collection.rb +150 -0
  639. data/lib/oci/devops/models/work_request_resource.rb +216 -0
  640. data/lib/oci/devops/models/work_request_summary.rb +314 -0
  641. data/lib/oci/devops/util.rb +3 -0
  642. data/lib/oci/dns/dns.rb +1 -1
  643. data/lib/oci/dns/dns_client.rb +306 -75
  644. data/lib/oci/dns/models/create_resolver_endpoint_details.rb +2 -2
  645. data/lib/oci/dns/models/create_resolver_vnic_endpoint_details.rb +5 -5
  646. data/lib/oci/dns/models/external_master.rb +1 -12
  647. data/lib/oci/dns/models/resolver.rb +4 -4
  648. data/lib/oci/dns/models/resolver_endpoint.rb +2 -2
  649. data/lib/oci/dns/models/resolver_endpoint_summary.rb +2 -2
  650. data/lib/oci/dns/models/resolver_forward_rule.rb +2 -2
  651. data/lib/oci/dns/models/resolver_forward_rule_details.rb +2 -2
  652. data/lib/oci/dns/models/resolver_rule.rb +2 -2
  653. data/lib/oci/dns/models/resolver_rule_details.rb +2 -2
  654. data/lib/oci/dns/models/resolver_summary.rb +4 -4
  655. data/lib/oci/dns/models/resolver_vnic_endpoint.rb +2 -1
  656. data/lib/oci/dns/models/tsig_key.rb +4 -0
  657. data/lib/oci/dns/models/tsig_key_summary.rb +4 -0
  658. data/lib/oci/dns/models/update_resolver_vnic_endpoint_details.rb +2 -1
  659. data/lib/oci/dns/models/zone.rb +20 -4
  660. data/lib/oci/dns/models/zone_summary.rb +1 -0
  661. data/lib/oci/dns/models/zone_transfer_server.rb +192 -0
  662. data/lib/oci/email/email.rb +23 -0
  663. data/lib/oci/email/email_client.rb +1139 -139
  664. data/lib/oci/email/email_client_composite_operations.rb +346 -0
  665. data/lib/oci/email/models/action_type.rb +14 -0
  666. data/lib/oci/email/models/change_email_domain_compartment_details.rb +156 -0
  667. data/lib/oci/email/models/create_dkim_details.rb +225 -0
  668. data/lib/oci/email/models/create_email_domain_details.rb +220 -0
  669. data/lib/oci/email/models/create_sender_details.rb +2 -0
  670. data/lib/oci/email/models/dkim.rb +399 -0
  671. data/lib/oci/email/models/dkim_collection.rb +150 -0
  672. data/lib/oci/email/models/dkim_summary.rb +307 -0
  673. data/lib/oci/email/models/email_domain.rb +333 -0
  674. data/lib/oci/email/models/email_domain_collection.rb +150 -0
  675. data/lib/oci/email/models/email_domain_summary.rb +291 -0
  676. data/lib/oci/email/models/operation_status.rb +15 -0
  677. data/lib/oci/email/models/operation_type.rb +17 -0
  678. data/lib/oci/email/models/sender.rb +21 -4
  679. data/lib/oci/email/models/sender_summary.rb +5 -3
  680. data/lib/oci/email/models/sort_order.rb +11 -0
  681. data/lib/oci/email/models/suppression.rb +77 -7
  682. data/lib/oci/email/models/suppression_summary.rb +3 -3
  683. data/lib/oci/email/models/update_dkim_details.rb +189 -0
  684. data/lib/oci/email/models/update_email_domain_details.rb +189 -0
  685. data/lib/oci/email/models/update_sender_details.rb +2 -0
  686. data/lib/oci/email/models/work_request.rb +312 -0
  687. data/lib/oci/email/models/work_request_error.rb +172 -0
  688. data/lib/oci/email/models/work_request_error_collection.rb +150 -0
  689. data/lib/oci/email/models/work_request_log_entry.rb +160 -0
  690. data/lib/oci/email/models/work_request_log_entry_collection.rb +150 -0
  691. data/lib/oci/email/models/work_request_resource.rb +219 -0
  692. data/lib/oci/email/models/work_request_summary.rb +312 -0
  693. data/lib/oci/email/models/work_request_summary_collection.rb +150 -0
  694. data/lib/oci/generic_artifacts_content/generic_artifacts_content.rb +20 -0
  695. data/lib/oci/generic_artifacts_content/generic_artifacts_content_client.rb +410 -0
  696. data/lib/oci/generic_artifacts_content/generic_artifacts_content_client_composite_operations.rb +25 -0
  697. data/lib/oci/generic_artifacts_content/models/generic_artifact.rb +337 -0
  698. data/lib/oci/generic_artifacts_content/util.rb +3 -0
  699. data/lib/oci/jms/java_management_service_client.rb +1520 -0
  700. data/lib/oci/jms/java_management_service_client_composite_operations.rb +273 -0
  701. data/lib/oci/jms/jms.rb +63 -0
  702. data/lib/oci/jms/models/action_type.rb +14 -0
  703. data/lib/oci/jms/models/application_sort_by.rb +15 -0
  704. data/lib/oci/jms/models/application_usage.rb +292 -0
  705. data/lib/oci/jms/models/application_usage_collection.rb +150 -0
  706. data/lib/oci/jms/models/change_fleet_compartment_details.rb +154 -0
  707. data/lib/oci/jms/models/create_fleet_details.rb +210 -0
  708. data/lib/oci/jms/models/fleet.rb +358 -0
  709. data/lib/oci/jms/models/fleet_agent_configuration.rb +214 -0
  710. data/lib/oci/jms/models/fleet_agent_os_configuration.rb +171 -0
  711. data/lib/oci/jms/models/fleet_collection.rb +150 -0
  712. data/lib/oci/jms/models/fleet_summary.rb +359 -0
  713. data/lib/oci/jms/models/installation_sort_by.rb +17 -0
  714. data/lib/oci/jms/models/installation_usage.rb +306 -0
  715. data/lib/oci/jms/models/installation_usage_collection.rb +150 -0
  716. data/lib/oci/jms/models/jre_sort_by.rb +17 -0
  717. data/lib/oci/jms/models/jre_usage.rb +276 -0
  718. data/lib/oci/jms/models/jre_usage_collection.rb +150 -0
  719. data/lib/oci/jms/models/lifecycle_state.rb +15 -0
  720. data/lib/oci/jms/models/managed_instance_sort_by.rb +14 -0
  721. data/lib/oci/jms/models/managed_instance_type.rb +10 -0
  722. data/lib/oci/jms/models/managed_instance_usage.rb +308 -0
  723. data/lib/oci/jms/models/managed_instance_usage_collection.rb +150 -0
  724. data/lib/oci/jms/models/operation_status.rb +15 -0
  725. data/lib/oci/jms/models/operation_type.rb +13 -0
  726. data/lib/oci/jms/models/request_summarized_application_usage_details.rb +362 -0
  727. data/lib/oci/jms/models/request_summarized_installation_usage_details.rb +335 -0
  728. data/lib/oci/jms/models/request_summarized_jre_usage_details.rb +321 -0
  729. data/lib/oci/jms/models/request_summarized_managed_instance_usage_details.rb +358 -0
  730. data/lib/oci/jms/models/sort_by.rb +11 -0
  731. data/lib/oci/jms/models/sort_order.rb +11 -0
  732. data/lib/oci/jms/models/summarize_application_usage_fields.rb +12 -0
  733. data/lib/oci/jms/models/summarize_installation_usage_fields.rb +11 -0
  734. data/lib/oci/jms/models/summarize_jre_usage_fields.rb +12 -0
  735. data/lib/oci/jms/models/summarize_managed_instance_usage_fields.rb +12 -0
  736. data/lib/oci/jms/models/update_fleet_agent_configuration_details.rb +196 -0
  737. data/lib/oci/jms/models/update_fleet_details.rb +196 -0
  738. data/lib/oci/jms/models/work_request.rb +306 -0
  739. data/lib/oci/jms/models/work_request_collection.rb +150 -0
  740. data/lib/oci/jms/models/work_request_error.rb +173 -0
  741. data/lib/oci/jms/models/work_request_error_collection.rb +150 -0
  742. data/lib/oci/jms/models/work_request_log_entry.rb +160 -0
  743. data/lib/oci/jms/models/work_request_log_entry_collection.rb +150 -0
  744. data/lib/oci/jms/models/work_request_resource.rb +219 -0
  745. data/lib/oci/jms/util.rb +3 -0
  746. data/lib/oci/limits/limits_client.rb +12 -12
  747. data/lib/oci/limits/models/limit_definition_summary.rb +22 -7
  748. data/lib/oci/limits/models/quota.rb +6 -6
  749. data/lib/oci/limits/models/quota_summary.rb +3 -3
  750. data/lib/oci/limits/models/resource_availability.rb +7 -7
  751. data/lib/oci/limits/models/service_summary.rb +1 -1
  752. data/lib/oci/limits/quotas_client.rb +9 -9
  753. data/lib/oci/log_analytics/log_analytics.rb +1 -0
  754. data/lib/oci/log_analytics/log_analytics_client.rb +60 -0
  755. data/lib/oci/log_analytics/models/abstract_command_descriptor.rb +2 -0
  756. data/lib/oci/log_analytics/models/compare_command_descriptor.rb +166 -0
  757. data/lib/oci/log_analytics/models/cron_schedule.rb +5 -1
  758. data/lib/oci/log_analytics/models/fixed_frequency_schedule.rb +5 -1
  759. data/lib/oci/log_analytics/models/namespace.rb +20 -4
  760. data/lib/oci/log_analytics/models/namespace_summary.rb +20 -4
  761. data/lib/oci/log_analytics/models/schedule.rb +20 -4
  762. data/lib/oci/log_analytics/models/scheduled_task.rb +54 -1
  763. data/lib/oci/log_analytics/models/scheduled_task_summary.rb +15 -1
  764. data/lib/oci/log_analytics/models/standard_task.rb +9 -1
  765. data/lib/oci/log_analytics/models/stream_action.rb +40 -4
  766. data/lib/oci/loggingingestion/logging_client.rb +1 -1
  767. data/lib/oci/loggingingestion/models/log_entry.rb +1 -1
  768. data/lib/oci/loggingingestion/models/log_entry_batch.rb +2 -2
  769. data/lib/oci/management_dashboard/dashx_apis_client.rb +16 -6
  770. data/lib/oci/management_dashboard/dashx_apis_client_composite_operations.rb +238 -0
  771. data/lib/oci/management_dashboard/management_dashboard.rb +1 -0
  772. data/lib/oci/management_dashboard/models/create_management_dashboard_details.rb +15 -1
  773. data/lib/oci/management_dashboard/models/create_management_saved_search_details.rb +15 -1
  774. data/lib/oci/management_dashboard/models/management_dashboard.rb +59 -2
  775. data/lib/oci/management_dashboard/models/management_dashboard_export_details.rb +4 -36
  776. data/lib/oci/management_dashboard/models/management_dashboard_for_import_export_details.rb +15 -1
  777. data/lib/oci/management_dashboard/models/management_dashboard_summary.rb +12 -2
  778. data/lib/oci/management_dashboard/models/management_dashboard_tile_details.rb +18 -4
  779. data/lib/oci/management_dashboard/models/management_saved_search.rb +47 -1
  780. data/lib/oci/management_dashboard/models/management_saved_search_for_import_details.rb +18 -4
  781. data/lib/oci/management_dashboard/models/management_saved_search_summary.rb +15 -1
  782. data/lib/oci/management_dashboard/models/update_management_dashboard_details.rb +15 -1
  783. data/lib/oci/management_dashboard/models/update_management_saved_search_details.rb +15 -1
  784. data/lib/oci/marketplace/account_client.rb +220 -0
  785. data/lib/oci/marketplace/account_client_composite_operations.rb +25 -0
  786. data/lib/oci/marketplace/marketplace.rb +8 -0
  787. data/lib/oci/marketplace/marketplace_client.rb +86 -24
  788. data/lib/oci/marketplace/marketplace_client_composite_operations.rb +4 -4
  789. data/lib/oci/marketplace/models/change_publication_compartment_details.rb +2 -2
  790. data/lib/oci/marketplace/models/create_image_publication_package.rb +2 -2
  791. data/lib/oci/marketplace/models/create_publication_details.rb +10 -8
  792. data/lib/oci/marketplace/models/create_publication_package.rb +4 -4
  793. data/lib/oci/marketplace/models/eula.rb +2 -2
  794. data/lib/oci/marketplace/models/free_text_search_details.rb +162 -0
  795. data/lib/oci/marketplace/models/image_publication_package.rb +3 -3
  796. data/lib/oci/marketplace/models/launch_eligibility.rb +178 -0
  797. data/lib/oci/marketplace/models/listing.rb +2 -2
  798. data/lib/oci/marketplace/models/listing_package_summary.rb +10 -1
  799. data/lib/oci/marketplace/models/listing_summary.rb +2 -2
  800. data/lib/oci/marketplace/models/matching_context_type_enum.rb +11 -0
  801. data/lib/oci/marketplace/models/operating_system.rb +2 -2
  802. data/lib/oci/marketplace/models/orchestration_publication_package.rb +3 -3
  803. data/lib/oci/marketplace/models/publication.rb +11 -11
  804. data/lib/oci/marketplace/models/publication_package.rb +3 -3
  805. data/lib/oci/marketplace/models/publication_package_summary.rb +1 -1
  806. data/lib/oci/marketplace/models/publication_summary.rb +9 -9
  807. data/lib/oci/marketplace/models/publisher_summary.rb +1 -1
  808. data/lib/oci/marketplace/models/search_details_type_enum.rb +11 -0
  809. data/lib/oci/marketplace/models/search_listings_details.rb +207 -0
  810. data/lib/oci/marketplace/models/structured_search_details.rb +162 -0
  811. data/lib/oci/marketplace/models/text_based_eula.rb +2 -2
  812. data/lib/oci/marketplace/models/third_party_paid_listing_eligibility.rb +210 -0
  813. data/lib/oci/marketplace/models/update_publication_details.rb +5 -5
  814. data/lib/oci/mysql/db_backups_client.rb +76 -0
  815. data/lib/oci/mysql/db_backups_client_composite_operations.rb +50 -0
  816. data/lib/oci/mysql/models/change_backup_compartment_details.rb +154 -0
  817. data/lib/oci/mysql/mysql.rb +1 -0
  818. data/lib/oci/oce/models/create_oce_instance_details.rb +3 -1
  819. data/lib/oci/oce/models/license_type.rb +3 -1
  820. data/lib/oci/oce/models/oce_instance.rb +19 -1
  821. data/lib/oci/oce/models/oce_instance_summary.rb +22 -4
  822. data/lib/oci/oce/models/update_oce_instance_details.rb +3 -1
  823. data/lib/oci/oce/oce_instance_client.rb +2 -0
  824. data/lib/oci/ocvp/models/create_esxi_host_details.rb +3 -1
  825. data/lib/oci/ocvp/models/create_sddc_details.rb +21 -2
  826. data/lib/oci/ocvp/models/downgrade_hcx_details.rb +154 -0
  827. data/lib/oci/ocvp/models/esxi_host.rb +2 -0
  828. data/lib/oci/ocvp/models/esxi_host_summary.rb +2 -0
  829. data/lib/oci/ocvp/models/hcx_license_status.rb +13 -0
  830. data/lib/oci/ocvp/models/hcx_license_summary.rb +201 -0
  831. data/lib/oci/ocvp/models/operation_types.rb +5 -1
  832. data/lib/oci/ocvp/models/sddc.rb +86 -2
  833. data/lib/oci/ocvp/models/supported_sku_summary.rb +2 -1
  834. data/lib/oci/ocvp/models/supported_sku_summary_collection.rb +3 -1
  835. data/lib/oci/ocvp/models/update_esxi_host_details.rb +3 -1
  836. data/lib/oci/ocvp/models/work_request.rb +4 -0
  837. data/lib/oci/ocvp/ocvp.rb +3 -0
  838. data/lib/oci/ocvp/sddc_client.rb +291 -2
  839. data/lib/oci/ocvp/sddc_client_composite_operations.rb +201 -0
  840. data/lib/oci/opsi/models/autonomous_database_configuration_summary.rb +198 -0
  841. data/lib/oci/opsi/models/create_enterprise_manager_bridge_details.rb +2 -2
  842. data/lib/oci/opsi/models/create_host_insight_details.rb +1 -1
  843. data/lib/oci/opsi/models/create_macs_managed_external_host_insight_details.rb +1 -1
  844. data/lib/oci/opsi/models/database_configuration_collection.rb +150 -0
  845. data/lib/oci/opsi/models/database_configuration_summary.rb +323 -0
  846. data/lib/oci/opsi/models/database_details.rb +1 -0
  847. data/lib/oci/opsi/models/database_insight.rb +1 -0
  848. data/lib/oci/opsi/models/database_insight_summary.rb +1 -0
  849. data/lib/oci/opsi/models/em_managed_external_database_configuration_summary.rb +222 -0
  850. data/lib/oci/opsi/models/enable_host_insight_details.rb +1 -1
  851. data/lib/oci/opsi/models/enable_macs_managed_external_host_insight_details.rb +1 -1
  852. data/lib/oci/opsi/models/enterprise_manager_bridge.rb +16 -1
  853. data/lib/oci/opsi/models/enterprise_manager_bridge_summary.rb +16 -1
  854. data/lib/oci/opsi/models/host_insight.rb +1 -0
  855. data/lib/oci/opsi/models/host_insight_summary.rb +1 -0
  856. data/lib/oci/opsi/models/lifecycle_state.rb +2 -1
  857. data/lib/oci/opsi/models/macs_managed_external_database_configuration_summary.rb +236 -0
  858. data/lib/oci/opsi/models/macs_managed_external_host_insight.rb +1 -1
  859. data/lib/oci/opsi/models/macs_managed_external_host_insight_summary.rb +1 -1
  860. data/lib/oci/opsi/models/summarize_database_insight_resource_forecast_trend_aggregation.rb +15 -1
  861. data/lib/oci/opsi/models/tablespace_usage_trend_aggregation.rb +1 -1
  862. data/lib/oci/opsi/operations_insights_client.rb +631 -25
  863. data/lib/oci/opsi/opsi.rb +5 -0
  864. data/lib/oci/regions.rb +3 -0
  865. data/lib/oci/secrets/secrets_client.rb +71 -1
  866. data/lib/oci/tenant_manager_control_plane/models/activate_order_details.rb +154 -0
  867. data/lib/oci/tenant_manager_control_plane/models/operation_type.rb +5 -1
  868. data/lib/oci/tenant_manager_control_plane/models/order.rb +206 -0
  869. data/lib/oci/{dns/models/tsig.rb → tenant_manager_control_plane/models/sku.rb} +22 -25
  870. data/lib/oci/tenant_manager_control_plane/models/subscription_info.rb +202 -0
  871. data/lib/oci/tenant_manager_control_plane/models/work_request.rb +4 -0
  872. data/lib/oci/tenant_manager_control_plane/models/work_request_summary.rb +4 -0
  873. data/lib/oci/tenant_manager_control_plane/orders_client.rb +225 -0
  874. data/lib/oci/tenant_manager_control_plane/orders_client_composite_operations.rb +76 -0
  875. data/lib/oci/tenant_manager_control_plane/tenant_manager_control_plane.rb +6 -0
  876. data/lib/oci/usage_api/models/cost_analysis_ui.rb +2 -2
  877. data/lib/oci/usage_api/models/create_custom_table_details.rb +10 -10
  878. data/lib/oci/usage_api/models/create_query_details.rb +1 -1
  879. data/lib/oci/usage_api/models/custom_table.rb +13 -13
  880. data/lib/oci/usage_api/models/custom_table_summary.rb +1 -1
  881. data/lib/oci/usage_api/models/dimension.rb +1 -1
  882. data/lib/oci/usage_api/models/forecast.rb +3 -3
  883. data/lib/oci/usage_api/models/query_definition.rb +1 -1
  884. data/lib/oci/usage_api/models/query_summary.rb +1 -1
  885. data/lib/oci/usage_api/models/report_query.rb +11 -5
  886. data/lib/oci/usage_api/models/request_summarized_usages_details.rb +11 -5
  887. data/lib/oci/usage_api/models/saved_custom_table.rb +6 -6
  888. data/lib/oci/usage_api/models/update_custom_table_details.rb +1 -1
  889. data/lib/oci/usage_api/models/update_query_details.rb +1 -1
  890. data/lib/oci/usage_api/models/usage_summary.rb +1 -1
  891. data/lib/oci/usage_api/usage_api.rb +0 -6
  892. data/lib/oci/usage_api/usageapi_client.rb +332 -1
  893. data/lib/oci/version.rb +1 -1
  894. metadata +512 -16
@@ -11,23 +11,41 @@ module OCI
11
11
  end
12
12
 
13
13
  # Require models
14
+ require 'oci/data_safe/models/activate_target_database_details'
15
+ require 'oci/data_safe/models/autonomous_database_details'
14
16
  require 'oci/data_safe/models/change_data_safe_private_endpoint_compartment_details'
15
17
  require 'oci/data_safe/models/change_on_prem_connector_compartment_details'
18
+ require 'oci/data_safe/models/change_target_database_compartment_details'
19
+ require 'oci/data_safe/models/connection_option'
16
20
  require 'oci/data_safe/models/create_data_safe_private_endpoint_details'
17
21
  require 'oci/data_safe/models/create_on_prem_connector_details'
22
+ require 'oci/data_safe/models/create_target_database_details'
23
+ require 'oci/data_safe/models/credentials'
18
24
  require 'oci/data_safe/models/data_safe_configuration'
19
25
  require 'oci/data_safe/models/data_safe_private_endpoint'
20
26
  require 'oci/data_safe/models/data_safe_private_endpoint_summary'
27
+ require 'oci/data_safe/models/database_cloud_service_details'
28
+ require 'oci/data_safe/models/database_details'
29
+ require 'oci/data_safe/models/database_type'
21
30
  require 'oci/data_safe/models/enable_data_safe_configuration_details'
22
31
  require 'oci/data_safe/models/generate_on_prem_connector_configuration_details'
32
+ require 'oci/data_safe/models/infrastructure_type'
33
+ require 'oci/data_safe/models/installed_database_details'
23
34
  require 'oci/data_safe/models/lifecycle_state'
24
35
  require 'oci/data_safe/models/on_prem_connector'
25
36
  require 'oci/data_safe/models/on_prem_connector_lifecycle_state'
26
37
  require 'oci/data_safe/models/on_prem_connector_summary'
38
+ require 'oci/data_safe/models/on_premise_connector'
39
+ require 'oci/data_safe/models/private_endpoint'
27
40
  require 'oci/data_safe/models/service_list'
41
+ require 'oci/data_safe/models/target_database'
42
+ require 'oci/data_safe/models/target_database_lifecycle_state'
43
+ require 'oci/data_safe/models/target_database_summary'
44
+ require 'oci/data_safe/models/tls_config'
28
45
  require 'oci/data_safe/models/update_data_safe_private_endpoint_details'
29
46
  require 'oci/data_safe/models/update_on_prem_connector_details'
30
47
  require 'oci/data_safe/models/update_on_prem_connector_wallet_details'
48
+ require 'oci/data_safe/models/update_target_database_details'
31
49
  require 'oci/data_safe/models/work_request'
32
50
  require 'oci/data_safe/models/work_request_error'
33
51
  require 'oci/data_safe/models/work_request_log_entry'
@@ -98,6 +98,76 @@ module OCI
98
98
  # rubocop:disable Metrics/MethodLength, Layout/EmptyLines
99
99
 
100
100
 
101
+ # Reactivates a previously deactivated Data Safe target database.
102
+ #
103
+ # @param [OCI::DataSafe::Models::ActivateTargetDatabaseDetails] activate_target_database_details The details used to reactivate a target database in Data Safe.
104
+ # @param [String] target_database_id The OCID of the Data Safe target database.
105
+ # @param [Hash] opts the optional parameters
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
+ # retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
108
+ # @option opts [String] :opc_retry_token A token that uniquely identifies a request so it can be retried in case of a timeout or
109
+ # server error without risk of executing that same action again. Retry tokens expire after 24
110
+ # hours, but can be invalidated before then due to conflicting operations. For example, if a resource
111
+ # has been deleted and purged from the system, then a retry of the original creation request might be rejected.
112
+ #
113
+ # @option opts [String] :if_match For optimistic concurrency control. In the PUT or DELETE call
114
+ # for a resource, set the if-match parameter to the value of the
115
+ # etag from a previous GET or POST response for that resource.
116
+ # The resource will be updated or deleted only if the etag you
117
+ # provide matches the resource's current etag value.
118
+ #
119
+ # @option opts [String] :opc_request_id Unique identifier for the request.
120
+ # @return [Response] A Response object with data of type nil
121
+ # @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/datasafe/activate_target_database.rb.html) to see an example of how to use activate_target_database API.
122
+ def activate_target_database(activate_target_database_details, target_database_id, opts = {})
123
+ logger.debug 'Calling operation DataSafeClient#activate_target_database.' if logger
124
+
125
+ raise "Missing the required parameter 'activate_target_database_details' when calling activate_target_database." if activate_target_database_details.nil?
126
+ raise "Missing the required parameter 'target_database_id' when calling activate_target_database." if target_database_id.nil?
127
+ raise "Parameter value for 'target_database_id' must not be blank" if OCI::Internal::Util.blank_string?(target_database_id)
128
+
129
+ path = '/targetDatabases/{targetDatabaseId}/actions/activate'.sub('{targetDatabaseId}', target_database_id.to_s)
130
+ operation_signing_strategy = :standard
131
+
132
+ # rubocop:disable Style/NegatedIf
133
+ # Query Params
134
+ query_params = {}
135
+
136
+ # Header Params
137
+ header_params = {}
138
+ header_params[:accept] = 'application/json'
139
+ header_params[:'content-type'] = 'application/json'
140
+ header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token]
141
+ header_params[:'if-match'] = opts[:if_match] if opts[:if_match]
142
+ header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
143
+ # rubocop:enable Style/NegatedIf
144
+ header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token
145
+
146
+ post_body = @api_client.object_to_http_body(activate_target_database_details)
147
+
148
+ # rubocop:disable Metrics/BlockLength
149
+ OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'DataSafeClient#activate_target_database') do
150
+ @api_client.call_api(
151
+ :POST,
152
+ path,
153
+ endpoint,
154
+ header_params: header_params,
155
+ query_params: query_params,
156
+ operation_signing_strategy: operation_signing_strategy,
157
+ body: post_body
158
+ )
159
+ end
160
+ # rubocop:enable Metrics/BlockLength
161
+ end
162
+ # rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
163
+ # rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
164
+ # rubocop:enable Metrics/MethodLength, Layout/EmptyLines
165
+
166
+ # rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
167
+ # rubocop:disable Style/IfUnlessModifier, Metrics/ParameterLists
168
+ # rubocop:disable Metrics/MethodLength, Layout/EmptyLines
169
+
170
+
101
171
  # Moves the Data Safe private endpoint and its dependent resources to the specified compartment.
102
172
  # @param [String] data_safe_private_endpoint_id The OCID of the private endpoint.
103
173
  # @param [OCI::DataSafe::Models::ChangeDataSafePrivateEndpointCompartmentDetails] change_data_safe_private_endpoint_compartment_details The details used to change the compartment of a Data Safe private endpoint.
@@ -229,6 +299,75 @@ module OCI
229
299
  # rubocop:disable Metrics/MethodLength, Layout/EmptyLines
230
300
 
231
301
 
302
+ # Moves the Data Safe target database to the specified compartment.
303
+ # @param [String] target_database_id The OCID of the Data Safe target database.
304
+ # @param [OCI::DataSafe::Models::ChangeTargetDatabaseCompartmentDetails] change_target_database_compartment_details Details of the move compartment request.
305
+ # @param [Hash] opts the optional parameters
306
+ # @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
+ # retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
308
+ # @option opts [String] :if_match For optimistic concurrency control. In the PUT or DELETE call
309
+ # for a resource, set the if-match parameter to the value of the
310
+ # etag from a previous GET or POST response for that resource.
311
+ # The resource will be updated or deleted only if the etag you
312
+ # provide matches the resource's current etag value.
313
+ #
314
+ # @option opts [String] :opc_request_id Unique identifier for the request.
315
+ # @option opts [String] :opc_retry_token A token that uniquely identifies a request so it can be retried in case of a timeout or
316
+ # server error without risk of executing that same action again. Retry tokens expire after 24
317
+ # hours, but can be invalidated before then due to conflicting operations. For example, if a resource
318
+ # has been deleted and purged from the system, then a retry of the original creation request might be rejected.
319
+ #
320
+ # @return [Response] A Response object with data of type nil
321
+ # @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/datasafe/change_target_database_compartment.rb.html) to see an example of how to use change_target_database_compartment API.
322
+ def change_target_database_compartment(target_database_id, change_target_database_compartment_details, opts = {})
323
+ logger.debug 'Calling operation DataSafeClient#change_target_database_compartment.' if logger
324
+
325
+ raise "Missing the required parameter 'target_database_id' when calling change_target_database_compartment." if target_database_id.nil?
326
+ raise "Missing the required parameter 'change_target_database_compartment_details' when calling change_target_database_compartment." if change_target_database_compartment_details.nil?
327
+ raise "Parameter value for 'target_database_id' must not be blank" if OCI::Internal::Util.blank_string?(target_database_id)
328
+
329
+ path = '/targetDatabases/{targetDatabaseId}/actions/changeCompartment'.sub('{targetDatabaseId}', target_database_id.to_s)
330
+ operation_signing_strategy = :standard
331
+
332
+ # rubocop:disable Style/NegatedIf
333
+ # Query Params
334
+ query_params = {}
335
+
336
+ # Header Params
337
+ header_params = {}
338
+ header_params[:accept] = 'application/json'
339
+ header_params[:'content-type'] = 'application/json'
340
+ header_params[:'if-match'] = opts[:if_match] if opts[:if_match]
341
+ header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
342
+ header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token]
343
+ # rubocop:enable Style/NegatedIf
344
+ header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token
345
+
346
+ post_body = @api_client.object_to_http_body(change_target_database_compartment_details)
347
+
348
+ # rubocop:disable Metrics/BlockLength
349
+ OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'DataSafeClient#change_target_database_compartment') do
350
+ @api_client.call_api(
351
+ :POST,
352
+ path,
353
+ endpoint,
354
+ header_params: header_params,
355
+ query_params: query_params,
356
+ operation_signing_strategy: operation_signing_strategy,
357
+ body: post_body
358
+ )
359
+ end
360
+ # rubocop:enable Metrics/BlockLength
361
+ end
362
+ # rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
363
+ # rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
364
+ # rubocop:enable Metrics/MethodLength, Layout/EmptyLines
365
+
366
+ # rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
367
+ # rubocop:disable Style/IfUnlessModifier, Metrics/ParameterLists
368
+ # rubocop:disable Metrics/MethodLength, Layout/EmptyLines
369
+
370
+
232
371
  # Creates a new Data Safe private endpoint.
233
372
  #
234
373
  # @param [OCI::DataSafe::Models::CreateDataSafePrivateEndpointDetails] create_data_safe_private_endpoint_details Details to create a new private endpoint.
@@ -351,6 +490,135 @@ module OCI
351
490
  # rubocop:disable Metrics/MethodLength, Layout/EmptyLines
352
491
 
353
492
 
493
+ # Registers the specified database with Data Safe and creates a Data Safe target database in the Data Safe Console.
494
+ #
495
+ # @param [OCI::DataSafe::Models::CreateTargetDatabaseDetails] create_target_database_details Details of the target database.
496
+ # @param [Hash] opts the optional parameters
497
+ # @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
498
+ # retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
499
+ # @option opts [String] :opc_retry_token A token that uniquely identifies a request so it can be retried in case of a timeout or
500
+ # server error without risk of executing that same action again. Retry tokens expire after 24
501
+ # hours, but can be invalidated before then due to conflicting operations. For example, if a resource
502
+ # has been deleted and purged from the system, then a retry of the original creation request might be rejected.
503
+ #
504
+ # @option opts [String] :opc_request_id Unique identifier for the request.
505
+ # @return [Response] A Response object with data of type {OCI::DataSafe::Models::TargetDatabase TargetDatabase}
506
+ # @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/datasafe/create_target_database.rb.html) to see an example of how to use create_target_database API.
507
+ def create_target_database(create_target_database_details, opts = {})
508
+ logger.debug 'Calling operation DataSafeClient#create_target_database.' if logger
509
+
510
+ raise "Missing the required parameter 'create_target_database_details' when calling create_target_database." if create_target_database_details.nil?
511
+
512
+ path = '/targetDatabases'
513
+ operation_signing_strategy = :standard
514
+
515
+ # rubocop:disable Style/NegatedIf
516
+ # Query Params
517
+ query_params = {}
518
+
519
+ # Header Params
520
+ header_params = {}
521
+ header_params[:accept] = 'application/json'
522
+ header_params[:'content-type'] = 'application/json'
523
+ header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token]
524
+ header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
525
+ # rubocop:enable Style/NegatedIf
526
+ header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token
527
+
528
+ post_body = @api_client.object_to_http_body(create_target_database_details)
529
+
530
+ # rubocop:disable Metrics/BlockLength
531
+ OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'DataSafeClient#create_target_database') do
532
+ @api_client.call_api(
533
+ :POST,
534
+ path,
535
+ endpoint,
536
+ header_params: header_params,
537
+ query_params: query_params,
538
+ operation_signing_strategy: operation_signing_strategy,
539
+ body: post_body,
540
+ return_type: 'OCI::DataSafe::Models::TargetDatabase'
541
+ )
542
+ end
543
+ # rubocop:enable Metrics/BlockLength
544
+ end
545
+ # rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
546
+ # rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
547
+ # rubocop:enable Metrics/MethodLength, Layout/EmptyLines
548
+
549
+ # rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
550
+ # rubocop:disable Style/IfUnlessModifier, Metrics/ParameterLists
551
+ # rubocop:disable Metrics/MethodLength, Layout/EmptyLines
552
+
553
+
554
+ # Deactivates a target database in Data Safe.
555
+ #
556
+ # @param [String] target_database_id The OCID of the Data Safe target database.
557
+ # @param [Hash] opts the optional parameters
558
+ # @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
559
+ # retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
560
+ # @option opts [String] :opc_retry_token A token that uniquely identifies a request so it can be retried in case of a timeout or
561
+ # server error without risk of executing that same action again. Retry tokens expire after 24
562
+ # hours, but can be invalidated before then due to conflicting operations. For example, if a resource
563
+ # has been deleted and purged from the system, then a retry of the original creation request might be rejected.
564
+ #
565
+ # @option opts [String] :if_match For optimistic concurrency control. In the PUT or DELETE call
566
+ # for a resource, set the if-match parameter to the value of the
567
+ # etag from a previous GET or POST response for that resource.
568
+ # The resource will be updated or deleted only if the etag you
569
+ # provide matches the resource's current etag value.
570
+ #
571
+ # @option opts [String] :opc_request_id Unique identifier for the request.
572
+ # @return [Response] A Response object with data of type nil
573
+ # @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/datasafe/deactivate_target_database.rb.html) to see an example of how to use deactivate_target_database API.
574
+ def deactivate_target_database(target_database_id, opts = {})
575
+ logger.debug 'Calling operation DataSafeClient#deactivate_target_database.' if logger
576
+
577
+ raise "Missing the required parameter 'target_database_id' when calling deactivate_target_database." if target_database_id.nil?
578
+ raise "Parameter value for 'target_database_id' must not be blank" if OCI::Internal::Util.blank_string?(target_database_id)
579
+
580
+ path = '/targetDatabases/{targetDatabaseId}/actions/deactivate'.sub('{targetDatabaseId}', target_database_id.to_s)
581
+ operation_signing_strategy = :standard
582
+
583
+ # rubocop:disable Style/NegatedIf
584
+ # Query Params
585
+ query_params = {}
586
+
587
+ # Header Params
588
+ header_params = {}
589
+ header_params[:accept] = 'application/json'
590
+ header_params[:'content-type'] = 'application/json'
591
+ header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token]
592
+ header_params[:'if-match'] = opts[:if_match] if opts[:if_match]
593
+ header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
594
+ # rubocop:enable Style/NegatedIf
595
+ header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token
596
+
597
+ post_body = nil
598
+
599
+ # rubocop:disable Metrics/BlockLength
600
+ OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'DataSafeClient#deactivate_target_database') do
601
+ @api_client.call_api(
602
+ :POST,
603
+ path,
604
+ endpoint,
605
+ header_params: header_params,
606
+ query_params: query_params,
607
+ operation_signing_strategy: operation_signing_strategy,
608
+ body: post_body
609
+ )
610
+ end
611
+ # rubocop:enable Metrics/BlockLength
612
+ end
613
+ # rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
614
+ # rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
615
+ # rubocop:enable Metrics/MethodLength, Layout/EmptyLines
616
+
617
+ # rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
618
+ # rubocop:disable Style/IfUnlessModifier, Metrics/ParameterLists
619
+ # rubocop:disable Metrics/MethodLength, Layout/EmptyLines
620
+
621
+
354
622
  # Deletes the specified Data Safe private endpoint.
355
623
  # @param [String] data_safe_private_endpoint_id The OCID of the private endpoint.
356
624
  # @param [Hash] opts the optional parameters
@@ -428,10 +696,135 @@ module OCI
428
696
  def delete_on_prem_connector(on_prem_connector_id, opts = {})
429
697
  logger.debug 'Calling operation DataSafeClient#delete_on_prem_connector.' if logger
430
698
 
431
- raise "Missing the required parameter 'on_prem_connector_id' when calling delete_on_prem_connector." if on_prem_connector_id.nil?
432
- raise "Parameter value for 'on_prem_connector_id' must not be blank" if OCI::Internal::Util.blank_string?(on_prem_connector_id)
699
+ raise "Missing the required parameter 'on_prem_connector_id' when calling delete_on_prem_connector." if on_prem_connector_id.nil?
700
+ raise "Parameter value for 'on_prem_connector_id' must not be blank" if OCI::Internal::Util.blank_string?(on_prem_connector_id)
701
+
702
+ path = '/onPremConnectors/{onPremConnectorId}'.sub('{onPremConnectorId}', on_prem_connector_id.to_s)
703
+ operation_signing_strategy = :standard
704
+
705
+ # rubocop:disable Style/NegatedIf
706
+ # Query Params
707
+ query_params = {}
708
+
709
+ # Header Params
710
+ header_params = {}
711
+ header_params[:accept] = 'application/json'
712
+ header_params[:'content-type'] = 'application/json'
713
+ header_params[:'if-match'] = opts[:if_match] if opts[:if_match]
714
+ header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
715
+ # rubocop:enable Style/NegatedIf
716
+
717
+ post_body = nil
718
+
719
+ # rubocop:disable Metrics/BlockLength
720
+ OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'DataSafeClient#delete_on_prem_connector') do
721
+ @api_client.call_api(
722
+ :DELETE,
723
+ path,
724
+ endpoint,
725
+ header_params: header_params,
726
+ query_params: query_params,
727
+ operation_signing_strategy: operation_signing_strategy,
728
+ body: post_body
729
+ )
730
+ end
731
+ # rubocop:enable Metrics/BlockLength
732
+ end
733
+ # rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
734
+ # rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
735
+ # rubocop:enable Metrics/MethodLength, Layout/EmptyLines
736
+
737
+ # rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
738
+ # rubocop:disable Style/IfUnlessModifier, Metrics/ParameterLists
739
+ # rubocop:disable Metrics/MethodLength, Layout/EmptyLines
740
+
741
+
742
+ # Deregisters the specified database from Data Safe and removes the target database from the Data Safe Console.
743
+ # @param [String] target_database_id The OCID of the Data Safe target database.
744
+ # @param [Hash] opts the optional parameters
745
+ # @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
746
+ # retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
747
+ # @option opts [String] :if_match For optimistic concurrency control. In the PUT or DELETE call
748
+ # for a resource, set the if-match parameter to the value of the
749
+ # etag from a previous GET or POST response for that resource.
750
+ # The resource will be updated or deleted only if the etag you
751
+ # provide matches the resource's current etag value.
752
+ #
753
+ # @option opts [String] :opc_request_id Unique identifier for the request.
754
+ # @return [Response] A Response object with data of type nil
755
+ # @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/datasafe/delete_target_database.rb.html) to see an example of how to use delete_target_database API.
756
+ def delete_target_database(target_database_id, opts = {})
757
+ logger.debug 'Calling operation DataSafeClient#delete_target_database.' if logger
758
+
759
+ raise "Missing the required parameter 'target_database_id' when calling delete_target_database." if target_database_id.nil?
760
+ raise "Parameter value for 'target_database_id' must not be blank" if OCI::Internal::Util.blank_string?(target_database_id)
761
+
762
+ path = '/targetDatabases/{targetDatabaseId}'.sub('{targetDatabaseId}', target_database_id.to_s)
763
+ operation_signing_strategy = :standard
764
+
765
+ # rubocop:disable Style/NegatedIf
766
+ # Query Params
767
+ query_params = {}
768
+
769
+ # Header Params
770
+ header_params = {}
771
+ header_params[:accept] = 'application/json'
772
+ header_params[:'content-type'] = 'application/json'
773
+ header_params[:'if-match'] = opts[:if_match] if opts[:if_match]
774
+ header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
775
+ # rubocop:enable Style/NegatedIf
776
+
777
+ post_body = nil
778
+
779
+ # rubocop:disable Metrics/BlockLength
780
+ OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'DataSafeClient#delete_target_database') do
781
+ @api_client.call_api(
782
+ :DELETE,
783
+ path,
784
+ endpoint,
785
+ header_params: header_params,
786
+ query_params: query_params,
787
+ operation_signing_strategy: operation_signing_strategy,
788
+ body: post_body
789
+ )
790
+ end
791
+ # rubocop:enable Metrics/BlockLength
792
+ end
793
+ # rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
794
+ # rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
795
+ # rubocop:enable Metrics/MethodLength, Layout/EmptyLines
796
+
797
+ # rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
798
+ # rubocop:disable Style/IfUnlessModifier, Metrics/ParameterLists
799
+ # rubocop:disable Metrics/MethodLength, Layout/EmptyLines
800
+
801
+
802
+ # Downloads the privilege script to grant/revoke required roles from the Data Safe account on the target database.
803
+ #
804
+ # @param [Hash] opts the optional parameters
805
+ # @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
806
+ # retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
807
+ # @option opts [String] :opc_retry_token A token that uniquely identifies a request so it can be retried in case of a timeout or
808
+ # server error without risk of executing that same action again. Retry tokens expire after 24
809
+ # hours, but can be invalidated before then due to conflicting operations. For example, if a resource
810
+ # has been deleted and purged from the system, then a retry of the original creation request might be rejected.
811
+ #
812
+ # @option opts [String] :opc_request_id Unique identifier for the request.
813
+ # @option opts [String] :if_match For optimistic concurrency control. In the PUT or DELETE call
814
+ # for a resource, set the if-match parameter to the value of the
815
+ # etag from a previous GET or POST response for that resource.
816
+ # The resource will be updated or deleted only if the etag you
817
+ # provide matches the resource's current etag value.
818
+ #
819
+ # @option opts [String, IO] :response_target Streaming http body into a file (specified by file name or File object) or IO object if the block is not given
820
+ # @option [Block] &block Streaming http body to the block
821
+ # @return [Response] A Response object with data of type String if response_target and block are not given, otherwise with nil data
822
+ # @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/datasafe/download_privilege_script.rb.html) to see an example of how to use download_privilege_script API.
823
+ def download_privilege_script(opts = {}, &block)
824
+ logger.debug 'Calling operation DataSafeClient#download_privilege_script.' if logger
825
+
433
826
 
434
- path = '/onPremConnectors/{onPremConnectorId}'.sub('{onPremConnectorId}', on_prem_connector_id.to_s)
827
+ path = '/actions/downloadPrivilegeScript'
435
828
  operation_signing_strategy = :standard
436
829
 
437
830
  # rubocop:disable Style/NegatedIf
@@ -440,25 +833,72 @@ module OCI
440
833
 
441
834
  # Header Params
442
835
  header_params = {}
443
- header_params[:accept] = 'application/json'
836
+ header_params[:accept] = opts[:accept] if opts[:accept]
837
+ header_params[:accept] ||= 'application/octet-stream'
838
+ header_params[:'accept-encoding'] = opts[:accept_encoding] if opts[:accept_encoding]
444
839
  header_params[:'content-type'] = 'application/json'
445
- header_params[:'if-match'] = opts[:if_match] if opts[:if_match]
840
+ header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token]
446
841
  header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
842
+ header_params[:'if-match'] = opts[:if_match] if opts[:if_match]
447
843
  # rubocop:enable Style/NegatedIf
844
+ header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token
448
845
 
449
846
  post_body = nil
450
847
 
451
848
  # rubocop:disable Metrics/BlockLength
452
- OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'DataSafeClient#delete_on_prem_connector') do
453
- @api_client.call_api(
454
- :DELETE,
455
- path,
456
- endpoint,
457
- header_params: header_params,
458
- query_params: query_params,
459
- operation_signing_strategy: operation_signing_strategy,
460
- body: post_body
461
- )
849
+ OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'DataSafeClient#download_privilege_script') do
850
+ if !block.nil?
851
+ @api_client.call_api(
852
+ :POST,
853
+ path,
854
+ endpoint,
855
+ header_params: header_params,
856
+ query_params: query_params,
857
+ operation_signing_strategy: operation_signing_strategy,
858
+ body: post_body,
859
+ return_type: 'Stream',
860
+ &block
861
+ )
862
+ elsif opts[:response_target]
863
+ if opts[:response_target].respond_to? :write
864
+ @api_client.call_api(
865
+ :POST,
866
+ path,
867
+ endpoint,
868
+ header_params: header_params,
869
+ query_params: query_params,
870
+ operation_signing_strategy: operation_signing_strategy,
871
+ body: post_body,
872
+ return_type: 'Stream',
873
+ &proc { |chunk, _response| opts[:response_target].write(chunk) }
874
+ )
875
+ elsif opts[:response_target].is_a?(String)
876
+ File.open(opts[:response_target], 'wb') do |output|
877
+ return @api_client.call_api(
878
+ :POST,
879
+ path,
880
+ endpoint,
881
+ header_params: header_params,
882
+ query_params: query_params,
883
+ operation_signing_strategy: operation_signing_strategy,
884
+ body: post_body,
885
+ return_type: 'Stream',
886
+ &proc { |chunk, _response| output.write(chunk) }
887
+ )
888
+ end
889
+ end
890
+ else
891
+ @api_client.call_api(
892
+ :POST,
893
+ path,
894
+ endpoint,
895
+ header_params: header_params,
896
+ query_params: query_params,
897
+ operation_signing_strategy: operation_signing_strategy,
898
+ body: post_body,
899
+ return_type: 'String'
900
+ )
901
+ end
462
902
  end
463
903
  # rubocop:enable Metrics/BlockLength
464
904
  end
@@ -811,6 +1251,61 @@ module OCI
811
1251
  # rubocop:disable Metrics/MethodLength, Layout/EmptyLines
812
1252
 
813
1253
 
1254
+ # Returns the details of the specified Data Safe target database.
1255
+ #
1256
+ # @param [String] target_database_id The OCID of the Data Safe target database.
1257
+ # @param [Hash] opts the optional parameters
1258
+ # @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
1259
+ # retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
1260
+ # @option opts [String] :opc_request_id Unique identifier for the request.
1261
+ # @return [Response] A Response object with data of type {OCI::DataSafe::Models::TargetDatabase TargetDatabase}
1262
+ # @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/datasafe/get_target_database.rb.html) to see an example of how to use get_target_database API.
1263
+ def get_target_database(target_database_id, opts = {})
1264
+ logger.debug 'Calling operation DataSafeClient#get_target_database.' if logger
1265
+
1266
+ raise "Missing the required parameter 'target_database_id' when calling get_target_database." if target_database_id.nil?
1267
+ raise "Parameter value for 'target_database_id' must not be blank" if OCI::Internal::Util.blank_string?(target_database_id)
1268
+
1269
+ path = '/targetDatabases/{targetDatabaseId}'.sub('{targetDatabaseId}', target_database_id.to_s)
1270
+ operation_signing_strategy = :standard
1271
+
1272
+ # rubocop:disable Style/NegatedIf
1273
+ # Query Params
1274
+ query_params = {}
1275
+
1276
+ # Header Params
1277
+ header_params = {}
1278
+ header_params[:accept] = 'application/json'
1279
+ header_params[:'content-type'] = 'application/json'
1280
+ header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
1281
+ # rubocop:enable Style/NegatedIf
1282
+
1283
+ post_body = nil
1284
+
1285
+ # rubocop:disable Metrics/BlockLength
1286
+ OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'DataSafeClient#get_target_database') do
1287
+ @api_client.call_api(
1288
+ :GET,
1289
+ path,
1290
+ endpoint,
1291
+ header_params: header_params,
1292
+ query_params: query_params,
1293
+ operation_signing_strategy: operation_signing_strategy,
1294
+ body: post_body,
1295
+ return_type: 'OCI::DataSafe::Models::TargetDatabase'
1296
+ )
1297
+ end
1298
+ # rubocop:enable Metrics/BlockLength
1299
+ end
1300
+ # rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
1301
+ # rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
1302
+ # rubocop:enable Metrics/MethodLength, Layout/EmptyLines
1303
+
1304
+ # rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
1305
+ # rubocop:disable Style/IfUnlessModifier, Metrics/ParameterLists
1306
+ # rubocop:disable Metrics/MethodLength, Layout/EmptyLines
1307
+
1308
+
814
1309
  # Gets the details of the specified work request.
815
1310
  # @param [String] work_request_id The OCID of the work request.
816
1311
  # @param [Hash] opts the optional parameters
@@ -879,10 +1374,21 @@ module OCI
879
1374
  # @option opts [String] :page For list pagination. The page token representing the page at which to start retrieving results. It is usually retrieved from a previous \"List\" call. For details about how pagination works, see [List Pagination](https://docs.cloud.oracle.com/en-us/iaas/Content/API/Concepts/usingapi.htm#nine).
880
1375
  # @option opts [String] :sort_order The sort order to use, either ascending (ASC) or descending (DESC). (default to ASC)
881
1376
  # Allowed values are: ASC, DESC
882
- # @option opts [String] :sort_by The field to sort by. You can specify only one sort order (sortOrder). The default order for TIMECREATED is descending. The default order for DISPLAYNAME is ascending. The DISPLAYNAME sort order is case sensitive.
1377
+ # @option opts [String] :sort_by The field used for sorting. Only one sorting order (sortOrder) can be specified.
1378
+ # The default order for TIMECREATED is descending. The default order for DISPLAYNAME is ascending.
1379
+ # The DISPLAYNAME sort order is case sensitive.
883
1380
  # (default to TIMECREATED)
884
1381
  # Allowed values are: TIMECREATED, DISPLAYNAME
885
1382
  # @option opts [String] :opc_request_id Unique identifier for the request.
1383
+ # @option opts [BOOLEAN] :compartment_id_in_subtree Default is false.
1384
+ # When set to true, the hierarchy of compartments is traversed and all compartments and subcompartments in the tenancy are returned. Depends on the 'accessLevel' setting.
1385
+ # (default to false)
1386
+ # @option opts [String] :access_level Valid values are RESTRICTED and ACCESSIBLE. Default is RESTRICTED.
1387
+ # Setting this to ACCESSIBLE returns only those compartments for which the
1388
+ # user has INSPECT permissions directly or indirectly (permissions can be on a
1389
+ # resource in a subcompartment). When set to RESTRICTED permissions are checked and no partial results are displayed.
1390
+ # (default to RESTRICTED)
1391
+ # Allowed values are: RESTRICTED, ACCESSIBLE
886
1392
  # @return [Response] A Response object with data of type Array<{OCI::DataSafe::Models::DataSafePrivateEndpointSummary DataSafePrivateEndpointSummary}>
887
1393
  # @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/datasafe/list_data_safe_private_endpoints.rb.html) to see an example of how to use list_data_safe_private_endpoints API.
888
1394
  def list_data_safe_private_endpoints(compartment_id, opts = {})
@@ -902,6 +1408,10 @@ module OCI
902
1408
  raise 'Invalid value for "sort_by", must be one of TIMECREATED, DISPLAYNAME.'
903
1409
  end
904
1410
 
1411
+ if opts[:access_level] && !%w[RESTRICTED ACCESSIBLE].include?(opts[:access_level])
1412
+ raise 'Invalid value for "access_level", must be one of RESTRICTED, ACCESSIBLE.'
1413
+ end
1414
+
905
1415
  path = '/dataSafePrivateEndpoints'
906
1416
  operation_signing_strategy = :standard
907
1417
 
@@ -916,6 +1426,8 @@ module OCI
916
1426
  query_params[:page] = opts[:page] if opts[:page]
917
1427
  query_params[:sortOrder] = opts[:sort_order] if opts[:sort_order]
918
1428
  query_params[:sortBy] = opts[:sort_by] if opts[:sort_by]
1429
+ query_params[:compartmentIdInSubtree] = opts[:compartment_id_in_subtree] if !opts[:compartment_id_in_subtree].nil?
1430
+ query_params[:accessLevel] = opts[:access_level] if opts[:access_level]
919
1431
 
920
1432
  # Header Params
921
1433
  header_params = {}
@@ -964,10 +1476,21 @@ module OCI
964
1476
  # @option opts [String] :page For list pagination. The page token representing the page at which to start retrieving results. It is usually retrieved from a previous \"List\" call. For details about how pagination works, see [List Pagination](https://docs.cloud.oracle.com/en-us/iaas/Content/API/Concepts/usingapi.htm#nine).
965
1477
  # @option opts [String] :sort_order The sort order to use, either ascending (ASC) or descending (DESC). (default to ASC)
966
1478
  # Allowed values are: ASC, DESC
967
- # @option opts [String] :sort_by The field to sort by. You can specify only one sort order (sortOrder). The default order for TIMECREATED is descending. The default order for DISPLAYNAME is ascending. The DISPLAYNAME sort order is case sensitive.
1479
+ # @option opts [String] :sort_by The field used for sorting. Only one sorting order (sortOrder) can be specified.
1480
+ # The default order for TIMECREATED is descending. The default order for DISPLAYNAME is ascending.
1481
+ # The DISPLAYNAME sort order is case sensitive.
968
1482
  # (default to TIMECREATED)
969
1483
  # Allowed values are: TIMECREATED, DISPLAYNAME
970
1484
  # @option opts [String] :opc_request_id Unique identifier for the request.
1485
+ # @option opts [BOOLEAN] :compartment_id_in_subtree Default is false.
1486
+ # When set to true, the hierarchy of compartments is traversed and all compartments and subcompartments in the tenancy are returned. Depends on the 'accessLevel' setting.
1487
+ # (default to false)
1488
+ # @option opts [String] :access_level Valid values are RESTRICTED and ACCESSIBLE. Default is RESTRICTED.
1489
+ # Setting this to ACCESSIBLE returns only those compartments for which the
1490
+ # user has INSPECT permissions directly or indirectly (permissions can be on a
1491
+ # resource in a subcompartment). When set to RESTRICTED permissions are checked and no partial results are displayed.
1492
+ # (default to RESTRICTED)
1493
+ # Allowed values are: RESTRICTED, ACCESSIBLE
971
1494
  # @return [Response] A Response object with data of type Array<{OCI::DataSafe::Models::OnPremConnectorSummary OnPremConnectorSummary}>
972
1495
  # @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/datasafe/list_on_prem_connectors.rb.html) to see an example of how to use list_on_prem_connectors API.
973
1496
  def list_on_prem_connectors(compartment_id, opts = {})
@@ -987,6 +1510,10 @@ module OCI
987
1510
  raise 'Invalid value for "sort_by", must be one of TIMECREATED, DISPLAYNAME.'
988
1511
  end
989
1512
 
1513
+ if opts[:access_level] && !%w[RESTRICTED ACCESSIBLE].include?(opts[:access_level])
1514
+ raise 'Invalid value for "access_level", must be one of RESTRICTED, ACCESSIBLE.'
1515
+ end
1516
+
990
1517
  path = '/onPremConnectors'
991
1518
  operation_signing_strategy = :standard
992
1519
 
@@ -1001,6 +1528,8 @@ module OCI
1001
1528
  query_params[:page] = opts[:page] if opts[:page]
1002
1529
  query_params[:sortOrder] = opts[:sort_order] if opts[:sort_order]
1003
1530
  query_params[:sortBy] = opts[:sort_by] if opts[:sort_by]
1531
+ query_params[:compartmentIdInSubtree] = opts[:compartment_id_in_subtree] if !opts[:compartment_id_in_subtree].nil?
1532
+ query_params[:accessLevel] = opts[:access_level] if opts[:access_level]
1004
1533
 
1005
1534
  # Header Params
1006
1535
  header_params = {}
@@ -1035,6 +1564,120 @@ module OCI
1035
1564
  # rubocop:disable Metrics/MethodLength, Layout/EmptyLines
1036
1565
 
1037
1566
 
1567
+ # Returns the list of registered target databases in Data Safe.
1568
+ #
1569
+ # @param [String] compartment_id A filter to return only resources that match the specified compartment OCID.
1570
+ # @param [Hash] opts the optional parameters
1571
+ # @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
1572
+ # retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
1573
+ # @option opts [String] :target_database_id A filter to return the target database that matches the specified OCID.
1574
+ # @option opts [String] :display_name A filter to return only resources that match the specified display name.
1575
+ #
1576
+ # @option opts [String] :lifecycle_state A filter to return the target databases that matches the current state of the target database.
1577
+ # @option opts [String] :database_type A filter to return target databases that match the database type of the target database.
1578
+ # @option opts [String] :infrastructure_type A filter to return target databases that match the infrastructure type of the target database.
1579
+ # @option opts [Integer] :limit For list pagination. The maximum number of items to return per page in a paginated \"List\" call. For details about how pagination works, see [List Pagination](https://docs.cloud.oracle.com/en-us/iaas/Content/API/Concepts/usingapi.htm#nine).
1580
+ # @option opts [String] :page For list pagination. The page token representing the page at which to start retrieving results. It is usually retrieved from a previous \"List\" call. For details about how pagination works, see [List Pagination](https://docs.cloud.oracle.com/en-us/iaas/Content/API/Concepts/usingapi.htm#nine).
1581
+ # @option opts [BOOLEAN] :compartment_id_in_subtree Default is false.
1582
+ # When set to true, the hierarchy of compartments is traversed and all compartments and subcompartments in the tenancy are returned. Depends on the 'accessLevel' setting.
1583
+ # (default to false)
1584
+ # @option opts [String] :access_level Valid values are RESTRICTED and ACCESSIBLE. Default is RESTRICTED.
1585
+ # Setting this to ACCESSIBLE returns only those compartments for which the
1586
+ # user has INSPECT permissions directly or indirectly (permissions can be on a
1587
+ # resource in a subcompartment). When set to RESTRICTED permissions are checked and no partial results are displayed.
1588
+ # (default to RESTRICTED)
1589
+ # Allowed values are: RESTRICTED, ACCESSIBLE
1590
+ # @option opts [String] :sort_order The sort order to use, either ascending (ASC) or descending (DESC). (default to ASC)
1591
+ # Allowed values are: ASC, DESC
1592
+ # @option opts [String] :sort_by The field used for sorting. Only one sorting order (sortOrder) can be specified.
1593
+ # The default order for TIMECREATED is descending. The default order for DISPLAYNAME is ascending.
1594
+ # The DISPLAYNAME sort order is case sensitive.
1595
+ # (default to TIMECREATED)
1596
+ # Allowed values are: TIMECREATED, DISPLAYNAME
1597
+ # @option opts [String] :opc_request_id Unique identifier for the request.
1598
+ # @return [Response] A Response object with data of type Array<{OCI::DataSafe::Models::TargetDatabaseSummary TargetDatabaseSummary}>
1599
+ # @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/datasafe/list_target_databases.rb.html) to see an example of how to use list_target_databases API.
1600
+ def list_target_databases(compartment_id, opts = {})
1601
+ logger.debug 'Calling operation DataSafeClient#list_target_databases.' if logger
1602
+
1603
+ raise "Missing the required parameter 'compartment_id' when calling list_target_databases." if compartment_id.nil?
1604
+
1605
+ if opts[:lifecycle_state] && !OCI::DataSafe::Models::LIFECYCLE_STATE_ENUM.include?(opts[:lifecycle_state])
1606
+ raise 'Invalid value for "lifecycle_state", must be one of the values in OCI::DataSafe::Models::LIFECYCLE_STATE_ENUM.'
1607
+ end
1608
+
1609
+ if opts[:database_type] && !OCI::DataSafe::Models::DATABASE_TYPE_ENUM.include?(opts[:database_type])
1610
+ raise 'Invalid value for "database_type", must be one of the values in OCI::DataSafe::Models::DATABASE_TYPE_ENUM.'
1611
+ end
1612
+
1613
+ if opts[:infrastructure_type] && !OCI::DataSafe::Models::INFRASTRUCTURE_TYPE_ENUM.include?(opts[:infrastructure_type])
1614
+ raise 'Invalid value for "infrastructure_type", must be one of the values in OCI::DataSafe::Models::INFRASTRUCTURE_TYPE_ENUM.'
1615
+ end
1616
+
1617
+ if opts[:access_level] && !%w[RESTRICTED ACCESSIBLE].include?(opts[:access_level])
1618
+ raise 'Invalid value for "access_level", must be one of RESTRICTED, ACCESSIBLE.'
1619
+ end
1620
+
1621
+ if opts[:sort_order] && !%w[ASC DESC].include?(opts[:sort_order])
1622
+ raise 'Invalid value for "sort_order", must be one of ASC, DESC.'
1623
+ end
1624
+
1625
+ if opts[:sort_by] && !%w[TIMECREATED DISPLAYNAME].include?(opts[:sort_by])
1626
+ raise 'Invalid value for "sort_by", must be one of TIMECREATED, DISPLAYNAME.'
1627
+ end
1628
+
1629
+ path = '/targetDatabases'
1630
+ operation_signing_strategy = :standard
1631
+
1632
+ # rubocop:disable Style/NegatedIf
1633
+ # Query Params
1634
+ query_params = {}
1635
+ query_params[:compartmentId] = compartment_id
1636
+ query_params[:targetDatabaseId] = opts[:target_database_id] if opts[:target_database_id]
1637
+ query_params[:displayName] = opts[:display_name] if opts[:display_name]
1638
+ query_params[:lifecycleState] = opts[:lifecycle_state] if opts[:lifecycle_state]
1639
+ query_params[:databaseType] = opts[:database_type] if opts[:database_type]
1640
+ query_params[:infrastructureType] = opts[:infrastructure_type] if opts[:infrastructure_type]
1641
+ query_params[:limit] = opts[:limit] if opts[:limit]
1642
+ query_params[:page] = opts[:page] if opts[:page]
1643
+ query_params[:compartmentIdInSubtree] = opts[:compartment_id_in_subtree] if !opts[:compartment_id_in_subtree].nil?
1644
+ query_params[:accessLevel] = opts[:access_level] if opts[:access_level]
1645
+ query_params[:sortOrder] = opts[:sort_order] if opts[:sort_order]
1646
+ query_params[:sortBy] = opts[:sort_by] if opts[:sort_by]
1647
+
1648
+ # Header Params
1649
+ header_params = {}
1650
+ header_params[:accept] = 'application/json'
1651
+ header_params[:'content-type'] = 'application/json'
1652
+ header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
1653
+ # rubocop:enable Style/NegatedIf
1654
+
1655
+ post_body = nil
1656
+
1657
+ # rubocop:disable Metrics/BlockLength
1658
+ OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'DataSafeClient#list_target_databases') do
1659
+ @api_client.call_api(
1660
+ :GET,
1661
+ path,
1662
+ endpoint,
1663
+ header_params: header_params,
1664
+ query_params: query_params,
1665
+ operation_signing_strategy: operation_signing_strategy,
1666
+ body: post_body,
1667
+ return_type: 'Array<OCI::DataSafe::Models::TargetDatabaseSummary>'
1668
+ )
1669
+ end
1670
+ # rubocop:enable Metrics/BlockLength
1671
+ end
1672
+ # rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
1673
+ # rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
1674
+ # rubocop:enable Metrics/MethodLength, Layout/EmptyLines
1675
+
1676
+ # rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
1677
+ # rubocop:disable Style/IfUnlessModifier, Metrics/ParameterLists
1678
+ # rubocop:disable Metrics/MethodLength, Layout/EmptyLines
1679
+
1680
+
1038
1681
  # Gets a list of errors for the specified work request.
1039
1682
  #
1040
1683
  # @param [String] work_request_id The OCID of the work request.
@@ -1159,6 +1802,7 @@ module OCI
1159
1802
  # @param [Hash] opts the optional parameters
1160
1803
  # @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
1161
1804
  # retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
1805
+ # @option opts [String] :operation_type A filter to return only work requests that match the specific operation type.
1162
1806
  # @option opts [String] :resource_id A filter to return only work requests that match the specified resource OCID.
1163
1807
  # @option opts [String] :opc_request_id Unique identifier for the request.
1164
1808
  # @option opts [String] :page For list pagination. The page token representing the page at which to start retrieving results. It is usually retrieved from a previous \"List\" call. For details about how pagination works, see [List Pagination](https://docs.cloud.oracle.com/en-us/iaas/Content/API/Concepts/usingapi.htm#nine).
@@ -1177,6 +1821,7 @@ module OCI
1177
1821
  # Query Params
1178
1822
  query_params = {}
1179
1823
  query_params[:compartmentId] = compartment_id
1824
+ query_params[:operationType] = opts[:operation_type] if opts[:operation_type]
1180
1825
  query_params[:resourceId] = opts[:resource_id] if opts[:resource_id]
1181
1826
  query_params[:page] = opts[:page] if opts[:page]
1182
1827
  query_params[:limit] = opts[:limit] if opts[:limit]
@@ -1403,6 +2048,75 @@ module OCI
1403
2048
  # rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
1404
2049
  # rubocop:enable Metrics/MethodLength, Layout/EmptyLines
1405
2050
 
2051
+ # rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
2052
+ # rubocop:disable Style/IfUnlessModifier, Metrics/ParameterLists
2053
+ # rubocop:disable Metrics/MethodLength, Layout/EmptyLines
2054
+
2055
+
2056
+ # Updates one or more attributes of the specified Data Safe target database.
2057
+ # @param [String] target_database_id The OCID of the Data Safe target database.
2058
+ # @param [OCI::DataSafe::Models::UpdateTargetDatabaseDetails] update_target_database_details Details used to update the target database in Data Safe.
2059
+ # @param [Hash] opts the optional parameters
2060
+ # @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
2061
+ # retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
2062
+ # @option opts [String] :opc_request_id Unique identifier for the request.
2063
+ # @option opts [String] :if_match For optimistic concurrency control. In the PUT or DELETE call
2064
+ # for a resource, set the if-match parameter to the value of the
2065
+ # etag from a previous GET or POST response for that resource.
2066
+ # The resource will be updated or deleted only if the etag you
2067
+ # provide matches the resource's current etag value.
2068
+ #
2069
+ # @option opts [String] :opc_retry_token A token that uniquely identifies a request so it can be retried in case of a timeout or
2070
+ # server error without risk of executing that same action again. Retry tokens expire after 24
2071
+ # hours, but can be invalidated before then due to conflicting operations. For example, if a resource
2072
+ # has been deleted and purged from the system, then a retry of the original creation request might be rejected.
2073
+ #
2074
+ # @return [Response] A Response object with data of type nil
2075
+ # @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/datasafe/update_target_database.rb.html) to see an example of how to use update_target_database API.
2076
+ def update_target_database(target_database_id, update_target_database_details, opts = {})
2077
+ logger.debug 'Calling operation DataSafeClient#update_target_database.' if logger
2078
+
2079
+ raise "Missing the required parameter 'target_database_id' when calling update_target_database." if target_database_id.nil?
2080
+ raise "Missing the required parameter 'update_target_database_details' when calling update_target_database." if update_target_database_details.nil?
2081
+ raise "Parameter value for 'target_database_id' must not be blank" if OCI::Internal::Util.blank_string?(target_database_id)
2082
+
2083
+ path = '/targetDatabases/{targetDatabaseId}'.sub('{targetDatabaseId}', target_database_id.to_s)
2084
+ operation_signing_strategy = :standard
2085
+
2086
+ # rubocop:disable Style/NegatedIf
2087
+ # Query Params
2088
+ query_params = {}
2089
+
2090
+ # Header Params
2091
+ header_params = {}
2092
+ header_params[:accept] = 'application/json'
2093
+ header_params[:'content-type'] = 'application/json'
2094
+ header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
2095
+ header_params[:'if-match'] = opts[:if_match] if opts[:if_match]
2096
+ header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token]
2097
+ # rubocop:enable Style/NegatedIf
2098
+ header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token
2099
+
2100
+ post_body = @api_client.object_to_http_body(update_target_database_details)
2101
+
2102
+ # rubocop:disable Metrics/BlockLength
2103
+ OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'DataSafeClient#update_target_database') do
2104
+ @api_client.call_api(
2105
+ :PUT,
2106
+ path,
2107
+ endpoint,
2108
+ header_params: header_params,
2109
+ query_params: query_params,
2110
+ operation_signing_strategy: operation_signing_strategy,
2111
+ body: post_body
2112
+ )
2113
+ end
2114
+ # rubocop:enable Metrics/BlockLength
2115
+ end
2116
+ # rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
2117
+ # rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
2118
+ # rubocop:enable Metrics/MethodLength, Layout/EmptyLines
2119
+
1406
2120
  private
1407
2121
 
1408
2122
  def applicable_retry_config(opts = {})