oci 2.23.0 → 2.24.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (243) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +9 -1
  3. data/lib/oci/analytics/analytics.rb +5 -0
  4. data/lib/oci/analytics/analytics_client.rb +422 -52
  5. data/lib/oci/analytics/analytics_client_composite_operations.rb +188 -27
  6. data/lib/oci/analytics/models/analytics_instance.rb +32 -15
  7. data/lib/oci/analytics/models/analytics_instance_summary.rb +9 -8
  8. data/lib/oci/analytics/models/capacity.rb +2 -2
  9. data/lib/oci/analytics/models/change_analytics_instance_network_endpoint_details.rb +1 -1
  10. data/lib/oci/analytics/models/create_analytics_instance_details.rb +8 -6
  11. data/lib/oci/analytics/models/create_private_access_channel_details.rb +9 -9
  12. data/lib/oci/analytics/models/create_resource_group_details.rb +190 -0
  13. data/lib/oci/analytics/models/create_vanity_url_details.rb +5 -5
  14. data/lib/oci/analytics/models/feature_bundle.rb +1 -0
  15. data/lib/oci/analytics/models/instance_resource_group.rb +200 -0
  16. data/lib/oci/analytics/models/instance_resource_group_summary.rb +200 -0
  17. data/lib/oci/analytics/models/private_access_channel.rb +13 -13
  18. data/lib/oci/analytics/models/private_endpoint_details.rb +1 -1
  19. data/lib/oci/analytics/models/private_source_dns_zone.rb +3 -3
  20. data/lib/oci/analytics/models/private_source_scan_host.rb +4 -4
  21. data/lib/oci/analytics/models/public_endpoint_details.rb +1 -1
  22. data/lib/oci/analytics/models/resource_group_sort_by.rb +17 -0
  23. data/lib/oci/analytics/models/set_feature_bundle_details.rb +1 -0
  24. data/lib/oci/analytics/models/set_kms_key_details.rb +2 -2
  25. data/lib/oci/analytics/models/update_analytics_instance_details.rb +3 -3
  26. data/lib/oci/analytics/models/update_private_access_channel_details.rb +9 -9
  27. data/lib/oci/analytics/models/update_resource_group_details.rb +190 -0
  28. data/lib/oci/analytics/models/update_vanity_url_details.rb +4 -4
  29. data/lib/oci/analytics/models/vanity_url_details.rb +5 -5
  30. data/lib/oci/analytics/models/work_request.rb +4 -0
  31. data/lib/oci/analytics/models/work_request_action_result.rb +4 -1
  32. data/lib/oci/analytics/models/work_request_error.rb +2 -2
  33. data/lib/oci/analytics/models/work_request_log.rb +1 -1
  34. data/lib/oci/analytics/models/work_request_operation_type.rb +5 -1
  35. data/lib/oci/analytics/models/work_request_resource.rb +4 -1
  36. data/lib/oci/analytics/models/work_request_summary.rb +4 -0
  37. data/lib/oci/apiaccesscontrol/api_metadata_client.rb +8 -6
  38. data/lib/oci/apiaccesscontrol/apiaccesscontrol.rb +1 -0
  39. data/lib/oci/apiaccesscontrol/models/api_metadata.rb +12 -2
  40. data/lib/oci/apiaccesscontrol/models/api_metadata_by_entity_type_summary.rb +15 -1
  41. data/lib/oci/apiaccesscontrol/models/approver_detail.rb +15 -1
  42. data/lib/oci/apiaccesscontrol/models/approver_group_level.rb +169 -0
  43. data/lib/oci/apiaccesscontrol/models/create_privileged_api_control_details.rb +17 -3
  44. data/lib/oci/apiaccesscontrol/models/create_privileged_api_request_details.rb +1 -1
  45. data/lib/oci/apiaccesscontrol/models/privileged_api_control.rb +15 -2
  46. data/lib/oci/apiaccesscontrol/models/privileged_api_control_summary.rb +0 -1
  47. data/lib/oci/apiaccesscontrol/models/update_privileged_api_control_details.rb +16 -2
  48. data/lib/oci/apiaccesscontrol/privileged_api_control_client.rb +4 -3
  49. data/lib/oci/apiaccesscontrol/privileged_api_requests_client.rb +4 -3
  50. data/lib/oci/apiaccesscontrol/privileged_api_work_request_client.rb +4 -3
  51. data/lib/oci/core/core.rb +5 -0
  52. data/lib/oci/core/models/boot_volume_backup.rb +87 -4
  53. data/lib/oci/core/models/create_boot_volume_backup_details.rb +59 -4
  54. data/lib/oci/core/models/create_cross_connect_details.rb +50 -1
  55. data/lib/oci/core/models/create_cross_connect_group_details.rb +71 -4
  56. data/lib/oci/core/models/create_dedicated_vm_host_details.rb +21 -4
  57. data/lib/oci/core/models/create_virtual_circuit_details.rb +63 -4
  58. data/lib/oci/core/models/create_volume_backup_details.rb +59 -4
  59. data/lib/oci/core/models/create_volume_group_backup_details.rb +59 -4
  60. data/lib/oci/core/models/cross_connect.rb +43 -1
  61. data/lib/oci/core/models/cross_connect_group.rb +63 -4
  62. data/lib/oci/core/models/dedicated_vm_host.rb +18 -1
  63. data/lib/oci/core/models/dedicated_vm_host_instance_summary.rb +18 -1
  64. data/lib/oci/core/models/dedicated_vm_host_summary.rb +18 -1
  65. data/lib/oci/core/models/instances.rb +140 -0
  66. data/lib/oci/core/models/letter_of_authority.rb +31 -4
  67. data/lib/oci/core/models/loa_extension_data.rb +170 -0
  68. data/lib/oci/core/models/provider_remote_region_name.rb +174 -0
  69. data/lib/oci/core/models/retention_duration.rb +189 -0
  70. data/lib/oci/core/models/supported_capabilities.rb +21 -4
  71. data/lib/oci/core/models/update_boot_volume_backup_details.rb +59 -4
  72. data/lib/oci/core/models/update_cross_connect_details.rb +32 -4
  73. data/lib/oci/core/models/update_cross_connect_group_details.rb +49 -4
  74. data/lib/oci/core/models/update_cross_connect_letter_of_authority_details.rb +195 -0
  75. data/lib/oci/core/models/update_virtual_circuit_details.rb +30 -1
  76. data/lib/oci/core/models/update_volume_backup_details.rb +59 -4
  77. data/lib/oci/core/models/update_volume_group_backup_details.rb +59 -4
  78. data/lib/oci/core/models/virtual_circuit.rb +80 -1
  79. data/lib/oci/core/models/volume_backup.rb +87 -4
  80. data/lib/oci/core/models/volume_backup_schedule.rb +45 -4
  81. data/lib/oci/core/models/volume_group_backup.rb +73 -4
  82. data/lib/oci/core/virtual_network_client.rb +136 -2
  83. data/lib/oci/database/database.rb +13 -0
  84. data/lib/oci/database/database_client.rb +923 -111
  85. data/lib/oci/database/database_client_composite_operations.rb +283 -0
  86. data/lib/oci/database/models/basecc_vm_cluster.rb +713 -0
  87. data/lib/oci/database/models/basecc_vm_cluster_summary.rb +716 -0
  88. data/lib/oci/database/models/basecc_vm_cluster_update.rb +342 -0
  89. data/lib/oci/database/models/basecc_vm_cluster_update_details.rb +198 -0
  90. data/lib/oci/database/models/basecc_vm_cluster_update_history_entry.rb +318 -0
  91. data/lib/oci/database/models/basecc_vm_cluster_update_history_entry_summary.rb +321 -0
  92. data/lib/oci/database/models/basecc_vm_cluster_update_summary.rb +349 -0
  93. data/lib/oci/database/models/change_basecc_vm_cluster_compartment_details.rb +156 -0
  94. data/lib/oci/database/models/cloud_vm_cluster.rb +28 -1
  95. data/lib/oci/database/models/cloud_vm_cluster_summary.rb +28 -1
  96. data/lib/oci/database/models/create_basecc_vm_cluster_details.rb +506 -0
  97. data/lib/oci/database/models/create_database_software_image_details.rb +2 -1
  98. data/lib/oci/database/models/database_software_image.rb +1 -0
  99. data/lib/oci/database/models/database_software_image_summary.rb +1 -0
  100. data/lib/oci/database/models/exadata_live_image_version_details.rb +216 -0
  101. data/lib/oci/database/models/exadb_vm_cluster.rb +53 -4
  102. data/lib/oci/database/models/exadb_vm_cluster_summary.rb +53 -4
  103. data/lib/oci/database/models/register_exadb_vm_cluster_pkcs_details.rb +171 -0
  104. data/lib/oci/database/models/unregister_exadb_vm_cluster_pkcs_details.rb +171 -0
  105. data/lib/oci/database/models/update.rb +94 -1
  106. data/lib/oci/database/models/update_basecc_vm_cluster_details.rb +345 -0
  107. data/lib/oci/database/models/update_details.rb +33 -1
  108. data/lib/oci/database/models/update_history_entry.rb +39 -1
  109. data/lib/oci/database/models/update_history_entry_summary.rb +39 -1
  110. data/lib/oci/database/models/update_summary.rb +94 -1
  111. data/lib/oci/database/models/vm_cluster.rb +28 -1
  112. data/lib/oci/database/models/vm_cluster_summary.rb +28 -1
  113. data/lib/oci/database/models/vm_cluster_update.rb +94 -1
  114. data/lib/oci/database/models/vm_cluster_update_details.rb +33 -1
  115. data/lib/oci/database/models/vm_cluster_update_history_entry.rb +39 -1
  116. data/lib/oci/database/models/vm_cluster_update_history_entry_summary.rb +39 -1
  117. data/lib/oci/database/models/vm_cluster_update_summary.rb +94 -1
  118. data/lib/oci/file_storage/models/file_system.rb +37 -4
  119. data/lib/oci/file_storage/models/file_system_summary.rb +37 -4
  120. data/lib/oci/file_storage/models/snapshot.rb +19 -4
  121. data/lib/oci/file_storage/models/snapshot_summary.rb +19 -4
  122. data/lib/oci/generative_ai/models/create_dedicated_ai_cluster_details.rb +3 -0
  123. data/lib/oci/generative_ai/models/dedicated_ai_cluster.rb +2 -0
  124. data/lib/oci/golden_gate/golden_gate.rb +29 -0
  125. data/lib/oci/golden_gate/golden_gate_client.rb +185 -6
  126. data/lib/oci/golden_gate/models/ai_model_auth_details.rb +194 -0
  127. data/lib/oci/golden_gate/models/ai_model_auth_details_summary.rb +194 -0
  128. data/lib/oci/golden_gate/models/ai_model_auth_type.rb +13 -0
  129. data/lib/oci/golden_gate/models/ai_model_collection.rb +153 -0
  130. data/lib/oci/golden_gate/models/ai_model_connection.rb +350 -0
  131. data/lib/oci/golden_gate/models/ai_model_connection_summary.rb +333 -0
  132. data/lib/oci/golden_gate/models/ai_model_summary.rb +216 -0
  133. data/lib/oci/golden_gate/models/ai_provider_collection.rb +153 -0
  134. data/lib/oci/golden_gate/models/ai_provider_summary.rb +249 -0
  135. data/lib/oci/golden_gate/models/amazon_kinesis_connection.rb +1 -0
  136. data/lib/oci/golden_gate/models/amazon_kinesis_connection_summary.rb +1 -0
  137. data/lib/oci/golden_gate/models/amazon_s3_connection.rb +1 -1
  138. data/lib/oci/golden_gate/models/amazon_s3_connection_summary.rb +1 -1
  139. data/lib/oci/golden_gate/models/amazon_s3_iceberg_storage.rb +1 -0
  140. data/lib/oci/golden_gate/models/amazon_s3_iceberg_storage_summary.rb +1 -0
  141. data/lib/oci/golden_gate/models/api_key_ai_model_auth_details.rb +199 -0
  142. data/lib/oci/golden_gate/models/api_key_ai_model_auth_details_summary.rb +181 -0
  143. data/lib/oci/golden_gate/models/connection.rb +43 -6
  144. data/lib/oci/golden_gate/models/connection_assignment.rb +63 -1
  145. data/lib/oci/golden_gate/models/connection_assignment_summary.rb +64 -1
  146. data/lib/oci/golden_gate/models/connection_summary.rb +42 -6
  147. data/lib/oci/golden_gate/models/connection_type.rb +2 -1
  148. data/lib/oci/golden_gate/models/create_ai_model_auth_details.rb +187 -0
  149. data/lib/oci/golden_gate/models/create_ai_model_connection_details.rb +298 -0
  150. data/lib/oci/golden_gate/models/create_amazon_kinesis_connection_details.rb +4 -1
  151. data/lib/oci/golden_gate/models/create_amazon_redshift_connection_details.rb +3 -1
  152. data/lib/oci/golden_gate/models/create_amazon_s3_connection_details.rb +5 -3
  153. data/lib/oci/golden_gate/models/create_amazon_s3_iceberg_storage_details.rb +5 -2
  154. data/lib/oci/golden_gate/models/create_api_key_ai_model_auth_details.rb +199 -0
  155. data/lib/oci/golden_gate/models/create_azure_data_lake_storage_connection_details.rb +9 -3
  156. data/lib/oci/golden_gate/models/create_azure_data_lake_storage_iceberg_storage_details.rb +3 -1
  157. data/lib/oci/golden_gate/models/create_azure_synapse_connection_details.rb +3 -1
  158. data/lib/oci/golden_gate/models/create_connection_details.rb +43 -7
  159. data/lib/oci/golden_gate/models/create_database_registration_details.rb +6 -2
  160. data/lib/oci/golden_gate/models/create_databricks_connection_details.rb +6 -2
  161. data/lib/oci/golden_gate/models/create_db2_connection_details.rb +9 -3
  162. data/lib/oci/golden_gate/models/create_elasticsearch_connection_details.rb +3 -1
  163. data/lib/oci/golden_gate/models/create_golden_gate_connection_details.rb +3 -1
  164. data/lib/oci/golden_gate/models/create_google_big_query_connection_details.rb +3 -1
  165. data/lib/oci/golden_gate/models/create_google_cloud_storage_connection_details.rb +3 -1
  166. data/lib/oci/golden_gate/models/create_google_cloud_storage_iceberg_storage_details.rb +3 -1
  167. data/lib/oci/golden_gate/models/create_google_pub_sub_connection_details.rb +3 -1
  168. data/lib/oci/golden_gate/models/create_iceberg_connection_details.rb +1 -0
  169. data/lib/oci/golden_gate/models/create_iceberg_storage_details.rb +5 -1
  170. data/lib/oci/golden_gate/models/create_java_message_service_connection_details.rb +21 -7
  171. data/lib/oci/golden_gate/models/create_kafka_connection_details.rb +18 -6
  172. data/lib/oci/golden_gate/models/create_kafka_schema_registry_connection_details.rb +18 -6
  173. data/lib/oci/golden_gate/models/create_microsoft_fabric_connection_details.rb +3 -1
  174. data/lib/oci/golden_gate/models/create_microsoft_sqlserver_connection_details.rb +3 -1
  175. data/lib/oci/golden_gate/models/create_mongo_db_connection_details.rb +9 -3
  176. data/lib/oci/golden_gate/models/create_mysql_connection_details.rb +6 -2
  177. data/lib/oci/golden_gate/models/create_no_iceberg_storage_details.rb +148 -0
  178. data/lib/oci/golden_gate/models/create_oci_gen_ai_model_auth_details.rb +242 -0
  179. data/lib/oci/golden_gate/models/create_oci_object_storage_connection_details.rb +6 -2
  180. data/lib/oci/golden_gate/models/create_oci_object_storage_s3_api_iceberg_storage_details.rb +228 -0
  181. data/lib/oci/golden_gate/models/create_oracle_ai_data_platform_connection_details.rb +6 -2
  182. data/lib/oci/golden_gate/models/create_oracle_connection_details.rb +7 -3
  183. data/lib/oci/golden_gate/models/create_oracle_nosql_connection_details.rb +6 -2
  184. data/lib/oci/golden_gate/models/create_postgresql_connection_details.rb +6 -2
  185. data/lib/oci/golden_gate/models/create_redis_connection_details.rb +15 -5
  186. data/lib/oci/golden_gate/models/create_snowflake_connection_details.rb +9 -3
  187. data/lib/oci/golden_gate/models/deployment_type_summary.rb +1 -0
  188. data/lib/oci/golden_gate/models/iceberg_connection.rb +1 -0
  189. data/lib/oci/golden_gate/models/iceberg_connection_summary.rb +1 -0
  190. data/lib/oci/golden_gate/models/iceberg_storage.rb +4 -0
  191. data/lib/oci/golden_gate/models/iceberg_storage_summary.rb +4 -0
  192. data/lib/oci/golden_gate/models/iceberg_storage_type.rb +3 -1
  193. data/lib/oci/golden_gate/models/kafka_connection.rb +1 -0
  194. data/lib/oci/golden_gate/models/no_iceberg_storage.rb +148 -0
  195. data/lib/oci/golden_gate/models/no_iceberg_storage_summary.rb +148 -0
  196. data/lib/oci/golden_gate/models/oci_gen_ai_model_auth_details.rb +242 -0
  197. data/lib/oci/golden_gate/models/oci_gen_ai_model_auth_details_summary.rb +224 -0
  198. data/lib/oci/golden_gate/models/oci_object_storage_s3_api_iceberg_storage.rb +209 -0
  199. data/lib/oci/golden_gate/models/oci_object_storage_s3_api_iceberg_storage_summary.rb +209 -0
  200. data/lib/oci/golden_gate/models/oracle_connection.rb +4 -1
  201. data/lib/oci/golden_gate/models/oracle_connection_summary.rb +1 -1
  202. data/lib/oci/golden_gate/models/technology_type.rb +6 -1
  203. data/lib/oci/golden_gate/models/update_ai_model_auth_details.rb +187 -0
  204. data/lib/oci/golden_gate/models/update_ai_model_connection_details.rb +237 -0
  205. data/lib/oci/golden_gate/models/update_amazon_kinesis_connection_details.rb +4 -1
  206. data/lib/oci/golden_gate/models/update_amazon_redshift_connection_details.rb +3 -1
  207. data/lib/oci/golden_gate/models/update_amazon_s3_connection_details.rb +5 -3
  208. data/lib/oci/golden_gate/models/update_amazon_s3_iceberg_storage_details.rb +5 -2
  209. data/lib/oci/golden_gate/models/update_api_key_ai_model_auth_details.rb +199 -0
  210. data/lib/oci/golden_gate/models/update_azure_data_lake_storage_connection_details.rb +9 -3
  211. data/lib/oci/golden_gate/models/update_azure_data_lake_storage_iceberg_storage_details.rb +3 -1
  212. data/lib/oci/golden_gate/models/update_azure_synapse_connection_details.rb +3 -1
  213. data/lib/oci/golden_gate/models/update_connection_details.rb +43 -7
  214. data/lib/oci/golden_gate/models/update_database_registration_details.rb +6 -2
  215. data/lib/oci/golden_gate/models/update_databricks_connection_details.rb +6 -2
  216. data/lib/oci/golden_gate/models/update_db2_connection_details.rb +9 -3
  217. data/lib/oci/golden_gate/models/update_elasticsearch_connection_details.rb +3 -1
  218. data/lib/oci/golden_gate/models/update_golden_gate_connection_details.rb +3 -1
  219. data/lib/oci/golden_gate/models/update_google_big_query_connection_details.rb +3 -1
  220. data/lib/oci/golden_gate/models/update_google_cloud_storage_connection_details.rb +3 -1
  221. data/lib/oci/golden_gate/models/update_google_cloud_storage_iceberg_storage_details.rb +3 -1
  222. data/lib/oci/golden_gate/models/update_google_pub_sub_connection_details.rb +3 -1
  223. data/lib/oci/golden_gate/models/update_iceberg_storage_details.rb +5 -1
  224. data/lib/oci/golden_gate/models/update_java_message_service_connection_details.rb +21 -7
  225. data/lib/oci/golden_gate/models/update_kafka_connection_details.rb +18 -6
  226. data/lib/oci/golden_gate/models/update_kafka_schema_registry_connection_details.rb +18 -6
  227. data/lib/oci/golden_gate/models/update_microsoft_fabric_connection_details.rb +3 -1
  228. data/lib/oci/golden_gate/models/update_microsoft_sqlserver_connection_details.rb +3 -1
  229. data/lib/oci/golden_gate/models/update_mongo_db_connection_details.rb +9 -3
  230. data/lib/oci/golden_gate/models/update_mysql_connection_details.rb +6 -2
  231. data/lib/oci/golden_gate/models/update_no_iceberg_storage_details.rb +148 -0
  232. data/lib/oci/golden_gate/models/update_oci_gen_ai_model_auth_details.rb +242 -0
  233. data/lib/oci/golden_gate/models/update_oci_object_storage_connection_details.rb +6 -2
  234. data/lib/oci/golden_gate/models/update_oci_object_storage_s3_api_iceberg_storage_details.rb +228 -0
  235. data/lib/oci/golden_gate/models/update_oracle_ai_data_platform_connection_details.rb +6 -2
  236. data/lib/oci/golden_gate/models/update_oracle_connection_details.rb +7 -3
  237. data/lib/oci/golden_gate/models/update_oracle_nosql_connection_details.rb +6 -2
  238. data/lib/oci/golden_gate/models/update_postgresql_connection_details.rb +6 -2
  239. data/lib/oci/golden_gate/models/update_redis_connection_details.rb +15 -5
  240. data/lib/oci/golden_gate/models/update_snowflake_connection_details.rb +9 -3
  241. data/lib/oci/regions.rb +8 -1
  242. data/lib/oci/version.rb +1 -1
  243. metadata +55 -2
