oci 2.0.7 → 2.0.8

Sign up to get free protection for your applications and to get access to all the features.
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
@@ -83,10 +83,10 @@ module OCI
83
83
 
84
84
  # Initializes the object
85
85
  # @param [Hash] attributes Model attributes in the form of hash
86
- # @option attributes [String] :bgpMd5AuthKey The value to assign to the {#bgp_md5_auth_key} property
87
- # @option attributes [String] :crossConnectOrCrossConnectGroupId The value to assign to the {#cross_connect_or_cross_connect_group_id} property
88
- # @option attributes [String] :customerBgpPeeringIp The value to assign to the {#customer_bgp_peering_ip} property
89
- # @option attributes [String] :oracleBgpPeeringIp The value to assign to the {#oracle_bgp_peering_ip} property
86
+ # @option attributes [String] :bgp_md5_auth_key The value to assign to the {#bgp_md5_auth_key} property
87
+ # @option attributes [String] :cross_connect_or_cross_connect_group_id The value to assign to the {#cross_connect_or_cross_connect_group_id} property
88
+ # @option attributes [String] :customer_bgp_peering_ip The value to assign to the {#customer_bgp_peering_ip} property
89
+ # @option attributes [String] :oracle_bgp_peering_ip The value to assign to the {#oracle_bgp_peering_ip} property
90
90
  # @option attributes [Integer] :vlan The value to assign to the {#vlan} property
91
91
  def initialize(attributes = {})
92
92
  return unless attributes.is_a?(Hash)
@@ -98,18 +98,42 @@ module OCI
98
98
  self.bgp_md5_auth_key = attributes[:'bgpMd5AuthKey']
99
99
  end
100
100
 
101
+ raise 'You cannot provide both :bgpMd5AuthKey and :bgp_md5_auth_key' if attributes.key?(:'bgpMd5AuthKey') && attributes.key?(:'bgp_md5_auth_key')
102
+
103
+ if attributes[:'bgp_md5_auth_key']
104
+ self.bgp_md5_auth_key = attributes[:'bgp_md5_auth_key']
105
+ end
106
+
101
107
  if attributes[:'crossConnectOrCrossConnectGroupId']
102
108
  self.cross_connect_or_cross_connect_group_id = attributes[:'crossConnectOrCrossConnectGroupId']
103
109
  end
104
110
 
111
+ raise 'You cannot provide both :crossConnectOrCrossConnectGroupId and :cross_connect_or_cross_connect_group_id' if attributes.key?(:'crossConnectOrCrossConnectGroupId') && attributes.key?(:'cross_connect_or_cross_connect_group_id')
112
+
113
+ if attributes[:'cross_connect_or_cross_connect_group_id']
114
+ self.cross_connect_or_cross_connect_group_id = attributes[:'cross_connect_or_cross_connect_group_id']
115
+ end
116
+
105
117
  if attributes[:'customerBgpPeeringIp']
106
118
  self.customer_bgp_peering_ip = attributes[:'customerBgpPeeringIp']
107
119
  end
108
120
 
121
+ raise 'You cannot provide both :customerBgpPeeringIp and :customer_bgp_peering_ip' if attributes.key?(:'customerBgpPeeringIp') && attributes.key?(:'customer_bgp_peering_ip')
122
+
123
+ if attributes[:'customer_bgp_peering_ip']
124
+ self.customer_bgp_peering_ip = attributes[:'customer_bgp_peering_ip']
125
+ end
126
+
109
127
  if attributes[:'oracleBgpPeeringIp']
110
128
  self.oracle_bgp_peering_ip = attributes[:'oracleBgpPeeringIp']
111
129
  end
112
130
 
131
+ raise 'You cannot provide both :oracleBgpPeeringIp and :oracle_bgp_peering_ip' if attributes.key?(:'oracleBgpPeeringIp') && attributes.key?(:'oracle_bgp_peering_ip')
132
+
133
+ if attributes[:'oracle_bgp_peering_ip']
134
+ self.oracle_bgp_peering_ip = attributes[:'oracle_bgp_peering_ip']
135
+ end
136
+
113
137
  if attributes[:'vlan']
