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
@@ -0,0 +1,271 @@
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
+ # rubocop:disable Lint/UnneededCopDisableDirective, Metrics/LineLength
5
+ module OCI
6
+ # This class provides a wrapper around {OCI::Mysql::ChannelsClient} and offers convenience methods
7
+ # for operations that would otherwise need to be chained together. For example, instead of performing an action
8
+ # on a resource (e.g. launching an instance, creating a load balancer) and then using a waiter to wait for the resource
9
+ # to enter a given state, you can call a single method in this class to accomplish the same functionality
10
+ class Mysql::ChannelsClientCompositeOperations
11
+ # The {OCI::Mysql::ChannelsClient} used to communicate with the service_client
12
+ #
13
+ # @return [OCI::Mysql::ChannelsClient]
14
+ attr_reader :service_client
15
+
16
+ # Initializes a new ChannelsClientCompositeOperations
17
+ #
18
+ # @param [OCI::Mysql::ChannelsClient] service_client The client used to communicate with the service.
19
+ # Defaults to a new service client created via {OCI::Mysql::ChannelsClient#initialize} with no arguments
20
+ def initialize(service_client = OCI::Mysql::ChannelsClient.new)
21
+ @service_client = service_client
22
+ end
23
+
24
+ # rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/ParameterLists, Metrics/PerceivedComplexity
25
+ # rubocop:disable Layout/EmptyLines
26
+
27
+
28
+ # Calls {OCI::Mysql::ChannelsClient#create_channel} and then waits for the {OCI::Mysql::Models::WorkRequest}
29
+ # to enter the given state(s).
30
+ #
31
+ # @param [OCI::Mysql::Models::CreateChannelDetails] create_channel_details The parameters of the request to create the Channel.
32
+ # @param [Array<String>] wait_for_states An array of states to wait on. These should be valid values for {OCI::Mysql::Models::WorkRequest#status}
33
+ # @param [Hash] base_operation_opts Any optional arguments accepted by {OCI::Mysql::ChannelsClient#create_channel}
34
+ # @param [Hash] waiter_opts Optional arguments for the waiter. Keys should be symbols, and the following keys are supported:
35
+ # * max_interval_seconds: The maximum interval between queries, in seconds.
36
+ # * max_wait_seconds The maximum time to wait, in seconds
37
+ #
38
+ # @return [OCI::Response] A {OCI::Response} object containing the completed {OCI::Mysql::Models::WorkRequest}
39
+ def create_channel_and_wait_for_state(create_channel_details, wait_for_states = [], base_operation_opts = {}, waiter_opts = {})
40
+ operation_result = @service_client.create_channel(create_channel_details, base_operation_opts)
41
+ use_util = OCI::Mysql::Util.respond_to?(:wait_on_work_request)
42
+
43
+ return operation_result if wait_for_states.empty? && !use_util
44
+
45
+ lowered_wait_for_states = wait_for_states.map(&:downcase)
46
+ wait_for_resource_id = operation_result.headers['opc-work-request-id']
47
+
48
+ begin
49
+ if use_util
50
+ waiter_result = OCI::Mysql::Util.wait_on_work_request(
51
+ @service_client,
52
+ wait_for_resource_id,
53
+ max_interval_seconds: waiter_opts.key?(:max_interval_seconds) ? waiter_opts[:max_interval_seconds] : 30,
54
+ max_wait_seconds: waiter_opts.key?(:max_wait_seconds) ? waiter_opts[:max_wait_seconds] : 1200
55
+ )
56
+ else
57
+ waiter_result = @service_client.get_work_request(wait_for_resource_id).wait_until(
58
+ eval_proc: ->(response) { response.data.respond_to?(:status) && lowered_wait_for_states.include?(response.data.status.downcase) },
59
+ max_interval_seconds: waiter_opts.key?(:max_interval_seconds) ? waiter_opts[:max_interval_seconds] : 30,
60
+ max_wait_seconds: waiter_opts.key?(:max_wait_seconds) ? waiter_opts[:max_wait_seconds] : 1200
61
+ )
62
+ end
63
+ result_to_return = waiter_result
64
+
65
+ return result_to_return
66
+ rescue StandardError
67
+ raise OCI::Errors::CompositeOperationError.new(partial_results: [operation_result])
68
+ end
69
+ end
70
+ # rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/ParameterLists, Metrics/PerceivedComplexity
71
+ # rubocop:enable Layout/EmptyLines
72
+
73
+ # rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/ParameterLists, Metrics/PerceivedComplexity
74
+ # rubocop:disable Layout/EmptyLines
75
+
76
+
77
+ # Calls {OCI::Mysql::ChannelsClient#delete_channel} and then waits for the {OCI::Mysql::Models::WorkRequest}
78
+ # to enter the given state(s).
79
+ #
80
+ # @param [String] channel_id The Channel [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm).
81
+ # @param [Array<String>] wait_for_states An array of states to wait on. These should be valid values for {OCI::Mysql::Models::WorkRequest#status}
82
+ # @param [Hash] base_operation_opts Any optional arguments accepted by {OCI::Mysql::ChannelsClient#delete_channel}
83
+ # @param [Hash] waiter_opts Optional arguments for the waiter. Keys should be symbols, and the following keys are supported:
84
+ # * max_interval_seconds: The maximum interval between queries, in seconds.
85
+ # * max_wait_seconds The maximum time to wait, in seconds
86
+ #
87
+ # @return [OCI::Response] A {OCI::Response} object containing the completed {OCI::Mysql::Models::WorkRequest}
88
+ def delete_channel_and_wait_for_state(channel_id, wait_for_states = [], base_operation_opts = {}, waiter_opts = {})
89
+ operation_result = @service_client.delete_channel(channel_id, base_operation_opts)
90
+ use_util = OCI::Mysql::Util.respond_to?(:wait_on_work_request)
91
+
92
+ return operation_result if wait_for_states.empty? && !use_util
93
+
94
+ lowered_wait_for_states = wait_for_states.map(&:downcase)
95
+ wait_for_resource_id = operation_result.headers['opc-work-request-id']
96
+
97
+ begin
98
+ if use_util
99
+ waiter_result = OCI::Mysql::Util.wait_on_work_request(
100
+ @service_client,
101
+ wait_for_resource_id,
102
+ max_interval_seconds: waiter_opts.key?(:max_interval_seconds) ? waiter_opts[:max_interval_seconds] : 30,
103
+ max_wait_seconds: waiter_opts.key?(:max_wait_seconds) ? waiter_opts[:max_wait_seconds] : 1200
104
+ )
105
+ else
106
+ waiter_result = @service_client.get_work_request(wait_for_resource_id).wait_until(
107
+ eval_proc: ->(response) { response.data.respond_to?(:status) && lowered_wait_for_states.include?(response.data.status.downcase) },
108
+ max_interval_seconds: waiter_opts.key?(:max_interval_seconds) ? waiter_opts[:max_interval_seconds] : 30,
109
+ max_wait_seconds: waiter_opts.key?(:max_wait_seconds) ? waiter_opts[:max_wait_seconds] : 1200
110
+ )
111
+ end
112
+ result_to_return = waiter_result
113
+
114
+ return result_to_return
115
+ rescue StandardError
116
+ raise OCI::Errors::CompositeOperationError.new(partial_results: [operation_result])
117
+ end
118
+ end
119
+ # rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/ParameterLists, Metrics/PerceivedComplexity
120
+ # rubocop:enable Layout/EmptyLines
121
+
122
+ # rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/ParameterLists, Metrics/PerceivedComplexity
123
+ # rubocop:disable Layout/EmptyLines
124
+
125
+
126
+ # Calls {OCI::Mysql::ChannelsClient#reset_channel} and then waits for the {OCI::Mysql::Models::WorkRequest}
127
+ # to enter the given state(s).
128
+ #
129
+ # @param [String] channel_id The Channel [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm).
130
+ # @param [Array<String>] wait_for_states An array of states to wait on. These should be valid values for {OCI::Mysql::Models::WorkRequest#status}
131
+ # @param [Hash] base_operation_opts Any optional arguments accepted by {OCI::Mysql::ChannelsClient#reset_channel}
132
+ # @param [Hash] waiter_opts Optional arguments for the waiter. Keys should be symbols, and the following keys are supported:
133
+ # * max_interval_seconds: The maximum interval between queries, in seconds.
134
+ # * max_wait_seconds The maximum time to wait, in seconds
135
+ #
136
+ # @return [OCI::Response] A {OCI::Response} object containing the completed {OCI::Mysql::Models::WorkRequest}
137
+ def reset_channel_and_wait_for_state(channel_id, wait_for_states = [], base_operation_opts = {}, waiter_opts = {})
138
+ operation_result = @service_client.reset_channel(channel_id, base_operation_opts)
139
+ use_util = OCI::Mysql::Util.respond_to?(:wait_on_work_request)
140
+
141
+ return operation_result if wait_for_states.empty? && !use_util
142
+
143
+ lowered_wait_for_states = wait_for_states.map(&:downcase)
144
+ wait_for_resource_id = operation_result.headers['opc-work-request-id']
145
+
146
+ begin
147
+ if use_util
148
+ waiter_result = OCI::Mysql::Util.wait_on_work_request(
149
+ @service_client,
150
+ wait_for_resource_id,
151
+ max_interval_seconds: waiter_opts.key?(:max_interval_seconds) ? waiter_opts[:max_interval_seconds] : 30,
152
+ max_wait_seconds: waiter_opts.key?(:max_wait_seconds) ? waiter_opts[:max_wait_seconds] : 1200
153
+ )
154
+ else
155
+ waiter_result = @service_client.get_work_request(wait_for_resource_id).wait_until(
156
+ eval_proc: ->(response) { response.data.respond_to?(:status) && lowered_wait_for_states.include?(response.data.status.downcase) },
157
+ max_interval_seconds: waiter_opts.key?(:max_interval_seconds) ? waiter_opts[:max_interval_seconds] : 30,
158
+ max_wait_seconds: waiter_opts.key?(:max_wait_seconds) ? waiter_opts[:max_wait_seconds] : 1200
159
+ )
160
+ end
161
+ result_to_return = waiter_result
162
+
163
+ return result_to_return
164
+ rescue StandardError
165
+ raise OCI::Errors::CompositeOperationError.new(partial_results: [operation_result])
166
+ end
167
+ end
168
+ # rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/ParameterLists, Metrics/PerceivedComplexity
169
+ # rubocop:enable Layout/EmptyLines
170
+
171
+ # rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/ParameterLists, Metrics/PerceivedComplexity
172
+ # rubocop:disable Layout/EmptyLines
173
+
174
+
175
+ # Calls {OCI::Mysql::ChannelsClient#resume_channel} and then waits for the {OCI::Mysql::Models::WorkRequest}
176
+ # to enter the given state(s).
177
+ #
178
+ # @param [String] channel_id The Channel [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm).
179
+ # @param [Array<String>] wait_for_states An array of states to wait on. These should be valid values for {OCI::Mysql::Models::WorkRequest#status}
180
+ # @param [Hash] base_operation_opts Any optional arguments accepted by {OCI::Mysql::ChannelsClient#resume_channel}
181
+ # @param [Hash] waiter_opts Optional arguments for the waiter. Keys should be symbols, and the following keys are supported:
182
+ # * max_interval_seconds: The maximum interval between queries, in seconds.
183
+ # * max_wait_seconds The maximum time to wait, in seconds
184
+ #
185
+ # @return [OCI::Response] A {OCI::Response} object containing the completed {OCI::Mysql::Models::WorkRequest}
186
+ def resume_channel_and_wait_for_state(channel_id, wait_for_states = [], base_operation_opts = {}, waiter_opts = {})
187
+ operation_result = @service_client.resume_channel(channel_id, base_operation_opts)
188
+ use_util = OCI::Mysql::Util.respond_to?(:wait_on_work_request)
189
+
190
+ return operation_result if wait_for_states.empty? && !use_util
191
+
192
+ lowered_wait_for_states = wait_for_states.map(&:downcase)
193
+ wait_for_resource_id = operation_result.headers['opc-work-request-id']
194
+
195
+ begin
196
+ if use_util
197
+ waiter_result = OCI::Mysql::Util.wait_on_work_request(
198
+ @service_client,
199
+ wait_for_resource_id,
200
+ max_interval_seconds: waiter_opts.key?(:max_interval_seconds) ? waiter_opts[:max_interval_seconds] : 30,
201
+ max_wait_seconds: waiter_opts.key?(:max_wait_seconds) ? waiter_opts[:max_wait_seconds] : 1200
202
+ )
203
+ else
204
+ waiter_result = @service_client.get_work_request(wait_for_resource_id).wait_until(
205
+ eval_proc: ->(response) { response.data.respond_to?(:status) && lowered_wait_for_states.include?(response.data.status.downcase) },
206
+ max_interval_seconds: waiter_opts.key?(:max_interval_seconds) ? waiter_opts[:max_interval_seconds] : 30,
207
+ max_wait_seconds: waiter_opts.key?(:max_wait_seconds) ? waiter_opts[:max_wait_seconds] : 1200
208
+ )
209
+ end
210
+ result_to_return = waiter_result
211
+
212
+ return result_to_return
213
+ rescue StandardError
214
+ raise OCI::Errors::CompositeOperationError.new(partial_results: [operation_result])
215
+ end
216
+ end
217
+ # rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/ParameterLists, Metrics/PerceivedComplexity
218
+ # rubocop:enable Layout/EmptyLines
219
+
220
+ # rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/ParameterLists, Metrics/PerceivedComplexity
221
+ # rubocop:disable Layout/EmptyLines
222
+
223
+
224
+ # Calls {OCI::Mysql::ChannelsClient#update_channel} and then waits for the {OCI::Mysql::Models::WorkRequest}
225
+ # to enter the given state(s).
226
+ #
227
+ # @param [String] channel_id The Channel [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm).
228
+ # @param [OCI::Mysql::Models::UpdateChannelDetails] update_channel_details The parameters of the request to update the Channel.
229
+ # @param [Array<String>] wait_for_states An array of states to wait on. These should be valid values for {OCI::Mysql::Models::WorkRequest#status}
230
+ # @param [Hash] base_operation_opts Any optional arguments accepted by {OCI::Mysql::ChannelsClient#update_channel}
231
+ # @param [Hash] waiter_opts Optional arguments for the waiter. Keys should be symbols, and the following keys are supported:
232
+ # * max_interval_seconds: The maximum interval between queries, in seconds.
233
+ # * max_wait_seconds The maximum time to wait, in seconds
234
+ #
235
+ # @return [OCI::Response] A {OCI::Response} object containing the completed {OCI::Mysql::Models::WorkRequest}
236
+ def update_channel_and_wait_for_state(channel_id, update_channel_details, wait_for_states = [], base_operation_opts = {}, waiter_opts = {})
237
+ operation_result = @service_client.update_channel(channel_id, update_channel_details, base_operation_opts)
238
+ use_util = OCI::Mysql::Util.respond_to?(:wait_on_work_request)
239
+
240
+ return operation_result if wait_for_states.empty? && !use_util
241
+
242
+ lowered_wait_for_states = wait_for_states.map(&:downcase)
243
+ wait_for_resource_id = operation_result.headers['opc-work-request-id']
244
+
245
+ begin
246
+ if use_util
247
+ waiter_result = OCI::Mysql::Util.wait_on_work_request(
248
+ @service_client,
249
+ wait_for_resource_id,
250
+ max_interval_seconds: waiter_opts.key?(:max_interval_seconds) ? waiter_opts[:max_interval_seconds] : 30,
251
+ max_wait_seconds: waiter_opts.key?(:max_wait_seconds) ? waiter_opts[:max_wait_seconds] : 1200
252
+ )
253
+ else
254
+ waiter_result = @service_client.get_work_request(wait_for_resource_id).wait_until(
255
+ eval_proc: ->(response) { response.data.respond_to?(:status) && lowered_wait_for_states.include?(response.data.status.downcase) },
256
+ max_interval_seconds: waiter_opts.key?(:max_interval_seconds) ? waiter_opts[:max_interval_seconds] : 30,
257
+ max_wait_seconds: waiter_opts.key?(:max_wait_seconds) ? waiter_opts[:max_wait_seconds] : 1200
258
+ )
259
+ end
260
+ result_to_return = waiter_result
261
+
262
+ return result_to_return
263
+ rescue StandardError
264
+ raise OCI::Errors::CompositeOperationError.new(partial_results: [operation_result])
265
+ end
266
+ end
267
+ # rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/ParameterLists, Metrics/PerceivedComplexity
268
+ # rubocop:enable Layout/EmptyLines
269
+ end
270
+ end
271
+ # rubocop:enable Lint/UnneededCopDisableDirective, Metrics/LineLength
@@ -116,6 +116,7 @@ module OCI
116
116
  # creation request may be rejected).
