oci 2.0.7 → 2.0.8

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 (297) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +2 -1
  3. data/lib/oci.rb +1 -0
  4. data/lib/oci/api_client.rb +21 -11
  5. data/lib/oci/audit/models/audit_event.rb +133 -19
  6. data/lib/oci/audit/models/configuration.rb +7 -1
  7. data/lib/oci/audit/models/update_configuration_details.rb +7 -1
  8. data/lib/oci/base_signer.rb +1 -2
  9. data/lib/oci/core/models/attach_boot_volume_details.rb +21 -3
  10. data/lib/oci/core/models/attach_i_scsi_volume_details.rb +11 -5
  11. data/lib/oci/core/models/attach_vnic_details.rb +28 -4
  12. data/lib/oci/core/models/attach_volume_details.rb +28 -4
  13. data/lib/oci/core/models/boot_volume.rb +56 -8
  14. data/lib/oci/core/models/boot_volume_attachment.rb +49 -7
  15. data/lib/oci/core/models/bulk_add_virtual_circuit_public_prefixes_details.rb +7 -1
  16. data/lib/oci/core/models/bulk_delete_virtual_circuit_public_prefixes_details.rb +7 -1
  17. data/lib/oci/core/models/capture_console_history_details.rb +28 -4
  18. data/lib/oci/core/models/connect_local_peering_gateways_details.rb +7 -1
  19. data/lib/oci/core/models/console_history.rb +56 -8
  20. data/lib/oci/core/models/cpe.rb +28 -4
  21. data/lib/oci/core/models/create_cpe_details.rb +21 -3
  22. data/lib/oci/core/models/create_cross_connect_details.rb +49 -7
  23. data/lib/oci/core/models/create_cross_connect_group_details.rb +14 -2
  24. data/lib/oci/core/models/create_dhcp_details.rb +35 -5
  25. data/lib/oci/core/models/create_drg_attachment_details.rb +21 -3
  26. data/lib/oci/core/models/create_drg_details.rb +14 -2
  27. data/lib/oci/core/models/create_image_details.rb +49 -7
  28. data/lib/oci/core/models/create_instance_console_connection_details.rb +28 -4
  29. data/lib/oci/core/models/create_internet_gateway_details.rb +28 -4
  30. data/lib/oci/core/models/create_ip_sec_connection_details.rb +35 -5
  31. data/lib/oci/core/models/create_local_peering_gateway_details.rb +21 -3
  32. data/lib/oci/core/models/create_private_ip_details.rb +42 -6
  33. data/lib/oci/core/models/create_public_ip_details.rb +21 -3
  34. data/lib/oci/core/models/create_route_table_details.rb +42 -6
  35. data/lib/oci/core/models/create_security_list_details.rb +49 -7
  36. data/lib/oci/core/models/create_subnet_details.rb +84 -12
  37. data/lib/oci/core/models/create_vcn_details.rb +42 -6
  38. data/lib/oci/core/models/create_virtual_circuit_details.rb +70 -10
  39. data/lib/oci/core/models/create_virtual_circuit_public_prefix_details.rb +7 -1
  40. data/lib/oci/core/models/create_vnic_details.rb +42 -6
  41. data/lib/oci/core/models/create_volume_backup_details.rb +28 -4
  42. data/lib/oci/core/models/create_volume_backup_policy_assignment_details.rb +14 -2
  43. data/lib/oci/core/models/create_volume_details.rb +70 -10
  44. data/lib/oci/core/models/cross_connect.rb +56 -8
  45. data/lib/oci/core/models/cross_connect_group.rb +28 -4
  46. data/lib/oci/core/models/cross_connect_mapping.rb +28 -4
  47. data/lib/oci/core/models/cross_connect_port_speed_shape.rb +7 -1
  48. data/lib/oci/core/models/cross_connect_status.rb +28 -4
  49. data/lib/oci/core/models/delete_virtual_circuit_public_prefix_details.rb +7 -1
  50. data/lib/oci/core/models/dhcp_dns_option.rb +14 -2
  51. data/lib/oci/core/models/dhcp_options.rb +49 -7
  52. data/lib/oci/core/models/dhcp_search_domain_option.rb +7 -1
  53. data/lib/oci/core/models/drg.rb +28 -4
  54. data/lib/oci/core/models/drg_attachment.rb +42 -6
  55. data/lib/oci/core/models/egress_security_rule.rb +28 -4
  56. data/lib/oci/core/models/export_image_details.rb +7 -1
  57. data/lib/oci/core/models/export_image_via_object_storage_tuple_details.rb +21 -3
  58. data/lib/oci/core/models/export_image_via_object_storage_uri_details.rb +7 -1
  59. data/lib/oci/core/models/fast_connect_provider_service.rb +35 -5
  60. data/lib/oci/core/models/get_public_ip_by_ip_address_details.rb +7 -1
  61. data/lib/oci/core/models/get_public_ip_by_private_ip_id_details.rb +7 -1
  62. data/lib/oci/core/models/i_scsi_volume_attachment.rb +22 -10
  63. data/lib/oci/core/models/image.rb +84 -12
  64. data/lib/oci/core/models/image_source_details.rb +14 -2
  65. data/lib/oci/core/models/image_source_via_object_storage_tuple_details.rb +22 -4
  66. data/lib/oci/core/models/image_source_via_object_storage_uri_details.rb +8 -2
  67. data/lib/oci/core/models/ingress_security_rule.rb +28 -4
  68. data/lib/oci/core/models/instance.rb +91 -13
  69. data/lib/oci/core/models/instance_console_connection.rb +49 -7
  70. data/lib/oci/core/models/instance_source_details.rb +7 -1
  71. data/lib/oci/core/models/instance_source_via_boot_volume_details.rb +7 -1
  72. data/lib/oci/core/models/instance_source_via_image_details.rb +7 -1
  73. data/lib/oci/core/models/internet_gateway.rb +42 -6
  74. data/lib/oci/core/models/ip_sec_connection.rb +49 -7
  75. data/lib/oci/core/models/ip_sec_connection_device_config.rb +14 -2
  76. data/lib/oci/core/models/ip_sec_connection_device_status.rb +14 -2
  77. data/lib/oci/core/models/launch_instance_details.rb +84 -12
  78. data/lib/oci/core/models/launch_options.rb +21 -3
  79. data/lib/oci/core/models/letter_of_authority.rb +49 -7
  80. data/lib/oci/core/models/local_peering_gateway.rb +63 -9
  81. data/lib/oci/core/models/private_ip.rb +77 -11
  82. data/lib/oci/core/models/public_ip.rb +49 -7
  83. data/lib/oci/core/models/route_rule.rb +14 -2
  84. data/lib/oci/core/models/route_table.rb +56 -8
  85. data/lib/oci/core/models/security_list.rb +63 -9
  86. data/lib/oci/core/models/subnet.rb +119 -17
  87. data/lib/oci/core/models/tcp_options.rb +14 -2
  88. data/lib/oci/core/models/tunnel_config.rb +21 -3
  89. data/lib/oci/core/models/tunnel_status.rb +28 -4
  90. data/lib/oci/core/models/udp_options.rb +14 -2
  91. data/lib/oci/core/models/update_boot_volume_details.rb +7 -1
  92. data/lib/oci/core/models/update_console_history_details.rb +21 -3
  93. data/lib/oci/core/models/update_cpe_details.rb +7 -1
  94. data/lib/oci/core/models/update_cross_connect_details.rb +14 -2
  95. data/lib/oci/core/models/update_cross_connect_group_details.rb +7 -1
  96. data/lib/oci/core/models/update_dhcp_details.rb +21 -3
  97. data/lib/oci/core/models/update_drg_attachment_details.rb +7 -1
  98. data/lib/oci/core/models/update_drg_details.rb +7 -1
  99. data/lib/oci/core/models/update_image_details.rb +21 -3
  100. data/lib/oci/core/models/update_instance_details.rb +21 -3
  101. data/lib/oci/core/models/update_internet_gateway_details.rb +14 -2
  102. data/lib/oci/core/models/update_ip_sec_connection_details.rb +7 -1
  103. data/lib/oci/core/models/update_local_peering_gateway_details.rb +7 -1
  104. data/lib/oci/core/models/update_private_ip_details.rb +35 -5
  105. data/lib/oci/core/models/update_public_ip_details.rb +14 -2
  106. data/lib/oci/core/models/update_route_table_details.rb +28 -4
  107. data/lib/oci/core/models/update_security_list_details.rb +35 -5
  108. data/lib/oci/core/models/update_subnet_details.rb +21 -3
  109. data/lib/oci/core/models/update_vcn_details.rb +21 -3
  110. data/lib/oci/core/models/update_virtual_circuit_details.rb +49 -7
  111. data/lib/oci/core/models/update_vnic_details.rb +21 -3
  112. data/lib/oci/core/models/update_volume_backup_details.rb +21 -3
  113. data/lib/oci/core/models/update_volume_details.rb +21 -3
  114. data/lib/oci/core/models/vcn.rb +84 -12
  115. data/lib/oci/core/models/virtual_circuit.rb +126 -18
  116. data/lib/oci/core/models/virtual_circuit_bandwidth_shape.rb +7 -1
  117. data/lib/oci/core/models/virtual_circuit_public_prefix.rb +14 -2
  118. data/lib/oci/core/models/vnic.rb +84 -12
  119. data/lib/oci/core/models/vnic_attachment.rb +70 -10
  120. data/lib/oci/core/models/volume.rb +77 -11
  121. data/lib/oci/core/models/volume_attachment.rb +63 -9
  122. data/lib/oci/core/models/volume_backup.rb +98 -14
  123. data/lib/oci/core/models/volume_backup_policy.rb +14 -2
  124. data/lib/oci/core/models/volume_backup_policy_assignment.rb +21 -3
  125. data/lib/oci/core/models/volume_backup_schedule.rb +21 -3
  126. data/lib/oci/database/database_client.rb +2 -2
  127. data/lib/oci/database/models/backup.rb +56 -8
  128. data/lib/oci/database/models/backup_summary.rb +56 -8
  129. data/lib/oci/database/models/create_backup_details.rb +14 -2
  130. data/lib/oci/database/models/create_data_guard_association_details.rb +28 -4
  131. data/lib/oci/database/models/create_data_guard_association_to_existing_db_system_details.rb +10 -4
  132. data/lib/oci/database/models/create_database_details.rb +49 -7
  133. data/lib/oci/database/models/create_database_from_backup_details.rb +21 -3
  134. data/lib/oci/database/models/create_db_home_details.rb +14 -2
  135. data/lib/oci/database/models/create_db_home_with_db_system_id_base.rb +14 -2
  136. data/lib/oci/database/models/create_db_home_with_db_system_id_details.rb +9 -3
  137. data/lib/oci/database/models/create_db_home_with_db_system_id_from_backup_details.rb +2 -2
  138. data/lib/oci/database/models/data_guard_association.rb +91 -13
  139. data/lib/oci/database/models/data_guard_association_summary.rb +91 -13
  140. data/lib/oci/database/models/database.rb +84 -12
  141. data/lib/oci/database/models/database_summary.rb +84 -12
  142. data/lib/oci/database/models/db_backup_config.rb +7 -1
  143. data/lib/oci/database/models/db_home.rb +49 -7
  144. data/lib/oci/database/models/db_home_summary.rb +49 -7
  145. data/lib/oci/database/models/db_node.rb +42 -6
  146. data/lib/oci/database/models/db_node_summary.rb +42 -6
  147. data/lib/oci/database/models/db_system.rb +161 -23
  148. data/lib/oci/database/models/db_system_shape_summary.rb +7 -1
  149. data/lib/oci/database/models/db_system_summary.rb +161 -23
  150. data/lib/oci/database/models/db_version_summary.rb +7 -1
  151. data/lib/oci/database/models/failover_data_guard_association_details.rb +7 -1
  152. data/lib/oci/database/models/launch_db_system_details.rb +105 -15
  153. data/lib/oci/database/models/patch.rb +35 -5
  154. data/lib/oci/database/models/patch_details.rb +7 -1
  155. data/lib/oci/database/models/patch_history_entry.rb +35 -5
  156. data/lib/oci/database/models/patch_history_entry_summary.rb +35 -5
  157. data/lib/oci/database/models/patch_summary.rb +35 -5
  158. data/lib/oci/database/models/reinstate_data_guard_association_details.rb +7 -1
  159. data/lib/oci/database/models/restore_database_details.rb +7 -1
  160. data/lib/oci/database/models/switchover_data_guard_association_details.rb +7 -1
  161. data/lib/oci/database/models/update_database_details.rb +7 -1
  162. data/lib/oci/database/models/update_db_home_details.rb +7 -1
  163. data/lib/oci/database/models/update_db_system_details.rb +21 -3
  164. data/lib/oci/dns/models/create_zone_details.rb +21 -3
  165. data/lib/oci/dns/models/record.rb +21 -3
  166. data/lib/oci/dns/models/record_details.rb +21 -3
  167. data/lib/oci/dns/models/record_operation.rb +21 -3
  168. data/lib/oci/dns/models/update_zone_details.rb +7 -1
  169. data/lib/oci/dns/models/zone.rb +42 -6
  170. data/lib/oci/dns/models/zone_summary.rb +28 -4
  171. data/lib/oci/file_storage/file_storage.rb +33 -0
  172. data/lib/oci/file_storage/file_storage_client.rb +1117 -0
  173. data/lib/oci/file_storage/models/create_export_details.rb +162 -0
  174. data/lib/oci/file_storage/models/create_file_system_details.rb +170 -0
  175. data/lib/oci/file_storage/models/create_mount_target_details.rb +242 -0
  176. data/lib/oci/file_storage/models/create_snapshot_details.rb +146 -0
  177. data/lib/oci/file_storage/models/export.rb +261 -0
  178. data/lib/oci/file_storage/models/export_set.rb +315 -0
  179. data/lib/oci/file_storage/models/export_set_summary.rb +260 -0
  180. data/lib/oci/file_storage/models/export_summary.rb +233 -0
  181. data/lib/oci/file_storage/models/file_system.rb +273 -0
  182. data/lib/oci/file_storage/models/file_system_summary.rb +265 -0
  183. data/lib/oci/file_storage/models/mount_target.rb +320 -0
  184. data/lib/oci/file_storage/models/mount_target_summary.rb +300 -0
  185. data/lib/oci/file_storage/models/snapshot.rb +217 -0
  186. data/lib/oci/file_storage/models/snapshot_summary.rb +217 -0
  187. data/lib/oci/file_storage/models/update_export_set_details.rb +185 -0
  188. data/lib/oci/file_storage/models/update_file_system_details.rb +131 -0
  189. data/lib/oci/file_storage/models/update_mount_target_details.rb +131 -0
  190. data/lib/oci/file_storage/util.rb +2 -0
  191. data/lib/oci/identity/models/add_user_to_group_details.rb +14 -2
  192. data/lib/oci/identity/models/api_key.rb +42 -6
  193. data/lib/oci/identity/models/availability_domain.rb +7 -1
  194. data/lib/oci/identity/models/compartment.rb +42 -6
  195. data/lib/oci/identity/models/create_compartment_details.rb +21 -3
  196. data/lib/oci/identity/models/create_customer_secret_key_details.rb +7 -1
  197. data/lib/oci/identity/models/create_dynamic_group_details.rb +14 -2
  198. data/lib/oci/identity/models/create_group_details.rb +21 -3
  199. data/lib/oci/identity/models/create_identity_provider_details.rb +28 -4
  200. data/lib/oci/identity/models/create_idp_group_mapping_details.rb +14 -2
  201. data/lib/oci/identity/models/create_policy_details.rb +28 -4
  202. data/lib/oci/identity/models/create_region_subscription_details.rb +7 -1
  203. data/lib/oci/identity/models/create_saml2_identity_provider_details.rb +11 -5
  204. data/lib/oci/identity/models/create_tag_details.rb +14 -2
  205. data/lib/oci/identity/models/create_tag_namespace_details.rb +21 -3
  206. data/lib/oci/identity/models/create_user_details.rb +21 -3
  207. data/lib/oci/identity/models/customer_secret_key.rb +42 -6
  208. data/lib/oci/identity/models/customer_secret_key_summary.rb +42 -6
  209. data/lib/oci/identity/models/dynamic_group.rb +35 -5
  210. data/lib/oci/identity/models/group.rb +42 -6
  211. data/lib/oci/identity/models/identity_provider.rb +49 -7
  212. data/lib/oci/identity/models/idp_group_mapping.rb +49 -7
  213. data/lib/oci/identity/models/policy.rb +49 -7
  214. data/lib/oci/identity/models/region_subscription.rb +21 -3
  215. data/lib/oci/identity/models/saml2_identity_provider.rb +28 -10
  216. data/lib/oci/identity/models/swift_password.rb +35 -5
  217. data/lib/oci/identity/models/tag.rb +49 -7
  218. data/lib/oci/identity/models/tag_namespace.rb +35 -5
  219. data/lib/oci/identity/models/tag_namespace_summary.rb +35 -5
  220. data/lib/oci/identity/models/tag_summary.rb +35 -5
  221. data/lib/oci/identity/models/tenancy.rb +21 -3
  222. data/lib/oci/identity/models/ui_password.rb +28 -4
  223. data/lib/oci/identity/models/update_compartment_details.rb +14 -2
  224. data/lib/oci/identity/models/update_customer_secret_key_details.rb +7 -1
  225. data/lib/oci/identity/models/update_dynamic_group_details.rb +7 -1
  226. data/lib/oci/identity/models/update_group_details.rb +14 -2
  227. data/lib/oci/identity/models/update_identity_provider_details.rb +14 -2
  228. data/lib/oci/identity/models/update_idp_group_mapping_details.rb +14 -2
  229. data/lib/oci/identity/models/update_policy_details.rb +21 -3
  230. data/lib/oci/identity/models/update_saml2_identity_provider_details.rb +9 -3
  231. data/lib/oci/identity/models/update_tag_details.rb +21 -3
  232. data/lib/oci/identity/models/update_tag_namespace_details.rb +21 -3
  233. data/lib/oci/identity/models/update_user_details.rb +14 -2
  234. data/lib/oci/identity/models/user.rb +42 -6
  235. data/lib/oci/identity/models/user_group_membership.rb +42 -6
  236. data/lib/oci/load_balancer/models/backend.rb +7 -1
  237. data/lib/oci/load_balancer/models/backend_details.rb +7 -1
  238. data/lib/oci/load_balancer/models/backend_health.rb +7 -1
  239. data/lib/oci/load_balancer/models/backend_set.rb +21 -3
  240. data/lib/oci/load_balancer/models/backend_set_details.rb +21 -3
  241. data/lib/oci/load_balancer/models/backend_set_health.rb +28 -4
  242. data/lib/oci/load_balancer/models/certificate.rb +21 -3
  243. data/lib/oci/load_balancer/models/certificate_details.rb +28 -4
  244. data/lib/oci/load_balancer/models/connection_configuration.rb +7 -1
  245. data/lib/oci/load_balancer/models/create_backend_details.rb +7 -1
  246. data/lib/oci/load_balancer/models/create_backend_set_details.rb +21 -3
  247. data/lib/oci/load_balancer/models/create_certificate_details.rb +28 -4
  248. data/lib/oci/load_balancer/models/create_listener_details.rb +28 -4
  249. data/lib/oci/load_balancer/models/create_load_balancer_details.rb +51 -7
  250. data/lib/oci/load_balancer/models/create_path_route_set_details.rb +7 -1
  251. data/lib/oci/load_balancer/models/health_check_result.rb +21 -3
  252. data/lib/oci/load_balancer/models/health_checker.rb +35 -5
  253. data/lib/oci/load_balancer/models/health_checker_details.rb +35 -5
  254. data/lib/oci/load_balancer/models/ip_address.rb +14 -2
  255. data/lib/oci/load_balancer/models/listener.rb +28 -4
  256. data/lib/oci/load_balancer/models/listener_details.rb +28 -4
  257. data/lib/oci/load_balancer/models/load_balancer.rb +70 -10
  258. data/lib/oci/load_balancer/models/load_balancer_health.rb +28 -4
  259. data/lib/oci/load_balancer/models/load_balancer_health_summary.rb +7 -1
  260. data/lib/oci/load_balancer/models/path_match_type.rb +7 -1
  261. data/lib/oci/load_balancer/models/path_route.rb +14 -2
  262. data/lib/oci/load_balancer/models/path_route_set.rb +7 -1
  263. data/lib/oci/load_balancer/models/path_route_set_details.rb +7 -1
  264. data/lib/oci/load_balancer/models/session_persistence_configuration_details.rb +16 -2
  265. data/lib/oci/load_balancer/models/ssl_configuration.rb +23 -3
  266. data/lib/oci/load_balancer/models/ssl_configuration_details.rb +23 -3
  267. data/lib/oci/load_balancer/models/update_backend_set_details.rb +21 -3
  268. data/lib/oci/load_balancer/models/update_health_checker_details.rb +35 -5
  269. data/lib/oci/load_balancer/models/update_listener_details.rb +28 -4
  270. data/lib/oci/load_balancer/models/update_load_balancer_details.rb +7 -1
  271. data/lib/oci/load_balancer/models/update_path_route_set_details.rb +7 -1
  272. data/lib/oci/load_balancer/models/work_request.rb +35 -5
  273. data/lib/oci/load_balancer/models/work_request_error.rb +7 -1
  274. data/lib/oci/object_storage/models/bucket.rb +83 -11
  275. data/lib/oci/object_storage/models/bucket_summary.rb +67 -7
  276. data/lib/oci/object_storage/models/commit_multipart_upload_details.rb +14 -2
  277. data/lib/oci/object_storage/models/commit_multipart_upload_part_details.rb +7 -1
  278. data/lib/oci/object_storage/models/create_bucket_details.rb +67 -7
  279. data/lib/oci/object_storage/models/create_multipart_upload_details.rb +21 -3
  280. data/lib/oci/object_storage/models/create_preauthenticated_request_details.rb +21 -3
  281. data/lib/oci/object_storage/models/list_objects.rb +7 -1
  282. data/lib/oci/object_storage/models/multipart_upload.rb +14 -2
  283. data/lib/oci/object_storage/models/multipart_upload_part_summary.rb +7 -1
  284. data/lib/oci/object_storage/models/namespace_metadata.rb +14 -2
  285. data/lib/oci/object_storage/models/object_summary.rb +7 -1
  286. data/lib/oci/object_storage/models/preauthenticated_request.rb +35 -5
  287. data/lib/oci/object_storage/models/preauthenticated_request_summary.rb +28 -4
  288. data/lib/oci/object_storage/models/rename_object_details.rb +35 -5
  289. data/lib/oci/object_storage/models/restore_objects_details.rb +25 -5
  290. data/lib/oci/object_storage/models/update_bucket_details.rb +60 -6
  291. data/lib/oci/object_storage/models/update_namespace_metadata_details.rb +14 -2
  292. data/lib/oci/object_storage/object_storage_client.rb +17 -5
  293. data/lib/oci/object_storage/transfer/multipart/multipart_object_assembler.rb +11 -3
  294. data/lib/oci/signer.rb +0 -8
  295. data/lib/oci/version.rb +1 -1
  296. data/lib/oci/waiter.rb +1 -0
  297. metadata +22 -2