@@ -0,0 +1,349 @@
1
+ # Copyright (c) 2016, 2026, 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
+ # NOTE: This class is auto generated by OracleSDKGenerator. DO NOT EDIT. API Version: 20160918
5
+ require 'date'
6
+ require 'logger'
7
+
8
+ # rubocop:disable Lint/UnneededCopDisableDirective, Metrics/LineLength
9
+ module OCI
10
+ # Maintenance update details for a BaseDB-C@C VM cluster.
11
+ #
12
+ # To use any of the API operations, you must be authorized in an IAM policy. If you're not authorized,
13
+ # talk to an administrator. If you're an administrator who needs to write policies to give users access,
14
+ # see [Getting Started with Policies](https://docs.cloud.oracle.com/Content/Identity/Concepts/policygetstarted.htm).
15
+ #
16
+ class Database::Models::BaseccVmClusterUpdateSummary
17
+ LAST_ACTION_ENUM = [
18
+ LAST_ACTION_ROLLING_APPLY = 'ROLLING_APPLY'.freeze,
19
+ LAST_ACTION_PRECHECK = 'PRECHECK'.freeze,
20
+ LAST_ACTION_ROLLBACK = 'ROLLBACK'.freeze,
21
+ LAST_ACTION_UNKNOWN_ENUM_VALUE = 'UNKNOWN_ENUM_VALUE'.freeze
22
+ ].freeze
23
+
24
+ AVAILABLE_ACTIONS_ENUM = [
25
+ AVAILABLE_ACTIONS_ROLLING_APPLY = 'ROLLING_APPLY'.freeze,
26
+ AVAILABLE_ACTIONS_PRECHECK = 'PRECHECK'.freeze,
27
+ AVAILABLE_ACTIONS_ROLLBACK = 'ROLLBACK'.freeze,
28
+ AVAILABLE_ACTIONS_UNKNOWN_ENUM_VALUE = 'UNKNOWN_ENUM_VALUE'.freeze
29
+ ].freeze
30
+
31
+ UPDATE_TYPE_ENUM = [
32
+ UPDATE_TYPE_GI_UPGRADE = 'GI_UPGRADE'.freeze,
33
+ UPDATE_TYPE_GI_PATCH = 'GI_PATCH'.freeze,
34
+ UPDATE_TYPE_UNKNOWN_ENUM_VALUE = 'UNKNOWN_ENUM_VALUE'.freeze
35
+ ].freeze
36
+
37
+ LIFECYCLE_STATE_ENUM = [
38
+ LIFECYCLE_STATE_AVAILABLE = 'AVAILABLE'.freeze,
39
+ LIFECYCLE_STATE_SUCCESS = 'SUCCESS'.freeze,
40
+ LIFECYCLE_STATE_IN_PROGRESS = 'IN_PROGRESS'.freeze,
41
+ LIFECYCLE_STATE_FAILED = 'FAILED'.freeze,
42
+ LIFECYCLE_STATE_UNKNOWN_ENUM_VALUE = 'UNKNOWN_ENUM_VALUE'.freeze
43
+ ].freeze
44
+
45
+ # **[Required]** The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the maintenance update.
46
+ # @return [String]
47
+ attr_accessor :id
48
+
49
+ # **[Required]** Details of the maintenance update package.
50
+ # @return [String]
51
+ attr_accessor :description
52
+
53
+ # The previous update action performed.
54
+ # @return [String]
55
+ attr_reader :last_action
56
+
57
+ # The possible actions performed by the update operation on the infrastructure components.
58
+ # @return [Array<String>]
59
+ attr_reader :available_actions
60
+
61
+ # **[Required]** The type of Base Database Service on Cloud@Customer (BaseDB-C@C) VM cluster maintenance update.
62
+ # @return [String]
63
+ attr_reader :update_type
64
+
65
+ # Descriptive text providing additional details about the lifecycle state.
66
+ #
67
+ # @return [String]
68
+ attr_accessor :lifecycle_details
69
+
70
+ # The current state of the maintenance update. Dependent on value of `lastAction`.
71
+ # @return [String]
72
+ attr_reader :lifecycle_state
73
+
74
+ # **[Required]** The date and time the maintenance update was released.
75
+ # @return [DateTime]
76
+ attr_accessor :time_released
77
+
78
+ # **[Required]** The version of the maintenance update package.
79
+ # @return [String]
80
+ attr_accessor :version
81
+
82
+ # Attribute mapping from ruby-style variable name to JSON key.
83
+ def self.attribute_map
84
+ {
85
+ # rubocop:disable Style/SymbolLiteral
86
+ 'id': :'id',
87
+ 'description': :'description',
88
+ 'last_action': :'lastAction',
89
+ 'available_actions': :'availableActions',
90
+ 'update_type': :'updateType',
91
+ 'lifecycle_details': :'lifecycleDetails',
92
+ 'lifecycle_state': :'lifecycleState',
93
+ 'time_released': :'timeReleased',
94
+ 'version': :'version'
95
+ # rubocop:enable Style/SymbolLiteral
96
+ }
97
+ end
98
+
99
+ # Attribute type mapping.
100
+ def self.swagger_types
101
+ {
102
+ # rubocop:disable Style/SymbolLiteral
103
+ 'id': :'String',
104
+ 'description': :'String',
105
+ 'last_action': :'String',
106
+ 'available_actions': :'Array<String>',
107
+ 'update_type': :'String',
108
+ 'lifecycle_details': :'String',
109
+ 'lifecycle_state': :'String',
110
+ 'time_released': :'DateTime',
111
+ 'version': :'String'
112
+ # rubocop:enable Style/SymbolLiteral
113
+ }
114
+ end
115
+
116
+ # rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
117
+ # rubocop:disable Metrics/MethodLength, Layout/EmptyLines, Style/SymbolLiteral
118
+
119
+
120
+ # Initializes the object
121
+ # @param [Hash] attributes Model attributes in the form of hash
122
+ # @option attributes [String] :id The value to assign to the {#id} property
123
+ # @option attributes [String] :description The value to assign to the {#description} property
124
+ # @option attributes [String] :last_action The value to assign to the {#last_action} property
125
+ # @option attributes [Array<String>] :available_actions The value to assign to the {#available_actions} property
126
+ # @option attributes [String] :update_type The value to assign to the {#update_type} property
127
+ # @option attributes [String] :lifecycle_details The value to assign to the {#lifecycle_details} property
128
+ # @option attributes [String] :lifecycle_state The value to assign to the {#lifecycle_state} property
129
+ # @option attributes [DateTime] :time_released The value to assign to the {#time_released} property
130
+ # @option attributes [String] :version The value to assign to the {#version} property
131
+ def initialize(attributes = {})
132
+ return unless attributes.is_a?(Hash)
133
+
134
+ # convert string to symbol for hash key
135
+ attributes = attributes.each_with_object({}) { |(k, v), h| h[k.to_sym] = v }
136
+
137
+ self.id = attributes[:'id'] if attributes[:'id']
138
+
139
+ self.description = attributes[:'description'] if attributes[:'description']
140
+
141
+ self.last_action = attributes[:'lastAction'] if attributes[:'lastAction']
142
+
143
+ raise 'You cannot provide both :lastAction and :last_action' if attributes.key?(:'lastAction') && attributes.key?(:'last_action')
144
+
145
+ self.last_action = attributes[:'last_action'] if attributes[:'last_action']
146
+
147
+ self.available_actions = attributes[:'availableActions'] if attributes[:'availableActions']
148
+
149
+ raise 'You cannot provide both :availableActions and :available_actions' if attributes.key?(:'availableActions') && attributes.key?(:'available_actions')
150
+
151
+ self.available_actions = attributes[:'available_actions'] if attributes[:'available_actions']
152
+
153
+ self.update_type = attributes[:'updateType'] if attributes[:'updateType']
154
+
155
+ raise 'You cannot provide both :updateType and :update_type' if attributes.key?(:'updateType') && attributes.key?(:'update_type')
156
+
157
+ self.update_type = attributes[:'update_type'] if attributes[:'update_type']
158
+
159
+ self.lifecycle_details = attributes[:'lifecycleDetails'] if attributes[:'lifecycleDetails']
160
+
161
+ raise 'You cannot provide both :lifecycleDetails and :lifecycle_details' if attributes.key?(:'lifecycleDetails') && attributes.key?(:'lifecycle_details')
162
+
163
+ self.lifecycle_details = attributes[:'lifecycle_details'] if attributes[:'lifecycle_details']
164
+
165
+ self.lifecycle_state = attributes[:'lifecycleState'] if attributes[:'lifecycleState']
166
+
167
+ raise 'You cannot provide both :lifecycleState and :lifecycle_state' if attributes.key?(:'lifecycleState') && attributes.key?(:'lifecycle_state')
168
+
169
+ self.lifecycle_state = attributes[:'lifecycle_state'] if attributes[:'lifecycle_state']
170
+
171
+ self.time_released = attributes[:'timeReleased'] if attributes[:'timeReleased']
172
+
173
+ raise 'You cannot provide both :timeReleased and :time_released' if attributes.key?(:'timeReleased') && attributes.key?(:'time_released')
174
+
175
+ self.time_released = attributes[:'time_released'] if attributes[:'time_released']
176
+
177
+ self.version = attributes[:'version'] if attributes[:'version']
178
+ end
179
+ # rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
180
+ # rubocop:enable Metrics/MethodLength, Layout/EmptyLines, Style/SymbolLiteral
181
+
182
+ # Custom attribute writer method checking allowed values (enum).
183
+ # @param [Object] last_action Object to be assigned
184
+ def last_action=(last_action)
185
+ # rubocop:disable Style/ConditionalAssignment
186
+ if last_action && !LAST_ACTION_ENUM.include?(last_action)
187
+ OCI.logger.debug("Unknown value for 'last_action' [" + last_action + "]. Mapping to 'LAST_ACTION_UNKNOWN_ENUM_VALUE'") if OCI.logger
188
+ @last_action = LAST_ACTION_UNKNOWN_ENUM_VALUE
189
+ else
190
+ @last_action = last_action
191
+ end
192
+ # rubocop:enable Style/ConditionalAssignment
193
+ end
194
+
195
+ # Custom attribute writer method checking allowed values (enum).
196
+ # @param [Object] available_actions Object to be assigned
197
+ def available_actions=(available_actions)
198
+ # rubocop:disable Style/ConditionalAssignment
199
+ if available_actions.nil?
200
+ @available_actions = nil
201
+ else
202
+ @available_actions =
203
+ available_actions.collect do |item|
204
+ if AVAILABLE_ACTIONS_ENUM.include?(item)
205
+ item
206
+ else
207
+ OCI.logger.debug("Unknown value for 'available_actions' [#{item}]. Mapping to 'AVAILABLE_ACTIONS_UNKNOWN_ENUM_VALUE'") if OCI.logger
208
+ AVAILABLE_ACTIONS_UNKNOWN_ENUM_VALUE
209
+ end
210
+ end
211
+ end
212
+ # rubocop:enable Style/ConditionalAssignment
213
+ end
214
+
215
+ # Custom attribute writer method checking allowed values (enum).
216
+ # @param [Object] update_type Object to be assigned
217
+ def update_type=(update_type)
218
+ # rubocop:disable Style/ConditionalAssignment
219
+ if update_type && !UPDATE_TYPE_ENUM.include?(update_type)
220
+ OCI.logger.debug("Unknown value for 'update_type' [" + update_type + "]. Mapping to 'UPDATE_TYPE_UNKNOWN_ENUM_VALUE'") if OCI.logger
221
+ @update_type = UPDATE_TYPE_UNKNOWN_ENUM_VALUE
222
+ else
223
+ @update_type = update_type
224
+ end
225
+ # rubocop:enable Style/ConditionalAssignment
226
+ end
227
+
228
+ # Custom attribute writer method checking allowed values (enum).
229
+ # @param [Object] lifecycle_state Object to be assigned
230
+ def lifecycle_state=(lifecycle_state)
231
+ # rubocop:disable Style/ConditionalAssignment
232
+ if lifecycle_state && !LIFECYCLE_STATE_ENUM.include?(lifecycle_state)
233
+ OCI.logger.debug("Unknown value for 'lifecycle_state' [" + lifecycle_state + "]. Mapping to 'LIFECYCLE_STATE_UNKNOWN_ENUM_VALUE'") if OCI.logger
234
+ @lifecycle_state = LIFECYCLE_STATE_UNKNOWN_ENUM_VALUE
235
+ else
236
+ @lifecycle_state = lifecycle_state
237
+ end
238
+ # rubocop:enable Style/ConditionalAssignment
239
+ end
240
+
241
+ # rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity, Layout/EmptyLines
242
+
243
+
244
+ # Checks equality by comparing each attribute.
245
+ # @param [Object] other the other object to be compared
246
+ def ==(other)
247
+ return true if equal?(other)
248
+
249
+ self.class == other.class &&
250
+ id == other.id &&
251
+ description == other.description &&
252
+ last_action == other.last_action &&
253
+ available_actions == other.available_actions &&
254
+ update_type == other.update_type &&
255
+ lifecycle_details == other.lifecycle_details &&
256
+ lifecycle_state == other.lifecycle_state &&
257
+ time_released == other.time_released &&
258
+ version == other.version
259
+ end
260
+ # rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity, Layout/EmptyLines
261
+
262
+ # @see the `==` method
263
+ # @param [Object] other the other object to be compared
264
+ def eql?(other)
265
+ self == other
266
+ end
267
+
268
+ # rubocop:disable Metrics/AbcSize, Layout/EmptyLines
269
+
270
+
271
+ # Calculates hash code according to all attributes.
272
+ # @return [Fixnum] Hash code
273
+ def hash
274
+ [id, description, last_action, available_actions, update_type, lifecycle_details, lifecycle_state, time_released, version].hash
275
+ end
276
+ # rubocop:enable Metrics/AbcSize, Layout/EmptyLines
277
+
278
+ # rubocop:disable Metrics/AbcSize, Layout/EmptyLines
279
+
280
+
281
+ # Builds the object from hash
282
+ # @param [Hash] attributes Model attributes in the form of hash
283
+ # @return [Object] Returns the model itself
284
+ def build_from_hash(attributes)
285
+ return nil unless attributes.is_a?(Hash)
286
+
287
+ self.class.swagger_types.each_pair do |key, type|
288
+ if type =~ /^Array<(.*)>/i
289
+ # check to ensure the input is an array given that the the attribute
290
+ # is documented as an array but the input is not
291
+ if attributes[self.class.attribute_map[key]].is_a?(Array)
292
+ public_method("#{key}=").call(
293
+ attributes[self.class.attribute_map[key]]
294
+ .map { |v| OCI::Internal::Util.convert_to_type(Regexp.last_match(1), v) }
295
+ )
296
+ end
297
+ elsif !attributes[self.class.attribute_map[key]].nil?
298
+ public_method("#{key}=").call(
299
+ OCI::Internal::Util.convert_to_type(type, attributes[self.class.attribute_map[key]])
300
+ )
301
+ end
302
+ # or else data not found in attributes(hash), not an issue as the data can be optional
303
+ end
304
+
305
+ self
306
+ end
307
+ # rubocop:enable Metrics/AbcSize, Layout/EmptyLines
308
+
309
+ # Returns the string representation of the object
310
+ # @return [String] String presentation of the object
311
+ def to_s
312
+ to_hash.to_s
313
+ end
314
+
315
+ # Returns the object in the form of hash
316
+ # @return [Hash] Returns the object in the form of hash
317
+ def to_hash
318
+ hash = {}
319
+ self.class.attribute_map.each_pair do |attr, param|
320
+ value = public_method(attr).call
321
+ next if value.nil? && !instance_variable_defined?("@#{attr}")
322
+
323
+ hash[param] = _to_hash(value)
324
+ end
325
+ hash
326
+ end
327
+
328
+ private
329
+
330
+ # Outputs non-array value in the form of hash
331
+ # For object, use to_hash. Otherwise, just return the value
332
+ # @param [Object] value Any valid value
333
+ # @return [Hash] Returns the value in the form of hash
334
+ def _to_hash(value)
335
+ if value.is_a?(Array)
336
+ value.compact.map { |v| _to_hash(v) }
337
+ elsif value.is_a?(Hash)
338
+ {}.tap do |hash|
339
+ value.each { |k, v| hash[k] = _to_hash(v) }
340
+ end
341
+ elsif value.respond_to? :to_hash
342
+ value.to_hash
343
+ else
344
+ value
345
+ end
346
+ end
347
+ end
348
+ end
349
+ # rubocop:enable Lint/UnneededCopDisableDirective, Metrics/LineLength
@@ -0,0 +1,156 @@
1
+ # Copyright (c) 2016, 2026, 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
+ # NOTE: This class is auto generated by OracleSDKGenerator. DO NOT EDIT. API Version: 20160918
5
+ require 'date'
6
+
7
+ # rubocop:disable Lint/UnneededCopDisableDirective, Metrics/LineLength
8
+ module OCI
9
+ # The configuration details for moving the BaseDB-C@C VM cluster to another compartment. Applies to Base Database Service on Cloud@Customer only.
10
+ #
11
+ class Database::Models::ChangeBaseccVmClusterCompartmentDetails
12
+ # **[Required]** The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the compartment.
13
+ # @return [String]
14
+ attr_accessor :compartment_id
15
+
16
+ # Attribute mapping from ruby-style variable name to JSON key.
17
+ def self.attribute_map
18
+ {
19
+ # rubocop:disable Style/SymbolLiteral
20
+ 'compartment_id': :'compartmentId'
21
+ # rubocop:enable Style/SymbolLiteral
22
+ }
23
+ end
24
+
25
+ # Attribute type mapping.
26
+ def self.swagger_types
27
+ {
28
+ # rubocop:disable Style/SymbolLiteral
29
+ 'compartment_id': :'String'
30
+ # rubocop:enable Style/SymbolLiteral
31
+ }
32
+ end
33
+
34
+ # rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
35
+ # rubocop:disable Metrics/MethodLength, Layout/EmptyLines, Style/SymbolLiteral
36
+
37
+
38
+ # Initializes the object
39
+ # @param [Hash] attributes Model attributes in the form of hash
40
+ # @option attributes [String] :compartment_id The value to assign to the {#compartment_id} property
41
+ def initialize(attributes = {})
42
+ return unless attributes.is_a?(Hash)
43
+
44
+ # convert string to symbol for hash key
45
+ attributes = attributes.each_with_object({}) { |(k, v), h| h[k.to_sym] = v }
46
+
47
+ self.compartment_id = attributes[:'compartmentId'] if attributes[:'compartmentId']
48
+
49
+ raise 'You cannot provide both :compartmentId and :compartment_id' if attributes.key?(:'compartmentId') && attributes.key?(:'compartment_id')
50
+
51
+ self.compartment_id = attributes[:'compartment_id'] if attributes[:'compartment_id']
52
+ end
53
+ # rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
54
+ # rubocop:enable Metrics/MethodLength, Layout/EmptyLines, Style/SymbolLiteral
55
+
56
+ # rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity, Layout/EmptyLines
57
+
58
+
59
+ # Checks equality by comparing each attribute.
60
+ # @param [Object] other the other object to be compared
61
+ def ==(other)
62
+ return true if equal?(other)
63
+
64
+ self.class == other.class &&
65
+ compartment_id == other.compartment_id
66
+ end
67
+ # rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity, Layout/EmptyLines
68
+
69
+ # @see the `==` method
70
+ # @param [Object] other the other object to be compared
71
+ def eql?(other)
72
+ self == other
73
+ end
74
+
75
+ # rubocop:disable Metrics/AbcSize, Layout/EmptyLines
76
+
77
+
78
+ # Calculates hash code according to all attributes.
79
+ # @return [Fixnum] Hash code
80
+ def hash
81
+ [compartment_id].hash
82
+ end
83
+ # rubocop:enable Metrics/AbcSize, Layout/EmptyLines
84
+
85
+ # rubocop:disable Metrics/AbcSize, Layout/EmptyLines
86
+
87
+
88
+ # Builds the object from hash
89
+ # @param [Hash] attributes Model attributes in the form of hash
90
+ # @return [Object] Returns the model itself
91
+ def build_from_hash(attributes)
92
+ return nil unless attributes.is_a?(Hash)
93
+
94
+ self.class.swagger_types.each_pair do |key, type|
95
+ if type =~ /^Array<(.*)>/i
96
+ # check to ensure the input is an array given that the the attribute
97
+ # is documented as an array but the input is not
98
+ if attributes[self.class.attribute_map[key]].is_a?(Array)
99
+ public_method("#{key}=").call(
100
+ attributes[self.class.attribute_map[key]]
101
+ .map { |v| OCI::Internal::Util.convert_to_type(Regexp.last_match(1), v) }
102
+ )
103
+ end
104
+ elsif !attributes[self.class.attribute_map[key]].nil?
105
+ public_method("#{key}=").call(
106
+ OCI::Internal::Util.convert_to_type(type, attributes[self.class.attribute_map[key]])
107
+ )
108
+ end
109
+ # or else data not found in attributes(hash), not an issue as the data can be optional
110
+ end
111
+
112
+ self
113
+ end
114
+ # rubocop:enable Metrics/AbcSize, Layout/EmptyLines
115
+
116
+ # Returns the string representation of the object
117
+ # @return [String] String presentation of the object
118
+ def to_s
119
+ to_hash.to_s
120
+ end
121
+
122
+ # Returns the object in the form of hash
123
+ # @return [Hash] Returns the object in the form of hash
124
+ def to_hash
125
+ hash = {}
126
+ self.class.attribute_map.each_pair do |attr, param|
127
+ value = public_method(attr).call
128
+ next if value.nil? && !instance_variable_defined?("@#{attr}")
129
+
130
+ hash[param] = _to_hash(value)
131
+ end
132
+ hash
133
+ end
134
+
135
+ private
136
+
137
+ # Outputs non-array value in the form of hash
138
+ # For object, use to_hash. Otherwise, just return the value
139
+ # @param [Object] value Any valid value
140
+ # @return [Hash] Returns the value in the form of hash
141
+ def _to_hash(value)
142
+ if value.is_a?(Array)
143
+ value.compact.map { |v| _to_hash(v) }
144
+ elsif value.is_a?(Hash)
145
+ {}.tap do |hash|
146
+ value.each { |k, v| hash[k] = _to_hash(v) }
147
+ end
148
+ elsif value.respond_to? :to_hash
149
+ value.to_hash
150
+ else
151
+ value
152
+ end
153
+ end
154
+ end
155
+ end
156
+ # rubocop:enable Lint/UnneededCopDisableDirective, Metrics/LineLength
@@ -134,6 +134,13 @@ module OCI
134
134
  # @return [Integer]