117
117
  #
118
118
  # @return [Response] A Response object with data of type {OCI::Mysql::Models::Backup Backup}
119
+ # @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/mysql/create_backup.rb.html) to see an example of how to use create_backup API.
119
120
  def create_backup(create_backup_details, opts = {})
120
121
  logger.debug 'Calling operation DbBackupsClient#create_backup.' if logger
121
122
 
@@ -180,6 +181,7 @@ module OCI
180
181
  # ID that you supplied in this header with the request.
181
182
  #
182
183
  # @return [Response] A Response object with data of type nil
184
+ # @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/mysql/delete_backup.rb.html) to see an example of how to use delete_backup API.
183
185
  def delete_backup(backup_id, opts = {})
184
186
  logger.debug 'Calling operation DbBackupsClient#delete_backup.' if logger
185
187
 
@@ -242,6 +244,7 @@ module OCI
242
244
  # 200 OK response with the updated representation.
243
245
  #
244
246
  # @return [Response] A Response object with data of type {OCI::Mysql::Models::Backup Backup}
247
+ # @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/mysql/get_backup.rb.html) to see an example of how to use get_backup API.
245
248
  def get_backup(backup_id, opts = {})
246
249
  logger.debug 'Calling operation DbBackupsClient#get_backup.' if logger
