oci 2.11.0 → 2.12.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (333) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +1 -0
  3. data/lib/oci.rb +1 -0
  4. data/lib/oci/analytics/analytics_client.rb +15 -0
  5. data/lib/oci/announcements_service/announcement_client.rb +4 -0
  6. data/lib/oci/apigateway/api_gateway_client.rb +15 -0
  7. data/lib/oci/apigateway/deployment_client.rb +6 -0
  8. data/lib/oci/apigateway/gateway_client.rb +6 -0
  9. data/lib/oci/apigateway/work_requests_client.rb +5 -0
  10. data/lib/oci/application_migration/application_migration_client.rb +19 -0
  11. data/lib/oci/audit/audit_client.rb +4 -1
  12. data/lib/oci/audit/models/audit_event.rb +8 -7
  13. data/lib/oci/audit/models/data.rb +0 -107
  14. data/lib/oci/audit/models/identity.rb +0 -17
  15. data/lib/oci/audit/models/request.rb +0 -46
  16. data/lib/oci/audit/models/response.rb +0 -34
  17. data/lib/oci/audit/models/state_change.rb +0 -9
  18. data/lib/oci/auth/signers/ephemeral_resource_principals_signer.rb +0 -1
  19. data/lib/oci/auth/signers/resource_principals_signer.rb +1 -1
  20. data/lib/oci/autoscaling/auto_scaling_client.rb +11 -0
  21. data/lib/oci/bds/bds_client.rb +16 -0
  22. data/lib/oci/blockchain/blockchain.rb +1 -0
  23. data/lib/oci/blockchain/blockchain_platform_client.rb +57 -0
  24. data/lib/oci/blockchain/models/blockchain_platform.rb +36 -3
  25. data/lib/oci/blockchain/models/blockchain_platform_by_hostname.rb +1 -1
  26. data/lib/oci/blockchain/models/blockchain_platform_summary.rb +1 -1
  27. data/lib/oci/blockchain/models/create_blockchain_platform_details.rb +2 -2
  28. data/lib/oci/blockchain/models/scaled_blockchain_platform_preview.rb +1 -1
  29. data/lib/oci/blockchain/models/work_request.rb +1 -0
  30. data/lib/oci/blockchain/models/work_request_resource.rb +18 -4
  31. data/lib/oci/blockchain/models/work_request_resource_sub_type_detail.rb +206 -0
  32. data/lib/oci/blockchain/models/work_request_summary.rb +1 -0
  33. data/lib/oci/budget/budget_client.rb +10 -0
  34. data/lib/oci/cims/incident_client.rb +7 -0
  35. data/lib/oci/cims/user_client.rb +1 -0
  36. data/lib/oci/cloud_guard/cloud_guard_client.rb +82 -0
  37. data/lib/oci/cloud_guard/models/rule_summary.rb +1 -0
  38. data/lib/oci/compute_instance_agent/compute_instance_agent_client.rb +6 -0
  39. data/lib/oci/container_engine/container_engine_client.rb +18 -0
  40. data/lib/oci/core/blockstorage_client.rb +53 -0
  41. data/lib/oci/core/compute_client.rb +71 -0
  42. data/lib/oci/core/compute_management_client.rb +28 -0
  43. data/lib/oci/core/virtual_network_client.rb +194 -0
  44. data/lib/oci/data_catalog/data_catalog.rb +5 -0
  45. data/lib/oci/data_catalog/data_catalog_client.rb +307 -4
  46. data/lib/oci/data_catalog/models/attribute.rb +45 -4
  47. data/lib/oci/data_catalog/models/attribute_summary.rb +45 -4
  48. data/lib/oci/data_catalog/models/faceted_search_aggregation.rb +55 -4
  49. data/lib/oci/{database/models/create_autonomous_data_warehouse_backup_details.rb → data_catalog/models/rule_attribute.rb} +25 -18
  50. data/lib/oci/data_catalog/models/rule_collection.rb +161 -0
  51. data/lib/oci/data_catalog/models/rule_origin_type.rb +12 -0
  52. data/lib/oci/data_catalog/models/rule_summary.rb +439 -0
  53. data/lib/oci/data_catalog/models/rule_type.rb +12 -0
  54. data/lib/oci/data_catalog/models/search_result_collection.rb +18 -4
  55. data/lib/oci/data_flow/data_flow_client.rb +24 -0
  56. data/lib/oci/data_integration/data_integration_client.rb +92 -0
  57. data/lib/oci/data_safe/data_safe.rb +8 -0
  58. data/lib/oci/data_safe/data_safe_client.rb +606 -13
  59. data/lib/oci/data_safe/data_safe_client_composite_operations.rb +198 -0
  60. data/lib/oci/data_safe/models/change_on_prem_connector_compartment_details.rb +154 -0
  61. data/lib/oci/data_safe/models/create_data_safe_private_endpoint_details.rb +1 -1
  62. data/lib/oci/{database/models/update_autonomous_data_warehouse_details.rb → data_safe/models/create_on_prem_connector_details.rb} +27 -49
  63. data/lib/oci/data_safe/models/data_safe_configuration.rb +5 -5
  64. data/lib/oci/data_safe/models/data_safe_private_endpoint.rb +2 -2
  65. data/lib/oci/data_safe/models/data_safe_private_endpoint_summary.rb +1 -1
  66. data/lib/oci/data_safe/models/enable_data_safe_configuration_details.rb +6 -40
  67. data/lib/oci/{database/models/generate_autonomous_data_warehouse_wallet_details.rb → data_safe/models/generate_on_prem_connector_configuration_details.rb} +3 -4
  68. data/lib/oci/{database/models/autonomous_data_warehouse_backup_summary.rb → data_safe/models/on_prem_connector.rb} +98 -98
  69. data/lib/oci/data_safe/models/on_prem_connector_lifecycle_state.rb +16 -0
  70. data/lib/oci/{database/models/autonomous_data_warehouse_backup.rb → data_safe/models/on_prem_connector_summary.rb} +90 -99
  71. data/lib/oci/data_safe/models/service_list.rb +1 -0
  72. data/lib/oci/data_safe/models/update_data_safe_private_endpoint_details.rb +1 -1
  73. data/lib/oci/data_safe/models/update_on_prem_connector_details.rb +198 -0
  74. data/lib/oci/data_safe/models/update_on_prem_connector_wallet_details.rb +156 -0
  75. data/lib/oci/data_safe/models/work_request.rb +11 -6
  76. data/lib/oci/data_safe/models/work_request_error.rb +3 -4
  77. data/lib/oci/data_safe/models/work_request_log_entry.rb +3 -3
  78. data/lib/oci/data_safe/models/work_request_summary.rb +13 -8
  79. data/lib/oci/data_science/data_science_client.rb +34 -0
  80. data/lib/oci/database/database.rb +4 -8
  81. data/lib/oci/database/database_client.rb +523 -766
  82. data/lib/oci/database/database_client_composite_operations.rb +1299 -330
  83. data/lib/oci/database/models/activate_exadata_infrastructure_details.rb +2 -1
  84. data/lib/oci/database/models/autonomous_container_database.rb +3 -3
  85. data/lib/oci/database/models/autonomous_container_database_dataguard_association.rb +2 -2
  86. data/lib/oci/database/models/autonomous_container_database_summary.rb +3 -3
  87. data/lib/oci/database/models/autonomous_data_warehouse.rb +8 -21
  88. data/lib/oci/database/models/autonomous_data_warehouse_summary.rb +8 -21
  89. data/lib/oci/database/models/autonomous_database.rb +35 -3
  90. data/lib/oci/database/models/autonomous_database_apex.rb +169 -0
  91. data/lib/oci/database/models/autonomous_database_dataguard_association.rb +2 -2
  92. data/lib/oci/database/models/autonomous_database_summary.rb +35 -3
  93. data/lib/oci/database/models/autonomous_db_preview_version_summary.rb +2 -0
  94. data/lib/oci/database/models/autonomous_db_version_summary.rb +2 -0
  95. data/lib/oci/database/models/backup.rb +19 -5
  96. data/lib/oci/database/models/backup_summary.rb +19 -5
  97. data/lib/oci/database/models/change_cloud_exadata_infrastructure_compartment_details.rb +1 -1
  98. data/lib/oci/database/models/change_cloud_vm_cluster_compartment_details.rb +1 -1
  99. data/lib/oci/database/models/cloud_exadata_infrastructure.rb +2 -1
  100. data/lib/oci/database/models/cloud_exadata_infrastructure_summary.rb +2 -1
  101. data/lib/oci/database/models/cloud_vm_cluster.rb +1 -1
  102. data/lib/oci/database/models/cloud_vm_cluster_summary.rb +1 -1
  103. data/lib/oci/database/models/create_autonomous_container_database_details.rb +1 -1
  104. data/lib/oci/database/models/create_autonomous_database_base.rb +7 -3
  105. data/lib/oci/database/models/create_cloud_exadata_infrastructure_details.rb +1 -1
  106. data/lib/oci/database/models/create_cloud_vm_cluster_details.rb +2 -1
  107. data/lib/oci/database/models/create_database_base.rb +33 -4
  108. data/lib/oci/database/models/create_database_from_backup.rb +9 -1
  109. data/lib/oci/database/models/create_db_home_base.rb +30 -1
  110. data/lib/oci/database/models/create_db_home_with_db_system_id_details.rb +9 -1
  111. data/lib/oci/database/models/create_db_home_with_db_system_id_from_backup_details.rb +9 -1
  112. data/lib/oci/database/models/create_db_home_with_db_system_id_from_database_details.rb +9 -1
  113. data/lib/oci/database/models/create_db_home_with_vm_cluster_id_details.rb +9 -1
  114. data/lib/oci/database/models/create_db_home_with_vm_cluster_id_from_backup_details.rb +9 -1
  115. data/lib/oci/database/models/create_exadata_infrastructure_details.rb +16 -2
  116. data/lib/oci/database/models/create_new_database_details.rb +9 -1
  117. data/lib/oci/database/models/create_vm_cluster_details.rb +2 -1
  118. data/lib/oci/database/models/database.rb +16 -2
  119. data/lib/oci/database/models/database_summary.rb +16 -2
  120. data/lib/oci/database/models/db_home.rb +16 -2
  121. data/lib/oci/database/models/db_home_summary.rb +16 -2
  122. data/lib/oci/database/models/db_system.rb +16 -2
  123. data/lib/oci/database/models/db_system_summary.rb +16 -2
  124. data/lib/oci/database/models/exadata_db_system_migration.rb +1 -1
  125. data/lib/oci/database/models/exadata_db_system_migration_summary.rb +1 -1
  126. data/lib/oci/database/models/exadata_infrastructure.rb +15 -1
  127. data/lib/oci/database/models/exadata_infrastructure_summary.rb +18 -2
  128. data/lib/oci/database/models/flex_component_collection.rb +150 -0
  129. data/lib/oci/database/models/flex_component_summary.rb +197 -0
  130. data/lib/oci/database/models/generate_recommended_network_details.rb +1 -1
  131. data/lib/oci/database/models/launch_db_system_base.rb +30 -1
  132. data/lib/oci/database/models/launch_db_system_details.rb +9 -1
  133. data/lib/oci/database/models/launch_db_system_from_backup_details.rb +9 -1
  134. data/lib/oci/database/models/launch_db_system_from_database_details.rb +9 -1
  135. data/lib/oci/database/models/launch_db_system_from_db_system_details.rb +9 -1
  136. data/lib/oci/database/models/maintenance_run.rb +2 -1
  137. data/lib/oci/database/models/maintenance_run_summary.rb +2 -1
  138. data/lib/oci/database/models/migrate_vault_key_details.rb +170 -0
  139. data/lib/oci/database/models/update_autonomous_container_database_details.rb +1 -1
  140. data/lib/oci/database/models/update_autonomous_database_details.rb +6 -2
  141. data/lib/oci/database/models/update_cloud_exadata_infrastructure_details.rb +1 -1
  142. data/lib/oci/database/models/update_cloud_vm_cluster_details.rb +3 -2
  143. data/lib/oci/database/models/update_database_details.rb +1 -1
  144. data/lib/oci/database/models/update_details.rb +1 -1
  145. data/lib/oci/database/models/update_exadata_infrastructure_details.rb +16 -2
  146. data/lib/oci/database/models/update_history_entry_summary.rb +2 -1
  147. data/lib/oci/database/models/update_summary.rb +1 -1
  148. data/lib/oci/database/models/update_vm_cluster_details.rb +3 -1
  149. data/lib/oci/database/models/update_vm_cluster_network_details.rb +1 -1
  150. data/lib/oci/database/models/vm_cluster.rb +2 -1
  151. data/lib/oci/database/models/vm_cluster_network_details.rb +1 -1
  152. data/lib/oci/database/models/vm_cluster_network_summary.rb +2 -1
  153. data/lib/oci/database/models/vm_cluster_summary.rb +1 -0
  154. data/lib/oci/database/models/vm_network_details.rb +2 -1
  155. data/lib/oci/dns/dns_client.rb +49 -0
  156. data/lib/oci/dts/appliance_export_job_client.rb +6 -0
  157. data/lib/oci/dts/shipping_vendors_client.rb +1 -0
  158. data/lib/oci/dts/transfer_appliance_client.rb +8 -0
  159. data/lib/oci/dts/transfer_appliance_entitlement_client.rb +3 -0
  160. data/lib/oci/dts/transfer_device_client.rb +5 -0
  161. data/lib/oci/dts/transfer_job_client.rb +6 -0
  162. data/lib/oci/dts/transfer_package_client.rb +7 -0
  163. data/lib/oci/email/email_client.rb +10 -0
  164. data/lib/oci/events/events_client.rb +6 -0
  165. data/lib/oci/file_storage/file_storage_client.rb +25 -0
  166. data/lib/oci/functions/functions_invoke_client.rb +1 -0
  167. data/lib/oci/functions/functions_management_client.rb +11 -0
  168. data/lib/oci/healthchecks/health_checks_client.rb +17 -0
  169. data/lib/oci/identity/identity_client.rb +120 -0
  170. data/lib/oci/identity/models/saml2_identity_provider.rb +12 -1
  171. data/lib/oci/integration/integration.rb +3 -0
  172. data/lib/oci/integration/integration_instance_client.rb +12 -0
  173. data/lib/oci/integration/models/create_custom_endpoint_details.rb +167 -0
  174. data/lib/oci/integration/models/create_integration_instance_details.rb +44 -1
  175. data/lib/oci/integration/models/custom_endpoint_details.rb +180 -0
  176. data/lib/oci/integration/models/integration_instance.rb +43 -1
  177. data/lib/oci/integration/models/integration_instance_summary.rb +43 -1
  178. data/lib/oci/integration/models/update_custom_endpoint_details.rb +167 -0
  179. data/lib/oci/integration/models/update_integration_instance_details.rb +47 -4
  180. data/lib/oci/key_management/kms_crypto_client.rb +4 -0
  181. data/lib/oci/key_management/kms_management_client.rb +31 -0
  182. data/lib/oci/key_management/kms_vault_client.rb +11 -0
  183. data/lib/oci/limits/limits_client.rb +4 -0
  184. data/lib/oci/limits/quotas_client.rb +5 -0
  185. data/lib/oci/load_balancer/load_balancer.rb +1 -0
  186. data/lib/oci/load_balancer/load_balancer_client.rb +56 -0
  187. data/lib/oci/load_balancer/models/create_load_balancer_details.rb +16 -1
  188. data/lib/oci/load_balancer/models/load_balancer.rb +14 -1
  189. data/lib/oci/load_balancer/models/shape_details.rb +180 -0
  190. data/lib/oci/load_balancer/models/ssl_configuration.rb +1 -1
  191. data/lib/oci/load_balancer/models/ssl_configuration_details.rb +1 -1
  192. data/lib/oci/load_balancer/models/update_load_balancer_shape_details.rb +22 -4
  193. data/lib/oci/log_analytics/log_analytics_client.rb +126 -0
  194. data/lib/oci/logging/logging_management_client.rb +32 -0
  195. data/lib/oci/loggingingestion/logging_client.rb +1 -0
  196. data/lib/oci/loggingsearch/log_search_client.rb +1 -0
  197. data/lib/oci/management_agent/management_agent.rb +2 -0
  198. data/lib/oci/management_agent/management_agent_client.rb +101 -0
  199. data/lib/oci/management_agent/models/availability_history_summary.rb +217 -0
  200. data/lib/oci/management_agent/models/availability_status.rb +12 -0
  201. data/lib/oci/management_agent/models/management_agent.rb +35 -1
  202. data/lib/oci/management_agent/models/management_agent_summary.rb +49 -1
  203. data/lib/oci/management_dashboard/dashx_apis_client.rb +14 -0
  204. data/lib/oci/marketplace/marketplace_client.rb +16 -0
  205. data/lib/oci/monitoring/monitoring_client.rb +12 -0
  206. data/lib/oci/mysql/channels_client.rb +625 -0
  207. data/lib/oci/mysql/channels_client_composite_operations.rb +271 -0
  208. data/lib/oci/mysql/db_backups_client.rb +11 -0
  209. data/lib/oci/mysql/db_system_client.rb +17 -0
  210. data/lib/oci/mysql/models/backup.rb +16 -3
  211. data/lib/oci/mysql/models/backup_summary.rb +17 -3
  212. data/lib/oci/mysql/models/ca_certificate.rb +189 -0
  213. data/lib/oci/mysql/models/channel.rb +340 -0
  214. data/lib/oci/mysql/models/channel_source.rb +189 -0
  215. data/lib/oci/mysql/models/channel_source_mysql.rb +230 -0
  216. data/lib/oci/mysql/models/channel_summary.rb +304 -0
  217. data/lib/oci/mysql/models/channel_target.rb +189 -0
  218. data/lib/oci/mysql/models/channel_target_db_system.rb +193 -0
  219. data/lib/oci/mysql/models/configuration.rb +2 -2
  220. data/lib/oci/mysql/models/configuration_summary.rb +2 -2
  221. data/lib/oci/mysql/models/configuration_variables.rb +30 -15
  222. data/lib/oci/mysql/models/create_backup_details.rb +2 -2
  223. data/lib/oci/mysql/models/create_backup_policy_details.rb +3 -0
  224. data/lib/oci/mysql/models/create_channel_details.rb +248 -0
  225. data/lib/oci/mysql/models/create_channel_source_details.rb +170 -0
  226. data/lib/oci/mysql/models/create_channel_source_from_mysql_details.rb +224 -0
  227. data/lib/oci/mysql/models/create_channel_target_details.rb +170 -0
  228. data/lib/oci/mysql/models/create_channel_target_from_db_system_details.rb +193 -0
  229. data/lib/oci/mysql/models/create_configuration_details.rb +2 -3
  230. data/lib/oci/mysql/models/create_db_system_details.rb +1 -1
  231. data/lib/oci/mysql/models/create_db_system_source_details.rb +1 -0
  232. data/lib/oci/mysql/models/create_db_system_source_from_none_details.rb +146 -0
  233. data/lib/oci/mysql/models/db_system.rb +15 -3
  234. data/lib/oci/mysql/models/db_system_snapshot.rb +437 -0
  235. data/lib/oci/mysql/models/db_system_source.rb +1 -0
  236. data/lib/oci/mysql/models/db_system_source_from_none.rb +146 -0
  237. data/lib/oci/mysql/models/db_system_summary.rb +2 -2
  238. data/lib/oci/mysql/models/pem_ca_certificate.rb +158 -0
  239. data/lib/oci/mysql/models/update_backup_details.rb +2 -2
  240. data/lib/oci/mysql/models/update_backup_policy_details.rb +3 -0
  241. data/lib/oci/mysql/models/update_channel_details.rb +234 -0
  242. data/lib/oci/mysql/models/update_channel_source_details.rb +171 -0
  243. data/lib/oci/mysql/models/update_channel_source_from_mysql_details.rb +224 -0
  244. data/lib/oci/mysql/models/update_channel_target_details.rb +170 -0
  245. data/lib/oci/mysql/models/update_channel_target_from_db_system_details.rb +179 -0
  246. data/lib/oci/mysql/models/update_configuration_details.rb +2 -2
  247. data/lib/oci/mysql/mysql.rb +23 -0
  248. data/lib/oci/mysql/mysqlaas_client.rb +7 -0
  249. data/lib/oci/mysql/work_requests_client.rb +4 -0
  250. data/lib/oci/nosql/nosql_client.rb +22 -0
  251. data/lib/oci/object_storage/models/object_lifecycle_rule.rb +11 -9
  252. data/lib/oci/object_storage/object_storage_client.rb +55 -6
  253. data/lib/oci/oce/oce_instance_client.rb +10 -0
  254. data/lib/oci/ocvp/esxi_host_client.rb +5 -0
  255. data/lib/oci/ocvp/sddc_client.rb +7 -0
  256. data/lib/oci/ocvp/work_request_client.rb +4 -0
  257. data/lib/oci/oda/oda_client.rb +12 -0
  258. data/lib/oci/ons/notification_control_plane_client.rb +6 -0
  259. data/lib/oci/ons/notification_data_plane_client.rb +10 -0
  260. data/lib/oci/opsi/models/sql_insight_aggregation.rb +2 -1
  261. data/lib/oci/opsi/models/sql_insight_thresholds.rb +21 -4
  262. data/lib/oci/opsi/operations_insights_client.rb +22 -3
  263. data/lib/oci/optimizer/optimizer_client.rb +22 -0
  264. data/lib/oci/os_management/os_management_client.rb +53 -0
  265. data/lib/oci/regions.rb +3 -0
  266. data/lib/oci/resource_manager/models/configuration_source_provider.rb +5 -1
  267. data/lib/oci/resource_manager/models/configuration_source_provider_summary.rb +3 -1
  268. data/lib/oci/resource_manager/models/create_configuration_source_provider_details.rb +4 -1
  269. data/lib/oci/resource_manager/models/create_github_access_token_configuration_source_provider_details.rb +200 -0
  270. data/lib/oci/resource_manager/models/create_gitlab_access_token_configuration_source_provider_details.rb +3 -3
  271. data/lib/oci/resource_manager/models/github_access_token_configuration_source_provider.rb +198 -0
  272. data/lib/oci/resource_manager/models/github_access_token_configuration_source_provider_summary.rb +198 -0
  273. data/lib/oci/resource_manager/models/gitlab_access_token_configuration_source_provider.rb +2 -2
  274. data/lib/oci/resource_manager/models/gitlab_access_token_configuration_source_provider_summary.rb +2 -2
  275. data/lib/oci/resource_manager/models/update_configuration_source_provider_details.rb +4 -1
  276. data/lib/oci/resource_manager/models/update_github_access_token_configuration_source_provider_details.rb +196 -0
  277. data/lib/oci/resource_manager/models/update_gitlab_access_token_configuration_source_provider_details.rb +3 -3
  278. data/lib/oci/resource_manager/resource_manager.rb +4 -0
  279. data/lib/oci/resource_manager/resource_manager_client.rb +36 -2
  280. data/lib/oci/resource_search/resource_search_client.rb +3 -0
  281. data/lib/oci/rover/models/change_rover_cluster_compartment_details.rb +155 -0
  282. data/lib/oci/{database/models/autonomous_data_warehouse_console_token_details.rb → rover/models/change_rover_entitlement_compartment_details.rb} +13 -23
  283. data/lib/oci/rover/models/change_rover_node_compartment_details.rb +155 -0
  284. data/lib/oci/rover/models/create_rover_cluster_details.rb +459 -0
  285. data/lib/oci/rover/models/create_rover_entitlement_details.rb +320 -0
  286. data/lib/oci/rover/models/create_rover_node_details.rb +501 -0
  287. data/lib/oci/rover/models/enclosure_type.rb +11 -0
  288. data/lib/oci/rover/models/lifecycle_state.rb +15 -0
  289. data/lib/oci/rover/models/node_type.rb +11 -0
  290. data/lib/oci/rover/models/rover_cluster.rb +610 -0
  291. data/lib/oci/rover/models/rover_cluster_certificate.rb +150 -0
  292. data/lib/oci/{database/models/restore_autonomous_data_warehouse_details.rb → rover/models/rover_cluster_collection.rb} +11 -12
  293. data/lib/oci/{database/models/create_autonomous_data_warehouse_details.rb → rover/models/rover_cluster_summary.rb} +99 -84
  294. data/lib/oci/rover/models/rover_entitlement.rb +363 -0
  295. data/lib/oci/rover/models/rover_entitlement_collection.rb +150 -0
  296. data/lib/oci/rover/models/rover_entitlement_summary.rb +285 -0
  297. data/lib/oci/rover/models/rover_node.rb +661 -0
  298. data/lib/oci/rover/models/rover_node_action_set_key_details.rb +154 -0
  299. data/lib/oci/rover/models/rover_node_certificate.rb +150 -0
  300. data/lib/oci/rover/models/rover_node_collection.rb +150 -0
  301. data/lib/oci/rover/models/rover_node_encryption_key.rb +154 -0
  302. data/lib/oci/rover/models/rover_node_get_rpt.rb +168 -0
  303. data/lib/oci/rover/models/rover_node_set_key.rb +154 -0
  304. data/lib/oci/rover/models/rover_node_summary.rb +323 -0
  305. data/lib/oci/rover/models/rover_workload.rb +264 -0
  306. data/lib/oci/rover/models/shipping_address.rb +276 -0
  307. data/lib/oci/rover/models/sort_orders.rb +11 -0
  308. data/lib/oci/rover/models/update_rover_cluster_details.rb +445 -0
  309. data/lib/oci/rover/models/update_rover_entitlement_details.rb +306 -0
  310. data/lib/oci/rover/models/update_rover_node_details.rb +487 -0
  311. data/lib/oci/rover/rover.rb +54 -0
  312. data/lib/oci/rover/rover_cluster_client.rb +549 -0
  313. data/lib/oci/rover/rover_cluster_client_composite_operations.rb +144 -0
  314. data/lib/oci/rover/rover_entitlement_client.rb +514 -0
  315. data/lib/oci/rover/rover_entitlement_client_composite_operations.rb +144 -0
  316. data/lib/oci/rover/rover_node_client.rb +738 -0
  317. data/lib/oci/rover/rover_node_client_composite_operations.rb +144 -0
  318. data/lib/oci/rover/util.rb +3 -0
  319. data/lib/oci/sch/service_connector_client.rb +12 -0
  320. data/lib/oci/secrets/secrets_client.rb +2 -0
  321. data/lib/oci/streaming/stream_admin_client.rb +18 -0
  322. data/lib/oci/streaming/stream_client.rb +8 -0
  323. data/lib/oci/tenant_manager_control_plane/link_client.rb +3 -0
  324. data/lib/oci/tenant_manager_control_plane/recipient_invitation_client.rb +5 -0
  325. data/lib/oci/tenant_manager_control_plane/sender_invitation_client.rb +5 -0
  326. data/lib/oci/tenant_manager_control_plane/work_request_client.rb +4 -0
  327. data/lib/oci/usage_api/usageapi_client.rb +2 -0
  328. data/lib/oci/vault/vaults_client.rb +11 -0
  329. data/lib/oci/version.rb +1 -1
  330. data/lib/oci/waas/redirect_client.rb +6 -0
  331. data/lib/oci/waas/waas_client.rb +66 -0
  332. data/lib/oci/work_requests/work_request_client.rb +4 -0
  333. metadata +91 -10
