oci 2.0.5 → 2.0.6

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 (290) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +2 -2
  3. data/lib/oci.rb +3 -0
  4. data/lib/oci/api_client.rb +24 -3
  5. data/lib/oci/audit/audit_client.rb +19 -5
  6. data/lib/oci/audit/models/audit_event.rb +19 -0
  7. data/lib/oci/audit/models/configuration.rb +1 -0
  8. data/lib/oci/audit/models/update_configuration_details.rb +1 -0
  9. data/lib/oci/auth/auth.rb +16 -0
  10. data/lib/oci/auth/federation_client.rb +125 -0
  11. data/lib/oci/auth/internal/auth_token_request_signer.rb +20 -0
  12. data/lib/oci/auth/security_token_container.rb +25 -0
  13. data/lib/oci/auth/session_key_supplier.rb +37 -0
  14. data/lib/oci/auth/signers/instance_principals_security_token_signer.rb +83 -0
  15. data/lib/oci/auth/signers/security_token_signer.rb +32 -0
  16. data/lib/oci/auth/signers/x509_federation_client_based_security_token_signer.rb +70 -0
  17. data/lib/oci/auth/url_based_certificate_retriever.rb +104 -0
  18. data/lib/oci/auth/util.rb +33 -0
  19. data/lib/oci/base_signer.rb +154 -0
  20. data/lib/oci/core/blockstorage_client.rb +19 -5
  21. data/lib/oci/core/compute_client.rb +19 -5
  22. data/lib/oci/core/models/attach_boot_volume_details.rb +5 -2
  23. data/lib/oci/core/models/attach_i_scsi_volume_details.rb +5 -1
  24. data/lib/oci/core/models/attach_vnic_details.rb +6 -2
  25. data/lib/oci/core/models/attach_volume_details.rb +8 -3
  26. data/lib/oci/core/models/boot_volume.rb +22 -6
  27. data/lib/oci/core/models/boot_volume_attachment.rb +17 -7
  28. data/lib/oci/core/models/bulk_add_virtual_circuit_public_prefixes_details.rb +2 -1
  29. data/lib/oci/core/models/bulk_delete_virtual_circuit_public_prefixes_details.rb +2 -1
  30. data/lib/oci/core/models/capture_console_history_details.rb +5 -1
  31. data/lib/oci/core/models/connect_local_peering_gateways_details.rb +3 -1
  32. data/lib/oci/core/models/console_history.rb +19 -6
  33. data/lib/oci/core/models/cpe.rb +18 -3
  34. data/lib/oci/core/models/create_cpe_details.rb +5 -2
  35. data/lib/oci/core/models/create_cross_connect_details.rb +10 -3
  36. data/lib/oci/core/models/create_cross_connect_group_details.rb +3 -1
  37. data/lib/oci/core/models/create_dhcp_details.rb +9 -3
  38. data/lib/oci/core/models/create_drg_attachment_details.rb +5 -2
  39. data/lib/oci/core/models/create_drg_details.rb +3 -1
  40. data/lib/oci/core/models/create_image_details.rb +9 -1
  41. data/lib/oci/core/models/create_instance_console_connection_details.rb +9 -2
  42. data/lib/oci/core/models/create_internet_gateway_details.rb +8 -4
  43. data/lib/oci/core/models/create_ip_sec_connection_details.rb +9 -4
  44. data/lib/oci/core/models/create_local_peering_gateway_details.rb +5 -2
  45. data/lib/oci/core/models/create_private_ip_details.rb +7 -1
  46. data/lib/oci/core/models/create_route_table_details.rb +9 -3
  47. data/lib/oci/core/models/create_security_list_details.rb +11 -4
  48. data/lib/oci/core/models/create_subnet_details.rb +17 -5
  49. data/lib/oci/core/models/create_vcn_details.rb +8 -2
  50. data/lib/oci/core/models/create_virtual_circuit_details.rb +14 -2
  51. data/lib/oci/core/models/create_virtual_circuit_public_prefix_details.rb +2 -1
  52. data/lib/oci/core/models/create_vnic_details.rb +14 -3
  53. data/lib/oci/core/models/create_volume_backup_details.rb +5 -1
  54. data/lib/oci/core/models/create_volume_details.rb +11 -2
  55. data/lib/oci/core/models/cross_connect.rb +26 -0
  56. data/lib/oci/core/models/cross_connect_group.rb +19 -0
  57. data/lib/oci/core/models/cross_connect_location.rb +5 -2
  58. data/lib/oci/core/models/cross_connect_mapping.rb +31 -0
  59. data/lib/oci/core/models/cross_connect_port_speed_shape.rb +6 -2
  60. data/lib/oci/core/models/cross_connect_status.rb +6 -1
  61. data/lib/oci/core/models/delete_virtual_circuit_public_prefix_details.rb +2 -1
  62. data/lib/oci/core/models/dhcp_dns_option.rb +7 -1
  63. data/lib/oci/core/models/dhcp_option.rb +9 -1
  64. data/lib/oci/core/models/dhcp_options.rb +31 -6
  65. data/lib/oci/core/models/dhcp_search_domain_option.rb +5 -1
  66. data/lib/oci/core/models/drg.rb +18 -3
  67. data/lib/oci/core/models/drg_attachment.rb +15 -5
  68. data/lib/oci/core/models/egress_security_rule.rb +10 -3
  69. data/lib/oci/core/models/export_image_details.rb +13 -1
  70. data/lib/oci/core/models/export_image_via_object_storage_tuple_details.rb +3 -0
  71. data/lib/oci/core/models/export_image_via_object_storage_uri_details.rb +2 -1
  72. data/lib/oci/core/models/fast_connect_provider_service.rb +17 -6
  73. data/lib/oci/core/models/i_scsi_volume_attachment.rb +17 -3
  74. data/lib/oci/core/models/icmp_options.rb +11 -1
  75. data/lib/oci/core/models/image.rb +28 -7
  76. data/lib/oci/core/models/image_source_details.rb +4 -1
  77. data/lib/oci/core/models/image_source_via_object_storage_tuple_details.rb +7 -3
  78. data/lib/oci/core/models/image_source_via_object_storage_uri_details.rb +3 -1
  79. data/lib/oci/core/models/ingress_security_rule.rb +10 -3
  80. data/lib/oci/core/models/instance.rb +33 -7
  81. data/lib/oci/core/models/instance_console_connection.rb +15 -0
  82. data/lib/oci/core/models/instance_credentials.rb +5 -2
  83. data/lib/oci/core/models/instance_source_details.rb +3 -1
  84. data/lib/oci/core/models/instance_source_via_boot_volume_details.rb +2 -1
  85. data/lib/oci/core/models/instance_source_via_image_details.rb +2 -1
  86. data/lib/oci/core/models/internet_gateway.rb +20 -5
  87. data/lib/oci/core/models/ip_sec_connection.rb +23 -6
  88. data/lib/oci/core/models/ip_sec_connection_device_config.rb +7 -2
  89. data/lib/oci/core/models/ip_sec_connection_device_status.rb +7 -2
  90. data/lib/oci/core/models/launch_instance_details.rb +20 -3
  91. data/lib/oci/core/models/launch_options.rb +10 -4
  92. data/lib/oci/core/models/letter_of_authority.rb +10 -0
  93. data/lib/oci/core/models/local_peering_gateway.rb +29 -9
  94. data/lib/oci/core/models/port_range.rb +4 -2
  95. data/lib/oci/core/models/private_ip.rb +41 -1
  96. data/lib/oci/core/models/route_rule.rb +7 -2
  97. data/lib/oci/core/models/route_table.rb +22 -5
  98. data/lib/oci/core/models/security_list.rb +32 -8
  99. data/lib/oci/core/models/shape.rb +5 -1
  100. data/lib/oci/core/models/subnet.rb +38 -10
  101. data/lib/oci/core/models/tcp_options.rb +5 -0
  102. data/lib/oci/core/models/tunnel_config.rb +6 -2
  103. data/lib/oci/core/models/tunnel_status.rb +7 -1
  104. data/lib/oci/core/models/udp_options.rb +5 -0
  105. data/lib/oci/core/models/update_boot_volume_details.rb +1 -0
  106. data/lib/oci/core/models/update_console_history_details.rb +3 -0
  107. data/lib/oci/core/models/update_cpe_details.rb +1 -0
  108. data/lib/oci/core/models/update_cross_connect_details.rb +5 -1
  109. data/lib/oci/core/models/update_cross_connect_group_details.rb +1 -0
  110. data/lib/oci/core/models/update_dhcp_details.rb +4 -0
  111. data/lib/oci/core/models/update_drg_attachment_details.rb +1 -0
  112. data/lib/oci/core/models/update_drg_details.rb +1 -0
  113. data/lib/oci/core/models/update_image_details.rb +3 -0
  114. data/lib/oci/core/models/update_instance_details.rb +3 -0
  115. data/lib/oci/core/models/update_internet_gateway_details.rb +3 -1
  116. data/lib/oci/core/models/update_ip_sec_connection_details.rb +1 -0
  117. data/lib/oci/core/models/update_local_peering_gateway_details.rb +1 -0
  118. data/lib/oci/core/models/update_private_ip_details.rb +5 -0
  119. data/lib/oci/core/models/update_route_table_details.rb +4 -0
  120. data/lib/oci/core/models/update_security_list_details.rb +5 -0
  121. data/lib/oci/core/models/update_subnet_details.rb +3 -0
  122. data/lib/oci/core/models/update_vcn_details.rb +3 -0
  123. data/lib/oci/core/models/update_virtual_circuit_details.rb +7 -0
  124. data/lib/oci/core/models/update_vnic_details.rb +4 -1
  125. data/lib/oci/core/models/update_volume_backup_details.rb +3 -0
  126. data/lib/oci/core/models/update_volume_details.rb +3 -0
  127. data/lib/oci/core/models/vcn.rb +24 -4
  128. data/lib/oci/core/models/virtual_circuit.rb +41 -0
  129. data/lib/oci/core/models/virtual_circuit_bandwidth_shape.rb +5 -1
  130. data/lib/oci/core/models/virtual_circuit_public_prefix.rb +8 -2
  131. data/lib/oci/core/models/vnic.rb +38 -9
  132. data/lib/oci/core/models/vnic_attachment.rb +21 -7
  133. data/lib/oci/core/models/volume.rb +28 -8
  134. data/lib/oci/core/models/volume_attachment.rb +25 -8
  135. data/lib/oci/core/models/volume_backup.rb +26 -5
  136. data/lib/oci/core/models/volume_source_details.rb +3 -0
  137. data/lib/oci/core/models/volume_source_from_volume_backup_details.rb +3 -1
  138. data/lib/oci/core/models/volume_source_from_volume_details.rb +3 -1
  139. data/lib/oci/core/virtual_network_client.rb +19 -5
  140. data/lib/oci/database/database_client.rb +19 -5
  141. data/lib/oci/database/models/backup.rb +13 -0
  142. data/lib/oci/database/models/backup_summary.rb +13 -0
  143. data/lib/oci/database/models/create_backup_details.rb +4 -2
  144. data/lib/oci/database/models/create_data_guard_association_details.rb +18 -4
  145. data/lib/oci/database/models/create_data_guard_association_to_existing_db_system_details.rb +5 -0
  146. data/lib/oci/database/models/create_database_details.rb +9 -2
  147. data/lib/oci/database/models/create_database_from_backup_details.rb +6 -3
  148. data/lib/oci/database/models/create_db_home_details.rb +5 -1
  149. data/lib/oci/database/models/create_db_home_with_db_system_id_base.rb +5 -1
  150. data/lib/oci/database/models/create_db_home_with_db_system_id_details.rb +6 -1
  151. data/lib/oci/database/models/create_db_home_with_db_system_id_from_backup_details.rb +4 -0
  152. data/lib/oci/database/models/data_guard_association.rb +32 -7
  153. data/lib/oci/database/models/data_guard_association_summary.rb +32 -7
  154. data/lib/oci/database/models/database.rb +22 -5
  155. data/lib/oci/database/models/database_summary.rb +22 -5
  156. data/lib/oci/database/models/db_backup_config.rb +5 -1
  157. data/lib/oci/database/models/db_home.rb +22 -5
  158. data/lib/oci/database/models/db_home_summary.rb +22 -5
  159. data/lib/oci/database/models/db_node.rb +17 -5
  160. data/lib/oci/database/models/db_node_summary.rb +17 -5
  161. data/lib/oci/database/models/db_system.rb +56 -12
  162. data/lib/oci/database/models/db_system_shape_summary.rb +11 -2
  163. data/lib/oci/database/models/db_system_summary.rb +56 -12
  164. data/lib/oci/database/models/db_version_summary.rb +8 -2
  165. data/lib/oci/database/models/failover_data_guard_association_details.rb +4 -1
  166. data/lib/oci/database/models/launch_db_system_details.rb +27 -8
  167. data/lib/oci/database/models/patch.rb +18 -4
  168. data/lib/oci/database/models/patch_details.rb +6 -0
  169. data/lib/oci/database/models/patch_history_entry.rb +12 -4
  170. data/lib/oci/database/models/patch_history_entry_summary.rb +12 -4
  171. data/lib/oci/database/models/patch_summary.rb +18 -4
  172. data/lib/oci/database/models/reinstate_data_guard_association_details.rb +4 -1
  173. data/lib/oci/database/models/restore_database_details.rb +4 -1
  174. data/lib/oci/database/models/switchover_data_guard_association_details.rb +4 -1
  175. data/lib/oci/database/models/update_database_details.rb +1 -0
  176. data/lib/oci/database/models/update_db_home_details.rb +3 -0
  177. data/lib/oci/database/models/update_db_system_details.rb +6 -0
  178. data/lib/oci/identity/identity.rb +3 -0
  179. data/lib/oci/identity/identity_client.rb +290 -70
  180. data/lib/oci/identity/models/add_user_to_group_details.rb +4 -2
  181. data/lib/oci/identity/models/api_key.rb +18 -0
  182. data/lib/oci/identity/models/availability_domain.rb +6 -0
  183. data/lib/oci/identity/models/compartment.rb +38 -10
  184. data/lib/oci/identity/models/create_api_key_details.rb +2 -1
  185. data/lib/oci/identity/models/create_compartment_details.rb +14 -7
  186. data/lib/oci/identity/models/create_customer_secret_key_details.rb +2 -1
  187. data/lib/oci/identity/models/create_dynamic_group_details.rb +160 -0
  188. data/lib/oci/identity/models/create_group_details.rb +14 -7
  189. data/lib/oci/identity/models/create_identity_provider_details.rb +19 -9
  190. data/lib/oci/identity/models/create_idp_group_mapping_details.rb +4 -2
  191. data/lib/oci/identity/models/create_policy_details.rb +18 -9
  192. data/lib/oci/identity/models/create_region_subscription_details.rb +2 -1
  193. data/lib/oci/identity/models/create_saml2_identity_provider_details.rb +10 -2
  194. data/lib/oci/identity/models/create_swift_password_details.rb +2 -1
  195. data/lib/oci/identity/models/create_tag_details.rb +12 -6
  196. data/lib/oci/identity/models/create_tag_namespace_details.rb +14 -7
  197. data/lib/oci/identity/models/create_user_details.rb +14 -7
  198. data/lib/oci/identity/models/customer_secret_key.rb +16 -0
  199. data/lib/oci/identity/models/customer_secret_key_summary.rb +10 -0
  200. data/lib/oci/identity/models/dynamic_group.rb +239 -0
  201. data/lib/oci/identity/models/group.rb +35 -11
  202. data/lib/oci/identity/models/identity_provider.rb +36 -12
  203. data/lib/oci/identity/models/idp_group_mapping.rb +27 -7
  204. data/lib/oci/identity/models/policy.rb +38 -11
  205. data/lib/oci/identity/models/region.rb +10 -0
  206. data/lib/oci/identity/models/region_subscription.rb +16 -5
  207. data/lib/oci/identity/models/saml2_identity_provider.rb +20 -3
  208. data/lib/oci/identity/models/swift_password.rb +17 -1
  209. data/lib/oci/identity/models/tag.rb +30 -13
  210. data/lib/oci/identity/models/tag_namespace.rb +25 -11
  211. data/lib/oci/identity/models/tag_namespace_summary.rb +23 -10
  212. data/lib/oci/identity/models/tag_summary.rb +21 -8
  213. data/lib/oci/identity/models/tenancy.rb +21 -4
  214. data/lib/oci/identity/models/ui_password.rb +10 -0
  215. data/lib/oci/identity/models/update_compartment_details.rb +10 -4
  216. data/lib/oci/identity/models/update_customer_secret_key_details.rb +1 -0
  217. data/lib/oci/identity/models/update_dynamic_group_details.rb +134 -0
  218. data/lib/oci/identity/models/update_group_details.rb +9 -4
  219. data/lib/oci/identity/models/update_identity_provider_details.rb +12 -5
  220. data/lib/oci/identity/models/update_idp_group_mapping_details.rb +2 -0
  221. data/lib/oci/identity/models/update_policy_details.rb +12 -5
  222. data/lib/oci/identity/models/update_saml2_identity_provider_details.rb +5 -0
  223. data/lib/oci/identity/models/update_state_details.rb +2 -1
  224. data/lib/oci/identity/models/update_swift_password_details.rb +1 -0
  225. data/lib/oci/identity/models/update_tag_details.rb +15 -7
  226. data/lib/oci/identity/models/update_tag_namespace_details.rb +15 -7
  227. data/lib/oci/identity/models/update_user_details.rb +9 -4
  228. data/lib/oci/identity/models/user.rb +38 -11
  229. data/lib/oci/identity/models/user_group_membership.rb +16 -6
  230. data/lib/oci/load_balancer/load_balancer.rb +1 -0
  231. data/lib/oci/load_balancer/load_balancer_client.rb +24 -9
  232. data/lib/oci/load_balancer/models/backend.rb +20 -10
  233. data/lib/oci/load_balancer/models/backend_details.rb +12 -5
  234. data/lib/oci/load_balancer/models/backend_health.rb +6 -2
  235. data/lib/oci/load_balancer/models/backend_set.rb +14 -2
  236. data/lib/oci/load_balancer/models/backend_set_details.rb +11 -1
  237. data/lib/oci/load_balancer/models/backend_set_health.rb +15 -5
  238. data/lib/oci/load_balancer/models/certificate.rb +10 -3
  239. data/lib/oci/load_balancer/models/certificate_details.rb +10 -1
  240. data/lib/oci/load_balancer/models/connection_configuration.rb +157 -0
  241. data/lib/oci/load_balancer/models/create_backend_details.rb +15 -5
  242. data/lib/oci/load_balancer/models/create_backend_set_details.rb +13 -2
  243. data/lib/oci/load_balancer/models/create_certificate_details.rb +10 -1
  244. data/lib/oci/load_balancer/models/create_listener_details.rb +28 -5
  245. data/lib/oci/load_balancer/models/create_load_balancer_details.rb +14 -5
  246. data/lib/oci/load_balancer/models/health_check_result.rb +10 -4
  247. data/lib/oci/load_balancer/models/health_checker.rb +15 -4
  248. data/lib/oci/load_balancer/models/health_checker_details.rb +10 -1
  249. data/lib/oci/load_balancer/models/ip_address.rb +5 -2
  250. data/lib/oci/load_balancer/models/listener.rb +28 -5
  251. data/lib/oci/load_balancer/models/listener_details.rb +23 -4
  252. data/lib/oci/load_balancer/models/load_balancer.rb +30 -7
  253. data/lib/oci/load_balancer/models/load_balancer_health.rb +15 -5
  254. data/lib/oci/load_balancer/models/load_balancer_health_summary.rb +5 -2
  255. data/lib/oci/load_balancer/models/load_balancer_policy.rb +6 -1
  256. data/lib/oci/load_balancer/models/load_balancer_protocol.rb +3 -1
  257. data/lib/oci/load_balancer/models/load_balancer_shape.rb +8 -1
  258. data/lib/oci/load_balancer/models/session_persistence_configuration_details.rb +14 -2
  259. data/lib/oci/load_balancer/models/ssl_configuration.rb +11 -4
  260. data/lib/oci/load_balancer/models/ssl_configuration_details.rb +6 -2
  261. data/lib/oci/load_balancer/models/update_backend_details.rb +12 -7
  262. data/lib/oci/load_balancer/models/update_backend_set_details.rb +12 -1
  263. data/lib/oci/load_balancer/models/update_health_checker_details.rb +16 -7
  264. data/lib/oci/load_balancer/models/update_listener_details.rb +23 -4
  265. data/lib/oci/load_balancer/models/update_load_balancer_details.rb +3 -1
  266. data/lib/oci/load_balancer/models/work_request.rb +20 -6
  267. data/lib/oci/load_balancer/models/work_request_error.rb +5 -1
  268. data/lib/oci/object_storage/models/bucket.rb +27 -8
  269. data/lib/oci/object_storage/models/bucket_summary.rb +16 -6
  270. data/lib/oci/object_storage/models/commit_multipart_upload_details.rb +7 -1
  271. data/lib/oci/object_storage/models/commit_multipart_upload_part_details.rb +8 -2
  272. data/lib/oci/object_storage/models/create_bucket_details.rb +15 -4
  273. data/lib/oci/object_storage/models/create_multipart_upload_details.rb +10 -1
  274. data/lib/oci/object_storage/models/create_preauthenticated_request_details.rb +7 -3
  275. data/lib/oci/object_storage/models/list_objects.rb +8 -1
  276. data/lib/oci/object_storage/models/multipart_upload.rb +20 -5
  277. data/lib/oci/object_storage/models/multipart_upload_part_summary.rb +13 -4
  278. data/lib/oci/object_storage/models/namespace_metadata.rb +8 -3
  279. data/lib/oci/object_storage/models/object_summary.rb +9 -1
  280. data/lib/oci/object_storage/models/preauthenticated_request.rb +20 -6
  281. data/lib/oci/object_storage/models/preauthenticated_request_summary.rb +13 -5
  282. data/lib/oci/object_storage/models/rename_object_details.rb +11 -2
  283. data/lib/oci/object_storage/models/restore_objects_details.rb +2 -1
  284. data/lib/oci/object_storage/models/update_bucket_details.rb +13 -2
  285. data/lib/oci/object_storage/models/update_namespace_metadata_details.rb +5 -0
  286. data/lib/oci/object_storage/object_storage_client.rb +26 -12
  287. data/lib/oci/regions.rb +8 -1
  288. data/lib/oci/signer.rb +5 -124
  289. data/lib/oci/version.rb +1 -1
  290. metadata +31 -2
