oci 2.1.0 → 2.1.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (370) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +11 -3
  3. data/lib/oci.rb +6 -0
  4. data/lib/oci/api_client.rb +159 -134
  5. data/lib/oci/audit/audit.rb +3 -0
  6. data/lib/oci/audit/audit_client.rb +88 -40
  7. data/lib/oci/audit/audit_client_composite_operations.rb +64 -0
  8. data/lib/oci/audit/models/audit_event.rb +151 -200
  9. data/lib/oci/audit/models/configuration.rb +61 -38
  10. data/lib/oci/audit/models/update_configuration_details.rb +61 -38
  11. data/lib/oci/auth/util.rb +1 -1
  12. data/lib/oci/base_signer.rb +20 -29
  13. data/lib/oci/config.rb +9 -3
  14. data/lib/oci/core/blockstorage_client.rb +512 -269
  15. data/lib/oci/core/blockstorage_client_composite_operations.rb +342 -0
  16. data/lib/oci/core/compute_client.rb +959 -536
  17. data/lib/oci/core/compute_client_composite_operations.rb +738 -0
  18. data/lib/oci/core/core.rb +5 -0
  19. data/lib/oci/core/models/attach_boot_volume_details.rb +72 -57
  20. data/lib/oci/core/models/attach_i_scsi_volume_details.rb +76 -53
  21. data/lib/oci/core/models/attach_paravirtualized_volume_details.rb +69 -45
  22. data/lib/oci/core/models/attach_vnic_details.rb +79 -68
  23. data/lib/oci/core/models/attach_volume_details.rb +83 -74
  24. data/lib/oci/core/models/boot_volume.rb +119 -120
  25. data/lib/oci/core/models/boot_volume_attachment.rb +114 -111
  26. data/lib/oci/core/models/bulk_add_virtual_circuit_public_prefixes_details.rb +61 -38
  27. data/lib/oci/core/models/bulk_delete_virtual_circuit_public_prefixes_details.rb +61 -38
  28. data/lib/oci/core/models/capture_console_history_details.rb +81 -70
  29. data/lib/oci/core/models/connect_local_peering_gateways_details.rb +60 -38
  30. data/lib/oci/core/models/connect_remote_peering_connections_details.rb +67 -49
  31. data/lib/oci/core/models/console_history.rb +122 -123
  32. data/lib/oci/core/models/cpe.rb +82 -74
  33. data/lib/oci/core/models/create_cpe_details.rb +73 -58
  34. data/lib/oci/core/models/create_cross_connect_details.rb +98 -99
  35. data/lib/oci/core/models/create_cross_connect_group_details.rb +67 -48
  36. data/lib/oci/core/models/create_dhcp_details.rb +89 -84
  37. data/lib/oci/core/models/create_drg_attachment_details.rb +71 -56
  38. data/lib/oci/core/models/create_drg_details.rb +66 -47
  39. data/lib/oci/core/models/create_image_details.rb +108 -110
  40. data/lib/oci/core/models/create_instance_console_connection_details.rb +79 -69
  41. data/lib/oci/core/models/create_internet_gateway_details.rb +76 -65
  42. data/lib/oci/core/models/create_ip_sec_connection_details.rb +83 -76
  43. data/lib/oci/core/models/create_local_peering_gateway_details.rb +72 -57
  44. data/lib/oci/core/models/create_private_ip_details.rb +97 -94
  45. data/lib/oci/core/models/create_public_ip_details.rb +90 -77
  46. data/lib/oci/core/models/create_remote_peering_connection_details.rb +72 -57
  47. data/lib/oci/core/models/create_route_table_details.rb +90 -87
  48. data/lib/oci/core/models/create_security_list_details.rb +95 -96
  49. data/lib/oci/core/models/create_subnet_details.rb +133 -154
  50. data/lib/oci/core/models/create_vcn_details.rb +96 -93
  51. data/lib/oci/core/models/create_virtual_circuit_details.rb +136 -153
  52. data/lib/oci/core/models/create_virtual_circuit_public_prefix_details.rb +62 -39
  53. data/lib/oci/core/models/create_vnic_details.rb +99 -97
  54. data/lib/oci/core/models/create_volume_backup_details.rb +94 -85
  55. data/lib/oci/core/models/create_volume_backup_policy_assignment_details.rb +66 -47
  56. data/lib/oci/core/models/create_volume_details.rb +117 -130
  57. data/lib/oci/core/models/cross_connect.rb +120 -121
  58. data/lib/oci/core/models/cross_connect_group.rb +97 -82
  59. data/lib/oci/core/models/cross_connect_location.rb +65 -43
  60. data/lib/oci/core/models/cross_connect_mapping.rb +89 -81
  61. data/lib/oci/core/models/cross_connect_port_speed_shape.rb +68 -48
  62. data/lib/oci/core/models/cross_connect_status.rb +110 -87
  63. data/lib/oci/core/models/delete_virtual_circuit_public_prefix_details.rb +61 -38
  64. data/lib/oci/core/models/dhcp_dns_option.rb +85 -60
  65. data/lib/oci/core/models/dhcp_option.rb +62 -38
  66. data/lib/oci/core/models/dhcp_options.rb +119 -118
  67. data/lib/oci/core/models/dhcp_search_domain_option.rb +66 -44
  68. data/lib/oci/core/models/drg.rb +96 -81
  69. data/lib/oci/core/models/drg_attachment.rb +106 -99
  70. data/lib/oci/core/models/egress_security_rule.rb +89 -83
  71. data/lib/oci/core/models/export_image_details.rb +63 -41
  72. data/lib/oci/core/models/export_image_via_object_storage_tuple_details.rb +74 -59
  73. data/lib/oci/core/models/export_image_via_object_storage_uri_details.rb +65 -42
  74. data/lib/oci/core/models/fast_connect_provider_service.rb +155 -126
  75. data/lib/oci/core/models/get_public_ip_by_ip_address_details.rb +61 -39
  76. data/lib/oci/core/models/get_public_ip_by_private_ip_id_details.rb +61 -39
  77. data/lib/oci/core/models/i_scsi_volume_attachment.rb +117 -105
  78. data/lib/oci/core/models/icmp_options.rb +63 -41
  79. data/lib/oci/core/models/image.rb +170 -185
  80. data/lib/oci/core/models/image_source_details.rb +79 -60
  81. data/lib/oci/core/models/image_source_via_object_storage_tuple_details.rb +77 -62
  82. data/lib/oci/core/models/image_source_via_object_storage_uri_details.rb +67 -44
  83. data/lib/oci/core/models/ingress_security_rule.rb +89 -83
  84. data/lib/oci/core/models/instance.rb +190 -211
  85. data/lib/oci/core/models/instance_console_connection.rb +118 -117
  86. data/lib/oci/core/models/instance_credentials.rb +63 -41
  87. data/lib/oci/core/models/instance_source_details.rb +64 -41
  88. data/lib/oci/core/models/instance_source_via_boot_volume_details.rb +64 -41
  89. data/lib/oci/core/models/instance_source_via_image_details.rb +70 -51
  90. data/lib/oci/core/models/internet_gateway.rb +107 -100
  91. data/lib/oci/core/models/ip_sec_connection.rb +113 -110
  92. data/lib/oci/core/models/ip_sec_connection_device_config.rb +73 -59
  93. data/lib/oci/core/models/ip_sec_connection_device_status.rb +75 -61
  94. data/lib/oci/core/models/launch_instance_details.rb +163 -189
  95. data/lib/oci/core/models/launch_options.rb +130 -93
  96. data/lib/oci/core/models/letter_of_authority.rb +105 -100
  97. data/lib/oci/core/models/local_peering_gateway.rb +141 -140
  98. data/lib/oci/core/models/paravirtualized_volume_attachment.rb +83 -60
  99. data/lib/oci/core/models/peer_region_for_remote_peering.rb +61 -37
  100. data/lib/oci/core/models/port_range.rb +65 -42
  101. data/lib/oci/core/models/private_ip.rb +131 -151
  102. data/lib/oci/core/models/public_ip.rb +160 -149
  103. data/lib/oci/core/models/remote_peering_connection.rb +148 -151
  104. data/lib/oci/core/models/route_rule.rb +68 -50
  105. data/lib/oci/core/models/route_table.rb +120 -121
  106. data/lib/oci/core/models/security_list.rb +125 -130
  107. data/lib/oci/core/models/shape.rb +60 -36
  108. data/lib/oci/core/models/subnet.rb +183 -220
  109. data/lib/oci/core/models/tcp_options.rb +67 -49
  110. data/lib/oci/core/models/tunnel_config.rb +76 -62
  111. data/lib/oci/core/models/tunnel_status.rb +94 -77
  112. data/lib/oci/core/models/udp_options.rb +67 -49
  113. data/lib/oci/core/models/update_boot_volume_details.rb +62 -39
  114. data/lib/oci/core/models/update_console_history_details.rb +76 -61
  115. data/lib/oci/core/models/update_cpe_details.rb +62 -39
  116. data/lib/oci/core/models/update_cross_connect_details.rb +68 -50
  117. data/lib/oci/core/models/update_cross_connect_group_details.rb +62 -39
  118. data/lib/oci/core/models/update_dhcp_details.rb +80 -67
  119. data/lib/oci/core/models/update_drg_attachment_details.rb +62 -39
  120. data/lib/oci/core/models/update_drg_details.rb +62 -39
  121. data/lib/oci/core/models/update_image_details.rb +77 -62
  122. data/lib/oci/core/models/update_instance_details.rb +77 -62
  123. data/lib/oci/core/models/update_internet_gateway_details.rb +67 -48
  124. data/lib/oci/core/models/update_ip_sec_connection_details.rb +62 -39
  125. data/lib/oci/core/models/update_local_peering_gateway_details.rb +62 -39
  126. data/lib/oci/core/models/update_private_ip_details.rb +90 -83
  127. data/lib/oci/core/models/update_public_ip_details.rb +68 -49
  128. data/lib/oci/core/models/update_remote_peering_connection_details.rb +62 -39
  129. data/lib/oci/core/models/update_route_table_details.rb +81 -70
  130. data/lib/oci/core/models/update_security_list_details.rb +86 -79
  131. data/lib/oci/core/models/update_subnet_details.rb +76 -61
  132. data/lib/oci/core/models/update_vcn_details.rb +76 -61
  133. data/lib/oci/core/models/update_virtual_circuit_details.rb +114 -115
  134. data/lib/oci/core/models/update_vnic_details.rb +75 -60
  135. data/lib/oci/core/models/update_volume_backup_details.rb +76 -61
  136. data/lib/oci/core/models/update_volume_details.rb +76 -61
  137. data/lib/oci/core/models/vcn.rb +150 -167
  138. data/lib/oci/core/models/virtual_circuit.rb +254 -269
  139. data/lib/oci/core/models/virtual_circuit_bandwidth_shape.rb +68 -48
  140. data/lib/oci/core/models/virtual_circuit_public_prefix.rb +79 -54
  141. data/lib/oci/core/models/vnic.rb +149 -166
  142. data/lib/oci/core/models/vnic_attachment.rb +132 -141
  143. data/lib/oci/core/models/volume.rb +138 -151
  144. data/lib/oci/core/models/volume_attachment.rb +126 -131
  145. data/lib/oci/core/models/volume_backup.rb +185 -200
  146. data/lib/oci/core/models/volume_backup_policy.rb +75 -61
  147. data/lib/oci/core/models/volume_backup_policy_assignment.rb +75 -63
  148. data/lib/oci/core/models/volume_backup_schedule.rb +101 -76
  149. data/lib/oci/core/models/volume_source_details.rb +62 -37
  150. data/lib/oci/core/models/volume_source_from_volume_backup_details.rb +62 -38
  151. data/lib/oci/core/models/volume_source_from_volume_details.rb +62 -38
  152. data/lib/oci/core/virtual_network_client.rb +2683 -1457
  153. data/lib/oci/core/virtual_network_client_composite_operations.rb +1849 -0
  154. data/lib/oci/database/database.rb +3 -0
  155. data/lib/oci/database/database_client.rb +894 -454
  156. data/lib/oci/database/database_client_composite_operations.rb +462 -0
  157. data/lib/oci/database/models/backup.rb +131 -128
  158. data/lib/oci/database/models/backup_summary.rb +131 -128
  159. data/lib/oci/database/models/create_backup_details.rb +66 -47
  160. data/lib/oci/database/models/create_data_guard_association_details.rb +112 -102
  161. data/lib/oci/database/models/create_data_guard_association_to_existing_db_system_details.rb +73 -51
  162. data/lib/oci/database/models/create_database_details.rb +140 -105
  163. data/lib/oci/database/models/create_database_from_backup_details.rb +71 -56
  164. data/lib/oci/database/models/create_db_home_details.rb +70 -53
  165. data/lib/oci/database/models/create_db_home_with_db_system_id_base.rb +83 -67
  166. data/lib/oci/database/models/create_db_home_with_db_system_id_details.rb +74 -53
  167. data/lib/oci/database/models/create_db_home_with_db_system_id_from_backup_details.rb +69 -44
  168. data/lib/oci/database/models/data_guard_association.rb +205 -204
  169. data/lib/oci/database/models/data_guard_association_summary.rb +205 -204
  170. data/lib/oci/database/models/database.rb +175 -156
  171. data/lib/oci/database/models/database_summary.rb +175 -156
  172. data/lib/oci/database/models/db_backup_config.rb +60 -38
  173. data/lib/oci/database/models/db_home.rb +110 -107
  174. data/lib/oci/database/models/db_home_summary.rb +110 -107
  175. data/lib/oci/database/models/db_node.rb +113 -108
  176. data/lib/oci/database/models/db_node_summary.rb +113 -108
  177. data/lib/oci/database/models/db_system.rb +299 -314
  178. data/lib/oci/database/models/db_system_shape_summary.rb +88 -86
  179. data/lib/oci/database/models/db_system_summary.rb +299 -314
  180. data/lib/oci/database/models/db_version_summary.rb +64 -44
  181. data/lib/oci/database/models/failover_data_guard_association_details.rb +60 -38
  182. data/lib/oci/database/models/launch_db_system_details.rb +231 -234
  183. data/lib/oci/database/models/patch.rb +136 -113
  184. data/lib/oci/database/models/patch_details.rb +73 -53
  185. data/lib/oci/database/models/patch_history_entry.rb +114 -99
  186. data/lib/oci/database/models/patch_history_entry_summary.rb +114 -99
  187. data/lib/oci/database/models/patch_summary.rb +136 -113
  188. data/lib/oci/database/models/reinstate_data_guard_association_details.rb +60 -38
  189. data/lib/oci/database/models/restore_database_details.rb +72 -53
  190. data/lib/oci/database/models/switchover_data_guard_association_details.rb +60 -38
  191. data/lib/oci/database/models/update_database_details.rb +97 -38
  192. data/lib/oci/database/models/update_db_home_details.rb +60 -38
  193. data/lib/oci/database/models/update_db_system_details.rb +112 -64
  194. data/lib/oci/dns/dns.rb +3 -0
  195. data/lib/oci/dns/dns_client.rb +489 -302
  196. data/lib/oci/dns/dns_client_composite_operations.rb +143 -0
  197. data/lib/oci/dns/models/create_zone_details.rb +84 -72
  198. data/lib/oci/dns/models/external_master.rb +67 -47
  199. data/lib/oci/dns/models/patch_domain_records_details.rb +60 -35
  200. data/lib/oci/dns/models/patch_rr_set_details.rb +60 -35
  201. data/lib/oci/dns/models/patch_zone_records_details.rb +60 -35
  202. data/lib/oci/dns/models/record.rb +92 -86
  203. data/lib/oci/dns/models/record_collection.rb +59 -35
  204. data/lib/oci/dns/models/record_details.rb +92 -86
  205. data/lib/oci/dns/models/record_operation.rb +113 -110
  206. data/lib/oci/dns/models/rr_set.rb +59 -35
  207. data/lib/oci/dns/models/sort_order.rb +0 -2
  208. data/lib/oci/dns/models/tsig.rb +68 -48
  209. data/lib/oci/dns/models/update_domain_records_details.rb +60 -35
  210. data/lib/oci/dns/models/update_rr_set_details.rb +60 -35
  211. data/lib/oci/dns/models/update_zone_details.rb +60 -38
  212. data/lib/oci/dns/models/update_zone_records_details.rb +60 -35
  213. data/lib/oci/dns/models/zone.rb +133 -126
  214. data/lib/oci/dns/models/zone_summary.rb +108 -99
  215. data/lib/oci/email/email.rb +3 -0
  216. data/lib/oci/email/email_client.rb +223 -112
  217. data/lib/oci/email/email_client_composite_operations.rb +103 -0
  218. data/lib/oci/email/models/create_sender_details.rb +65 -47
  219. data/lib/oci/email/models/create_suppression_details.rb +66 -48
  220. data/lib/oci/email/models/sender.rb +97 -84
  221. data/lib/oci/email/models/sender_summary.rb +89 -70
  222. data/lib/oci/email/models/suppression.rb +90 -69
  223. data/lib/oci/email/models/suppression_summary.rb +90 -69
  224. data/lib/oci/errors.rb +16 -0
  225. data/lib/oci/file_storage/file_storage.rb +3 -0
  226. data/lib/oci/file_storage/file_storage_client.rb +587 -333
  227. data/lib/oci/file_storage/file_storage_client_composite_operations.rb +460 -0
  228. data/lib/oci/file_storage/models/create_export_details.rb +73 -56
  229. data/lib/oci/file_storage/models/create_file_system_details.rb +75 -60
  230. data/lib/oci/file_storage/models/create_mount_target_details.rb +96 -93
  231. data/lib/oci/file_storage/models/create_snapshot_details.rb +68 -47
  232. data/lib/oci/file_storage/models/export.rb +102 -89
  233. data/lib/oci/file_storage/models/export_set.rb +121 -122
  234. data/lib/oci/file_storage/models/export_set_summary.rb +109 -102
  235. data/lib/oci/file_storage/models/export_summary.rb +102 -89
  236. data/lib/oci/file_storage/models/file_system.rb +110 -103
  237. data/lib/oci/file_storage/models/file_system_summary.rb +110 -103
  238. data/lib/oci/file_storage/models/mount_target.rb +126 -131
  239. data/lib/oci/file_storage/models/mount_target_summary.rb +121 -122
  240. data/lib/oci/file_storage/models/snapshot.rb +98 -81
  241. data/lib/oci/file_storage/models/snapshot_summary.rb +98 -81
  242. data/lib/oci/file_storage/models/update_export_set_details.rb +75 -60
  243. data/lib/oci/file_storage/models/update_file_system_details.rb +63 -40
  244. data/lib/oci/file_storage/models/update_mount_target_details.rb +63 -40
  245. data/lib/oci/identity/identity.rb +3 -0
  246. data/lib/oci/identity/identity_client.rb +1671 -872
  247. data/lib/oci/identity/identity_client_composite_operations.rb +818 -0
  248. data/lib/oci/identity/models/add_user_to_group_details.rb +66 -47
  249. data/lib/oci/identity/models/api_key.rb +108 -101
  250. data/lib/oci/identity/models/availability_domain.rb +64 -44
  251. data/lib/oci/identity/models/compartment.rb +118 -115
  252. data/lib/oci/identity/models/create_api_key_details.rb +60 -35
  253. data/lib/oci/identity/models/create_compartment_details.rb +83 -72
  254. data/lib/oci/identity/models/create_customer_secret_key_details.rb +62 -39
  255. data/lib/oci/identity/models/create_dynamic_group_details.rb +75 -61
  256. data/lib/oci/identity/models/create_group_details.rb +82 -71
  257. data/lib/oci/identity/models/create_identity_provider_details.rb +115 -110
  258. data/lib/oci/identity/models/create_idp_group_mapping_details.rb +67 -48
  259. data/lib/oci/identity/models/create_policy_details.rb +94 -89
  260. data/lib/oci/identity/models/create_region_subscription_details.rb +64 -41
  261. data/lib/oci/identity/models/create_saml2_identity_provider_details.rb +88 -67
  262. data/lib/oci/identity/models/create_smtp_credential_details.rb +61 -36
  263. data/lib/oci/identity/models/create_swift_password_details.rb +61 -36
  264. data/lib/oci/identity/models/create_tag_details.rb +77 -62
  265. data/lib/oci/identity/models/create_tag_namespace_details.rb +82 -71
  266. data/lib/oci/identity/models/create_user_details.rb +82 -71
  267. data/lib/oci/identity/models/customer_secret_key.rb +114 -109
  268. data/lib/oci/identity/models/customer_secret_key_summary.rb +109 -102
  269. data/lib/oci/identity/models/dynamic_group.rb +112 -105
  270. data/lib/oci/identity/models/group.rb +118 -115
  271. data/lib/oci/identity/models/identity_provider.rb +135 -138
  272. data/lib/oci/identity/models/idp_group_mapping.rb +112 -109
  273. data/lib/oci/identity/models/policy.rb +129 -132
  274. data/lib/oci/identity/models/region.rb +67 -45
  275. data/lib/oci/identity/models/region_subscription.rb +90 -71
  276. data/lib/oci/identity/models/saml2_identity_provider.rb +106 -92
  277. data/lib/oci/identity/models/smtp_credential.rb +118 -113
  278. data/lib/oci/identity/models/smtp_credential_summary.rb +113 -106
  279. data/lib/oci/identity/models/swift_password.rb +113 -106
  280. data/lib/oci/identity/models/tag.rb +108 -116
  281. data/lib/oci/identity/models/tag_namespace.rb +97 -97
  282. data/lib/oci/identity/models/tag_namespace_summary.rb +97 -97
  283. data/lib/oci/identity/models/tag_summary.rb +97 -97
  284. data/lib/oci/identity/models/tenancy.rb +86 -78
  285. data/lib/oci/identity/models/ui_password.rb +97 -82
  286. data/lib/oci/identity/models/update_compartment_details.rb +77 -62
  287. data/lib/oci/identity/models/update_customer_secret_key_details.rb +61 -38
  288. data/lib/oci/identity/models/update_dynamic_group_details.rb +65 -45
  289. data/lib/oci/identity/models/update_group_details.rb +72 -55
  290. data/lib/oci/identity/models/update_identity_provider_details.rb +89 -74
  291. data/lib/oci/identity/models/update_idp_group_mapping_details.rb +66 -47
  292. data/lib/oci/identity/models/update_policy_details.rb +83 -72
  293. data/lib/oci/identity/models/update_saml2_identity_provider_details.rb +79 -58
  294. data/lib/oci/identity/models/update_smtp_credential_details.rb +60 -35
  295. data/lib/oci/identity/models/update_state_details.rb +61 -36
  296. data/lib/oci/identity/models/update_swift_password_details.rb +60 -35
  297. data/lib/oci/identity/models/update_tag_details.rb +78 -65
  298. data/lib/oci/identity/models/update_tag_namespace_details.rb +78 -65
  299. data/lib/oci/identity/models/update_user_details.rb +72 -55
  300. data/lib/oci/identity/models/user.rb +120 -117
  301. data/lib/oci/identity/models/user_group_membership.rb +107 -100
  302. data/lib/oci/load_balancer/load_balancer.rb +3 -0
  303. data/lib/oci/load_balancer/load_balancer_client.rb +918 -500
  304. data/lib/oci/load_balancer/load_balancer_client_composite_operations.rb +795 -0
  305. data/lib/oci/load_balancer/models/backend.rb +101 -94
  306. data/lib/oci/load_balancer/models/backend_details.rb +95 -86
  307. data/lib/oci/load_balancer/models/backend_health.rb +84 -57
  308. data/lib/oci/load_balancer/models/backend_set.rb +87 -79
  309. data/lib/oci/load_balancer/models/backend_set_details.rb +80 -70
  310. data/lib/oci/load_balancer/models/backend_set_health.rb +106 -91
  311. data/lib/oci/load_balancer/models/certificate.rb +78 -64
  312. data/lib/oci/load_balancer/models/certificate_details.rb +92 -84
  313. data/lib/oci/load_balancer/models/connection_configuration.rb +73 -51
  314. data/lib/oci/load_balancer/models/create_backend_details.rb +95 -86
  315. data/lib/oci/load_balancer/models/create_backend_set_details.rb +87 -79
  316. data/lib/oci/load_balancer/models/create_certificate_details.rb +92 -84
  317. data/lib/oci/load_balancer/models/create_listener_details.rb +97 -93
  318. data/lib/oci/load_balancer/models/create_load_balancer_details.rb +109 -117
  319. data/lib/oci/load_balancer/models/create_path_route_set_details.rb +66 -46
  320. data/lib/oci/load_balancer/models/health_check_result.rb +98 -79
  321. data/lib/oci/load_balancer/models/health_checker.rb +108 -108
  322. data/lib/oci/load_balancer/models/health_checker_details.rb +108 -108
  323. data/lib/oci/load_balancer/models/ip_address.rb +70 -52
  324. data/lib/oci/load_balancer/models/listener.rb +97 -93
  325. data/lib/oci/load_balancer/models/listener_details.rb +91 -85
  326. data/lib/oci/load_balancer/models/load_balancer.rb +144 -157
  327. data/lib/oci/load_balancer/models/load_balancer_health.rb +110 -95
  328. data/lib/oci/load_balancer/models/load_balancer_health_summary.rb +88 -61
  329. data/lib/oci/load_balancer/models/load_balancer_policy.rb +59 -35
  330. data/lib/oci/load_balancer/models/load_balancer_protocol.rb +59 -35
  331. data/lib/oci/load_balancer/models/load_balancer_shape.rb +59 -35
  332. data/lib/oci/load_balancer/models/path_match_type.rb +80 -51
  333. data/lib/oci/load_balancer/models/path_route.rb +76 -60
  334. data/lib/oci/load_balancer/models/path_route_set.rb +66 -46
  335. data/lib/oci/load_balancer/models/path_route_set_details.rb +60 -38
  336. data/lib/oci/load_balancer/models/session_persistence_configuration_details.rb +71 -55
  337. data/lib/oci/load_balancer/models/ssl_configuration.rb +78 -66
  338. data/lib/oci/load_balancer/models/ssl_configuration_details.rb +78 -66
  339. data/lib/oci/load_balancer/models/update_backend_details.rb +82 -67
  340. data/lib/oci/load_balancer/models/update_backend_set_details.rb +80 -70
  341. data/lib/oci/load_balancer/models/update_health_checker_details.rb +108 -108
  342. data/lib/oci/load_balancer/models/update_listener_details.rb +91 -85
  343. data/lib/oci/load_balancer/models/update_load_balancer_details.rb +62 -40
  344. data/lib/oci/load_balancer/models/update_path_route_set_details.rb +60 -38
  345. data/lib/oci/load_balancer/models/work_request.rb +115 -108
  346. data/lib/oci/load_balancer/models/work_request_error.rb +76 -49
  347. data/lib/oci/object_storage/models/bucket.rb +136 -133
  348. data/lib/oci/object_storage/models/bucket_summary.rb +95 -95
  349. data/lib/oci/object_storage/models/commit_multipart_upload_details.rb +66 -48
  350. data/lib/oci/object_storage/models/commit_multipart_upload_part_details.rb +64 -44
  351. data/lib/oci/object_storage/models/create_bucket_details.rb +113 -111
  352. data/lib/oci/object_storage/models/create_multipart_upload_details.rb +80 -70
  353. data/lib/oci/object_storage/models/create_preauthenticated_request_details.rb +87 -74
  354. data/lib/oci/object_storage/models/list_objects.rb +71 -53
  355. data/lib/oci/object_storage/models/multipart_upload.rb +77 -65
  356. data/lib/oci/object_storage/models/multipart_upload_part_summary.rb +72 -56
  357. data/lib/oci/object_storage/models/namespace_metadata.rb +69 -53
  358. data/lib/oci/object_storage/models/object_summary.rb +73 -57
  359. data/lib/oci/object_storage/models/preauthenticated_request.rb +105 -96
  360. data/lib/oci/object_storage/models/preauthenticated_request_summary.rb +99 -86
  361. data/lib/oci/object_storage/models/rename_object_details.rb +80 -74
  362. data/lib/oci/object_storage/models/restore_objects_details.rb +66 -45
  363. data/lib/oci/object_storage/models/update_bucket_details.rb +101 -97
  364. data/lib/oci/object_storage/models/update_namespace_metadata_details.rb +65 -47
  365. data/lib/oci/object_storage/object_storage.rb +2 -0
  366. data/lib/oci/object_storage/object_storage_client.rb +737 -435
  367. data/lib/oci/object_storage/object_storage_client_composite_operations.rb +24 -0
  368. data/lib/oci/signer.rb +20 -7
  369. data/lib/oci/version.rb +1 -1
  370. metadata +13 -2