@@ -17,6 +17,11 @@ module OCI
17
17
  # @return [String]
18
18
  attr_accessor :metadata_url
19
19
 
20
+ # The XML that contains the information required for federating Identity with SAML2 Identity Provider.
21
+ #
22
+ # @return [String]
23
+ attr_accessor :metadata
24
+
20
25
  # **[Required]** The identity provider's signing certificate used by the IAM Service
21
26
  # to validate the SAML2 token.
22
27
  #
@@ -51,6 +56,7 @@ module OCI
51
56
  'freeform_tags': :'freeformTags',
52
57
  'defined_tags': :'definedTags',
53
58
  'metadata_url': :'metadataUrl',
59
+ 'metadata': :'metadata',
54
60
  'signing_certificate': :'signingCertificate',
55
61
  'redirect_url': :'redirectUrl',
56
62
  'freeform_attributes': :'freeformAttributes'
@@ -74,6 +80,7 @@ module OCI
74
80
  'freeform_tags': :'Hash<String, String>',
75
81
  'defined_tags': :'Hash<String, Hash<String, Object>>',
76
82
  'metadata_url': :'String',
83
+ 'metadata': :'String',
77
84
  'signing_certificate': :'String',
78
85
  'redirect_url': :'String',
79
86
  'freeform_attributes': :'Hash<String, String>'
