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
@@ -100,19 +100,19 @@ module OCI
100
100
 
101
101
  # Initializes the object
102
102
  # @param [Hash] attributes Model attributes in the form of hash
103
- # @option attributes [Hash<String, OCI::LoadBalancer::Models::BackendSet>] :backendSets The value to assign to the {#backend_sets} property
103
+ # @option attributes [Hash<String, OCI::LoadBalancer::Models::BackendSet>] :backend_sets The value to assign to the {#backend_sets} property
104
104
  # @option attributes [Hash<String, OCI::LoadBalancer::Models::Certificate>] :certificates The value to assign to the {#certificates} property
105
- # @option attributes [String] :compartmentId The value to assign to the {#compartment_id} property
106
- # @option attributes [String] :displayName The value to assign to the {#display_name} property
105
+ # @option attributes [String] :compartment_id The value to assign to the {#compartment_id} property
106
+ # @option attributes [String] :display_name The value to assign to the {#display_name} property
107
107
  # @option attributes [String] :id The value to assign to the {#id} property
108
- # @option attributes [Array<OCI::LoadBalancer::Models::IpAddress>] :ipAddresses The value to assign to the {#ip_addresses} property
109
- # @option attributes [BOOLEAN] :isPrivate The value to assign to the {#is_private} property
110
- # @option attributes [String] :lifecycleState The value to assign to the {#lifecycle_state} property
108
+ # @option attributes [Array<OCI::LoadBalancer::Models::IpAddress>] :ip_addresses The value to assign to the {#ip_addresses} property
109
+ # @option attributes [BOOLEAN] :is_private The value to assign to the {#is_private} property
110
+ # @option attributes [String] :lifecycle_state The value to assign to the {#lifecycle_state} property
111
111
  # @option attributes [Hash<String, OCI::LoadBalancer::Models::Listener>] :listeners The value to assign to the {#listeners} property
112
- # @option attributes [Hash<String, OCI::LoadBalancer::Models::PathRouteSet>] :pathRouteSets The value to assign to the {#path_route_sets} property
113
- # @option attributes [String] :shapeName The value to assign to the {#shape_name} property
114
- # @option attributes [Array<String>] :subnetIds The value to assign to the {#subnet_ids} property
115
- # @option attributes [DateTime] :timeCreated The value to assign to the {#time_created} property
112
+ # @option attributes [Hash<String, OCI::LoadBalancer::Models::PathRouteSet>] :path_route_sets The value to assign to the {#path_route_sets} property
113
+ # @option attributes [String] :shape_name The value to assign to the {#shape_name} property
114
+ # @option attributes [Array<String>] :subnet_ids The value to assign to the {#subnet_ids} property
115
+ # @option attributes [DateTime] :time_created The value to assign to the {#time_created} property
116
116
  def initialize(attributes = {})
117
117
  return unless attributes.is_a?(Hash)
118
118
 
@@ -123,6 +123,12 @@ module OCI
123
123
  self.backend_sets = attributes[:'backendSets']
124
124
  end
125
125
 
126
+ raise 'You cannot provide both :backendSets and :backend_sets' if attributes.key?(:'backendSets') && attributes.key?(:'backend_sets')
127
+
128
+ if attributes[:'backend_sets']
129
+ self.backend_sets = attributes[:'backend_sets']
130
+ end
131
+
126
132
  if attributes[:'certificates']
127
133
  self.certificates = attributes[:'certificates']
128
134
  end
@@ -131,10 +137,22 @@ module OCI
131
137
  self.compartment_id = attributes[:'compartmentId']
132
138
  end
133
139
 
140
+ raise 'You cannot provide both :compartmentId and :compartment_id' if attributes.key?(:'compartmentId') && attributes.key?(:'compartment_id')
141
+
142
+ if attributes[:'compartment_id']
143
+ self.compartment_id = attributes[:'compartment_id']
144
+ end
145
+
134
146
  if attributes[:'displayName']
135
147
  self.display_name = attributes[:'displayName']
136
148
  end
137
149
 