247
250
 
@@ -303,6 +306,7 @@ module OCI
303
306
  # @option opts [String] :lifecycle_state Backup Lifecycle State (default to AVAILABLE)
304
307
  # @option opts [String] :db_system_id The DB System [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm).
305
308
  # @option opts [String] :display_name A filter to return only the resource matching the given display name exactly.
309
+ # @option opts [String] :creation_type Backup creationType
306
310
  # @option opts [String] :sort_by The field to sort by. Only one sort order may be provided. Time fields are default ordered as descending.
307
311
  # (default to timeCreated)
308
312
  # Allowed values are: timeCreated, timeUpdated, displayName
@@ -316,6 +320,7 @@ module OCI
316
320
  # Pagination](https://docs.cloud.oracle.com/#API/Concepts/usingapi.htm#List_Pagination).
317
321
  #
318
322
  # @return [Response] A Response object with data of type Array<{OCI::Mysql::Models::BackupSummary BackupSummary}>
323
+ # @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/mysql/list_backups.rb.html) to see an example of how to use list_backups API.
319
324
  def list_backups(compartment_id, opts = {})
320
325
  logger.debug 'Calling operation DbBackupsClient#list_backups.' if logger
321
326
 
@@ -325,6 +330,10 @@ module OCI
325
330
  raise 'Invalid value for "lifecycle_state", must be one of the values in OCI::Mysql::Models::Backup::LIFECYCLE_STATE_ENUM.'