@@ -98,6 +105,7 @@ module OCI
98
105
  # @option attributes [Hash<String, String>] :freeform_tags The value to assign to the {OCI::Identity::Models::IdentityProvider#freeform_tags #freeform_tags} proprety
99
106
  # @option attributes [Hash<String, Hash<String, Object>>] :defined_tags The value to assign to the {OCI::Identity::Models::IdentityProvider#defined_tags #defined_tags} proprety
100
107
  # @option attributes [String] :metadata_url The value to assign to the {#metadata_url} property
108
+ # @option attributes [String] :metadata The value to assign to the {#metadata} property
101
109
  # @option attributes [String] :signing_certificate The value to assign to the {#signing_certificate} property
102
110
  # @option attributes [String] :redirect_url The value to assign to the {#redirect_url} property
103
111
  # @option attributes [Hash<String, String>] :freeform_attributes The value to assign to the {#freeform_attributes} property
@@ -117,6 +125,8 @@ module OCI
117
125
 
118
126
  self.metadata_url = attributes[:'metadata_url'] if attributes[:'metadata_url']
119
127
 
128
+ self.metadata = attributes[:'metadata'] if attributes[:'metadata']
129
+
120
130
  self.signing_certificate = attributes[:'signingCertificate'] if attributes[:'signingCertificate']