@@ -25,7 +25,7 @@ module OCI
25
25
 
26
26
  # Initializes the object
27
27
  # @param [Hash] attributes Model attributes in the form of hash
28
- # @option attributes [Integer] :availableCoreCount The value to assign to the {#available_core_count} property
28
+ # @option attributes [Integer] :available_core_count The value to assign to the {#available_core_count} property
29
29
  # @option attributes [String] :name The value to assign to the {#name} property
30
30
  # @option attributes [String] :shape The value to assign to the {#shape} property
31
31
  def initialize(attributes = {})
@@ -38,6 +38,12 @@ module OCI
38
38
  self.available_core_count = attributes[:'availableCoreCount']
39
39
  end
40
40
 
41
+ raise 'You cannot provide both :availableCoreCount and :available_core_count' if attributes.key?(:'availableCoreCount') && attributes.key?(:'available_core_count')
42
+
43
+ if attributes[:'available_core_count']
44
+ self.available_core_count = attributes[:'available_core_count']
45
+ end
46
+
41
47
  if attributes[:'name']
42
48
  self.name = attributes[:'name']
43
49
  end
@@ -196,34 +196,34 @@ module OCI
196
196
 
197
197
  # Initializes the object
198
198
  # @param [Hash] attributes Model attributes in the form of hash