135
135
  attr_accessor :listener_port
136
136
 
137
+ # @return [OCI::Database::Models::ExadataLiveImageVersionDetails]
138
+ attr_accessor :live_image_version_details
139
+
140
+ # Oracle Linux version for the respective Exadata Image.
141
+ # @return [String]
142
+ attr_accessor :oracle_linux_version
143
+
137
144
  # **[Required]** The current state of the cloud VM cluster.
138
145
  # @return [String]
139
146
  attr_reader :lifecycle_state
@@ -401,6 +408,8 @@ module OCI
401
408
  'last_update_history_entry_id': :'lastUpdateHistoryEntryId',
402
409
  'shape': :'shape',
403
410
  'listener_port': :'listenerPort',
411
+ 'live_image_version_details': :'liveImageVersionDetails',
412
+ 'oracle_linux_version': :'oracleLinuxVersion',
404
413
  'lifecycle_state': :'lifecycleState',
405
414
  'node_count': :'nodeCount',
406
415
  'storage_size_in_gbs': :'storageSizeInGBs',
@@ -473,6 +482,8 @@ module OCI
473
482
  'last_update_history_entry_id': :'String',
474
483
  'shape': :'String',
475
484
  'listener_port': :'Integer',
485
+ 'live_image_version_details': :'OCI::Database::Models::ExadataLiveImageVersionDetails',
486
+ 'oracle_linux_version': :'String',
476
487
  'lifecycle_state': :'String',