326
331
  end
327
332
 
333
+ if opts[:creation_type] && !OCI::Mysql::Models::Backup::CREATION_TYPE_ENUM.include?(opts[:creation_type])
334
+ raise 'Invalid value for "creation_type", must be one of the values in OCI::Mysql::Models::Backup::CREATION_TYPE_ENUM.'
335
+ end
336
+
328
337
  if opts[:sort_by] && !%w[timeCreated timeUpdated displayName].include?(opts[:sort_by])
329
338
  raise 'Invalid value for "sort_by", must be one of timeCreated, timeUpdated, displayName.'
330
339
  end
@@ -344,6 +353,7 @@ module OCI
344
353
  query_params[:lifecycleState] = opts[:lifecycle_state] if opts[:lifecycle_state]
345
354
  query_params[:dbSystemId] = opts[:db_system_id] if opts[:db_system_id]
346
355
  query_params[:displayName] = opts[:display_name] if opts[:display_name]
356
+ query_params[:creationType] = opts[:creation_type] if opts[:creation_type]
347
357
  query_params[:sortBy] = opts[:sort_by] if opts[:sort_by]
348
358
  query_params[:sortOrder] = opts[:sort_order] if opts[:sort_order]
349
359
  query_params[:limit] = opts[:limit] if opts[:limit]