199
- # @option attributes [String] :availabilityDomain The value to assign to the {#availability_domain} property
200
- # @option attributes [String] :backupSubnetId The value to assign to the {#backup_subnet_id} property
201
- # @option attributes [String] :clusterName The value to assign to the {#cluster_name} property
202
- # @option attributes [String] :compartmentId The value to assign to the {#compartment_id} property
203
- # @option attributes [Integer] :cpuCoreCount The value to assign to the {#cpu_core_count} property
204
- # @option attributes [Integer] :dataStoragePercentage The value to assign to the {#data_storage_percentage} property
205
- # @option attributes [Integer] :dataStorageSizeInGBs The value to assign to the {#data_storage_size_in_gbs} property
206
- # @option attributes [String] :databaseEdition The value to assign to the {#database_edition} property
207
- # @option attributes [String] :diskRedundancy The value to assign to the {#disk_redundancy} property
208
- # @option attributes [String] :displayName The value to assign to the {#display_name} property
199
+ # @option attributes [String] :availability_domain The value to assign to the {#availability_domain} property
200
+ # @option attributes [String] :backup_subnet_id The value to assign to the {#backup_subnet_id} property
201
+ # @option attributes [String] :cluster_name The value to assign to the {#cluster_name} property
202
+ # @option attributes [String] :compartment_id The value to assign to the {#compartment_id} property
203
+ # @option attributes [Integer] :cpu_core_count The value to assign to the {#cpu_core_count} property
204
+ # @option attributes [Integer] :data_storage_percentage The value to assign to the {#data_storage_percentage} property
205
+ # @option attributes [Integer] :data_storage_size_in_gbs The value to assign to the {#data_storage_size_in_gbs} property
206
+ # @option attributes [String] :database_edition The value to assign to the {#database_edition} property
207
+ # @option attributes [String] :disk_redundancy The value to assign to the {#disk_redundancy} property
208
+ # @option attributes [String] :display_name The value to assign to the {#display_name} property
209
209
  # @option attributes [String] :domain The value to assign to the {#domain} property