121
131
 
122
132
  raise 'You cannot provide both :signingCertificate and :signing_certificate' if attributes.key?(:'signingCertificate') && attributes.key?(:'signing_certificate')
@@ -159,6 +169,7 @@ module OCI
159
169
  freeform_tags == other.freeform_tags &&
160
170
  defined_tags == other.defined_tags &&
161
171
  metadata_url == other.metadata_url &&
172
+ metadata == other.metadata &&
162
173
  signing_certificate == other.signing_certificate &&
163
174
  redirect_url == other.redirect_url &&
164
175
  freeform_attributes == other.freeform_attributes
@@ -177,7 +188,7 @@ module OCI
177
188
  # Calculates hash code according to all attributes.
178
189
  # @return [Fixnum] Hash code
179
190
  def hash
180
- [id, compartment_id, name, description, product_type, time_created, lifecycle_state, inactive_status, protocol, freeform_tags, defined_tags, metadata_url, signing_certificate, redirect_url, freeform_attributes].hash
191
+ [id, compartment_id, name, description, product_type, time_created, lifecycle_state, inactive_status, protocol, freeform_tags, defined_tags, metadata_url, metadata, signing_certificate, redirect_url, freeform_attributes].hash
181
192
  end
182
193
  # rubocop:enable Metrics/AbcSize, Layout/EmptyLines