@@ -399,6 +409,7 @@ module OCI
399
409
  # ID that you supplied in this header with the request.
400
410
  #
401
411
  # @return [Response] A Response object with data of type nil
412
+ # @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/mysql/update_backup.rb.html) to see an example of how to use update_backup API.
402
413
  def update_backup(backup_id, update_backup_details, opts = {})
403
414
  logger.debug 'Calling operation DbBackupsClient#update_backup.' if logger
404
415
 
@@ -123,6 +123,7 @@ module OCI
123
123
  # creation request may be rejected).
124
124
  #
125
125
  # @return [Response] A Response object with data of type {OCI::Mysql::Models::AnalyticsCluster AnalyticsCluster}
126
+ # @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/mysql/add_analytics_cluster.rb.html) to see an example of how to use add_analytics_cluster API.
126
127
  def add_analytics_cluster(db_system_id, add_analytics_cluster_details, opts = {})
127
128
  logger.debug 'Calling operation DbSystemClient#add_analytics_cluster.' if logger
128
129
 
@@ -191,6 +192,7 @@ module OCI
191
192
  # creation request may be rejected).
192
193
  #
193
194
  # @return [Response] A Response object with data of type {OCI::Mysql::Models::DbSystem DbSystem}
195
+ # @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/mysql/create_db_system.rb.html) to see an example of how to use create_db_system API.
194
196
  def create_db_system(create_db_system_details, opts = {})