@@ -1,19 +1,22 @@
1
1
  # Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved.
2
2
 
3
3
  require 'date'
4
+ require 'logger'
4
5
 
6
+ # rubocop:disable Lint/UnneededCopDisableDirective
5
7
  module OCI
6
8
  # An object that represents the membership of a user in a group. When you add a user to a group, the result is a
7
9
  # `UserGroupMembership` with its own OCID. To remove a user from a group, you delete the `UserGroupMembership` object.
8
10
  #
9
- class Identity::Models::UserGroupMembership
10
-
11
- LIFECYCLE_STATE_ENUM = [LIFECYCLE_STATE_CREATING = 'CREATING',
12
- LIFECYCLE_STATE_ACTIVE = 'ACTIVE',
13
- LIFECYCLE_STATE_INACTIVE = 'INACTIVE',
14
- LIFECYCLE_STATE_DELETING = 'DELETING',
15
- LIFECYCLE_STATE_DELETED = 'DELETED',
16
- LIFECYCLE_STATE_UNKNOWN_ENUM_VALUE = 'UNKNOWN_ENUM_VALUE']
11
+ class Identity::Models::UserGroupMembership # rubocop:disable Metrics/LineLength
12
+ LIFECYCLE_STATE_ENUM = [
13
+ LIFECYCLE_STATE_CREATING = 'CREATING'.freeze,
14
+ LIFECYCLE_STATE_ACTIVE = 'ACTIVE'.freeze,
15
+ LIFECYCLE_STATE_INACTIVE = 'INACTIVE'.freeze,
16
+ LIFECYCLE_STATE_DELETING = 'DELETING'.freeze,
17
+ LIFECYCLE_STATE_DELETED = 'DELETED'.freeze,
18
+ LIFECYCLE_STATE_UNKNOWN_ENUM_VALUE = 'UNKNOWN_ENUM_VALUE'.freeze
19
+ ].freeze
17
20
 
18
21
  # **[Required]** The OCID of the membership.
19
22
  # @return [String]
@@ -32,22 +35,55 @@ module OCI
32
35
  attr_accessor :user_id
33
36
 
34
37
  # **[Required]** Date and time the membership was created, in the format defined by RFC3339.
35
- #
38
+ #
36
39
  # Example: `2016-08-25T21:10:29.600Z`
37
- #
40
+ #
38
41
  # @return [DateTime]
39
42
  attr_accessor :time_created
40
43
 
41
44
  # **[Required]** The membership's current state. After creating a membership object, make sure its `lifecycleState` changes
42
45
  # from CREATING to ACTIVE before using it.
43
- #
46
+ #
44
47
  # @return [String]
45
- attr_accessor :lifecycle_state
48
+ attr_reader :lifecycle_state
46
49
 
47
50
  # The detailed status of INACTIVE lifecycleState.
48
51
  # @return [Integer]
49
52
  attr_accessor :inactive_status
50
53
 
54
+ # Attribute mapping from ruby-style variable name to JSON key.
55
+ def self.attribute_map
56
+ {
57
+ # rubocop:disable Style/SymbolLiteral
58
+ 'id': :'id',
59
+ 'compartment_id': :'compartmentId',
60
+ 'group_id': :'groupId',
61
+ 'user_id': :'userId',
62
+ 'time_created': :'timeCreated',
63
+ 'lifecycle_state': :'lifecycleState',
64
+ 'inactive_status': :'inactiveStatus'
65
+ # rubocop:enable Style/SymbolLiteral
66
+ }
67
+ end
68
+
69
+ # Attribute type mapping.
70
+ def self.swagger_types
71
+ {
72
+ # rubocop:disable Style/SymbolLiteral
73
+ 'id': :'String',
74
+ 'compartment_id': :'String',
75
+ 'group_id': :'String',
76
+ 'user_id': :'String',
77
+ 'time_created': :'DateTime',
78
+ 'lifecycle_state': :'String',
79
+ 'inactive_status': :'Integer'
80
+ # rubocop:enable Style/SymbolLiteral
81
+ }
82
+ end
83
+
84
+ # rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
85
+ # rubocop:disable Metrics/LineLength, Metrics/MethodLength, Layout/EmptyLines, Style/SymbolLiteral
86
+
51
87
 
52
88
  # Initializes the object
53
89
  # @param [Hash] attributes Model attributes in the form of hash
@@ -62,109 +98,100 @@ module OCI
62
98
  return unless attributes.is_a?(Hash)
63
99
 
64
100
  # convert string to symbol for hash key
65
- attributes = attributes.each_with_object({}){|(k,v), h| h[k.to_sym] = v}
101
+ attributes = attributes.each_with_object({}) { |(k, v), h| h[k.to_sym] = v }
66
102
 
67
- if attributes[:'id']
68
- self.id = attributes[:'id']
69
- end
103
+ self.id = attributes[:'id'] if attributes[:'id']
70
104
 
71
- if attributes[:'compartmentId']
72
- self.compartment_id = attributes[:'compartmentId']
73
- end
105
+ self.compartment_id = attributes[:'compartmentId'] if attributes[:'compartmentId']
74
106
 
75
107
  raise 'You cannot provide both :compartmentId and :compartment_id' if attributes.key?(:'compartmentId') && attributes.key?(:'compartment_id')
76
108
 
77
- if attributes[:'compartment_id']
78
- self.compartment_id = attributes[:'compartment_id']
79
- end
109
+ self.compartment_id = attributes[:'compartment_id'] if attributes[:'compartment_id']
80
110
 
81
- if attributes[:'groupId']
82
- self.group_id = attributes[:'groupId']
83
- end
111
+ self.group_id = attributes[:'groupId'] if attributes[:'groupId']
84
112
 
85
113
  raise 'You cannot provide both :groupId and :group_id' if attributes.key?(:'groupId') && attributes.key?(:'group_id')
86
114
 
87
- if attributes[:'group_id']
88
- self.group_id = attributes[:'group_id']
89
- end
115
+ self.group_id = attributes[:'group_id'] if attributes[:'group_id']
90
116
 
91
- if attributes[:'userId']
92
- self.user_id = attributes[:'userId']
93
- end
117
+ self.user_id = attributes[:'userId'] if attributes[:'userId']
94
118
 
95
119
  raise 'You cannot provide both :userId and :user_id' if attributes.key?(:'userId') && attributes.key?(:'user_id')
96
120
 
97
- if attributes[:'user_id']
98
- self.user_id = attributes[:'user_id']
99
- end
121
+ self.user_id = attributes[:'user_id'] if attributes[:'user_id']
100
122
 
101
- if attributes[:'timeCreated']
102
- self.time_created = attributes[:'timeCreated']
103
- end
123
+ self.time_created = attributes[:'timeCreated'] if attributes[:'timeCreated']
104
124
 
105
125
  raise 'You cannot provide both :timeCreated and :time_created' if attributes.key?(:'timeCreated') && attributes.key?(:'time_created')
106
126
 
107
- if attributes[:'time_created']
108
- self.time_created = attributes[:'time_created']
109
- end
127
+ self.time_created = attributes[:'time_created'] if attributes[:'time_created']
110
128
 
111
- if attributes[:'lifecycleState']
112
- self.lifecycle_state = attributes[:'lifecycleState']
113
- end
129
+ self.lifecycle_state = attributes[:'lifecycleState'] if attributes[:'lifecycleState']
114
130
 
115
131
  raise 'You cannot provide both :lifecycleState and :lifecycle_state' if attributes.key?(:'lifecycleState') && attributes.key?(:'lifecycle_state')
116
132
 
117
- if attributes[:'lifecycle_state']
118
- self.lifecycle_state = attributes[:'lifecycle_state']
119
- end
133
+ self.lifecycle_state = attributes[:'lifecycle_state'] if attributes[:'lifecycle_state']
120
134
 
121
- if attributes[:'inactiveStatus']
122
- self.inactive_status = attributes[:'inactiveStatus']
123
- end
135
+ self.inactive_status = attributes[:'inactiveStatus'] if attributes[:'inactiveStatus']
124
136
 
125
137
  raise 'You cannot provide both :inactiveStatus and :inactive_status' if attributes.key?(:'inactiveStatus') && attributes.key?(:'inactive_status')
126
138
 
127
- if attributes[:'inactive_status']
128
- self.inactive_status = attributes[:'inactive_status']
129
- end
130
-
139
+ self.inactive_status = attributes[:'inactive_status'] if attributes[:'inactive_status']
131
140
  end
141
+ # rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
142
+ # rubocop:enable Metrics/LineLength, Metrics/MethodLength, Layout/EmptyLines, Style/SymbolLiteral
132
143
 
133
144
  # Custom attribute writer method checking allowed values (enum).
134
145
  # @param [Object] lifecycle_state Object to be assigned
135
146
  def lifecycle_state=(lifecycle_state)
147
+ # rubocop:disable Style/ConditionalAssignment
136
148
  if lifecycle_state && !LIFECYCLE_STATE_ENUM.include?(lifecycle_state)
149
+ # rubocop: disable Metrics/LineLength
150
+ OCI.logger.debug("Unknown value for 'lifecycle_state' [" + lifecycle_state + "]. Mapping to 'LIFECYCLE_STATE_UNKNOWN_ENUM_VALUE'") if OCI.logger
151
+ # rubocop: enable Metrics/LineLength
137
152
  @lifecycle_state = LIFECYCLE_STATE_UNKNOWN_ENUM_VALUE
138
153
  else
139
154
  @lifecycle_state = lifecycle_state
140
155
  end
156
+ # rubocop:enable Style/ConditionalAssignment
141
157
  end
142
158
 
159
+ # rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity, Layout/EmptyLines
160
+
161
+
143
162
  # Checks equality by comparing each attribute.
144
- # @param [Object] other_object to be compared
145
- def ==(other_object)
146
- return true if self.equal?(other_object)
147
- self.class == other_object.class &&
148
- id == other_object.id &&
149
- compartment_id == other_object.compartment_id &&
150
- group_id == other_object.group_id &&
151
- user_id == other_object.user_id &&
152
- time_created == other_object.time_created &&
153
- lifecycle_state == other_object.lifecycle_state &&
154
- inactive_status == other_object.inactive_status
163
+ # @param [Object] other the other object to be compared
164
+ def ==(other)
165
+ return true if equal?(other)
166
+ self.class == other.class &&
167
+ id == other.id &&
168
+ compartment_id == other.compartment_id &&
169
+ group_id == other.group_id &&
170
+ user_id == other.user_id &&
171
+ time_created == other.time_created &&
172
+ lifecycle_state == other.lifecycle_state &&
173
+ inactive_status == other.inactive_status
155
174
  end
175
+ # rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity, Layout/EmptyLines
156
176
 
157
177
  # @see the `==` method
158
- # @param [Object] other_object to be compared
159
- def eql?(other_object)
160
- self == other_object
178
+ # @param [Object] other the other object to be compared
179
+ def eql?(other)
180
+ self == other
161
181
  end
162
182
 
183
+ # rubocop:disable Metrics/AbcSize, Metrics/LineLength, Layout/EmptyLines
184
+
185
+
163
186
  # Calculates hash code according to all attributes.
164
187
  # @return [Fixnum] Hash code
165
188
  def hash
166
189
  [id, compartment_id, group_id, user_id, time_created, lifecycle_state, inactive_status].hash
167
190
  end
191
+ # rubocop:enable Metrics/AbcSize, Metrics/LineLength, Layout/EmptyLines
192
+
193
+ # rubocop:disable Metrics/AbcSize, Layout/EmptyLines
194
+
168
195
 
169
196
  # Builds the object from hash
170
197
  # @param [Hash] attributes Model attributes in the form of hash
@@ -176,15 +203,22 @@ module OCI
176
203
  # check to ensure the input is an array given that the the attribute
177
204
  # is documented as an array but the input is not
178
205
  if attributes[self.class.attribute_map[key]].is_a?(Array)
179
- self.public_method("#{key}=").call(attributes[self.class.attribute_map[key]].map{ |v| OCI::Internal::Util.convert_to_type($1, v) } )
206
+ public_method("#{key}=").call(
207
+ attributes[self.class.attribute_map[key]]
208
+ .map { |v| OCI::Internal::Util.convert_to_type(Regexp.last_match(1), v) }
209
+ )
180
210
  end
181
211
  elsif !attributes[self.class.attribute_map[key]].nil?
182
- self.public_method("#{key}=").call(OCI::Internal::Util.convert_to_type(type, attributes[self.class.attribute_map[key]]))
183
- end # or else data not found in attributes(hash), not an issue as the data can be optional
212
+ public_method("#{key}=").call(
213
+ OCI::Internal::Util.convert_to_type(type, attributes[self.class.attribute_map[key]])
214
+ )
215
+ end
216
+ # or else data not found in attributes(hash), not an issue as the data can be optional
184
217
  end
185
218
 
186
219
  self
187
220
  end
221
+ # rubocop:enable Metrics/AbcSize, Layout/EmptyLines
188
222
 
189
223
  # Returns the string representation of the object
190
224
  # @return [String] String presentation of the object
@@ -208,11 +242,11 @@ module OCI
208
242
 
209
243
  # Outputs non-array value in the form of hash
210
244
  # For object, use to_hash. Otherwise, just return the value
211
- # @param [Object] value Any valid value
245
+ # @param [Object] value Any valid value
212
246
  # @return [Hash] Returns the value in the form of hash
213
247
  def _to_hash(value)
214
248
  if value.is_a?(Array)
215
- value.compact.map{ |v| _to_hash(v) }
249
+ value.compact.map { |v| _to_hash(v) }
216
250
  elsif value.is_a?(Hash)
217
251
  {}.tap do |hash|
218
252
  value.each { |k, v| hash[k] = _to_hash(v) }
@@ -223,33 +257,6 @@ module OCI
223
257
  value
224
258
  end
225
259
  end
226
-
227
-
228
-
229
- # Attribute mapping from ruby-style variable name to JSON key.
230
- def self.attribute_map
231
- {
232
- :'id' => :'id',
233
- :'compartment_id' => :'compartmentId',
234
- :'group_id' => :'groupId',
235
- :'user_id' => :'userId',
236
- :'time_created' => :'timeCreated',
237
- :'lifecycle_state' => :'lifecycleState',
238
- :'inactive_status' => :'inactiveStatus'
239
- }
240
- end
241
-
242
- # Attribute type mapping.
243
- def self.swagger_types
244
- {
245
- :'id' => :'String',
246
- :'compartment_id' => :'String',
247
- :'group_id' => :'String',
248
- :'user_id' => :'String',
249
- :'time_created' => :'DateTime',
250
- :'lifecycle_state' => :'String',
251
- :'inactive_status' => :'Integer'
252
- }
253
- end
254
260
  end
255
261
  end
262
+ # rubocop:enable Lint/UnneededCopDisableDirective
@@ -2,6 +2,8 @@
2
2
 
3
3
  module OCI
4
4
  module LoadBalancer
5
+ # Module containing models for requests made to, and responses received from,
6
+ # OCI LoadBalancer services
5
7
  module Models
6
8
  end
7
9
  end
@@ -53,6 +55,7 @@ require 'oci/load_balancer/models/work_request_error'
53
55
 
54
56
  # Require generated clients
55
57
  require 'oci/load_balancer/load_balancer_client'
58
+ require 'oci/load_balancer/load_balancer_client_composite_operations'
56
59
 
57
60
  # Require service utilities
58
61
  require 'oci/load_balancer/util'
@@ -1,12 +1,12 @@
1
1
  # Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved.
2
2
 
3
- require "uri"
4
- require "logger"
3
+ require 'uri'
4
+ require 'logger'
5
5
 
6
+ # rubocop:disable Lint/UnneededCopDisableDirective, Metrics/LineLength
6
7
  module OCI
7
-
8
+ # API for the Load Balancing Service
8
9
  class LoadBalancer::LoadBalancerClient
9
-
10
10
  # Client used to make HTTP requests.
11
11
  # @return [OCI::ApiClient]
12
12
  attr_reader :api_client
@@ -17,7 +17,10 @@ module OCI
17
17
 
18
18
  # The region, which will usually correspond to a value in {OCI::Regions::REGION_ENUM}.
19
19
  # @return [String]
20
- attr_accessor :region
20
+ attr_reader :region
21
+
22
+ # rubocop:disable Metrics/AbcSize, Metrics/CyclomaticComplexity, Layout/EmptyLines
23
+
21
24
 
22
25
  # Creates a new LoadBalancerClient.
23
26
  # If a config is not specified, then the global OCI.config will be used.
@@ -46,15 +49,23 @@ module OCI
46
49
  config.validate unless signer.is_a?(OCI::Auth::Signers::InstancePrincipalsSecurityTokenSigner)
47
50
 
48
51
  if signer.nil?
49
- signer = Signer.new(config.user, config.fingerprint, config.tenancy, config.key_file, pass_phrase: config.pass_phrase, private_key_content: config.key_content, signing_strategy: Signer::STANDARD)
52
+ signer = OCI::Signer.new(
53
+ config.user,
54
+ config.fingerprint,
55
+ config.tenancy,
56
+ config.key_file,
57
+ pass_phrase: config.pass_phrase,
58
+ private_key_content: config.key_content
59
+ )
50
60
  end
51
61
 
52
- @api_client = ApiClient.new(config, signer, proxy_settings: proxy_settings)
62
+ @api_client = OCI::ApiClient.new(config, signer, proxy_settings: proxy_settings)
53
63
 
54
64
  region ||= config.region
55
65
  region ||= signer.region if signer.respond_to?(:region)
56
66
  self.region = region
57
67
  end
68
+ # rubocop:enable Metrics/AbcSize, Metrics/CyclomaticComplexity, Layout/EmptyLines
58
69
 
59
70
  # Set the region that will be used to determine the service endpoint.
60
71
  # This will usually correspond to a value in {OCI::Regions::REGION_ENUM},
@@ -73,14 +84,18 @@ module OCI
73
84
  @api_client.config.logger
74
85
  end
75
86
 
87
+ # rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
88
+ # rubocop:disable Style/IfUnlessModifier, Metrics/ParameterLists
89
+ # rubocop:disable Metrics/MethodLength, Layout/EmptyLines
90
+
76
91
 
77
92
  # Adds a backend server to a backend set.
78
- # @param [CreateBackendDetails] create_backend_details The details to add a backend server to a backend set.
93
+ # @param [OCI::LoadBalancer::Models::CreateBackendDetails] create_backend_details The details to add a backend server to a backend set.
79
94
  # @param [String] load_balancer_id The [OCID](https://docs.us-phoenix-1.oraclecloud.com/Content/General/Concepts/identifiers.htm) of the load balancer associated with the backend set and servers.
80
95
  # @param [String] backend_set_name The name of the backend set to add the backend server to.
81
- #
96
+ #
82
97
  # Example: `My_backend_set`
83
- #
98
+ #
84
99
  # @param [Hash] opts the optional parameters
85
100
  # @option opts [String] :opc_request_id The unique Oracle-assigned identifier for the request. If you need to contact Oracle about a
86
101
  # particular request, please provide the request ID.