150
+ raise 'You cannot provide both :displayName and :display_name' if attributes.key?(:'displayName') && attributes.key?(:'display_name')
151
+
152
+ if attributes[:'display_name']
153
+ self.display_name = attributes[:'display_name']
154
+ end
155
+
138
156
  if attributes[:'id']
139
157
  self.id = attributes[:'id']
140
158
  end
@@ -143,14 +161,32 @@ module OCI
143
161
  self.ip_addresses = attributes[:'ipAddresses']
144
162
  end
145
163
 
164
+ raise 'You cannot provide both :ipAddresses and :ip_addresses' if attributes.key?(:'ipAddresses') && attributes.key?(:'ip_addresses')
165
+
166
+ if attributes[:'ip_addresses']
167
+ self.ip_addresses = attributes[:'ip_addresses']
168
+ end
169
+
146
170
  unless attributes[:'isPrivate'].nil?
147
171
  self.is_private = attributes[:'isPrivate']
148
172
  end
149
173
 
174
+ raise 'You cannot provide both :isPrivate and :is_private' if attributes.key?(:'isPrivate') && attributes.key?(:'is_private')
175
+
176
+ unless attributes[:'is_private'].nil?
177
+ self.is_private = attributes[:'is_private']
178
+ end
179
+
150
180
  if attributes[:'lifecycleState']
151
181
  self.lifecycle_state = attributes[:'lifecycleState']
152
182
  end
153
183
 
184
+ raise 'You cannot provide both :lifecycleState and :lifecycle_state' if attributes.key?(:'lifecycleState') && attributes.key?(:'lifecycle_state')
185
+
186
+ if attributes[:'lifecycle_state']
187
+ self.lifecycle_state = attributes[:'lifecycle_state']
188
+ end
189
+
154
190
  if attributes[:'listeners']
155
191
  self.listeners = attributes[:'listeners']
156
192
  end
@@ -159,18 +195,42 @@ module OCI
159
195
  self.path_route_sets = attributes[:'pathRouteSets']
160
196
  end
161
197
 
198
+ raise 'You cannot provide both :pathRouteSets and :path_route_sets' if attributes.key?(:'pathRouteSets') && attributes.key?(:'path_route_sets')
199
+
200
+ if attributes[:'path_route_sets']
201
+ self.path_route_sets = attributes[:'path_route_sets']
202
+ end
203
+
162
204
  if attributes[:'shapeName']
163
205
  self.shape_name = attributes[:'shapeName']
164
206
  end
165
207
 
208
+ raise 'You cannot provide both :shapeName and :shape_name' if attributes.key?(:'shapeName') && attributes.key?(:'shape_name')
209
+
210
+ if attributes[:'shape_name']
211
+ self.shape_name = attributes[:'shape_name']
212
+ end
213
+
166
214
  if attributes[:'subnetIds']
167
215
  self.subnet_ids = attributes[:'subnetIds']
168
216
  end
169
217
 
218
+ raise 'You cannot provide both :subnetIds and :subnet_ids' if attributes.key?(:'subnetIds') && attributes.key?(:'subnet_ids')
219
+
220
+ if attributes[:'subnet_ids']
221
+ self.subnet_ids = attributes[:'subnet_ids']
222
+ end
223
+
170
224
  if attributes[:'timeCreated']
171
225
  self.time_created = attributes[:'timeCreated']
172
226
  end
173
227
 
228
+ raise 'You cannot provide both :timeCreated and :time_created' if attributes.key?(:'timeCreated') && attributes.key?(:'time_created')
229
+
230
+ if attributes[:'time_created']
231
+ self.time_created = attributes[:'time_created']
232
+ end
233
+
174
234
  end
175
235
 
176
236
  # Custom attribute writer method checking allowed values (enum).
@@ -73,11 +73,11 @@ module OCI
73
73
 
74
74
  # Initializes the object
75
75
  # @param [Hash] attributes Model attributes in the form of hash
76
- # @option attributes [Array<String>] :criticalStateBackendSetNames The value to assign to the {#critical_state_backend_set_names} property
76
+ # @option attributes [Array<String>] :critical_state_backend_set_names The value to assign to the {#critical_state_backend_set_names} property
77
77
  # @option attributes [String] :status The value to assign to the {#status} property
