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
@@ -83,16 +83,16 @@ 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] :attachmentType The value to assign to the {#attachment_type} property
87
- # @option attributes [String] :availabilityDomain The value to assign to the {#availability_domain} property
88
- # @option attributes [String] :compartmentId The value to assign to the {#compartment_id} property
89
- # @option attributes [String] :displayName The value to assign to the {#display_name} property
86
+ # @option attributes [String] :attachment_type The value to assign to the {#attachment_type} property
87
+ # @option attributes [String] :availability_domain The value to assign to the {#availability_domain} property
88
+ # @option attributes [String] :compartment_id The value to assign to the {#compartment_id} property
89
+ # @option attributes [String] :display_name The value to assign to the {#display_name} property
90
90
  # @option attributes [String] :id The value to assign to the {#id} property
91
- # @option attributes [String] :instanceId The value to assign to the {#instance_id} property
92
- # @option attributes [BOOLEAN] :isReadOnly The value to assign to the {#is_read_only} property
93
- # @option attributes [String] :lifecycleState The value to assign to the {#lifecycle_state} property
94
- # @option attributes [DateTime] :timeCreated The value to assign to the {#time_created} property
95
- # @option attributes [String] :volumeId The value to assign to the {#volume_id} property
91
+ # @option attributes [String] :instance_id The value to assign to the {#instance_id} property
92
+ # @option attributes [BOOLEAN] :is_read_only The value to assign to the {#is_read_only} property
93
+ # @option attributes [String] :lifecycle_state The value to assign to the {#lifecycle_state} property
94
+ # @option attributes [DateTime] :time_created The value to assign to the {#time_created} property
95
+ # @option attributes [String] :volume_id The value to assign to the {#volume_id} property
96
96
  def initialize(attributes = {})
97
97
  return unless attributes.is_a?(Hash)
98
98
 
@@ -103,18 +103,42 @@ module OCI
103
103
  self.attachment_type = attributes[:'attachmentType']
104
104
  end
105
105
 
106
+ raise 'You cannot provide both :attachmentType and :attachment_type' if attributes.key?(:'attachmentType') && attributes.key?(:'attachment_type')
107
+
108
+ if attributes[:'attachment_type']
109
+ self.attachment_type = attributes[:'attachment_type']
110
+ end
111
+
106
112
  if attributes[:'availabilityDomain']
107
113
  self.availability_domain = attributes[:'availabilityDomain']
108
114
  end
109
115
 
116
+ raise 'You cannot provide both :availabilityDomain and :availability_domain' if attributes.key?(:'availabilityDomain') && attributes.key?(:'availability_domain')
117
+
118
+ if attributes[:'availability_domain']
119
+ self.availability_domain = attributes[:'availability_domain']
120
+ end
121
+
110
122
  if attributes[:'compartmentId']
111
123
  self.compartment_id = attributes[:'compartmentId']
112
124
  end
113
125
 
126
+ raise 'You cannot provide both :compartmentId and :compartment_id' if attributes.key?(:'compartmentId') && attributes.key?(:'compartment_id')
127
+
128
+ if attributes[:'compartment_id']
129
+ self.compartment_id = attributes[:'compartment_id']
130
+ end
131
+
114
132
  if attributes[:'displayName']
115
133
  self.display_name = attributes[:'displayName']
116
134
  end
117
135
 
136
+ raise 'You cannot provide both :displayName and :display_name' if attributes.key?(:'displayName') && attributes.key?(:'display_name')
137
+
138
+ if attributes[:'display_name']
139
+ self.display_name = attributes[:'display_name']
140
+ end
141
+
118
142
  if attributes[:'id']
119
143
  self.id = attributes[:'id']
120
144
  end
@@ -123,22 +147,52 @@ module OCI
123
147
  self.instance_id = attributes[:'instanceId']
124
148
  end
125
149
 
150
+ raise 'You cannot provide both :instanceId and :instance_id' if attributes.key?(:'instanceId') && attributes.key?(:'instance_id')
151
+
152
+ if attributes[:'instance_id']
153
+ self.instance_id = attributes[:'instance_id']
154
+ end
155
+
126
156
  unless attributes[:'isReadOnly'].nil?
127
157
  self.is_read_only = attributes[:'isReadOnly']
128
158
  end
129
159
 
160
+ raise 'You cannot provide both :isReadOnly and :is_read_only' if attributes.key?(:'isReadOnly') && attributes.key?(:'is_read_only')
161
+
162
+ unless attributes[:'is_read_only'].nil?
163
+ self.is_read_only = attributes[:'is_read_only']
164
+ end
165
+
130
166
  if attributes[:'lifecycleState']
131
167
  self.lifecycle_state = attributes[:'lifecycleState']
132
168
  end
133
169
 
170
+ raise 'You cannot provide both :lifecycleState and :lifecycle_state' if attributes.key?(:'lifecycleState') && attributes.key?(:'lifecycle_state')
171
+
172
+ if attributes[:'lifecycle_state']
173
+ self.lifecycle_state = attributes[:'lifecycle_state']
174
+ end
175
+
134
176
  if attributes[:'timeCreated']
135
177
  self.time_created = attributes[:'timeCreated']
136
178
  end
137
179
 
180
+ raise 'You cannot provide both :timeCreated and :time_created' if attributes.key?(:'timeCreated') && attributes.key?(:'time_created')
181
+
182
+ if attributes[:'time_created']
183
+ self.time_created = attributes[:'time_created']
184
+ end
185
+
138
186
  if attributes[:'volumeId']
139
187
  self.volume_id = attributes[:'volumeId']
140
188
  end
141
189
 
190
+ raise 'You cannot provide both :volumeId and :volume_id' if attributes.key?(:'volumeId') && attributes.key?(:'volume_id')
191
+
192
+ if attributes[:'volume_id']
193
+ self.volume_id = attributes[:'volume_id']
194
+ end
195
+
142
196
  end
143
197
 
144
198
  # Custom attribute writer method checking allowed values (enum).
@@ -125,22 +125,22 @@ module OCI
125
125
 
126
126
  # Initializes the object
127
127
  # @param [Hash] attributes Model attributes in the form of hash
128
- # @option attributes [String] :compartmentId The value to assign to the {#compartment_id} property
129
- # @option attributes [Hash<String, Hash<String, Object>>] :definedTags The value to assign to the {#defined_tags} property
130
- # @option attributes [String] :displayName The value to assign to the {#display_name} property
131
- # @option attributes [DateTime] :expirationTime The value to assign to the {#expiration_time} property
132
- # @option attributes [Hash<String, String>] :freeformTags The value to assign to the {#freeform_tags} property
128
+ # @option attributes [String] :compartment_id The value to assign to the {#compartment_id} property
129
+ # @option attributes [Hash<String, Hash<String, Object>>] :defined_tags The value to assign to the {#defined_tags} property
130
+ # @option attributes [String] :display_name The value to assign to the {#display_name} property
131
+ # @option attributes [DateTime] :expiration_time The value to assign to the {#expiration_time} property
132
+ # @option attributes [Hash<String, String>] :freeform_tags The value to assign to the {#freeform_tags} property
133
133
  # @option attributes [String] :id The value to assign to the {#id} property
134
- # @option attributes [String] :lifecycleState The value to assign to the {#lifecycle_state} property
135
- # @option attributes [Integer] :sizeInGBs The value to assign to the {#size_in_gbs} property
136
- # @option attributes [Integer] :sizeInMBs The value to assign to the {#size_in_mbs} property
137
- # @option attributes [String] :sourceType The value to assign to the {#source_type} property
138
- # @option attributes [DateTime] :timeCreated The value to assign to the {#time_created} property
139
- # @option attributes [DateTime] :timeRequestReceived The value to assign to the {#time_request_received} property
134
+ # @option attributes [String] :lifecycle_state The value to assign to the {#lifecycle_state} property
135
+ # @option attributes [Integer] :size_in_gbs The value to assign to the {#size_in_gbs} property
136
+ # @option attributes [Integer] :size_in_mbs The value to assign to the {#size_in_mbs} property
137
+ # @option attributes [String] :source_type The value to assign to the {#source_type} property
138
+ # @option attributes [DateTime] :time_created The value to assign to the {#time_created} property
139
+ # @option attributes [DateTime] :time_request_received The value to assign to the {#time_request_received} property
140
140
  # @option attributes [String] :type The value to assign to the {#type} property
141
- # @option attributes [Integer] :uniqueSizeInGBs The value to assign to the {#unique_size_in_gbs} property
142
- # @option attributes [Integer] :uniqueSizeInMbs The value to assign to the {#unique_size_in_mbs} property
143
- # @option attributes [String] :volumeId The value to assign to the {#volume_id} property
141
+ # @option attributes [Integer] :unique_size_in_gbs The value to assign to the {#unique_size_in_gbs} property
142
+ # @option attributes [Integer] :unique_size_in_mbs The value to assign to the {#unique_size_in_mbs} property
143
+ # @option attributes [String] :volume_id The value to assign to the {#volume_id} property
144
144
  def initialize(attributes = {})
145
145
  return unless attributes.is_a?(Hash)
146
146
 
@@ -151,22 +151,52 @@ module OCI
151
151
  self.compartment_id = attributes[:'compartmentId']
152
152
  end
153
153
 
154
+ raise 'You cannot provide both :compartmentId and :compartment_id' if attributes.key?(:'compartmentId') && attributes.key?(:'compartment_id')
155
+
156
+ if attributes[:'compartment_id']
157
+ self.compartment_id = attributes[:'compartment_id']
158
+ end
159
+
154
160
  if attributes[:'definedTags']
155
161
  self.defined_tags = attributes[:'definedTags']
156
162
  end
157
163
 
164
+ raise 'You cannot provide both :definedTags and :defined_tags' if attributes.key?(:'definedTags') && attributes.key?(:'defined_tags')
165
+
166
+ if attributes[:'defined_tags']
167
+ self.defined_tags = attributes[:'defined_tags']
168
+ end
169
+
158
170
  if attributes[:'displayName']
159
171
  self.display_name = attributes[:'displayName']
160
172
  end
161
173
 
174
+ raise 'You cannot provide both :displayName and :display_name' if attributes.key?(:'displayName') && attributes.key?(:'display_name')
175
+
176
+ if attributes[:'display_name']
177
+ self.display_name = attributes[:'display_name']
178
+ end
179
+
162
180
  if attributes[:'expirationTime']
163
181
  self.expiration_time = attributes[:'expirationTime']
164
182
  end
165
183
 
184
+ raise 'You cannot provide both :expirationTime and :expiration_time' if attributes.key?(:'expirationTime') && attributes.key?(:'expiration_time')
185
+
186
+ if attributes[:'expiration_time']
187
+ self.expiration_time = attributes[:'expiration_time']
188
+ end
189
+
166
190
  if attributes[:'freeformTags']
167
191
  self.freeform_tags = attributes[:'freeformTags']
168
192
  end
169
193
 
194
+ raise 'You cannot provide both :freeformTags and :freeform_tags' if attributes.key?(:'freeformTags') && attributes.key?(:'freeform_tags')
195
+
196
+ if attributes[:'freeform_tags']
197
+ self.freeform_tags = attributes[:'freeform_tags']
198
+ end
199
+
170
200
  if attributes[:'id']
171
201
  self.id = attributes[:'id']
172
202
  end
@@ -175,26 +205,62 @@ module OCI
175
205
  self.lifecycle_state = attributes[:'lifecycleState']
176
206
  end
177
207
 
208
+ raise 'You cannot provide both :lifecycleState and :lifecycle_state' if attributes.key?(:'lifecycleState') && attributes.key?(:'lifecycle_state')
209
+
210
+ if attributes[:'lifecycle_state']
211
+ self.lifecycle_state = attributes[:'lifecycle_state']
212
+ end
213
+
178
214
  if attributes[:'sizeInGBs']
179
215
  self.size_in_gbs = attributes[:'sizeInGBs']
180
216
  end
181
217
 
218
+ raise 'You cannot provide both :sizeInGBs and :size_in_gbs' if attributes.key?(:'sizeInGBs') && attributes.key?(:'size_in_gbs')
219
+
220
+ if attributes[:'size_in_gbs']
221
+ self.size_in_gbs = attributes[:'size_in_gbs']
222
+ end
223
+
182
224
  if attributes[:'sizeInMBs']
183
225
  self.size_in_mbs = attributes[:'sizeInMBs']
184
226
  end
185
227
 
228
+ raise 'You cannot provide both :sizeInMBs and :size_in_mbs' if attributes.key?(:'sizeInMBs') && attributes.key?(:'size_in_mbs')
229
+
230
+ if attributes[:'size_in_mbs']
231
+ self.size_in_mbs = attributes[:'size_in_mbs']
232
+ end
233
+
186
234
  if attributes[:'sourceType']
187
235
  self.source_type = attributes[:'sourceType']
188
236
  end
189
237
 
238
+ raise 'You cannot provide both :sourceType and :source_type' if attributes.key?(:'sourceType') && attributes.key?(:'source_type')
239
+
240
+ if attributes[:'source_type']
241
+ self.source_type = attributes[:'source_type']
242
+ end
243
+
190
244
  if attributes[:'timeCreated']
191
245
  self.time_created = attributes[:'timeCreated']
192
246
  end
193
247
 
248
+ raise 'You cannot provide both :timeCreated and :time_created' if attributes.key?(:'timeCreated') && attributes.key?(:'time_created')
249
+
250
+ if attributes[:'time_created']
251
+ self.time_created = attributes[:'time_created']
252
+ end
253
+
194
254
  if attributes[:'timeRequestReceived']
195
255
  self.time_request_received = attributes[:'timeRequestReceived']
196
256
  end
197
257
 
258
+ raise 'You cannot provide both :timeRequestReceived and :time_request_received' if attributes.key?(:'timeRequestReceived') && attributes.key?(:'time_request_received')
259
+
260
+ if attributes[:'time_request_received']
261
+ self.time_request_received = attributes[:'time_request_received']
262
+ end
263
+
198
264
  if attributes[:'type']
199
265
  self.type = attributes[:'type']
200
266
  end
@@ -203,14 +269,32 @@ module OCI
203
269
  self.unique_size_in_gbs = attributes[:'uniqueSizeInGBs']
204
270
  end
205
271
 
272
+ raise 'You cannot provide both :uniqueSizeInGBs and :unique_size_in_gbs' if attributes.key?(:'uniqueSizeInGBs') && attributes.key?(:'unique_size_in_gbs')
273
+
274
+ if attributes[:'unique_size_in_gbs']
275
+ self.unique_size_in_gbs = attributes[:'unique_size_in_gbs']
276
+ end
277
+
206
278
  if attributes[:'uniqueSizeInMbs']
207
279
  self.unique_size_in_mbs = attributes[:'uniqueSizeInMbs']
208
280
  end
209
281
 
282
+ raise 'You cannot provide both :uniqueSizeInMbs and :unique_size_in_mbs' if attributes.key?(:'uniqueSizeInMbs') && attributes.key?(:'unique_size_in_mbs')
283
+
284
+ if attributes[:'unique_size_in_mbs']
285
+ self.unique_size_in_mbs = attributes[:'unique_size_in_mbs']
286
+ end
287
+
210
288
  if attributes[:'volumeId']
211
289
  self.volume_id = attributes[:'volumeId']
212
290
  end
213
291
 
292
+ raise 'You cannot provide both :volumeId and :volume_id' if attributes.key?(:'volumeId') && attributes.key?(:'volume_id')
293
+
294
+ if attributes[:'volume_id']
295
+ self.volume_id = attributes[:'volume_id']
296
+ end
297
+
214
298
  end
215
299
 
216
300
  # Custom attribute writer method checking allowed values (enum).
@@ -27,10 +27,10 @@ module OCI
27
27
 
28
28
  # Initializes the object
29
29
  # @param [Hash] attributes Model attributes in the form of hash
30
- # @option attributes [String] :displayName The value to assign to the {#display_name} property
30
+ # @option attributes [String] :display_name The value to assign to the {#display_name} property
31
31
  # @option attributes [String] :id The value to assign to the {#id} property
32
32
  # @option attributes [Array<OCI::Core::Models::VolumeBackupSchedule>] :schedules The value to assign to the {#schedules} property
33
- # @option attributes [DateTime] :timeCreated The value to assign to the {#time_created} property
33
+ # @option attributes [DateTime] :time_created The value to assign to the {#time_created} property
34
34
  def initialize(attributes = {})
35
35
  return unless attributes.is_a?(Hash)
36
36
 
@@ -41,6 +41,12 @@ module OCI
41
41
  self.display_name = attributes[:'displayName']
42
42
  end
43
43
 
44
+ raise 'You cannot provide both :displayName and :display_name' if attributes.key?(:'displayName') && attributes.key?(:'display_name')
45
+
46
+ if attributes[:'display_name']
47
+ self.display_name = attributes[:'display_name']
48
+ end
49
+
44
50
  if attributes[:'id']
45
51
  self.id = attributes[:'id']
46
52
  end
@@ -53,6 +59,12 @@ module OCI
53
59
  self.time_created = attributes[:'timeCreated']
54
60
  end
55
61
 
62
+ raise 'You cannot provide both :timeCreated and :time_created' if attributes.key?(:'timeCreated') && attributes.key?(:'time_created')
63
+
64
+ if attributes[:'time_created']
65
+ self.time_created = attributes[:'time_created']
66
+ end
67
+
56
68
  end
57
69
 
58
70
  # Checks equality by comparing each attribute.
@@ -25,10 +25,10 @@ module OCI
25
25
 
26
26
  # Initializes the object
27
27
  # @param [Hash] attributes Model attributes in the form of hash
28
- # @option attributes [String] :assetId The value to assign to the {#asset_id} property
28
+ # @option attributes [String] :asset_id The value to assign to the {#asset_id} property
29
29
  # @option attributes [String] :id The value to assign to the {#id} property
30
- # @option attributes [String] :policyId The value to assign to the {#policy_id} property
31
- # @option attributes [DateTime] :timeCreated The value to assign to the {#time_created} property
30
+ # @option attributes [String] :policy_id The value to assign to the {#policy_id} property
31
+ # @option attributes [DateTime] :time_created The value to assign to the {#time_created} property
32
32
  def initialize(attributes = {})
33
33
  return unless attributes.is_a?(Hash)
34
34
 
@@ -39,6 +39,12 @@ module OCI
39
39
  self.asset_id = attributes[:'assetId']
40
40
  end
41
41
 
42
+ raise 'You cannot provide both :assetId and :asset_id' if attributes.key?(:'assetId') && attributes.key?(:'asset_id')
43
+
44
+ if attributes[:'asset_id']
45
+ self.asset_id = attributes[:'asset_id']
46
+ end
47
+
42
48
  if attributes[:'id']
43
49
  self.id = attributes[:'id']
44
50
  end
@@ -47,10 +53,22 @@ module OCI
47
53
  self.policy_id = attributes[:'policyId']
48
54
  end
49
55
 
56
+ raise 'You cannot provide both :policyId and :policy_id' if attributes.key?(:'policyId') && attributes.key?(:'policy_id')
57
+
58
+ if attributes[:'policy_id']
59
+ self.policy_id = attributes[:'policy_id']
60
+ end
61
+
50
62
  if attributes[:'timeCreated']
51
63
  self.time_created = attributes[:'timeCreated']
52
64
  end
53
65
 
66
+ raise 'You cannot provide both :timeCreated and :time_created' if attributes.key?(:'timeCreated') && attributes.key?(:'time_created')
67
+
68
+ if attributes[:'time_created']
69
+ self.time_created = attributes[:'time_created']
70
+ end
71
+
54
72
  end
55
73
 
56
74
  # Checks equality by comparing each attribute.
@@ -37,10 +37,10 @@ module OCI
37
37
 
38
38
  # Initializes the object
39
39
  # @param [Hash] attributes Model attributes in the form of hash
40
- # @option attributes [String] :backupType The value to assign to the {#backup_type} property
41
- # @option attributes [Integer] :offsetSeconds The value to assign to the {#offset_seconds} property
40
+ # @option attributes [String] :backup_type The value to assign to the {#backup_type} property
41
+ # @option attributes [Integer] :offset_seconds The value to assign to the {#offset_seconds} property
42
42
  # @option attributes [String] :period The value to assign to the {#period} property
43
- # @option attributes [Integer] :retentionSeconds The value to assign to the {#retention_seconds} property
43
+ # @option attributes [Integer] :retention_seconds The value to assign to the {#retention_seconds} property
44
44
  def initialize(attributes = {})
45
45
  return unless attributes.is_a?(Hash)
46
46
 
@@ -51,10 +51,22 @@ module OCI
51
51
  self.backup_type = attributes[:'backupType']
52
52
  end
53
53
 
54
+ raise 'You cannot provide both :backupType and :backup_type' if attributes.key?(:'backupType') && attributes.key?(:'backup_type')
55
+
56
+ if attributes[:'backup_type']
57
+ self.backup_type = attributes[:'backup_type']
58
+ end
59
+
54
60
  if attributes[:'offsetSeconds']
55
61
  self.offset_seconds = attributes[:'offsetSeconds']
56
62
  end
57
63
 
64
+ raise 'You cannot provide both :offsetSeconds and :offset_seconds' if attributes.key?(:'offsetSeconds') && attributes.key?(:'offset_seconds')
65
+
66
+ if attributes[:'offset_seconds']
67
+ self.offset_seconds = attributes[:'offset_seconds']
68
+ end
69
+
58
70
  if attributes[:'period']
59
71
  self.period = attributes[:'period']
60
72
  end
@@ -63,6 +75,12 @@ module OCI
63
75
  self.retention_seconds = attributes[:'retentionSeconds']
64
76
  end
65
77
 
78
+ raise 'You cannot provide both :retentionSeconds and :retention_seconds' if attributes.key?(:'retentionSeconds') && attributes.key?(:'retention_seconds')
79
+
80
+ if attributes[:'retention_seconds']
81
+ self.retention_seconds = attributes[:'retention_seconds']
82
+ end
83
+
66
84
  end
67
85
 
68
86
  # Custom attribute writer method checking allowed values (enum).
@@ -117,8 +117,8 @@ module OCI
117
117
  # All Oracle Cloud Infrastructure resources, including Data Guard associations, get an Oracle-assigned, unique ID
118
118
  # called an Oracle Cloud Identifier (OCID). When you create a resource, you can find its OCID in the response.
119
119
  # You can also retrieve a resource's OCID by using a List API operation on that resource type, or by viewing the
120
- # resource in the Console. Fore more information, see
121
- # [Resource Identifiers](http://localhost:8000/Content/General/Concepts/identifiers.htm).
120
+ # resource in the Console. For more information, see
121
+ # [Resource Identifiers](https://docs.us-phoenix-1.oraclecloud.com/Content/General/Concepts/identifiers.htm).
122
122
  #
123
123
  # @param [String] database_id The database [OCID](https://docs.us-phoenix-1.oraclecloud.com/Content/General/Concepts/identifiers.htm).
124
124
  # @param [CreateDataGuardAssociationDetails] create_data_guard_association_details A request to create a Data Guard association.