210
210
  # @option attributes [String] :hostname The value to assign to the {#hostname} property
211
211
  # @option attributes [String] :id The value to assign to the {#id} property
212
- # @option attributes [String] :lastPatchHistoryEntryId The value to assign to the {#last_patch_history_entry_id} property
213
- # @option attributes [String] :licenseModel The value to assign to the {#license_model} property
214
- # @option attributes [String] :lifecycleDetails The value to assign to the {#lifecycle_details} property
215
- # @option attributes [String] :lifecycleState The value to assign to the {#lifecycle_state} property
216
- # @option attributes [Integer] :listenerPort The value to assign to the {#listener_port} property
217
- # @option attributes [Integer] :nodeCount The value to assign to the {#node_count} property
218
- # @option attributes [Integer] :recoStorageSizeInGB The value to assign to the {#reco_storage_size_in_gb} property
219
- # @option attributes [String] :scanDnsRecordId The value to assign to the {#scan_dns_record_id} property
220
- # @option attributes [Array<String>] :scanIpIds The value to assign to the {#scan_ip_ids} property
212
+ # @option attributes [String] :last_patch_history_entry_id The value to assign to the {#last_patch_history_entry_id} property
213
+ # @option attributes [String] :license_model The value to assign to the {#license_model} property
214
+ # @option attributes [String] :lifecycle_details The value to assign to the {#lifecycle_details} property
215
+ # @option attributes [String] :lifecycle_state The value to assign to the {#lifecycle_state} property
216
+ # @option attributes [Integer] :listener_port The value to assign to the {#listener_port} property
217
+ # @option attributes [Integer] :node_count The value to assign to the {#node_count} property
218
+ # @option attributes [Integer] :reco_storage_size_in_gb The value to assign to the {#reco_storage_size_in_gb} property
219
+ # @option attributes [String] :scan_dns_record_id The value to assign to the {#scan_dns_record_id} property
220
+ # @option attributes [Array<String>] :scan_ip_ids The value to assign to the {#scan_ip_ids} property
221
221
  # @option attributes [String] :shape The value to assign to the {#shape} property