114
138
  self.vlan = attributes[:'vlan']
115
139
  end
@@ -24,7 +24,7 @@ module OCI
24
24
  # Initializes the object
25
25
  # @param [Hash] attributes Model attributes in the form of hash
26
26
  # @option attributes [String] :name The value to assign to the {#name} property
27
- # @option attributes [Integer] :portSpeedInGbps The value to assign to the {#port_speed_in_gbps} property
27
+ # @option attributes [Integer] :port_speed_in_gbps The value to assign to the {#port_speed_in_gbps} property
28
28
  def initialize(attributes = {})
29
29
  return unless attributes.is_a?(Hash)
30
30
 
@@ -39,6 +39,12 @@ module OCI
39
39
  self.port_speed_in_gbps = attributes[:'portSpeedInGbps']
40
40
  end
41
41
 
42
+ raise 'You cannot provide both :portSpeedInGbps and :port_speed_in_gbps' if attributes.key?(:'portSpeedInGbps') && attributes.key?(:'port_speed_in_gbps')
43
+
44
+ if attributes[:'port_speed_in_gbps']
45
+ self.port_speed_in_gbps = attributes[:'port_speed_in_gbps']
46
+ end
47
+
42
48
  end
43
49
 
44
50
  # Checks equality by comparing each attribute.
@@ -51,10 +51,10 @@ module OCI
51
51
 
52
52
  # Initializes the object
53
53
  # @param [Hash] attributes Model attributes in the form of hash
54
- # @option attributes [String] :crossConnectId The value to assign to the {#cross_connect_id} property
55
- # @option attributes [String] :interfaceState The value to assign to the {#interface_state} property
56
- # @option attributes [Float] :lightLevelIndBm The value to assign to the {#light_level_ind_bm} property
57
- # @option attributes [String] :lightLevelIndicator The value to assign to the {#light_level_indicator} property
54
+ # @option attributes [String] :cross_connect_id The value to assign to the {#cross_connect_id} property
55
+ # @option attributes [String] :interface_state The value to assign to the {#interface_state} property
56
+ # @option attributes [Float] :light_level_ind_bm The value to assign to the {#light_level_ind_bm} property
57
+ # @option attributes [String] :light_level_indicator The value to assign to the {#light_level_indicator} property
58
58
  def initialize(attributes = {})
59
59
  return unless attributes.is_a?(Hash)
60
60
 
@@ -65,18 +65,42 @@ module OCI
65
65
  self.cross_connect_id = attributes[:'crossConnectId']
66
66
  end
67
67
 
68
+ raise 'You cannot provide both :crossConnectId and :cross_connect_id' if attributes.key?(:'crossConnectId') && attributes.key?(:'cross_connect_id')
69
+
70
+ if attributes[:'cross_connect_id']
71
+ self.cross_connect_id = attributes[:'cross_connect_id']
72
+ end
73
+
68
74
  if attributes[:'interfaceState']
69
75
  self.interface_state = attributes[:'interfaceState']
70
76
  end
71
77
 
78
+ raise 'You cannot provide both :interfaceState and :interface_state' if attributes.key?(:'interfaceState') && attributes.key?(:'interface_state')
79
+
80
+ if attributes[:'interface_state']
81
+ self.interface_state = attributes[:'interface_state']
82
+ end
83
+
72
84
  if attributes[:'lightLevelIndBm']
73
85
  self.light_level_ind_bm = attributes[:'lightLevelIndBm']
74
86
  end
75
87
 
88
+ raise 'You cannot provide both :lightLevelIndBm and :light_level_ind_bm' if attributes.key?(:'lightLevelIndBm') && attributes.key?(:'light_level_ind_bm')
89
+
90
+ if attributes[:'light_level_ind_bm']
91
+ self.light_level_ind_bm = attributes[:'light_level_ind_bm']
92
+ end
93
+
76
94
  if attributes[:'lightLevelIndicator']
77
95
  self.light_level_indicator = attributes[:'lightLevelIndicator']
78
96
  end
79
97
 