195
197
  logger.debug 'Calling operation DbSystemClient#create_db_system.' if logger
196
198
 
@@ -256,6 +258,7 @@ module OCI
256
258
  # ID that you supplied in this header with the request.
257
259
  #
258
260
  # @return [Response] A Response object with data of type nil
261
+ # @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/mysql/delete_analytics_cluster.rb.html) to see an example of how to use delete_analytics_cluster API.
259
262
  def delete_analytics_cluster(db_system_id, opts = {})
260
263
  logger.debug 'Calling operation DbSystemClient#delete_analytics_cluster.' if logger
261
264
 
@@ -320,6 +323,7 @@ module OCI
320
323
  # ID that you supplied in this header with the request.
321
324
  #
322
325
  # @return [Response] A Response object with data of type nil
326
+ # @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/mysql/delete_db_system.rb.html) to see an example of how to use delete_db_system API.
323
327
  def delete_db_system(db_system_id, opts = {})
324
328
  logger.debug 'Calling operation DbSystemClient#delete_db_system.' if logger
325
329
 
@@ -384,6 +388,7 @@ module OCI
384
388
  # creation request may be rejected).
385
389
  #
386
390
  # @return [Response] A Response object with data of type {OCI::Mysql::Models::AnalyticsClusterMemoryEstimate AnalyticsClusterMemoryEstimate}
391
+ # @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/mysql/generate_analytics_cluster_memory_estimate.rb.html) to see an example of how to use generate_analytics_cluster_memory_estimate API.
387
392
  def generate_analytics_cluster_memory_estimate(db_system_id, opts = {})
388
393
  logger.debug 'Calling operation DbSystemClient#generate_analytics_cluster_memory_estimate.' if logger
389
394
 
@@ -448,6 +453,7 @@ module OCI
448
453
  # 200 OK response with the updated representation.
449
454
  #
450
455
  # @return [Response] A Response object with data of type {OCI::Mysql::Models::AnalyticsCluster AnalyticsCluster}
456
+ # @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/mysql/get_analytics_cluster.rb.html) to see an example of how to use get_analytics_cluster API.
451
457
  def get_analytics_cluster(db_system_id, opts = {})
452
458
  logger.debug 'Calling operation DbSystemClient#get_analytics_cluster.' if logger
453
459
 
@@ -507,6 +513,7 @@ module OCI
507
513
  # ID that you supplied in this header with the request.
508
514
  #
509
515
  # @return [Response] A Response object with data of type {OCI::Mysql::Models::AnalyticsClusterMemoryEstimate AnalyticsClusterMemoryEstimate}
516
+ # @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/mysql/get_analytics_cluster_memory_estimate.rb.html) to see an example of how to use get_analytics_cluster_memory_estimate API.
510
517
  def get_analytics_cluster_memory_estimate(db_system_id, opts = {})
511
518
  logger.debug 'Calling operation DbSystemClient#get_analytics_cluster_memory_estimate.' if logger
512
519
 
@@ -569,6 +576,7 @@ module OCI
569
576
  # 200 OK response with the updated representation.
570
577
  #
571
578
  # @return [Response] A Response object with data of type {OCI::Mysql::Models::DbSystem DbSystem}
579
+ # @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/mysql/get_db_system.rb.html) to see an example of how to use get_db_system API.
572
580
  def get_db_system(db_system_id, opts = {})
573
581
  logger.debug 'Calling operation DbSystemClient#get_db_system.' if logger
574
582
 
@@ -651,6 +659,7 @@ module OCI
651
659
  # Pagination](https://docs.cloud.oracle.com/#API/Concepts/usingapi.htm#List_Pagination).