78
- # @option attributes [Integer] :totalBackendSetCount The value to assign to the {#total_backend_set_count} property
79
- # @option attributes [Array<String>] :unknownStateBackendSetNames The value to assign to the {#unknown_state_backend_set_names} property
80
- # @option attributes [Array<String>] :warningStateBackendSetNames The value to assign to the {#warning_state_backend_set_names} property
78
+ # @option attributes [Integer] :total_backend_set_count The value to assign to the {#total_backend_set_count} property
79
+ # @option attributes [Array<String>] :unknown_state_backend_set_names The value to assign to the {#unknown_state_backend_set_names} property
80
+ # @option attributes [Array<String>] :warning_state_backend_set_names The value to assign to the {#warning_state_backend_set_names} property
81
81
  def initialize(attributes = {})
82
82
  return unless attributes.is_a?(Hash)
83
83
 
@@ -88,6 +88,12 @@ module OCI
88
88
  self.critical_state_backend_set_names = attributes[:'criticalStateBackendSetNames']
89
89
  end
90
90
 
91
+ raise 'You cannot provide both :criticalStateBackendSetNames and :critical_state_backend_set_names' if attributes.key?(:'criticalStateBackendSetNames') && attributes.key?(:'critical_state_backend_set_names')
92
+
93
+ if attributes[:'critical_state_backend_set_names']
94
+ self.critical_state_backend_set_names = attributes[:'critical_state_backend_set_names']
95
+ end
96
+
91
97
  if attributes[:'status']
92
98
  self.status = attributes[:'status']
93
99
  end
@@ -96,14 +102,32 @@ module OCI
96
102
  self.total_backend_set_count = attributes[:'totalBackendSetCount']
97
103
  end
98
104
 
105
+ raise 'You cannot provide both :totalBackendSetCount and :total_backend_set_count' if attributes.key?(:'totalBackendSetCount') && attributes.key?(:'total_backend_set_count')
106
+
107
+ if attributes[:'total_backend_set_count']
108
+ self.total_backend_set_count = attributes[:'total_backend_set_count']
109
+ end
110
+
99
111
  if attributes[:'unknownStateBackendSetNames']
100
112
  self.unknown_state_backend_set_names = attributes[:'unknownStateBackendSetNames']
101
113
  end
102
114
 
115
+ raise 'You cannot provide both :unknownStateBackendSetNames and :unknown_state_backend_set_names' if attributes.key?(:'unknownStateBackendSetNames') && attributes.key?(:'unknown_state_backend_set_names')
116
+
117
+ if attributes[:'unknown_state_backend_set_names']
118
+ self.unknown_state_backend_set_names = attributes[:'unknown_state_backend_set_names']
119
+ end
120
+
103
121
  if attributes[:'warningStateBackendSetNames']
104
122
  self.warning_state_backend_set_names = attributes[:'warningStateBackendSetNames']
105
123
  end
106
124
 
125
+ raise 'You cannot provide both :warningStateBackendSetNames and :warning_state_backend_set_names' if attributes.key?(:'warningStateBackendSetNames') && attributes.key?(:'warning_state_backend_set_names')
126
+
127
+ if attributes[:'warning_state_backend_set_names']
128
+ self.warning_state_backend_set_names = attributes[:'warning_state_backend_set_names']
129
+ end
130
+
107
131
  end
108
132
 
109
133
  # Custom attribute writer method checking allowed values (enum).
@@ -43,7 +43,7 @@ module OCI
43
43
 
44
44
  # Initializes the object
45
45
  # @param [Hash] attributes Model attributes in the form of hash
46
- # @option attributes [String] :loadBalancerId The value to assign to the {#load_balancer_id} property
46
+ # @option attributes [String] :load_balancer_id The value to assign to the {#load_balancer_id} property
47
47
  # @option attributes [String] :status The value to assign to the {#status} property
48
48
  def initialize(attributes = {})
49
49
  return unless attributes.is_a?(Hash)
@@ -55,6 +55,12 @@ module OCI
55
55
  self.load_balancer_id = attributes[:'loadBalancerId']
56
56
  end
57
57
 