@@ -90,18 +105,19 @@ module OCI
90
105
  # hours, but can be invalidated before then due to conflicting operations (e.g., if a resource
91
106
  # has been deleted and purged from the system, then a retry of the original creation request
92
107
  # may be rejected).
93
- #
108
+ #
94
109
  # @return [Response] A Response object with data of type nil
95
110
  def create_backend(create_backend_details, load_balancer_id, backend_set_name, opts = {})
96
- logger.debug "Calling operation LoadBalancerClient#create_backend." if logger
111
+ logger.debug 'Calling operation LoadBalancerClient#create_backend.' if logger
97
112
 
98
113
  raise "Missing the required parameter 'create_backend_details' when calling create_backend." if create_backend_details.nil?
99
114
  raise "Missing the required parameter 'load_balancer_id' when calling create_backend." if load_balancer_id.nil?
100
115
  raise "Missing the required parameter 'backend_set_name' when calling create_backend." if backend_set_name.nil?
101
- raise "Parameter value for 'load_balancer_id' must not be blank" if OCI::Internal::Util::blank_string?(load_balancer_id)
102
- raise "Parameter value for 'backend_set_name' must not be blank" if OCI::Internal::Util::blank_string?(backend_set_name)
116
+ raise "Parameter value for 'load_balancer_id' must not be blank" if OCI::Internal::Util.blank_string?(load_balancer_id)
117
+ raise "Parameter value for 'backend_set_name' must not be blank" if OCI::Internal::Util.blank_string?(backend_set_name)
103
118
 
104
- path = "/loadBalancers/{loadBalancerId}/backendSets/{backendSetName}/backends".sub('{loadBalancerId}', load_balancer_id.to_s).sub('{backendSetName}', backend_set_name.to_s)
119
+ path = '/loadBalancers/{loadBalancerId}/backendSets/{backendSetName}/backends'.sub('{loadBalancerId}', load_balancer_id.to_s).sub('{backendSetName}', backend_set_name.to_s)
120
+ operation_signing_strategy = :standard
105
121
 
106
122
  # Query Params
107
123
  query_params = {}
@@ -110,22 +126,32 @@ module OCI
110
126
  header_params = {}
111
127
  header_params['accept'] = 'application/json'
112
128
  header_params['content-type'] = 'application/json'
113
- header_params[:'opc-request-id'] = opts[:'opc_request_id'] if opts[:'opc_request_id']
114
- header_params[:'opc-retry-token'] = opts[:'opc_retry_token'] if opts[:'opc_retry_token']
129
+ header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
130
+ header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token]
115
131
 
116
132
  post_body = @api_client.object_to_http_body(create_backend_details)
117
133
 
118
- return @api_client.call_api(
134
+ @api_client.call_api(
119
135
  :POST,
120
136
  path,
121
137
  endpoint,
122
- :header_params => header_params,
123
- :query_params => query_params,
124
- :body => post_body)
138
+ header_params: header_params,
139
+ query_params: query_params,
140
+ operation_signing_strategy: operation_signing_strategy,
141
+ body: post_body
142
+ )
125
143
  end
144
+ # rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
145
+ # rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
146
+ # rubocop:enable Metrics/MethodLength, Layout/EmptyLines
147
+
148
+ # rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
149
+ # rubocop:disable Style/IfUnlessModifier, Metrics/ParameterLists
150
+ # rubocop:disable Metrics/MethodLength, Layout/EmptyLines
151
+
126
152
 
127
153
  # Adds a backend set to a load balancer.
128
- # @param [CreateBackendSetDetails] create_backend_set_details The details for adding a backend set.
154
+ # @param [OCI::LoadBalancer::Models::CreateBackendSetDetails] create_backend_set_details The details for adding a backend set.
129
155
  # @param [String] load_balancer_id The [OCID](https://docs.us-phoenix-1.oraclecloud.com/Content/General/Concepts/identifiers.htm) of the load balancer on which to add a backend set.
130
156
  # @param [Hash] opts the optional parameters
131
157
  # @option opts [String] :opc_request_id The unique Oracle-assigned identifier for the request. If you need to contact Oracle about a
@@ -136,16 +162,17 @@ module OCI
136
162
  # hours, but can be invalidated before then due to conflicting operations (e.g., if a resource
137
163
  # has been deleted and purged from the system, then a retry of the original creation request
138
164
  # may be rejected).
139
- #
165
+ #
140
166
  # @return [Response] A Response object with data of type nil
141
167
  def create_backend_set(create_backend_set_details, load_balancer_id, opts = {})
142
- logger.debug "Calling operation LoadBalancerClient#create_backend_set." if logger
168
+ logger.debug 'Calling operation LoadBalancerClient#create_backend_set.' if logger
143
169
 
144
170
  raise "Missing the required parameter 'create_backend_set_details' when calling create_backend_set." if create_backend_set_details.nil?
145
171
  raise "Missing the required parameter 'load_balancer_id' when calling create_backend_set." if load_balancer_id.nil?
146
- raise "Parameter value for 'load_balancer_id' must not be blank" if OCI::Internal::Util::blank_string?(load_balancer_id)
172
+ raise "Parameter value for 'load_balancer_id' must not be blank" if OCI::Internal::Util.blank_string?(load_balancer_id)
147
173
 
148
- path = "/loadBalancers/{loadBalancerId}/backendSets".sub('{loadBalancerId}', load_balancer_id.to_s)
174
+ path = '/loadBalancers/{loadBalancerId}/backendSets'.sub('{loadBalancerId}', load_balancer_id.to_s)
175
+ operation_signing_strategy = :standard
149
176
 
150
177
  # Query Params
151
178
  query_params = {}
@@ -154,22 +181,32 @@ module OCI
154
181
  header_params = {}
155
182
  header_params['accept'] = 'application/json'
156
183
  header_params['content-type'] = 'application/json'
157
- header_params[:'opc-request-id'] = opts[:'opc_request_id'] if opts[:'opc_request_id']
158
- header_params[:'opc-retry-token'] = opts[:'opc_retry_token'] if opts[:'opc_retry_token']
184
+ header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
185
+ header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token]
159
186
 
160
187
  post_body = @api_client.object_to_http_body(create_backend_set_details)
161
188
 
162
- return @api_client.call_api(
189
+ @api_client.call_api(
163
190
  :POST,
164
191
  path,
165
192
  endpoint,
166
- :header_params => header_params,
167
- :query_params => query_params,
168
- :body => post_body)
193
+ header_params: header_params,
194
+ query_params: query_params,
195
+ operation_signing_strategy: operation_signing_strategy,
196
+ body: post_body
197
+ )
169
198
  end
199
+ # rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
200
+ # rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
201
+ # rubocop:enable Metrics/MethodLength, Layout/EmptyLines
202
+
203
+ # rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
204
+ # rubocop:disable Style/IfUnlessModifier, Metrics/ParameterLists
205
+ # rubocop:disable Metrics/MethodLength, Layout/EmptyLines
206
+
170
207
 
171
208
  # Creates an asynchronous request to add an SSL certificate.
172
- # @param [CreateCertificateDetails] create_certificate_details The details of the certificate to add.
209
+ # @param [OCI::LoadBalancer::Models::CreateCertificateDetails] create_certificate_details The details of the certificate to add.
173
210
  # @param [String] load_balancer_id The [OCID](https://docs.us-phoenix-1.oraclecloud.com/Content/General/Concepts/identifiers.htm) of the load balancer on which to add the certificate.
174
211
  # @param [Hash] opts the optional parameters
175
212
  # @option opts [String] :opc_request_id The unique Oracle-assigned identifier for the request. If you need to contact Oracle about a
@@ -180,16 +217,17 @@ module OCI
180
217
  # hours, but can be invalidated before then due to conflicting operations (e.g., if a resource
181
218
  # has been deleted and purged from the system, then a retry of the original creation request
182
219
  # may be rejected).
183
- #
220
+ #
184
221
  # @return [Response] A Response object with data of type nil
185
222
  def create_certificate(create_certificate_details, load_balancer_id, opts = {})
186
- logger.debug "Calling operation LoadBalancerClient#create_certificate." if logger
223
+ logger.debug 'Calling operation LoadBalancerClient#create_certificate.' if logger
187
224
 
188
225
  raise "Missing the required parameter 'create_certificate_details' when calling create_certificate." if create_certificate_details.nil?
189
226
  raise "Missing the required parameter 'load_balancer_id' when calling create_certificate." if load_balancer_id.nil?
190
- raise "Parameter value for 'load_balancer_id' must not be blank" if OCI::Internal::Util::blank_string?(load_balancer_id)
227
+ raise "Parameter value for 'load_balancer_id' must not be blank" if OCI::Internal::Util.blank_string?(load_balancer_id)
191
228
 
192
- path = "/loadBalancers/{loadBalancerId}/certificates".sub('{loadBalancerId}', load_balancer_id.to_s)
229
+ path = '/loadBalancers/{loadBalancerId}/certificates'.sub('{loadBalancerId}', load_balancer_id.to_s)
230
+ operation_signing_strategy = :standard
193
231
 
194
232
  # Query Params
195
233
  query_params = {}
@@ -198,22 +236,32 @@ module OCI
198
236
  header_params = {}
199
237
  header_params['accept'] = 'application/json'
200
238
  header_params['content-type'] = 'application/json'
201
- header_params[:'opc-request-id'] = opts[:'opc_request_id'] if opts[:'opc_request_id']
202
- header_params[:'opc-retry-token'] = opts[:'opc_retry_token'] if opts[:'opc_retry_token']
239
+ header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
240
+ header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token]
203
241
 
204
242
  post_body = @api_client.object_to_http_body(create_certificate_details)
205
243
 
206
- return @api_client.call_api(
244
+ @api_client.call_api(
207
245
  :POST,
208
246
  path,
209
247
  endpoint,
210
- :header_params => header_params,
211
- :query_params => query_params,
212
- :body => post_body)
248
+ header_params: header_params,
249
+ query_params: query_params,
250
+ operation_signing_strategy: operation_signing_strategy,
251
+ body: post_body
252
+ )
213
253
  end
254
+ # rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
255
+ # rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
256
+ # rubocop:enable Metrics/MethodLength, Layout/EmptyLines
257
+
258
+ # rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
259
+ # rubocop:disable Style/IfUnlessModifier, Metrics/ParameterLists
260
+ # rubocop:disable Metrics/MethodLength, Layout/EmptyLines
261
+
214
262
 
215
263
  # Adds a listener to a load balancer.
216
- # @param [CreateListenerDetails] create_listener_details Details to add a listener.
264
+ # @param [OCI::LoadBalancer::Models::CreateListenerDetails] create_listener_details Details to add a listener.
217
265
  # @param [String] load_balancer_id The [OCID](https://docs.us-phoenix-1.oraclecloud.com/Content/General/Concepts/identifiers.htm) of the load balancer on which to add a listener.
218
266
  # @param [Hash] opts the optional parameters
219
267
  # @option opts [String] :opc_request_id The unique Oracle-assigned identifier for the request. If you need to contact Oracle about a
@@ -224,16 +272,17 @@ module OCI
224
272
  # hours, but can be invalidated before then due to conflicting operations (e.g., if a resource
225
273
  # has been deleted and purged from the system, then a retry of the original creation request
226
274
  # may be rejected).
227
- #
275
+ #
228
276
  # @return [Response] A Response object with data of type nil
229
277
  def create_listener(create_listener_details, load_balancer_id, opts = {})
230
- logger.debug "Calling operation LoadBalancerClient#create_listener." if logger
278
+ logger.debug 'Calling operation LoadBalancerClient#create_listener.' if logger
231
279
 
232
280
  raise "Missing the required parameter 'create_listener_details' when calling create_listener." if create_listener_details.nil?
233
281
  raise "Missing the required parameter 'load_balancer_id' when calling create_listener." if load_balancer_id.nil?
234
- raise "Parameter value for 'load_balancer_id' must not be blank" if OCI::Internal::Util::blank_string?(load_balancer_id)
282
+ raise "Parameter value for 'load_balancer_id' must not be blank" if OCI::Internal::Util.blank_string?(load_balancer_id)
235
283
 
236
- path = "/loadBalancers/{loadBalancerId}/listeners".sub('{loadBalancerId}', load_balancer_id.to_s)
284
+ path = '/loadBalancers/{loadBalancerId}/listeners'.sub('{loadBalancerId}', load_balancer_id.to_s)
285
+ operation_signing_strategy = :standard
237
286
 
238
287
  # Query Params
239
288
  query_params = {}
@@ -242,49 +291,59 @@ module OCI
242
291
  header_params = {}
243
292
  header_params['accept'] = 'application/json'
244
293
  header_params['content-type'] = 'application/json'
245
- header_params[:'opc-request-id'] = opts[:'opc_request_id'] if opts[:'opc_request_id']
246
- header_params[:'opc-retry-token'] = opts[:'opc_retry_token'] if opts[:'opc_retry_token']
294
+ header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
295
+ header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token]
247
296
 
248
297
  post_body = @api_client.object_to_http_body(create_listener_details)
249
298
 
250
- return @api_client.call_api(
299
+ @api_client.call_api(
251
300
  :POST,
252
301
  path,
253
302
  endpoint,
254
- :header_params => header_params,
255
- :query_params => query_params,
256
- :body => post_body)
303
+ header_params: header_params,
304
+ query_params: query_params,
305
+ operation_signing_strategy: operation_signing_strategy,
306
+ body: post_body
307
+ )
257
308
  end
309
+ # rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
310
+ # rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
311
+ # rubocop:enable Metrics/MethodLength, Layout/EmptyLines
312
+
313
+ # rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
314
+ # rubocop:disable Style/IfUnlessModifier, Metrics/ParameterLists
315
+ # rubocop:disable Metrics/MethodLength, Layout/EmptyLines
316
+
258
317
 
259
318
  # Creates a new load balancer in the specified compartment. For general information about load balancers,
260
319
  # see [Overview of the Load Balancing Service](https://docs.us-phoenix-1.oraclecloud.com/Content/Balance/Concepts/balanceoverview.htm).
261
- #
320
+ #
262
321
  # For the purposes of access control, you must provide the OCID of the compartment where you want
263
322
  # the load balancer to reside. Notice that the load balancer doesn't have to be in the same compartment as the VCN
264
323
  # or backend set. If you're not sure which compartment to use, put the load balancer in the same compartment as the VCN.
265
324
  # For information about access control and compartments, see
266
325
  # [Overview of the IAM Service](https://docs.us-phoenix-1.oraclecloud.com/Content/Identity/Concepts/overview.htm).
267
- #
326
+ #
268
327
  # You must specify a display name for the load balancer. It does not have to be unique, and you can change it.
269
- #
328
+ #
270
329
  # For information about Availability Domains, see
271
330
  # [Regions and Availability Domains](https://docs.us-phoenix-1.oraclecloud.com/Content/General/Concepts/regions.htm).
272
331
  # To get a list of Availability Domains, use the `ListAvailabilityDomains` operation
273
332
  # in the Identity and Access Management Service API.
274
- #
333
+ #
275
334
  # All Oracle Cloud Infrastructure resources, including load balancers, get an Oracle-assigned,
276
335
  # unique ID called an Oracle Cloud Identifier (OCID). When you create a resource, you can find its OCID
277
336
  # in the response. You can also retrieve a resource's OCID by using a List API operation on that resource type,
278
337
  # or by viewing the resource in the Console. Fore more information, see
279
338
  # [Resource Identifiers](https://docs.us-phoenix-1.oraclecloud.com/Content/General/Concepts/identifiers.htm).
280
- #
339
+ #
281
340
  # After you send your request, the new object's state will temporarily be PROVISIONING. Before using the
282
341
  # object, first make sure its state has changed to RUNNING.
283
- #
342
+ #
284
343
  # When you create a load balancer, the system assigns an IP address.
285
344
  # To get the IP address, use the {#get_load_balancer get_load_balancer} operation.
286
- #
287
- # @param [CreateLoadBalancerDetails] create_load_balancer_details The configuration details for creating a load balancer.
345
+ #
346
+ # @param [OCI::LoadBalancer::Models::CreateLoadBalancerDetails] create_load_balancer_details The configuration details for creating a load balancer.
288
347
  # @param [Hash] opts the optional parameters
289
348
  # @option opts [String] :opc_request_id The unique Oracle-assigned identifier for the request. If you need to contact Oracle about a
290
349
  # particular request, please provide the request ID.
@@ -294,14 +353,15 @@ module OCI
294
353
  # hours, but can be invalidated before then due to conflicting operations (e.g., if a resource
295
354
  # has been deleted and purged from the system, then a retry of the original creation request
296
355
  # may be rejected).
297
- #
356
+ #
298
357
  # @return [Response] A Response object with data of type nil
299
358
  def create_load_balancer(create_load_balancer_details, opts = {})
300
- logger.debug "Calling operation LoadBalancerClient#create_load_balancer." if logger
359
+ logger.debug 'Calling operation LoadBalancerClient#create_load_balancer.' if logger
301
360
 
302
361
  raise "Missing the required parameter 'create_load_balancer_details' when calling create_load_balancer." if create_load_balancer_details.nil?
303
362
 
304
- path = "/loadBalancers"
363
+ path = '/loadBalancers'
364
+ operation_signing_strategy = :standard
305
365
 
306
366
  # Query Params
307
367
  query_params = {}
@@ -310,24 +370,34 @@ module OCI
310
370
  header_params = {}
311
371
  header_params['accept'] = 'application/json'
312
372
  header_params['content-type'] = 'application/json'
313
- header_params[:'opc-request-id'] = opts[:'opc_request_id'] if opts[:'opc_request_id']
314
- header_params[:'opc-retry-token'] = opts[:'opc_retry_token'] if opts[:'opc_retry_token']
373
+ header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
374
+ header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token]
315
375
 
316
376
  post_body = @api_client.object_to_http_body(create_load_balancer_details)
317
377
 
318
- return @api_client.call_api(
378
+ @api_client.call_api(
319
379
  :POST,
320
380
  path,
321
381
  endpoint,
322
- :header_params => header_params,
323
- :query_params => query_params,
324
- :body => post_body)
382
+ header_params: header_params,
383
+ query_params: query_params,
384
+ operation_signing_strategy: operation_signing_strategy,
385
+ body: post_body
386
+ )
325
387
  end
388
+ # rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
389
+ # rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
390
+ # rubocop:enable Metrics/MethodLength, Layout/EmptyLines
391
+
392
+ # rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
393
+ # rubocop:disable Style/IfUnlessModifier, Metrics/ParameterLists
394
+ # rubocop:disable Metrics/MethodLength, Layout/EmptyLines
395
+
326
396
 
327
397
  # Adds a path route set to a load balancer. For more information, see
328
398
  # [Managing Request Routing](https://docs.us-phoenix-1.oraclecloud.com/Content/Balance/Tasks/managingrequest.htm).
329
- #
330
- # @param [CreatePathRouteSetDetails] create_path_route_set_details The details of the path route set to add.
399
+ #
400
+ # @param [OCI::LoadBalancer::Models::CreatePathRouteSetDetails] create_path_route_set_details The details of the path route set to add.
331
401
  # @param [String] load_balancer_id The [OCID](https://docs.us-phoenix-1.oraclecloud.com/Content/General/Concepts/identifiers.htm) of the load balancer to add the path route set to.
332
402
  # @param [Hash] opts the optional parameters
333
403
  # @option opts [String] :opc_request_id The unique Oracle-assigned identifier for the request. If you need to contact Oracle about a
@@ -338,16 +408,17 @@ module OCI
338
408
  # hours, but can be invalidated before then due to conflicting operations (e.g., if a resource
339
409
  # has been deleted and purged from the system, then a retry of the original creation request
340
410
  # may be rejected).
341
- #
411
+ #
342
412
  # @return [Response] A Response object with data of type nil
343
413
  def create_path_route_set(create_path_route_set_details, load_balancer_id, opts = {})
344
- logger.debug "Calling operation LoadBalancerClient#create_path_route_set." if logger
414
+ logger.debug 'Calling operation LoadBalancerClient#create_path_route_set.' if logger
345
415
 
346
416
  raise "Missing the required parameter 'create_path_route_set_details' when calling create_path_route_set." if create_path_route_set_details.nil?
347
417
  raise "Missing the required parameter 'load_balancer_id' when calling create_path_route_set." if load_balancer_id.nil?
348
- raise "Parameter value for 'load_balancer_id' must not be blank" if OCI::Internal::Util::blank_string?(load_balancer_id)
418
+ raise "Parameter value for 'load_balancer_id' must not be blank" if OCI::Internal::Util.blank_string?(load_balancer_id)
349
419
 
350
- path = "/loadBalancers/{loadBalancerId}/pathRouteSets".sub('{loadBalancerId}', load_balancer_id.to_s)
420
+ path = '/loadBalancers/{loadBalancerId}/pathRouteSets'.sub('{loadBalancerId}', load_balancer_id.to_s)
421
+ operation_signing_strategy = :standard
351
422
 
352
423
  # Query Params
353
424
  query_params = {}
@@ -356,46 +427,57 @@ module OCI
356
427
  header_params = {}
357
428
  header_params['accept'] = 'application/json'
358
429
  header_params['content-type'] = 'application/json'
359
- header_params[:'opc-request-id'] = opts[:'opc_request_id'] if opts[:'opc_request_id']
360
- header_params[:'opc-retry-token'] = opts[:'opc_retry_token'] if opts[:'opc_retry_token']
430
+ header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
431
+ header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token]
361
432
 
362
433
  post_body = @api_client.object_to_http_body(create_path_route_set_details)
363
434
 
364
- return @api_client.call_api(
435
+ @api_client.call_api(
365
436
  :POST,
366
437
  path,
367
438
  endpoint,
368
- :header_params => header_params,
369
- :query_params => query_params,
370
- :body => post_body)
439
+ header_params: header_params,
440
+ query_params: query_params,
441
+ operation_signing_strategy: operation_signing_strategy,
442
+ body: post_body
443
+ )
371
444
  end
445
+ # rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
446
+ # rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
447
+ # rubocop:enable Metrics/MethodLength, Layout/EmptyLines
448
+
449
+ # rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
450
+ # rubocop:disable Style/IfUnlessModifier, Metrics/ParameterLists
451
+ # rubocop:disable Metrics/MethodLength, Layout/EmptyLines
452
+
372
453
 
373
454
  # Removes a backend server from a given load balancer and backend set.
374
455
  # @param [String] load_balancer_id The [OCID](https://docs.us-phoenix-1.oraclecloud.com/Content/General/Concepts/identifiers.htm) of the load balancer associated with the backend set and server.
375
456
  # @param [String] backend_set_name The name of the backend set associated with the backend server.
376
- #
457
+ #
377
458
  # Example: `My_backend_set`
378
- #
459
+ #
379
460
  # @param [String] backend_name The IP address and port of the backend server to remove.
380
- #
461
+ #
381
462
  # Example: `1.1.1.7:42`
382
- #
463
+ #
383
464
  # @param [Hash] opts the optional parameters
384
465
  # @option opts [String] :opc_request_id The unique Oracle-assigned identifier for the request. If you need to contact Oracle about a
385
466
  # particular request, please provide the request ID.
386
467
  # (default to )
387
468
  # @return [Response] A Response object with data of type nil
388
469
  def delete_backend(load_balancer_id, backend_set_name, backend_name, opts = {})
389
- logger.debug "Calling operation LoadBalancerClient#delete_backend." if logger
470
+ logger.debug 'Calling operation LoadBalancerClient#delete_backend.' if logger
390
471
 
391
472
  raise "Missing the required parameter 'load_balancer_id' when calling delete_backend." if load_balancer_id.nil?
392
473
  raise "Missing the required parameter 'backend_set_name' when calling delete_backend." if backend_set_name.nil?
393
474
  raise "Missing the required parameter 'backend_name' when calling delete_backend." if backend_name.nil?