@@ -4,7 +4,7 @@ require 'date'
4
4
 
5
5
  module OCI
6
6
  class Core::Models::AttachBootVolumeDetails
7
- # The OCID of the boot volume.
7
+ # **[Required]** The OCID of the boot volume.
8
8
  # @return [String]
9
9
  attr_accessor :boot_volume_id
10
10
 
@@ -13,13 +13,16 @@ module OCI
13
13
  # @return [String]
14
14
  attr_accessor :display_name
15
15
 
16
- # The OCID of the instance.
16
+ # **[Required]** The OCID of the instance.
17
17
  # @return [String]
18
18
  attr_accessor :instance_id
19
19
 
20
20
 
21
21
  # Initializes the object
22
22
  # @param [Hash] attributes Model attributes in the form of hash
23
+ # @option attributes [String] :bootVolumeId The value to assign to the {#boot_volume_id} property
24
+ # @option attributes [String] :displayName The value to assign to the {#display_name} property
25
+ # @option attributes [String] :instanceId The value to assign to the {#instance_id} property
23
26
  def initialize(attributes = {})
24
27
  return unless attributes.is_a?(Hash)
25
28
 
@@ -12,6 +12,10 @@ module OCI
12
12
 
13
13
  # Initializes the object
14
14
  # @param [Hash] attributes Model attributes in the form of hash