477
488
  'node_count': :'Integer',
478
489
  'storage_size_in_gbs': :'Integer',
@@ -547,6 +558,8 @@ module OCI
547
558
  # @option attributes [String] :last_update_history_entry_id The value to assign to the {#last_update_history_entry_id} property
548
559
  # @option attributes [String] :shape The value to assign to the {#shape} property
549
560
  # @option attributes [Integer] :listener_port The value to assign to the {#listener_port} property
561
+ # @option attributes [OCI::Database::Models::ExadataLiveImageVersionDetails] :live_image_version_details The value to assign to the {#live_image_version_details} property
562
+ # @option attributes [String] :oracle_linux_version The value to assign to the {#oracle_linux_version} property
550
563
  # @option attributes [String] :lifecycle_state The value to assign to the {#lifecycle_state} property
551
564
  # @option attributes [Integer] :node_count The value to assign to the {#node_count} property
552
565
  # @option attributes [Integer] :storage_size_in_gbs The value to assign to the {#storage_size_in_gbs} property
@@ -669,6 +682,18 @@ module OCI
669
682
 
670
683
  self.listener_port = attributes[:'listener_port'] if attributes[:'listener_port']
671
684
 
685
+ self.live_image_version_details = attributes[:'liveImageVersionDetails'] if attributes[:'liveImageVersionDetails']
686
+
687
+ raise 'You cannot provide both :liveImageVersionDetails and :live_image_version_details' if attributes.key?(:'liveImageVersionDetails') && attributes.key?(:'live_image_version_details')
688
+
689
+ self.live_image_version_details = attributes[:'live_image_version_details'] if attributes[:'live_image_version_details']
690
+
691
+ self.oracle_linux_version = attributes[:'oracleLinuxVersion'] if attributes[:'oracleLinuxVersion']
692
+
693
+ raise 'You cannot provide both :oracleLinuxVersion and :oracle_linux_version' if attributes.key?(:'oracleLinuxVersion') && attributes.key?(:'oracle_linux_version')
694
+
695
+ self.oracle_linux_version = attributes[:'oracle_linux_version'] if attributes[:'oracle_linux_version']
696
+
672
697
  self.lifecycle_state = attributes[:'lifecycleState'] if attributes[:'lifecycleState']