222
- # @option attributes [Array<String>] :sshPublicKeys The value to assign to the {#ssh_public_keys} property
223
- # @option attributes [String] :subnetId The value to assign to the {#subnet_id} property
224
- # @option attributes [DateTime] :timeCreated The value to assign to the {#time_created} property
222
+ # @option attributes [Array<String>] :ssh_public_keys The value to assign to the {#ssh_public_keys} property
223
+ # @option attributes [String] :subnet_id The value to assign to the {#subnet_id} property
224
+ # @option attributes [DateTime] :time_created The value to assign to the {#time_created} property
225
225
  # @option attributes [String] :version The value to assign to the {#version} property
226
- # @option attributes [Array<String>] :vipIds The value to assign to the {#vip_ids} property
226
+ # @option attributes [Array<String>] :vip_ids The value to assign to the {#vip_ids} property
227
227
  def initialize(attributes = {})
228
228
  return unless attributes.is_a?(Hash)
229
229
 
@@ -234,42 +234,102 @@ module OCI
234
234
  self.availability_domain = attributes[:'availabilityDomain']
235
235
  end
236
236
 
237
+ raise 'You cannot provide both :availabilityDomain and :availability_domain' if attributes.key?(:'availabilityDomain') && attributes.key?(:'availability_domain')
238
+
239
+ if attributes[:'availability_domain']
240
+ self.availability_domain = attributes[:'availability_domain']
241
+ end
242
+
237
243
  if attributes[:'backupSubnetId']
238
244
  self.backup_subnet_id = attributes[:'backupSubnetId']
239
245
  end
240
246
 
247
+ raise 'You cannot provide both :backupSubnetId and :backup_subnet_id' if attributes.key?(:'backupSubnetId') && attributes.key?(:'backup_subnet_id')
248
+
249
+ if attributes[:'backup_subnet_id']
250
+ self.backup_subnet_id = attributes[:'backup_subnet_id']
251
+ end
252
+
241
253
  if attributes[:'clusterName']
242
254
  self.cluster_name = attributes[:'clusterName']
243
255
  end
244
256
 
257
+ raise 'You cannot provide both :clusterName and :cluster_name' if attributes.key?(:'clusterName') && attributes.key?(:'cluster_name')
258
+
259
+ if attributes[:'cluster_name']
260
+ self.cluster_name = attributes[:'cluster_name']
261
+ end
262
+
245
263
  if attributes[:'compartmentId']
246
264
  self.compartment_id = attributes[:'compartmentId']
247
265
  end
248
266
 
267
+ raise 'You cannot provide both :compartmentId and :compartment_id' if attributes.key?(:'compartmentId') && attributes.key?(:'compartment_id')
268
+
269
+ if attributes[:'compartment_id']
270
+ self.compartment_id = attributes[:'compartment_id']
271
+ end
272
+
249
273
  if attributes[:'cpuCoreCount']
250
274
  self.cpu_core_count = attributes[:'cpuCoreCount']
251
275
  end
252
276
 
277
+ raise 'You cannot provide both :cpuCoreCount and :cpu_core_count' if attributes.key?(:'cpuCoreCount') && attributes.key?(:'cpu_core_count')
278
+
279
+ if attributes[:'cpu_core_count']
280
+ self.cpu_core_count = attributes[:'cpu_core_count']
281
+ end
282
+
253
283
  if attributes[:'dataStoragePercentage']
254
284
  self.data_storage_percentage = attributes[:'dataStoragePercentage']
255
285
  end
256
286
 
287
+ raise 'You cannot provide both :dataStoragePercentage and :data_storage_percentage' if attributes.key?(:'dataStoragePercentage') && attributes.key?(:'data_storage_percentage')
288
+
289
+ if attributes[:'data_storage_percentage']
290
+ self.data_storage_percentage = attributes[:'data_storage_percentage']
291
+ end
292
+
257
293
  if attributes[:'dataStorageSizeInGBs']
258
294
  self.data_storage_size_in_gbs = attributes[:'dataStorageSizeInGBs']
259
295
  end
260
296
 
297
+ raise 'You cannot provide both :dataStorageSizeInGBs and :data_storage_size_in_gbs' if attributes.key?(:'dataStorageSizeInGBs') && attributes.key?(:'data_storage_size_in_gbs')
298
+
299
+ if attributes[:'data_storage_size_in_gbs']
300
+ self.data_storage_size_in_gbs = attributes[:'data_storage_size_in_gbs']
301
+ end
302
+
261
303
  if attributes[:'databaseEdition']
262
304
  self.database_edition = attributes[:'databaseEdition']
263
305
  end
264
306
 
307
+ raise 'You cannot provide both :databaseEdition and :database_edition' if attributes.key?(:'databaseEdition') && attributes.key?(:'database_edition')
308
+
309
+ if attributes[:'database_edition']
310
+ self.database_edition = attributes[:'database_edition']
311
+ end
312
+
265
313
  if attributes[:'diskRedundancy']