15
+ # @option attributes [String] :displayName The value to assign to the {OCI::Core::Models::AttachVolumeDetails#display_name #display_name} proprety
16
+ # @option attributes [String] :instanceId The value to assign to the {OCI::Core::Models::AttachVolumeDetails#instance_id #instance_id} proprety
17
+ # @option attributes [String] :volumeId The value to assign to the {OCI::Core::Models::AttachVolumeDetails#volume_id #volume_id} proprety
18
+ # @option attributes [BOOLEAN] :useChap The value to assign to the {#use_chap} property
15
19
  def initialize(attributes = {})
16
20
  return unless attributes.is_a?(Hash)
17
21
 
@@ -22,7 +26,7 @@ module OCI
22
26
  # convert string to symbol for hash key
23
27
  attributes = attributes.each_with_object({}){|(k,v), h| h[k.to_sym] = v}
24
28
 
25
- if attributes[:'useChap']
29
+ unless attributes[:'useChap'].nil?
26
30
  self.use_chap = attributes[:'useChap']
27
31
  end
28
32
 
@@ -4,7 +4,7 @@ require 'date'
4
4
 
5
5
  module OCI
6
6
  class Core::Models::AttachVnicDetails
7
- # Details for creating a new VNIC.
7
+ # **[Required]** Details for creating a new VNIC.
8
8
  #
