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
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 83f5b8f855e80f21c03c92360efec9cd917bc3d8f72b3b4dee746a3d271a5d22
4
- data.tar.gz: bc31f75455a66ffd790ab72e641e9b454d265bc2d7335c8edccf1e069c2f97ab
3
+ metadata.gz: 92112a8da0c8e64cac126262b0e96e30716094b1955df79d84651287fabae5ff
4
+ data.tar.gz: 1bc473103ceaf51484dc2c248fc3781331fdbeaf3f47634cb54ac28e806b6989
5
5
  SHA512:
6
- metadata.gz: 643c7cc12836de5c894d18df25f57fd8e1828a68a8783777eb3a6c6c19b7d9f6861878aea3465d7241b463d0b8880520d3c323f16e601727a4e1578f1f166174
7
- data.tar.gz: a5afbfa4e07050a9155c91557040a5d715acf030c2ffb6b9208771a3d02935ddca2a61f2bc9873e43a1d6c91274f95283df0986acff1984e02977622e618085b
6
+ metadata.gz: afb701f14e21f2cf817ecce934ab6e600e1edfcb4f92fa5c52d84d2c60ec4caec8ed1050fe97a21ad7807ea927226fb37b95cd32ee114f37259c8bdaab16bfb9
7
+ data.tar.gz: cfa5e48c9cea7b55a6901a56a078dad933c32b2cbb70668f0dc448c94f60a6b3effc77a1084f51635c1964d1e69e94c49de2833eab31b7f9fe536add426967a0
data/README.md CHANGED
@@ -12,12 +12,14 @@ The Ruby SDK supports the following services:
12
12
 
13
13
  * Analytics Cloud
14
14
  * Announcements
15
+ * AI Anomaly Detection service
15
16
  * AI Language service
16
17
  * API Gateway
17
18
  * Application Migration
18
19
  * Application Performance Monitoring
19
20
  * Audit
20
21
  * Autoscaling (Compute)
22
+ * Bastion service
21
23
  * Big Data
22
24
  * Blockchain Platform
23
25
  * Budgets
@@ -36,17 +38,20 @@ The Ruby SDK supports the following services:
36
38
  * Data Transfer
37
39
  * Database
38
40
  * Database Management
41
+ * DevOps service
39
42
  * Digital Assistant
40
43
  * Domain Name System
41
44
  * Email
42
45
  * Events
43
46
  * File Storage
44
47
  * Functions
48
+ * Generic Artifacts service
45
49
  * Golden Gate
46
50
  * Health Checks
47
51
  * Identity and Access Management
48
52
  * Incident Management
49
53
  * Integration Cloud
54
+ * Java Management Service
50
55
  * Key Management
51
56
  * Limits
52
57
  * Load Balancing
@@ -187,7 +192,7 @@ To use the Ruby SDK, you must have:
187
192
  * An Oracle Cloud Infrastructure account.