266
314
  self.disk_redundancy = attributes[:'diskRedundancy']
267
315
  end
268
316
 
317
+ raise 'You cannot provide both :diskRedundancy and :disk_redundancy' if attributes.key?(:'diskRedundancy') && attributes.key?(:'disk_redundancy')
318
+
319
+ if attributes[:'disk_redundancy']
320
+ self.disk_redundancy = attributes[:'disk_redundancy']
321
+ end
322
+
269
323
  if attributes[:'displayName']
270
324
  self.display_name = attributes[:'displayName']
271
325
  end
272
326
 
327
+ raise 'You cannot provide both :displayName and :display_name' if attributes.key?(:'displayName') && attributes.key?(:'display_name')
328
+
329
+ if attributes[:'display_name']
330
+ self.display_name = attributes[:'display_name']
331
+ end
332
+
273
333
  if attributes[:'domain']
274
334
  self.domain = attributes[:'domain']
275
335
  end
@@ -286,38 +346,92 @@ module OCI
286
346
  self.last_patch_history_entry_id = attributes[:'lastPatchHistoryEntryId']
287
347
  end
288
348
 
349
+ raise 'You cannot provide both :lastPatchHistoryEntryId and :last_patch_history_entry_id' if attributes.key?(:'lastPatchHistoryEntryId') && attributes.key?(:'last_patch_history_entry_id')
350
+
351
+ if attributes[:'last_patch_history_entry_id']
352
+ self.last_patch_history_entry_id = attributes[:'last_patch_history_entry_id']
353
+ end
354
+
289
355
  if attributes[:'licenseModel']
290
356
  self.license_model = attributes[:'licenseModel']
291
357
  end
292
358
 
359
+ raise 'You cannot provide both :licenseModel and :license_model' if attributes.key?(:'licenseModel') && attributes.key?(:'license_model')
360
+
361
+ if attributes[:'license_model']
362
+ self.license_model = attributes[:'license_model']
363
+ end
364
+
293
365
  if attributes[:'lifecycleDetails']
294
366
  self.lifecycle_details = attributes[:'lifecycleDetails']
295
367
  end
296
368
 
369
+ raise 'You cannot provide both :lifecycleDetails and :lifecycle_details' if attributes.key?(:'lifecycleDetails') && attributes.key?(:'lifecycle_details')
370
+
371
+ if attributes[:'lifecycle_details']
372
+ self.lifecycle_details = attributes[:'lifecycle_details']
373
+ end
374
+
297
375
  if attributes[:'lifecycleState']
298
376
  self.lifecycle_state = attributes[:'lifecycleState']
299
377
  end
300
378
 
379
+ raise 'You cannot provide both :lifecycleState and :lifecycle_state' if attributes.key?(:'lifecycleState') && attributes.key?(:'lifecycle_state')
380
+
381
+ if attributes[:'lifecycle_state']
382
+ self.lifecycle_state = attributes[:'lifecycle_state']
383
+ end
384
+
301
385
  if attributes[:'listenerPort']
302
386
  self.listener_port = attributes[:'listenerPort']
303
387
  end
304
388
 
389
+ raise 'You cannot provide both :listenerPort and :listener_port' if attributes.key?(:'listenerPort') && attributes.key?(:'listener_port')
390
+
391
+ if attributes[:'listener_port']
392
+ self.listener_port = attributes[:'listener_port']
393
+ end
394
+
305
395
  if attributes[:'nodeCount']
306
396
  self.node_count = attributes[:'nodeCount']
307
397
  end
308
398
 
399
+ raise 'You cannot provide both :nodeCount and :node_count' if attributes.key?(:'nodeCount') && attributes.key?(:'node_count')
400
+
401
+ if attributes[:'node_count']
402
+ self.node_count = attributes[:'node_count']
403
+ end
404
+
309
405
  if attributes[:'recoStorageSizeInGB']
310
406
  self.reco_storage_size_in_gb = attributes[:'recoStorageSizeInGB']
311
407
  end
312
408
 
409
+ raise 'You cannot provide both :recoStorageSizeInGB and :reco_storage_size_in_gb' if attributes.key?(:'recoStorageSizeInGB') && attributes.key?(:'reco_storage_size_in_gb')
410
+
411
+ if attributes[:'reco_storage_size_in_gb']
412
+ self.reco_storage_size_in_gb = attributes[:'reco_storage_size_in_gb']
413
+ end
414
+
313
415
  if attributes[:'scanDnsRecordId']
314
416
  self.scan_dns_record_id = attributes[:'scanDnsRecordId']
315
417
  end
316
418
 
419
+ raise 'You cannot provide both :scanDnsRecordId and :scan_dns_record_id' if attributes.key?(:'scanDnsRecordId') && attributes.key?(:'scan_dns_record_id')
420
+
421
+ if attributes[:'scan_dns_record_id']
422
+ self.scan_dns_record_id = attributes[:'scan_dns_record_id']
423
+ end
424
+
317
425
  if attributes[:'scanIpIds']
318
426
  self.scan_ip_ids = attributes[:'scanIpIds']
319
427
  end
320
428
 
429
+ raise 'You cannot provide both :scanIpIds and :scan_ip_ids' if attributes.key?(:'scanIpIds') && attributes.key?(:'scan_ip_ids')
430
+
431
+ if attributes[:'scan_ip_ids']
432
+ self.scan_ip_ids = attributes[:'scan_ip_ids']
433
+ end
434
+
321
435
  if attributes[:'shape']
322
436
  self.shape = attributes[:'shape']
323
437
  end
@@ -326,14 +440,32 @@ module OCI
326
440
  self.ssh_public_keys = attributes[:'sshPublicKeys']
327
441
  end
328
442
 
443
+ raise 'You cannot provide both :sshPublicKeys and :ssh_public_keys' if attributes.key?(:'sshPublicKeys') && attributes.key?(:'ssh_public_keys')
444
+
445
+ if attributes[:'ssh_public_keys']
446
+ self.ssh_public_keys = attributes[:'ssh_public_keys']
447
+ end
448
+
329
449
  if attributes[:'subnetId']
330
450
  self.subnet_id = attributes[:'subnetId']
331
451
  end
332
452
 
453
+ raise 'You cannot provide both :subnetId and :subnet_id' if attributes.key?(:'subnetId') && attributes.key?(:'subnet_id')
454
+
455
+ if attributes[:'subnet_id']
456
+ self.subnet_id = attributes[:'subnet_id']
457
+ end
458
+
333
459
  if attributes[:'timeCreated']
334
460
  self.time_created = attributes[:'timeCreated']
335
461
  end
336
462
 
463
+ raise 'You cannot provide both :timeCreated and :time_created' if attributes.key?(:'timeCreated') && attributes.key?(:'time_created')
464
+
465
+ if attributes[:'time_created']
466
+ self.time_created = attributes[:'time_created']
467
+ end
468
+
337
469
  if attributes[:'version']