9
9
  # @return [OCI::Core::Models::CreateVnicDetails]
10
10
  attr_accessor :create_vnic_details
@@ -14,7 +14,7 @@ module OCI
14
14
  # @return [String]
15
15
  attr_accessor :display_name
16
16
 
17
- # The OCID of the instance.
17
+ # **[Required]** The OCID of the instance.
18
18
  # @return [String]
19
19
  attr_accessor :instance_id
20
20
 
@@ -30,6 +30,10 @@ module OCI
30
30
 
31
31
  # Initializes the object
32
32
  # @param [Hash] attributes Model attributes in the form of hash
33
+ # @option attributes [OCI::Core::Models::CreateVnicDetails] :createVnicDetails The value to assign to the {#create_vnic_details} property
34
+ # @option attributes [String] :displayName The value to assign to the {#display_name} property
35
+ # @option attributes [String] :instanceId The value to assign to the {#instance_id} property
36
+ # @option attributes [Integer] :nicIndex The value to assign to the {#nic_index} property
33
37
  def initialize(attributes = {})
34
38
  return unless attributes.is_a?(Hash)
35
39
 
@@ -3,21 +3,22 @@
3
3
  require 'date'
4
4
 
5
5
  module OCI
6
+ # This class has direct subclasses. If you are using this class as input to a service operations then you should favor using a subclass over the base class
6
7
  class Core::Models::AttachVolumeDetails