58
+ raise 'You cannot provide both :loadBalancerId and :load_balancer_id' if attributes.key?(:'loadBalancerId') && attributes.key?(:'load_balancer_id')
59
+
60
+ if attributes[:'load_balancer_id']
61
+ self.load_balancer_id = attributes[:'load_balancer_id']
62
+ end
63
+
58
64
  if attributes[:'status']
59
65
  self.status = attributes[:'status']
60
66
  end
@@ -33,7 +33,7 @@ module OCI
33
33
 
34
34
  # Initializes the object
35
35
  # @param [Hash] attributes Model attributes in the form of hash
36
- # @option attributes [String] :matchType The value to assign to the {#match_type} property
36
+ # @option attributes [String] :match_type The value to assign to the {#match_type} property
37
37
  def initialize(attributes = {})
38
38
  return unless attributes.is_a?(Hash)
39
39
 
@@ -44,6 +44,12 @@ module OCI
44
44
  self.match_type = attributes[:'matchType']
45
45
  end
46
46
 
47
+ raise 'You cannot provide both :matchType and :match_type' if attributes.key?(:'matchType') && attributes.key?(:'match_type')
48
+
49
+ if attributes[:'match_type']
50
+ self.match_type = attributes[:'match_type']
51
+ end
52
+
47
53
  end
48
54
 
49
55
  # Custom attribute writer method checking allowed values (enum).
@@ -35,9 +35,9 @@ module OCI
35
35
 
36
36
  # Initializes the object
37
37
  # @param [Hash] attributes Model attributes in the form of hash
38
- # @option attributes [String] :backendSetName The value to assign to the {#backend_set_name} property
38
+ # @option attributes [String] :backend_set_name The value to assign to the {#backend_set_name} property
39
39
  # @option attributes [String] :path The value to assign to the {#path} property
40
- # @option attributes [OCI::LoadBalancer::Models::PathMatchType] :pathMatchType The value to assign to the {#path_match_type} property
40
+ # @option attributes [OCI::LoadBalancer::Models::PathMatchType] :path_match_type The value to assign to the {#path_match_type} property
41
41
  def initialize(attributes = {})
42
42
  return unless attributes.is_a?(Hash)
43
43
 
@@ -48,6 +48,12 @@ module OCI
48
48
  self.backend_set_name = attributes[:'backendSetName']
49
49
  end
50
50
 
51
+ raise 'You cannot provide both :backendSetName and :backend_set_name' if attributes.key?(:'backendSetName') && attributes.key?(:'backend_set_name')
52
+
53
+ if attributes[:'backend_set_name']
54
+ self.backend_set_name = attributes[:'backend_set_name']
55
+ end
56
+
51
57
  if attributes[:'path']
52
58
  self.path = attributes[:'path']
53
59
  end
@@ -56,6 +62,12 @@ module OCI
56
62
  self.path_match_type = attributes[:'pathMatchType']
57
63
  end
58
64
 
65
+ raise 'You cannot provide both :pathMatchType and :path_match_type' if attributes.key?(:'pathMatchType') && attributes.key?(:'path_match_type')
66
+
67
+ if attributes[:'path_match_type']
68
+ self.path_match_type = attributes[:'path_match_type']
69
+ end
70
+
59
71
  end
60
72
 
61
73
  # Checks equality by comparing each attribute.
@@ -22,7 +22,7 @@ module OCI
22
22
  # Initializes the object
23
23
  # @param [Hash] attributes Model attributes in the form of hash
24
24
  # @option attributes [String] :name The value to assign to the {#name} property
25
- # @option attributes [Array<OCI::LoadBalancer::Models::PathRoute>] :pathRoutes The value to assign to the {#path_routes} property
25
+ # @option attributes [Array<OCI::LoadBalancer::Models::PathRoute>] :path_routes The value to assign to the {#path_routes} property
26
26
  def initialize(attributes = {})
27
27
  return unless attributes.is_a?(Hash)
28
28
 
@@ -37,6 +37,12 @@ module OCI
37
37
  self.path_routes = attributes[:'pathRoutes']
38
38
  end
39
39
 