652
660
  #
653
661
  # @return [Response] A Response object with data of type Array<{OCI::Mysql::Models::DbSystemSummary DbSystemSummary}>
662
+ # @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/mysql/list_db_systems.rb.html) to see an example of how to use list_db_systems API.
654
663
  def list_db_systems(compartment_id, opts = {})
655
664
  logger.debug 'Calling operation DbSystemClient#list_db_systems.' if logger
656
665
 
@@ -742,6 +751,7 @@ module OCI
742
751
  # creation request may be rejected).
743
752
  #
744
753
  # @return [Response] A Response object with data of type nil
754
+ # @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/mysql/restart_analytics_cluster.rb.html) to see an example of how to use restart_analytics_cluster API.
745
755
  def restart_analytics_cluster(db_system_id, opts = {})
746
756
  logger.debug 'Calling operation DbSystemClient#restart_analytics_cluster.' if logger
747
757
 
@@ -814,6 +824,7 @@ module OCI
814
824
  # creation request may be rejected).
815
825
  #
816
826
  # @return [Response] A Response object with data of type nil
827
+ # @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/mysql/restart_db_system.rb.html) to see an example of how to use restart_db_system API.
817
828
  def restart_db_system(db_system_id, restart_db_system_details, opts = {})
818
829
  logger.debug 'Calling operation DbSystemClient#restart_db_system.' if logger
819
830
 
@@ -886,6 +897,7 @@ module OCI
886
897
  # creation request may be rejected).
887
898
  #
888
899
  # @return [Response] A Response object with data of type nil
900
+ # @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/mysql/start_analytics_cluster.rb.html) to see an example of how to use start_analytics_cluster API.
889
901
  def start_analytics_cluster(db_system_id, opts = {})
890
902
  logger.debug 'Calling operation DbSystemClient#start_analytics_cluster.' if logger
891
903
 
@@ -957,6 +969,7 @@ module OCI
957
969
  # creation request may be rejected).
958
970
  #
959
971
  # @return [Response] A Response object with data of type nil
972
+ # @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/mysql/start_db_system.rb.html) to see an example of how to use start_db_system API.
960
973
  def start_db_system(db_system_id, opts = {})
961
974
  logger.debug 'Calling operation DbSystemClient#start_db_system.' if logger
962
975
 
@@ -1028,6 +1041,7 @@ module OCI
1028
1041
  # creation request may be rejected).
1029
1042
  #
1030
1043
  # @return [Response] A Response object with data of type nil
1044
+ # @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/mysql/stop_analytics_cluster.rb.html) to see an example of how to use stop_analytics_cluster API.
1031
1045
  def stop_analytics_cluster(db_system_id, opts = {})
1032
1046
  logger.debug 'Calling operation DbSystemClient#stop_analytics_cluster.' if logger
1033
1047
 
@@ -1103,6 +1117,7 @@ module OCI
1103
1117
  # creation request may be rejected).
1104
1118
  #
1105
1119
  # @return [Response] A Response object with data of type nil
1120
+ # @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/mysql/stop_db_system.rb.html) to see an example of how to use stop_db_system API.
1106
1121
  def stop_db_system(db_system_id, stop_db_system_details, opts = {})
1107
1122
  logger.debug 'Calling operation DbSystemClient#stop_db_system.' if logger
1108
1123
 
@@ -1170,6 +1185,7 @@ module OCI
1170
1185
  # ID that you supplied in this header with the request.
1171
1186
  #
1172
1187
  # @return [Response] A Response object with data of type nil
1188
+ # @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/mysql/update_analytics_cluster.rb.html) to see an example of how to use update_analytics_cluster API.
1173
1189
  def update_analytics_cluster(db_system_id, update_analytics_cluster_details, opts = {})
1174
1190
  logger.debug 'Calling operation DbSystemClient#update_analytics_cluster.' if logger
1175
1191
 
@@ -1242,6 +1258,7 @@ module OCI
1242
1258
  # ID that you supplied in this header with the request.
1243
1259
  #
1244
1260
  # @return [Response] A Response object with data of type nil
1261
+ # @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/mysql/update_db_system.rb.html) to see an example of how to use update_db_system API.
1245
1262
  def update_db_system(db_system_id, update_db_system_details, opts = {})
1246
1263
  logger.debug 'Calling operation DbSystemClient#update_db_system.' if logger
1247
1264