98
+ raise 'You cannot provide both :lightLevelIndicator and :light_level_indicator' if attributes.key?(:'lightLevelIndicator') && attributes.key?(:'light_level_indicator')
99
+
100
+ if attributes[:'light_level_indicator']
101
+ self.light_level_indicator = attributes[:'light_level_indicator']
102
+ end
103
+
80
104
  end
81
105
 
82
106
  # Custom attribute writer method checking allowed values (enum).
@@ -11,7 +11,7 @@ module OCI
11
11
 
12
12
  # Initializes the object
13
13
  # @param [Hash] attributes Model attributes in the form of hash
14
- # @option attributes [String] :cidrBlock The value to assign to the {#cidr_block} property
14
+ # @option attributes [String] :cidr_block The value to assign to the {#cidr_block} property
15
15
  def initialize(attributes = {})
16
16
  return unless attributes.is_a?(Hash)
17
17
 
@@ -22,6 +22,12 @@ module OCI
22
22
  self.cidr_block = attributes[:'cidrBlock']
23
23
  end
24
24
 
25
+ raise 'You cannot provide both :cidrBlock and :cidr_block' if attributes.key?(:'cidrBlock') && attributes.key?(:'cidr_block')
26
+
27
+ if attributes[:'cidr_block']
28
+ self.cidr_block = attributes[:'cidr_block']
29
+ end
30
+
25
31
  end
26
32
 
27
33
  # Checks equality by comparing each attribute.
@@ -42,8 +42,8 @@ module OCI
42
42
 
43
43
  # Initializes the object
44
44
  # @param [Hash] attributes Model attributes in the form of hash
45
- # @option attributes [Array<String>] :customDnsServers The value to assign to the {#custom_dns_servers} property
46
- # @option attributes [String] :serverType The value to assign to the {#server_type} property
45
+ # @option attributes [Array<String>] :custom_dns_servers The value to assign to the {#custom_dns_servers} property
46
+ # @option attributes [String] :server_type The value to assign to the {#server_type} property
47
47
  def initialize(attributes = {})
48
48
  return unless attributes.is_a?(Hash)
49
49
 
@@ -58,10 +58,22 @@ module OCI
58
58
  self.custom_dns_servers = attributes[:'customDnsServers']
59
59
  end
60
60
 
61
+ raise 'You cannot provide both :customDnsServers and :custom_dns_servers' if attributes.key?(:'customDnsServers') && attributes.key?(:'custom_dns_servers')
62
+
63
+ if attributes[:'custom_dns_servers']
64
+ self.custom_dns_servers = attributes[:'custom_dns_servers']
65
+ end
66
+
61
67
  if attributes[:'serverType']
62
68
  self.server_type = attributes[:'serverType']
63
69
  end
64
70
 
71
+ raise 'You cannot provide both :serverType and :server_type' if attributes.key?(:'serverType') && attributes.key?(:'server_type')
72
+
73
+ if attributes[:'server_type']
74
+ self.server_type = attributes[:'server_type']
75
+ end
76
+
65
77
  end
66
78
 
67
79
  # Custom attribute writer method checking allowed values (enum).
@@ -80,15 +80,15 @@ module OCI
80
80
 
81
81
  # Initializes the object
82
82
  # @param [Hash] attributes Model attributes in the form of hash
83
- # @option attributes [String] :compartmentId The value to assign to the {#compartment_id} property
84
- # @option attributes [Hash<String, Hash<String, Object>>] :definedTags The value to assign to the {#defined_tags} property
85
- # @option attributes [String] :displayName The value to assign to the {#display_name} property
86
- # @option attributes [Hash<String, String>] :freeformTags The value to assign to the {#freeform_tags} property
83
+ # @option attributes [String] :compartment_id The value to assign to the {#compartment_id} property
84
+ # @option attributes [Hash<String, Hash<String, Object>>] :defined_tags The value to assign to the {#defined_tags} property
85
+ # @option attributes [String] :display_name The value to assign to the {#display_name} property
86
+ # @option attributes [Hash<String, String>] :freeform_tags The value to assign to the {#freeform_tags} property
87
87
  # @option attributes [String] :id The value to assign to the {#id} property