183
194
 
@@ -12,9 +12,12 @@ end
12
12
 
13
13
  # Require models
14
14
  require 'oci/integration/models/change_integration_instance_compartment_details'
15
+ require 'oci/integration/models/create_custom_endpoint_details'
15
16
  require 'oci/integration/models/create_integration_instance_details'
17
+ require 'oci/integration/models/custom_endpoint_details'
16
18
  require 'oci/integration/models/integration_instance'
17
19
  require 'oci/integration/models/integration_instance_summary'
20
+ require 'oci/integration/models/update_custom_endpoint_details'
18
21
  require 'oci/integration/models/update_integration_instance_details'
19
22
  require 'oci/integration/models/work_request'
20
23
  require 'oci/integration/models/work_request_error'
@@ -120,6 +120,7 @@ module OCI
120
120
  # request might be rejected.
121
121
  #
122
122
  # @return [Response] A Response object with data of type nil
123
+ # @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/integration/change_integration_instance_compartment.rb.html) to see an example of how to use change_integration_instance_compartment API.
123
124
  def change_integration_instance_compartment(integration_instance_id, change_integration_instance_compartment_details, opts = {})
124
125
  logger.debug 'Calling operation IntegrationInstanceClient#change_integration_instance_compartment.' if logger
125
126
 
@@ -184,6 +185,7 @@ module OCI
184
185
  #
185
186
  # @option opts [String] :opc_request_id The client request ID for tracing.
186
187
  # @return [Response] A Response object with data of type nil
188
+ # @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/integration/create_integration_instance.rb.html) to see an example of how to use create_integration_instance API.
187
189
  def create_integration_instance(create_integration_instance_details, opts = {})
188
190
  logger.debug 'Calling operation IntegrationInstanceClient#create_integration_instance.' if logger
189
191
 
@@ -243,6 +245,7 @@ module OCI
243
245
  #
244
246
  # @option opts [String] :opc_request_id The client request ID for tracing.
245
247
  # @return [Response] A Response object with data of type nil
248
+ # @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/integration/delete_integration_instance.rb.html) to see an example of how to use delete_integration_instance API.
246
249
  def delete_integration_instance(integration_instance_id, opts = {})
247
250
  logger.debug 'Calling operation IntegrationInstanceClient#delete_integration_instance.' if logger
248
251
 
@@ -296,6 +299,7 @@ module OCI
296
299
  # retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
297
300
  # @option opts [String] :opc_request_id The client request ID for tracing.
298
301
  # @return [Response] A Response object with data of type {OCI::Integration::Models::IntegrationInstance IntegrationInstance}
302
+ # @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/integration/get_integration_instance.rb.html) to see an example of how to use get_integration_instance API.
299
303
  def get_integration_instance(integration_instance_id, opts = {})
300
304
  logger.debug 'Calling operation IntegrationInstanceClient#get_integration_instance.' if logger
301
305
 
@@ -349,6 +353,7 @@ module OCI
349
353
  # retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
350
354
  # @option opts [String] :opc_request_id The client request ID for tracing.
351
355
  # @return [Response] A Response object with data of type {OCI::Integration::Models::WorkRequest WorkRequest}
356
+ # @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/integration/get_work_request.rb.html) to see an example of how to use get_work_request API.
352
357
  def get_work_request(work_request_id, opts = {})
353
358
  logger.debug 'Calling operation IntegrationInstanceClient#get_work_request.' if logger
354
359
 
@@ -418,6 +423,7 @@ module OCI
418
423
  # Allowed values are: TIMECREATED, DISPLAYNAME
419
424
  # @option opts [String] :opc_request_id The client request ID for tracing.
420
425
  # @return [Response] A Response object with data of type Array<{OCI::Integration::Models::IntegrationInstanceSummary IntegrationInstanceSummary}>
426
+ # @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/integration/list_integration_instances.rb.html) to see an example of how to use list_integration_instances API.
421
427
  def list_integration_instances(compartment_id, opts = {})
422
428
  logger.debug 'Calling operation IntegrationInstanceClient#list_integration_instances.' if logger
423
429
 
@@ -492,6 +498,7 @@ module OCI
492
498
  # @option opts [Integer] :limit The maximum number of items to return. (default to 10)
493
499
  # @option opts [String] :page The page token representing the page at which to start retrieving results. This is usually retrieved from a previous list call.
494
500
  # @return [Response] A Response object with data of type Array<{OCI::Integration::Models::WorkRequestError WorkRequestError}>
501
+ # @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/integration/list_work_request_errors.rb.html) to see an example of how to use list_work_request_errors API.
495
502
  def list_work_request_errors(compartment_id, work_request_id, opts = {})
496
503
  logger.debug 'Calling operation IntegrationInstanceClient#list_work_request_errors.' if logger
497
504
 
@@ -552,6 +559,7 @@ module OCI
552
559
  # @option opts [Integer] :limit The maximum number of items to return. (default to 10)
553
560
  # @option opts [String] :page The page token representing the page at which to start retrieving results. This is usually retrieved from a previous list call.
554
561
  # @return [Response] A Response object with data of type Array<{OCI::Integration::Models::WorkRequestLogEntry WorkRequestLogEntry}>
562
+ # @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/integration/list_work_request_logs.rb.html) to see an example of how to use list_work_request_logs API.
555
563
  def list_work_request_logs(compartment_id, work_request_id, opts = {})
556
564
  logger.debug 'Calling operation IntegrationInstanceClient#list_work_request_logs.' if logger
557
565
 
@@ -613,6 +621,7 @@ module OCI
613
621
  # @option opts [Integer] :limit The maximum number of items to return. (default to 10)
614
622
  # @option opts [String] :integration_instance_id The Integration Instance identifier to use to filter results
615
623
  # @return [Response] A Response object with data of type Array<{OCI::Integration::Models::WorkRequestSummary WorkRequestSummary}>
624
+ # @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/integration/list_work_requests.rb.html) to see an example of how to use list_work_requests API.
616
625
  def list_work_requests(compartment_id, opts = {})