40
+ raise 'You cannot provide both :pathRoutes and :path_routes' if attributes.key?(:'pathRoutes') && attributes.key?(:'path_routes')
41
+
42
+ if attributes[:'path_routes']
43
+ self.path_routes = attributes[:'path_routes']
44
+ end
45
+
40
46
  end
41
47
 
42
48
  # Checks equality by comparing each attribute.
@@ -12,7 +12,7 @@ module OCI
12
12
 
13
13
  # Initializes the object
14
14
  # @param [Hash] attributes Model attributes in the form of hash
15
- # @option attributes [Array<OCI::LoadBalancer::Models::PathRoute>] :pathRoutes The value to assign to the {#path_routes} property
15
+ # @option attributes [Array<OCI::LoadBalancer::Models::PathRoute>] :path_routes The value to assign to the {#path_routes} property
16
16
  def initialize(attributes = {})
17
17
  return unless attributes.is_a?(Hash)
18
18
 
@@ -23,6 +23,12 @@ module OCI
23
23
  self.path_routes = attributes[:'pathRoutes']
24
24
  end
25
25
 
26
+ raise 'You cannot provide both :pathRoutes and :path_routes' if attributes.key?(:'pathRoutes') && attributes.key?(:'path_routes')
27
+
28
+ if attributes[:'path_routes']
29
+ self.path_routes = attributes[:'path_routes']
30
+ end
31
+
26
32
  end
27
33
 
28
34
  # Checks equality by comparing each attribute.
@@ -33,8 +33,8 @@ module OCI
33
33
 
34
34
  # Initializes the object
35
35
  # @param [Hash] attributes Model attributes in the form of hash
36
- # @option attributes [String] :cookieName The value to assign to the {#cookie_name} property
37
- # @option attributes [BOOLEAN] :disableFallback The value to assign to the {#disable_fallback} property
36
+ # @option attributes [String] :cookie_name The value to assign to the {#cookie_name} property
37
+ # @option attributes [BOOLEAN] :disable_fallback The value to assign to the {#disable_fallback} property
38
38
  def initialize(attributes = {})
39
39
  return unless attributes.is_a?(Hash)
40
40
 
@@ -45,12 +45,26 @@ module OCI
45
45
  self.cookie_name = attributes[:'cookieName']
46
46
  end
47
47
 
48
+ raise 'You cannot provide both :cookieName and :cookie_name' if attributes.key?(:'cookieName') && attributes.key?(:'cookie_name')
49
+
50
+ if attributes[:'cookie_name']
51
+ self.cookie_name = attributes[:'cookie_name']
52
+ end
53
+
48
54
  unless attributes[:'disableFallback'].nil?
49
55
  self.disable_fallback = attributes[:'disableFallback']
50
56
  else
51
57
  self.disable_fallback = false
52
58
  end
53
59
 
60
+ raise 'You cannot provide both :disableFallback and :disable_fallback' if attributes.key?(:'disableFallback') && attributes.key?(:'disable_fallback')
61
+
62
+ unless attributes[:'disable_fallback'].nil?
63
+ self.disable_fallback = attributes[:'disable_fallback']
64
+ else
65
+ self.disable_fallback = false
66
+ end
67
+
54
68
  end
55
69
 
56
70
  # Checks equality by comparing each attribute.
@@ -34,9 +34,9 @@ module OCI
34
34
 
35
35
  # Initializes the object
36
36
  # @param [Hash] attributes Model attributes in the form of hash
37
- # @option attributes [String] :certificateName The value to assign to the {#certificate_name} property
38
- # @option attributes [Integer] :verifyDepth The value to assign to the {#verify_depth} property
39
- # @option attributes [BOOLEAN] :verifyPeerCertificate The value to assign to the {#verify_peer_certificate} property
37
+ # @option attributes [String] :certificate_name The value to assign to the {#certificate_name} property
38
+ # @option attributes [Integer] :verify_depth The value to assign to the {#verify_depth} property
39
+ # @option attributes [BOOLEAN] :verify_peer_certificate The value to assign to the {#verify_peer_certificate} property
40
40
  def initialize(attributes = {})
41
41
  return unless attributes.is_a?(Hash)
42
42
 
@@ -47,16 +47,36 @@ module OCI
47
47
  self.certificate_name = attributes[:'certificateName']
48
48
  end