338
470
  self.version = attributes[:'version']
339
471
  end
@@ -342,6 +474,12 @@ module OCI
342
474
  self.vip_ids = attributes[:'vipIds']
343
475
  end
344
476
 
477
+ raise 'You cannot provide both :vipIds and :vip_ids' if attributes.key?(:'vipIds') && attributes.key?(:'vip_ids')
478
+
479
+ if attributes[:'vip_ids']
480
+ self.vip_ids = attributes[:'vip_ids']
481
+ end
482
+
345
483
  end
346
484
 
347
485
  # Custom attribute writer method checking allowed values (enum).
@@ -19,7 +19,7 @@ module OCI
19
19
 
20
20
  # Initializes the object
21
21
  # @param [Hash] attributes Model attributes in the form of hash
22
- # @option attributes [BOOLEAN] :supportsPdb The value to assign to the {#supports_pdb} property
22
+ # @option attributes [BOOLEAN] :supports_pdb The value to assign to the {#supports_pdb} property
23
23
  # @option attributes [String] :version The value to assign to the {#version} property
24
24
  def initialize(attributes = {})
25
25
  return unless attributes.is_a?(Hash)
@@ -31,6 +31,12 @@ module OCI
31
31
  self.supports_pdb = attributes[:'supportsPdb']
32
32
  end
33
33
 
34
+ raise 'You cannot provide both :supportsPdb and :supports_pdb' if attributes.key?(:'supportsPdb') && attributes.key?(:'supports_pdb')
35
+
36
+ unless attributes[:'supports_pdb'].nil?
37
+ self.supports_pdb = attributes[:'supports_pdb']
38
+ end
39
+
34
40
  if attributes[:'version']
35
41
  self.version = attributes[:'version']
36
42
  end
@@ -13,7 +13,7 @@ module OCI
13
13
 
14
14
  # Initializes the object
15
15
  # @param [Hash] attributes Model attributes in the form of hash
16
- # @option attributes [String] :databaseAdminPassword The value to assign to the {#database_admin_password} property
16
+ # @option attributes [String] :database_admin_password The value to assign to the {#database_admin_password} property
17
17
  def initialize(attributes = {})
18
18
  return unless attributes.is_a?(Hash)
19
19
 
@@ -24,6 +24,12 @@ module OCI
24
24
  self.database_admin_password = attributes[:'databaseAdminPassword']
25
25
  end
26
26
 
27
+ raise 'You cannot provide both :databaseAdminPassword and :database_admin_password' if attributes.key?(:'databaseAdminPassword') && attributes.key?(:'database_admin_password')
28
+
29
+ if attributes[:'database_admin_password']
30
+ self.database_admin_password = attributes[:'database_admin_password']
31
+ end
32
+
27
33
  end
28
34
 
29
35
  # Checks equality by comparing each attribute.
@@ -137,24 +137,24 @@ module OCI
137
137
 
138
138
  # Initializes the object
139
139
  # @param [Hash] attributes Model attributes in the form of hash
140
- # @option attributes [String] :availabilityDomain The value to assign to the {#availability_domain} property
141
- # @option attributes [String] :backupSubnetId The value to assign to the {#backup_subnet_id} property
142
- # @option attributes [String] :clusterName The value to assign to the {#cluster_name} property
143
- # @option attributes [String] :compartmentId The value to assign to the {#compartment_id} property
144
- # @option attributes [Integer] :cpuCoreCount The value to assign to the {#cpu_core_count} property
145
- # @option attributes [Integer] :dataStoragePercentage The value to assign to the {#data_storage_percentage} property
146
- # @option attributes [String] :databaseEdition The value to assign to the {#database_edition} property
147
- # @option attributes [OCI::Database::Models::CreateDbHomeDetails] :dbHome The value to assign to the {#db_home} property
148
- # @option attributes [String] :diskRedundancy The value to assign to the {#disk_redundancy} property
149
- # @option attributes [String] :displayName The value to assign to the {#display_name} property
140
+ # @option attributes [String] :availability_domain The value to assign to the {#availability_domain} property
141
+ # @option attributes [String] :backup_subnet_id The value to assign to the {#backup_subnet_id} property
142
+ # @option attributes [String] :cluster_name The value to assign to the {#cluster_name} property
143
+ # @option attributes [String] :compartment_id The value to assign to the {#compartment_id} property
144
+ # @option attributes [Integer] :cpu_core_count The value to assign to the {#cpu_core_count} property
145
+ # @option attributes [Integer] :data_storage_percentage The value to assign to the {#data_storage_percentage} property
146
+ # @option attributes [String] :database_edition The value to assign to the {#database_edition} property
147
+ # @option attributes [OCI::Database::Models::CreateDbHomeDetails] :db_home The value to assign to the {#db_home} property
148
+ # @option attributes [String] :disk_redundancy The value to assign to the {#disk_redundancy} property
149
+ # @option attributes [String] :display_name The value to assign to the {#display_name} property
150
150
  # @option attributes [String] :domain The value to assign to the {#domain} property
151
151
  # @option attributes [String] :hostname The value to assign to the {#hostname} property
152
- # @option attributes [Integer] :initialDataStorageSizeInGB The value to assign to the {#initial_data_storage_size_in_gb} property
153
- # @option attributes [String] :licenseModel The value to assign to the {#license_model} property
154
- # @option attributes [Integer] :nodeCount The value to assign to the {#node_count} property
152
+ # @option attributes [Integer] :initial_data_storage_size_in_gb The value to assign to the {#initial_data_storage_size_in_gb} property
153
+ # @option attributes [String] :license_model The value to assign to the {#license_model} property
154
+ # @option attributes [Integer] :node_count The value to assign to the {#node_count} property
155
155
  # @option attributes [String] :shape The value to assign to the {#shape} property
156
- # @option attributes [Array<String>] :sshPublicKeys The value to assign to the {#ssh_public_keys} property
157
- # @option attributes [String] :subnetId The value to assign to the {#subnet_id} property
156
+ # @option attributes [Array<String>] :ssh_public_keys The value to assign to the {#ssh_public_keys} property
157
+ # @option attributes [String] :subnet_id The value to assign to the {#subnet_id} property
158
158
  def initialize(attributes = {})
159
159
  return unless attributes.is_a?(Hash)
160
160
 
@@ -165,42 +165,102 @@ module OCI
165
165
  self.availability_domain = attributes[:'availabilityDomain']
166
166
  end
167
167
 
168
+ raise 'You cannot provide both :availabilityDomain and :availability_domain' if attributes.key?(:'availabilityDomain') && attributes.key?(:'availability_domain')
169
+
170
+ if attributes[:'availability_domain']
171
+ self.availability_domain = attributes[:'availability_domain']
172
+ end
173
+
168
174
  if attributes[:'backupSubnetId']