7
8
  # A user-friendly name. Does not have to be unique, and it cannot be changed. Avoid entering confidential information.
8
9
  #
9
10
  # @return [String]
10
11
  attr_accessor :display_name
11
12
 
12
- # The OCID of the instance.
13
+ # **[Required]** The OCID of the instance.
13
14
  # @return [String]
14
15
  attr_accessor :instance_id
15
16
 
16
- # The type of volume. The only supported value is \"iscsi\".
17
+ # **[Required]** The type of volume. The only supported value is \"iscsi\".
17
18
  # @return [String]
18
19
  attr_accessor :type
19
20
 
20
- # The OCID of the volume.
21
+ # **[Required]** The OCID of the volume.
21
22
  # @return [String]
22
23
  attr_accessor :volume_id
23
24
 
@@ -35,6 +36,10 @@ module OCI
35
36
 
36
37
  # Initializes the object
37
38
  # @param [Hash] attributes Model attributes in the form of hash
39
+ # @option attributes [String] :displayName The value to assign to the {#display_name} property
40
+ # @option attributes [String] :instanceId The value to assign to the {#instance_id} property
41
+ # @option attributes [String] :type The value to assign to the {#type} property
42
+ # @option attributes [String] :volumeId The value to assign to the {#volume_id} property
38
43
  def initialize(attributes = {})
39
44
  return unless attributes.is_a?(Hash)
40
45
 
@@ -3,6 +3,13 @@
3
3
  require 'date'
4
4
 
5
5
  module OCI
6
+ # A detachable boot volume device that contains the image used to boot an Compute instance. For more information, see
7
+ # [Overview of Boot Volumes](https://docs.us-phoenix-1.oraclecloud.com/Content/Block/Concepts/bootvolumes.htm).
8
+ #
9
+ # To use any of the API operations, you must be authorized in an IAM policy. If you're not authorized,
10
+ # talk to an administrator. If you're an administrator who needs to write policies to give users access, see
11
+ # [Getting Started with Policies](https://docs.us-phoenix-1.oraclecloud.com/Content/Identity/Concepts/policygetstarted.htm).
12
+ #
6
13
  class Core::Models::BootVolume