88
- # @option attributes [String] :lifecycleState The value to assign to the {#lifecycle_state} property
88
+ # @option attributes [String] :lifecycle_state The value to assign to the {#lifecycle_state} property
89
89
  # @option attributes [Array<OCI::Core::Models::DhcpOption>] :options The value to assign to the {#options} property
90
- # @option attributes [DateTime] :timeCreated The value to assign to the {#time_created} property
91
- # @option attributes [String] :vcnId The value to assign to the {#vcn_id} property
90
+ # @option attributes [DateTime] :time_created The value to assign to the {#time_created} property
91
+ # @option attributes [String] :vcn_id The value to assign to the {#vcn_id} property
92
92
  def initialize(attributes = {})
93
93
  return unless attributes.is_a?(Hash)
94
94
 
@@ -99,18 +99,42 @@ module OCI
99
99
  self.compartment_id = attributes[:'compartmentId']
100
100
  end
101
101
 
102
+ raise 'You cannot provide both :compartmentId and :compartment_id' if attributes.key?(:'compartmentId') && attributes.key?(:'compartment_id')
103
+
104
+ if attributes[:'compartment_id']
105
+ self.compartment_id = attributes[:'compartment_id']
106
+ end
107
+
102
108
  if attributes[:'definedTags']
103
109
  self.defined_tags = attributes[:'definedTags']
104
110
  end
105
111
 
112
+ raise 'You cannot provide both :definedTags and :defined_tags' if attributes.key?(:'definedTags') && attributes.key?(:'defined_tags')
113
+
114
+ if attributes[:'defined_tags']
115
+ self.defined_tags = attributes[:'defined_tags']
116
+ end
117
+
106
118
  if attributes[:'displayName']
107
119
  self.display_name = attributes[:'displayName']
108
120
  end
109
121
 
122
+ raise 'You cannot provide both :displayName and :display_name' if attributes.key?(:'displayName') && attributes.key?(:'display_name')
123
+
124
+ if attributes[:'display_name']
125
+ self.display_name = attributes[:'display_name']
126
+ end
127
+
110
128
  if attributes[:'freeformTags']
111
129
  self.freeform_tags = attributes[:'freeformTags']
112
130
  end
113
131
 
132
+ raise 'You cannot provide both :freeformTags and :freeform_tags' if attributes.key?(:'freeformTags') && attributes.key?(:'freeform_tags')
133
+
134
+ if attributes[:'freeform_tags']
135
+ self.freeform_tags = attributes[:'freeform_tags']
136
+ end
137
+
114
138
  if attributes[:'id']
115
139
  self.id = attributes[:'id']
116
140
  end
@@ -119,6 +143,12 @@ module OCI
119
143
  self.lifecycle_state = attributes[:'lifecycleState']
120
144
  end
121
145
 
146
+ raise 'You cannot provide both :lifecycleState and :lifecycle_state' if attributes.key?(:'lifecycleState') && attributes.key?(:'lifecycle_state')
147
+
148
+ if attributes[:'lifecycle_state']
149
+ self.lifecycle_state = attributes[:'lifecycle_state']
150
+ end
151
+
122
152
  if attributes[:'options']
123
153
  self.options = attributes[:'options']
124
154
  end
@@ -127,10 +157,22 @@ module OCI
127
157
  self.time_created = attributes[:'timeCreated']
128
158
  end
129
159
 
160
+ raise 'You cannot provide both :timeCreated and :time_created' if attributes.key?(:'timeCreated') && attributes.key?(:'time_created')
161
+
162
+ if attributes[:'time_created']
163
+ self.time_created = attributes[:'time_created']
164
+ end
165
+
130
166
  if attributes[:'vcnId']
131
167
  self.vcn_id = attributes[:'vcnId']
132
168
  end
133
169
 
170
+ raise 'You cannot provide both :vcnId and :vcn_id' if attributes.key?(:'vcnId') && attributes.key?(:'vcn_id')
171
+
172
+ if attributes[:'vcn_id']
173
+ self.vcn_id = attributes[:'vcn_id']
174
+ end
175
+
134
176
  end
135
177
 
136
178
  # Custom attribute writer method checking allowed values (enum).