394
- raise "Parameter value for 'load_balancer_id' must not be blank" if OCI::Internal::Util::blank_string?(load_balancer_id)
395
- raise "Parameter value for 'backend_set_name' must not be blank" if OCI::Internal::Util::blank_string?(backend_set_name)
396
- raise "Parameter value for 'backend_name' must not be blank" if OCI::Internal::Util::blank_string?(backend_name)
475
+ raise "Parameter value for 'load_balancer_id' must not be blank" if OCI::Internal::Util.blank_string?(load_balancer_id)
476
+ raise "Parameter value for 'backend_set_name' must not be blank" if OCI::Internal::Util.blank_string?(backend_set_name)
477
+ raise "Parameter value for 'backend_name' must not be blank" if OCI::Internal::Util.blank_string?(backend_name)
397
478
 
398
- path = "/loadBalancers/{loadBalancerId}/backendSets/{backendSetName}/backends/{backendName}".sub('{loadBalancerId}', load_balancer_id.to_s).sub('{backendSetName}', backend_set_name.to_s).sub('{backendName}', backend_name.to_s)
479
+ path = '/loadBalancers/{loadBalancerId}/backendSets/{backendSetName}/backends/{backendName}'.sub('{loadBalancerId}', load_balancer_id.to_s).sub('{backendSetName}', backend_set_name.to_s).sub('{backendName}', backend_name.to_s)
480
+ operation_signing_strategy = :standard
399
481
 
400
482
  # Query Params
401
483
  query_params = {}
@@ -404,42 +486,53 @@ module OCI
404
486
  header_params = {}
405
487
  header_params['accept'] = 'application/json'
406
488
  header_params['content-type'] = 'application/json'
407
- header_params[:'opc-request-id'] = opts[:'opc_request_id'] if opts[:'opc_request_id']
489
+ header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
408
490
 
409
491
  post_body = nil
410
492
 
411
- return @api_client.call_api(
493
+ @api_client.call_api(
412
494
  :DELETE,
413
495
  path,
414
496
  endpoint,
415
- :header_params => header_params,
416
- :query_params => query_params,
417
- :body => post_body)
497
+ header_params: header_params,
498
+ query_params: query_params,
499
+ operation_signing_strategy: operation_signing_strategy,
500
+ body: post_body
501
+ )
418
502
  end
503
+ # rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
504
+ # rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
505
+ # rubocop:enable Metrics/MethodLength, Layout/EmptyLines
506
+
507
+ # rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
508
+ # rubocop:disable Style/IfUnlessModifier, Metrics/ParameterLists
509
+ # rubocop:disable Metrics/MethodLength, Layout/EmptyLines
510
+
419
511
 
420
512
  # Deletes the specified backend set. Note that deleting a backend set removes its backend servers from the load balancer.
421
- #
513
+ #
422
514
  # Before you can delete a backend set, you must remove it from any active listeners.
423
- #
515
+ #
424
516
  # @param [String] load_balancer_id The [OCID](https://docs.us-phoenix-1.oraclecloud.com/Content/General/Concepts/identifiers.htm) of the load balancer associated with the backend set.
425
517
  # @param [String] backend_set_name The name of the backend set to delete.
426
- #
518
+ #
427
519
  # Example: `My_backend_set`
428
- #
520
+ #
429
521
  # @param [Hash] opts the optional parameters
430
522
  # @option opts [String] :opc_request_id The unique Oracle-assigned identifier for the request. If you need to contact Oracle about a
431
523
  # particular request, please provide the request ID.
432
524
  # (default to )
433
525
  # @return [Response] A Response object with data of type nil
434
526
  def delete_backend_set(load_balancer_id, backend_set_name, opts = {})
435
- logger.debug "Calling operation LoadBalancerClient#delete_backend_set." if logger
527
+ logger.debug 'Calling operation LoadBalancerClient#delete_backend_set.' if logger
436
528
 
437
529
  raise "Missing the required parameter 'load_balancer_id' when calling delete_backend_set." if load_balancer_id.nil?
438
530
  raise "Missing the required parameter 'backend_set_name' when calling delete_backend_set." if backend_set_name.nil?
439
- raise "Parameter value for 'load_balancer_id' must not be blank" if OCI::Internal::Util::blank_string?(load_balancer_id)
440
- raise "Parameter value for 'backend_set_name' must not be blank" if OCI::Internal::Util::blank_string?(backend_set_name)
531
+ raise "Parameter value for 'load_balancer_id' must not be blank" if OCI::Internal::Util.blank_string?(load_balancer_id)
532
+ raise "Parameter value for 'backend_set_name' must not be blank" if OCI::Internal::Util.blank_string?(backend_set_name)
441
533
 
442
- path = "/loadBalancers/{loadBalancerId}/backendSets/{backendSetName}".sub('{loadBalancerId}', load_balancer_id.to_s).sub('{backendSetName}', backend_set_name.to_s)
534
+ path = '/loadBalancers/{loadBalancerId}/backendSets/{backendSetName}'.sub('{loadBalancerId}', load_balancer_id.to_s).sub('{backendSetName}', backend_set_name.to_s)
535
+ operation_signing_strategy = :standard
443
536
 
444
537
  # Query Params
445
538
  query_params = {}
@@ -448,39 +541,50 @@ module OCI
448
541
  header_params = {}
449
542
  header_params['accept'] = 'application/json'
450
543
  header_params['content-type'] = 'application/json'
451
- header_params[:'opc-request-id'] = opts[:'opc_request_id'] if opts[:'opc_request_id']
544
+ header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
452
545
 
453
546
  post_body = nil
454
547
 
455
- return @api_client.call_api(
548
+ @api_client.call_api(
456
549
  :DELETE,
457
550
  path,
458
551
  endpoint,
459
- :header_params => header_params,
460
- :query_params => query_params,
461
- :body => post_body)
552
+ header_params: header_params,
553
+ query_params: query_params,
554
+ operation_signing_strategy: operation_signing_strategy,
555
+ body: post_body
556
+ )
462
557
  end
558
+ # rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
559
+ # rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
560
+ # rubocop:enable Metrics/MethodLength, Layout/EmptyLines
561
+
562
+ # rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
563
+ # rubocop:disable Style/IfUnlessModifier, Metrics/ParameterLists
564
+ # rubocop:disable Metrics/MethodLength, Layout/EmptyLines
565
+
463
566
 
464
567
  # Deletes an SSL certificate from a load balancer.
465
568
  # @param [String] load_balancer_id The [OCID](https://docs.us-phoenix-1.oraclecloud.com/Content/General/Concepts/identifiers.htm) of the load balancer associated with the certificate to be deleted.
466
569
  # @param [String] certificate_name The name of the certificate to delete.
467
- #
570
+ #
468
571
  # Example: `My_certificate_bundle`
469
- #
572
+ #
470
573
  # @param [Hash] opts the optional parameters
471
574
  # @option opts [String] :opc_request_id The unique Oracle-assigned identifier for the request. If you need to contact Oracle about a
472
575
  # particular request, please provide the request ID.
473
576
  # (default to )
474
577
  # @return [Response] A Response object with data of type nil
475
578
  def delete_certificate(load_balancer_id, certificate_name, opts = {})
476
- logger.debug "Calling operation LoadBalancerClient#delete_certificate." if logger
579
+ logger.debug 'Calling operation LoadBalancerClient#delete_certificate.' if logger
477
580
 
478
581
  raise "Missing the required parameter 'load_balancer_id' when calling delete_certificate." if load_balancer_id.nil?
479
582
  raise "Missing the required parameter 'certificate_name' when calling delete_certificate." if certificate_name.nil?
480
- raise "Parameter value for 'load_balancer_id' must not be blank" if OCI::Internal::Util::blank_string?(load_balancer_id)
481
- raise "Parameter value for 'certificate_name' must not be blank" if OCI::Internal::Util::blank_string?(certificate_name)
583
+ raise "Parameter value for 'load_balancer_id' must not be blank" if OCI::Internal::Util.blank_string?(load_balancer_id)
584
+ raise "Parameter value for 'certificate_name' must not be blank" if OCI::Internal::Util.blank_string?(certificate_name)
482
585
 
483
- path = "/loadBalancers/{loadBalancerId}/certificates/{certificateName}".sub('{loadBalancerId}', load_balancer_id.to_s).sub('{certificateName}', certificate_name.to_s)
586
+ path = '/loadBalancers/{loadBalancerId}/certificates/{certificateName}'.sub('{loadBalancerId}', load_balancer_id.to_s).sub('{certificateName}', certificate_name.to_s)
587
+ operation_signing_strategy = :standard
484
588
 
485
589
  # Query Params
486
590
  query_params = {}
@@ -489,39 +593,50 @@ module OCI
489
593
  header_params = {}
490
594
  header_params['accept'] = 'application/json'
491
595
  header_params['content-type'] = 'application/json'
492
- header_params[:'opc-request-id'] = opts[:'opc_request_id'] if opts[:'opc_request_id']
596
+ header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
493
597
 
494
598
  post_body = nil
495
599
 
496
- return @api_client.call_api(
600
+ @api_client.call_api(
497
601
  :DELETE,
498
602
  path,
499
603
  endpoint,
500
- :header_params => header_params,
501
- :query_params => query_params,
502
- :body => post_body)
604
+ header_params: header_params,
605
+ query_params: query_params,
606
+ operation_signing_strategy: operation_signing_strategy,
607
+ body: post_body
608
+ )
503
609
  end
610
+ # rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
611
+ # rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
612
+ # rubocop:enable Metrics/MethodLength, Layout/EmptyLines
613
+
614
+ # rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
615
+ # rubocop:disable Style/IfUnlessModifier, Metrics/ParameterLists
616
+ # rubocop:disable Metrics/MethodLength, Layout/EmptyLines
617
+
504
618
 
505
619
  # Deletes a listener from a load balancer.
506
620
  # @param [String] load_balancer_id The [OCID](https://docs.us-phoenix-1.oraclecloud.com/Content/General/Concepts/identifiers.htm) of the load balancer associated with the listener to delete.
507
621
  # @param [String] listener_name The name of the listener to delete.
508
- #
622
+ #
509
623
  # Example: `My listener`
510
- #
624
+ #
511
625
  # @param [Hash] opts the optional parameters
512
626
  # @option opts [String] :opc_request_id The unique Oracle-assigned identifier for the request. If you need to contact Oracle about a
513
627
  # particular request, please provide the request ID.
514
628
  # (default to )
515
629
  # @return [Response] A Response object with data of type nil
516
630
  def delete_listener(load_balancer_id, listener_name, opts = {})
517
- logger.debug "Calling operation LoadBalancerClient#delete_listener." if logger
631
+ logger.debug 'Calling operation LoadBalancerClient#delete_listener.' if logger
518
632
 
519
633
  raise "Missing the required parameter 'load_balancer_id' when calling delete_listener." if load_balancer_id.nil?
520
634
  raise "Missing the required parameter 'listener_name' when calling delete_listener." if listener_name.nil?
521
- raise "Parameter value for 'load_balancer_id' must not be blank" if OCI::Internal::Util::blank_string?(load_balancer_id)
522
- raise "Parameter value for 'listener_name' must not be blank" if OCI::Internal::Util::blank_string?(listener_name)
635
+ raise "Parameter value for 'load_balancer_id' must not be blank" if OCI::Internal::Util.blank_string?(load_balancer_id)
636
+ raise "Parameter value for 'listener_name' must not be blank" if OCI::Internal::Util.blank_string?(listener_name)
523
637
 
524
- path = "/loadBalancers/{loadBalancerId}/listeners/{listenerName}".sub('{loadBalancerId}', load_balancer_id.to_s).sub('{listenerName}', listener_name.to_s)
638
+ path = '/loadBalancers/{loadBalancerId}/listeners/{listenerName}'.sub('{loadBalancerId}', load_balancer_id.to_s).sub('{listenerName}', listener_name.to_s)
639
+ operation_signing_strategy = :standard
525
640
 
526
641
  # Query Params
527
642
  query_params = {}
@@ -530,18 +645,28 @@ module OCI
530
645
  header_params = {}
531
646
  header_params['accept'] = 'application/json'
532
647
  header_params['content-type'] = 'application/json'
533
- header_params[:'opc-request-id'] = opts[:'opc_request_id'] if opts[:'opc_request_id']
648
+ header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
534
649
 
535
650
  post_body = nil
536
651
 
537
- return @api_client.call_api(
652
+ @api_client.call_api(
538
653
  :DELETE,
539
654
  path,
540
655
  endpoint,
541
- :header_params => header_params,
542
- :query_params => query_params,
543
- :body => post_body)
656
+ header_params: header_params,
657
+ query_params: query_params,
658
+ operation_signing_strategy: operation_signing_strategy,
659
+ body: post_body
660
+ )
544
661
  end
662
+ # rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
663
+ # rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
664
+ # rubocop:enable Metrics/MethodLength, Layout/EmptyLines
665
+
666
+ # rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
667
+ # rubocop:disable Style/IfUnlessModifier, Metrics/ParameterLists
668
+ # rubocop:disable Metrics/MethodLength, Layout/EmptyLines
669
+
545
670
 
546
671
  # Stops a load balancer and removes it from service.
547
672
  # @param [String] load_balancer_id The [OCID](https://docs.us-phoenix-1.oraclecloud.com/Content/General/Concepts/identifiers.htm) of the load balancer to delete.
@@ -551,12 +676,13 @@ module OCI
551
676
  # (default to )
552
677
  # @return [Response] A Response object with data of type nil
553
678
  def delete_load_balancer(load_balancer_id, opts = {})
554
- logger.debug "Calling operation LoadBalancerClient#delete_load_balancer." if logger
679
+ logger.debug 'Calling operation LoadBalancerClient#delete_load_balancer.' if logger
555
680
 
556
681
  raise "Missing the required parameter 'load_balancer_id' when calling delete_load_balancer." if load_balancer_id.nil?
557
- raise "Parameter value for 'load_balancer_id' must not be blank" if OCI::Internal::Util::blank_string?(load_balancer_id)
682
+ raise "Parameter value for 'load_balancer_id' must not be blank" if OCI::Internal::Util.blank_string?(load_balancer_id)
558
683
 
559
- path = "/loadBalancers/{loadBalancerId}".sub('{loadBalancerId}', load_balancer_id.to_s)
684
+ path = '/loadBalancers/{loadBalancerId}'.sub('{loadBalancerId}', load_balancer_id.to_s)
685
+ operation_signing_strategy = :standard
560
686
 
561
687
  # Query Params
562
688
  query_params = {}
@@ -565,43 +691,54 @@ module OCI
565
691
  header_params = {}
566
692
  header_params['accept'] = 'application/json'
567
693
  header_params['content-type'] = 'application/json'
568
- header_params[:'opc-request-id'] = opts[:'opc_request_id'] if opts[:'opc_request_id']
694
+ header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
569
695
 
570
696
  post_body = nil
571
697
 
572
- return @api_client.call_api(
698
+ @api_client.call_api(
573
699
  :DELETE,
574
700
  path,
575
701
  endpoint,
576
- :header_params => header_params,
577
- :query_params => query_params,
578
- :body => post_body)
702
+ header_params: header_params,
703
+ query_params: query_params,
704
+ operation_signing_strategy: operation_signing_strategy,
705
+ body: post_body
706
+ )
579
707
  end
708
+ # rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
709
+ # rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
710
+ # rubocop:enable Metrics/MethodLength, Layout/EmptyLines
711
+
712
+ # rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
713
+ # rubocop:disable Style/IfUnlessModifier, Metrics/ParameterLists
714
+ # rubocop:disable Metrics/MethodLength, Layout/EmptyLines
715
+
580
716
 
581
717
  # Deletes a path route set from the specified load balancer.
582
- #
718
+ #
583
719
  # To delete a path route rule from a path route set, use the
584
720
  # {#update_path_route_set update_path_route_set} operation.
585
- #
721
+ #
586
722
  # @param [String] load_balancer_id The [OCID](https://docs.us-phoenix-1.oraclecloud.com/Content/General/Concepts/identifiers.htm) of the load balancer associated with the path route set to delete.
587
723
  # @param [String] path_route_set_name The name of the path route set to delete.
588
- #
724
+ #
589
725
  # Example: `path-route-set-001`
590
- #
726
+ #
591
727
  # @param [Hash] opts the optional parameters
592
728
  # @option opts [String] :opc_request_id The unique Oracle-assigned identifier for the request. If you need to contact Oracle about a
593
729
  # particular request, please provide the request ID.
594
730
  # (default to )
595
731
  # @return [Response] A Response object with data of type nil
596
732
  def delete_path_route_set(load_balancer_id, path_route_set_name, opts = {})
597
- logger.debug "Calling operation LoadBalancerClient#delete_path_route_set." if logger
733
+ logger.debug 'Calling operation LoadBalancerClient#delete_path_route_set.' if logger
598
734
 
599
735
  raise "Missing the required parameter 'load_balancer_id' when calling delete_path_route_set." if load_balancer_id.nil?
600
736
  raise "Missing the required parameter 'path_route_set_name' when calling delete_path_route_set." if path_route_set_name.nil?
601
- raise "Parameter value for 'load_balancer_id' must not be blank" if OCI::Internal::Util::blank_string?(load_balancer_id)
602
- raise "Parameter value for 'path_route_set_name' must not be blank" if OCI::Internal::Util::blank_string?(path_route_set_name)
737
+ raise "Parameter value for 'load_balancer_id' must not be blank" if OCI::Internal::Util.blank_string?(load_balancer_id)
738
+ raise "Parameter value for 'path_route_set_name' must not be blank" if OCI::Internal::Util.blank_string?(path_route_set_name)
603
739
 
604
- path = "/loadBalancers/{loadBalancerId}/pathRouteSets/{pathRouteSetName}".sub('{loadBalancerId}', load_balancer_id.to_s).sub('{pathRouteSetName}', path_route_set_name.to_s)
740
+ path = '/loadBalancers/{loadBalancerId}/pathRouteSets/{pathRouteSetName}'.sub('{loadBalancerId}', load_balancer_id.to_s).sub('{pathRouteSetName}', path_route_set_name.to_s)
741
+ operation_signing_strategy = :standard
605
742
 
606
743
  # Query Params
607
744
  query_params = {}
@@ -610,45 +747,56 @@ module OCI
610
747
  header_params = {}
611
748
  header_params['accept'] = 'application/json'
612
749
  header_params['content-type'] = 'application/json'
613
- header_params[:'opc-request-id'] = opts[:'opc_request_id'] if opts[:'opc_request_id']
750
+ header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
614
751
 
615
752
  post_body = nil
616
753
 
617
- return @api_client.call_api(
754
+ @api_client.call_api(
618
755
  :DELETE,
619
756
  path,
620
757
  endpoint,
621
- :header_params => header_params,
622
- :query_params => query_params,
623
- :body => post_body)
758
+ header_params: header_params,
759
+ query_params: query_params,
760
+ operation_signing_strategy: operation_signing_strategy,
761
+ body: post_body
762
+ )
624
763
  end
764
+ # rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
765
+ # rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
766
+ # rubocop:enable Metrics/MethodLength, Layout/EmptyLines
767
+
768
+ # rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
769
+ # rubocop:disable Style/IfUnlessModifier, Metrics/ParameterLists
770
+ # rubocop:disable Metrics/MethodLength, Layout/EmptyLines
771
+
625
772
 
626
773
  # Gets the specified backend server's configuration information.
627
774
  # @param [String] load_balancer_id The [OCID](https://docs.us-phoenix-1.oraclecloud.com/Content/General/Concepts/identifiers.htm) of the load balancer associated with the backend set and server.
628
775
  # @param [String] backend_set_name The name of the backend set that includes the backend server.
629
- #
776
+ #
630
777
  # Example: `My_backend_set`
631
- #
778
+ #
632
779
  # @param [String] backend_name The IP address and port of the backend server to retrieve.
633
- #
780
+ #
634
781
  # Example: `1.1.1.7:42`
635
- #
782
+ #
636
783
  # @param [Hash] opts the optional parameters
637
784
  # @option opts [String] :opc_request_id The unique Oracle-assigned identifier for the request. If you need to contact Oracle about a
638
785
  # particular request, please provide the request ID.
639
786
  # (default to )
640
- # @return [Response] A Response object with data of type OCI::LoadBalancer::Models::Backend
787
+ # @return [Response] A Response object with data of type {OCI::LoadBalancer::Models::Backend Backend}
641
788
  def get_backend(load_balancer_id, backend_set_name, backend_name, opts = {})
642
- logger.debug "Calling operation LoadBalancerClient#get_backend." if logger
789
+ logger.debug 'Calling operation LoadBalancerClient#get_backend.' if logger
643
790
 
644
791
  raise "Missing the required parameter 'load_balancer_id' when calling get_backend." if load_balancer_id.nil?
645
792
  raise "Missing the required parameter 'backend_set_name' when calling get_backend." if backend_set_name.nil?
646
793
  raise "Missing the required parameter 'backend_name' when calling get_backend." if backend_name.nil?
647
- raise "Parameter value for 'load_balancer_id' must not be blank" if OCI::Internal::Util::blank_string?(load_balancer_id)
648
- raise "Parameter value for 'backend_set_name' must not be blank" if OCI::Internal::Util::blank_string?(backend_set_name)
649
- raise "Parameter value for 'backend_name' must not be blank" if OCI::Internal::Util::blank_string?(backend_name)
794
+ raise "Parameter value for 'load_balancer_id' must not be blank" if OCI::Internal::Util.blank_string?(load_balancer_id)
795
+ raise "Parameter value for 'backend_set_name' must not be blank" if OCI::Internal::Util.blank_string?(backend_set_name)
796
+ raise "Parameter value for 'backend_name' must not be blank" if OCI::Internal::Util.blank_string?(backend_name)
650
797
 
651
- path = "/loadBalancers/{loadBalancerId}/backendSets/{backendSetName}/backends/{backendName}".sub('{loadBalancerId}', load_balancer_id.to_s).sub('{backendSetName}', backend_set_name.to_s).sub('{backendName}', backend_name.to_s)
798
+ path = '/loadBalancers/{loadBalancerId}/backendSets/{backendSetName}/backends/{backendName}'.sub('{loadBalancerId}', load_balancer_id.to_s).sub('{backendSetName}', backend_set_name.to_s).sub('{backendName}', backend_name.to_s)
799
+ operation_signing_strategy = :standard
652
800
 
653
801
  # Query Params
654
802
  query_params = {}
@@ -657,46 +805,57 @@ module OCI
657
805
  header_params = {}
658
806
  header_params['accept'] = 'application/json'
659
807
  header_params['content-type'] = 'application/json'
660
- header_params[:'opc-request-id'] = opts[:'opc_request_id'] if opts[:'opc_request_id']
808
+ header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
661
809
 
662
810
  post_body = nil
663
811
 
664
- return @api_client.call_api(
812
+ @api_client.call_api(
665
813
  :GET,
666
814
  path,
667
815
  endpoint,
668
- :header_params => header_params,
669
- :query_params => query_params,
670
- :body => post_body,
671
- :return_type => 'OCI::LoadBalancer::Models::Backend')
816
+ header_params: header_params,
817
+ query_params: query_params,
818
+ operation_signing_strategy: operation_signing_strategy,
819
+ body: post_body,
820
+ return_type: 'OCI::LoadBalancer::Models::Backend'
821
+ )
672
822
  end
823
+ # rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
824
+ # rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
825
+ # rubocop:enable Metrics/MethodLength, Layout/EmptyLines
826
+
827
+ # rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
828
+ # rubocop:disable Style/IfUnlessModifier, Metrics/ParameterLists
829
+ # rubocop:disable Metrics/MethodLength, Layout/EmptyLines
830
+
673
831
 
674
832
  # Gets the current health status of the specified backend server.
675
833
  # @param [String] load_balancer_id The [OCID](https://docs.us-phoenix-1.oraclecloud.com/Content/General/Concepts/identifiers.htm) of the load balancer associated with the backend server health status to be retrieved.