617
626
  logger.debug 'Calling operation IntegrationInstanceClient#list_work_requests.' if logger
618
627
 
@@ -683,6 +692,7 @@ module OCI
683
692
  # request might be rejected.
684
693
  #
685
694
  # @return [Response] A Response object with data of type nil
695
+ # @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/integration/start_integration_instance.rb.html) to see an example of how to use start_integration_instance API.
686
696
  def start_integration_instance(integration_instance_id, opts = {})
687
697
  logger.debug 'Calling operation IntegrationInstanceClient#start_integration_instance.' if logger
688
698
 
@@ -752,6 +762,7 @@ module OCI
752
762
  # request might be rejected.
753
763
  #
754
764
  # @return [Response] A Response object with data of type nil
765
+ # @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/integration/stop_integration_instance.rb.html) to see an example of how to use stop_integration_instance API.
755
766
  def stop_integration_instance(integration_instance_id, opts = {})
756
767
  logger.debug 'Calling operation IntegrationInstanceClient#stop_integration_instance.' if logger
757
768
 
@@ -814,6 +825,7 @@ module OCI
814
825
  #
815
826
  # @option opts [String] :opc_request_id The client request ID for tracing.
816
827
  # @return [Response] A Response object with data of type nil
828
+ # @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/integration/update_integration_instance.rb.html) to see an example of how to use update_integration_instance API.
817
829
  def update_integration_instance(integration_instance_id, update_integration_instance_details, opts = {})
818
830
  logger.debug 'Calling operation IntegrationInstanceClient#update_integration_instance.' if logger
819
831
 
@@ -0,0 +1,167 @@
1
+ # Copyright (c) 2016, 2020, Oracle and/or its affiliates. All rights reserved.
2
+ # This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
3
+
4
+ require 'date'
5
+
6
+ # rubocop:disable Lint/UnneededCopDisableDirective, Metrics/LineLength
7
+ module OCI
8
+ # Details for a custom endpoint for the integration instance (update).
9
+ class Integration::Models::CreateCustomEndpointDetails
10
+ # **[Required]** A custom hostname to be used for the integration instance URL, in FQDN format.
11
+ # @return [String]
12
+ attr_accessor :hostname
13
+
14
+ # Optional OCID of a vault/secret containing a private SSL certificate bundle to be used for the custom hostname.
15
+ # All certificates should be stored in a single base64 encoded secret
16
+ # Note the update will fail if this is not a valid certificate.
17
+ #
18
+ # @return [String]
19
+ attr_accessor :certificate_secret_id
20
+
21
+ # Attribute mapping from ruby-style variable name to JSON key.
22
+ def self.attribute_map
23
+ {
24
+ # rubocop:disable Style/SymbolLiteral
25
+ 'hostname': :'hostname',
26
+ 'certificate_secret_id': :'certificateSecretId'
27
+ # rubocop:enable Style/SymbolLiteral
28
+ }
29
+ end
30
+
31
+ # Attribute type mapping.
32
+ def self.swagger_types
33
+ {
34
+ # rubocop:disable Style/SymbolLiteral
35
+ 'hostname': :'String',
36
+ 'certificate_secret_id': :'String'
37
+ # rubocop:enable Style/SymbolLiteral
38
+ }
39
+ end
40
+
41
+ # rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
42
+ # rubocop:disable Metrics/MethodLength, Layout/EmptyLines, Style/SymbolLiteral
43
+
44
+
45
+ # Initializes the object
46
+ # @param [Hash] attributes Model attributes in the form of hash
47
+ # @option attributes [String] :hostname The value to assign to the {#hostname} property
48
+ # @option attributes [String] :certificate_secret_id The value to assign to the {#certificate_secret_id} property
49
+ def initialize(attributes = {})
50
+ return unless attributes.is_a?(Hash)
51
+
52
+ # convert string to symbol for hash key
53
+ attributes = attributes.each_with_object({}) { |(k, v), h| h[k.to_sym] = v }
54
+
55
+ self.hostname = attributes[:'hostname'] if attributes[:'hostname']
56
+
57
+ self.certificate_secret_id = attributes[:'certificateSecretId'] if attributes[:'certificateSecretId']
58
+
59
+ raise 'You cannot provide both :certificateSecretId and :certificate_secret_id' if attributes.key?(:'certificateSecretId') && attributes.key?(:'certificate_secret_id')
60
+
61
+ self.certificate_secret_id = attributes[:'certificate_secret_id'] if attributes[:'certificate_secret_id']
62
+ end
63
+ # rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
64
+ # rubocop:enable Metrics/MethodLength, Layout/EmptyLines, Style/SymbolLiteral
65
+
66
+ # rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity, Layout/EmptyLines
67
+
68
+
69
+ # Checks equality by comparing each attribute.
70
+ # @param [Object] other the other object to be compared
71
+ def ==(other)
72
+ return true if equal?(other)
73
+
74
+ self.class == other.class &&
75
+ hostname == other.hostname &&
76
+ certificate_secret_id == other.certificate_secret_id
77
+ end
78
+ # rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity, Layout/EmptyLines
79
+
80
+ # @see the `==` method
81
+ # @param [Object] other the other object to be compared
82
+ def eql?(other)
83
+ self == other
84
+ end
85
+
86
+ # rubocop:disable Metrics/AbcSize, Layout/EmptyLines
87
+
88
+
89
+ # Calculates hash code according to all attributes.
90
+ # @return [Fixnum] Hash code
91
+ def hash
92
+ [hostname, certificate_secret_id].hash
93
+ end
94
+ # rubocop:enable Metrics/AbcSize, Layout/EmptyLines
95
+
96
+ # rubocop:disable Metrics/AbcSize, Layout/EmptyLines
97
+
98
+
99
+ # Builds the object from hash
100
+ # @param [Hash] attributes Model attributes in the form of hash
101
+ # @return [Object] Returns the model itself
102
+ def build_from_hash(attributes)
103
+ return nil unless attributes.is_a?(Hash)
104
+
105
+ self.class.swagger_types.each_pair do |key, type|
106
+ if type =~ /^Array<(.*)>/i
107
+ # check to ensure the input is an array given that the the attribute
108
+ # is documented as an array but the input is not
109
+ if attributes[self.class.attribute_map[key]].is_a?(Array)
110
+ public_method("#{key}=").call(
111
+ attributes[self.class.attribute_map[key]]
112
+ .map { |v| OCI::Internal::Util.convert_to_type(Regexp.last_match(1), v) }
113
+ )
114
+ end
115
+ elsif !attributes[self.class.attribute_map[key]].nil?
116
+ public_method("#{key}=").call(
117
+ OCI::Internal::Util.convert_to_type(type, attributes[self.class.attribute_map[key]])
118
+ )
119
+ end
120
+ # or else data not found in attributes(hash), not an issue as the data can be optional
121
+ end
122
+
123
+ self
124
+ end
125
+ # rubocop:enable Metrics/AbcSize, Layout/EmptyLines
126
+
127
+ # Returns the string representation of the object
128
+ # @return [String] String presentation of the object
129
+ def to_s
130
+ to_hash.to_s
131
+ end
132
+
133
+ # Returns the object in the form of hash
134
+ # @return [Hash] Returns the object in the form of hash
135
+ def to_hash
136
+ hash = {}
137
+ self.class.attribute_map.each_pair do |attr, param|
138
+ value = public_method(attr).call
139
+ next if value.nil? && !instance_variable_defined?("@#{attr}")
140
+
141
+ hash[param] = _to_hash(value)
142
+ end
143
+ hash
144
+ end
145
+
146
+ private
147
+
148
+ # Outputs non-array value in the form of hash
149
+ # For object, use to_hash. Otherwise, just return the value
150
+ # @param [Object] value Any valid value
151
+ # @return [Hash] Returns the value in the form of hash
152
+ def _to_hash(value)
153
+ if value.is_a?(Array)
154
+ value.compact.map { |v| _to_hash(v) }
155
+ elsif value.is_a?(Hash)
156
+ {}.tap do |hash|
157
+ value.each { |k, v| hash[k] = _to_hash(v) }
158
+ end
159
+ elsif value.respond_to? :to_hash
160
+ value.to_hash
161
+ else
162
+ value
163
+ end
164
+ end
165
+ end
166
+ end
167
+ # rubocop:enable Lint/UnneededCopDisableDirective, Metrics/LineLength
@@ -56,6 +56,19 @@ module OCI
56
56
  # @return [Integer]