7
14
 
8
15
  LIFECYCLE_STATE_ENUM = [LIFECYCLE_STATE_PROVISIONING = 'PROVISIONING',
@@ -13,14 +20,14 @@ module OCI
13
20
  LIFECYCLE_STATE_FAULTY = 'FAULTY',
14
21
  LIFECYCLE_STATE_UNKNOWN_ENUM_VALUE = 'UNKNOWN_ENUM_VALUE']
15
22
 
16
- # The Availability Domain of the boot volume.
23
+ # **[Required]** The Availability Domain of the boot volume.
17
24
  #
18
25
  # Example: `Uocm:PHX-AD-1`
19
26
  #
20
27
  # @return [String]
21
28
  attr_accessor :availability_domain
22
29
 
23
- # The OCID of the compartment that contains the boot volume.
30
+ # **[Required]** The OCID of the compartment that contains the boot volume.
24
31
  # @return [String]
25
32
  attr_accessor :compartment_id
26
33
 
@@ -30,7 +37,7 @@ module OCI
30
37
  # @return [String]
31
38
  attr_accessor :display_name
32
39
 
33
- # The boot volume's Oracle ID (OCID).
40
+ # **[Required]** The boot volume's Oracle ID (OCID).
34
41
  # @return [String]
35
42
  attr_accessor :id
36
43
 
@@ -38,7 +45,7 @@ module OCI
38
45
  # @return [String]
39
46
  attr_accessor :image_id
40
47
 
41
- # The current state of a boot volume.
48
+ # **[Required]** The current state of a boot volume.
42
49
  # @return [String]
43
50
  attr_accessor :lifecycle_state
44
51
 
@@ -46,19 +53,28 @@ module OCI
46
53
  # @return [Integer]
47
54
  attr_accessor :size_in_gbs
48
55
 
49
- # The size of the volume in MBs. The value must be a multiple of 1024.
56
+ # **[Required]** The size of the volume in MBs. The value must be a multiple of 1024.
50
57
  # This field is deprecated. Please use sizeInGBs.
51
58
  #
52
59
  # @return [Integer]
53
60
  attr_accessor :size_in_mbs
54
61
 
55
- # The date and time the boot volume was created. Format defined by RFC3339.
62
+ # **[Required]** The date and time the boot volume was created. Format defined by RFC3339.
56
63
  # @return [DateTime]
57
64
  attr_accessor :time_created
58
65
 
59
66
 
60
67
  # Initializes the object
61
68
  # @param [Hash] attributes Model attributes in the form of hash
69
+ # @option attributes [String] :availabilityDomain The value to assign to the {#availability_domain} property
70
+ # @option attributes [String] :compartmentId The value to assign to the {#compartment_id} property
71
+ # @option attributes [String] :displayName The value to assign to the {#display_name} property
72
+ # @option attributes [String] :id The value to assign to the {#id} property
73
+ # @option attributes [String] :imageId The value to assign to the {#image_id} property
74
+ # @option attributes [String] :lifecycleState The value to assign to the {#lifecycle_state} property
75
+ # @option attributes [Integer] :sizeInGBs The value to assign to the {#size_in_gbs} property
76
+ # @option attributes [Integer] :sizeInMBs The value to assign to the {#size_in_mbs} property
77
+ # @option attributes [DateTime] :timeCreated The value to assign to the {#time_created} property
62
78
  def initialize(attributes = {})
63
79
  return unless attributes.is_a?(Hash)
64
80
 
@@ -3,6 +3,8 @@
3
3
  require 'date'
4
4
 
5
5
  module OCI
6
+ # Represents an attachment between a boot volume and an instance.
7
+ #
6
8
  class Core::Models::BootVolumeAttachment
7
9
 
8
10
  LIFECYCLE_STATE_ENUM = [LIFECYCLE_STATE_ATTACHING = 'ATTACHING',
@@ -11,18 +13,18 @@ module OCI
11
13
  LIFECYCLE_STATE_DETACHED = 'DETACHED',
12
14
  LIFECYCLE_STATE_UNKNOWN_ENUM_VALUE = 'UNKNOWN_ENUM_VALUE']
13
15
 
14
- # The Availability Domain of an instance.
16
+ # **[Required]** The Availability Domain of an instance.
15
17
  #
16
18
  # Example: `Uocm:PHX-AD-1`
17
19
  #
18
20
  # @return [String]
19
21
  attr_accessor :availability_domain
20
22
 
21
- # The OCID of the boot volume.
23
+ # **[Required]** The OCID of the boot volume.
22
24
  # @return [String]
23
25
  attr_accessor :boot_volume_id
24
26
 
25
- # The OCID of the compartment.
27
+ # **[Required]** The OCID of the compartment.
26
28
  # @return [String]
27
29
  attr_accessor :compartment_id
28
30
 
@@ -34,19 +36,19 @@ module OCI
34
36
  # @return [String]
35
37
  attr_accessor :display_name
36
38
 
37
- # The OCID of the boot volume attachment.
39
+ # **[Required]** The OCID of the boot volume attachment.
38
40
  # @return [String]
39
41
  attr_accessor :id
40
42
 
41
- # The OCID of the instance the boot volume is attached to.
43
+ # **[Required]** The OCID of the instance the boot volume is attached to.
42
44
  # @return [String]
43
45
  attr_accessor :instance_id
44
46
 
45
- # The current state of the boot volume attachment.
47
+ # **[Required]** The current state of the boot volume attachment.
46
48
  # @return [String]
47
49
  attr_accessor :lifecycle_state
48
50
 
49
- # The date and time the boot volume was created, in the format defined by RFC3339.
51
+ # **[Required]** The date and time the boot volume was created, in the format defined by RFC3339.
50
52
  #
51
53
  # Example: `2016-08-25T21:10:29.600Z`
52
54
  #
@@ -56,6 +58,14 @@ module OCI
56
58
 