676
834
  # @param [String] backend_set_name The name of the backend set associated with the backend server to retrieve the health status for.
677
- #
835
+ #
678
836
  # Example: `My_backend_set`
679
- #
837
+ #
680
838
  # @param [String] backend_name The IP address and port of the backend server to retrieve the health status for.
681
- #
839
+ #
682
840
  # Example: `1.1.1.7:42`
683
- #
841
+ #
684
842
  # @param [Hash] opts the optional parameters
685
843
  # @option opts [String] :opc_request_id The unique Oracle-assigned identifier for the request. If you need to contact Oracle about a
686
844
  # particular request, please provide the request ID.
687
845
  # (default to )
688
- # @return [Response] A Response object with data of type OCI::LoadBalancer::Models::BackendHealth
846
+ # @return [Response] A Response object with data of type {OCI::LoadBalancer::Models::BackendHealth BackendHealth}
689
847
  def get_backend_health(load_balancer_id, backend_set_name, backend_name, opts = {})
690
- logger.debug "Calling operation LoadBalancerClient#get_backend_health." if logger
848
+ logger.debug 'Calling operation LoadBalancerClient#get_backend_health.' if logger
691
849
 
692
850
  raise "Missing the required parameter 'load_balancer_id' when calling get_backend_health." if load_balancer_id.nil?
693
851
  raise "Missing the required parameter 'backend_set_name' when calling get_backend_health." if backend_set_name.nil?
694
852
  raise "Missing the required parameter 'backend_name' when calling get_backend_health." if backend_name.nil?
695
- raise "Parameter value for 'load_balancer_id' must not be blank" if OCI::Internal::Util::blank_string?(load_balancer_id)
696
- raise "Parameter value for 'backend_set_name' must not be blank" if OCI::Internal::Util::blank_string?(backend_set_name)
697
- raise "Parameter value for 'backend_name' must not be blank" if OCI::Internal::Util::blank_string?(backend_name)
853
+ raise "Parameter value for 'load_balancer_id' must not be blank" if OCI::Internal::Util.blank_string?(load_balancer_id)
854
+ raise "Parameter value for 'backend_set_name' must not be blank" if OCI::Internal::Util.blank_string?(backend_set_name)
855
+ raise "Parameter value for 'backend_name' must not be blank" if OCI::Internal::Util.blank_string?(backend_name)
698
856
 
699
- path = "/loadBalancers/{loadBalancerId}/backendSets/{backendSetName}/backends/{backendName}/health".sub('{loadBalancerId}', load_balancer_id.to_s).sub('{backendSetName}', backend_set_name.to_s).sub('{backendName}', backend_name.to_s)
857
+ path = '/loadBalancers/{loadBalancerId}/backendSets/{backendSetName}/backends/{backendName}/health'.sub('{loadBalancerId}', load_balancer_id.to_s).sub('{backendSetName}', backend_set_name.to_s).sub('{backendName}', backend_name.to_s)
858
+ operation_signing_strategy = :standard
700
859
 
701
860
  # Query Params
702
861
  query_params = {}
@@ -705,40 +864,51 @@ module OCI
705
864
  header_params = {}
706
865
  header_params['accept'] = 'application/json'
707
866
  header_params['content-type'] = 'application/json'
708
- header_params[:'opc-request-id'] = opts[:'opc_request_id'] if opts[:'opc_request_id']
867
+ header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
709
868
 
710
869
  post_body = nil
711
870
 
712
- return @api_client.call_api(
871
+ @api_client.call_api(
713
872
  :GET,
714
873
  path,
715
874
  endpoint,
716
- :header_params => header_params,
717
- :query_params => query_params,
718
- :body => post_body,
719
- :return_type => 'OCI::LoadBalancer::Models::BackendHealth')
875
+ header_params: header_params,
876
+ query_params: query_params,
877
+ operation_signing_strategy: operation_signing_strategy,
878
+ body: post_body,
879
+ return_type: 'OCI::LoadBalancer::Models::BackendHealth'
880
+ )
720
881
  end
882
+ # rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
883
+ # rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
884
+ # rubocop:enable Metrics/MethodLength, Layout/EmptyLines
885
+
886
+ # rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
887
+ # rubocop:disable Style/IfUnlessModifier, Metrics/ParameterLists
888
+ # rubocop:disable Metrics/MethodLength, Layout/EmptyLines
889
+
721
890
 
722
891
  # Gets the specified backend set's configuration information.
723
892
  # @param [String] load_balancer_id The [OCID](https://docs.us-phoenix-1.oraclecloud.com/Content/General/Concepts/identifiers.htm) of the specified load balancer.
724
893
  # @param [String] backend_set_name The name of the backend set to retrieve.
725
- #
894
+ #
726
895
  # Example: `My_backend_set`
727
- #
896
+ #
728
897
  # @param [Hash] opts the optional parameters
729
898
  # @option opts [String] :opc_request_id The unique Oracle-assigned identifier for the request. If you need to contact Oracle about a
730
899
  # particular request, please provide the request ID.
731
900
  # (default to )
732
- # @return [Response] A Response object with data of type OCI::LoadBalancer::Models::BackendSet
901
+ # @return [Response] A Response object with data of type {OCI::LoadBalancer::Models::BackendSet BackendSet}
733
902
  def get_backend_set(load_balancer_id, backend_set_name, opts = {})
734
- logger.debug "Calling operation LoadBalancerClient#get_backend_set." if logger
903
+ logger.debug 'Calling operation LoadBalancerClient#get_backend_set.' if logger
735
904
 
736
905
  raise "Missing the required parameter 'load_balancer_id' when calling get_backend_set." if load_balancer_id.nil?
737
906
  raise "Missing the required parameter 'backend_set_name' when calling get_backend_set." if backend_set_name.nil?
738
- raise "Parameter value for 'load_balancer_id' must not be blank" if OCI::Internal::Util::blank_string?(load_balancer_id)
739
- raise "Parameter value for 'backend_set_name' must not be blank" if OCI::Internal::Util::blank_string?(backend_set_name)
907
+ raise "Parameter value for 'load_balancer_id' must not be blank" if OCI::Internal::Util.blank_string?(load_balancer_id)
908
+ raise "Parameter value for 'backend_set_name' must not be blank" if OCI::Internal::Util.blank_string?(backend_set_name)
740
909
 
741
- path = "/loadBalancers/{loadBalancerId}/backendSets/{backendSetName}".sub('{loadBalancerId}', load_balancer_id.to_s).sub('{backendSetName}', backend_set_name.to_s)
910
+ path = '/loadBalancers/{loadBalancerId}/backendSets/{backendSetName}'.sub('{loadBalancerId}', load_balancer_id.to_s).sub('{backendSetName}', backend_set_name.to_s)
911
+ operation_signing_strategy = :standard
742
912
 
743
913
  # Query Params
744
914
  query_params = {}
@@ -747,40 +917,51 @@ module OCI
747
917
  header_params = {}
748
918
  header_params['accept'] = 'application/json'
749
919
  header_params['content-type'] = 'application/json'
750
- header_params[:'opc-request-id'] = opts[:'opc_request_id'] if opts[:'opc_request_id']
920
+ header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
751
921
 
752
922
  post_body = nil
753
923
 
754
- return @api_client.call_api(
924
+ @api_client.call_api(
755
925
  :GET,
756
926
  path,
757
927
  endpoint,
758
- :header_params => header_params,
759
- :query_params => query_params,
760
- :body => post_body,
761
- :return_type => 'OCI::LoadBalancer::Models::BackendSet')
928
+ header_params: header_params,
929
+ query_params: query_params,
930
+ operation_signing_strategy: operation_signing_strategy,
931
+ body: post_body,
932
+ return_type: 'OCI::LoadBalancer::Models::BackendSet'
933
+ )
762
934
  end
935
+ # rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
936
+ # rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
937
+ # rubocop:enable Metrics/MethodLength, Layout/EmptyLines
938
+
939
+ # rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
940
+ # rubocop:disable Style/IfUnlessModifier, Metrics/ParameterLists
941
+ # rubocop:disable Metrics/MethodLength, Layout/EmptyLines
942
+
763
943
 
764
944
  # Gets the health status for the specified backend set.
765
945
  # @param [String] load_balancer_id The [OCID](https://docs.us-phoenix-1.oraclecloud.com/Content/General/Concepts/identifiers.htm) of the load balancer associated with the backend set health status to be retrieved.
766
946
  # @param [String] backend_set_name The name of the backend set to retrieve the health status for.
767
- #
947
+ #
768
948
  # Example: `My_backend_set`
769
- #
949
+ #
770
950
  # @param [Hash] opts the optional parameters
771
951
  # @option opts [String] :opc_request_id The unique Oracle-assigned identifier for the request. If you need to contact Oracle about a
772
952
  # particular request, please provide the request ID.
773
953
  # (default to )
774
- # @return [Response] A Response object with data of type OCI::LoadBalancer::Models::BackendSetHealth
954
+ # @return [Response] A Response object with data of type {OCI::LoadBalancer::Models::BackendSetHealth BackendSetHealth}
775
955
  def get_backend_set_health(load_balancer_id, backend_set_name, opts = {})
776
- logger.debug "Calling operation LoadBalancerClient#get_backend_set_health." if logger
956
+ logger.debug 'Calling operation LoadBalancerClient#get_backend_set_health.' if logger
777
957
 
778
958
  raise "Missing the required parameter 'load_balancer_id' when calling get_backend_set_health." if load_balancer_id.nil?
779
959
  raise "Missing the required parameter 'backend_set_name' when calling get_backend_set_health." if backend_set_name.nil?
780
- raise "Parameter value for 'load_balancer_id' must not be blank" if OCI::Internal::Util::blank_string?(load_balancer_id)
781
- raise "Parameter value for 'backend_set_name' must not be blank" if OCI::Internal::Util::blank_string?(backend_set_name)
960
+ raise "Parameter value for 'load_balancer_id' must not be blank" if OCI::Internal::Util.blank_string?(load_balancer_id)
961
+ raise "Parameter value for 'backend_set_name' must not be blank" if OCI::Internal::Util.blank_string?(backend_set_name)
782
962
 
783
- path = "/loadBalancers/{loadBalancerId}/backendSets/{backendSetName}/health".sub('{loadBalancerId}', load_balancer_id.to_s).sub('{backendSetName}', backend_set_name.to_s)
963
+ path = '/loadBalancers/{loadBalancerId}/backendSets/{backendSetName}/health'.sub('{loadBalancerId}', load_balancer_id.to_s).sub('{backendSetName}', backend_set_name.to_s)
964
+ operation_signing_strategy = :standard
784
965
 
785
966
  # Query Params
786
967
  query_params = {}
@@ -789,40 +970,51 @@ module OCI
789
970
  header_params = {}
790
971
  header_params['accept'] = 'application/json'
791
972
  header_params['content-type'] = 'application/json'
792
- header_params[:'opc-request-id'] = opts[:'opc_request_id'] if opts[:'opc_request_id']
973
+ header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
793
974
 
794
975
  post_body = nil
795
976
 
796
- return @api_client.call_api(
977
+ @api_client.call_api(
797
978
  :GET,
798
979
  path,
799
980
  endpoint,
800
- :header_params => header_params,
801
- :query_params => query_params,
802
- :body => post_body,
803
- :return_type => 'OCI::LoadBalancer::Models::BackendSetHealth')
981
+ header_params: header_params,
982
+ query_params: query_params,
983
+ operation_signing_strategy: operation_signing_strategy,
984
+ body: post_body,
985
+ return_type: 'OCI::LoadBalancer::Models::BackendSetHealth'
986
+ )
804
987
  end
988
+ # rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
989
+ # rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
990
+ # rubocop:enable Metrics/MethodLength, Layout/EmptyLines
991
+
992
+ # rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
993
+ # rubocop:disable Style/IfUnlessModifier, Metrics/ParameterLists
994
+ # rubocop:disable Metrics/MethodLength, Layout/EmptyLines
995
+
805
996
 
806
997
  # Gets the health check policy information for a given load balancer and backend set.
807
998
  # @param [String] load_balancer_id The [OCID](https://docs.us-phoenix-1.oraclecloud.com/Content/General/Concepts/identifiers.htm) of the load balancer associated with the health check policy to be retrieved.
808
999
  # @param [String] backend_set_name The name of the backend set associated with the health check policy to be retrieved.
809
- #
1000
+ #
810
1001
  # Example: `My_backend_set`
811
- #
1002
+ #
812
1003
  # @param [Hash] opts the optional parameters
813
1004
  # @option opts [String] :opc_request_id The unique Oracle-assigned identifier for the request. If you need to contact Oracle about a
814
1005
  # particular request, please provide the request ID.
815
1006
  # (default to )
816
- # @return [Response] A Response object with data of type OCI::LoadBalancer::Models::HealthChecker
1007
+ # @return [Response] A Response object with data of type {OCI::LoadBalancer::Models::HealthChecker HealthChecker}
817
1008
  def get_health_checker(load_balancer_id, backend_set_name, opts = {})
818
- logger.debug "Calling operation LoadBalancerClient#get_health_checker." if logger
1009
+ logger.debug 'Calling operation LoadBalancerClient#get_health_checker.' if logger
819
1010
 
820
1011
  raise "Missing the required parameter 'load_balancer_id' when calling get_health_checker." if load_balancer_id.nil?
821
1012
  raise "Missing the required parameter 'backend_set_name' when calling get_health_checker." if backend_set_name.nil?
822
- raise "Parameter value for 'load_balancer_id' must not be blank" if OCI::Internal::Util::blank_string?(load_balancer_id)
823
- raise "Parameter value for 'backend_set_name' must not be blank" if OCI::Internal::Util::blank_string?(backend_set_name)
1013
+ raise "Parameter value for 'load_balancer_id' must not be blank" if OCI::Internal::Util.blank_string?(load_balancer_id)
1014
+ raise "Parameter value for 'backend_set_name' must not be blank" if OCI::Internal::Util.blank_string?(backend_set_name)
824
1015
 
825
- path = "/loadBalancers/{loadBalancerId}/backendSets/{backendSetName}/healthChecker".sub('{loadBalancerId}', load_balancer_id.to_s).sub('{backendSetName}', backend_set_name.to_s)
1016
+ path = '/loadBalancers/{loadBalancerId}/backendSets/{backendSetName}/healthChecker'.sub('{loadBalancerId}', load_balancer_id.to_s).sub('{backendSetName}', backend_set_name.to_s)
1017
+ operation_signing_strategy = :standard
826
1018
 
827
1019
  # Query Params
828
1020
  query_params = {}
@@ -831,19 +1023,29 @@ module OCI
831
1023
  header_params = {}
832
1024
  header_params['accept'] = 'application/json'
833
1025
  header_params['content-type'] = 'application/json'
834
- header_params[:'opc-request-id'] = opts[:'opc_request_id'] if opts[:'opc_request_id']
1026
+ header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
835
1027
 
836
1028
  post_body = nil
837
1029
 
838
- return @api_client.call_api(
1030
+ @api_client.call_api(
839
1031
  :GET,
840
1032
  path,
841
1033
  endpoint,
842
- :header_params => header_params,
843
- :query_params => query_params,
844
- :body => post_body,
845
- :return_type => 'OCI::LoadBalancer::Models::HealthChecker')
1034
+ header_params: header_params,
1035
+ query_params: query_params,
1036
+ operation_signing_strategy: operation_signing_strategy,
1037
+ body: post_body,
1038
+ return_type: 'OCI::LoadBalancer::Models::HealthChecker'
1039
+ )
846
1040
  end
1041
+ # rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
1042
+ # rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
1043
+ # rubocop:enable Metrics/MethodLength, Layout/EmptyLines
1044
+
1045
+ # rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
1046
+ # rubocop:disable Style/IfUnlessModifier, Metrics/ParameterLists
1047
+ # rubocop:disable Metrics/MethodLength, Layout/EmptyLines
1048
+
847
1049
 
848
1050
  # Gets the specified load balancer's configuration information.
849
1051
  # @param [String] load_balancer_id The [OCID](https://docs.us-phoenix-1.oraclecloud.com/Content/General/Concepts/identifiers.htm) of the load balancer to retrieve.
@@ -851,14 +1053,15 @@ module OCI
851
1053
  # @option opts [String] :opc_request_id The unique Oracle-assigned identifier for the request. If you need to contact Oracle about a
852
1054
  # particular request, please provide the request ID.
853
1055
  # (default to )
854
- # @return [Response] A Response object with data of type OCI::LoadBalancer::Models::LoadBalancer
1056
+ # @return [Response] A Response object with data of type {OCI::LoadBalancer::Models::LoadBalancer LoadBalancer}
855
1057
  def get_load_balancer(load_balancer_id, opts = {})
856
- logger.debug "Calling operation LoadBalancerClient#get_load_balancer." if logger
1058
+ logger.debug 'Calling operation LoadBalancerClient#get_load_balancer.' if logger
857
1059
 
858
1060
  raise "Missing the required parameter 'load_balancer_id' when calling get_load_balancer." if load_balancer_id.nil?
859
- raise "Parameter value for 'load_balancer_id' must not be blank" if OCI::Internal::Util::blank_string?(load_balancer_id)
1061
+ raise "Parameter value for 'load_balancer_id' must not be blank" if OCI::Internal::Util.blank_string?(load_balancer_id)
860
1062
 
861
- path = "/loadBalancers/{loadBalancerId}".sub('{loadBalancerId}', load_balancer_id.to_s)
1063
+ path = '/loadBalancers/{loadBalancerId}'.sub('{loadBalancerId}', load_balancer_id.to_s)
1064
+ operation_signing_strategy = :standard
862
1065
 
863
1066
  # Query Params
864
1067
  query_params = {}
@@ -867,19 +1070,29 @@ module OCI
867
1070
  header_params = {}
868
1071
  header_params['accept'] = 'application/json'
869
1072
  header_params['content-type'] = 'application/json'
870
- header_params[:'opc-request-id'] = opts[:'opc_request_id'] if opts[:'opc_request_id']
1073
+ header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
871
1074
 
872
1075
  post_body = nil
873
1076
 
874
- return @api_client.call_api(
1077
+ @api_client.call_api(
875
1078
  :GET,
876
1079
  path,
877
1080
  endpoint,
878
- :header_params => header_params,
879
- :query_params => query_params,
880
- :body => post_body,
881
- :return_type => 'OCI::LoadBalancer::Models::LoadBalancer')
1081
+ header_params: header_params,
1082
+ query_params: query_params,
1083
+ operation_signing_strategy: operation_signing_strategy,
1084
+ body: post_body,
1085
+ return_type: 'OCI::LoadBalancer::Models::LoadBalancer'
1086
+ )
882
1087
  end
1088
+ # rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
1089
+ # rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
1090
+ # rubocop:enable Metrics/MethodLength, Layout/EmptyLines
1091
+
1092
+ # rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
1093
+ # rubocop:disable Style/IfUnlessModifier, Metrics/ParameterLists
1094
+ # rubocop:disable Metrics/MethodLength, Layout/EmptyLines
1095
+
883
1096
 
884
1097
  # Gets the health status for the specified load balancer.
885
1098
  # @param [String] load_balancer_id The [OCID](https://docs.us-phoenix-1.oraclecloud.com/Content/General/Concepts/identifiers.htm) of the load balancer to return health status for.
@@ -887,14 +1100,15 @@ module OCI
887
1100
  # @option opts [String] :opc_request_id The unique Oracle-assigned identifier for the request. If you need to contact Oracle about a
888
1101
  # particular request, please provide the request ID.
889
1102
  # (default to )
890
- # @return [Response] A Response object with data of type OCI::LoadBalancer::Models::LoadBalancerHealth
1103
+ # @return [Response] A Response object with data of type {OCI::LoadBalancer::Models::LoadBalancerHealth LoadBalancerHealth}
891
1104
  def get_load_balancer_health(load_balancer_id, opts = {})
892
- logger.debug "Calling operation LoadBalancerClient#get_load_balancer_health." if logger
1105
+ logger.debug 'Calling operation LoadBalancerClient#get_load_balancer_health.' if logger
893
1106
 
894
1107
  raise "Missing the required parameter 'load_balancer_id' when calling get_load_balancer_health." if load_balancer_id.nil?
895
- raise "Parameter value for 'load_balancer_id' must not be blank" if OCI::Internal::Util::blank_string?(load_balancer_id)
1108
+ raise "Parameter value for 'load_balancer_id' must not be blank" if OCI::Internal::Util.blank_string?(load_balancer_id)
896
1109
 
897
- path = "/loadBalancers/{loadBalancerId}/health".sub('{loadBalancerId}', load_balancer_id.to_s)
1110
+ path = '/loadBalancers/{loadBalancerId}/health'.sub('{loadBalancerId}', load_balancer_id.to_s)
1111
+ operation_signing_strategy = :standard
898
1112
 
899
1113
  # Query Params
900
1114
  query_params = {}
@@ -903,40 +1117,51 @@ module OCI
903
1117
  header_params = {}
904
1118
  header_params['accept'] = 'application/json'
905
1119
  header_params['content-type'] = 'application/json'
906
- header_params[:'opc-request-id'] = opts[:'opc_request_id'] if opts[:'opc_request_id']
1120
+ header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
907
1121
 
908
1122
  post_body = nil
909
1123
 
910
- return @api_client.call_api(
1124
+ @api_client.call_api(
911
1125
  :GET,
912
1126
  path,
913
1127
  endpoint,
914
- :header_params => header_params,
915
- :query_params => query_params,
916
- :body => post_body,
917
- :return_type => 'OCI::LoadBalancer::Models::LoadBalancerHealth')
1128
+ header_params: header_params,
1129
+ query_params: query_params,
1130
+ operation_signing_strategy: operation_signing_strategy,
1131
+ body: post_body,
1132
+ return_type: 'OCI::LoadBalancer::Models::LoadBalancerHealth'
1133
+ )
918
1134
  end
1135
+ # rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
1136
+ # rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
1137
+ # rubocop:enable Metrics/MethodLength, Layout/EmptyLines
1138
+
1139
+ # rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
1140
+ # rubocop:disable Style/IfUnlessModifier, Metrics/ParameterLists
1141
+ # rubocop:disable Metrics/MethodLength, Layout/EmptyLines
1142
+
919
1143
 
920
1144
  # Gets the specified path route set's configuration information.
921
1145
  # @param [String] load_balancer_id The [OCID](https://docs.us-phoenix-1.oraclecloud.com/Content/General/Concepts/identifiers.htm) of the specified load balancer.
922
1146
  # @param [String] path_route_set_name The name of the path route set to retrieve.
923
- #
1147
+ #
924
1148
  # Example: `path-route-set-001`
925
- #
1149
+ #
926
1150
  # @param [Hash] opts the optional parameters
927
1151
  # @option opts [String] :opc_request_id The unique Oracle-assigned identifier for the request. If you need to contact Oracle about a
928
1152
  # particular request, please provide the request ID.
929
1153
  # (default to )
930
- # @return [Response] A Response object with data of type OCI::LoadBalancer::Models::PathRouteSet
1154
+ # @return [Response] A Response object with data of type {OCI::LoadBalancer::Models::PathRouteSet PathRouteSet}
931
1155
  def get_path_route_set(load_balancer_id, path_route_set_name, opts = {})
932
- logger.debug "Calling operation LoadBalancerClient#get_path_route_set." if logger
1156
+ logger.debug 'Calling operation LoadBalancerClient#get_path_route_set.' if logger
933
1157
 
934
1158
  raise "Missing the required parameter 'load_balancer_id' when calling get_path_route_set." if load_balancer_id.nil?
935
1159
  raise "Missing the required parameter 'path_route_set_name' when calling get_path_route_set." if path_route_set_name.nil?