57
57
  attr_accessor :message_packs
58
58
 
59
+ # Visual Builder is enabled or not.
60
+ # @return [BOOLEAN]
61
+ attr_accessor :is_visual_builder_enabled
62
+
63
+ # @return [OCI::Integration::Models::CreateCustomEndpointDetails]
64
+ attr_accessor :custom_endpoint
65
+
66
+ # A list of alternate custom endpoints to be used for the integration instance URL
67
+ # (contact Oracle for alternateCustomEndpoints availability for a specific instance).
68
+ #
69
+ # @return [Array<OCI::Integration::Models::CreateCustomEndpointDetails>]
70
+ attr_accessor :alternate_custom_endpoints
71
+
59
72
  # Optional parameter specifying which entitlement to use for billing purposes. Only required if the account possesses more than one entitlement.
60
73
  # @return [String]
61
74
  attr_reader :consumption_model
@@ -76,6 +89,9 @@ module OCI
76
89
  'is_byol': :'isByol',
77
90
  'idcs_at': :'idcsAt',
78
91
  'message_packs': :'messagePacks',
92
+ 'is_visual_builder_enabled': :'isVisualBuilderEnabled',
93
+ 'custom_endpoint': :'customEndpoint',
94
+ 'alternate_custom_endpoints': :'alternateCustomEndpoints',
79
95
  'consumption_model': :'consumptionModel',
80
96
  'is_file_server_enabled': :'isFileServerEnabled'
81
97
  # rubocop:enable Style/SymbolLiteral
@@ -94,6 +110,9 @@ module OCI
94
110
  'is_byol': :'BOOLEAN',
95
111
  'idcs_at': :'String',
96
112
  'message_packs': :'Integer',
113
+ 'is_visual_builder_enabled': :'BOOLEAN',
114
+ 'custom_endpoint': :'OCI::Integration::Models::CreateCustomEndpointDetails',
115
+ 'alternate_custom_endpoints': :'Array<OCI::Integration::Models::CreateCustomEndpointDetails>',
97
116
  'consumption_model': :'String',
98
117
  'is_file_server_enabled': :'BOOLEAN'
99
118
  # rubocop:enable Style/SymbolLiteral
@@ -114,6 +133,9 @@ module OCI
114
133
  # @option attributes [BOOLEAN] :is_byol The value to assign to the {#is_byol} property
115
134
  # @option attributes [String] :idcs_at The value to assign to the {#idcs_at} property
116
135
  # @option attributes [Integer] :message_packs The value to assign to the {#message_packs} property
136
+ # @option attributes [BOOLEAN] :is_visual_builder_enabled The value to assign to the {#is_visual_builder_enabled} property
137
+ # @option attributes [OCI::Integration::Models::CreateCustomEndpointDetails] :custom_endpoint The value to assign to the {#custom_endpoint} property
138
+ # @option attributes [Array<OCI::Integration::Models::CreateCustomEndpointDetails>] :alternate_custom_endpoints The value to assign to the {#alternate_custom_endpoints} property
117
139
  # @option attributes [String] :consumption_model The value to assign to the {#consumption_model} property
118
140
  # @option attributes [BOOLEAN] :is_file_server_enabled The value to assign to the {#is_file_server_enabled} property
119
141
  def initialize(attributes = {})
@@ -170,6 +192,24 @@ module OCI
170
192
 
171
193
  self.message_packs = attributes[:'message_packs'] if attributes[:'message_packs']
172
194
 
195
+ self.is_visual_builder_enabled = attributes[:'isVisualBuilderEnabled'] unless attributes[:'isVisualBuilderEnabled'].nil?
196
+
197
+ raise 'You cannot provide both :isVisualBuilderEnabled and :is_visual_builder_enabled' if attributes.key?(:'isVisualBuilderEnabled') && attributes.key?(:'is_visual_builder_enabled')
198
+
199
+ self.is_visual_builder_enabled = attributes[:'is_visual_builder_enabled'] unless attributes[:'is_visual_builder_enabled'].nil?
200
+
201
+ self.custom_endpoint = attributes[:'customEndpoint'] if attributes[:'customEndpoint']
202
+
203
+ raise 'You cannot provide both :customEndpoint and :custom_endpoint' if attributes.key?(:'customEndpoint') && attributes.key?(:'custom_endpoint')
204
+
205
+ self.custom_endpoint = attributes[:'custom_endpoint'] if attributes[:'custom_endpoint']
206
+
207
+ self.alternate_custom_endpoints = attributes[:'alternateCustomEndpoints'] if attributes[:'alternateCustomEndpoints']
208
+
209
+ raise 'You cannot provide both :alternateCustomEndpoints and :alternate_custom_endpoints' if attributes.key?(:'alternateCustomEndpoints') && attributes.key?(:'alternate_custom_endpoints')
210
+
211
+ self.alternate_custom_endpoints = attributes[:'alternate_custom_endpoints'] if attributes[:'alternate_custom_endpoints']
212
+
173
213
  self.consumption_model = attributes[:'consumptionModel'] if attributes[:'consumptionModel']
174
214
 
175
215
  raise 'You cannot provide both :consumptionModel and :consumption_model' if attributes.key?(:'consumptionModel') && attributes.key?(:'consumption_model')
@@ -220,6 +260,9 @@ module OCI
220
260
  is_byol == other.is_byol &&
221
261
  idcs_at == other.idcs_at &&
222
262
  message_packs == other.message_packs &&
263
+ is_visual_builder_enabled == other.is_visual_builder_enabled &&
264
+ custom_endpoint == other.custom_endpoint &&
265
+ alternate_custom_endpoints == other.alternate_custom_endpoints &&
223
266
  consumption_model == other.consumption_model &&
224
267
  is_file_server_enabled == other.is_file_server_enabled
225
268
  end
@@ -237,7 +280,7 @@ module OCI
237
280
  # Calculates hash code according to all attributes.
238
281
  # @return [Fixnum] Hash code
239
282
  def hash
240
- [display_name, compartment_id, integration_instance_type, freeform_tags, defined_tags, is_byol, idcs_at, message_packs, consumption_model, is_file_server_enabled].hash
283
+ [display_name, compartment_id, integration_instance_type, freeform_tags, defined_tags, is_byol, idcs_at, message_packs, is_visual_builder_enabled, custom_endpoint, alternate_custom_endpoints, consumption_model, is_file_server_enabled].hash
241
284
  end
242
285
  # rubocop:enable Metrics/AbcSize, Layout/EmptyLines
243
286
 
