oci 2.0.5 → 2.0.6

Sign up to get free protection for your applications and to get access to all the features.
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
@@ -3,6 +3,10 @@
3
3
  require 'date'
4
4
 
5
5
  module OCI
6
+ # The configuration details for adding a certificate bundle to a listener.
7
+ # For more information on SSL certficate configuration, see
8
+ # [Managing SSL Certificates](https://docs.us-phoenix-1.oraclecloud.com/Content/Balance/Tasks/managingcertificates.htm).
9
+ #
6
10
  class LoadBalancer::Models::CreateCertificateDetails
7
11
  # The Certificate Authority certificate, or any interim certificate, that you received from your SSL certificate provider.
8
12
  #
@@ -19,7 +23,7 @@ module OCI
19
23
  # @return [String]
20
24
  attr_accessor :ca_certificate
21
25
 
22
- # A friendly name for the certificate bundle. It must be unique and it cannot be changed.
26
+ # **[Required]** A friendly name for the certificate bundle. It must be unique and it cannot be changed.
23
27
  # Valid certificate bundle names include only alphanumeric characters, dashes, and underscores.
24
28
  # Certificate bundle names cannot contain spaces. Avoid entering confidential information.
25
29
  #
@@ -68,6 +72,11 @@ 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] :caCertificate The value to assign to the {#ca_certificate} property
76
+ # @option attributes [String] :certificateName The value to assign to the {#certificate_name} property
77
+ # @option attributes [String] :passphrase The value to assign to the {#passphrase} property
78
+ # @option attributes [String] :privateKey The value to assign to the {#private_key} property
79
+ # @option attributes [String] :publicCertificate The value to assign to the {#public_certificate} property
71
80
  def initialize(attributes = {})
72
81
  return unless attributes.is_a?(Hash)
73
82
 
@@ -3,12 +3,22 @@
3
3
  require 'date'
4
4
 
5
5
  module OCI
6
+ # The configuration details for adding a listener to a backend set.
7
+ # For more information on listener configuration, see
8
+ # [Managing Load Balancer Listeners](https://docs.us-phoenix-1.oraclecloud.com/Content/Balance/tasks/managinglisteners.htm).
9
+ #
6
10
  class LoadBalancer::Models::CreateListenerDetails
7
- # The name of the associated backend set.
11
+ # @return [OCI::LoadBalancer::Models::ConnectionConfiguration]
12
+ attr_accessor :connection_configuration
13
+
14
+ # **[Required]** The name of the associated backend set.
15
+ #
16
+ # Example: `My_backend_set`
17
+ #
8
18
  # @return [String]
9
19
  attr_accessor :default_backend_set_name
10
20
 
11
- # A friendly name for the listener. It must be unique and it cannot be changed.
21
+ # **[Required]** A friendly name for the listener. It must be unique and it cannot be changed.
12
22
  # Avoid entering confidential information.
13
23
  #
14
24
  # Example: `My listener`
@@ -16,14 +26,14 @@ module OCI
16
26
  # @return [String]
17
27
  attr_accessor :name
18
28
 
19
- # The communication port for the listener.
29
+ # **[Required]** The communication port for the listener.
20
30
  #
21
31
  # Example: `80`
22
32
  #
23
33
  # @return [Integer]
24
34
  attr_accessor :port
25
35
 
26
- # The protocol on which the listener accepts connection requests.
36
+ # **[Required]** The protocol on which the listener accepts connection requests.
27
37
  # To get a list of valid protocols, use the {#list_protocols list_protocols}
28
38
  # operation.
29
39
  #
@@ -38,12 +48,22 @@ module OCI
38
48
 
39
49
  # Initializes the object
40
50
  # @param [Hash] attributes Model attributes in the form of hash
51
+ # @option attributes [OCI::LoadBalancer::Models::ConnectionConfiguration] :connectionConfiguration The value to assign to the {#connection_configuration} property
52
+ # @option attributes [String] :defaultBackendSetName The value to assign to the {#default_backend_set_name} property
53
+ # @option attributes [String] :name The value to assign to the {#name} property
54
+ # @option attributes [Integer] :port The value to assign to the {#port} property
55
+ # @option attributes [String] :protocol The value to assign to the {#protocol} property
56
+ # @option attributes [OCI::LoadBalancer::Models::SSLConfigurationDetails] :sslConfiguration The value to assign to the {#ssl_configuration} property
41
57
  def initialize(attributes = {})
42
58
  return unless attributes.is_a?(Hash)
43
59
 
44
60
  # convert string to symbol for hash key
45
61
  attributes = attributes.each_with_object({}){|(k,v), h| h[k.to_sym] = v}
46
62
 
63
+ if attributes[:'connectionConfiguration']
64
+ self.connection_configuration = attributes[:'connectionConfiguration']
65
+ end
66
+
47
67
  if attributes[:'defaultBackendSetName']
48
68
  self.default_backend_set_name = attributes[:'defaultBackendSetName']
49
69
  end
@@ -71,6 +91,7 @@ module OCI
71
91
  def ==(other_object)
72
92
  return true if self.equal?(other_object)
73
93
  self.class == other_object.class &&
94
+ connection_configuration == other_object.connection_configuration &&
74
95
  default_backend_set_name == other_object.default_backend_set_name &&
75
96
  name == other_object.name &&
76
97
  port == other_object.port &&
@@ -87,7 +108,7 @@ module OCI
87
108
  # Calculates hash code according to all attributes.
88
109
  # @return [Fixnum] Hash code
89
110
  def hash
90
- [default_backend_set_name, name, port, protocol, ssl_configuration].hash
111
+ [connection_configuration, default_backend_set_name, name, port, protocol, ssl_configuration].hash
91
112
  end
92
113
 
93
114
  # Builds the object from hash
@@ -153,6 +174,7 @@ module OCI
153
174
  # Attribute mapping from ruby-style variable name to JSON key.
154
175
  def self.attribute_map
155
176
  {
177
+ :'connection_configuration' => :'connectionConfiguration',
156
178
  :'default_backend_set_name' => :'defaultBackendSetName',
157
179
  :'name' => :'name',
158
180
  :'port' => :'port',
@@ -164,6 +186,7 @@ module OCI
164
186
  # Attribute type mapping.
165
187
  def self.swagger_types
166
188
  {
189
+ :'connection_configuration' => :'OCI::LoadBalancer::Models::ConnectionConfiguration',
167
190
  :'default_backend_set_name' => :'String',
168
191
  :'name' => :'String',
169
192
  :'port' => :'Integer',
@@ -3,6 +3,7 @@
3
3
  require 'date'
4
4
 
5
5
  module OCI
6
+ # The configuration details for creating a load balancer.
6
7
  class LoadBalancer::Models::CreateLoadBalancerDetails
7
8
  # @return [Hash<String, OCI::LoadBalancer::Models::BackendSetDetails>]
8
9
  attr_accessor :backend_sets
@@ -10,11 +11,11 @@ module OCI
10
11
  # @return [Hash<String, OCI::LoadBalancer::Models::CertificateDetails>]
11
12
  attr_accessor :certificates
12
13
 
13
- # The [OCID](https://docs.us-phoenix-1.oraclecloud.com/Content/General/Concepts/identifiers.htm) of the compartment in which to create the load balancer.
14
+ # **[Required]** The [OCID](https://docs.us-phoenix-1.oraclecloud.com/Content/General/Concepts/identifiers.htm) of the compartment in which to create the load balancer.
14
15
  # @return [String]
15
16
  attr_accessor :compartment_id
16
17
 
17
- # A user-friendly name. It does not have to be unique, and it is changeable.
18
+ # **[Required]** A user-friendly name. It does not have to be unique, and it is changeable.
18
19
  # Avoid entering confidential information.
19
20
  #
20
21
  # Example: `My load balancer`
@@ -44,7 +45,7 @@ module OCI
44
45
  # @return [Hash<String, OCI::LoadBalancer::Models::ListenerDetails>]
45
46
  attr_accessor :listeners
46
47
 
47
- # A template that determines the total pre-provisioned bandwidth (ingress plus egress).
48
+ # **[Required]** A template that determines the total pre-provisioned bandwidth (ingress plus egress).
48
49
  # To get a list of available shapes, use the {#list_shapes list_shapes}
49
50
  # operation.
50
51
  #
@@ -53,13 +54,21 @@ module OCI
53
54
  # @return [String]
54
55
  attr_accessor :shape_name
55
56
 
56
- # An array of subnet [OCIDs](https://docs.us-phoenix-1.oraclecloud.com/Content/General/Concepts/identifiers.htm).
57
+ # **[Required]** An array of subnet [OCIDs](https://docs.us-phoenix-1.oraclecloud.com/Content/General/Concepts/identifiers.htm).
57
58
  # @return [Array<String>]
58
59
  attr_accessor :subnet_ids
59
60
 
60
61
 
61
62
  # Initializes the object
62
63
  # @param [Hash] attributes Model attributes in the form of hash
64
+ # @option attributes [Hash<String, OCI::LoadBalancer::Models::BackendSetDetails>] :backendSets The value to assign to the {#backend_sets} property
65
+ # @option attributes [Hash<String, OCI::LoadBalancer::Models::CertificateDetails>] :certificates The value to assign to the {#certificates} property
66
+ # @option attributes [String] :compartmentId The value to assign to the {#compartment_id} property
67
+ # @option attributes [String] :displayName The value to assign to the {#display_name} property
68
+ # @option attributes [BOOLEAN] :isPrivate The value to assign to the {#is_private} property
69
+ # @option attributes [Hash<String, OCI::LoadBalancer::Models::ListenerDetails>] :listeners The value to assign to the {#listeners} property
70
+ # @option attributes [String] :shapeName The value to assign to the {#shape_name} property
71
+ # @option attributes [Array<String>] :subnetIds The value to assign to the {#subnet_ids} property
63
72
  def initialize(attributes = {})
64
73
  return unless attributes.is_a?(Hash)
65
74
 
@@ -82,7 +91,7 @@ module OCI
82
91
  self.display_name = attributes[:'displayName']
83
92
  end
84
93
 
85
- if attributes[:'isPrivate']
94
+ unless attributes[:'isPrivate'].nil?
86
95
  self.is_private = attributes[:'isPrivate']
87
96
  else
88
97
  self.is_private = false
@@ -3,6 +3,8 @@
3
3
  require 'date'
4
4
 
5
5
  module OCI
6
+ # Information about a single backend server health check result reported by a load balancer.
7
+ #
6
8
  class LoadBalancer::Models::HealthCheckResult
7
9
 
8
10
  HEALTH_CHECK_STATUS_ENUM = [HEALTH_CHECK_STATUS_OK = 'OK',
@@ -15,12 +17,12 @@ module OCI
15
17
  HEALTH_CHECK_STATUS_UNKNOWN = 'UNKNOWN',
16
18
  HEALTH_CHECK_STATUS_UNKNOWN_ENUM_VALUE = 'UNKNOWN_ENUM_VALUE']
17
19
 
18
- # The result of the most recent health check.
20
+ # **[Required]** The result of the most recent health check.
19
21
  #
20
22
  # @return [String]
21
23
  attr_accessor :health_check_status
22
24
 
23
- # The IP address of the health check status report provider. This identifier helps you differentiate same-subnet
25
+ # **[Required]** The IP address of the health check status report provider. This identifier helps you differentiate same-subnet
24
26
  # (private) load balancers that report health check status.
25
27
  #
26
28
  # Example: `10.2.0.1`
@@ -28,12 +30,12 @@ module OCI
28
30
  # @return [String]
29
31
  attr_accessor :source_ip_address
30
32
 
31
- # The OCID of the subnet hosting the load balancer that reported this health check status.
33
+ # **[Required]** The OCID of the subnet hosting the load balancer that reported this health check status.
32
34
  #
33
35
  # @return [String]
34
36
  attr_accessor :subnet_id
35
37
 
36
- # The date and time the data was retrieved, in the format defined by RFC3339.
38
+ # **[Required]** The date and time the data was retrieved, in the format defined by RFC3339.
37
39
  #
38
40
  # Example: `2017-06-02T18:28:11+00:00`
39
41
  #
@@ -43,6 +45,10 @@ module OCI
43
45
 
44
46
  # Initializes the object
45
47
  # @param [Hash] attributes Model attributes in the form of hash
48
+ # @option attributes [String] :healthCheckStatus The value to assign to the {#health_check_status} property
49
+ # @option attributes [String] :sourceIpAddress The value to assign to the {#source_ip_address} property
50
+ # @option attributes [String] :subnetId The value to assign to the {#subnet_id} property
51
+ # @option attributes [DateTime] :timestamp The value to assign to the {#timestamp} property
46
52
  def initialize(attributes = {})
47
53
  return unless attributes.is_a?(Hash)
48
54
 
@@ -3,6 +3,9 @@
3
3
  require 'date'
4
4
 
5
5
  module OCI
6
+ # The health check policy configuration.
7
+ # For more information, see [Editing Health Check Policies](https://docs.us-phoenix-1.oraclecloud.com/Content/Balance/Tasks/editinghealthcheck.htm).
8
+ #
6
9
  class LoadBalancer::Models::HealthChecker
7
10
  # The interval between health checks, in milliseconds. The default is 10000 (10 seconds).
8
11
  #
@@ -11,7 +14,7 @@ module OCI
11
14
  # @return [Integer]
12
15
  attr_accessor :interval_in_millis
13
16
 
14
- # The backend server port against which to run the health check. If the port is not specified, the load balancer uses the
17
+ # **[Required]** The backend server port against which to run the health check. If the port is not specified, the load balancer uses the
15
18
  # port information from the `Backend` object.
16
19
  #
17
20
  # Example: `8080`
@@ -19,14 +22,14 @@ module OCI
19
22
  # @return [Integer]
20
23
  attr_accessor :port
21
24
 
22
- # The protocol the health check must use; either HTTP or TCP.
25
+ # **[Required]** The protocol the health check must use; either HTTP or TCP.
23
26
  #
24
27
  # Example: `HTTP`
25
28
  #
26
29
  # @return [String]
27
30
  attr_accessor :protocol
28
31
 
29
- # A regular expression for parsing the response body from the backend server.
32
+ # **[Required]** A regular expression for parsing the response body from the backend server.
30
33
  #
31
34
  # Example: `^(500|40[1348])$`
32
35
  #
@@ -40,7 +43,7 @@ module OCI
40
43
  # @return [Integer]
41
44
  attr_accessor :retries
42
45
 
43
- # The status code a healthy backend server should return. If you configure the health check policy to use the HTTP protocol,
46
+ # **[Required]** The status code a healthy backend server should return. If you configure the health check policy to use the HTTP protocol,
44
47
  # you can use common HTTP status codes such as \"200\".
45
48
  #
46
49
  # Example: `200`
@@ -66,6 +69,14 @@ module OCI
66
69
 
67
70
  # Initializes the object
68
71
  # @param [Hash] attributes Model attributes in the form of hash
72
+ # @option attributes [Integer] :intervalInMillis The value to assign to the {#interval_in_millis} property
73
+ # @option attributes [Integer] :port The value to assign to the {#port} property
74
+ # @option attributes [String] :protocol The value to assign to the {#protocol} property
75
+ # @option attributes [String] :responseBodyRegex The value to assign to the {#response_body_regex} property
76
+ # @option attributes [Integer] :retries The value to assign to the {#retries} property
77
+ # @option attributes [Integer] :returnCode The value to assign to the {#return_code} property
78
+ # @option attributes [Integer] :timeoutInMillis The value to assign to the {#timeout_in_millis} property
79
+ # @option attributes [String] :urlPath The value to assign to the {#url_path} property
69
80
  def initialize(attributes = {})
70
81
  return unless attributes.is_a?(Hash)
71
82
 
@@ -3,6 +3,7 @@
3
3
  require 'date'
4
4
 
5
5
  module OCI
6
+ # The health check policy's configuration details.
6
7
  class LoadBalancer::Models::HealthCheckerDetails
7
8
  # The interval between health checks, in milliseconds.
8
9
  #
@@ -19,7 +20,7 @@ module OCI
19
20
  # @return [Integer]
20
21
  attr_accessor :port
21
22
 
22
- # The protocol the health check must use; either HTTP or TCP.
23
+ # **[Required]** The protocol the health check must use; either HTTP or TCP.
23
24
  #
24
25
  # Example: `HTTP`
25
26
  #
@@ -65,6 +66,14 @@ module OCI
65
66
 
66
67
  # Initializes the object
67
68
  # @param [Hash] attributes Model attributes in the form of hash
69
+ # @option attributes [Integer] :intervalInMillis The value to assign to the {#interval_in_millis} property
70
+ # @option attributes [Integer] :port The value to assign to the {#port} property
71
+ # @option attributes [String] :protocol The value to assign to the {#protocol} property
72
+ # @option attributes [String] :responseBodyRegex The value to assign to the {#response_body_regex} property
73
+ # @option attributes [Integer] :retries The value to assign to the {#retries} property
74
+ # @option attributes [Integer] :returnCode The value to assign to the {#return_code} property
75
+ # @option attributes [Integer] :timeoutInMillis The value to assign to the {#timeout_in_millis} property
76
+ # @option attributes [String] :urlPath The value to assign to the {#url_path} property
68
77
  def initialize(attributes = {})
69
78
  return unless attributes.is_a?(Hash)
70
79
 
@@ -3,8 +3,9 @@
3
3
  require 'date'
4
4
 
5
5
  module OCI
6
+ # A load balancer IP address.
6
7
  class LoadBalancer::Models::IpAddress
7
- # An IP address.
8
+ # **[Required]** An IP address.
8
9
  #
9
10
  # Example: `128.148.10.20`
10
11
  #
@@ -23,6 +24,8 @@ module OCI
23
24
 
24
25
  # Initializes the object
25
26
  # @param [Hash] attributes Model attributes in the form of hash
27
+ # @option attributes [String] :ipAddress The value to assign to the {#ip_address} property
28
+ # @option attributes [BOOLEAN] :isPublic The value to assign to the {#is_public} property
26
29
  def initialize(attributes = {})
27
30
  return unless attributes.is_a?(Hash)
28
31
 
@@ -33,7 +36,7 @@ module OCI
33
36
  self.ip_address = attributes[:'ipAddress']
34
37
  end
35
38
 
36
- if attributes[:'isPublic']
39
+ unless attributes[:'isPublic'].nil?
37
40
  self.is_public = attributes[:'isPublic']
38
41
  end
39
42
 
@@ -3,26 +3,36 @@
3
3
  require 'date'
4
4
 
5
5
  module OCI
6
+ # The listener's configuration.
7
+ # For more information on backend set configuration, see
8
+ # [Managing Load Balancer Listeners](https://docs.us-phoenix-1.oraclecloud.com/Content/Balance/tasks/managinglisteners.htm).
9
+ #
6
10
  class LoadBalancer::Models::Listener
7
- # The name of the associated backend set.
11
+ # @return [OCI::LoadBalancer::Models::ConnectionConfiguration]
12
+ attr_accessor :connection_configuration
13
+
14
+ # **[Required]** The name of the associated backend set.
15
+ #
16
+ # Example: `My_backend_set`
17
+ #
8
18
  # @return [String]
9
19
  attr_accessor :default_backend_set_name
10
20
 
11
- # A friendly name for the listener. It must be unique and it cannot be changed.
21
+ # **[Required]** A friendly name for the listener. It must be unique and it cannot be changed.
12
22
  #
13
23
  # Example: `My listener`
14
24
  #
15
25
  # @return [String]
16
26
  attr_accessor :name
17
27
 
18
- # The communication port for the listener.
28
+ # **[Required]** The communication port for the listener.
19
29
  #
20
30
  # Example: `80`
21
31
  #
22
32
  # @return [Integer]
23
33
  attr_accessor :port
24
34
 
25
- # The protocol on which the listener accepts connection requests.
35
+ # **[Required]** The protocol on which the listener accepts connection requests.
26
36
  # To get a list of valid protocols, use the {#list_protocols list_protocols}
27
37
  # operation.
28
38
  #
@@ -37,12 +47,22 @@ module OCI
37
47
 
38
48
  # Initializes the object
39
49
  # @param [Hash] attributes Model attributes in the form of hash
50
+ # @option attributes [OCI::LoadBalancer::Models::ConnectionConfiguration] :connectionConfiguration The value to assign to the {#connection_configuration} property
51
+ # @option attributes [String] :defaultBackendSetName The value to assign to the {#default_backend_set_name} property
52
+ # @option attributes [String] :name The value to assign to the {#name} property
53
+ # @option attributes [Integer] :port The value to assign to the {#port} property
54
+ # @option attributes [String] :protocol The value to assign to the {#protocol} property
55
+ # @option attributes [OCI::LoadBalancer::Models::SSLConfiguration] :sslConfiguration The value to assign to the {#ssl_configuration} property
40
56
  def initialize(attributes = {})
41
57
  return unless attributes.is_a?(Hash)
42
58
 
43
59
  # convert string to symbol for hash key
44
60
  attributes = attributes.each_with_object({}){|(k,v), h| h[k.to_sym] = v}
45
61
 
62
+ if attributes[:'connectionConfiguration']
63
+ self.connection_configuration = attributes[:'connectionConfiguration']
64
+ end
65
+
46
66
  if attributes[:'defaultBackendSetName']
47
67
  self.default_backend_set_name = attributes[:'defaultBackendSetName']
48
68
  end
@@ -70,6 +90,7 @@ module OCI
70
90
  def ==(other_object)
71
91
  return true if self.equal?(other_object)
72
92
  self.class == other_object.class &&
93
+ connection_configuration == other_object.connection_configuration &&
73
94
  default_backend_set_name == other_object.default_backend_set_name &&
74
95
  name == other_object.name &&
75
96
  port == other_object.port &&
@@ -86,7 +107,7 @@ module OCI
86
107
  # Calculates hash code according to all attributes.
87
108
  # @return [Fixnum] Hash code
88
109
  def hash
89
- [default_backend_set_name, name, port, protocol, ssl_configuration].hash
110
+ [connection_configuration, default_backend_set_name, name, port, protocol, ssl_configuration].hash
90
111
  end
91
112
 
92
113
  # Builds the object from hash
@@ -152,6 +173,7 @@ module OCI
152
173
  # Attribute mapping from ruby-style variable name to JSON key.
153
174
  def self.attribute_map
154
175
  {
176
+ :'connection_configuration' => :'connectionConfiguration',
155
177
  :'default_backend_set_name' => :'defaultBackendSetName',
156
178
  :'name' => :'name',
157
179
  :'port' => :'port',
@@ -163,6 +185,7 @@ module OCI
163
185
  # Attribute type mapping.
164
186
  def self.swagger_types
165
187
  {
188
+ :'connection_configuration' => :'OCI::LoadBalancer::Models::ConnectionConfiguration',
166
189
  :'default_backend_set_name' => :'String',
167
190
  :'name' => :'String',
168
191
  :'port' => :'Integer',