188
193
  * A user created in that account, in a group with a policy that grants the desired permissions. This can be a user for yourself, or another person/system that needs to call the API. For an example of how to set up a new user, group, compartment, and policy, see [Adding Users](https://docs.cloud.oracle.com/Content/GSG/Tasks/addingusers.htm) in the Getting Started Guide. For a list of typical policies you may want to use, see [Common Policies](https://docs.cloud.oracle.com/Content/Identity/Concepts/commonpolicies.htm) in the User Guide.
189
194
  * A keypair used for signing API requests, with the public key uploaded to Oracle. Only the user calling the API should be in possession of the private key. See the configuration information below.
190
- * Ruby version 2.2 or later running on Mac, Linux or Windows.
195
+ * Ruby version 2.6 or 2.7 running on Mac, Linux or Windows.
191
196
 
192
197
  # Downloading and Installing the Gem File
193
198
  ## Installing the SDK
@@ -660,7 +665,7 @@ Addtional ways to get in touch:
660
665
 
661
666
  ## License
662
667
 
663
- Copyright (c) 2016, 2020, Oracle and/or its affiliates. All rights reserved.
668
+ Copyright (c) 2016, 2021, Oracle and/or its affiliates. All rights reserved.
664
669
 
665
670
  This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl
666
671
  or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
data/lib/oci.rb CHANGED
@@ -92,6 +92,11 @@ require 'oci/database_migration/database_migration'
92
92
  require 'oci/service_catalog/service_catalog'
93
93
  require 'oci/ai_language/ai_language'
94
94
  require 'oci/operator_access_control/operator_access_control'
95
+ require 'oci/bastion/bastion'
96
+ require 'oci/generic_artifacts_content/generic_artifacts_content'
97
+ require 'oci/jms/jms'
98
+ require 'oci/devops/devops'
99
+ require 'oci/ai_anomaly_detection/ai_anomaly_detection'
95
100
 
96
101
  # Top level module for the Oracle Cloud Infrastructure SDK
97
102
  module OCI
@@ -0,0 +1,76 @@
1
+ # Copyright (c) 2016, 2021, Oracle and/or its affiliates. All rights reserved.
2
+ # This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
3
+
4
+ module OCI
5
+ module AiAnomalyDetection
6
+ # Module containing models for requests made to, and responses received from,
7
+ # OCI AiAnomalyDetection services
8
+ module Models
9
+ end
10
+ end
11
+ end
12
+
13
+ # Require models
14
+ require 'oci/ai_anomaly_detection/models/action_type'
15
+ require 'oci/ai_anomaly_detection/models/ai_private_endpoint'
16
+ require 'oci/ai_anomaly_detection/models/ai_private_endpoint_collection'
17
+ require 'oci/ai_anomaly_detection/models/ai_private_endpoint_summary'
18
+ require 'oci/ai_anomaly_detection/models/anomaly'
19
+ require 'oci/ai_anomaly_detection/models/anomaly_detect_result'
20
+ require 'oci/ai_anomaly_detection/models/change_ai_private_endpoint_compartment_details'
21
+ require 'oci/ai_anomaly_detection/models/change_data_asset_compartment_details'
22
+ require 'oci/ai_anomaly_detection/models/change_model_compartment_details'
23
+ require 'oci/ai_anomaly_detection/models/change_project_compartment_details'
24
+ require 'oci/ai_anomaly_detection/models/create_ai_private_endpoint_details'
25
+ require 'oci/ai_anomaly_detection/models/create_data_asset_details'
26
+ require 'oci/ai_anomaly_detection/models/create_model_details'
27
+ require 'oci/ai_anomaly_detection/models/create_project_details'
28
+ require 'oci/ai_anomaly_detection/models/data_asset'
29
+ require 'oci/ai_anomaly_detection/models/data_asset_collection'
30
+ require 'oci/ai_anomaly_detection/models/data_asset_summary'
31
+ require 'oci/ai_anomaly_detection/models/data_item'
32
+ require 'oci/ai_anomaly_detection/models/data_source_details'
33
+ require 'oci/ai_anomaly_detection/models/data_source_details_atp'
34
+ require 'oci/ai_anomaly_detection/models/data_source_details_influx'
35
+ require 'oci/ai_anomaly_detection/models/data_source_details_object_storage'
36
+ require 'oci/ai_anomaly_detection/models/data_source_type'
37
+ require 'oci/ai_anomaly_detection/models/detect_anomalies_details'
38
+ require 'oci/ai_anomaly_detection/models/detection_result_item'
39
+ require 'oci/ai_anomaly_detection/models/embedded_detect_anomalies_request'
40
+ require 'oci/ai_anomaly_detection/models/influx_details'
41
+ require 'oci/ai_anomaly_detection/models/influx_details_v1v8'
42
+ require 'oci/ai_anomaly_detection/models/influx_details_v2v0'
43
+ require 'oci/ai_anomaly_detection/models/influx_version'
44
+ require 'oci/ai_anomaly_detection/models/inline_detect_anomalies_request'
45
+ require 'oci/ai_anomaly_detection/models/model'
46
+ require 'oci/ai_anomaly_detection/models/model_collection'
47
+ require 'oci/ai_anomaly_detection/models/model_summary'
48
+ require 'oci/ai_anomaly_detection/models/model_training_details'
49
+ require 'oci/ai_anomaly_detection/models/model_training_results'
50
+ require 'oci/ai_anomaly_detection/models/operation_status'
51
+ require 'oci/ai_anomaly_detection/models/operation_type'
52
+ require 'oci/ai_anomaly_detection/models/per_signal_details'
53
+ require 'oci/ai_anomaly_detection/models/project'
54
+ require 'oci/ai_anomaly_detection/models/project_collection'
55
+ require 'oci/ai_anomaly_detection/models/project_summary'
56
+ require 'oci/ai_anomaly_detection/models/row_reduction_details'
57
+ require 'oci/ai_anomaly_detection/models/sort_order'
58
+ require 'oci/ai_anomaly_detection/models/update_ai_private_endpoint_details'
59
+ require 'oci/ai_anomaly_detection/models/update_data_asset_details'
60
+ require 'oci/ai_anomaly_detection/models/update_model_details'
61
+ require 'oci/ai_anomaly_detection/models/update_project_details'
62
+ require 'oci/ai_anomaly_detection/models/work_request'
63
+ require 'oci/ai_anomaly_detection/models/work_request_error'
64
+ require 'oci/ai_anomaly_detection/models/work_request_error_collection'
65
+ require 'oci/ai_anomaly_detection/models/work_request_log_entry'
66
+ require 'oci/ai_anomaly_detection/models/work_request_log_entry_collection'
67
+ require 'oci/ai_anomaly_detection/models/work_request_resource'
68
+ require 'oci/ai_anomaly_detection/models/work_request_summary'
69
+ require 'oci/ai_anomaly_detection/models/work_request_summary_collection'
70
+
71
+ # Require generated clients
72
+ require 'oci/ai_anomaly_detection/anomaly_detection_client'
73
+ require 'oci/ai_anomaly_detection/anomaly_detection_client_composite_operations'
74
+
75
+ # Require service utilities
76
+ require 'oci/ai_anomaly_detection/util'
@@ -0,0 +1,2054 @@
1
+ # Copyright (c) 2016, 2021, Oracle and/or its affiliates. All rights reserved.
2
+ # This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
3
+
4
+ require 'uri'
5
+ require 'logger'
6
+
7
+ # rubocop:disable Lint/UnneededCopDisableDirective, Metrics/LineLength
8
+ module OCI
9
+ # OCI AI Service solutions can help Enterprise customers integrate AI into their products immediately by using our proven,
10
+ # pre-trained/custom models or containers, and without a need to set up in house team of AI and ML experts.
11
+ # This allows enterprises to focus on business drivers and development work rather than AI/ML operations, shortening the time to market.
12
+ class AiAnomalyDetection::AnomalyDetectionClient
13
+ # Client used to make HTTP requests.
14
+ # @return [OCI::ApiClient]
15
+ attr_reader :api_client
16
+
17
+ # Fully qualified endpoint URL
18
+ # @return [String]
19
+ attr_reader :endpoint
20
+
21
+ # The default retry configuration to apply to all operations in this service client. This can be overridden
22
+ # on a per-operation basis. The default retry configuration value is `nil`, which means that an operation
23
+ # will not perform any retries
24
+ # @return [OCI::Retry::RetryConfig]
25
+ attr_reader :retry_config
26
+
27
+ # The region, which will usually correspond to a value in {OCI::Regions::REGION_ENUM}.
28
+ # @return [String]
29
+ attr_reader :region
30
+
31
+ # rubocop:disable Metrics/AbcSize, Metrics/CyclomaticComplexity, Layout/EmptyLines, Metrics/PerceivedComplexity
32
+
33
+
34
+ # Creates a new AnomalyDetectionClient.
35
+ # Notes:
36
+ # If a config is not specified, then the global OCI.config will be used.
37
+ #
38
+ # This client is not thread-safe
39
+ #
40
+ # Either a region or an endpoint must be specified. If an endpoint is specified, it will be used instead of the
41
+ # region. A region may be specified in the config or via or the region parameter. If specified in both, then the
42
+ # region parameter will be used.
43
+ # @param [Config] config A Config object.
44
+ # @param [String] region A region used to determine the service endpoint. This will usually
45
+ # correspond to a value in {OCI::Regions::REGION_ENUM}, but may be an arbitrary string.
46
+ # @param [String] endpoint The fully qualified endpoint URL
47
+ # @param [OCI::BaseSigner] signer A signer implementation which can be used by this client. If this is not provided then
48
+ # a signer will be constructed via the provided config. One use case of this parameter is instance principals authentication,
49
+ # so that the instance principals signer can be provided to the client
50
+ # @param [OCI::ApiClientProxySettings] proxy_settings If your environment requires you to use a proxy server for outgoing HTTP requests
51
+ # the details for the proxy can be provided in this parameter
52
+ # @param [OCI::Retry::RetryConfig] retry_config The retry configuration for this service client. This represents the default retry configuration to
53
+ # apply across all operations. This can be overridden on a per-operation basis. The default retry configuration value is `nil`, which means that an operation
54
+ # will not perform any retries
55
+ def initialize(config: nil, region: nil, endpoint: nil, signer: nil, proxy_settings: nil, retry_config: nil)
56
+ # If the signer is an InstancePrincipalsSecurityTokenSigner or SecurityTokenSigner and no config was supplied (they are self-sufficient signers)
57
+ # then create a dummy config to pass to the ApiClient constructor. If customers wish to create a client which uses instance principals
58
+ # and has config (either populated programmatically or loaded from a file), they must construct that config themselves and then
59
+ # pass it to this constructor.
60
+ #
61
+ # If there is no signer (or the signer is not an instance principals signer) and no config was supplied, this is not valid
62
+ # so try and load the config from the default file.
63
+ config = OCI::Config.validate_and_build_config_with_signer(config, signer)
64
+
65
+ signer = OCI::Signer.config_file_auth_builder(config) if signer.nil?
66
+
67
+ @api_client = OCI::ApiClient.new(config, signer, proxy_settings: proxy_settings)
68
+ @retry_config = retry_config
69
+
70
+ if endpoint
71
+ @endpoint = endpoint + '/20210101'
72
+ else
73
+ region ||= config.region
74
+ region ||= signer.region if signer.respond_to?(:region)
75
+ self.region = region
76
+ end
77
+ logger.info "AnomalyDetectionClient endpoint set to '#{@endpoint}'." if logger
78
+ end
79
+ # rubocop:enable Metrics/AbcSize, Metrics/CyclomaticComplexity, Layout/EmptyLines, Metrics/PerceivedComplexity
80
+
81
+ # Set the region that will be used to determine the service endpoint.
82
+ # This will usually correspond to a value in {OCI::Regions::REGION_ENUM},
83
+ # but may be an arbitrary string.
84
+ def region=(new_region)
85
+ @region = new_region
86
+
87
+ raise 'A region must be specified.' unless @region
88
+
89
+ @endpoint = OCI::Regions.get_service_endpoint_for_template(@region, 'https://anomalydetection.aiservice.{region}.oci.{secondLevelDomain}') + '/20210101'
90
+ logger.info "AnomalyDetectionClient endpoint set to '#{@endpoint} from region #{@region}'." if logger
91
+ end
92
+
93
+ # @return [Logger] The logger for this client. May be nil.
94
+ def logger
95
+ @api_client.config.logger
96
+ end
97
+
98
+ # rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
99
+ # rubocop:disable Style/IfUnlessModifier, Metrics/ParameterLists
100
+ # rubocop:disable Metrics/MethodLength, Layout/EmptyLines
101
+
102
+
103
+ # Cancel work request with the given ID.
104
+ # @param [String] work_request_id The ID of the asynchronous request.
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] :if_match For optimistic concurrency control. In the PUT or DELETE call
109
+ # for a resource, set the `if-match` parameter to the value of the
110
+ # etag from a previous GET or POST response for that resource.
111
+ # The resource will be updated or deleted only if the etag you
112
+ # provide matches the resource's current etag value.
113
+ #
114
+ # @option opts [String] :opc_request_id The client request ID for tracing.
115
+ # @return [Response] A Response object with data of type nil
116
+ # @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/aianomalydetection/cancel_work_request.rb.html) to see an example of how to use cancel_work_request API.
117
+ def cancel_work_request(work_request_id, opts = {})
118
+ logger.debug 'Calling operation AnomalyDetectionClient#cancel_work_request.' if logger
119
+
120
+ raise "Missing the required parameter 'work_request_id' when calling cancel_work_request." if work_request_id.nil?
121
+ raise "Parameter value for 'work_request_id' must not be blank" if OCI::Internal::Util.blank_string?(work_request_id)
122
+
123
+ path = '/workRequests/{workRequestId}'.sub('{workRequestId}', work_request_id.to_s)
124
+ operation_signing_strategy = :standard
125
+
126
+ # rubocop:disable Style/NegatedIf
127
+ # Query Params
128
+ query_params = {}
129
+
130
+ # Header Params
131
+ header_params = {}
132
+ header_params[:accept] = 'application/json'
133
+ header_params[:'content-type'] = 'application/json'
134
+ header_params[:'if-match'] = opts[:if_match] if opts[:if_match]
135
+ header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
136
+ # rubocop:enable Style/NegatedIf
137
+
138
+ post_body = nil
139
+
140
+ # rubocop:disable Metrics/BlockLength
141
+ OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'AnomalyDetectionClient#cancel_work_request') do
142
+ @api_client.call_api(
143
+ :DELETE,
144
+ path,
145
+ endpoint,
146
+ header_params: header_params,
147
+ query_params: query_params,
148
+ operation_signing_strategy: operation_signing_strategy,
149
+ body: post_body
150
+ )
151
+ end
152
+ # rubocop:enable Metrics/BlockLength
153
+ end
154
+ # rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
155
+ # rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
156
+ # rubocop:enable Metrics/MethodLength, Layout/EmptyLines
157
+
158
+ # rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
159
+ # rubocop:disable Style/IfUnlessModifier, Metrics/ParameterLists
160
+ # rubocop:disable Metrics/MethodLength, Layout/EmptyLines
161
+
162
+
163
+ # Moves a resource into a different compartment. When provided, 'If-Match' is checked against 'ETag' values of the resource.
164
+ # @param [String] ai_private_endpoint_id Unique private reverse connection identifier.
165
+ # @param [OCI::AiAnomalyDetection::Models::ChangeAiPrivateEndpointCompartmentDetails] change_ai_private_endpoint_compartment_details Details for the target compartment.
166
+ # @param [Hash] opts the optional parameters
167
+ # @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
168
+ # retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
169
+ # @option opts [String] :if_match For optimistic concurrency control. In the PUT or DELETE call
170
+ # for a resource, set the `if-match` parameter to the value of the
171
+ # etag from a previous GET or POST response for that resource.
172
+ # The resource will be updated or deleted only if the etag you
173
+ # provide matches the resource's current etag value.
174
+ #
175
+ # @option opts [String] :opc_request_id The client request ID for tracing.
176
+ # @option opts [String] :opc_retry_token A token that uniquely identifies a request so it can be retried in case of a timeout or
177
+ # server error without risk of executing that same action again. Retry tokens expire after 24
178
+ # hours, but can be invalidated before then due to conflicting operations. For example, if a resource
179
+ # has been deleted and purged from the system, then a retry of the original creation request
180
+ # might be rejected.
181
+ #
182
+ # @return [Response] A Response object with data of type nil
183
+ # @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/aianomalydetection/change_ai_private_endpoint_compartment.rb.html) to see an example of how to use change_ai_private_endpoint_compartment API.
184
+ def change_ai_private_endpoint_compartment(ai_private_endpoint_id, change_ai_private_endpoint_compartment_details, opts = {})
185
+ logger.debug 'Calling operation AnomalyDetectionClient#change_ai_private_endpoint_compartment.' if logger
186
+
187
+ raise "Missing the required parameter 'ai_private_endpoint_id' when calling change_ai_private_endpoint_compartment." if ai_private_endpoint_id.nil?
188
+ raise "Missing the required parameter 'change_ai_private_endpoint_compartment_details' when calling change_ai_private_endpoint_compartment." if change_ai_private_endpoint_compartment_details.nil?
189
+ raise "Parameter value for 'ai_private_endpoint_id' must not be blank" if OCI::Internal::Util.blank_string?(ai_private_endpoint_id)
190
+
191
+ path = '/aiPrivateEndpoints/{aiPrivateEndpointId}/actions/changeCompartment'.sub('{aiPrivateEndpointId}', ai_private_endpoint_id.to_s)
192
+ operation_signing_strategy = :standard
193
+
194
+ # rubocop:disable Style/NegatedIf
195
+ # Query Params
196
+ query_params = {}
197
+
198
+ # Header Params
199
+ header_params = {}
200
+ header_params[:accept] = 'application/json'
201
+ header_params[:'content-type'] = 'application/json'
202
+ header_params[:'if-match'] = opts[:if_match] if opts[:if_match]
203
+ header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
204
+ header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token]
205
+ # rubocop:enable Style/NegatedIf
206
+ header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token
207
+
208
+ post_body = @api_client.object_to_http_body(change_ai_private_endpoint_compartment_details)
209
+
210
+ # rubocop:disable Metrics/BlockLength
211
+ OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'AnomalyDetectionClient#change_ai_private_endpoint_compartment') do
212
+ @api_client.call_api(
213
+ :POST,
214
+ path,
215
+ endpoint,
216
+ header_params: header_params,
217
+ query_params: query_params,
218
+ operation_signing_strategy: operation_signing_strategy,
219
+ body: post_body
220
+ )
221
+ end
222
+ # rubocop:enable Metrics/BlockLength
223
+ end
224
+ # rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
225
+ # rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
226
+ # rubocop:enable Metrics/MethodLength, Layout/EmptyLines
227
+
228
+ # rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
229
+ # rubocop:disable Style/IfUnlessModifier, Metrics/ParameterLists
230
+ # rubocop:disable Metrics/MethodLength, Layout/EmptyLines
231
+
232
+
233
+ # Changing the compartment of a data asset.
234
+ # @param [String] data_asset_id The OCID of the Data Asset.
235
+ # @param [OCI::AiAnomalyDetection::Models::ChangeDataAssetCompartmentDetails] change_data_asset_compartment_details The information to be updated.
236
+ # @param [Hash] opts the optional parameters
237
+ # @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
238
+ # retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
239
+ # @option opts [String] :if_match For optimistic concurrency control. In the PUT or DELETE call
240
+ # for a resource, set the `if-match` parameter to the value of the
241
+ # etag from a previous GET or POST response for that resource.
242
+ # The resource will be updated or deleted only if the etag you
243
+ # provide matches the resource's current etag value.
244
+ #
245
+ # @option opts [String] :opc_request_id The client request ID for tracing.
246
+ # @option opts [String] :opc_retry_token A token that uniquely identifies a request so it can be retried in case of a timeout or
247
+ # server error without risk of executing that same action again. Retry tokens expire after 24
248
+ # hours, but can be invalidated before then due to conflicting operations. For example, if a resource
249
+ # has been deleted and purged from the system, then a retry of the original creation request
250
+ # might be rejected.
251
+ #
252
+ # @return [Response] A Response object with data of type {OCI::AiAnomalyDetection::Models::DataAsset DataAsset}
253
+ # @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/aianomalydetection/change_data_asset_compartment.rb.html) to see an example of how to use change_data_asset_compartment API.
254
+ def change_data_asset_compartment(data_asset_id, change_data_asset_compartment_details, opts = {})
255
+ logger.debug 'Calling operation AnomalyDetectionClient#change_data_asset_compartment.' if logger
256
+
257
+ raise "Missing the required parameter 'data_asset_id' when calling change_data_asset_compartment." if data_asset_id.nil?
258
+ raise "Missing the required parameter 'change_data_asset_compartment_details' when calling change_data_asset_compartment." if change_data_asset_compartment_details.nil?
259
+ raise "Parameter value for 'data_asset_id' must not be blank" if OCI::Internal::Util.blank_string?(data_asset_id)
260
+
261
+ path = '/dataAssets/{dataAssetId}/actions/changeCompartment'.sub('{dataAssetId}', data_asset_id.to_s)
262
+ operation_signing_strategy = :standard
263
+
264
+ # rubocop:disable Style/NegatedIf
265
+ # Query Params
266
+ query_params = {}
267
+
268
+ # Header Params
269
+ header_params = {}
270
+ header_params[:accept] = 'application/json'
271
+ header_params[:'content-type'] = 'application/json'
272
+ header_params[:'if-match'] = opts[:if_match] if opts[:if_match]
273
+ header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
274
+ header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token]
275
+ # rubocop:enable Style/NegatedIf
276
+ header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token
277
+
278
+ post_body = @api_client.object_to_http_body(change_data_asset_compartment_details)
279
+
280
+ # rubocop:disable Metrics/BlockLength
281
+ OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'AnomalyDetectionClient#change_data_asset_compartment') do
282
+ @api_client.call_api(
283
+ :POST,
284
+ path,
285
+ endpoint,
286
+ header_params: header_params,
287
+ query_params: query_params,
288
+ operation_signing_strategy: operation_signing_strategy,
289
+ body: post_body,
290
+ return_type: 'OCI::AiAnomalyDetection::Models::DataAsset'
291
+ )
292
+ end
293
+ # rubocop:enable Metrics/BlockLength
294
+ end
295
+ # rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
296
+ # rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
297
+ # rubocop:enable Metrics/MethodLength, Layout/EmptyLines
298
+
299
+ # rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
300
+ # rubocop:disable Style/IfUnlessModifier, Metrics/ParameterLists
301
+ # rubocop:disable Metrics/MethodLength, Layout/EmptyLines
302
+
303
+
304
+ # Moves a Model resource from one compartment to another. When provided, If-Match is checked against ETag values of the resource.
305
+ # @param [String] model_id The OCID of the Model.
306
+ # @param [OCI::AiAnomalyDetection::Models::ChangeModelCompartmentDetails] change_model_compartment_details The information to be updated.
307
+ # @param [Hash] opts the optional parameters
308
+ # @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
309
+ # retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
310
+ # @option opts [String] :if_match For optimistic concurrency control. In the PUT or DELETE call
311
+ # for a resource, set the `if-match` parameter to the value of the
312
+ # etag from a previous GET or POST response for that resource.
313
+ # The resource will be updated or deleted only if the etag you
314
+ # provide matches the resource's current etag value.
315
+ #
316
+ # @option opts [String] :opc_request_id The client request ID for tracing.
317
+ # @option opts [String] :opc_retry_token A token that uniquely identifies a request so it can be retried in case of a timeout or
318
+ # server error without risk of executing that same action again. Retry tokens expire after 24
319
+ # hours, but can be invalidated before then due to conflicting operations. For example, if a resource
320
+ # has been deleted and purged from the system, then a retry of the original creation request
321
+ # might be rejected.
322
+ #
323
+ # @return [Response] A Response object with data of type nil
324
+ # @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/aianomalydetection/change_model_compartment.rb.html) to see an example of how to use change_model_compartment API.
325
+ def change_model_compartment(model_id, change_model_compartment_details, opts = {})
326
+ logger.debug 'Calling operation AnomalyDetectionClient#change_model_compartment.' if logger
327
+
328
+ raise "Missing the required parameter 'model_id' when calling change_model_compartment." if model_id.nil?
329
+ raise "Missing the required parameter 'change_model_compartment_details' when calling change_model_compartment." if change_model_compartment_details.nil?
330
+ raise "Parameter value for 'model_id' must not be blank" if OCI::Internal::Util.blank_string?(model_id)
331
+
332
+ path = '/models/{modelId}/actions/changeCompartment'.sub('{modelId}', model_id.to_s)
333
+ operation_signing_strategy = :standard
334
+
335
+ # rubocop:disable Style/NegatedIf
336
+ # Query Params
337
+ query_params = {}
338
+
339
+ # Header Params
340
+ header_params = {}
341
+ header_params[:accept] = 'application/json'
342
+ header_params[:'content-type'] = 'application/json'
343
+ header_params[:'if-match'] = opts[:if_match] if opts[:if_match]
344
+ header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
345
+ header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token]
346
+ # rubocop:enable Style/NegatedIf
347
+ header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token
348
+
349
+ post_body = @api_client.object_to_http_body(change_model_compartment_details)
350
+
351
+ # rubocop:disable Metrics/BlockLength
352
+ OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'AnomalyDetectionClient#change_model_compartment') do
353
+ @api_client.call_api(
354
+ :POST,
355
+ path,
356
+ endpoint,
357
+ header_params: header_params,
358
+ query_params: query_params,
359
+ operation_signing_strategy: operation_signing_strategy,
360
+ body: post_body
361
+ )
362
+ end
363
+ # rubocop:enable Metrics/BlockLength
364
+ end
365
+ # rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
366
+ # rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
367
+ # rubocop:enable Metrics/MethodLength, Layout/EmptyLines
368
+
369
+ # rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
370
+ # rubocop:disable Style/IfUnlessModifier, Metrics/ParameterLists
371
+ # rubocop:disable Metrics/MethodLength, Layout/EmptyLines
372
+
373
+
374
+ # Moves a Project resource from one compartment to another. When provided, If-Match is checked against ETag values of the resource.
375
+ # @param [String] project_id The OCID of the Project.
376
+ # @param [OCI::AiAnomalyDetection::Models::ChangeProjectCompartmentDetails] change_project_compartment_details The details to change the compartment of the project.
377
+ # @param [Hash] opts the optional parameters
378
+ # @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
379
+ # retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
380
+ # @option opts [String] :if_match For optimistic concurrency control. In the PUT or DELETE call
381
+ # for a resource, set the `if-match` parameter to the value of the
382
+ # etag from a previous GET or POST response for that resource.
383
+ # The resource will be updated or deleted only if the etag you
384
+ # provide matches the resource's current etag value.
385
+ #
386
+ # @option opts [String] :opc_request_id The client request ID for tracing.
387
+ # @option opts [String] :opc_retry_token A token that uniquely identifies a request so it can be retried in case of a timeout or
388
+ # server error without risk of executing that same action again. Retry tokens expire after 24
389
+ # hours, but can be invalidated before then due to conflicting operations. For example, if a resource
390
+ # has been deleted and purged from the system, then a retry of the original creation request
391
+ # might be rejected.
392
+ #
393
+ # @return [Response] A Response object with data of type nil
394
+ # @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/aianomalydetection/change_project_compartment.rb.html) to see an example of how to use change_project_compartment API.
395
+ def change_project_compartment(project_id, change_project_compartment_details, opts = {})
396
+ logger.debug 'Calling operation AnomalyDetectionClient#change_project_compartment.' if logger
397
+
398
+ raise "Missing the required parameter 'project_id' when calling change_project_compartment." if project_id.nil?
399
+ raise "Missing the required parameter 'change_project_compartment_details' when calling change_project_compartment." if change_project_compartment_details.nil?
400
+ raise "Parameter value for 'project_id' must not be blank" if OCI::Internal::Util.blank_string?(project_id)
401
+
402
+ path = '/projects/{projectId}/actions/changeCompartment'.sub('{projectId}', project_id.to_s)
403
+ operation_signing_strategy = :standard
404
+
405
+ # rubocop:disable Style/NegatedIf
406
+ # Query Params
407
+ query_params = {}
408
+
409
+ # Header Params
410
+ header_params = {}
411
+ header_params[:accept] = 'application/json'
412
+ header_params[:'content-type'] = 'application/json'
413
+ header_params[:'if-match'] = opts[:if_match] if opts[:if_match]
414
+ header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
415
+ header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token]
416
+ # rubocop:enable Style/NegatedIf
417
+ header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token
418
+
419
+ post_body = @api_client.object_to_http_body(change_project_compartment_details)
420
+
421
+ # rubocop:disable Metrics/BlockLength
422
+ OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'AnomalyDetectionClient#change_project_compartment') do
423
+ @api_client.call_api(
424
+ :POST,
425
+ path,
426
+ endpoint,
427
+ header_params: header_params,
428
+ query_params: query_params,
429
+ operation_signing_strategy: operation_signing_strategy,
430
+ body: post_body
431
+ )
432
+ end
433
+ # rubocop:enable Metrics/BlockLength
434
+ end
435
+ # rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
436
+ # rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
437
+ # rubocop:enable Metrics/MethodLength, Layout/EmptyLines
438
+
439
+ # rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
440
+ # rubocop:disable Style/IfUnlessModifier, Metrics/ParameterLists
441
+ # rubocop:disable Metrics/MethodLength, Layout/EmptyLines
442
+
443
+
444
+ # Create a new private reverse connection endpoint.
445
+ # @param [OCI::AiAnomalyDetection::Models::CreateAiPrivateEndpointDetails] create_ai_private_endpoint_details The information used to create the private reverse connection.
446
+ # @param [Hash] opts the optional parameters
447
+ # @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
448
+ # retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
449
+ # @option opts [String] :opc_request_id The client request ID for tracing.
450
+ # @option opts [String] :opc_retry_token A token that uniquely identifies a request so it can be retried in case of a timeout or
451
+ # server error without risk of executing that same action again. Retry tokens expire after 24
452
+ # hours, but can be invalidated before then due to conflicting operations. For example, if a resource
453
+ # has been deleted and purged from the system, then a retry of the original creation request
454
+ # might be rejected.
455
+ #
456
+ # @return [Response] A Response object with data of type nil
457
+ # @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/aianomalydetection/create_ai_private_endpoint.rb.html) to see an example of how to use create_ai_private_endpoint API.
458
+ def create_ai_private_endpoint(create_ai_private_endpoint_details, opts = {})
459
+ logger.debug 'Calling operation AnomalyDetectionClient#create_ai_private_endpoint.' if logger
460
+
461
+ raise "Missing the required parameter 'create_ai_private_endpoint_details' when calling create_ai_private_endpoint." if create_ai_private_endpoint_details.nil?
462
+
463
+ path = '/aiPrivateEndpoints'
464
+ operation_signing_strategy = :standard
465
+
466
+ # rubocop:disable Style/NegatedIf
467
+ # Query Params
468
+ query_params = {}
469
+
470
+ # Header Params
471
+ header_params = {}
472
+ header_params[:accept] = 'application/json'
473
+ header_params[:'content-type'] = 'application/json'
474
+ header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
475
+ header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token]
476
+ # rubocop:enable Style/NegatedIf
477
+ header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token
478
+
479
+ post_body = @api_client.object_to_http_body(create_ai_private_endpoint_details)
480
+
481
+ # rubocop:disable Metrics/BlockLength
482
+ OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'AnomalyDetectionClient#create_ai_private_endpoint') do
483
+ @api_client.call_api(
484
+ :POST,
485
+ path,
486
+ endpoint,
487
+ header_params: header_params,
488
+ query_params: query_params,
489
+ operation_signing_strategy: operation_signing_strategy,
490
+ body: post_body
491
+ )
492
+ end
493
+ # rubocop:enable Metrics/BlockLength
494
+ end
495
+ # rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
496
+ # rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
497
+ # rubocop:enable Metrics/MethodLength, Layout/EmptyLines
498
+
499
+ # rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
500
+ # rubocop:disable Style/IfUnlessModifier, Metrics/ParameterLists
501
+ # rubocop:disable Metrics/MethodLength, Layout/EmptyLines
502
+
503
+
504
+ # Creates a new DataAsset.
505
+ #
506
+ # @param [OCI::AiAnomalyDetection::Models::CreateDataAssetDetails] create_data_asset_details Details for the new DataAsset.
507
+ # @param [Hash] opts the optional parameters
508
+ # @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
509
+ # retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
510
+ # @option opts [String] :opc_retry_token A token that uniquely identifies a request so it can be retried in case of a timeout or
511
+ # server error without risk of executing that same action again. Retry tokens expire after 24
512
+ # hours, but can be invalidated before then due to conflicting operations. For example, if a resource
513
+ # has been deleted and purged from the system, then a retry of the original creation request
514
+ # might be rejected.
515
+ #
516
+ # @option opts [String] :opc_request_id The client request ID for tracing.
517
+ # @return [Response] A Response object with data of type {OCI::AiAnomalyDetection::Models::DataAsset DataAsset}
518
+ # @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/aianomalydetection/create_data_asset.rb.html) to see an example of how to use create_data_asset API.
519
+ def create_data_asset(create_data_asset_details, opts = {})
520
+ logger.debug 'Calling operation AnomalyDetectionClient#create_data_asset.' if logger
521
+
522
+ raise "Missing the required parameter 'create_data_asset_details' when calling create_data_asset." if create_data_asset_details.nil?
523
+
524
+ path = '/dataAssets'
525
+ operation_signing_strategy = :standard
526
+
527
+ # rubocop:disable Style/NegatedIf
528
+ # Query Params
529
+ query_params = {}
530
+
531
+ # Header Params
532
+ header_params = {}
533
+ header_params[:accept] = 'application/json'
534
+ header_params[:'content-type'] = 'application/json'
535
+ header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token]
536
+ header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
537
+ # rubocop:enable Style/NegatedIf
538
+ header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token
539
+
540
+ post_body = @api_client.object_to_http_body(create_data_asset_details)
541
+
542
+ # rubocop:disable Metrics/BlockLength
543
+ OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'AnomalyDetectionClient#create_data_asset') do
544
+ @api_client.call_api(
545
+ :POST,
546
+ path,
547
+ endpoint,
548
+ header_params: header_params,
549
+ query_params: query_params,
550
+ operation_signing_strategy: operation_signing_strategy,
551
+ body: post_body,
552
+ return_type: 'OCI::AiAnomalyDetection::Models::DataAsset'
553
+ )
554
+ end
555
+ # rubocop:enable Metrics/BlockLength
556
+ end
557
+ # rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
558
+ # rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
559
+ # rubocop:enable Metrics/MethodLength, Layout/EmptyLines
560
+
561
+ # rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
562
+ # rubocop:disable Style/IfUnlessModifier, Metrics/ParameterLists
563
+ # rubocop:disable Metrics/MethodLength, Layout/EmptyLines
564
+
565
+
566
+ # Creates a new Model.
567
+ #
568
+ # @param [OCI::AiAnomalyDetection::Models::CreateModelDetails] create_model_details Details for the new Model.
569
+ # @param [Hash] opts the optional parameters
570
+ # @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
571
+ # retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
572
+ # @option opts [String] :opc_retry_token A token that uniquely identifies a request so it can be retried in case of a timeout or
573
+ # server error without risk of executing that same action again. Retry tokens expire after 24
574
+ # hours, but can be invalidated before then due to conflicting operations. For example, if a resource
575
+ # has been deleted and purged from the system, then a retry of the original creation request
576
+ # might be rejected.
577
+ #
578
+ # @option opts [String] :opc_request_id The client request ID for tracing.
579
+ # @return [Response] A Response object with data of type {OCI::AiAnomalyDetection::Models::Model Model}
580
+ # @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/aianomalydetection/create_model.rb.html) to see an example of how to use create_model API.
581
+ def create_model(create_model_details, opts = {})
582
+ logger.debug 'Calling operation AnomalyDetectionClient#create_model.' if logger
583
+
584
+ raise "Missing the required parameter 'create_model_details' when calling create_model." if create_model_details.nil?
585
+
586
+ path = '/models'
587
+ operation_signing_strategy = :standard
588
+
589
+ # rubocop:disable Style/NegatedIf
590
+ # Query Params
591
+ query_params = {}
592
+
593
+ # Header Params
594
+ header_params = {}
595
+ header_params[:accept] = 'application/json'
596
+ header_params[:'content-type'] = 'application/json'
597
+ header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token]
598
+ header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
599
+ # rubocop:enable Style/NegatedIf
600
+ header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token
601
+
602
+ post_body = @api_client.object_to_http_body(create_model_details)
603
+
604
+ # rubocop:disable Metrics/BlockLength
605
+ OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'AnomalyDetectionClient#create_model') do
606
+ @api_client.call_api(
607
+ :POST,
608
+ path,
609
+ endpoint,
610
+ header_params: header_params,
611
+ query_params: query_params,
612
+ operation_signing_strategy: operation_signing_strategy,
613
+ body: post_body,
614
+ return_type: 'OCI::AiAnomalyDetection::Models::Model'
615
+ )
616
+ end
617
+ # rubocop:enable Metrics/BlockLength
618
+ end
619
+ # rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
620
+ # rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
621
+ # rubocop:enable Metrics/MethodLength, Layout/EmptyLines
622
+
623
+ # rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
624
+ # rubocop:disable Style/IfUnlessModifier, Metrics/ParameterLists
625
+ # rubocop:disable Metrics/MethodLength, Layout/EmptyLines
626
+
627
+
628
+ # Creates a new Project.
629
+ #
630
+ # @param [OCI::AiAnomalyDetection::Models::CreateProjectDetails] create_project_details Details for the new Project.
631
+ # @param [Hash] opts the optional parameters
632
+ # @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
633
+ # retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
634
+ # @option opts [String] :opc_retry_token A token that uniquely identifies a request so it can be retried in case of a timeout or
635
+ # server error without risk of executing that same action again. Retry tokens expire after 24
636
+ # hours, but can be invalidated before then due to conflicting operations. For example, if a resource
637
+ # has been deleted and purged from the system, then a retry of the original creation request
638
+ # might be rejected.
639
+ #
640
+ # @option opts [String] :opc_request_id The client request ID for tracing.
641
+ # @return [Response] A Response object with data of type {OCI::AiAnomalyDetection::Models::Project Project}
642
+ # @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/aianomalydetection/create_project.rb.html) to see an example of how to use create_project API.
643
+ def create_project(create_project_details, opts = {})
644
+ logger.debug 'Calling operation AnomalyDetectionClient#create_project.' if logger
645
+
646
+ raise "Missing the required parameter 'create_project_details' when calling create_project." if create_project_details.nil?
647
+
648
+ path = '/projects'
649
+ operation_signing_strategy = :standard
650
+
651
+ # rubocop:disable Style/NegatedIf
652
+ # Query Params
653
+ query_params = {}
654
+
655
+ # Header Params
656
+ header_params = {}
657
+ header_params[:accept] = 'application/json'
658
+ header_params[:'content-type'] = 'application/json'
659
+ header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token]
660
+ header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
661
+ # rubocop:enable Style/NegatedIf
662
+ header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token
663
+
664
+ post_body = @api_client.object_to_http_body(create_project_details)
665
+
666
+ # rubocop:disable Metrics/BlockLength
667
+ OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'AnomalyDetectionClient#create_project') do
668
+ @api_client.call_api(
669
+ :POST,
670
+ path,
671
+ endpoint,
672
+ header_params: header_params,
673
+ query_params: query_params,
674
+ operation_signing_strategy: operation_signing_strategy,
675
+ body: post_body,
676
+ return_type: 'OCI::AiAnomalyDetection::Models::Project'
677
+ )
678
+ end
679
+ # rubocop:enable Metrics/BlockLength
680
+ end
681
+ # rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
682
+ # rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
683
+ # rubocop:enable Metrics/MethodLength, Layout/EmptyLines
684
+
685
+ # rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
686
+ # rubocop:disable Style/IfUnlessModifier, Metrics/ParameterLists
687
+ # rubocop:disable Metrics/MethodLength, Layout/EmptyLines
688
+
689
+
690
+ # Deletes a private reverse connection endpoint by identifier.
691
+ # @param [String] ai_private_endpoint_id Unique private reverse connection identifier.
692
+ # @param [Hash] opts the optional parameters
693
+ # @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
694
+ # retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
695
+ # @option opts [String] :if_match For optimistic concurrency control. In the PUT or DELETE call
696
+ # for a resource, set the `if-match` parameter to the value of the
697
+ # etag from a previous GET or POST response for that resource.
698
+ # The resource will be updated or deleted only if the etag you
699
+ # provide matches the resource's current etag value.
700
+ #
701
+ # @option opts [String] :opc_request_id The client request ID for tracing.
702
+ # @return [Response] A Response object with data of type nil
703
+ # @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/aianomalydetection/delete_ai_private_endpoint.rb.html) to see an example of how to use delete_ai_private_endpoint API.
704
+ def delete_ai_private_endpoint(ai_private_endpoint_id, opts = {})
705
+ logger.debug 'Calling operation AnomalyDetectionClient#delete_ai_private_endpoint.' if logger
706
+
707
+ raise "Missing the required parameter 'ai_private_endpoint_id' when calling delete_ai_private_endpoint." if ai_private_endpoint_id.nil?
708
+ raise "Parameter value for 'ai_private_endpoint_id' must not be blank" if OCI::Internal::Util.blank_string?(ai_private_endpoint_id)
709
+
710
+ path = '/aiPrivateEndpoints/{aiPrivateEndpointId}'.sub('{aiPrivateEndpointId}', ai_private_endpoint_id.to_s)
711
+ operation_signing_strategy = :standard
712
+
713
+ # rubocop:disable Style/NegatedIf
714
+ # Query Params
715
+ query_params = {}
716
+
717
+ # Header Params
718
+ header_params = {}
719
+ header_params[:accept] = 'application/json'
720
+ header_params[:'content-type'] = 'application/json'
721
+ header_params[:'if-match'] = opts[:if_match] if opts[:if_match]
722
+ header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
723
+ # rubocop:enable Style/NegatedIf
724
+
725
+ post_body = nil
726
+
727
+ # rubocop:disable Metrics/BlockLength
728
+ OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'AnomalyDetectionClient#delete_ai_private_endpoint') do
729
+ @api_client.call_api(
730
+ :DELETE,
731
+ path,
732
+ endpoint,
733
+ header_params: header_params,
734
+ query_params: query_params,
735
+ operation_signing_strategy: operation_signing_strategy,
736
+ body: post_body
737
+ )
738
+ end
739
+ # rubocop:enable Metrics/BlockLength
740
+ end
741
+ # rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
742
+ # rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
743
+ # rubocop:enable Metrics/MethodLength, Layout/EmptyLines
744
+
745
+ # rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
746
+ # rubocop:disable Style/IfUnlessModifier, Metrics/ParameterLists
747
+ # rubocop:disable Metrics/MethodLength, Layout/EmptyLines
748
+
749
+
750
+ # Deletes a DataAsset resource by identifier
751
+ # @param [String] data_asset_id The OCID of the Data Asset.
752
+ # @param [Hash] opts the optional parameters
753
+ # @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
754
+ # retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
755
+ # @option opts [String] :if_match For optimistic concurrency control. In the PUT or DELETE call
756
+ # for a resource, set the `if-match` parameter to the value of the
757
+ # etag from a previous GET or POST response for that resource.
758
+ # The resource will be updated or deleted only if the etag you
759
+ # provide matches the resource's current etag value.
760
+ #
761
+ # @option opts [String] :opc_request_id The client request ID for tracing.
762
+ # @return [Response] A Response object with data of type nil
763
+ # @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/aianomalydetection/delete_data_asset.rb.html) to see an example of how to use delete_data_asset API.
764
+ def delete_data_asset(data_asset_id, opts = {})
765
+ logger.debug 'Calling operation AnomalyDetectionClient#delete_data_asset.' if logger
766
+
767
+ raise "Missing the required parameter 'data_asset_id' when calling delete_data_asset." if data_asset_id.nil?
768
+ raise "Parameter value for 'data_asset_id' must not be blank" if OCI::Internal::Util.blank_string?(data_asset_id)
769
+
770
+ path = '/dataAssets/{dataAssetId}'.sub('{dataAssetId}', data_asset_id.to_s)
771
+ operation_signing_strategy = :standard
772
+
773
+ # rubocop:disable Style/NegatedIf
774
+ # Query Params
775
+ query_params = {}
776
+
777
+ # Header Params
778
+ header_params = {}
779
+ header_params[:accept] = 'application/json'
780
+ header_params[:'content-type'] = 'application/json'
781
+ header_params[:'if-match'] = opts[:if_match] if opts[:if_match]
782
+ header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
783
+ # rubocop:enable Style/NegatedIf
784
+
785
+ post_body = nil
786
+
787
+ # rubocop:disable Metrics/BlockLength
788
+ OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'AnomalyDetectionClient#delete_data_asset') do
789
+ @api_client.call_api(
790
+ :DELETE,
791
+ path,
792
+ endpoint,
793
+ header_params: header_params,
794
+ query_params: query_params,
795
+ operation_signing_strategy: operation_signing_strategy,
796
+ body: post_body
797
+ )
798
+ end
799
+ # rubocop:enable Metrics/BlockLength
800
+ end
801
+ # rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
802
+ # rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
803
+ # rubocop:enable Metrics/MethodLength, Layout/EmptyLines
804
+
805
+ # rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
806
+ # rubocop:disable Style/IfUnlessModifier, Metrics/ParameterLists
807
+ # rubocop:disable Metrics/MethodLength, Layout/EmptyLines
808
+
809
+
810
+ # Deletes an ai model resource by identifier. This operation fails with a 409 error unless all associated resources are in a DELETED state. You must delete all associated resources before deleting a project.
811
+ # @param [String] model_id The OCID of the Model.
812
+ # @param [Hash] opts the optional parameters
813
+ # @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
814
+ # retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
815
+ # @option opts [String] :if_match For optimistic concurrency control. In the PUT or DELETE call
816
+ # for a resource, set the `if-match` parameter to the value of the
817
+ # etag from a previous GET or POST response for that resource.
818
+ # The resource will be updated or deleted only if the etag you
819
+ # provide matches the resource's current etag value.
820
+ #
821
+ # @option opts [String] :opc_request_id The client request ID for tracing.
822
+ # @return [Response] A Response object with data of type nil
823
+ # @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/aianomalydetection/delete_model.rb.html) to see an example of how to use delete_model API.
824
+ def delete_model(model_id, opts = {})
825
+ logger.debug 'Calling operation AnomalyDetectionClient#delete_model.' if logger
826
+
827
+ raise "Missing the required parameter 'model_id' when calling delete_model." if model_id.nil?
828
+ raise "Parameter value for 'model_id' must not be blank" if OCI::Internal::Util.blank_string?(model_id)
829
+
830
+ path = '/models/{modelId}'.sub('{modelId}', model_id.to_s)
831
+ operation_signing_strategy = :standard
832
+
833
+ # rubocop:disable Style/NegatedIf
834
+ # Query Params
835
+ query_params = {}
836
+
837
+ # Header Params
838
+ header_params = {}
839
+ header_params[:accept] = 'application/json'
840
+ header_params[:'content-type'] = 'application/json'
841
+ header_params[:'if-match'] = opts[:if_match] if opts[:if_match]
842
+ header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
843
+ # rubocop:enable Style/NegatedIf
844
+
845
+ post_body = nil
846
+
847
+ # rubocop:disable Metrics/BlockLength
848
+ OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'AnomalyDetectionClient#delete_model') do
849
+ @api_client.call_api(
850
+ :DELETE,
851
+ path,
852
+ endpoint,
853
+ header_params: header_params,
854
+ query_params: query_params,
855
+ operation_signing_strategy: operation_signing_strategy,
856
+ body: post_body
857
+ )
858
+ end
859
+ # rubocop:enable Metrics/BlockLength
860
+ end
861
+ # rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
862
+ # rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
863
+ # rubocop:enable Metrics/MethodLength, Layout/EmptyLines
864
+
865
+ # rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
866
+ # rubocop:disable Style/IfUnlessModifier, Metrics/ParameterLists
867
+ # rubocop:disable Metrics/MethodLength, Layout/EmptyLines
868
+
869
+
870
+ # Deletes a Project resource by identifier. This operation fails with a 409 error unless all associated resources (models deployments or data assets) are in a DELETED state. You must delete all associated resources before deleting a project.
871
+ # @param [String] project_id The OCID of the Project.
872
+ # @param [Hash] opts the optional parameters
873
+ # @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
874
+ # retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
875
+ # @option opts [String] :if_match For optimistic concurrency control. In the PUT or DELETE call
876
+ # for a resource, set the `if-match` parameter to the value of the
877
+ # etag from a previous GET or POST response for that resource.
878
+ # The resource will be updated or deleted only if the etag you
879
+ # provide matches the resource's current etag value.
880
+ #
881
+ # @option opts [String] :opc_request_id The client request ID for tracing.
882
+ # @return [Response] A Response object with data of type nil
883
+ # @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/aianomalydetection/delete_project.rb.html) to see an example of how to use delete_project API.
884
+ def delete_project(project_id, opts = {})
885
+ logger.debug 'Calling operation AnomalyDetectionClient#delete_project.' if logger
886
+
887
+ raise "Missing the required parameter 'project_id' when calling delete_project." if project_id.nil?
888
+ raise "Parameter value for 'project_id' must not be blank" if OCI::Internal::Util.blank_string?(project_id)
889
+
890
+ path = '/projects/{projectId}'.sub('{projectId}', project_id.to_s)
891
+ operation_signing_strategy = :standard
892
+
893
+ # rubocop:disable Style/NegatedIf
894
+ # Query Params
895
+ query_params = {}
896
+
897
+ # Header Params
898
+ header_params = {}
899
+ header_params[:accept] = 'application/json'
900
+ header_params[:'content-type'] = 'application/json'
901
+ header_params[:'if-match'] = opts[:if_match] if opts[:if_match]
902
+ header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
903
+ # rubocop:enable Style/NegatedIf
904
+
905
+ post_body = nil
906
+
907
+ # rubocop:disable Metrics/BlockLength
908
+ OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'AnomalyDetectionClient#delete_project') do
909
+ @api_client.call_api(
910
+ :DELETE,
911
+ path,
912
+ endpoint,
913
+ header_params: header_params,
914
+ query_params: query_params,
915
+ operation_signing_strategy: operation_signing_strategy,
916
+ body: post_body
917
+ )
918
+ end
919
+ # rubocop:enable Metrics/BlockLength
920
+ end
921
+ # rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
922
+ # rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
923
+ # rubocop:enable Metrics/MethodLength, Layout/EmptyLines
924
+
925
+ # rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
926
+ # rubocop:disable Style/IfUnlessModifier, Metrics/ParameterLists
927
+ # rubocop:disable Metrics/MethodLength, Layout/EmptyLines
928
+
929
+
930
+ # Make a detect call with an anomaly model and detection data
931
+ # @param [OCI::AiAnomalyDetection::Models::DetectAnomaliesDetails] detect_anomalies_details The input is either:
932
+ # - JSON object in the request. This object is defined and SDK will generate the
933
+ # object for it
934
+ # - Data embedded as base64 string in format of either
935
+ # - CSV
936
+ # - JSON
937
+ # If this option is chosen then customer has to provide the content of specified
938
+ # CSV or JSON in base64 encoded string. The Embedded JSON will still has to be
939
+ # in same format as inline request JSON
940
+ #
941
+ # @param [Hash] opts the optional parameters
942
+ # @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
943
+ # retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
944
+ # @option opts [String] :opc_request_id The client request ID for tracing.
945
+ # @option opts [String] :if_match For optimistic concurrency control. In the PUT or DELETE call
946
+ # for a resource, set the `if-match` parameter to the value of the
947
+ # etag from a previous GET or POST response for that resource.
948
+ # The resource will be updated or deleted only if the etag you
949
+ # provide matches the resource's current etag value.
950
+ #
951
+ # @option opts [String] :opc_retry_token A token that uniquely identifies a request so it can be retried in case of a timeout or
952
+ # server error without risk of executing that same action again. Retry tokens expire after 24
953
+ # hours, but can be invalidated before then due to conflicting operations. For example, if a resource
954
+ # has been deleted and purged from the system, then a retry of the original creation request
955
+ # might be rejected.
956
+ #
957
+ # @return [Response] A Response object with data of type {OCI::AiAnomalyDetection::Models::AnomalyDetectResult AnomalyDetectResult}
958
+ # @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/aianomalydetection/detect_anomalies.rb.html) to see an example of how to use detect_anomalies API.
959
+ def detect_anomalies(detect_anomalies_details, opts = {})
960
+ logger.debug 'Calling operation AnomalyDetectionClient#detect_anomalies.' if logger
961
+
962
+ raise "Missing the required parameter 'detect_anomalies_details' when calling detect_anomalies." if detect_anomalies_details.nil?
963
+
964
+ path = '/actions/detectAnomalies'
965
+ operation_signing_strategy = :standard
966
+
967
+ # rubocop:disable Style/NegatedIf
968
+ # Query Params
969
+ query_params = {}
970
+
971
+ # Header Params
972
+ header_params = {}
973
+ header_params[:accept] = 'application/json'
974
+ header_params[:'content-type'] = 'application/json'
975
+ header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
976
+ header_params[:'if-match'] = opts[:if_match] if opts[:if_match]
977
+ header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token]
978
+ # rubocop:enable Style/NegatedIf
979
+ header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token
980
+
981
+ post_body = @api_client.object_to_http_body(detect_anomalies_details)
982
+
983
+ # rubocop:disable Metrics/BlockLength
984
+ OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'AnomalyDetectionClient#detect_anomalies') do
985
+ @api_client.call_api(
986
+ :POST,
987
+ path,
988
+ endpoint,
989
+ header_params: header_params,
990
+ query_params: query_params,
991
+ operation_signing_strategy: operation_signing_strategy,
992
+ body: post_body,
993
+ return_type: 'OCI::AiAnomalyDetection::Models::AnomalyDetectResult'
994
+ )
995
+ end
996
+ # rubocop:enable Metrics/BlockLength
997
+ end
998
+ # rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
999
+ # rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
1000
+ # rubocop:enable Metrics/MethodLength, Layout/EmptyLines
1001
+
1002
+ # rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
1003
+ # rubocop:disable Style/IfUnlessModifier, Metrics/ParameterLists
1004
+ # rubocop:disable Metrics/MethodLength, Layout/EmptyLines
1005
+
1006
+
1007
+ # Gets a specific private reverse connection by identifier.
1008
+ # @param [String] ai_private_endpoint_id Unique private reverse connection identifier.
1009
+ # @param [Hash] opts the optional parameters
1010
+ # @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
1011
+ # retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
1012
+ # @option opts [String] :opc_request_id The client request ID for tracing.
1013
+ # @return [Response] A Response object with data of type {OCI::AiAnomalyDetection::Models::AiPrivateEndpoint AiPrivateEndpoint}
1014
+ # @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/aianomalydetection/get_ai_private_endpoint.rb.html) to see an example of how to use get_ai_private_endpoint API.
1015
+ def get_ai_private_endpoint(ai_private_endpoint_id, opts = {})
1016
+ logger.debug 'Calling operation AnomalyDetectionClient#get_ai_private_endpoint.' if logger
1017
+
1018
+ raise "Missing the required parameter 'ai_private_endpoint_id' when calling get_ai_private_endpoint." if ai_private_endpoint_id.nil?
1019
+ raise "Parameter value for 'ai_private_endpoint_id' must not be blank" if OCI::Internal::Util.blank_string?(ai_private_endpoint_id)
1020
+
1021
+ path = '/aiPrivateEndpoints/{aiPrivateEndpointId}'.sub('{aiPrivateEndpointId}', ai_private_endpoint_id.to_s)
1022
+ operation_signing_strategy = :standard
1023
+
1024
+ # rubocop:disable Style/NegatedIf
1025
+ # Query Params
1026
+ query_params = {}
1027
+
1028
+ # Header Params
1029
+ header_params = {}
1030
+ header_params[:accept] = 'application/json'
1031
+ header_params[:'content-type'] = 'application/json'
1032
+ header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
1033
+ # rubocop:enable Style/NegatedIf
1034
+
1035
+ post_body = nil
1036
+
1037
+ # rubocop:disable Metrics/BlockLength
1038
+ OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'AnomalyDetectionClient#get_ai_private_endpoint') do
1039
+ @api_client.call_api(
1040
+ :GET,
1041
+ path,
1042
+ endpoint,
1043
+ header_params: header_params,
1044
+ query_params: query_params,
1045
+ operation_signing_strategy: operation_signing_strategy,
1046
+ body: post_body,
1047
+ return_type: 'OCI::AiAnomalyDetection::Models::AiPrivateEndpoint'
1048
+ )
1049
+ end
1050
+ # rubocop:enable Metrics/BlockLength
1051
+ end
1052
+ # rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
1053
+ # rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
1054
+ # rubocop:enable Metrics/MethodLength, Layout/EmptyLines
1055
+
1056
+ # rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
1057
+ # rubocop:disable Style/IfUnlessModifier, Metrics/ParameterLists
1058
+ # rubocop:disable Metrics/MethodLength, Layout/EmptyLines
1059
+
1060
+
1061
+ # Gets a DataAsset by identifier
1062
+ # @param [String] data_asset_id The OCID of the Data Asset.
1063
+ # @param [Hash] opts the optional parameters
1064
+ # @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
1065
+ # retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
1066
+ # @option opts [String] :opc_request_id The client request ID for tracing.
1067
+ # @return [Response] A Response object with data of type {OCI::AiAnomalyDetection::Models::DataAsset DataAsset}
1068
+ # @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/aianomalydetection/get_data_asset.rb.html) to see an example of how to use get_data_asset API.
1069
+ def get_data_asset(data_asset_id, opts = {})
1070
+ logger.debug 'Calling operation AnomalyDetectionClient#get_data_asset.' if logger
1071
+
1072
+ raise "Missing the required parameter 'data_asset_id' when calling get_data_asset." if data_asset_id.nil?
1073
+ raise "Parameter value for 'data_asset_id' must not be blank" if OCI::Internal::Util.blank_string?(data_asset_id)
1074
+
1075
+ path = '/dataAssets/{dataAssetId}'.sub('{dataAssetId}', data_asset_id.to_s)
1076
+ operation_signing_strategy = :standard
1077
+
1078
+ # rubocop:disable Style/NegatedIf
1079
+ # Query Params
1080
+ query_params = {}
1081
+
1082
+ # Header Params
1083
+ header_params = {}
1084
+ header_params[:accept] = 'application/json'
1085
+ header_params[:'content-type'] = 'application/json'
1086
+ header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
1087
+ # rubocop:enable Style/NegatedIf
1088
+
1089
+ post_body = nil
1090
+
1091
+ # rubocop:disable Metrics/BlockLength
1092
+ OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'AnomalyDetectionClient#get_data_asset') do
1093
+ @api_client.call_api(
1094
+ :GET,
1095
+ path,
1096
+ endpoint,
1097
+ header_params: header_params,
1098
+ query_params: query_params,
1099
+ operation_signing_strategy: operation_signing_strategy,
1100
+ body: post_body,
1101
+ return_type: 'OCI::AiAnomalyDetection::Models::DataAsset'
1102
+ )
1103
+ end
1104
+ # rubocop:enable Metrics/BlockLength
1105
+ end
1106
+ # rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
1107
+ # rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
1108
+ # rubocop:enable Metrics/MethodLength, Layout/EmptyLines
1109
+
1110
+ # rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
1111
+ # rubocop:disable Style/IfUnlessModifier, Metrics/ParameterLists
1112
+ # rubocop:disable Metrics/MethodLength, Layout/EmptyLines
1113
+
1114
+
1115
+ # Gets a Model by identifier
1116
+ # @param [String] model_id The OCID of the Model.
1117
+ # @param [Hash] opts the optional parameters
1118
+ # @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
1119
+ # retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
1120
+ # @option opts [String] :opc_request_id The client request ID for tracing.
1121
+ # @return [Response] A Response object with data of type {OCI::AiAnomalyDetection::Models::Model Model}
1122
+ # @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/aianomalydetection/get_model.rb.html) to see an example of how to use get_model API.
1123
+ def get_model(model_id, opts = {})
1124
+ logger.debug 'Calling operation AnomalyDetectionClient#get_model.' if logger
1125
+
1126
+ raise "Missing the required parameter 'model_id' when calling get_model." if model_id.nil?
1127
+ raise "Parameter value for 'model_id' must not be blank" if OCI::Internal::Util.blank_string?(model_id)
1128
+
1129
+ path = '/models/{modelId}'.sub('{modelId}', model_id.to_s)
1130
+ operation_signing_strategy = :standard
1131
+
1132
+ # rubocop:disable Style/NegatedIf
1133
+ # Query Params
1134
+ query_params = {}
1135
+
1136
+ # Header Params
1137
+ header_params = {}
1138
+ header_params[:accept] = 'application/json'
1139
+ header_params[:'content-type'] = 'application/json'
1140
+ header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
1141
+ # rubocop:enable Style/NegatedIf
1142
+
1143
+ post_body = nil
1144
+
1145
+ # rubocop:disable Metrics/BlockLength
1146
+ OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'AnomalyDetectionClient#get_model') do
1147
+ @api_client.call_api(
1148
+ :GET,
1149
+ path,
1150
+ endpoint,
1151
+ header_params: header_params,
1152
+ query_params: query_params,
1153
+ operation_signing_strategy: operation_signing_strategy,
1154
+ body: post_body,
1155
+ return_type: 'OCI::AiAnomalyDetection::Models::Model'
1156
+ )
1157
+ end
1158
+ # rubocop:enable Metrics/BlockLength
1159
+ end
1160
+ # rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
1161
+ # rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
1162
+ # rubocop:enable Metrics/MethodLength, Layout/EmptyLines
1163
+
1164
+ # rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
1165
+ # rubocop:disable Style/IfUnlessModifier, Metrics/ParameterLists
1166
+ # rubocop:disable Metrics/MethodLength, Layout/EmptyLines
1167
+
1168
+
1169
+ # Gets a Project by identifier
1170
+ # @param [String] project_id The OCID of the Project.
1171
+ # @param [Hash] opts the optional parameters
1172
+ # @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
1173
+ # retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
1174
+ # @option opts [String] :opc_request_id The client request ID for tracing.
1175
+ # @return [Response] A Response object with data of type {OCI::AiAnomalyDetection::Models::Project Project}
1176
+ # @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/aianomalydetection/get_project.rb.html) to see an example of how to use get_project API.
1177
+ def get_project(project_id, opts = {})
1178
+ logger.debug 'Calling operation AnomalyDetectionClient#get_project.' if logger
1179
+
1180
+ raise "Missing the required parameter 'project_id' when calling get_project." if project_id.nil?
1181
+ raise "Parameter value for 'project_id' must not be blank" if OCI::Internal::Util.blank_string?(project_id)
1182
+
1183
+ path = '/projects/{projectId}'.sub('{projectId}', project_id.to_s)
1184
+ operation_signing_strategy = :standard
1185
+
1186
+ # rubocop:disable Style/NegatedIf
1187
+ # Query Params
1188
+ query_params = {}
1189
+
1190
+ # Header Params
1191
+ header_params = {}
1192
+ header_params[:accept] = 'application/json'
1193
+ header_params[:'content-type'] = 'application/json'
1194
+ header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
1195
+ # rubocop:enable Style/NegatedIf
1196
+
1197
+ post_body = nil
1198
+
1199
+ # rubocop:disable Metrics/BlockLength
1200
+ OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'AnomalyDetectionClient#get_project') do
1201
+ @api_client.call_api(
1202
+ :GET,
1203
+ path,
1204
+ endpoint,
1205
+ header_params: header_params,
1206
+ query_params: query_params,
1207
+ operation_signing_strategy: operation_signing_strategy,
1208
+ body: post_body,
1209
+ return_type: 'OCI::AiAnomalyDetection::Models::Project'
1210
+ )
1211
+ end
1212
+ # rubocop:enable Metrics/BlockLength
1213
+ end
1214
+ # rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
1215
+ # rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
1216
+ # rubocop:enable Metrics/MethodLength, Layout/EmptyLines
1217
+
1218
+ # rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
1219
+ # rubocop:disable Style/IfUnlessModifier, Metrics/ParameterLists
1220
+ # rubocop:disable Metrics/MethodLength, Layout/EmptyLines
1221
+
1222
+
1223
+ # Gets the status of the work request with the given ID.
1224
+ # @param [String] work_request_id The ID of the asynchronous request.
1225
+ # @param [Hash] opts the optional parameters
1226
+ # @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
1227
+ # retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
1228
+ # @option opts [String] :opc_request_id The client request ID for tracing.
1229
+ # @return [Response] A Response object with data of type {OCI::AiAnomalyDetection::Models::WorkRequest WorkRequest}
1230
+ # @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/aianomalydetection/get_work_request.rb.html) to see an example of how to use get_work_request API.
1231
+ def get_work_request(work_request_id, opts = {})
1232
+ logger.debug 'Calling operation AnomalyDetectionClient#get_work_request.' if logger
1233
+
1234
+ raise "Missing the required parameter 'work_request_id' when calling get_work_request." if work_request_id.nil?
1235
+ raise "Parameter value for 'work_request_id' must not be blank" if OCI::Internal::Util.blank_string?(work_request_id)
1236
+
1237
+ path = '/workRequests/{workRequestId}'.sub('{workRequestId}', work_request_id.to_s)
1238
+ operation_signing_strategy = :standard
1239
+
1240
+ # rubocop:disable Style/NegatedIf
1241
+ # Query Params
1242
+ query_params = {}
1243
+
1244
+ # Header Params
1245
+ header_params = {}
1246
+ header_params[:accept] = 'application/json'
1247
+ header_params[:'content-type'] = 'application/json'
1248
+ header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
1249
+ # rubocop:enable Style/NegatedIf
1250
+
1251
+ post_body = nil
1252
+
1253
+ # rubocop:disable Metrics/BlockLength
1254
+ OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'AnomalyDetectionClient#get_work_request') do
1255
+ @api_client.call_api(
1256
+ :GET,
1257
+ path,
1258
+ endpoint,
1259
+ header_params: header_params,
1260
+ query_params: query_params,
1261
+ operation_signing_strategy: operation_signing_strategy,
1262
+ body: post_body,
1263
+ return_type: 'OCI::AiAnomalyDetection::Models::WorkRequest'
1264
+ )
1265
+ end
1266
+ # rubocop:enable Metrics/BlockLength
1267
+ end
1268
+ # rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
1269
+ # rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
1270
+ # rubocop:enable Metrics/MethodLength, Layout/EmptyLines
1271
+
1272
+ # rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
1273
+ # rubocop:disable Style/IfUnlessModifier, Metrics/ParameterLists
1274
+ # rubocop:disable Metrics/MethodLength, Layout/EmptyLines
1275
+
1276
+
1277
+ # Returns a list of all the AI private endpoints in the specified compartment.
1278
+ #
1279
+ # @param [String] compartment_id The ID of the compartment in which to list resources.
1280
+ # @param [Hash] opts the optional parameters
1281
+ # @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
1282
+ # retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
1283
+ # @option opts [String] :lifecycle_state <b>Filter</b> results by the specified lifecycle state. Must be a valid
1284
+ # state for the resource type.
1285
+ #
1286
+ # @option opts [String] :display_name A filter to return only resources that match the entire display name given.
1287
+ # @option opts [String] :id unique AiPrivateEndpoint identifier
1288
+ # @option opts [Integer] :limit The maximum number of items to return. (default to 10)
1289
+ # @option opts [String] :page The page token representing the page at which to start retrieving results. This is usually retrieved from a previous list call.
1290
+ # @option opts [String] :sort_order The sort order to use, either 'asc' or 'desc'. (default to ASC)
1291
+ # @option opts [String] :sort_by The field to sort by. Only one sort order may be provided. Default order for timeCreated is descending. Default order for displayName is ascending. If no value is specified timeCreated is default.
1292
+ # (default to timeCreated)
1293
+ # Allowed values are: timeCreated, displayName
1294
+ # @option opts [String] :opc_request_id The client request ID for tracing.
1295
+ # @return [Response] A Response object with data of type {OCI::AiAnomalyDetection::Models::AiPrivateEndpointCollection AiPrivateEndpointCollection}
1296
+ # @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/aianomalydetection/list_ai_private_endpoints.rb.html) to see an example of how to use list_ai_private_endpoints API.
1297
+ def list_ai_private_endpoints(compartment_id, opts = {})
1298
+ logger.debug 'Calling operation AnomalyDetectionClient#list_ai_private_endpoints.' if logger
1299
+
1300
+ raise "Missing the required parameter 'compartment_id' when calling list_ai_private_endpoints." if compartment_id.nil?
1301
+
1302
+ if opts[:lifecycle_state] && !OCI::AiAnomalyDetection::Models::AiPrivateEndpoint::LIFECYCLE_STATE_ENUM.include?(opts[:lifecycle_state])
1303
+ raise 'Invalid value for "lifecycle_state", must be one of the values in OCI::AiAnomalyDetection::Models::AiPrivateEndpoint::LIFECYCLE_STATE_ENUM.'
1304
+ end
1305
+
1306
+ if opts[:sort_order] && !OCI::AiAnomalyDetection::Models::SORT_ORDER_ENUM.include?(opts[:sort_order])
1307
+ raise 'Invalid value for "sort_order", must be one of the values in OCI::AiAnomalyDetection::Models::SORT_ORDER_ENUM.'
1308
+ end
1309
+
1310
+ if opts[:sort_by] && !%w[timeCreated displayName].include?(opts[:sort_by])
1311
+ raise 'Invalid value for "sort_by", must be one of timeCreated, displayName.'
1312
+ end
1313
+
1314
+ path = '/aiPrivateEndpoints'
1315
+ operation_signing_strategy = :standard
1316
+
1317
+ # rubocop:disable Style/NegatedIf
1318
+ # Query Params
1319
+ query_params = {}
1320
+ query_params[:compartmentId] = compartment_id
1321
+ query_params[:lifecycleState] = opts[:lifecycle_state] if opts[:lifecycle_state]
1322
+ query_params[:displayName] = opts[:display_name] if opts[:display_name]
1323
+ query_params[:id] = opts[:id] if opts[:id]
1324
+ query_params[:limit] = opts[:limit] if opts[:limit]
1325
+ query_params[:page] = opts[:page] if opts[:page]
1326
+ query_params[:sortOrder] = opts[:sort_order] if opts[:sort_order]
1327
+ query_params[:sortBy] = opts[:sort_by] if opts[:sort_by]
1328
+
1329
+ # Header Params
1330
+ header_params = {}
1331
+ header_params[:accept] = 'application/json'
1332
+ header_params[:'content-type'] = 'application/json'
1333
+ header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
1334
+ # rubocop:enable Style/NegatedIf
1335
+
1336
+ post_body = nil
1337
+
1338
+ # rubocop:disable Metrics/BlockLength
1339
+ OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'AnomalyDetectionClient#list_ai_private_endpoints') do
1340
+ @api_client.call_api(
1341
+ :GET,
1342
+ path,
1343
+ endpoint,
1344
+ header_params: header_params,
1345
+ query_params: query_params,
1346
+ operation_signing_strategy: operation_signing_strategy,
1347
+ body: post_body,
1348
+ return_type: 'OCI::AiAnomalyDetection::Models::AiPrivateEndpointCollection'
1349
+ )
1350
+ end
1351
+ # rubocop:enable Metrics/BlockLength
1352
+ end
1353
+ # rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
1354
+ # rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
1355
+ # rubocop:enable Metrics/MethodLength, Layout/EmptyLines
1356
+
1357
+ # rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
1358
+ # rubocop:disable Style/IfUnlessModifier, Metrics/ParameterLists
1359
+ # rubocop:disable Metrics/MethodLength, Layout/EmptyLines
1360
+
1361
+
1362
+ # Returns a list of DataAssets.
1363
+ #
1364
+ # @param [String] compartment_id The ID of the compartment in which to list resources.
1365
+ # @param [Hash] opts the optional parameters
1366
+ # @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
1367
+ # retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
1368
+ # @option opts [String] :project_id The ID of the project for which to list the objects.
1369
+ # @option opts [String] :display_name A filter to return only resources that match the entire display name given.
1370
+ # @option opts [Integer] :limit The maximum number of items to return. (default to 10)
1371
+ # @option opts [String] :page The page token representing the page at which to start retrieving results. This is usually retrieved from a previous list call.
1372
+ # @option opts [String] :lifecycle_state <b>Filter</b> results by the specified lifecycle state. Must be a valid
1373
+ # state for the resource type.
1374
+ #
1375
+ # @option opts [String] :sort_order The sort order to use, either 'asc' or 'desc'. (default to ASC)
1376
+ # @option opts [String] :sort_by The field to sort by. Only one sort order may be provided. Default order for timeCreated is descending. Default order for displayName is ascending. If no value is specified timeCreated is default.
1377
+ # (default to timeCreated)
1378
+ # Allowed values are: timeCreated, displayName
1379
+ # @option opts [String] :opc_request_id The client request ID for tracing.
1380
+ # @return [Response] A Response object with data of type {OCI::AiAnomalyDetection::Models::DataAssetCollection DataAssetCollection}
1381
+ # @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/aianomalydetection/list_data_assets.rb.html) to see an example of how to use list_data_assets API.
1382
+ def list_data_assets(compartment_id, opts = {})
1383
+ logger.debug 'Calling operation AnomalyDetectionClient#list_data_assets.' if logger
1384
+
1385
+ raise "Missing the required parameter 'compartment_id' when calling list_data_assets." if compartment_id.nil?
1386
+
1387
+ if opts[:lifecycle_state] && !OCI::AiAnomalyDetection::Models::DataAsset::LIFECYCLE_STATE_ENUM.include?(opts[:lifecycle_state])
1388
+ raise 'Invalid value for "lifecycle_state", must be one of the values in OCI::AiAnomalyDetection::Models::DataAsset::LIFECYCLE_STATE_ENUM.'
1389
+ end
1390
+
1391
+ if opts[:sort_order] && !OCI::AiAnomalyDetection::Models::SORT_ORDER_ENUM.include?(opts[:sort_order])
1392
+ raise 'Invalid value for "sort_order", must be one of the values in OCI::AiAnomalyDetection::Models::SORT_ORDER_ENUM.'
1393
+ end
1394
+
1395
+ if opts[:sort_by] && !%w[timeCreated displayName].include?(opts[:sort_by])
1396
+ raise 'Invalid value for "sort_by", must be one of timeCreated, displayName.'
1397
+ end
1398
+
1399
+ path = '/dataAssets'
1400
+ operation_signing_strategy = :standard
1401
+
1402
+ # rubocop:disable Style/NegatedIf
1403
+ # Query Params
1404
+ query_params = {}
1405
+ query_params[:compartmentId] = compartment_id
1406
+ query_params[:projectId] = opts[:project_id] if opts[:project_id]
1407
+ query_params[:displayName] = opts[:display_name] if opts[:display_name]
1408
+ query_params[:limit] = opts[:limit] if opts[:limit]
1409
+ query_params[:page] = opts[:page] if opts[:page]
1410
+ query_params[:lifecycleState] = opts[:lifecycle_state] if opts[:lifecycle_state]
1411
+ query_params[:sortOrder] = opts[:sort_order] if opts[:sort_order]
1412
+ query_params[:sortBy] = opts[:sort_by] if opts[:sort_by]
1413
+
1414
+ # Header Params
1415
+ header_params = {}
1416
+ header_params[:accept] = 'application/json'
1417
+ header_params[:'content-type'] = 'application/json'
1418
+ header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
1419
+ # rubocop:enable Style/NegatedIf
1420
+
1421
+ post_body = nil
1422
+
1423
+ # rubocop:disable Metrics/BlockLength
1424
+ OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'AnomalyDetectionClient#list_data_assets') do
1425
+ @api_client.call_api(
1426
+ :GET,
1427
+ path,
1428
+ endpoint,
1429
+ header_params: header_params,
1430
+ query_params: query_params,
1431
+ operation_signing_strategy: operation_signing_strategy,
1432
+ body: post_body,
1433
+ return_type: 'OCI::AiAnomalyDetection::Models::DataAssetCollection'
1434
+ )
1435
+ end
1436
+ # rubocop:enable Metrics/BlockLength
1437
+ end
1438
+ # rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
1439
+ # rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
1440
+ # rubocop:enable Metrics/MethodLength, Layout/EmptyLines
1441
+
1442
+ # rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
1443
+ # rubocop:disable Style/IfUnlessModifier, Metrics/ParameterLists
1444
+ # rubocop:disable Metrics/MethodLength, Layout/EmptyLines
1445
+
1446
+
1447
+ # Returns a list of Models.
1448
+ #
1449
+ # @param [String] compartment_id The ID of the compartment in which to list resources.
1450
+ # @param [Hash] opts the optional parameters
1451
+ # @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
1452
+ # retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
1453
+ # @option opts [String] :project_id The ID of the project for which to list the objects.
1454
+ # @option opts [String] :lifecycle_state <b>Filter</b> results by the specified lifecycle state. Must be a valid
1455
+ # state for the resource type.
1456
+ #
1457
+ # @option opts [String] :display_name A filter to return only resources that match the entire display name given.
1458
+ # @option opts [Integer] :limit The maximum number of items to return. (default to 10)
1459
+ # @option opts [String] :page The page token representing the page at which to start retrieving results. This is usually retrieved from a previous list call.
1460
+ # @option opts [String] :sort_order The sort order to use, either 'asc' or 'desc'. (default to ASC)
1461
+ # @option opts [String] :sort_by Specifies the field to sort by. Accepts only one field.
1462
+ # By default, when you sort by `timeCreated`, the results are shown
1463
+ # in descending order. When you sort by `displayName`, the results are
1464
+ # shown in ascending order. Sort order for the `displayName` field is case sensitive.
1465
+ #
1466
+ # Allowed values are: timeCreated, displayName
1467
+ # @option opts [String] :opc_request_id The client request ID for tracing.
1468
+ # @return [Response] A Response object with data of type {OCI::AiAnomalyDetection::Models::ModelCollection ModelCollection}
1469
+ # @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/aianomalydetection/list_models.rb.html) to see an example of how to use list_models API.
1470
+ def list_models(compartment_id, opts = {})
1471
+ logger.debug 'Calling operation AnomalyDetectionClient#list_models.' if logger
1472
+
1473
+ raise "Missing the required parameter 'compartment_id' when calling list_models." if compartment_id.nil?
1474
+
1475
+ if opts[:lifecycle_state] && !OCI::AiAnomalyDetection::Models::Model::LIFECYCLE_STATE_ENUM.include?(opts[:lifecycle_state])
1476
+ raise 'Invalid value for "lifecycle_state", must be one of the values in OCI::AiAnomalyDetection::Models::Model::LIFECYCLE_STATE_ENUM.'
1477
+ end
1478
+
1479
+ if opts[:sort_order] && !OCI::AiAnomalyDetection::Models::SORT_ORDER_ENUM.include?(opts[:sort_order])
1480
+ raise 'Invalid value for "sort_order", must be one of the values in OCI::AiAnomalyDetection::Models::SORT_ORDER_ENUM.'
1481
+ end
1482
+
1483
+ if opts[:sort_by] && !%w[timeCreated displayName].include?(opts[:sort_by])
1484
+ raise 'Invalid value for "sort_by", must be one of timeCreated, displayName.'
1485
+ end
1486
+
1487
+ path = '/models'
1488
+ operation_signing_strategy = :standard
1489
+
1490
+ # rubocop:disable Style/NegatedIf
1491
+ # Query Params
1492
+ query_params = {}
1493
+ query_params[:compartmentId] = compartment_id
1494
+ query_params[:projectId] = opts[:project_id] if opts[:project_id]
1495
+ query_params[:lifecycleState] = opts[:lifecycle_state] if opts[:lifecycle_state]
1496
+ query_params[:displayName] = opts[:display_name] if opts[:display_name]
1497
+ query_params[:limit] = opts[:limit] if opts[:limit]
1498
+ query_params[:page] = opts[:page] if opts[:page]
1499
+ query_params[:sortOrder] = opts[:sort_order] if opts[:sort_order]
1500
+ query_params[:sortBy] = opts[:sort_by] if opts[:sort_by]
1501
+
1502
+ # Header Params
1503
+ header_params = {}
1504
+ header_params[:accept] = 'application/json'
1505
+ header_params[:'content-type'] = 'application/json'
1506
+ header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
1507
+ # rubocop:enable Style/NegatedIf
1508
+
1509
+ post_body = nil
1510
+
1511
+ # rubocop:disable Metrics/BlockLength
1512
+ OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'AnomalyDetectionClient#list_models') do
1513
+ @api_client.call_api(
1514
+ :GET,
1515
+ path,
1516
+ endpoint,
1517
+ header_params: header_params,
1518
+ query_params: query_params,
1519
+ operation_signing_strategy: operation_signing_strategy,
1520
+ body: post_body,
1521
+ return_type: 'OCI::AiAnomalyDetection::Models::ModelCollection'
1522
+ )
1523
+ end
1524
+ # rubocop:enable Metrics/BlockLength
1525
+ end
1526
+ # rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
1527
+ # rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
1528
+ # rubocop:enable Metrics/MethodLength, Layout/EmptyLines
1529
+
1530
+ # rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
1531
+ # rubocop:disable Style/IfUnlessModifier, Metrics/ParameterLists
1532
+ # rubocop:disable Metrics/MethodLength, Layout/EmptyLines
1533
+
1534
+
1535
+ # Returns a list of Projects.
1536
+ #
1537
+ # @param [String] compartment_id The ID of the compartment in which to list resources.
1538
+ # @param [Hash] opts the optional parameters
1539
+ # @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
1540
+ # retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
1541
+ # @option opts [String] :lifecycle_state <b>Filter</b> results by the specified lifecycle state. Must be a valid
1542
+ # state for the resource type.
1543
+ #
1544
+ # @option opts [String] :display_name A filter to return only resources that match the entire display name given.
1545
+ # @option opts [Integer] :limit The maximum number of items to return. (default to 10)
1546
+ # @option opts [String] :page The page token representing the page at which to start retrieving results. This is usually retrieved from a previous list call.
1547
+ # @option opts [String] :sort_order The sort order to use, either 'asc' or 'desc'. (default to ASC)
1548
+ # @option opts [String] :sort_by Specifies the field to sort by. Accepts only one field.
1549
+ # By default, when you sort by `timeCreated`, the results are shown
1550
+ # in descending order. When you sort by `displayName`, the results are
1551
+ # shown in ascending order. Sort order for the `displayName` field is case sensitive.
1552
+ #
1553
+ # Allowed values are: timeCreated, displayName
1554
+ # @option opts [String] :opc_request_id The client request ID for tracing.
1555
+ # @return [Response] A Response object with data of type {OCI::AiAnomalyDetection::Models::ProjectCollection ProjectCollection}
1556
+ # @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/aianomalydetection/list_projects.rb.html) to see an example of how to use list_projects API.
1557
+ def list_projects(compartment_id, opts = {})
1558
+ logger.debug 'Calling operation AnomalyDetectionClient#list_projects.' if logger
1559
+
1560
+ raise "Missing the required parameter 'compartment_id' when calling list_projects." if compartment_id.nil?
1561
+
1562
+ if opts[:lifecycle_state] && !OCI::AiAnomalyDetection::Models::Project::LIFECYCLE_STATE_ENUM.include?(opts[:lifecycle_state])
1563
+ raise 'Invalid value for "lifecycle_state", must be one of the values in OCI::AiAnomalyDetection::Models::Project::LIFECYCLE_STATE_ENUM.'
1564
+ end
1565
+
1566
+ if opts[:sort_order] && !OCI::AiAnomalyDetection::Models::SORT_ORDER_ENUM.include?(opts[:sort_order])
1567
+ raise 'Invalid value for "sort_order", must be one of the values in OCI::AiAnomalyDetection::Models::SORT_ORDER_ENUM.'
1568
+ end
1569
+
1570
+ if opts[:sort_by] && !%w[timeCreated displayName].include?(opts[:sort_by])
1571
+ raise 'Invalid value for "sort_by", must be one of timeCreated, displayName.'
1572
+ end
1573
+
1574
+ path = '/projects'
1575
+ operation_signing_strategy = :standard
1576
+
1577
+ # rubocop:disable Style/NegatedIf
1578
+ # Query Params
1579
+ query_params = {}
1580
+ query_params[:compartmentId] = compartment_id
1581
+ query_params[:lifecycleState] = opts[:lifecycle_state] if opts[:lifecycle_state]
1582
+ query_params[:displayName] = opts[:display_name] if opts[:display_name]
1583
+ query_params[:limit] = opts[:limit] if opts[:limit]
1584
+ query_params[:page] = opts[:page] if opts[:page]
1585
+ query_params[:sortOrder] = opts[:sort_order] if opts[:sort_order]
1586
+ query_params[:sortBy] = opts[:sort_by] if opts[:sort_by]
1587
+
1588
+ # Header Params
1589
+ header_params = {}
1590
+ header_params[:accept] = 'application/json'
1591
+ header_params[:'content-type'] = 'application/json'
1592
+ header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
1593
+ # rubocop:enable Style/NegatedIf
1594
+
1595
+ post_body = nil
1596
+
1597
+ # rubocop:disable Metrics/BlockLength
1598
+ OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'AnomalyDetectionClient#list_projects') do
1599
+ @api_client.call_api(
1600
+ :GET,
1601
+ path,
1602
+ endpoint,
1603
+ header_params: header_params,
1604
+ query_params: query_params,
1605
+ operation_signing_strategy: operation_signing_strategy,
1606
+ body: post_body,
1607
+ return_type: 'OCI::AiAnomalyDetection::Models::ProjectCollection'
1608
+ )
1609
+ end
1610
+ # rubocop:enable Metrics/BlockLength
1611
+ end
1612
+ # rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
1613
+ # rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
1614
+ # rubocop:enable Metrics/MethodLength, Layout/EmptyLines
1615
+
1616
+ # rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
1617
+ # rubocop:disable Style/IfUnlessModifier, Metrics/ParameterLists
1618
+ # rubocop:disable Metrics/MethodLength, Layout/EmptyLines
1619
+
1620
+
1621
+ # Return a (paginated) list of errors for a given work request.
1622
+ #
1623
+ # @param [String] work_request_id The ID of the asynchronous request.
1624
+ # @param [Hash] opts the optional parameters
1625
+ # @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
1626
+ # retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
1627
+ # @option opts [String] :opc_request_id The client request ID for tracing.
1628
+ # @option opts [String] :page The page token representing the page at which to start retrieving results. This is usually retrieved from a previous list call.
1629
+ # @option opts [Integer] :limit The maximum number of items to return. (default to 10)
1630
+ # @return [Response] A Response object with data of type {OCI::AiAnomalyDetection::Models::WorkRequestErrorCollection WorkRequestErrorCollection}
1631
+ # @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/aianomalydetection/list_work_request_errors.rb.html) to see an example of how to use list_work_request_errors API.
1632
+ def list_work_request_errors(work_request_id, opts = {})
1633
+ logger.debug 'Calling operation AnomalyDetectionClient#list_work_request_errors.' if logger
1634
+
1635
+ raise "Missing the required parameter 'work_request_id' when calling list_work_request_errors." if work_request_id.nil?
1636
+ raise "Parameter value for 'work_request_id' must not be blank" if OCI::Internal::Util.blank_string?(work_request_id)
1637
+
1638
+ path = '/workRequests/{workRequestId}/errors'.sub('{workRequestId}', work_request_id.to_s)
1639
+ operation_signing_strategy = :standard
1640
+
1641
+ # rubocop:disable Style/NegatedIf
1642
+ # Query Params
1643
+ query_params = {}
1644
+ query_params[:page] = opts[:page] if opts[:page]
1645
+ query_params[:limit] = opts[:limit] if opts[:limit]
1646
+
1647
+ # Header Params
1648
+ header_params = {}
1649
+ header_params[:accept] = 'application/json'
1650
+ header_params[:'content-type'] = 'application/json'
1651
+ header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
1652
+ # rubocop:enable Style/NegatedIf
1653
+
1654
+ post_body = nil
1655
+
1656
+ # rubocop:disable Metrics/BlockLength
1657
+ OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'AnomalyDetectionClient#list_work_request_errors') do
1658
+ @api_client.call_api(
1659
+ :GET,
1660
+ path,
1661
+ endpoint,
1662
+ header_params: header_params,
1663
+ query_params: query_params,
1664
+ operation_signing_strategy: operation_signing_strategy,
1665
+ body: post_body,
1666
+ return_type: 'OCI::AiAnomalyDetection::Models::WorkRequestErrorCollection'
1667
+ )
1668
+ end
1669
+ # rubocop:enable Metrics/BlockLength
1670
+ end
1671
+ # rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
1672
+ # rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
1673
+ # rubocop:enable Metrics/MethodLength, Layout/EmptyLines
1674
+
1675
+ # rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
1676
+ # rubocop:disable Style/IfUnlessModifier, Metrics/ParameterLists
1677
+ # rubocop:disable Metrics/MethodLength, Layout/EmptyLines
1678
+
1679
+
1680
+ # Return a (paginated) list of logs for a given work request.
1681
+ #
1682
+ # @param [String] work_request_id The ID of the asynchronous request.
1683
+ # @param [Hash] opts the optional parameters
1684
+ # @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
1685
+ # retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
1686
+ # @option opts [String] :opc_request_id The client request ID for tracing.
1687
+ # @option opts [String] :page The page token representing the page at which to start retrieving results. This is usually retrieved from a previous list call.
1688
+ # @option opts [Integer] :limit The maximum number of items to return. (default to 10)
1689
+ # @return [Response] A Response object with data of type {OCI::AiAnomalyDetection::Models::WorkRequestLogEntryCollection WorkRequestLogEntryCollection}
1690
+ # @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/aianomalydetection/list_work_request_logs.rb.html) to see an example of how to use list_work_request_logs API.
1691
+ def list_work_request_logs(work_request_id, opts = {})
1692
+ logger.debug 'Calling operation AnomalyDetectionClient#list_work_request_logs.' if logger
1693
+
1694
+ raise "Missing the required parameter 'work_request_id' when calling list_work_request_logs." if work_request_id.nil?
1695
+ raise "Parameter value for 'work_request_id' must not be blank" if OCI::Internal::Util.blank_string?(work_request_id)
1696
+
1697
+ path = '/workRequests/{workRequestId}/logs'.sub('{workRequestId}', work_request_id.to_s)
1698
+ operation_signing_strategy = :standard
1699
+
1700
+ # rubocop:disable Style/NegatedIf
1701
+ # Query Params
1702
+ query_params = {}
1703
+ query_params[:page] = opts[:page] if opts[:page]
1704
+ query_params[:limit] = opts[:limit] if opts[:limit]
1705
+
1706
+ # Header Params
1707
+ header_params = {}
1708
+ header_params[:accept] = 'application/json'
1709
+ header_params[:'content-type'] = 'application/json'
1710
+ header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
1711
+ # rubocop:enable Style/NegatedIf
1712
+
1713
+ post_body = nil
1714
+
1715
+ # rubocop:disable Metrics/BlockLength
1716
+ OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'AnomalyDetectionClient#list_work_request_logs') do
1717
+ @api_client.call_api(
1718
+ :GET,
1719
+ path,
1720
+ endpoint,
1721
+ header_params: header_params,
1722
+ query_params: query_params,
1723
+ operation_signing_strategy: operation_signing_strategy,
1724
+ body: post_body,
1725
+ return_type: 'OCI::AiAnomalyDetection::Models::WorkRequestLogEntryCollection'
1726
+ )
1727
+ end
1728
+ # rubocop:enable Metrics/BlockLength
1729
+ end
1730
+ # rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
1731
+ # rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
1732
+ # rubocop:enable Metrics/MethodLength, Layout/EmptyLines
1733
+
1734
+ # rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
1735
+ # rubocop:disable Style/IfUnlessModifier, Metrics/ParameterLists
1736
+ # rubocop:disable Metrics/MethodLength, Layout/EmptyLines
1737
+
1738
+
1739
+ # Lists the work requests in a compartment.
1740
+ #
1741
+ # @param [String] compartment_id The ID of the compartment in which to list resources.
1742
+ # @param [Hash] opts the optional parameters
1743
+ # @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
1744
+ # retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
1745
+ # @option opts [String] :work_request_id The ID of the asynchronous work request.
1746
+ # @option opts [String] :opc_request_id The client request ID for tracing.
1747
+ # @option opts [String] :page The page token representing the page at which to start retrieving results. This is usually retrieved from a previous list call.
1748
+ # @option opts [Integer] :limit The maximum number of items to return. (default to 10)
1749
+ # @return [Response] A Response object with data of type {OCI::AiAnomalyDetection::Models::WorkRequestSummaryCollection WorkRequestSummaryCollection}
1750
+ # @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/aianomalydetection/list_work_requests.rb.html) to see an example of how to use list_work_requests API.
1751
+ def list_work_requests(compartment_id, opts = {})
1752
+ logger.debug 'Calling operation AnomalyDetectionClient#list_work_requests.' if logger
1753
+
1754
+ raise "Missing the required parameter 'compartment_id' when calling list_work_requests." if compartment_id.nil?
1755
+
1756
+ path = '/workRequests'
1757
+ operation_signing_strategy = :standard
1758
+
1759
+ # rubocop:disable Style/NegatedIf
1760
+ # Query Params
1761
+ query_params = {}
1762
+ query_params[:compartmentId] = compartment_id
1763
+ query_params[:workRequestId] = opts[:work_request_id] if opts[:work_request_id]
1764
+ query_params[:page] = opts[:page] if opts[:page]
1765
+ query_params[:limit] = opts[:limit] if opts[:limit]
1766
+
1767
+ # Header Params
1768
+ header_params = {}
1769
+ header_params[:accept] = 'application/json'
1770
+ header_params[:'content-type'] = 'application/json'
1771
+ header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
1772
+ # rubocop:enable Style/NegatedIf
1773
+
1774
+ post_body = nil
1775
+
1776
+ # rubocop:disable Metrics/BlockLength
1777
+ OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'AnomalyDetectionClient#list_work_requests') do
1778
+ @api_client.call_api(
1779
+ :GET,
1780
+ path,
1781
+ endpoint,
1782
+ header_params: header_params,
1783
+ query_params: query_params,
1784
+ operation_signing_strategy: operation_signing_strategy,
1785
+ body: post_body,
1786
+ return_type: 'OCI::AiAnomalyDetection::Models::WorkRequestSummaryCollection'
1787
+ )
1788
+ end
1789
+ # rubocop:enable Metrics/BlockLength
1790
+ end
1791
+ # rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
1792
+ # rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
1793
+ # rubocop:enable Metrics/MethodLength, Layout/EmptyLines
1794
+
1795
+ # rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
1796
+ # rubocop:disable Style/IfUnlessModifier, Metrics/ParameterLists
1797
+ # rubocop:disable Metrics/MethodLength, Layout/EmptyLines
1798
+
1799
+
1800
+ # Updates the private reverse connection endpoint.
1801
+ # @param [String] ai_private_endpoint_id Unique private reverse connection identifier.
1802
+ # @param [OCI::AiAnomalyDetection::Models::UpdateAiPrivateEndpointDetails] update_ai_private_endpoint_details The information to be updated in private reverse connection
1803
+ # @param [Hash] opts the optional parameters
1804
+ # @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
1805
+ # retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
1806
+ # @option opts [String] :if_match For optimistic concurrency control. In the PUT or DELETE call
1807
+ # for a resource, set the `if-match` parameter to the value of the
1808
+ # etag from a previous GET or POST response for that resource.
1809
+ # The resource will be updated or deleted only if the etag you
1810
+ # provide matches the resource's current etag value.
1811
+ #
1812
+ # @option opts [String] :opc_request_id The client request ID for tracing.
1813
+ # @return [Response] A Response object with data of type nil
1814
+ # @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/aianomalydetection/update_ai_private_endpoint.rb.html) to see an example of how to use update_ai_private_endpoint API.
1815
+ def update_ai_private_endpoint(ai_private_endpoint_id, update_ai_private_endpoint_details, opts = {})
1816
+ logger.debug 'Calling operation AnomalyDetectionClient#update_ai_private_endpoint.' if logger
1817
+
1818
+ raise "Missing the required parameter 'ai_private_endpoint_id' when calling update_ai_private_endpoint." if ai_private_endpoint_id.nil?
1819
+ raise "Missing the required parameter 'update_ai_private_endpoint_details' when calling update_ai_private_endpoint." if update_ai_private_endpoint_details.nil?
1820
+ raise "Parameter value for 'ai_private_endpoint_id' must not be blank" if OCI::Internal::Util.blank_string?(ai_private_endpoint_id)
1821
+
1822
+ path = '/aiPrivateEndpoints/{aiPrivateEndpointId}'.sub('{aiPrivateEndpointId}', ai_private_endpoint_id.to_s)
1823
+ operation_signing_strategy = :standard
1824
+
1825
+ # rubocop:disable Style/NegatedIf
1826
+ # Query Params
1827
+ query_params = {}
1828
+
1829
+ # Header Params
1830
+ header_params = {}
1831
+ header_params[:accept] = 'application/json'
1832
+ header_params[:'content-type'] = 'application/json'
1833
+ header_params[:'if-match'] = opts[:if_match] if opts[:if_match]
1834
+ header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
1835
+ # rubocop:enable Style/NegatedIf
1836
+
1837
+ post_body = @api_client.object_to_http_body(update_ai_private_endpoint_details)
1838
+
1839
+ # rubocop:disable Metrics/BlockLength
1840
+ OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'AnomalyDetectionClient#update_ai_private_endpoint') do
1841
+ @api_client.call_api(
1842
+ :PUT,
1843
+ path,
1844
+ endpoint,
1845
+ header_params: header_params,
1846
+ query_params: query_params,
1847
+ operation_signing_strategy: operation_signing_strategy,
1848
+ body: post_body
1849
+ )
1850
+ end
1851
+ # rubocop:enable Metrics/BlockLength
1852
+ end
1853
+ # rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
1854
+ # rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
1855
+ # rubocop:enable Metrics/MethodLength, Layout/EmptyLines
1856
+
1857
+ # rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
1858
+ # rubocop:disable Style/IfUnlessModifier, Metrics/ParameterLists
1859
+ # rubocop:disable Metrics/MethodLength, Layout/EmptyLines
1860
+
1861
+
1862
+ # Updates the DataAsset
1863
+ # @param [String] data_asset_id The OCID of the Data Asset.
1864
+ # @param [OCI::AiAnomalyDetection::Models::UpdateDataAssetDetails] update_data_asset_details The information to be updated.
1865
+ # @param [Hash] opts the optional parameters
1866
+ # @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
1867
+ # retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
1868
+ # @option opts [String] :if_match For optimistic concurrency control. In the PUT or DELETE call
1869
+ # for a resource, set the `if-match` parameter to the value of the
1870
+ # etag from a previous GET or POST response for that resource.
1871
+ # The resource will be updated or deleted only if the etag you
1872
+ # provide matches the resource's current etag value.
1873
+ #
1874
+ # @option opts [String] :opc_request_id The client request ID for tracing.
1875
+ # @return [Response] A Response object with data of type {OCI::AiAnomalyDetection::Models::DataAsset DataAsset}
1876
+ # @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/aianomalydetection/update_data_asset.rb.html) to see an example of how to use update_data_asset API.
1877
+ def update_data_asset(data_asset_id, update_data_asset_details, opts = {})
1878
+ logger.debug 'Calling operation AnomalyDetectionClient#update_data_asset.' if logger
1879
+
1880
+ raise "Missing the required parameter 'data_asset_id' when calling update_data_asset." if data_asset_id.nil?
1881
+ raise "Missing the required parameter 'update_data_asset_details' when calling update_data_asset." if update_data_asset_details.nil?
1882
+ raise "Parameter value for 'data_asset_id' must not be blank" if OCI::Internal::Util.blank_string?(data_asset_id)
1883
+
1884
+ path = '/dataAssets/{dataAssetId}'.sub('{dataAssetId}', data_asset_id.to_s)
1885
+ operation_signing_strategy = :standard
1886
+
1887
+ # rubocop:disable Style/NegatedIf
1888
+ # Query Params
1889
+ query_params = {}
1890
+
1891
+ # Header Params
1892
+ header_params = {}
1893
+ header_params[:accept] = 'application/json'
1894
+ header_params[:'content-type'] = 'application/json'
1895
+ header_params[:'if-match'] = opts[:if_match] if opts[:if_match]
1896
+ header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
1897
+ # rubocop:enable Style/NegatedIf
1898
+
1899
+ post_body = @api_client.object_to_http_body(update_data_asset_details)
1900
+
1901
+ # rubocop:disable Metrics/BlockLength
1902
+ OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'AnomalyDetectionClient#update_data_asset') do
1903
+ @api_client.call_api(
1904
+ :PUT,
1905
+ path,
1906
+ endpoint,
1907
+ header_params: header_params,
1908
+ query_params: query_params,
1909
+ operation_signing_strategy: operation_signing_strategy,
1910
+ body: post_body,
1911
+ return_type: 'OCI::AiAnomalyDetection::Models::DataAsset'
1912
+ )
1913
+ end
1914
+ # rubocop:enable Metrics/BlockLength
1915
+ end
1916
+ # rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
1917
+ # rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
1918
+ # rubocop:enable Metrics/MethodLength, Layout/EmptyLines
1919
+
1920
+ # rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
1921
+ # rubocop:disable Style/IfUnlessModifier, Metrics/ParameterLists
1922
+ # rubocop:disable Metrics/MethodLength, Layout/EmptyLines
1923
+
1924
+
1925
+ # Updates the Model
1926
+ # @param [String] model_id The OCID of the Model.
1927
+ # @param [OCI::AiAnomalyDetection::Models::UpdateModelDetails] update_model_details The information to be updated.
1928
+ # @param [Hash] opts the optional parameters
1929
+ # @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
1930
+ # retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
1931
+ # @option opts [String] :if_match For optimistic concurrency control. In the PUT or DELETE call
1932
+ # for a resource, set the `if-match` parameter to the value of the
1933
+ # etag from a previous GET or POST response for that resource.
1934
+ # The resource will be updated or deleted only if the etag you
1935
+ # provide matches the resource's current etag value.
1936
+ #
1937
+ # @option opts [String] :opc_request_id The client request ID for tracing.
1938
+ # @return [Response] A Response object with data of type nil
1939
+ # @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/aianomalydetection/update_model.rb.html) to see an example of how to use update_model API.
1940
+ def update_model(model_id, update_model_details, opts = {})
1941
+ logger.debug 'Calling operation AnomalyDetectionClient#update_model.' if logger
1942
+
1943
+ raise "Missing the required parameter 'model_id' when calling update_model." if model_id.nil?
1944
+ raise "Missing the required parameter 'update_model_details' when calling update_model." if update_model_details.nil?
1945
+ raise "Parameter value for 'model_id' must not be blank" if OCI::Internal::Util.blank_string?(model_id)
1946
+
1947
+ path = '/models/{modelId}'.sub('{modelId}', model_id.to_s)
1948
+ operation_signing_strategy = :standard
1949
+
1950
+ # rubocop:disable Style/NegatedIf
1951
+ # Query Params
1952
+ query_params = {}
1953
+
1954
+ # Header Params
1955
+ header_params = {}
1956
+ header_params[:accept] = 'application/json'
1957
+ header_params[:'content-type'] = 'application/json'
1958
+ header_params[:'if-match'] = opts[:if_match] if opts[:if_match]
1959
+ header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
1960
+ # rubocop:enable Style/NegatedIf
1961
+
1962
+ post_body = @api_client.object_to_http_body(update_model_details)
1963
+
1964
+ # rubocop:disable Metrics/BlockLength
1965
+ OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'AnomalyDetectionClient#update_model') do
1966
+ @api_client.call_api(
1967
+ :PUT,
1968
+ path,
1969
+ endpoint,
1970
+ header_params: header_params,
1971
+ query_params: query_params,
1972
+ operation_signing_strategy: operation_signing_strategy,
1973
+ body: post_body
1974
+ )
1975
+ end
1976
+ # rubocop:enable Metrics/BlockLength
1977
+ end
1978
+ # rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
1979
+ # rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
1980
+ # rubocop:enable Metrics/MethodLength, Layout/EmptyLines
1981
+
1982
+ # rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
1983
+ # rubocop:disable Style/IfUnlessModifier, Metrics/ParameterLists
1984
+ # rubocop:disable Metrics/MethodLength, Layout/EmptyLines
1985
+
1986
+
1987
+ # Updates the Project
1988
+ # @param [String] project_id The OCID of the Project.
1989
+ # @param [OCI::AiAnomalyDetection::Models::UpdateProjectDetails] update_project_details The information to be updated.
1990
+ # @param [Hash] opts the optional parameters
1991
+ # @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
1992
+ # retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
1993
+ # @option opts [String] :if_match For optimistic concurrency control. In the PUT or DELETE call
1994
+ # for a resource, set the `if-match` parameter to the value of the
1995
+ # etag from a previous GET or POST response for that resource.
1996
+ # The resource will be updated or deleted only if the etag you
1997
+ # provide matches the resource's current etag value.
1998
+ #
1999
+ # @option opts [String] :opc_request_id The client request ID for tracing.
2000
+ # @return [Response] A Response object with data of type {OCI::AiAnomalyDetection::Models::Project Project}
2001
+ # @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/aianomalydetection/update_project.rb.html) to see an example of how to use update_project API.
2002
+ def update_project(project_id, update_project_details, opts = {})
2003
+ logger.debug 'Calling operation AnomalyDetectionClient#update_project.' if logger
2004
+
2005
+ raise "Missing the required parameter 'project_id' when calling update_project." if project_id.nil?
2006
+ raise "Missing the required parameter 'update_project_details' when calling update_project." if update_project_details.nil?
2007
+ raise "Parameter value for 'project_id' must not be blank" if OCI::Internal::Util.blank_string?(project_id)
2008
+
2009
+ path = '/projects/{projectId}'.sub('{projectId}', project_id.to_s)
2010
+ operation_signing_strategy = :standard
2011
+
2012
+ # rubocop:disable Style/NegatedIf
2013
+ # Query Params
2014
+ query_params = {}
2015
+
2016
+ # Header Params
2017
+ header_params = {}
2018
+ header_params[:accept] = 'application/json'
2019
+ header_params[:'content-type'] = 'application/json'
2020
+ header_params[:'if-match'] = opts[:if_match] if opts[:if_match]
2021
+ header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
2022
+ # rubocop:enable Style/NegatedIf
2023
+
2024
+ post_body = @api_client.object_to_http_body(update_project_details)
2025
+
2026
+ # rubocop:disable Metrics/BlockLength
2027
+ OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'AnomalyDetectionClient#update_project') do
2028
+ @api_client.call_api(
2029
+ :PUT,
2030
+ path,
2031
+ endpoint,
2032
+ header_params: header_params,
2033
+ query_params: query_params,
2034
+ operation_signing_strategy: operation_signing_strategy,
2035
+ body: post_body,
2036
+ return_type: 'OCI::AiAnomalyDetection::Models::Project'
2037
+ )
2038
+ end
2039
+ # rubocop:enable Metrics/BlockLength
2040
+ end
2041
+ # rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
2042
+ # rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
2043
+ # rubocop:enable Metrics/MethodLength, Layout/EmptyLines
2044
+
2045
+ private
2046
+
2047
+ def applicable_retry_config(opts = {})
2048
+ return @retry_config unless opts.key?(:retry_config)
2049
+
2050
+ opts[:retry_config]
2051
+ end
2052
+ end
2053
+ end
2054
+ # rubocop:enable Lint/UnneededCopDisableDirective, Metrics/LineLength