673
698
 
674
699
  raise 'You cannot provide both :lifecycleState and :lifecycle_state' if attributes.key?(:'lifecycleState') && attributes.key?(:'lifecycle_state')
@@ -1116,6 +1141,8 @@ module OCI
1116
1141
  last_update_history_entry_id == other.last_update_history_entry_id &&
1117
1142
  shape == other.shape &&
1118
1143
  listener_port == other.listener_port &&
1144
+ live_image_version_details == other.live_image_version_details &&
1145
+ oracle_linux_version == other.oracle_linux_version &&
1119
1146
  lifecycle_state == other.lifecycle_state &&
1120
1147
  node_count == other.node_count &&
1121
1148
  storage_size_in_gbs == other.storage_size_in_gbs &&
@@ -1183,7 +1210,7 @@ module OCI
1183
1210
  # Calculates hash code according to all attributes.
1184
1211
  # @return [Fixnum] Hash code
1185
1212
  def hash
1186
- [iorm_config_cache, id, compartment_id, subscription_id, availability_domain, subnet_id, backup_subnet_id, nsg_ids, backup_network_nsg_ids, last_update_history_entry_id, shape, listener_port, lifecycle_state, node_count, storage_size_in_gbs, display_name, time_created, lifecycle_details, time_zone, hostname, domain, cpu_core_count, ocpu_count, memory_size_in_gbs, db_node_storage_size_in_gbs, data_storage_size_in_tbs, db_servers, cluster_name, data_storage_percentage, reco_storage_percentage, sparse_storage_percentage, is_local_backup_enabled, cloud_exadata_infrastructure_id, is_sparse_diskgroup_enabled, gi_version, system_version, ssh_public_keys, license_model, disk_redundancy, scan_ip_ids, vip_ids, scan_ipv6_ids, vipv6_ids, scan_dns_record_id, freeform_tags, defined_tags, security_attributes, system_tags, scan_dns_name, zone_id, scan_listener_port_tcp, scan_listener_port_tcp_ssl, data_collection_options, gi_software_image_id, file_system_configuration_details, cloud_automation_update_details, exascale_db_storage_vault_id, storage_management_type, vm_cluster_type, compute_model, multi_cloud_identity_connector_configs, tde_key_store_type, vm_file_system_storage_type, vm_backup_storage_type].hash
1213
+ [iorm_config_cache, id, compartment_id, subscription_id, availability_domain, subnet_id, backup_subnet_id, nsg_ids, backup_network_nsg_ids, last_update_history_entry_id, shape, listener_port, live_image_version_details, oracle_linux_version, lifecycle_state, node_count, storage_size_in_gbs, display_name, time_created, lifecycle_details, time_zone, hostname, domain, cpu_core_count, ocpu_count, memory_size_in_gbs, db_node_storage_size_in_gbs, data_storage_size_in_tbs, db_servers, cluster_name, data_storage_percentage, reco_storage_percentage, sparse_storage_percentage, is_local_backup_enabled, cloud_exadata_infrastructure_id, is_sparse_diskgroup_enabled, gi_version, system_version, ssh_public_keys, license_model, disk_redundancy, scan_ip_ids, vip_ids, scan_ipv6_ids, vipv6_ids, scan_dns_record_id, freeform_tags, defined_tags, security_attributes, system_tags, scan_dns_name, zone_id, scan_listener_port_tcp, scan_listener_port_tcp_ssl, data_collection_options, gi_software_image_id, file_system_configuration_details, cloud_automation_update_details, exascale_db_storage_vault_id, storage_management_type, vm_cluster_type, compute_model, multi_cloud_identity_connector_configs, tde_key_store_type, vm_file_system_storage_type, vm_backup_storage_type].hash
1187
1214
  end