936
- raise "Parameter value for 'load_balancer_id' must not be blank" if OCI::Internal::Util::blank_string?(load_balancer_id)
937
- raise "Parameter value for 'path_route_set_name' must not be blank" if OCI::Internal::Util::blank_string?(path_route_set_name)
1160
+ raise "Parameter value for 'load_balancer_id' must not be blank" if OCI::Internal::Util.blank_string?(load_balancer_id)
1161
+ raise "Parameter value for 'path_route_set_name' must not be blank" if OCI::Internal::Util.blank_string?(path_route_set_name)
938
1162
 
939
- path = "/loadBalancers/{loadBalancerId}/pathRouteSets/{pathRouteSetName}".sub('{loadBalancerId}', load_balancer_id.to_s).sub('{pathRouteSetName}', path_route_set_name.to_s)
1163
+ path = '/loadBalancers/{loadBalancerId}/pathRouteSets/{pathRouteSetName}'.sub('{loadBalancerId}', load_balancer_id.to_s).sub('{pathRouteSetName}', path_route_set_name.to_s)
1164
+ operation_signing_strategy = :standard
940
1165
 
941
1166
  # Query Params
942
1167
  query_params = {}
@@ -945,19 +1170,29 @@ module OCI
945
1170
  header_params = {}
946
1171
  header_params['accept'] = 'application/json'
947
1172
  header_params['content-type'] = 'application/json'
948
- header_params[:'opc-request-id'] = opts[:'opc_request_id'] if opts[:'opc_request_id']
1173
+ header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
949
1174
 
950
1175
  post_body = nil
951
1176
 
952
- return @api_client.call_api(
1177
+ @api_client.call_api(
953
1178
  :GET,
954
1179
  path,
955
1180
  endpoint,
956
- :header_params => header_params,
957
- :query_params => query_params,
958
- :body => post_body,
959
- :return_type => 'OCI::LoadBalancer::Models::PathRouteSet')
1181
+ header_params: header_params,
1182
+ query_params: query_params,
1183
+ operation_signing_strategy: operation_signing_strategy,
1184
+ body: post_body,
1185
+ return_type: 'OCI::LoadBalancer::Models::PathRouteSet'
1186
+ )
960
1187
  end
1188
+ # rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
1189
+ # rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
1190
+ # rubocop:enable Metrics/MethodLength, Layout/EmptyLines
1191
+
1192
+ # rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
1193
+ # rubocop:disable Style/IfUnlessModifier, Metrics/ParameterLists
1194
+ # rubocop:disable Metrics/MethodLength, Layout/EmptyLines
1195
+
961
1196
 
962
1197
  # Gets the details of a work request.
963
1198
  # @param [String] work_request_id The [OCID](https://docs.us-phoenix-1.oraclecloud.com/Content/General/Concepts/identifiers.htm) of the work request to retrieve.
@@ -965,14 +1200,15 @@ module OCI
965
1200
  # @option opts [String] :opc_request_id The unique Oracle-assigned identifier for the request. If you need to contact Oracle about a
966
1201
  # particular request, please provide the request ID.
967
1202
  # (default to )
968
- # @return [Response] A Response object with data of type OCI::LoadBalancer::Models::WorkRequest
1203
+ # @return [Response] A Response object with data of type {OCI::LoadBalancer::Models::WorkRequest WorkRequest}
969
1204
  def get_work_request(work_request_id, opts = {})
970
- logger.debug "Calling operation LoadBalancerClient#get_work_request." if logger
1205
+ logger.debug 'Calling operation LoadBalancerClient#get_work_request.' if logger
971
1206
 
972
1207
  raise "Missing the required parameter 'work_request_id' when calling get_work_request." if work_request_id.nil?
973
- raise "Parameter value for 'work_request_id' must not be blank" if OCI::Internal::Util::blank_string?(work_request_id)
1208
+ raise "Parameter value for 'work_request_id' must not be blank" if OCI::Internal::Util.blank_string?(work_request_id)
974
1209
 
975
- path = "/loadBalancerWorkRequests/{workRequestId}".sub('{workRequestId}', work_request_id.to_s)
1210
+ path = '/loadBalancerWorkRequests/{workRequestId}'.sub('{workRequestId}', work_request_id.to_s)
1211
+ operation_signing_strategy = :standard
976
1212
 
977
1213
  # Query Params
978
1214
  query_params = {}
@@ -981,19 +1217,29 @@ module OCI
981
1217
  header_params = {}
982
1218
  header_params['accept'] = 'application/json'
983
1219
  header_params['content-type'] = 'application/json'
984
- header_params[:'opc-request-id'] = opts[:'opc_request_id'] if opts[:'opc_request_id']
1220
+ header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
985
1221
 
986
1222
  post_body = nil
987
1223
 
988
- return @api_client.call_api(
1224
+ @api_client.call_api(
989
1225
  :GET,
990
1226
  path,
991
1227
  endpoint,
992
- :header_params => header_params,
993
- :query_params => query_params,
994
- :body => post_body,
995
- :return_type => 'OCI::LoadBalancer::Models::WorkRequest')
1228
+ header_params: header_params,
1229
+ query_params: query_params,
1230
+ operation_signing_strategy: operation_signing_strategy,
1231
+ body: post_body,
1232
+ return_type: 'OCI::LoadBalancer::Models::WorkRequest'
1233
+ )
996
1234
  end
1235
+ # rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
1236
+ # rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
1237
+ # rubocop:enable Metrics/MethodLength, Layout/EmptyLines
1238
+
1239
+ # rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
1240
+ # rubocop:disable Style/IfUnlessModifier, Metrics/ParameterLists
1241
+ # rubocop:disable Metrics/MethodLength, Layout/EmptyLines
1242
+
997
1243
 
998
1244
  # Lists all backend sets associated with a given load balancer.
999
1245
  # @param [String] load_balancer_id The [OCID](https://docs.us-phoenix-1.oraclecloud.com/Content/General/Concepts/identifiers.htm) of the load balancer associated with the backend sets to retrieve.
@@ -1001,14 +1247,15 @@ module OCI
1001
1247
  # @option opts [String] :opc_request_id The unique Oracle-assigned identifier for the request. If you need to contact Oracle about a
1002
1248
  # particular request, please provide the request ID.
1003
1249
  # (default to )
1004
- # @return [Response] A Response object with data of type Array<OCI::LoadBalancer::Models::BackendSet>
1250
+ # @return [Response] A Response object with data of type Array<{OCI::LoadBalancer::Models::BackendSet BackendSet}>
1005
1251
  def list_backend_sets(load_balancer_id, opts = {})
1006
- logger.debug "Calling operation LoadBalancerClient#list_backend_sets." if logger
1252
+ logger.debug 'Calling operation LoadBalancerClient#list_backend_sets.' if logger
1007
1253
 
1008
1254
  raise "Missing the required parameter 'load_balancer_id' when calling list_backend_sets." if load_balancer_id.nil?
1009
- raise "Parameter value for 'load_balancer_id' must not be blank" if OCI::Internal::Util::blank_string?(load_balancer_id)
1255
+ raise "Parameter value for 'load_balancer_id' must not be blank" if OCI::Internal::Util.blank_string?(load_balancer_id)
1010
1256
 
1011
- path = "/loadBalancers/{loadBalancerId}/backendSets".sub('{loadBalancerId}', load_balancer_id.to_s)
1257
+ path = '/loadBalancers/{loadBalancerId}/backendSets'.sub('{loadBalancerId}', load_balancer_id.to_s)
1258
+ operation_signing_strategy = :standard
1012
1259
 
1013
1260
  # Query Params
1014
1261
  query_params = {}
@@ -1017,40 +1264,51 @@ module OCI
1017
1264
  header_params = {}
1018
1265
  header_params['accept'] = 'application/json'
1019
1266
  header_params['content-type'] = 'application/json'
1020
- header_params[:'opc-request-id'] = opts[:'opc_request_id'] if opts[:'opc_request_id']
1267
+ header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
1021
1268
 
1022
1269
  post_body = nil
1023
1270
 
1024
- return @api_client.call_api(
1271
+ @api_client.call_api(
1025
1272
  :GET,
1026
1273
  path,
1027
1274
  endpoint,
1028
- :header_params => header_params,
1029
- :query_params => query_params,
1030
- :body => post_body,
1031
- :return_type => 'Array<OCI::LoadBalancer::Models::BackendSet>')
1275
+ header_params: header_params,
1276
+ query_params: query_params,
1277
+ operation_signing_strategy: operation_signing_strategy,
1278
+ body: post_body,
1279
+ return_type: 'Array<OCI::LoadBalancer::Models::BackendSet>'
1280
+ )
1032
1281
  end
1282
+ # rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
1283
+ # rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
1284
+ # rubocop:enable Metrics/MethodLength, Layout/EmptyLines
1285
+
1286
+ # rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
1287
+ # rubocop:disable Style/IfUnlessModifier, Metrics/ParameterLists
1288
+ # rubocop:disable Metrics/MethodLength, Layout/EmptyLines
1289
+
1033
1290
 
1034
1291
  # Lists the backend servers for a given load balancer and backend set.
1035
1292
  # @param [String] load_balancer_id The [OCID](https://docs.us-phoenix-1.oraclecloud.com/Content/General/Concepts/identifiers.htm) of the load balancer associated with the backend set and servers.
1036
1293
  # @param [String] backend_set_name The name of the backend set associated with the backend servers.
1037
- #
1294
+ #
1038
1295
  # Example: `My_backend_set`
1039
- #
1296
+ #
1040
1297
  # @param [Hash] opts the optional parameters
1041
1298
  # @option opts [String] :opc_request_id The unique Oracle-assigned identifier for the request. If you need to contact Oracle about a
1042
1299
  # particular request, please provide the request ID.
1043
1300
  # (default to )
1044
- # @return [Response] A Response object with data of type Array<OCI::LoadBalancer::Models::Backend>
1301
+ # @return [Response] A Response object with data of type Array<{OCI::LoadBalancer::Models::Backend Backend}>
1045
1302
  def list_backends(load_balancer_id, backend_set_name, opts = {})
1046
- logger.debug "Calling operation LoadBalancerClient#list_backends." if logger
1303
+ logger.debug 'Calling operation LoadBalancerClient#list_backends.' if logger
1047
1304
 
1048
1305
  raise "Missing the required parameter 'load_balancer_id' when calling list_backends." if load_balancer_id.nil?
1049
1306
  raise "Missing the required parameter 'backend_set_name' when calling list_backends." if backend_set_name.nil?
1050
- raise "Parameter value for 'load_balancer_id' must not be blank" if OCI::Internal::Util::blank_string?(load_balancer_id)
1051
- raise "Parameter value for 'backend_set_name' must not be blank" if OCI::Internal::Util::blank_string?(backend_set_name)
1307
+ raise "Parameter value for 'load_balancer_id' must not be blank" if OCI::Internal::Util.blank_string?(load_balancer_id)
1308
+ raise "Parameter value for 'backend_set_name' must not be blank" if OCI::Internal::Util.blank_string?(backend_set_name)
1052
1309
 
1053
- path = "/loadBalancers/{loadBalancerId}/backendSets/{backendSetName}/backends".sub('{loadBalancerId}', load_balancer_id.to_s).sub('{backendSetName}', backend_set_name.to_s)
1310
+ path = '/loadBalancers/{loadBalancerId}/backendSets/{backendSetName}/backends'.sub('{loadBalancerId}', load_balancer_id.to_s).sub('{backendSetName}', backend_set_name.to_s)
1311
+ operation_signing_strategy = :standard
1054
1312
 
1055
1313
  # Query Params
1056
1314
  query_params = {}
@@ -1059,19 +1317,29 @@ module OCI
1059
1317
  header_params = {}
1060
1318
  header_params['accept'] = 'application/json'
1061
1319
  header_params['content-type'] = 'application/json'
1062
- header_params[:'opc-request-id'] = opts[:'opc_request_id'] if opts[:'opc_request_id']
1320
+ header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
1063
1321
 
1064
1322
  post_body = nil
1065
1323
 
1066
- return @api_client.call_api(
1324
+ @api_client.call_api(
1067
1325
  :GET,
1068
1326
  path,
1069
1327
  endpoint,
1070
- :header_params => header_params,
1071
- :query_params => query_params,
1072
- :body => post_body,
1073
- :return_type => 'Array<OCI::LoadBalancer::Models::Backend>')
1328
+ header_params: header_params,
1329
+ query_params: query_params,
1330
+ operation_signing_strategy: operation_signing_strategy,
1331
+ body: post_body,
1332
+ return_type: 'Array<OCI::LoadBalancer::Models::Backend>'
1333
+ )
1074
1334
  end
1335
+ # rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
1336
+ # rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
1337
+ # rubocop:enable Metrics/MethodLength, Layout/EmptyLines
1338
+
1339
+ # rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
1340
+ # rubocop:disable Style/IfUnlessModifier, Metrics/ParameterLists
1341
+ # rubocop:disable Metrics/MethodLength, Layout/EmptyLines
1342
+
1075
1343
 
1076
1344
  # Lists all SSL certificates associated with a given load balancer.
1077
1345
  # @param [String] load_balancer_id The [OCID](https://docs.us-phoenix-1.oraclecloud.com/Content/General/Concepts/identifiers.htm) of the load balancer associated with the certificates to be listed.
@@ -1079,14 +1347,15 @@ module OCI
1079
1347
  # @option opts [String] :opc_request_id The unique Oracle-assigned identifier for the request. If you need to contact Oracle about a
1080
1348
  # particular request, please provide the request ID.
1081
1349
  # (default to )
1082
- # @return [Response] A Response object with data of type Array<OCI::LoadBalancer::Models::Certificate>
1350
+ # @return [Response] A Response object with data of type Array<{OCI::LoadBalancer::Models::Certificate Certificate}>
1083
1351
  def list_certificates(load_balancer_id, opts = {})
1084
- logger.debug "Calling operation LoadBalancerClient#list_certificates." if logger
1352
+ logger.debug 'Calling operation LoadBalancerClient#list_certificates.' if logger
1085
1353
 
1086
1354
  raise "Missing the required parameter 'load_balancer_id' when calling list_certificates." if load_balancer_id.nil?
1087
- raise "Parameter value for 'load_balancer_id' must not be blank" if OCI::Internal::Util::blank_string?(load_balancer_id)
1355
+ raise "Parameter value for 'load_balancer_id' must not be blank" if OCI::Internal::Util.blank_string?(load_balancer_id)
1088
1356
 
1089
- path = "/loadBalancers/{loadBalancerId}/certificates".sub('{loadBalancerId}', load_balancer_id.to_s)
1357
+ path = '/loadBalancers/{loadBalancerId}/certificates'.sub('{loadBalancerId}', load_balancer_id.to_s)
1358
+ operation_signing_strategy = :standard
1090
1359
 
1091
1360
  # Query Params
1092
1361
  query_params = {}
@@ -1095,19 +1364,29 @@ module OCI
1095
1364
  header_params = {}
1096
1365
  header_params['accept'] = 'application/json'
1097
1366
  header_params['content-type'] = 'application/json'
1098
- header_params[:'opc-request-id'] = opts[:'opc_request_id'] if opts[:'opc_request_id']
1367
+ header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
1099
1368
 
1100
1369
  post_body = nil
1101
1370
 
1102
- return @api_client.call_api(
1371
+ @api_client.call_api(
1103
1372
  :GET,
1104
1373
  path,
1105
1374
  endpoint,
1106
- :header_params => header_params,
1107
- :query_params => query_params,
1108
- :body => post_body,
1109
- :return_type => 'Array<OCI::LoadBalancer::Models::Certificate>')
1375
+ header_params: header_params,
1376
+ query_params: query_params,
1377
+ operation_signing_strategy: operation_signing_strategy,
1378
+ body: post_body,
1379
+ return_type: 'Array<OCI::LoadBalancer::Models::Certificate>'
1380
+ )
1110
1381
  end
1382
+ # rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
1383
+ # rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
1384
+ # rubocop:enable Metrics/MethodLength, Layout/EmptyLines
1385
+
1386
+ # rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
1387
+ # rubocop:disable Style/IfUnlessModifier, Metrics/ParameterLists
1388
+ # rubocop:disable Metrics/MethodLength, Layout/EmptyLines
1389
+
1111
1390
 
1112
1391
  # Lists the summary health statuses for all load balancers in the specified compartment.
1113
1392
  # @param [String] compartment_id The [OCID](https://docs.us-phoenix-1.oraclecloud.com/Content/General/Concepts/identifiers.htm) of the compartment containing the load balancers to return health status information for.
@@ -1116,44 +1395,55 @@ module OCI
1116
1395
  # particular request, please provide the request ID.
1117
1396
  # (default to )
1118
1397
  # @option opts [Integer] :limit The maximum number of items to return in a paginated \"List\" call.
1119
- #
1398
+ #
1120
1399
  # Example: `500`
1121
1400
  # (default to 10)
1122
1401
  # @option opts [String] :page The value of the `opc-next-page` response header from the previous \"List\" call.
1123
- #
1402
+ #
1124
1403
  # Example: `3`
1125
- #
1126
- # @return [Response] A Response object with data of type Array<OCI::LoadBalancer::Models::LoadBalancerHealthSummary>
1404
+ #
1405
+ # @return [Response] A Response object with data of type Array<{OCI::LoadBalancer::Models::LoadBalancerHealthSummary LoadBalancerHealthSummary}>
1127
1406
  def list_load_balancer_healths(compartment_id, opts = {})
1128
- logger.debug "Calling operation LoadBalancerClient#list_load_balancer_healths." if logger
1407
+ logger.debug 'Calling operation LoadBalancerClient#list_load_balancer_healths.' if logger
1129
1408
 
1130
1409
  raise "Missing the required parameter 'compartment_id' when calling list_load_balancer_healths." if compartment_id.nil?
1131
1410
 
1132
- path = "/loadBalancerHealths"
1411
+ path = '/loadBalancerHealths'
1412
+ operation_signing_strategy = :standard
1133
1413
 
1134
1414
  # Query Params
1135
1415
  query_params = {}
1136
- query_params[:'compartmentId'] = compartment_id
1137
- query_params[:'limit'] = opts[:'limit'] if opts[:'limit']
1138
- query_params[:'page'] = opts[:'page'] if opts[:'page']
1416
+ query_params[:compartmentId] = compartment_id
1417
+ query_params[:limit] = opts[:limit] if opts[:limit]
1418
+ query_params[:page] = opts[:page] if opts[:page]
1139
1419
 
1140
1420
  # Header Params
1141
1421
  header_params = {}
1142
1422
  header_params['accept'] = 'application/json'
1143
1423
  header_params['content-type'] = 'application/json'
1144
- header_params[:'opc-request-id'] = opts[:'opc_request_id'] if opts[:'opc_request_id']
1424
+ header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
1145
1425
 
1146
1426
  post_body = nil
1147
1427
 
1148
- return @api_client.call_api(
1428
+ @api_client.call_api(
1149
1429
  :GET,
1150
1430
  path,
1151
1431
  endpoint,
1152
- :header_params => header_params,
1153
- :query_params => query_params,
1154
- :body => post_body,
1155
- :return_type => 'Array<OCI::LoadBalancer::Models::LoadBalancerHealthSummary>')
1432
+ header_params: header_params,
1433
+ query_params: query_params,
1434
+ operation_signing_strategy: operation_signing_strategy,
1435
+ body: post_body,
1436
+ return_type: 'Array<OCI::LoadBalancer::Models::LoadBalancerHealthSummary>'
1437
+ )
1156
1438
  end
1439
+ # rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
1440
+ # rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
1441
+ # rubocop:enable Metrics/MethodLength, Layout/EmptyLines
1442
+
1443
+ # rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
1444
+ # rubocop:disable Style/IfUnlessModifier, Metrics/ParameterLists
1445
+ # rubocop:disable Metrics/MethodLength, Layout/EmptyLines
1446
+
1157
1447
 
1158
1448
  # Lists all load balancers in the specified compartment.
1159
1449
  # @param [String] compartment_id The [OCID](https://docs.us-phoenix-1.oraclecloud.com/Content/General/Concepts/identifiers.htm) of the compartment containing the load balancers to list.
@@ -1162,93 +1452,105 @@ module OCI
1162
1452
  # particular request, please provide the request ID.
1163
1453
  # (default to )
1164
1454
  # @option opts [Integer] :limit The maximum number of items to return in a paginated \"List\" call.
1165
- #
1455
+ #
1166
1456
  # Example: `500`
1167
1457
  # (default to 10)
1168
1458
  # @option opts [String] :page The value of the `opc-next-page` response header from the previous \"List\" call.
1169
- #
1459
+ #
1170
1460
  # Example: `3`
1171
- #
1461
+ #
1172
1462
  # @option opts [String] :detail The level of detail to return for each result. Can be `full` or `simple`.
1173
- #
1463
+ #
1174
1464
  # Example: `full`
1175
1465
  # (default to full)
1176
1466
  # @option opts [String] :sort_by The field to sort by. You can provide one sort order (`sortOrder`). Default order for TIMECREATED is descending.
1177
1467
  # Default order for DISPLAYNAME is ascending. The DISPLAYNAME sort order is case sensitive.
1178
- #
1468
+ #
1179
1469
  # Allowed values are: TIMECREATED, DISPLAYNAME
1180
1470
  # @option opts [String] :sort_order The sort order to use, either ascending (`ASC`) or descending (`DESC`). The DISPLAYNAME sort order is case sensitive.
1181
- #
1471
+ #
1182
1472
  # Allowed values are: ASC, DESC
1183
1473
  # @option opts [String] :display_name A filter to return only resources that match the given display name exactly.
1184
- #
1474
+ #
1185
1475
  # @option opts [String] :lifecycle_state A filter to return only resources that match the given lifecycle state.
1186
- #
1187
- # @return [Response] A Response object with data of type Array<OCI::LoadBalancer::Models::LoadBalancer>
1476
+ #
1477
+ # @return [Response] A Response object with data of type Array<{OCI::LoadBalancer::Models::LoadBalancer LoadBalancer}>
1188
1478
  def list_load_balancers(compartment_id, opts = {})
1189
- logger.debug "Calling operation LoadBalancerClient#list_load_balancers." if logger
1479
+ logger.debug 'Calling operation LoadBalancerClient#list_load_balancers.' if logger
1190
1480
 
1191
1481
  raise "Missing the required parameter 'compartment_id' when calling list_load_balancers." if compartment_id.nil?
1192
1482
 
1193
- if opts[:'sort_by'] && !['TIMECREATED', 'DISPLAYNAME'].include?(opts[:'sort_by'])
1483
+ if opts[:sort_by] && !%w[TIMECREATED DISPLAYNAME].include?(opts[:sort_by])
1194
1484
  raise 'Invalid value for "sort_by", must be one of TIMECREATED, DISPLAYNAME.'
1195
1485
  end
1196
1486
 
1197
- if opts[:'sort_order'] && !['ASC', 'DESC'].include?(opts[:'sort_order'])
1487
+ if opts[:sort_order] && !%w[ASC DESC].include?(opts[:sort_order])
1198
1488
  raise 'Invalid value for "sort_order", must be one of ASC, DESC.'
1199
1489
  end
1200
1490
 
1201
- if opts[:'lifecycle_state'] && !OCI::LoadBalancer::Models::LoadBalancer::LIFECYCLE_STATE_ENUM.include?(opts[:'lifecycle_state'])
1491
+ if opts[:lifecycle_state] && !OCI::LoadBalancer::Models::LoadBalancer::LIFECYCLE_STATE_ENUM.include?(opts[:lifecycle_state])
1202
1492
  raise 'Invalid value for "lifecycle_state", must be one of the values in OCI::LoadBalancer::Models::LoadBalancer::LIFECYCLE_STATE_ENUM.'
1203
1493
  end
1204
1494
 
1205
- path = "/loadBalancers"
1495
+ path = '/loadBalancers'
1496
+ operation_signing_strategy = :standard
1206
1497
 
1207
1498
  # Query Params
1208
1499
  query_params = {}