49
49
 
50
+ raise 'You cannot provide both :certificateName and :certificate_name' if attributes.key?(:'certificateName') && attributes.key?(:'certificate_name')
51
+
52
+ if attributes[:'certificate_name']
53
+ self.certificate_name = attributes[:'certificate_name']
54
+ end
55
+
50
56
  if attributes[:'verifyDepth']
51
57
  self.verify_depth = attributes[:'verifyDepth']
52
58
  end
53
59
 
60
+ raise 'You cannot provide both :verifyDepth and :verify_depth' if attributes.key?(:'verifyDepth') && attributes.key?(:'verify_depth')
61
+
62
+ if attributes[:'verify_depth']
63
+ self.verify_depth = attributes[:'verify_depth']
64
+ end
65
+
54
66
  unless attributes[:'verifyPeerCertificate'].nil?
55
67
  self.verify_peer_certificate = attributes[:'verifyPeerCertificate']
56
68
  else
57
69
  self.verify_peer_certificate = false
58
70
  end
59
71
 
72
+ raise 'You cannot provide both :verifyPeerCertificate and :verify_peer_certificate' if attributes.key?(:'verifyPeerCertificate') && attributes.key?(:'verify_peer_certificate')
73
+
74
+ unless attributes[:'verify_peer_certificate'].nil?
75
+ self.verify_peer_certificate = attributes[:'verify_peer_certificate']
76
+ else
77
+ self.verify_peer_certificate = false
78
+ end
79
+
60
80
  end
61
81
 
62
82
  # Checks equality by comparing each attribute.
@@ -31,9 +31,9 @@ module OCI
31
31
 
32
32
  # Initializes the object
33
33
  # @param [Hash] attributes Model attributes in the form of hash
34
- # @option attributes [String] :certificateName The value to assign to the {#certificate_name} property
35
- # @option attributes [Integer] :verifyDepth The value to assign to the {#verify_depth} property
36
- # @option attributes [BOOLEAN] :verifyPeerCertificate The value to assign to the {#verify_peer_certificate} property
34
+ # @option attributes [String] :certificate_name The value to assign to the {#certificate_name} property
35
+ # @option attributes [Integer] :verify_depth The value to assign to the {#verify_depth} property
36
+ # @option attributes [BOOLEAN] :verify_peer_certificate The value to assign to the {#verify_peer_certificate} property
37
37
  def initialize(attributes = {})
38
38
  return unless attributes.is_a?(Hash)
39
39
 
@@ -44,16 +44,36 @@ module OCI
44
44
  self.certificate_name = attributes[:'certificateName']
45
45
  end
46
46
 
47
+ raise 'You cannot provide both :certificateName and :certificate_name' if attributes.key?(:'certificateName') && attributes.key?(:'certificate_name')
48
+
49
+ if attributes[:'certificate_name']
50
+ self.certificate_name = attributes[:'certificate_name']
51
+ end
52
+
47
53
  if attributes[:'verifyDepth']
48
54
  self.verify_depth = attributes[:'verifyDepth']
49
55
  end
50
56
 
57
+ raise 'You cannot provide both :verifyDepth and :verify_depth' if attributes.key?(:'verifyDepth') && attributes.key?(:'verify_depth')
58
+
59
+ if attributes[:'verify_depth']
60
+ self.verify_depth = attributes[:'verify_depth']
61
+ end
62
+
51
63
  unless attributes[:'verifyPeerCertificate'].nil?
52
64
  self.verify_peer_certificate = attributes[:'verifyPeerCertificate']
53
65
  else
54
66
  self.verify_peer_certificate = false
55
67
  end
56
68
 
69
+ raise 'You cannot provide both :verifyPeerCertificate and :verify_peer_certificate' if attributes.key?(:'verifyPeerCertificate') && attributes.key?(:'verify_peer_certificate')
70
+
71
+ unless attributes[:'verify_peer_certificate'].nil?
72
+ self.verify_peer_certificate = attributes[:'verify_peer_certificate']
73
+ else
74
+ self.verify_peer_certificate = false
75
+ end
76
+
57
77
  end
58
78
 
59
79
  # Checks equality by comparing each attribute.