57
59
  # Initializes the object
58
60
  # @param [Hash] attributes Model attributes in the form of hash
61
+ # @option attributes [String] :availabilityDomain The value to assign to the {#availability_domain} property
62
+ # @option attributes [String] :bootVolumeId The value to assign to the {#boot_volume_id} property
63
+ # @option attributes [String] :compartmentId The value to assign to the {#compartment_id} property
64
+ # @option attributes [String] :displayName The value to assign to the {#display_name} property
65
+ # @option attributes [String] :id The value to assign to the {#id} property
66
+ # @option attributes [String] :instanceId The value to assign to the {#instance_id} property
67
+ # @option attributes [String] :lifecycleState The value to assign to the {#lifecycle_state} property
68
+ # @option attributes [DateTime] :timeCreated The value to assign to the {#time_created} property
59
69
  def initialize(attributes = {})
60
70
  return unless attributes.is_a?(Hash)
61
71
 
@@ -4,13 +4,14 @@ require 'date'
4
4
 
5
5
  module OCI
6
6
  class Core::Models::BulkAddVirtualCircuitPublicPrefixesDetails
7
- # The public IP prefixes (CIDRs) to add to the public virtual circuit.
7
+ # **[Required]** The public IP prefixes (CIDRs) to add to the public virtual circuit.
8
8
  # @return [Array<OCI::Core::Models::CreateVirtualCircuitPublicPrefixDetails>]
9
9
  attr_accessor :public_prefixes
10
10
 
11
11
 
12
12
  # Initializes the object
13
13
  # @param [Hash] attributes Model attributes in the form of hash
14
+ # @option attributes [Array<OCI::Core::Models::CreateVirtualCircuitPublicPrefixDetails>] :publicPrefixes The value to assign to the {#public_prefixes} property
14
15
  def initialize(attributes = {})
15
16
  return unless attributes.is_a?(Hash)
16
17
 
@@ -4,13 +4,14 @@ require 'date'
4
4
 
5
5
  module OCI
6
6
  class Core::Models::BulkDeleteVirtualCircuitPublicPrefixesDetails
7
- # The public IP prefixes (CIDRs) to remove from the public virtual circuit.
7
+ # **[Required]** The public IP prefixes (CIDRs) to remove from the public virtual circuit.
8
8
  # @return [Array<OCI::Core::Models::DeleteVirtualCircuitPublicPrefixDetails>]
9
9
  attr_accessor :public_prefixes
10
10
 
11
11
 
12
12
  # Initializes the object
13
13
  # @param [Hash] attributes Model attributes in the form of hash
14
+ # @option attributes [Array<OCI::Core::Models::DeleteVirtualCircuitPublicPrefixDetails>] :publicPrefixes The value to assign to the {#public_prefixes} property
14
15
  def initialize(attributes = {})
15
16
  return unless attributes.is_a?(Hash)
16
17
 
@@ -26,13 +26,17 @@ module OCI
26
26
  # @return [Hash<String, String>]
27
27
  attr_accessor :freeform_tags
28
28
 
29
- # The OCID of the instance to get the console history from.
29
+ # **[Required]** The OCID of the instance to get the console history from.
30
30
  # @return [String]
31
31
  attr_accessor :instance_id
32
32
 
33
33
 
34
34
  # Initializes the object
35
35
  # @param [Hash] attributes Model attributes in the form of hash
36
+ # @option attributes [Hash<String, Hash<String, Object>>] :definedTags The value to assign to the {#defined_tags} property
37
+ # @option attributes [String] :displayName The value to assign to the {#display_name} property
38
+ # @option attributes [Hash<String, String>] :freeformTags The value to assign to the {#freeform_tags} property
39
+ # @option attributes [String] :instanceId The value to assign to the {#instance_id} property
36
40
  def initialize(attributes = {})
37
41
  return unless attributes.is_a?(Hash)
38
42
 
@@ -3,14 +3,16 @@
3
3
  require 'date'
4
4
 
5
5
  module OCI
6
+ # Information about the other local peering gateway (LPG).
6
7
  class Core::Models::ConnectLocalPeeringGatewaysDetails
7
- # The OCID of the LPG you want to peer with.
8
+ # **[Required]** The OCID of the LPG you want to peer with.
8
9
  # @return [String]
9
10
  attr_accessor :peer_id
10
11
 
11
12
 
12
13
  # Initializes the object
13
14
  # @param [Hash] attributes Model attributes in the form of hash
15
+ # @option attributes [String] :peerId The value to assign to the {#peer_id} property
14
16
  def initialize(attributes = {})
15
17
  return unless attributes.is_a?(Hash)
16
18
 
@@ -3,6 +3,10 @@
3
3
  require 'date'
4
4
 
5
5
  module OCI
6
+ # An instance's serial console data. It includes configuration messages that occur when the
7
+ # instance boots, such as kernel and BIOS messages, and is useful for checking the status of
8
+ # the instance or diagnosing problems. The console data is minimally formatted ASCII text.
9
+ #
6
10
  class Core::Models::ConsoleHistory
7
11
 
8
12
  LIFECYCLE_STATE_ENUM = [LIFECYCLE_STATE_REQUESTED = 'REQUESTED',
@@ -11,14 +15,14 @@ module OCI
11
15
  LIFECYCLE_STATE_FAILED = 'FAILED',
12
16
  LIFECYCLE_STATE_UNKNOWN_ENUM_VALUE = 'UNKNOWN_ENUM_VALUE']
13
17
 
14
- # The Availability Domain of an instance.
18
+ # **[Required]** The Availability Domain of an instance.
15
19
  #
16
20
  # Example: `Uocm:PHX-AD-1`
17
21
  #
18
22
  # @return [String]
19
23
  attr_accessor :availability_domain
20
24
 
21
- # The OCID of the compartment.
25
+ # **[Required]** The OCID of the compartment.
22
26
  # @return [String]