1188
1215
  # rubocop:enable Metrics/AbcSize, Layout/EmptyLines
1189
1216
 
@@ -131,6 +131,13 @@ module OCI
131
131
  # @return [Integer]
132
132
  attr_accessor :listener_port
133
133
 
134
+ # @return [OCI::Database::Models::ExadataLiveImageVersionDetails]
135
+ attr_accessor :live_image_version_details
136
+
137
+ # Oracle Linux version for the respective Exadata Image.
138
+ # @return [String]
139
+ attr_accessor :oracle_linux_version
140
+
134
141
  # **[Required]** The current state of the cloud VM cluster.
135
142
  # @return [String]
136
143
  attr_reader :lifecycle_state
@@ -397,6 +404,8 @@ module OCI
397
404
  'last_update_history_entry_id': :'lastUpdateHistoryEntryId',
398
405
  'shape': :'shape',
399
406
  'listener_port': :'listenerPort',
407
+ 'live_image_version_details': :'liveImageVersionDetails',
408
+ 'oracle_linux_version': :'oracleLinuxVersion',
400
409
  'lifecycle_state': :'lifecycleState',
401
410
  'node_count': :'nodeCount',
402
411
  'storage_size_in_gbs': :'storageSizeInGBs',
@@ -468,6 +477,8 @@ module OCI
468
477
  'last_update_history_entry_id': :'String',