169
175
  self.backup_subnet_id = attributes[:'backupSubnetId']
170
176
  end
171
177
 
178
+ raise 'You cannot provide both :backupSubnetId and :backup_subnet_id' if attributes.key?(:'backupSubnetId') && attributes.key?(:'backup_subnet_id')
179
+
180
+ if attributes[:'backup_subnet_id']
181
+ self.backup_subnet_id = attributes[:'backup_subnet_id']
182
+ end
183
+
172
184
  if attributes[:'clusterName']
173
185
  self.cluster_name = attributes[:'clusterName']
174
186
  end
175
187
 
188
+ raise 'You cannot provide both :clusterName and :cluster_name' if attributes.key?(:'clusterName') && attributes.key?(:'cluster_name')
189
+
190
+ if attributes[:'cluster_name']
191
+ self.cluster_name = attributes[:'cluster_name']
192
+ end
193
+
176
194
  if attributes[:'compartmentId']
177
195
  self.compartment_id = attributes[:'compartmentId']
178
196
  end
179
197
 
198
+ raise 'You cannot provide both :compartmentId and :compartment_id' if attributes.key?(:'compartmentId') && attributes.key?(:'compartment_id')
199
+
200
+ if attributes[:'compartment_id']
201
+ self.compartment_id = attributes[:'compartment_id']
202
+ end
203
+
180
204
  if attributes[:'cpuCoreCount']
181
205
  self.cpu_core_count = attributes[:'cpuCoreCount']
182
206
  end
183
207
 
208
+ raise 'You cannot provide both :cpuCoreCount and :cpu_core_count' if attributes.key?(:'cpuCoreCount') && attributes.key?(:'cpu_core_count')
209
+
210
+ if attributes[:'cpu_core_count']
211
+ self.cpu_core_count = attributes[:'cpu_core_count']
212
+ end
213
+
184
214
  if attributes[:'dataStoragePercentage']
185
215
  self.data_storage_percentage = attributes[:'dataStoragePercentage']
186
216
  end
187
217
 
218
+ raise 'You cannot provide both :dataStoragePercentage and :data_storage_percentage' if attributes.key?(:'dataStoragePercentage') && attributes.key?(:'data_storage_percentage')
219
+
220
+ if attributes[:'data_storage_percentage']
221
+ self.data_storage_percentage = attributes[:'data_storage_percentage']
222
+ end
223
+
188
224
  if attributes[:'databaseEdition']
189
225
  self.database_edition = attributes[:'databaseEdition']
190
226
  end
191
227
 
228
+ raise 'You cannot provide both :databaseEdition and :database_edition' if attributes.key?(:'databaseEdition') && attributes.key?(:'database_edition')
229
+
230
+ if attributes[:'database_edition']
231
+ self.database_edition = attributes[:'database_edition']
232
+ end
233
+
192
234
  if attributes[:'dbHome']
193
235
  self.db_home = attributes[:'dbHome']
194
236
  end
195
237
 
238
+ raise 'You cannot provide both :dbHome and :db_home' if attributes.key?(:'dbHome') && attributes.key?(:'db_home')
239
+
240
+ if attributes[:'db_home']
241
+ self.db_home = attributes[:'db_home']
242
+ end
243
+
196
244
  if attributes[:'diskRedundancy']
197
245
  self.disk_redundancy = attributes[:'diskRedundancy']
198
246
  end
199
247
 
248
+ raise 'You cannot provide both :diskRedundancy and :disk_redundancy' if attributes.key?(:'diskRedundancy') && attributes.key?(:'disk_redundancy')
249
+
250
+ if attributes[:'disk_redundancy']
251
+ self.disk_redundancy = attributes[:'disk_redundancy']
252
+ end
253
+
200
254
  if attributes[:'displayName']
201
255
  self.display_name = attributes[:'displayName']
202
256
  end
203
257
 
258
+ raise 'You cannot provide both :displayName and :display_name' if attributes.key?(:'displayName') && attributes.key?(:'display_name')
259
+
260
+ if attributes[:'display_name']
261
+ self.display_name = attributes[:'display_name']
262
+ end
263
+
204
264
  if attributes[:'domain']
205
265
  self.domain = attributes[:'domain']
206
266
  end
@@ -213,14 +273,32 @@ module OCI
213
273
  self.initial_data_storage_size_in_gb = attributes[:'initialDataStorageSizeInGB']
214
274
  end
215
275
 
276
+ raise 'You cannot provide both :initialDataStorageSizeInGB and :initial_data_storage_size_in_gb' if attributes.key?(:'initialDataStorageSizeInGB') && attributes.key?(:'initial_data_storage_size_in_gb')
277
+
278
+ if attributes[:'initial_data_storage_size_in_gb']
279
+ self.initial_data_storage_size_in_gb = attributes[:'initial_data_storage_size_in_gb']
280
+ end
281
+
216
282
  if attributes[:'licenseModel']
217
283
  self.license_model = attributes[:'licenseModel']
218
284
  end
219
285
 
286
+ raise 'You cannot provide both :licenseModel and :license_model' if attributes.key?(:'licenseModel') && attributes.key?(:'license_model')
287
+
288
+ if attributes[:'license_model']
289
+ self.license_model = attributes[:'license_model']
290
+ end
291
+
220
292
  if attributes[:'nodeCount']
221
293
  self.node_count = attributes[:'nodeCount']
222
294
  end
223
295
 
296
+ raise 'You cannot provide both :nodeCount and :node_count' if attributes.key?(:'nodeCount') && attributes.key?(:'node_count')
297
+
298
+ if attributes[:'node_count']
299
+ self.node_count = attributes[:'node_count']
300
+ end
301
+
224
302
  if attributes[:'shape']
225
303
  self.shape = attributes[:'shape']
226
304
  end
@@ -229,10 +307,22 @@ module OCI
229
307
  self.ssh_public_keys = attributes[:'sshPublicKeys']
230
308
  end
231
309
 
310
+ raise 'You cannot provide both :sshPublicKeys and :ssh_public_keys' if attributes.key?(:'sshPublicKeys') && attributes.key?(:'ssh_public_keys')
311
+
312
+ if attributes[:'ssh_public_keys']
313
+ self.ssh_public_keys = attributes[:'ssh_public_keys']
314
+ end
315
+
232
316
  if attributes[:'subnetId']
233
317
  self.subnet_id = attributes[:'subnetId']
234
318
  end
235
319
 
320
+ raise 'You cannot provide both :subnetId and :subnet_id' if attributes.key?(:'subnetId') && attributes.key?(:'subnet_id')
321
+
322
+ if attributes[:'subnet_id']
323
+ self.subnet_id = attributes[:'subnet_id']
324
+ end
325
+
236
326
  end
237
327
 
238
328
  # Custom attribute writer method checking allowed values (enum).