1209
- query_params[:'compartmentId'] = compartment_id
1210
- query_params[:'limit'] = opts[:'limit'] if opts[:'limit']
1211
- query_params[:'page'] = opts[:'page'] if opts[:'page']
1212
- query_params[:'detail'] = opts[:'detail'] if opts[:'detail']
1213
- query_params[:'sortBy'] = opts[:'sort_by'] if opts[:'sort_by']
1214
- query_params[:'sortOrder'] = opts[:'sort_order'] if opts[:'sort_order']
1215
- query_params[:'displayName'] = opts[:'display_name'] if opts[:'display_name']
1216
- query_params[:'lifecycleState'] = opts[:'lifecycle_state'] if opts[:'lifecycle_state']
1500
+ query_params[:compartmentId] = compartment_id
1501
+ query_params[:limit] = opts[:limit] if opts[:limit]
1502
+ query_params[:page] = opts[:page] if opts[:page]
1503
+ query_params[:detail] = opts[:detail] if opts[:detail]
1504
+ query_params[:sortBy] = opts[:sort_by] if opts[:sort_by]
1505
+ query_params[:sortOrder] = opts[:sort_order] if opts[:sort_order]
1506
+ query_params[:displayName] = opts[:display_name] if opts[:display_name]
1507
+ query_params[:lifecycleState] = opts[:lifecycle_state] if opts[:lifecycle_state]
1217
1508
 
1218
1509
  # Header Params
1219
1510
  header_params = {}
1220
1511
  header_params['accept'] = 'application/json'
1221
1512
  header_params['content-type'] = 'application/json'
1222
- header_params[:'opc-request-id'] = opts[:'opc_request_id'] if opts[:'opc_request_id']
1513
+ header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
1223
1514
 
1224
1515
  post_body = nil
1225
1516
 
1226
- return @api_client.call_api(
1517
+ @api_client.call_api(
1227
1518
  :GET,
1228
1519
  path,
1229
1520
  endpoint,
1230
- :header_params => header_params,
1231
- :query_params => query_params,
1232
- :body => post_body,
1233
- :return_type => 'Array<OCI::LoadBalancer::Models::LoadBalancer>')
1521
+ header_params: header_params,
1522
+ query_params: query_params,
1523
+ operation_signing_strategy: operation_signing_strategy,
1524
+ body: post_body,
1525
+ return_type: 'Array<OCI::LoadBalancer::Models::LoadBalancer>'
1526
+ )
1234
1527
  end
1528
+ # rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
1529
+ # rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
1530
+ # rubocop:enable Metrics/MethodLength, Layout/EmptyLines
1531
+
1532
+ # rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
1533
+ # rubocop:disable Style/IfUnlessModifier, Metrics/ParameterLists
1534
+ # rubocop:disable Metrics/MethodLength, Layout/EmptyLines
1535
+
1235
1536
 
1236
1537
  # Lists all path route sets associated with the specified load balancer.
1237
1538
  # @param [String] load_balancer_id The [OCID](https://docs.us-phoenix-1.oraclecloud.com/Content/General/Concepts/identifiers.htm) of the load balancer associated with the path route sets
1238
1539
  # to retrieve.
1239
- #
1540
+ #
1240
1541
  # @param [Hash] opts the optional parameters
1241
1542
  # @option opts [String] :opc_request_id The unique Oracle-assigned identifier for the request. If you need to contact Oracle about a
1242
1543
  # particular request, please provide the request ID.
1243
1544
  # (default to )
1244
- # @return [Response] A Response object with data of type Array<OCI::LoadBalancer::Models::PathRouteSet>
1545
+ # @return [Response] A Response object with data of type Array<{OCI::LoadBalancer::Models::PathRouteSet PathRouteSet}>
1245
1546
  def list_path_route_sets(load_balancer_id, opts = {})
1246
- logger.debug "Calling operation LoadBalancerClient#list_path_route_sets." if logger
1547
+ logger.debug 'Calling operation LoadBalancerClient#list_path_route_sets.' if logger
1247
1548
 
1248
1549
  raise "Missing the required parameter 'load_balancer_id' when calling list_path_route_sets." if load_balancer_id.nil?
1249
- raise "Parameter value for 'load_balancer_id' must not be blank" if OCI::Internal::Util::blank_string?(load_balancer_id)
1550
+ raise "Parameter value for 'load_balancer_id' must not be blank" if OCI::Internal::Util.blank_string?(load_balancer_id)
1250
1551
 
1251
- path = "/loadBalancers/{loadBalancerId}/pathRouteSets".sub('{loadBalancerId}', load_balancer_id.to_s)
1552
+ path = '/loadBalancers/{loadBalancerId}/pathRouteSets'.sub('{loadBalancerId}', load_balancer_id.to_s)
1553
+ operation_signing_strategy = :standard
1252
1554
 
1253
1555
  # Query Params
1254
1556
  query_params = {}
@@ -1257,19 +1559,29 @@ module OCI
1257
1559
  header_params = {}
1258
1560
  header_params['accept'] = 'application/json'
1259
1561
  header_params['content-type'] = 'application/json'
1260
- header_params[:'opc-request-id'] = opts[:'opc_request_id'] if opts[:'opc_request_id']
1562
+ header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
1261
1563
 
1262
1564
  post_body = nil
1263
1565
 
1264
- return @api_client.call_api(
1566
+ @api_client.call_api(
1265
1567
  :GET,
1266
1568
  path,
1267
1569
  endpoint,
1268
- :header_params => header_params,
1269
- :query_params => query_params,
1270
- :body => post_body,
1271
- :return_type => 'Array<OCI::LoadBalancer::Models::PathRouteSet>')
1570
+ header_params: header_params,
1571
+ query_params: query_params,
1572
+ operation_signing_strategy: operation_signing_strategy,
1573
+ body: post_body,
1574
+ return_type: 'Array<OCI::LoadBalancer::Models::PathRouteSet>'
1575
+ )
1272
1576
  end
1577
+ # rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
1578
+ # rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
1579
+ # rubocop:enable Metrics/MethodLength, Layout/EmptyLines
1580
+
1581
+ # rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
1582
+ # rubocop:disable Style/IfUnlessModifier, Metrics/ParameterLists
1583
+ # rubocop:disable Metrics/MethodLength, Layout/EmptyLines
1584
+
1273
1585
 
1274
1586
  # Lists the available load balancer policies.
1275
1587
  # @param [String] compartment_id The [OCID](https://docs.us-phoenix-1.oraclecloud.com/Content/General/Concepts/identifiers.htm) of the compartment containing the load balancer policies to list.
@@ -1278,44 +1590,55 @@ module OCI
1278
1590
  # particular request, please provide the request ID.
1279
1591
  # (default to )
1280
1592
  # @option opts [Integer] :limit The maximum number of items to return in a paginated \"List\" call.
1281
- #
1593
+ #
1282
1594
  # Example: `500`
1283
1595
  # (default to 16)
1284
1596
  # @option opts [String] :page The value of the `opc-next-page` response header from the previous \"List\" call.
1285
- #
1597
+ #
1286
1598
  # Example: `3`
1287
- #
1288
- # @return [Response] A Response object with data of type Array<OCI::LoadBalancer::Models::LoadBalancerPolicy>
1599
+ #
1600
+ # @return [Response] A Response object with data of type Array<{OCI::LoadBalancer::Models::LoadBalancerPolicy LoadBalancerPolicy}>
1289
1601
  def list_policies(compartment_id, opts = {})
1290
- logger.debug "Calling operation LoadBalancerClient#list_policies." if logger
1602
+ logger.debug 'Calling operation LoadBalancerClient#list_policies.' if logger
1291
1603
 
1292
1604
  raise "Missing the required parameter 'compartment_id' when calling list_policies." if compartment_id.nil?
1293
1605
 
1294
- path = "/loadBalancerPolicies"
1606
+ path = '/loadBalancerPolicies'
1607
+ operation_signing_strategy = :standard
1295
1608
 
1296
1609
  # Query Params
1297
1610
  query_params = {}
1298
- query_params[:'compartmentId'] = compartment_id
1299
- query_params[:'limit'] = opts[:'limit'] if opts[:'limit']
1300
- query_params[:'page'] = opts[:'page'] if opts[:'page']
1611
+ query_params[:compartmentId] = compartment_id
1612
+ query_params[:limit] = opts[:limit] if opts[:limit]
1613
+ query_params[:page] = opts[:page] if opts[:page]
1301
1614
 
1302
1615
  # Header Params
1303
1616
  header_params = {}
1304
1617
  header_params['accept'] = 'application/json'
1305
1618
  header_params['content-type'] = 'application/json'
1306
- header_params[:'opc-request-id'] = opts[:'opc_request_id'] if opts[:'opc_request_id']
1619
+ header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
1307
1620
 
1308
1621
  post_body = nil
1309
1622
 
1310
- return @api_client.call_api(
1623
+ @api_client.call_api(
1311
1624
  :GET,
1312
1625
  path,
1313
1626
  endpoint,
1314
- :header_params => header_params,
1315
- :query_params => query_params,
1316
- :body => post_body,
1317
- :return_type => 'Array<OCI::LoadBalancer::Models::LoadBalancerPolicy>')
1627
+ header_params: header_params,
1628
+ query_params: query_params,
1629
+ operation_signing_strategy: operation_signing_strategy,
1630
+ body: post_body,
1631
+ return_type: 'Array<OCI::LoadBalancer::Models::LoadBalancerPolicy>'
1632
+ )
1318
1633
  end
1634
+ # rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
1635
+ # rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
1636
+ # rubocop:enable Metrics/MethodLength, Layout/EmptyLines
1637
+
1638
+ # rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
1639
+ # rubocop:disable Style/IfUnlessModifier, Metrics/ParameterLists
1640
+ # rubocop:disable Metrics/MethodLength, Layout/EmptyLines
1641
+
1319
1642
 
1320
1643
  # Lists all supported traffic protocols.
1321
1644
  # @param [String] compartment_id The [OCID](https://docs.us-phoenix-1.oraclecloud.com/Content/General/Concepts/identifiers.htm) of the compartment containing the load balancer protocols to list.
@@ -1324,44 +1647,55 @@ module OCI
1324
1647
  # particular request, please provide the request ID.
1325
1648
  # (default to )
1326
1649
  # @option opts [Integer] :limit The maximum number of items to return in a paginated \"List\" call.
1327
- #
1650
+ #
1328
1651
  # Example: `500`
1329
1652
  # (default to 16)
1330
1653
  # @option opts [String] :page The value of the `opc-next-page` response header from the previous \"List\" call.
1331
- #
1654
+ #
1332
1655
  # Example: `3`
1333
- #
1334
- # @return [Response] A Response object with data of type Array<OCI::LoadBalancer::Models::LoadBalancerProtocol>
1656
+ #
1657
+ # @return [Response] A Response object with data of type Array<{OCI::LoadBalancer::Models::LoadBalancerProtocol LoadBalancerProtocol}>
1335
1658
  def list_protocols(compartment_id, opts = {})
1336
- logger.debug "Calling operation LoadBalancerClient#list_protocols." if logger
1659
+ logger.debug 'Calling operation LoadBalancerClient#list_protocols.' if logger
1337
1660
 
1338
1661
  raise "Missing the required parameter 'compartment_id' when calling list_protocols." if compartment_id.nil?
1339
1662
 
1340
- path = "/loadBalancerProtocols"
1663
+ path = '/loadBalancerProtocols'
1664
+ operation_signing_strategy = :standard
1341
1665
 
1342
1666
  # Query Params
1343
1667
  query_params = {}
1344
- query_params[:'compartmentId'] = compartment_id
1345
- query_params[:'limit'] = opts[:'limit'] if opts[:'limit']
1346
- query_params[:'page'] = opts[:'page'] if opts[:'page']
1668
+ query_params[:compartmentId] = compartment_id
1669
+ query_params[:limit] = opts[:limit] if opts[:limit]
1670
+ query_params[:page] = opts[:page] if opts[:page]
1347
1671
 
1348
1672
  # Header Params
1349
1673
  header_params = {}
1350
1674
  header_params['accept'] = 'application/json'
1351
1675
  header_params['content-type'] = 'application/json'
1352
- header_params[:'opc-request-id'] = opts[:'opc_request_id'] if opts[:'opc_request_id']
1676
+ header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
1353
1677
 
1354
1678
  post_body = nil
1355
1679
 
1356
- return @api_client.call_api(
1680
+ @api_client.call_api(
1357
1681
  :GET,
1358
1682
  path,
1359
1683
  endpoint,
1360
- :header_params => header_params,
1361
- :query_params => query_params,
1362
- :body => post_body,
1363
- :return_type => 'Array<OCI::LoadBalancer::Models::LoadBalancerProtocol>')
1684
+ header_params: header_params,
1685
+ query_params: query_params,
1686
+ operation_signing_strategy: operation_signing_strategy,
1687
+ body: post_body,
1688
+ return_type: 'Array<OCI::LoadBalancer::Models::LoadBalancerProtocol>'
1689
+ )
1364
1690
  end
1691
+ # rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
1692
+ # rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
1693
+ # rubocop:enable Metrics/MethodLength, Layout/EmptyLines
1694
+
1695
+ # rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
1696
+ # rubocop:disable Style/IfUnlessModifier, Metrics/ParameterLists
1697
+ # rubocop:disable Metrics/MethodLength, Layout/EmptyLines
1698
+
1365
1699
 
1366
1700
  # Lists the valid load balancer shapes.
1367
1701
  # @param [String] compartment_id The [OCID](https://docs.us-phoenix-1.oraclecloud.com/Content/General/Concepts/identifiers.htm) of the compartment containing the load balancer shapes to list.
@@ -1370,44 +1704,55 @@ module OCI
1370
1704
  # particular request, please provide the request ID.
1371
1705
  # (default to )
1372
1706
  # @option opts [Integer] :limit The maximum number of items to return in a paginated \"List\" call.
1373
- #
1707
+ #
1374
1708
  # Example: `500`
1375
1709
  # (default to 16)
1376
1710
  # @option opts [String] :page The value of the `opc-next-page` response header from the previous \"List\" call.
1377
- #
1711
+ #
1378
1712
  # Example: `3`
1379
- #
1380
- # @return [Response] A Response object with data of type Array<OCI::LoadBalancer::Models::LoadBalancerShape>
1713
+ #
1714
+ # @return [Response] A Response object with data of type Array<{OCI::LoadBalancer::Models::LoadBalancerShape LoadBalancerShape}>
1381
1715
  def list_shapes(compartment_id, opts = {})
1382
- logger.debug "Calling operation LoadBalancerClient#list_shapes." if logger
1716
+ logger.debug 'Calling operation LoadBalancerClient#list_shapes.' if logger
1383
1717
 
1384
1718
  raise "Missing the required parameter 'compartment_id' when calling list_shapes." if compartment_id.nil?
1385
1719
 
1386
- path = "/loadBalancerShapes"
1720
+ path = '/loadBalancerShapes'
1721
+ operation_signing_strategy = :standard
1387
1722
 
1388
1723
  # Query Params
1389
1724
  query_params = {}
1390
- query_params[:'compartmentId'] = compartment_id
1391
- query_params[:'limit'] = opts[:'limit'] if opts[:'limit']
1392
- query_params[:'page'] = opts[:'page'] if opts[:'page']
1725
+ query_params[:compartmentId] = compartment_id
1726
+ query_params[:limit] = opts[:limit] if opts[:limit]
1727
+ query_params[:page] = opts[:page] if opts[:page]
1393
1728
 
1394
1729
  # Header Params
1395
1730
  header_params = {}
1396
1731
  header_params['accept'] = 'application/json'
1397
1732
  header_params['content-type'] = 'application/json'
1398
- header_params[:'opc-request-id'] = opts[:'opc_request_id'] if opts[:'opc_request_id']
1733
+ header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
1399
1734
 
1400
1735
  post_body = nil
1401
1736
 
1402
- return @api_client.call_api(
1737
+ @api_client.call_api(
1403
1738
  :GET,
1404
1739
  path,
1405
1740
  endpoint,
1406
- :header_params => header_params,
1407
- :query_params => query_params,
1408
- :body => post_body,
1409
- :return_type => 'Array<OCI::LoadBalancer::Models::LoadBalancerShape>')
1741
+ header_params: header_params,
1742
+ query_params: query_params,
1743
+ operation_signing_strategy: operation_signing_strategy,
1744
+ body: post_body,
1745
+ return_type: 'Array<OCI::LoadBalancer::Models::LoadBalancerShape>'
1746
+ )
1410
1747
  end
1748
+ # rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
1749
+ # rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
1750
+ # rubocop:enable Metrics/MethodLength, Layout/EmptyLines
1751
+
1752
+ # rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
1753
+ # rubocop:disable Style/IfUnlessModifier, Metrics/ParameterLists
1754
+ # rubocop:disable Metrics/MethodLength, Layout/EmptyLines
1755
+
1411
1756
 
1412
1757
  # Lists the work requests for a given load balancer.
1413
1758
  # @param [String] load_balancer_id The [OCID](https://docs.us-phoenix-1.oraclecloud.com/Content/General/Concepts/identifiers.htm) of the load balancer associated with the work requests to retrieve.
@@ -1416,56 +1761,67 @@ module OCI
1416
1761
  # particular request, please provide the request ID.
1417
1762
  # (default to )
1418
1763
  # @option opts [Integer] :limit The maximum number of items to return in a paginated \"List\" call.
1419
- #
1764
+ #
1420
1765
  # Example: `500`
1421
1766
  # (default to 100)
1422
1767
  # @option opts [String] :page The value of the `opc-next-page` response header from the previous \"List\" call.
1423
- #
1768
+ #
1424
1769
  # Example: `3`
1425
- #
1426
- # @return [Response] A Response object with data of type Array<OCI::LoadBalancer::Models::WorkRequest>
1770
+ #
1771
+ # @return [Response] A Response object with data of type Array<{OCI::LoadBalancer::Models::WorkRequest WorkRequest}>
1427
1772
  def list_work_requests(load_balancer_id, opts = {})
1428
- logger.debug "Calling operation LoadBalancerClient#list_work_requests." if logger
1773
+ logger.debug 'Calling operation LoadBalancerClient#list_work_requests.' if logger
1429
1774
 
1430
1775
  raise "Missing the required parameter 'load_balancer_id' when calling list_work_requests." if load_balancer_id.nil?
1431
- raise "Parameter value for 'load_balancer_id' must not be blank" if OCI::Internal::Util::blank_string?(load_balancer_id)
1776
+ raise "Parameter value for 'load_balancer_id' must not be blank" if OCI::Internal::Util.blank_string?(load_balancer_id)
1432
1777
 
1433
- path = "/loadBalancers/{loadBalancerId}/workRequests".sub('{loadBalancerId}', load_balancer_id.to_s)
1778
+ path = '/loadBalancers/{loadBalancerId}/workRequests'.sub('{loadBalancerId}', load_balancer_id.to_s)
1779
+ operation_signing_strategy = :standard
1434
1780
 
1435
1781
  # Query Params
1436
1782
  query_params = {}
1437
- query_params[:'limit'] = opts[:'limit'] if opts[:'limit']
1438
- query_params[:'page'] = opts[:'page'] if opts[:'page']
1783
+ query_params[:limit] = opts[:limit] if opts[:limit]
1784
+ query_params[:page] = opts[:page] if opts[:page]
1439
1785
 
1440
1786
  # Header Params
1441
1787
  header_params = {}
1442
1788
  header_params['accept'] = 'application/json'
1443
1789
  header_params['content-type'] = 'application/json'
1444
- header_params[:'opc-request-id'] = opts[:'opc_request_id'] if opts[:'opc_request_id']
1790
+ header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
1445
1791
 
1446
1792
  post_body = nil
1447
1793
 
1448
- return @api_client.call_api(
1794
+ @api_client.call_api(
1449
1795
  :GET,
1450
1796
  path,
1451
1797
  endpoint,
1452
- :header_params => header_params,
1453
- :query_params => query_params,
1454
- :body => post_body,
1455
- :return_type => 'Array<OCI::LoadBalancer::Models::WorkRequest>')
1798
+ header_params: header_params,
1799
+ query_params: query_params,
1800
+ operation_signing_strategy: operation_signing_strategy,
1801
+ body: post_body,
1802
+ return_type: 'Array<OCI::LoadBalancer::Models::WorkRequest>'
1803
+ )
1456
1804
  end
1805
+ # rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
1806
+ # rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
1807
+ # rubocop:enable Metrics/MethodLength, Layout/EmptyLines
1808
+
1809
+ # rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
1810
+ # rubocop:disable Style/IfUnlessModifier, Metrics/ParameterLists
1811
+ # rubocop:disable Metrics/MethodLength, Layout/EmptyLines
1812
+
1457
1813
 
1458
1814
  # Updates the configuration of a backend server within the specified backend set.
1459
- # @param [UpdateBackendDetails] update_backend_details Details for updating a backend server.
1815
+ # @param [OCI::LoadBalancer::Models::UpdateBackendDetails] update_backend_details Details for updating a backend server.
1460
1816
  # @param [String] load_balancer_id The [OCID](https://docs.us-phoenix-1.oraclecloud.com/Content/General/Concepts/identifiers.htm) of the load balancer associated with the backend set and server.
1461
1817
  # @param [String] backend_set_name The name of the backend set associated with the backend server.
1462
- #
1818
+ #
1463
1819
  # Example: `My_backend_set`
1464
- #
1820
+ #
1465
1821
  # @param [String] backend_name The IP address and port of the backend server to update.
1466
- #
1822
+ #
1467
1823
  # Example: `1.1.1.7:42`
1468
- #
1824
+ #
1469
1825
  # @param [Hash] opts the optional parameters
1470
1826
  # @option opts [String] :opc_request_id The unique Oracle-assigned identifier for the request. If you need to contact Oracle about a
1471
1827
  # particular request, please provide the request ID.
@@ -1475,20 +1831,21 @@ module OCI
1475
1831
  # hours, but can be invalidated before then due to conflicting operations (e.g., if a resource
1476
1832
  # has been deleted and purged from the system, then a retry of the original creation request
1477
1833
  # may be rejected).
1478
- #
1834
+ #
1479
1835
  # @return [Response] A Response object with data of type nil
1480
1836
  def update_backend(update_backend_details, load_balancer_id, backend_set_name, backend_name, opts = {})
1481
- logger.debug "Calling operation LoadBalancerClient#update_backend." if logger
1837
+ logger.debug 'Calling operation LoadBalancerClient#update_backend.' if logger
1482
1838
 
1483
1839
  raise "Missing the required parameter 'update_backend_details' when calling update_backend." if update_backend_details.nil?
1484
1840
  raise "Missing the required parameter 'load_balancer_id' when calling update_backend." if load_balancer_id.nil?
1485
1841
  raise "Missing the required parameter 'backend_set_name' when calling update_backend." if backend_set_name.nil?
1486
1842
  raise "Missing the required parameter 'backend_name' when calling update_backend." if backend_name.nil?
1487
- raise "Parameter value for 'load_balancer_id' must not be blank" if OCI::Internal::Util::blank_string?(load_balancer_id)
1488
- raise "Parameter value for 'backend_set_name' must not be blank" if OCI::Internal::Util::blank_string?(backend_set_name)
1489
- raise "Parameter value for 'backend_name' must not be blank" if OCI::Internal::Util::blank_string?(backend_name)
1843
+ raise "Parameter value for 'load_balancer_id' must not be blank" if OCI::Internal::Util.blank_string?(load_balancer_id)
1844
+ raise "Parameter value for 'backend_set_name' must not be blank" if OCI::Internal::Util.blank_string?(backend_set_name)
1845
+ raise "Parameter value for 'backend_name' must not be blank" if OCI::Internal::Util.blank_string?(backend_name)
1490
1846
 