@@ -0,0 +1,180 @@
1
+ # Copyright (c) 2016, 2020, Oracle and/or its affiliates. All rights reserved.
2
+ # This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
3
+
4
+ require 'date'
5
+
6
+ # rubocop:disable Lint/UnneededCopDisableDirective, Metrics/LineLength
7
+ module OCI
8
+ # Details for a custom endpoint for the integration instance.
9
+ class Integration::Models::CustomEndpointDetails
10
+ # **[Required]** A custom hostname to be used for the integration instance URL, in FQDN format.
11
+ # @return [String]
12
+ attr_accessor :hostname
13
+
14
+ # Optional OCID of a vault/secret containing a private SSL certificate bundle to be used for the custom hostname.
15
+ #
16
+ # @return [String]
17
+ attr_accessor :certificate_secret_id
18
+
19
+ # The secret version used for the certificate-secret-id (if certificate-secret-id is specified).
20
+ #
21
+ # @return [Integer]
22
+ attr_accessor :certificate_secret_version
23
+
24
+ # Attribute mapping from ruby-style variable name to JSON key.
25
+ def self.attribute_map
26
+ {
27
+ # rubocop:disable Style/SymbolLiteral
28
+ 'hostname': :'hostname',
29
+ 'certificate_secret_id': :'certificateSecretId',
30
+ 'certificate_secret_version': :'certificateSecretVersion'
31
+ # rubocop:enable Style/SymbolLiteral
32
+ }
33
+ end
34
+
35
+ # Attribute type mapping.
36
+ def self.swagger_types
37
+ {
38
+ # rubocop:disable Style/SymbolLiteral
39
+ 'hostname': :'String',
40
+ 'certificate_secret_id': :'String',
41
+ 'certificate_secret_version': :'Integer'
42
+ # rubocop:enable Style/SymbolLiteral
43
+ }
44
+ end
45
+
46
+ # rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
47
+ # rubocop:disable Metrics/MethodLength, Layout/EmptyLines, Style/SymbolLiteral
48
+
49
+
50
+ # Initializes the object
51
+ # @param [Hash] attributes Model attributes in the form of hash
52
+ # @option attributes [String] :hostname The value to assign to the {#hostname} property
53
+ # @option attributes [String] :certificate_secret_id The value to assign to the {#certificate_secret_id} property
54
+ # @option attributes [Integer] :certificate_secret_version The value to assign to the {#certificate_secret_version} property
55
+ def initialize(attributes = {})
56
+ return unless attributes.is_a?(Hash)
57
+
58
+ # convert string to symbol for hash key
59
+ attributes = attributes.each_with_object({}) { |(k, v), h| h[k.to_sym] = v }
60
+
61
+ self.hostname = attributes[:'hostname'] if attributes[:'hostname']
62
+
63
+ self.certificate_secret_id = attributes[:'certificateSecretId'] if attributes[:'certificateSecretId']
64
+
65
+ raise 'You cannot provide both :certificateSecretId and :certificate_secret_id' if attributes.key?(:'certificateSecretId') && attributes.key?(:'certificate_secret_id')
66
+
67
+ self.certificate_secret_id = attributes[:'certificate_secret_id'] if attributes[:'certificate_secret_id']
68
+
69
+ self.certificate_secret_version = attributes[:'certificateSecretVersion'] if attributes[:'certificateSecretVersion']
70
+
71
+ raise 'You cannot provide both :certificateSecretVersion and :certificate_secret_version' if attributes.key?(:'certificateSecretVersion') && attributes.key?(:'certificate_secret_version')
72
+
73
+ self.certificate_secret_version = attributes[:'certificate_secret_version'] if attributes[:'certificate_secret_version']
74
+ end
75
+ # rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
76
+ # rubocop:enable Metrics/MethodLength, Layout/EmptyLines, Style/SymbolLiteral
77
+
78
+ # rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity, Layout/EmptyLines
79
+
80
+
81
+ # Checks equality by comparing each attribute.
82
+ # @param [Object] other the other object to be compared
83
+ def ==(other)
84
+ return true if equal?(other)
85
+
86
+ self.class == other.class &&
87
+ hostname == other.hostname &&
88
+ certificate_secret_id == other.certificate_secret_id &&
89
+ certificate_secret_version == other.certificate_secret_version
90
+ end
91
+ # rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity, Layout/EmptyLines
92
+
93
+ # @see the `==` method
94
+ # @param [Object] other the other object to be compared
95
+ def eql?(other)
96
+ self == other
97
+ end
98
+
99
+ # rubocop:disable Metrics/AbcSize, Layout/EmptyLines
100
+
101
+
102
+ # Calculates hash code according to all attributes.
103
+ # @return [Fixnum] Hash code
104
+ def hash
105
+ [hostname, certificate_secret_id, certificate_secret_version].hash
106
+ end
107
+ # rubocop:enable Metrics/AbcSize, Layout/EmptyLines
108
+
109
+ # rubocop:disable Metrics/AbcSize, Layout/EmptyLines
110
+
111
+
112
+ # Builds the object from hash
113
+ # @param [Hash] attributes Model attributes in the form of hash
114
+ # @return [Object] Returns the model itself
115
+ def build_from_hash(attributes)
116
+ return nil unless attributes.is_a?(Hash)
117
+
118
+ self.class.swagger_types.each_pair do |key, type|
119
+ if type =~ /^Array<(.*)>/i
120
+ # check to ensure the input is an array given that the the attribute
121
+ # is documented as an array but the input is not
122
+ if attributes[self.class.attribute_map[key]].is_a?(Array)
123
+ public_method("#{key}=").call(
124
+ attributes[self.class.attribute_map[key]]
125
+ .map { |v| OCI::Internal::Util.convert_to_type(Regexp.last_match(1), v) }
126
+ )
127
+ end
128
+ elsif !attributes[self.class.attribute_map[key]].nil?
129
+ public_method("#{key}=").call(
130
+ OCI::Internal::Util.convert_to_type(type, attributes[self.class.attribute_map[key]])
131
+ )
132
+ end
133
+ # or else data not found in attributes(hash), not an issue as the data can be optional
134
+ end
135
+
136
+ self
137
+ end
138
+ # rubocop:enable Metrics/AbcSize, Layout/EmptyLines
139
+
140
+ # Returns the string representation of the object
141
+ # @return [String] String presentation of the object
142
+ def to_s
143
+ to_hash.to_s
144
+ end
145
+
146
+ # Returns the object in the form of hash
147
+ # @return [Hash] Returns the object in the form of hash
148
+ def to_hash
149
+ hash = {}
150
+ self.class.attribute_map.each_pair do |attr, param|
151
+ value = public_method(attr).call
152
+ next if value.nil? && !instance_variable_defined?("@#{attr}")
153
+
154
+ hash[param] = _to_hash(value)
155
+ end
156
+ hash
157
+ end
158
+
159
+ private
160
+
161
+ # Outputs non-array value in the form of hash
162
+ # For object, use to_hash. Otherwise, just return the value
163
+ # @param [Object] value Any valid value
164
+ # @return [Hash] Returns the value in the form of hash
165
+ def _to_hash(value)
166
+ if value.is_a?(Array)
167
+ value.compact.map { |v| _to_hash(v) }
168
+ elsif value.is_a?(Hash)
169
+ {}.tap do |hash|
170
+ value.each { |k, v| hash[k] = _to_hash(v) }
171
+ end
172
+ elsif value.respond_to? :to_hash
173
+ value.to_hash
174
+ else
175
+ value
176
+ end
177
+ end
178
+ end
179
+ end
180
+ # rubocop:enable Lint/UnneededCopDisableDirective, Metrics/LineLength