469
478
  'shape': :'String',
470
479
  'listener_port': :'Integer',
480
+ 'live_image_version_details': :'OCI::Database::Models::ExadataLiveImageVersionDetails',
481
+ 'oracle_linux_version': :'String',
471
482
  'lifecycle_state': :'String',
472
483
  'node_count': :'Integer',
473
484
  'storage_size_in_gbs': :'Integer',
@@ -541,6 +552,8 @@ module OCI
541
552
  # @option attributes [String] :last_update_history_entry_id The value to assign to the {#last_update_history_entry_id} property
542
553
  # @option attributes [String] :shape The value to assign to the {#shape} property
543
554
  # @option attributes [Integer] :listener_port The value to assign to the {#listener_port} property
555
+ # @option attributes [OCI::Database::Models::ExadataLiveImageVersionDetails] :live_image_version_details The value to assign to the {#live_image_version_details} property
556
+ # @option attributes [String] :oracle_linux_version The value to assign to the {#oracle_linux_version} property
544
557
  # @option attributes [String] :lifecycle_state The value to assign to the {#lifecycle_state} property
545
558
  # @option attributes [Integer] :node_count The value to assign to the {#node_count} property
546
559
  # @option attributes [Integer] :storage_size_in_gbs The value to assign to the {#storage_size_in_gbs} property