@@ -28,7 +28,7 @@ module OCI
28
28
 
29
29
  # Initializes the object
30
30
  # @param [Hash] attributes Model attributes in the form of hash
31
- # @option attributes [Array<String>] :searchDomainNames The value to assign to the {#search_domain_names} property
31
+ # @option attributes [Array<String>] :search_domain_names The value to assign to the {#search_domain_names} property
32
32
  def initialize(attributes = {})
33
33
  return unless attributes.is_a?(Hash)
34
34
 
@@ -43,6 +43,12 @@ module OCI
43
43
  self.search_domain_names = attributes[:'searchDomainNames']
44
44
  end
45
45
 
46
+ raise 'You cannot provide both :searchDomainNames and :search_domain_names' if attributes.key?(:'searchDomainNames') && attributes.key?(:'search_domain_names')
47
+
48
+ if attributes[:'search_domain_names']
49
+ self.search_domain_names = attributes[:'search_domain_names']
50
+ end
51
+
46
52
  end
47
53
 
48
54
  # Checks equality by comparing each attribute.
@@ -49,11 +49,11 @@ module OCI
49
49
 
50
50
  # Initializes the object
51
51
  # @param [Hash] attributes Model attributes in the form of hash
52
- # @option attributes [String] :compartmentId The value to assign to the {#compartment_id} property
53
- # @option attributes [String] :displayName The value to assign to the {#display_name} property
52
+ # @option attributes [String] :compartment_id The value to assign to the {#compartment_id} property
53
+ # @option attributes [String] :display_name The value to assign to the {#display_name} property
54
54
  # @option attributes [String] :id The value to assign to the {#id} property
55
- # @option attributes [String] :lifecycleState The value to assign to the {#lifecycle_state} property
56
- # @option attributes [DateTime] :timeCreated The value to assign to the {#time_created} property
55
+ # @option attributes [String] :lifecycle_state The value to assign to the {#lifecycle_state} property
56
+ # @option attributes [DateTime] :time_created The value to assign to the {#time_created} property
57
57
  def initialize(attributes = {})
58
58
  return unless attributes.is_a?(Hash)
59
59
 
@@ -64,10 +64,22 @@ module OCI
64
64
  self.compartment_id = attributes[:'compartmentId']
65
65
  end
66
66
 
67
+ raise 'You cannot provide both :compartmentId and :compartment_id' if attributes.key?(:'compartmentId') && attributes.key?(:'compartment_id')
68
+
69
+ if attributes[:'compartment_id']
70
+ self.compartment_id = attributes[:'compartment_id']
71
+ end
72
+
67
73
  if attributes[:'displayName']
68
74
  self.display_name = attributes[:'displayName']
69
75
  end
70
76
 
77
+ raise 'You cannot provide both :displayName and :display_name' if attributes.key?(:'displayName') && attributes.key?(:'display_name')
78
+
79
+ if attributes[:'display_name']
80
+ self.display_name = attributes[:'display_name']
81
+ end
82
+
71
83
  if attributes[:'id']
72
84
  self.id = attributes[:'id']
73
85
  end
@@ -76,10 +88,22 @@ module OCI
76
88
  self.lifecycle_state = attributes[:'lifecycleState']
77
89
  end
78
90
 
91
+ raise 'You cannot provide both :lifecycleState and :lifecycle_state' if attributes.key?(:'lifecycleState') && attributes.key?(:'lifecycle_state')
92
+
93
+ if attributes[:'lifecycle_state']
94
+ self.lifecycle_state = attributes[:'lifecycle_state']
95
+ end
96
+
79
97
  if attributes[:'timeCreated']
80
98
  self.time_created = attributes[:'timeCreated']
81
99
  end
82
100
 
101
+ raise 'You cannot provide both :timeCreated and :time_created' if attributes.key?(:'timeCreated') && attributes.key?(:'time_created')
102
+
103
+ if attributes[:'time_created']
104
+ self.time_created = attributes[:'time_created']
105
+ end
106
+
83
107
  end
84
108
 
85
109
  # Custom attribute writer method checking allowed values (enum).
@@ -50,13 +50,13 @@ module OCI
50
50
 