23
27
  attr_accessor :compartment_id
24
28
 
@@ -47,19 +51,19 @@ module OCI
47
51
  # @return [Hash<String, String>]
48
52
  attr_accessor :freeform_tags
49
53
 
50
- # The OCID of the console history metadata object.
54
+ # **[Required]** The OCID of the console history metadata object.
51
55
  # @return [String]
52
56
  attr_accessor :id
53
57
 
54
- # The OCID of the instance this console history was fetched from.
58
+ # **[Required]** The OCID of the instance this console history was fetched from.
55
59
  # @return [String]
56
60
  attr_accessor :instance_id
57
61
 
58
- # The current state of the console history.
62
+ # **[Required]** The current state of the console history.
59
63
  # @return [String]
60
64
  attr_accessor :lifecycle_state
61
65
 
62
- # The date and time the history was created, in the format defined by RFC3339.
66
+ # **[Required]** The date and time the history was created, in the format defined by RFC3339.
63
67
  # Example: `2016-08-25T21:10:29.600Z`
64
68
  #
65
69
  # @return [DateTime]
@@ -68,6 +72,15 @@ module OCI
68
72
 
69
73
  # Initializes the object
70
74
  # @param [Hash] attributes Model attributes in the form of hash
75
+ # @option attributes [String] :availabilityDomain The value to assign to the {#availability_domain} property
76
+ # @option attributes [String] :compartmentId The value to assign to the {#compartment_id} property
77
+ # @option attributes [Hash<String, Hash<String, Object>>] :definedTags The value to assign to the {#defined_tags} property
78
+ # @option attributes [String] :displayName The value to assign to the {#display_name} property
79
+ # @option attributes [Hash<String, String>] :freeformTags The value to assign to the {#freeform_tags} property
80
+ # @option attributes [String] :id The value to assign to the {#id} property
81
+ # @option attributes [String] :instanceId The value to assign to the {#instance_id} property
82
+ # @option attributes [String] :lifecycleState The value to assign to the {#lifecycle_state} property
83
+ # @option attributes [DateTime] :timeCreated The value to assign to the {#time_created} property
71
84
  def initialize(attributes = {})
72
85
  return unless attributes.is_a?(Hash)
73
86
 
@@ -3,8 +3,18 @@
3
3
  require 'date'
4
4
 
5
5
  module OCI
6
+ # An object you create when setting up an IPSec VPN between your on-premises network
7
+ # and VCN. The `Cpe` is a virtual representation of your Customer-Premises Equipment,
8
+ # which is the actual router on-premises at your site at your end of the IPSec VPN connection.
9
+ # For more information,
10
+ # see [Overview of the Networking Service](https://docs.us-phoenix-1.oraclecloud.com/Content/Network/Concepts/overview.htm).
11
+ #
12
+ # To use any of the API operations, you must be authorized in an IAM policy. If you're not authorized,
13
+ # talk to an administrator. If you're an administrator who needs to write policies to give users access, see
14
+ # [Getting Started with Policies](https://docs.us-phoenix-1.oraclecloud.com/Content/Identity/Concepts/policygetstarted.htm).
15
+ #
6
16
  class Core::Models::Cpe
7
- # The OCID of the compartment containing the CPE.
17
+ # **[Required]** The OCID of the compartment containing the CPE.
8
18
  # @return [String]
9
19
  attr_accessor :compartment_id
10
20
 
@@ -14,11 +24,11 @@ module OCI
14
24
  # @return [String]
15
25
  attr_accessor :display_name
16
26
 
17
- # The CPE's Oracle ID (OCID).
27
+ # **[Required]** The CPE's Oracle ID (OCID).
18
28
  # @return [String]
19
29
  attr_accessor :id
20
30
 
21
- # The public IP address of the on-premises router.
31
+ # **[Required]** The public IP address of the on-premises router.
22
32
  # @return [String]
23
33
  attr_accessor :ip_address
24
34
 
@@ -32,6 +42,11 @@ module OCI
32
42
 
33
43
  # Initializes the object
34
44
  # @param [Hash] attributes Model attributes in the form of hash
45
+ # @option attributes [String] :compartmentId The value to assign to the {#compartment_id} property
46
+ # @option attributes [String] :displayName The value to assign to the {#display_name} property
47
+ # @option attributes [String] :id The value to assign to the {#id} property
48
+ # @option attributes [String] :ipAddress The value to assign to the {#ip_address} property
49
+ # @option attributes [DateTime] :timeCreated The value to assign to the {#time_created} property
35
50
  def initialize(attributes = {})
36
51
  return unless attributes.is_a?(Hash)
37
52
 
@@ -4,7 +4,7 @@ require 'date'
4
4
 
5
5
  module OCI
6
6
  class Core::Models::CreateCpeDetails
7
- # The OCID of the compartment to contain the CPE.
7
+ # **[Required]** The OCID of the compartment to contain the CPE.
8
8
  # @return [String]
9
9
  attr_accessor :compartment_id
10
10
 
@@ -12,7 +12,7 @@ module OCI
12
12
  # @return [String]
13
13
  attr_accessor :display_name
14
14
 
15
- # The public IP address of the on-premises router.
15
+ # **[Required]** The public IP address of the on-premises router.
16
16
  #
17
17
  # Example: `143.19.23.16`
18
18
  #
@@ -22,6 +22,9 @@ module OCI
22
22
 
23
23
  # Initializes the object
24
24
  # @param [Hash] attributes Model attributes in the form of hash
25
+ # @option attributes [String] :compartmentId The value to assign to the {#compartment_id} property
26
+ # @option attributes [String] :displayName The value to assign to the {#display_name} property
27
+ # @option attributes [String] :ipAddress The value to assign to the {#ip_address} property
25
28
  def initialize(attributes = {})
26
29
  return unless attributes.is_a?(Hash)
27
30