@@ -657,6 +670,18 @@ module OCI
657
670
 
658
671
  self.listener_port = attributes[:'listener_port'] if attributes[:'listener_port']
659
672
 
673
+ self.live_image_version_details = attributes[:'liveImageVersionDetails'] if attributes[:'liveImageVersionDetails']
674
+
675
+ raise 'You cannot provide both :liveImageVersionDetails and :live_image_version_details' if attributes.key?(:'liveImageVersionDetails') && attributes.key?(:'live_image_version_details')
676
+
677
+ self.live_image_version_details = attributes[:'live_image_version_details'] if attributes[:'live_image_version_details']
678
+
679
+ self.oracle_linux_version = attributes[:'oracleLinuxVersion'] if attributes[:'oracleLinuxVersion']
680
+
681
+ raise 'You cannot provide both :oracleLinuxVersion and :oracle_linux_version' if attributes.key?(:'oracleLinuxVersion') && attributes.key?(:'oracle_linux_version')
682
+
683
+ self.oracle_linux_version = attributes[:'oracle_linux_version'] if attributes[:'oracle_linux_version']
684
+
660
685
  self.lifecycle_state = attributes[:'lifecycleState'] if attributes[:'lifecycleState']
661
686
 
662
687
  raise 'You cannot provide both :lifecycleState and :lifecycle_state' if attributes.key?(:'lifecycleState') && attributes.key?(:'lifecycle_state')
@@ -1103,6 +1128,8 @@ module OCI
1103
1128
  last_update_history_entry_id == other.last_update_history_entry_id &&
1104
1129
  shape == other.shape &&
1105
1130
  listener_port == other.listener_port &&
1131
+ live_image_version_details == other.live_image_version_details &&
1132
+ oracle_linux_version == other.oracle_linux_version &&
1106
1133
  lifecycle_state == other.lifecycle_state &&
1107
1134
  node_count == other.node_count &&
1108
1135
  storage_size_in_gbs == other.storage_size_in_gbs &&
@@ -1170,7 +1197,7 @@ module OCI
1170
1197
  # Calculates hash code according to all attributes.
1171
1198
  # @return [Fixnum] Hash code
1172
1199
  def hash
1173
- [id, compartment_id, subscription_id, availability_domain, subnet_id, backup_subnet_id, nsg_ids, backup_network_nsg_ids, last_update_history_entry_id, shape, listener_port, lifecycle_state, node_count, storage_size_in_gbs, display_name, time_created, lifecycle_details, time_zone, hostname, domain, cpu_core_count, ocpu_count, memory_size_in_gbs, db_node_storage_size_in_gbs, data_storage_size_in_tbs, db_servers, cluster_name, data_storage_percentage, reco_storage_percentage, sparse_storage_percentage, is_local_backup_enabled, cloud_exadata_infrastructure_id, is_sparse_diskgroup_enabled, gi_version, system_version, ssh_public_keys, license_model, disk_redundancy, scan_ip_ids, vip_ids, scan_ipv6_ids, vipv6_ids, scan_dns_record_id, freeform_tags, defined_tags, security_attributes, system_tags, scan_dns_name, zone_id, scan_listener_port_tcp, scan_listener_port_tcp_ssl, data_collection_options, gi_software_image_id, file_system_configuration_details, cloud_automation_update_details, exascale_db_storage_vault_id, storage_management_type, vm_cluster_type, compute_model, multi_cloud_identity_connector_configs, tde_key_store_type, vm_file_system_storage_type, vm_backup_storage_type].hash
1200
+ [id, compartment_id, subscription_id, availability_domain, subnet_id, backup_subnet_id, nsg_ids, backup_network_nsg_ids, last_update_history_entry_id, shape, listener_port, live_image_version_details, oracle_linux_version, lifecycle_state, node_count, storage_size_in_gbs, display_name, time_created, lifecycle_details, time_zone, hostname, domain, cpu_core_count, ocpu_count, memory_size_in_gbs, db_node_storage_size_in_gbs, data_storage_size_in_tbs, db_servers, cluster_name, data_storage_percentage, reco_storage_percentage, sparse_storage_percentage, is_local_backup_enabled, cloud_exadata_infrastructure_id, is_sparse_diskgroup_enabled, gi_version, system_version, ssh_public_keys, license_model, disk_redundancy, scan_ip_ids, vip_ids, scan_ipv6_ids, vipv6_ids, scan_dns_record_id, freeform_tags, defined_tags, security_attributes, system_tags, scan_dns_name, zone_id, scan_listener_port_tcp, scan_listener_port_tcp_ssl, data_collection_options, gi_software_image_id, file_system_configuration_details, cloud_automation_update_details, exascale_db_storage_vault_id, storage_management_type, vm_cluster_type, compute_model, multi_cloud_identity_connector_configs, tde_key_store_type, vm_file_system_storage_type, vm_backup_storage_type].hash
1174
1201
  end
1175
1202
  # rubocop:enable Metrics/AbcSize, Layout/EmptyLines
1176
1203