51
51
  # Initializes the object
52
52
  # @param [Hash] attributes Model attributes in the form of hash
53
- # @option attributes [String] :compartmentId The value to assign to the {#compartment_id} property
54
- # @option attributes [String] :displayName The value to assign to the {#display_name} property
55
- # @option attributes [String] :drgId The value to assign to the {#drg_id} property
53
+ # @option attributes [String] :compartment_id The value to assign to the {#compartment_id} property
54
+ # @option attributes [String] :display_name The value to assign to the {#display_name} property
55
+ # @option attributes [String] :drg_id The value to assign to the {#drg_id} property
56
56
  # @option attributes [String] :id The value to assign to the {#id} property
57
- # @option attributes [String] :lifecycleState The value to assign to the {#lifecycle_state} property
58
- # @option attributes [DateTime] :timeCreated The value to assign to the {#time_created} property
59
- # @option attributes [String] :vcnId The value to assign to the {#vcn_id} property
57
+ # @option attributes [String] :lifecycle_state The value to assign to the {#lifecycle_state} property
58
+ # @option attributes [DateTime] :time_created The value to assign to the {#time_created} property
59
+ # @option attributes [String] :vcn_id The value to assign to the {#vcn_id} property
60
60
  def initialize(attributes = {})
61
61
  return unless attributes.is_a?(Hash)
62
62
 
@@ -67,14 +67,32 @@ module OCI
67
67
  self.compartment_id = attributes[:'compartmentId']
68
68
  end
69
69
 
70
+ raise 'You cannot provide both :compartmentId and :compartment_id' if attributes.key?(:'compartmentId') && attributes.key?(:'compartment_id')
71
+
72
+ if attributes[:'compartment_id']
73
+ self.compartment_id = attributes[:'compartment_id']
74
+ end
75
+
70
76
  if attributes[:'displayName']
71
77
  self.display_name = attributes[:'displayName']
72
78
  end
73
79
 
80
+ raise 'You cannot provide both :displayName and :display_name' if attributes.key?(:'displayName') && attributes.key?(:'display_name')
81
+
82
+ if attributes[:'display_name']
83
+ self.display_name = attributes[:'display_name']
84
+ end
85
+
74
86
  if attributes[:'drgId']
75
87
  self.drg_id = attributes[:'drgId']
76
88
  end
77
89
 
90
+ raise 'You cannot provide both :drgId and :drg_id' if attributes.key?(:'drgId') && attributes.key?(:'drg_id')
91
+
92
+ if attributes[:'drg_id']
93
+ self.drg_id = attributes[:'drg_id']
94
+ end
95
+
78
96
  if attributes[:'id']
79
97
  self.id = attributes[:'id']
80
98
  end
@@ -83,14 +101,32 @@ module OCI
83
101
  self.lifecycle_state = attributes[:'lifecycleState']
84
102
  end
85
103
 
104
+ raise 'You cannot provide both :lifecycleState and :lifecycle_state' if attributes.key?(:'lifecycleState') && attributes.key?(:'lifecycle_state')
105
+
106
+ if attributes[:'lifecycle_state']
107
+ self.lifecycle_state = attributes[:'lifecycle_state']
108
+ end
109
+
86
110
  if attributes[:'timeCreated']
87
111
  self.time_created = attributes[:'timeCreated']
88
112
  end
89
113
 
114
+ raise 'You cannot provide both :timeCreated and :time_created' if attributes.key?(:'timeCreated') && attributes.key?(:'time_created')
115
+
116
+ if attributes[:'time_created']
117
+ self.time_created = attributes[:'time_created']
118
+ end
119
+
90
120
  if attributes[:'vcnId']
91
121
  self.vcn_id = attributes[:'vcnId']
92
122
  end
93
123
 
124
+ raise 'You cannot provide both :vcnId and :vcn_id' if attributes.key?(:'vcnId') && attributes.key?(:'vcn_id')
125
+
126
+ if attributes[:'vcn_id']
127
+ self.vcn_id = attributes[:'vcn_id']
128
+ end
129
+
94
130
  end
95
131
 
96
132
  # Custom attribute writer method checking allowed values (enum).