1491
- path = "/loadBalancers/{loadBalancerId}/backendSets/{backendSetName}/backends/{backendName}".sub('{loadBalancerId}', load_balancer_id.to_s).sub('{backendSetName}', backend_set_name.to_s).sub('{backendName}', backend_name.to_s)
1847
+ path = '/loadBalancers/{loadBalancerId}/backendSets/{backendSetName}/backends/{backendName}'.sub('{loadBalancerId}', load_balancer_id.to_s).sub('{backendSetName}', backend_set_name.to_s).sub('{backendName}', backend_name.to_s)
1848
+ operation_signing_strategy = :standard
1492
1849
 
1493
1850
  # Query Params
1494
1851
  query_params = {}
@@ -1497,27 +1854,37 @@ module OCI
1497
1854
  header_params = {}
1498
1855
  header_params['accept'] = 'application/json'
1499
1856
  header_params['content-type'] = 'application/json'
1500
- header_params[:'opc-request-id'] = opts[:'opc_request_id'] if opts[:'opc_request_id']
1501
- header_params[:'opc-retry-token'] = opts[:'opc_retry_token'] if opts[:'opc_retry_token']
1857
+ header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
1858
+ header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token]
1502
1859
 
1503
1860
  post_body = @api_client.object_to_http_body(update_backend_details)
1504
1861
 
1505
- return @api_client.call_api(
1862
+ @api_client.call_api(
1506
1863
  :PUT,
1507
1864
  path,
1508
1865
  endpoint,
1509
- :header_params => header_params,
1510
- :query_params => query_params,
1511
- :body => post_body)
1866
+ header_params: header_params,
1867
+ query_params: query_params,
1868
+ operation_signing_strategy: operation_signing_strategy,
1869
+ body: post_body
1870
+ )
1512
1871
  end
1872
+ # rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
1873
+ # rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
1874
+ # rubocop:enable Metrics/MethodLength, Layout/EmptyLines
1875
+
1876
+ # rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
1877
+ # rubocop:disable Style/IfUnlessModifier, Metrics/ParameterLists
1878
+ # rubocop:disable Metrics/MethodLength, Layout/EmptyLines
1879
+
1513
1880
 
1514
1881
  # Updates a backend set.
1515
- # @param [UpdateBackendSetDetails] update_backend_set_details The details to update a backend set.
1882
+ # @param [OCI::LoadBalancer::Models::UpdateBackendSetDetails] update_backend_set_details The details to update a backend set.
1516
1883
  # @param [String] load_balancer_id The [OCID](https://docs.us-phoenix-1.oraclecloud.com/Content/General/Concepts/identifiers.htm) of the load balancer associated with the backend set.
1517
1884
  # @param [String] backend_set_name The name of the backend set to update.
1518
- #
1885
+ #
1519
1886
  # Example: `My_backend_set`
1520
- #
1887
+ #
1521
1888
  # @param [Hash] opts the optional parameters
1522
1889
  # @option opts [String] :opc_request_id The unique Oracle-assigned identifier for the request. If you need to contact Oracle about a
1523
1890
  # particular request, please provide the request ID.
@@ -1527,18 +1894,19 @@ module OCI
1527
1894
  # hours, but can be invalidated before then due to conflicting operations (e.g., if a resource
1528
1895
  # has been deleted and purged from the system, then a retry of the original creation request
1529
1896
  # may be rejected).
1530
- #
1897
+ #
1531
1898
  # @return [Response] A Response object with data of type nil
1532
1899
  def update_backend_set(update_backend_set_details, load_balancer_id, backend_set_name, opts = {})
1533
- logger.debug "Calling operation LoadBalancerClient#update_backend_set." if logger
1900
+ logger.debug 'Calling operation LoadBalancerClient#update_backend_set.' if logger
1534
1901
 
1535
1902
  raise "Missing the required parameter 'update_backend_set_details' when calling update_backend_set." if update_backend_set_details.nil?
1536
1903
  raise "Missing the required parameter 'load_balancer_id' when calling update_backend_set." if load_balancer_id.nil?
1537
1904
  raise "Missing the required parameter 'backend_set_name' when calling update_backend_set." if backend_set_name.nil?
1538
- raise "Parameter value for 'load_balancer_id' must not be blank" if OCI::Internal::Util::blank_string?(load_balancer_id)
1539
- raise "Parameter value for 'backend_set_name' must not be blank" if OCI::Internal::Util::blank_string?(backend_set_name)
1905
+ raise "Parameter value for 'load_balancer_id' must not be blank" if OCI::Internal::Util.blank_string?(load_balancer_id)
1906
+ raise "Parameter value for 'backend_set_name' must not be blank" if OCI::Internal::Util.blank_string?(backend_set_name)
1540
1907
 
1541
- path = "/loadBalancers/{loadBalancerId}/backendSets/{backendSetName}".sub('{loadBalancerId}', load_balancer_id.to_s).sub('{backendSetName}', backend_set_name.to_s)
1908
+ path = '/loadBalancers/{loadBalancerId}/backendSets/{backendSetName}'.sub('{loadBalancerId}', load_balancer_id.to_s).sub('{backendSetName}', backend_set_name.to_s)
1909
+ operation_signing_strategy = :standard
1542
1910
 
1543
1911
  # Query Params
1544
1912
  query_params = {}
@@ -1547,27 +1915,37 @@ module OCI
1547
1915
  header_params = {}
1548
1916
  header_params['accept'] = 'application/json'
1549
1917
  header_params['content-type'] = 'application/json'
1550
- header_params[:'opc-request-id'] = opts[:'opc_request_id'] if opts[:'opc_request_id']
1551
- header_params[:'opc-retry-token'] = opts[:'opc_retry_token'] if opts[:'opc_retry_token']
1918
+ header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
1919
+ header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token]
1552
1920
 
1553
1921
  post_body = @api_client.object_to_http_body(update_backend_set_details)
1554
1922
 
1555
- return @api_client.call_api(
1923
+ @api_client.call_api(
1556
1924
  :PUT,
1557
1925
  path,
1558
1926
  endpoint,
1559
- :header_params => header_params,
1560
- :query_params => query_params,
1561
- :body => post_body)
1927
+ header_params: header_params,
1928
+ query_params: query_params,
1929
+ operation_signing_strategy: operation_signing_strategy,
1930
+ body: post_body
1931
+ )
1562
1932
  end
1933
+ # rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
1934
+ # rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
1935
+ # rubocop:enable Metrics/MethodLength, Layout/EmptyLines
1936
+
1937
+ # rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
1938
+ # rubocop:disable Style/IfUnlessModifier, Metrics/ParameterLists
1939
+ # rubocop:disable Metrics/MethodLength, Layout/EmptyLines
1940
+
1563
1941
 
1564
1942
  # Updates the health check policy for a given load balancer and backend set.
1565
- # @param [UpdateHealthCheckerDetails] health_checker The health check policy configuration details.
1943
+ # @param [OCI::LoadBalancer::Models::UpdateHealthCheckerDetails] health_checker The health check policy configuration details.
1566
1944
  # @param [String] load_balancer_id The [OCID](https://docs.us-phoenix-1.oraclecloud.com/Content/General/Concepts/identifiers.htm) of the load balancer associated with the health check policy to be updated.
1567
1945
  # @param [String] backend_set_name The name of the backend set associated with the health check policy to be retrieved.
1568
- #
1946
+ #
1569
1947
  # Example: `My_backend_set`
1570
- #
1948
+ #
1571
1949
  # @param [Hash] opts the optional parameters
1572
1950
  # @option opts [String] :opc_request_id The unique Oracle-assigned identifier for the request. If you need to contact Oracle about a
1573
1951
  # particular request, please provide the request ID.
@@ -1577,18 +1955,19 @@ module OCI
1577
1955
  # hours, but can be invalidated before then due to conflicting operations (e.g., if a resource
1578
1956
  # has been deleted and purged from the system, then a retry of the original creation request
1579
1957
  # may be rejected).
1580
- #
1958
+ #
1581
1959
  # @return [Response] A Response object with data of type nil
1582
1960
  def update_health_checker(health_checker, load_balancer_id, backend_set_name, opts = {})
1583
- logger.debug "Calling operation LoadBalancerClient#update_health_checker." if logger
1961
+ logger.debug 'Calling operation LoadBalancerClient#update_health_checker.' if logger
1584
1962
 
1585
1963
  raise "Missing the required parameter 'health_checker' when calling update_health_checker." if health_checker.nil?
1586
1964
  raise "Missing the required parameter 'load_balancer_id' when calling update_health_checker." if load_balancer_id.nil?
1587
1965
  raise "Missing the required parameter 'backend_set_name' when calling update_health_checker." if backend_set_name.nil?
1588
- raise "Parameter value for 'load_balancer_id' must not be blank" if OCI::Internal::Util::blank_string?(load_balancer_id)
1589
- raise "Parameter value for 'backend_set_name' must not be blank" if OCI::Internal::Util::blank_string?(backend_set_name)
1966
+ raise "Parameter value for 'load_balancer_id' must not be blank" if OCI::Internal::Util.blank_string?(load_balancer_id)
1967
+ raise "Parameter value for 'backend_set_name' must not be blank" if OCI::Internal::Util.blank_string?(backend_set_name)
1590
1968
 
1591
- path = "/loadBalancers/{loadBalancerId}/backendSets/{backendSetName}/healthChecker".sub('{loadBalancerId}', load_balancer_id.to_s).sub('{backendSetName}', backend_set_name.to_s)
1969
+ path = '/loadBalancers/{loadBalancerId}/backendSets/{backendSetName}/healthChecker'.sub('{loadBalancerId}', load_balancer_id.to_s).sub('{backendSetName}', backend_set_name.to_s)
1970
+ operation_signing_strategy = :standard
1592
1971
 
1593
1972
  # Query Params
1594
1973
  query_params = {}
@@ -1597,27 +1976,37 @@ module OCI
1597
1976
  header_params = {}
1598
1977
  header_params['accept'] = 'application/json'
1599
1978
  header_params['content-type'] = 'application/json'
1600
- header_params[:'opc-request-id'] = opts[:'opc_request_id'] if opts[:'opc_request_id']
1601
- header_params[:'opc-retry-token'] = opts[:'opc_retry_token'] if opts[:'opc_retry_token']
1979
+ header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
1980
+ header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token]
1602
1981
 
1603
1982
  post_body = @api_client.object_to_http_body(health_checker)
1604
1983
 
1605
- return @api_client.call_api(
1984
+ @api_client.call_api(
1606
1985
  :PUT,
1607
1986
  path,
1608
1987
  endpoint,
1609
- :header_params => header_params,
1610
- :query_params => query_params,
1611
- :body => post_body)
1988
+ header_params: header_params,
1989
+ query_params: query_params,
1990
+ operation_signing_strategy: operation_signing_strategy,
1991
+ body: post_body
1992
+ )
1612
1993
  end
1994
+ # rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
1995
+ # rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
1996
+ # rubocop:enable Metrics/MethodLength, Layout/EmptyLines
1997
+
1998
+ # rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
1999
+ # rubocop:disable Style/IfUnlessModifier, Metrics/ParameterLists
2000
+ # rubocop:disable Metrics/MethodLength, Layout/EmptyLines
2001
+
1613
2002
 
1614
2003
  # Updates a listener for a given load balancer.
1615
- # @param [UpdateListenerDetails] update_listener_details Details to update a listener.
2004
+ # @param [OCI::LoadBalancer::Models::UpdateListenerDetails] update_listener_details Details to update a listener.
1616
2005
  # @param [String] load_balancer_id The [OCID](https://docs.us-phoenix-1.oraclecloud.com/Content/General/Concepts/identifiers.htm) of the load balancer associated with the listener to update.
1617
2006
  # @param [String] listener_name The name of the listener to update.
1618
- #
2007
+ #
1619
2008
  # Example: `My listener`
1620
- #
2009
+ #
1621
2010
  # @param [Hash] opts the optional parameters
1622
2011
  # @option opts [String] :opc_request_id The unique Oracle-assigned identifier for the request. If you need to contact Oracle about a
1623
2012
  # particular request, please provide the request ID.
@@ -1627,18 +2016,19 @@ module OCI
1627
2016
  # hours, but can be invalidated before then due to conflicting operations (e.g., if a resource
1628
2017
  # has been deleted and purged from the system, then a retry of the original creation request
1629
2018
  # may be rejected).
1630
- #
2019
+ #
1631
2020
  # @return [Response] A Response object with data of type nil
1632
2021
  def update_listener(update_listener_details, load_balancer_id, listener_name, opts = {})
1633
- logger.debug "Calling operation LoadBalancerClient#update_listener." if logger
2022
+ logger.debug 'Calling operation LoadBalancerClient#update_listener.' if logger
1634
2023
 
1635
2024
  raise "Missing the required parameter 'update_listener_details' when calling update_listener." if update_listener_details.nil?
1636
2025
  raise "Missing the required parameter 'load_balancer_id' when calling update_listener." if load_balancer_id.nil?
1637
2026
  raise "Missing the required parameter 'listener_name' when calling update_listener." if listener_name.nil?
1638
- raise "Parameter value for 'load_balancer_id' must not be blank" if OCI::Internal::Util::blank_string?(load_balancer_id)
1639
- raise "Parameter value for 'listener_name' must not be blank" if OCI::Internal::Util::blank_string?(listener_name)
2027
+ raise "Parameter value for 'load_balancer_id' must not be blank" if OCI::Internal::Util.blank_string?(load_balancer_id)
2028
+ raise "Parameter value for 'listener_name' must not be blank" if OCI::Internal::Util.blank_string?(listener_name)
1640
2029
 
1641
- path = "/loadBalancers/{loadBalancerId}/listeners/{listenerName}".sub('{loadBalancerId}', load_balancer_id.to_s).sub('{listenerName}', listener_name.to_s)
2030
+ path = '/loadBalancers/{loadBalancerId}/listeners/{listenerName}'.sub('{loadBalancerId}', load_balancer_id.to_s).sub('{listenerName}', listener_name.to_s)
2031
+ operation_signing_strategy = :standard
1642
2032
 
1643
2033
  # Query Params
1644
2034
  query_params = {}
@@ -1647,22 +2037,32 @@ module OCI
1647
2037
  header_params = {}
1648
2038
  header_params['accept'] = 'application/json'
1649
2039
  header_params['content-type'] = 'application/json'
1650
- header_params[:'opc-request-id'] = opts[:'opc_request_id'] if opts[:'opc_request_id']
1651
- header_params[:'opc-retry-token'] = opts[:'opc_retry_token'] if opts[:'opc_retry_token']
2040
+ header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
2041
+ header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token]
1652
2042
 
1653
2043
  post_body = @api_client.object_to_http_body(update_listener_details)
1654
2044
 
1655
- return @api_client.call_api(
2045
+ @api_client.call_api(
1656
2046
  :PUT,
1657
2047
  path,
1658
2048
  endpoint,
1659
- :header_params => header_params,
1660
- :query_params => query_params,
1661
- :body => post_body)
2049
+ header_params: header_params,
2050
+ query_params: query_params,
2051
+ operation_signing_strategy: operation_signing_strategy,
2052
+ body: post_body
2053
+ )
1662
2054
  end
2055
+ # rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
2056
+ # rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
2057
+ # rubocop:enable Metrics/MethodLength, Layout/EmptyLines
2058
+
2059
+ # rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
2060
+ # rubocop:disable Style/IfUnlessModifier, Metrics/ParameterLists
2061
+ # rubocop:disable Metrics/MethodLength, Layout/EmptyLines
2062
+
1663
2063
 
1664
2064
  # Updates a load balancer's configuration.
1665
- # @param [UpdateLoadBalancerDetails] update_load_balancer_details The details for updating a load balancer's configuration.
2065
+ # @param [OCI::LoadBalancer::Models::UpdateLoadBalancerDetails] update_load_balancer_details The details for updating a load balancer's configuration.
1666
2066
  # @param [String] load_balancer_id The [OCID](https://docs.us-phoenix-1.oraclecloud.com/Content/General/Concepts/identifiers.htm) of the load balancer to update.
1667
2067
  # @param [Hash] opts the optional parameters
1668
2068
  # @option opts [String] :opc_request_id The unique Oracle-assigned identifier for the request. If you need to contact Oracle about a
@@ -1673,16 +2073,17 @@ module OCI
1673
2073
  # hours, but can be invalidated before then due to conflicting operations (e.g., if a resource
1674
2074
  # has been deleted and purged from the system, then a retry of the original creation request
1675
2075
  # may be rejected).
1676
- #
2076
+ #
1677
2077
  # @return [Response] A Response object with data of type nil
1678
2078
  def update_load_balancer(update_load_balancer_details, load_balancer_id, opts = {})
1679
- logger.debug "Calling operation LoadBalancerClient#update_load_balancer." if logger
2079
+ logger.debug 'Calling operation LoadBalancerClient#update_load_balancer.' if logger
1680
2080
 
1681
2081
  raise "Missing the required parameter 'update_load_balancer_details' when calling update_load_balancer." if update_load_balancer_details.nil?
1682
2082
  raise "Missing the required parameter 'load_balancer_id' when calling update_load_balancer." if load_balancer_id.nil?
1683
- raise "Parameter value for 'load_balancer_id' must not be blank" if OCI::Internal::Util::blank_string?(load_balancer_id)
2083
+ raise "Parameter value for 'load_balancer_id' must not be blank" if OCI::Internal::Util.blank_string?(load_balancer_id)
1684
2084
 
1685
- path = "/loadBalancers/{loadBalancerId}".sub('{loadBalancerId}', load_balancer_id.to_s)
2085
+ path = '/loadBalancers/{loadBalancerId}'.sub('{loadBalancerId}', load_balancer_id.to_s)
2086
+ operation_signing_strategy = :standard
1686
2087
 
1687
2088
  # Query Params
1688
2089
  query_params = {}
@@ -1691,33 +2092,43 @@ module OCI
1691
2092
  header_params = {}
1692
2093
  header_params['accept'] = 'application/json'
1693
2094
  header_params['content-type'] = 'application/json'
1694
- header_params[:'opc-request-id'] = opts[:'opc_request_id'] if opts[:'opc_request_id']
1695
- header_params[:'opc-retry-token'] = opts[:'opc_retry_token'] if opts[:'opc_retry_token']
2095
+ header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
2096
+ header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token]
1696
2097
 
1697
2098
  post_body = @api_client.object_to_http_body(update_load_balancer_details)
1698
2099
 
1699
- return @api_client.call_api(
2100
+ @api_client.call_api(
1700
2101
  :PUT,
1701
2102
  path,
1702
2103
  endpoint,
1703
- :header_params => header_params,
1704
- :query_params => query_params,
1705
- :body => post_body)
2104
+ header_params: header_params,
2105
+ query_params: query_params,
2106
+ operation_signing_strategy: operation_signing_strategy,
2107
+ body: post_body
2108
+ )
1706
2109
  end
2110
+ # rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
2111
+ # rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
2112
+ # rubocop:enable Metrics/MethodLength, Layout/EmptyLines
2113
+
2114
+ # rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
2115
+ # rubocop:disable Style/IfUnlessModifier, Metrics/ParameterLists
2116
+ # rubocop:disable Metrics/MethodLength, Layout/EmptyLines
2117
+
1707
2118
 
1708
2119
  # Overwrites an existing path route set on the specified load balancer. Use this operation to add, delete, or alter
1709
2120
  # path route rules in a path route set.
1710
- #
2121
+ #
1711
2122
  # To add a new path route rule to a path route set, the `pathRoutes` in the
1712
2123
  # {#update_path_route_set_details update_path_route_set_details} object must include
1713
2124
  # both the new path route rule to add and the existing path route rules to retain.
1714
- #
1715
- # @param [UpdatePathRouteSetDetails] update_path_route_set_details The configuration details to update a path route set.
2125
+ #
2126
+ # @param [OCI::LoadBalancer::Models::UpdatePathRouteSetDetails] update_path_route_set_details The configuration details to update a path route set.
1716
2127
  # @param [String] load_balancer_id The [OCID](https://docs.us-phoenix-1.oraclecloud.com/Content/General/Concepts/identifiers.htm) of the load balancer associated with the path route set to update.
1717
2128
  # @param [String] path_route_set_name The name of the path route set to update.
1718
- #
2129
+ #
1719
2130
  # Example: `path-route-set-001`
1720
- #
2131
+ #
1721
2132
  # @param [Hash] opts the optional parameters
1722
2133
  # @option opts [String] :opc_request_id The unique Oracle-assigned identifier for the request. If you need to contact Oracle about a
1723
2134
  # particular request, please provide the request ID.
@@ -1727,18 +2138,19 @@ module OCI
1727
2138
  # hours, but can be invalidated before then due to conflicting operations (e.g., if a resource
1728
2139
  # has been deleted and purged from the system, then a retry of the original creation request
1729
2140
  # may be rejected).
1730
- #
2141
+ #
1731
2142
  # @return [Response] A Response object with data of type nil
1732
2143
  def update_path_route_set(update_path_route_set_details, load_balancer_id, path_route_set_name, opts = {})
1733
- logger.debug "Calling operation LoadBalancerClient#update_path_route_set." if logger
2144
+ logger.debug 'Calling operation LoadBalancerClient#update_path_route_set.' if logger
1734
2145
 
1735
2146
  raise "Missing the required parameter 'update_path_route_set_details' when calling update_path_route_set." if update_path_route_set_details.nil?
1736
2147
  raise "Missing the required parameter 'load_balancer_id' when calling update_path_route_set." if load_balancer_id.nil?
1737
2148
  raise "Missing the required parameter 'path_route_set_name' when calling update_path_route_set." if path_route_set_name.nil?
1738
- raise "Parameter value for 'load_balancer_id' must not be blank" if OCI::Internal::Util::blank_string?(load_balancer_id)
1739
- raise "Parameter value for 'path_route_set_name' must not be blank" if OCI::Internal::Util::blank_string?(path_route_set_name)
2149
+ raise "Parameter value for 'load_balancer_id' must not be blank" if OCI::Internal::Util.blank_string?(load_balancer_id)
2150
+ raise "Parameter value for 'path_route_set_name' must not be blank" if OCI::Internal::Util.blank_string?(path_route_set_name)
1740
2151
 
1741
- path = "/loadBalancers/{loadBalancerId}/pathRouteSets/{pathRouteSetName}".sub('{loadBalancerId}', load_balancer_id.to_s).sub('{pathRouteSetName}', path_route_set_name.to_s)
2152
+ path = '/loadBalancers/{loadBalancerId}/pathRouteSets/{pathRouteSetName}'.sub('{loadBalancerId}', load_balancer_id.to_s).sub('{pathRouteSetName}', path_route_set_name.to_s)
2153
+ operation_signing_strategy = :standard
1742
2154
 
1743
2155
  # Query Params
1744
2156
  query_params = {}
@@ -1747,18 +2159,24 @@ module OCI
1747
2159
  header_params = {}
1748
2160
  header_params['accept'] = 'application/json'
1749
2161
  header_params['content-type'] = 'application/json'
1750
- header_params[:'opc-request-id'] = opts[:'opc_request_id'] if opts[:'opc_request_id']
1751
- header_params[:'opc-retry-token'] = opts[:'opc_retry_token'] if opts[:'opc_retry_token']
2162
+ header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
2163
+ header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token]
1752
2164
 
1753
2165
  post_body = @api_client.object_to_http_body(update_path_route_set_details)
1754
2166
 
1755
- return @api_client.call_api(
2167
+ @api_client.call_api(
1756
2168
  :PUT,
1757
2169
  path,
1758
2170
  endpoint,
1759
- :header_params => header_params,
1760
- :query_params => query_params,
1761
- :body => post_body)
2171
+ header_params: header_params,
2172
+ query_params: query_params,
2173
+ operation_signing_strategy: operation_signing_strategy,
2174
+ body: post_body
2175
+ )
1762
2176
  end
2177
+ # rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
2178
+ # rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
2179
+ # rubocop:enable Metrics/MethodLength, Layout/EmptyLines
1763
2180
  end
1764
2181
  end
2182
+ # rubocop:enable Lint/UnneededCopDisableDirective, Metrics/LineLength