oci 2.11.0 → 2.12.0

Sign up to get free protection for your applications and to get access to all the features.
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
@@ -19,12 +19,10 @@ require 'oci/database/models/autonomous_container_database_backup_config'
19
19
  require 'oci/database/models/autonomous_container_database_dataguard_association'
20
20
  require 'oci/database/models/autonomous_container_database_summary'
21
21
  require 'oci/database/models/autonomous_data_warehouse'
22
- require 'oci/database/models/autonomous_data_warehouse_backup'
23
- require 'oci/database/models/autonomous_data_warehouse_backup_summary'
24
22
  require 'oci/database/models/autonomous_data_warehouse_connection_strings'
25
- require 'oci/database/models/autonomous_data_warehouse_console_token_details'
26
23
  require 'oci/database/models/autonomous_data_warehouse_summary'
27
24
  require 'oci/database/models/autonomous_database'
25
+ require 'oci/database/models/autonomous_database_apex'
28
26
  require 'oci/database/models/autonomous_database_backup'
29
27
  require 'oci/database/models/autonomous_database_backup_config'
30
28
  require 'oci/database/models/autonomous_database_backup_summary'
@@ -65,8 +63,6 @@ require 'oci/database/models/complete_external_backup_job_details'
65
63
  require 'oci/database/models/console_connection'
66
64
  require 'oci/database/models/console_connection_summary'
67
65
  require 'oci/database/models/create_autonomous_container_database_details'
68
- require 'oci/database/models/create_autonomous_data_warehouse_backup_details'
69
- require 'oci/database/models/create_autonomous_data_warehouse_details'
70
66
  require 'oci/database/models/create_autonomous_database_backup_details'
71
67
  require 'oci/database/models/create_autonomous_database_base'
72
68
  require 'oci/database/models/create_autonomous_database_clone_details'
@@ -144,7 +140,8 @@ require 'oci/database/models/exadata_iorm_config'
144
140
  require 'oci/database/models/exadata_iorm_config_update_details'
145
141
  require 'oci/database/models/external_backup_job'
146
142
  require 'oci/database/models/failover_data_guard_association_details'
147
- require 'oci/database/models/generate_autonomous_data_warehouse_wallet_details'
143
+ require 'oci/database/models/flex_component_collection'
144
+ require 'oci/database/models/flex_component_summary'
148
145
  require 'oci/database/models/generate_autonomous_database_wallet_details'
149
146
  require 'oci/database/models/generate_recommended_network_details'
150
147
  require 'oci/database/models/gi_version_summary'
@@ -163,6 +160,7 @@ require 'oci/database/models/launch_db_system_from_db_system_details'
163
160
  require 'oci/database/models/maintenance_run'
164
161
  require 'oci/database/models/maintenance_run_summary'
165
162
  require 'oci/database/models/maintenance_window'
163
+ require 'oci/database/models/migrate_vault_key_details'
166
164
  require 'oci/database/models/month'
167
165
  require 'oci/database/models/mount_type_details'
168
166
  require 'oci/database/models/node_details'
@@ -175,7 +173,6 @@ require 'oci/database/models/patch_summary'
175
173
  require 'oci/database/models/peer_autonomous_container_database_backup_config'
176
174
  require 'oci/database/models/register_autonomous_database_data_safe_details'
177
175
  require 'oci/database/models/reinstate_data_guard_association_details'
178
- require 'oci/database/models/restore_autonomous_data_warehouse_details'
179
176
  require 'oci/database/models/restore_autonomous_database_details'
180
177
  require 'oci/database/models/restore_database_details'
181
178
  require 'oci/database/models/scan_details'
@@ -183,7 +180,6 @@ require 'oci/database/models/self_mount_details'
183
180
  require 'oci/database/models/switchover_data_guard_association_details'
184
181
  require 'oci/database/models/update'
185
182
  require 'oci/database/models/update_autonomous_container_database_details'
186
- require 'oci/database/models/update_autonomous_data_warehouse_details'
187
183
  require 'oci/database/models/update_autonomous_database_details'
188
184
  require 'oci/database/models/update_autonomous_database_wallet_details'
189
185
  require 'oci/database/models/update_autonomous_exadata_infrastructure_details'
@@ -98,7 +98,8 @@ module OCI
98
98
  # rubocop:disable Metrics/MethodLength, Layout/EmptyLines
99
99
 
100
100
 
101
- # Activates the specified Exadata Cloud@Customer infrastructure.
101
+ # Activates the specified Exadata infrastructure resource. Applies to Exadata Cloud@Customer instances only.
102
+ #
102
103
  # @param [String] exadata_infrastructure_id The Exadata infrastructure [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm).
103
104
  # @param [OCI::Database::Models::ActivateExadataInfrastructureDetails] activate_exadata_infrastructure_details The activation details for the Exadata infrastructure.
104
105
  # @param [Hash] opts the optional parameters
@@ -113,6 +114,7 @@ module OCI
113
114
  # may be rejected).
114
115
  #
115
116
  # @return [Response] A Response object with data of type {OCI::Database::Models::ExadataInfrastructure ExadataInfrastructure}
117
+ # @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/database/activate_exadata_infrastructure.rb.html) to see an example of how to use activate_exadata_infrastructure API.
116
118
  def activate_exadata_infrastructure(exadata_infrastructure_id, activate_exadata_infrastructure_details, opts = {})
117
119
  logger.debug 'Calling operation DatabaseClient#activate_exadata_infrastructure.' if logger
118
120
 
@@ -182,6 +184,7 @@ module OCI
182
184
  # @option opts [String] :opc_request_id Unique identifier for the request.
183
185
  #
184
186
  # @return [Response] A Response object with data of type {OCI::Database::Models::AutonomousDatabase AutonomousDatabase}
187
+ # @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/database/autonomous_database_manual_refresh.rb.html) to see an example of how to use autonomous_database_manual_refresh API.
185
188
  def autonomous_database_manual_refresh(autonomous_database_id, autonomous_database_manual_refresh_details, opts = {})
186
189
  logger.debug 'Calling operation DatabaseClient#autonomous_database_manual_refresh.' if logger
187
190
 
@@ -254,6 +257,7 @@ module OCI
254
257
  # will be updated or deleted only if the etag you provide matches the resource's current etag value.
255
258
  #
256
259
  # @return [Response] A Response object with data of type nil
260
+ # @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/database/change_autonomous_container_database_compartment.rb.html) to see an example of how to use change_autonomous_container_database_compartment API.
257
261
  def change_autonomous_container_database_compartment(change_compartment_details, autonomous_container_database_id, opts = {})
258
262
  logger.debug 'Calling operation DatabaseClient#change_autonomous_container_database_compartment.' if logger
259
263
 
@@ -325,6 +329,7 @@ module OCI
325
329
  # will be updated or deleted only if the etag you provide matches the resource's current etag value.
326
330
  #
327
331
  # @return [Response] A Response object with data of type nil
332
+ # @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/database/change_autonomous_database_compartment.rb.html) to see an example of how to use change_autonomous_database_compartment API.
328
333
  def change_autonomous_database_compartment(change_compartment_details, autonomous_database_id, opts = {})
329
334
  logger.debug 'Calling operation DatabaseClient#change_autonomous_database_compartment.' if logger
330
335
 
@@ -396,6 +401,7 @@ module OCI
396
401
  # will be updated or deleted only if the etag you provide matches the resource's current etag value.
397
402
  #
398
403
  # @return [Response] A Response object with data of type nil
404
+ # @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/database/change_autonomous_exadata_infrastructure_compartment.rb.html) to see an example of how to use change_autonomous_exadata_infrastructure_compartment API.
399
405
  def change_autonomous_exadata_infrastructure_compartment(change_compartment_details, autonomous_exadata_infrastructure_id, opts = {})
400
406
  logger.debug 'Calling operation DatabaseClient#change_autonomous_exadata_infrastructure_compartment.' if logger
401
407
 
@@ -466,6 +472,7 @@ module OCI
466
472
  # will be updated or deleted only if the etag you provide matches the resource's current etag value.
467
473
  #
468
474
  # @return [Response] A Response object with data of type nil
475
+ # @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/database/change_autonomous_vm_cluster_compartment.rb.html) to see an example of how to use change_autonomous_vm_cluster_compartment API.
469
476
  def change_autonomous_vm_cluster_compartment(change_autonomous_vm_cluster_compartment_details, autonomous_vm_cluster_id, opts = {})
470
477
  logger.debug 'Calling operation DatabaseClient#change_autonomous_vm_cluster_compartment.' if logger
471
478
 
@@ -538,6 +545,7 @@ module OCI
538
545
  # will be updated or deleted only if the etag you provide matches the resource's current etag value.
539
546
  #
540
547
  # @return [Response] A Response object with data of type nil
548
+ # @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/database/change_backup_destination_compartment.rb.html) to see an example of how to use change_backup_destination_compartment API.
541
549
  def change_backup_destination_compartment(change_compartment_details, backup_destination_id, opts = {})
542
550
  logger.debug 'Calling operation DatabaseClient#change_backup_destination_compartment.' if logger
543
551
 
@@ -587,8 +595,7 @@ module OCI
587
595
  # rubocop:disable Metrics/MethodLength, Layout/EmptyLines
588
596
 
589
597
 
590
- # To move a cloud Exadata infrastructure resource and its dependent resources to another compartment, use the
591
- # {#change_cloud_exadata_infrastructure_compartment change_cloud_exadata_infrastructure_compartment} operation.
598
+ # Moves a cloud Exadata infrastructure resource and its dependent resources to another compartment. Applies to Exadata Cloud Service instances only. For more information about moving resources to a different compartment, see [Moving Database Resources to a Different Compartment](https://docs.cloud.oracle.com/Content/Database/Concepts/databaseoverview.htm#moveRes).
592
599
  #
593
600
  # @param [OCI::Database::Models::ChangeCloudExadataInfrastructureCompartmentDetails] change_cloud_exadata_infrastructure_compartment_details Request to move cloud Exadata infrastructure resource to a different compartment.
594
601
  # @param [String] cloud_exadata_infrastructure_id The cloud Exadata infrastructure [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm).
@@ -608,6 +615,7 @@ module OCI
608
615
  # will be updated or deleted only if the etag you provide matches the resource's current etag value.
609
616
  #
610
617
  # @return [Response] A Response object with data of type nil
618
+ # @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/database/change_cloud_exadata_infrastructure_compartment.rb.html) to see an example of how to use change_cloud_exadata_infrastructure_compartment API.
611
619
  def change_cloud_exadata_infrastructure_compartment(change_cloud_exadata_infrastructure_compartment_details, cloud_exadata_infrastructure_id, opts = {})
612
620
  logger.debug 'Calling operation DatabaseClient#change_cloud_exadata_infrastructure_compartment.' if logger
613
621
 
@@ -657,8 +665,7 @@ module OCI
657
665
  # rubocop:disable Metrics/MethodLength, Layout/EmptyLines
658
666
 
659
667
 
660
- # To move a cloud VM cluster and its dependent resources to another compartment, use the
661
- # {#change_cloud_vm_cluster_compartment change_cloud_vm_cluster_compartment} operation.
668
+ # Moves a cloud VM cluster and its dependent resources to another compartment. Applies to Exadata Cloud Service instances only.
662
669
  #
663
670
  # @param [OCI::Database::Models::ChangeCloudVmClusterCompartmentDetails] change_cloud_vm_cluster_compartment_details Request to move cloud VM cluster to a different compartment
664
671
  # @param [String] cloud_vm_cluster_id The cloud VM cluster [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm).
@@ -678,6 +685,7 @@ module OCI
678
685
  # will be updated or deleted only if the etag you provide matches the resource's current etag value.
679
686
  #
680
687
  # @return [Response] A Response object with data of type nil
688
+ # @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/database/change_cloud_vm_cluster_compartment.rb.html) to see an example of how to use change_cloud_vm_cluster_compartment API.
681
689
  def change_cloud_vm_cluster_compartment(change_cloud_vm_cluster_compartment_details, cloud_vm_cluster_id, opts = {})
682
690
  logger.debug 'Calling operation DatabaseClient#change_cloud_vm_cluster_compartment.' if logger
683
691
 
@@ -749,6 +757,7 @@ module OCI
749
757
  # will be updated or deleted only if the etag you provide matches the resource's current etag value.
750
758
  #
751
759
  # @return [Response] A Response object with data of type nil
760
+ # @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/database/change_database_software_image_compartment.rb.html) to see an example of how to use change_database_software_image_compartment API.
752
761
  def change_database_software_image_compartment(change_compartment_details, database_software_image_id, opts = {})
753
762
  logger.debug 'Calling operation DatabaseClient#change_database_software_image_compartment.' if logger
754
763
 
@@ -798,7 +807,7 @@ module OCI
798
807
  # rubocop:disable Metrics/MethodLength, Layout/EmptyLines
799
808
 
800
809
 
801
- # Move the DB system and its dependent resources to the specified compartment.
810
+ # Moves the DB system and its dependent resources to the specified compartment.
802
811
  # For more information about moving DB systems, see
803
812
  # [Moving Database Resources to a Different Compartment](https://docs.cloud.oracle.com/Content/Database/Concepts/databaseoverview.htm#moveRes).
804
813
  #
@@ -820,6 +829,7 @@ module OCI
820
829
  # will be updated or deleted only if the etag you provide matches the resource's current etag value.
821
830
  #
822
831
  # @return [Response] A Response object with data of type nil
832
+ # @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/database/change_db_system_compartment.rb.html) to see an example of how to use change_db_system_compartment API.
823
833
  def change_db_system_compartment(change_compartment_details, db_system_id, opts = {})
824
834
  logger.debug 'Calling operation DatabaseClient#change_db_system_compartment.' if logger
825
835
 
@@ -869,8 +879,8 @@ module OCI
869
879
  # rubocop:disable Metrics/MethodLength, Layout/EmptyLines
870
880
 
871
881
 
872
- # To move an Exadata Cloud@Customer infrastructure resource and its dependent resources to another compartment, use the
873
- # {#change_exadata_infrastructure_compartment change_exadata_infrastructure_compartment} operation.
882
+ # Moves an Exadata infrastructure resource and its dependent resources to another compartment. Applies to Exadata Cloud@Customer instances only.
883
+ # To move an Exadata Cloud Service infrastructure resource to another compartment, use the {#change_cloud_exadata_infrastructure_compartment change_cloud_exadata_infrastructure_compartment} operation.
874
884
  #
875
885
  # @param [OCI::Database::Models::ChangeExadataInfrastructureCompartmentDetails] change_exadata_infrastructure_compartment_details Request to move Exadata infrastructure to a different compartment
876
886
  # @param [String] exadata_infrastructure_id The Exadata infrastructure [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm).
@@ -890,6 +900,7 @@ module OCI
890
900
  # will be updated or deleted only if the etag you provide matches the resource's current etag value.
891
901
  #
892
902
  # @return [Response] A Response object with data of type nil
903
+ # @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/database/change_exadata_infrastructure_compartment.rb.html) to see an example of how to use change_exadata_infrastructure_compartment API.
893
904
  def change_exadata_infrastructure_compartment(change_exadata_infrastructure_compartment_details, exadata_infrastructure_id, opts = {})
894
905
  logger.debug 'Calling operation DatabaseClient#change_exadata_infrastructure_compartment.' if logger
895
906
 
@@ -962,6 +973,7 @@ module OCI
962
973
  # will be updated or deleted only if the etag you provide matches the resource's current etag value.
963
974
  #
964
975
  # @return [Response] A Response object with data of type nil
976
+ # @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/database/change_key_store_compartment.rb.html) to see an example of how to use change_key_store_compartment API.
965
977
  def change_key_store_compartment(change_key_store_compartment_details, key_store_id, opts = {})
966
978
  logger.debug 'Calling operation DatabaseClient#change_key_store_compartment.' if logger
967
979
 
@@ -1011,8 +1023,8 @@ module OCI
1011
1023
  # rubocop:disable Metrics/MethodLength, Layout/EmptyLines
1012
1024
 
1013
1025
 
1014
- # To move an Exadata Cloud@Customer VM cluster and its dependent resources to another compartment, use the
1015
- # {#change_vm_cluster_compartment change_vm_cluster_compartment} operation.
1026
+ # Moves a VM cluster and its dependent resources to another compartment. Applies to Exadata Cloud@Customer instances only.
1027
+ # To move a cloud VM cluster in an Exadata Cloud Service instance to another compartment, use the {#change_cloud_vm_cluster_compartment change_cloud_vm_cluster_compartment} operation.
1016
1028
  #
1017
1029
  # @param [OCI::Database::Models::ChangeVmClusterCompartmentDetails] change_vm_cluster_compartment_details Request to move the Exadata Cloud@Customer VM cluster to a different compartment.
1018
1030
  # @param [String] vm_cluster_id The VM cluster [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm).
@@ -1032,6 +1044,7 @@ module OCI
1032
1044
  # will be updated or deleted only if the etag you provide matches the resource's current etag value.
1033
1045
  #
1034
1046
  # @return [Response] A Response object with data of type nil
1047
+ # @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/database/change_vm_cluster_compartment.rb.html) to see an example of how to use change_vm_cluster_compartment API.
1035
1048
  def change_vm_cluster_compartment(change_vm_cluster_compartment_details, vm_cluster_id, opts = {})
1036
1049
  logger.debug 'Calling operation DatabaseClient#change_vm_cluster_compartment.' if logger
1037
1050
 
@@ -1101,6 +1114,7 @@ module OCI
1101
1114
  # may be rejected).
1102
1115
  #
1103
1116
  # @return [Response] A Response object with data of type {OCI::Database::Models::ExternalBackupJob ExternalBackupJob}
1117
+ # @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/database/complete_external_backup_job.rb.html) to see an example of how to use complete_external_backup_job API.
1104
1118
  def complete_external_backup_job(backup_id, complete_external_backup_job_details, opts = {})
1105
1119
  logger.debug 'Calling operation DatabaseClient#complete_external_backup_job.' if logger
1106
1120
 
@@ -1163,6 +1177,7 @@ module OCI
1163
1177
  # may be rejected).
1164
1178
  #
1165
1179
  # @return [Response] A Response object with data of type {OCI::Database::Models::AutonomousContainerDatabase AutonomousContainerDatabase}
1180
+ # @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/database/create_autonomous_container_database.rb.html) to see an example of how to use create_autonomous_container_database API.
1166
1181
  def create_autonomous_container_database(create_autonomous_container_database_details, opts = {})
1167
1182
  logger.debug 'Calling operation DatabaseClient#create_autonomous_container_database.' if logger
1168
1183
 
@@ -1209,124 +1224,6 @@ module OCI
1209
1224
  # rubocop:disable Metrics/MethodLength, Layout/EmptyLines
1210
1225
 
1211
1226
 
1212
- # **Deprecated.** To create a new Autonomous Data Warehouse, use the {#create_autonomous_database create_autonomous_database} operation and specify `DW` as the workload type.
1213
- #
1214
- # @param [OCI::Database::Models::CreateAutonomousDataWarehouseDetails] create_autonomous_data_warehouse_details Request to create a new Autonomous Data Warehouse.
1215
- # @param [Hash] opts the optional parameters
1216
- # @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
1217
- # retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
1218
- # @option opts [String] :opc_retry_token A token that uniquely identifies a request so it can be retried in case of a timeout or
1219
- # server error without risk of executing that same action again. Retry tokens expire after 24
1220
- # hours, but can be invalidated before then due to conflicting operations (for example, if a resource
1221
- # has been deleted and purged from the system, then a retry of the original creation request
1222
- # may be rejected).
1223
- #
1224
- # @return [Response] A Response object with data of type {OCI::Database::Models::AutonomousDataWarehouse AutonomousDataWarehouse}
1225
- def create_autonomous_data_warehouse(create_autonomous_data_warehouse_details, opts = {})
1226
- logger.debug 'Calling operation DatabaseClient#create_autonomous_data_warehouse.' if logger
1227
-
1228
- raise "Missing the required parameter 'create_autonomous_data_warehouse_details' when calling create_autonomous_data_warehouse." if create_autonomous_data_warehouse_details.nil?
1229
-
1230
- path = '/autonomousDataWarehouses'
1231
- operation_signing_strategy = :standard
1232
-
1233
- # rubocop:disable Style/NegatedIf
1234
- # Query Params
1235
- query_params = {}
1236
-
1237
- # Header Params
1238
- header_params = {}
1239
- header_params[:accept] = 'application/json'
1240
- header_params[:'content-type'] = 'application/json'
1241
- header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token]
1242
- # rubocop:enable Style/NegatedIf
1243
- header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token
1244
-
1245
- post_body = @api_client.object_to_http_body(create_autonomous_data_warehouse_details)
1246
-
1247
- # rubocop:disable Metrics/BlockLength
1248
- OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'DatabaseClient#create_autonomous_data_warehouse') do
1249
- @api_client.call_api(
1250
- :POST,
1251
- path,
1252
- endpoint,
1253
- header_params: header_params,
1254
- query_params: query_params,
1255
- operation_signing_strategy: operation_signing_strategy,
1256
- body: post_body,
1257
- return_type: 'OCI::Database::Models::AutonomousDataWarehouse'
1258
- )
1259
- end
1260
- # rubocop:enable Metrics/BlockLength
1261
- end
1262
- # rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
1263
- # rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
1264
- # rubocop:enable Metrics/MethodLength, Layout/EmptyLines
1265
-
1266
- # rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
1267
- # rubocop:disable Style/IfUnlessModifier, Metrics/ParameterLists
1268
- # rubocop:disable Metrics/MethodLength, Layout/EmptyLines
1269
-
1270
-
1271
- # **Deprecated.** To create a new Autonomous Data Warehouse backup for a specified database, use the {#create_autonomous_database_backup create_autonomous_database_backup} operation.
1272
- #
1273
- # @param [OCI::Database::Models::CreateAutonomousDataWarehouseBackupDetails] create_autonomous_data_warehouse_backup_details Request to create a new Autonomous Data Warehouse backup.
1274
- # @param [Hash] opts the optional parameters
1275
- # @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
1276
- # retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
1277
- # @option opts [String] :opc_retry_token A token that uniquely identifies a request so it can be retried in case of a timeout or
1278
- # server error without risk of executing that same action again. Retry tokens expire after 24
1279
- # hours, but can be invalidated before then due to conflicting operations (for example, if a resource
1280
- # has been deleted and purged from the system, then a retry of the original creation request
1281
- # may be rejected).
1282
- #
1283
- # @return [Response] A Response object with data of type {OCI::Database::Models::AutonomousDataWarehouseBackup AutonomousDataWarehouseBackup}
1284
- def create_autonomous_data_warehouse_backup(create_autonomous_data_warehouse_backup_details, opts = {})
1285
- logger.debug 'Calling operation DatabaseClient#create_autonomous_data_warehouse_backup.' if logger
1286
-
1287
- raise "Missing the required parameter 'create_autonomous_data_warehouse_backup_details' when calling create_autonomous_data_warehouse_backup." if create_autonomous_data_warehouse_backup_details.nil?
1288
-
1289
- path = '/autonomousDataWarehouseBackups'
1290
- operation_signing_strategy = :standard
1291
-
1292
- # rubocop:disable Style/NegatedIf
1293
- # Query Params
1294
- query_params = {}
1295
-
1296
- # Header Params
1297
- header_params = {}
1298
- header_params[:accept] = 'application/json'
1299
- header_params[:'content-type'] = 'application/json'
1300
- header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token]
1301
- # rubocop:enable Style/NegatedIf
1302
- header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token
1303
-
1304
- post_body = @api_client.object_to_http_body(create_autonomous_data_warehouse_backup_details)
1305
-
1306
- # rubocop:disable Metrics/BlockLength
1307
- OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'DatabaseClient#create_autonomous_data_warehouse_backup') do
1308
- @api_client.call_api(
1309
- :POST,
1310
- path,
1311
- endpoint,
1312
- header_params: header_params,
1313
- query_params: query_params,
1314
- operation_signing_strategy: operation_signing_strategy,
1315
- body: post_body,
1316
- return_type: 'OCI::Database::Models::AutonomousDataWarehouseBackup'
1317
- )
1318
- end
1319
- # rubocop:enable Metrics/BlockLength
1320
- end
1321
- # rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
1322
- # rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
1323
- # rubocop:enable Metrics/MethodLength, Layout/EmptyLines
1324
-
1325
- # rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
1326
- # rubocop:disable Style/IfUnlessModifier, Metrics/ParameterLists
1327
- # rubocop:disable Metrics/MethodLength, Layout/EmptyLines
1328
-
1329
-
1330
1227
  # Creates a new Autonomous Database.
1331
1228
  #
1332
1229
  # @param [OCI::Database::Models::CreateAutonomousDatabaseBase] create_autonomous_database_details Request to create a new Autonomous Database.
@@ -1342,6 +1239,7 @@ module OCI
1342
1239
  # @option opts [String] :opc_request_id Unique identifier for the request.
1343
1240
  #
1344
1241
  # @return [Response] A Response object with data of type {OCI::Database::Models::AutonomousDatabase AutonomousDatabase}
1242
+ # @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/database/create_autonomous_database.rb.html) to see an example of how to use create_autonomous_database API.
1345
1243
  def create_autonomous_database(create_autonomous_database_details, opts = {})
1346
1244
  logger.debug 'Calling operation DatabaseClient#create_autonomous_database.' if logger
1347
1245
 
@@ -1404,6 +1302,7 @@ module OCI
1404
1302
  # @option opts [String] :opc_request_id Unique identifier for the request.
1405
1303
  #
1406
1304
  # @return [Response] A Response object with data of type {OCI::Database::Models::AutonomousDatabaseBackup AutonomousDatabaseBackup}
1305
+ # @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/database/create_autonomous_database_backup.rb.html) to see an example of how to use create_autonomous_database_backup API.
1407
1306
  def create_autonomous_database_backup(create_autonomous_database_backup_details, opts = {})
1408
1307
  logger.debug 'Calling operation DatabaseClient#create_autonomous_database_backup.' if logger
1409
1308
 
@@ -1466,6 +1365,7 @@ module OCI
1466
1365
  # @option opts [String] :opc_request_id Unique identifier for the request.
1467
1366
  #
1468
1367
  # @return [Response] A Response object with data of type {OCI::Database::Models::AutonomousVmCluster AutonomousVmCluster}
1368
+ # @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/database/create_autonomous_vm_cluster.rb.html) to see an example of how to use create_autonomous_vm_cluster API.
1469
1369
  def create_autonomous_vm_cluster(create_autonomous_vm_cluster_details, opts = {})
1470
1370
  logger.debug 'Calling operation DatabaseClient#create_autonomous_vm_cluster.' if logger
1471
1371
 
@@ -1526,6 +1426,7 @@ module OCI
1526
1426
  # may be rejected).
1527
1427
  #
1528
1428
  # @return [Response] A Response object with data of type {OCI::Database::Models::Backup Backup}
1429
+ # @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/database/create_backup.rb.html) to see an example of how to use create_backup API.
1529
1430
  def create_backup(create_backup_details, opts = {})
1530
1431
  logger.debug 'Calling operation DatabaseClient#create_backup.' if logger
1531
1432
 
@@ -1588,6 +1489,7 @@ module OCI
1588
1489
  # @option opts [String] :opc_request_id Unique identifier for the request.
1589
1490
  #
1590
1491
  # @return [Response] A Response object with data of type {OCI::Database::Models::BackupDestination BackupDestination}
1492
+ # @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/database/create_backup_destination.rb.html) to see an example of how to use create_backup_destination API.
1591
1493
  def create_backup_destination(create_backup_destination_details, opts = {})
1592
1494
  logger.debug 'Calling operation DatabaseClient#create_backup_destination.' if logger
1593
1495
 
@@ -1635,8 +1537,10 @@ module OCI
1635
1537
  # rubocop:disable Metrics/MethodLength, Layout/EmptyLines
1636
1538
 
1637
1539
 
1638
- # Creates a cloud Exadata infrastructure resource.
1639
- # @param [OCI::Database::Models::CreateCloudExadataInfrastructureDetails] create_cloud_exadata_infrastructure_details Request to create cloud Exadata infrastructure.
1540
+ # Creates a cloud Exadata infrastructure resource. This resource is used to create an [Exadata Cloud Service](https://docs.cloud.oracle.com/Content/Database/Concepts/exaoverview.htm) instance.
1541
+ #
1542
+ # @param [OCI::Database::Models::CreateCloudExadataInfrastructureDetails] create_cloud_exadata_infrastructure_details Request to create a cloud Exadata infrastructure resource in an [Exadata Cloud Service](https://docs.cloud.oracle.com/Content/Database/Concepts/exaoverview.htm) instance.
1543
+ #
1640
1544
  # @param [Hash] opts the optional parameters
1641
1545
  # @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
1642
1546
  # retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
@@ -1649,6 +1553,7 @@ module OCI
1649
1553
  # @option opts [String] :opc_request_id Unique identifier for the request.
1650
1554
  #
1651
1555
  # @return [Response] A Response object with data of type {OCI::Database::Models::CloudExadataInfrastructure CloudExadataInfrastructure}
1556
+ # @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/database/create_cloud_exadata_infrastructure.rb.html) to see an example of how to use create_cloud_exadata_infrastructure API.
1652
1557
  def create_cloud_exadata_infrastructure(create_cloud_exadata_infrastructure_details, opts = {})
1653
1558
  logger.debug 'Calling operation DatabaseClient#create_cloud_exadata_infrastructure.' if logger
1654
1559
 
@@ -1698,7 +1603,8 @@ module OCI
1698
1603
 
1699
1604
  # Creates a cloud VM cluster.
1700
1605
  #
1701
- # @param [OCI::Database::Models::CreateCloudVmClusterDetails] create_cloud_vm_cluster_details Request to create a cloud VM cluster.
1606
+ # @param [OCI::Database::Models::CreateCloudVmClusterDetails] create_cloud_vm_cluster_details Request to create a cloud VM cluster. Applies to Exadata Cloud Service instances only. See [The New Exadata Cloud Service Resource Model](https://docs.cloud.oracle.com/iaas/Content/Database/Concepts/exaflexsystem.htm#exaflexsystem_topic-resource_model) for information on this resource type.
1607
+ #
1702
1608
  # @param [Hash] opts the optional parameters
1703
1609
  # @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
1704
1610
  # retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
@@ -1711,6 +1617,7 @@ module OCI
1711
1617
  # @option opts [String] :opc_request_id Unique identifier for the request.
1712
1618
  #
1713
1619
  # @return [Response] A Response object with data of type {OCI::Database::Models::CloudVmCluster CloudVmCluster}
1620
+ # @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/database/create_cloud_vm_cluster.rb.html) to see an example of how to use create_cloud_vm_cluster API.
1714
1621
  def create_cloud_vm_cluster(create_cloud_vm_cluster_details, opts = {})
1715
1622
  logger.debug 'Calling operation DatabaseClient#create_cloud_vm_cluster.' if logger
1716
1623
 
@@ -1774,6 +1681,7 @@ module OCI
1774
1681
  # may be rejected).
1775
1682
  #
1776
1683
  # @return [Response] A Response object with data of type {OCI::Database::Models::ConsoleConnection ConsoleConnection}
1684
+ # @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/database/create_console_connection.rb.html) to see an example of how to use create_console_connection API.
1777
1685
  def create_console_connection(create_console_connection_details, db_node_id, opts = {})
1778
1686
  logger.debug 'Calling operation DatabaseClient#create_console_connection.' if logger
1779
1687
 
@@ -1843,6 +1751,7 @@ module OCI
1843
1751
  # may be rejected).
1844
1752
  #
1845
1753
  # @return [Response] A Response object with data of type {OCI::Database::Models::DataGuardAssociation DataGuardAssociation}
1754
+ # @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/database/create_data_guard_association.rb.html) to see an example of how to use create_data_guard_association API.
1846
1755
  def create_data_guard_association(database_id, create_data_guard_association_details, opts = {})
1847
1756
  logger.debug 'Calling operation DatabaseClient#create_data_guard_association.' if logger
1848
1757
 
@@ -1906,6 +1815,7 @@ module OCI
1906
1815
  # @option opts [String] :opc_request_id Unique identifier for the request.
1907
1816
  #
1908
1817
  # @return [Response] A Response object with data of type {OCI::Database::Models::Database Database}
1818
+ # @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/database/create_database.rb.html) to see an example of how to use create_database API.
1909
1819
  def create_database(create_new_database_details, opts = {})
1910
1820
  logger.debug 'Calling operation DatabaseClient#create_database.' if logger
1911
1821
 
@@ -1966,6 +1876,7 @@ module OCI
1966
1876
  # may be rejected).
1967
1877
  #
1968
1878
  # @return [Response] A Response object with data of type {OCI::Database::Models::DatabaseSoftwareImage DatabaseSoftwareImage}
1879
+ # @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/database/create_database_software_image.rb.html) to see an example of how to use create_database_software_image API.
1969
1880
  def create_database_software_image(create_database_software_image_details, opts = {})
1970
1881
  logger.debug 'Calling operation DatabaseClient#create_database_software_image.' if logger
1971
1882
 
@@ -2025,6 +1936,7 @@ module OCI
2025
1936
  # may be rejected).
2026
1937
  #
2027
1938
  # @return [Response] A Response object with data of type {OCI::Database::Models::DbHome DbHome}
1939
+ # @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/database/create_db_home.rb.html) to see an example of how to use create_db_home API.
2028
1940
  def create_db_home(create_db_home_with_db_system_id_details, opts = {})
2029
1941
  logger.debug 'Calling operation DatabaseClient#create_db_home.' if logger
2030
1942
 
@@ -2071,7 +1983,9 @@ module OCI
2071
1983
  # rubocop:disable Metrics/MethodLength, Layout/EmptyLines
2072
1984
 
2073
1985
 
2074
- # Creates Exadata Cloud@Customer infrastructure.
1986
+ # Creates an Exadata infrastructure resource. Applies to Exadata Cloud@Customer instances only.
1987
+ # To create an Exadata Cloud Service infrastructure resource, use the {#create_cloud_exadata_infrastructure create_cloud_exadata_infrastructure} operation.
1988
+ #
2075
1989
  # @param [OCI::Database::Models::CreateExadataInfrastructureDetails] create_exadata_infrastructure_details Request to create Exadata Cloud@Customer infrastructure.
2076
1990
  # @param [Hash] opts the optional parameters
2077
1991
  # @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
@@ -2085,6 +1999,7 @@ module OCI
2085
1999
  # @option opts [String] :opc_request_id Unique identifier for the request.
2086
2000
  #
2087
2001
  # @return [Response] A Response object with data of type {OCI::Database::Models::ExadataInfrastructure ExadataInfrastructure}
2002
+ # @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/database/create_exadata_infrastructure.rb.html) to see an example of how to use create_exadata_infrastructure API.
2088
2003
  def create_exadata_infrastructure(create_exadata_infrastructure_details, opts = {})
2089
2004
  logger.debug 'Calling operation DatabaseClient#create_exadata_infrastructure.' if logger
2090
2005
 
@@ -2147,6 +2062,7 @@ module OCI
2147
2062
  # may be rejected).
2148
2063
  #
2149
2064
  # @return [Response] A Response object with data of type {OCI::Database::Models::ExternalBackupJob ExternalBackupJob}
2065
+ # @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/database/create_external_backup_job.rb.html) to see an example of how to use create_external_backup_job API.
2150
2066
  def create_external_backup_job(create_external_backup_job_details, opts = {})
2151
2067
  logger.debug 'Calling operation DatabaseClient#create_external_backup_job.' if logger
2152
2068
 
@@ -2209,6 +2125,7 @@ module OCI
2209
2125
  # @option opts [String] :opc_request_id Unique identifier for the request.
2210
2126
  #
2211
2127
  # @return [Response] A Response object with data of type {OCI::Database::Models::KeyStore KeyStore}
2128
+ # @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/database/create_key_store.rb.html) to see an example of how to use create_key_store API.
2212
2129
  def create_key_store(create_key_store_details, opts = {})
2213
2130
  logger.debug 'Calling operation DatabaseClient#create_key_store.' if logger
2214
2131
 
@@ -2258,7 +2175,9 @@ module OCI
2258
2175
 
2259
2176
  # Creates an Exadata Cloud@Customer VM cluster.
2260
2177
  #
2261
- # @param [OCI::Database::Models::CreateVmClusterDetails] create_vm_cluster_details Request to create an Exadata Cloud@Customer VM cluster.
2178
+ # @param [OCI::Database::Models::CreateVmClusterDetails] create_vm_cluster_details Request to create a VM cluster. Applies to Exadata Cloud@Customer instances only.
2179
+ # See {#create_cloud_vm_cluster_details create_cloud_vm_cluster_details} for details on creating a cloud VM cluster in an Exadata Cloud Service instance.
2180
+ #
2262
2181
  # @param [Hash] opts the optional parameters
2263
2182
  # @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
2264
2183
  # retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
@@ -2271,6 +2190,7 @@ module OCI
2271
2190
  # @option opts [String] :opc_request_id Unique identifier for the request.
2272
2191
  #
2273
2192
  # @return [Response] A Response object with data of type {OCI::Database::Models::VmCluster VmCluster}
2193
+ # @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/database/create_vm_cluster.rb.html) to see an example of how to use create_vm_cluster API.
2274
2194
  def create_vm_cluster(create_vm_cluster_details, opts = {})
2275
2195
  logger.debug 'Calling operation DatabaseClient#create_vm_cluster.' if logger
2276
2196
 
@@ -2318,7 +2238,8 @@ module OCI
2318
2238
  # rubocop:disable Metrics/MethodLength, Layout/EmptyLines
2319
2239
 
2320
2240
 
2321
- # Creates the Exadata Cloud@Customer VM cluster network.
2241
+ # Creates the VM cluster network. Applies to Exadata Cloud@Customer instances only.
2242
+ # To create a cloud VM cluster in an Exadata Cloud Service instance, use the {#create_cloud_vm_cluster create_cloud_vm_cluster} operation.
2322
2243
  #
2323
2244
  # @param [String] exadata_infrastructure_id The Exadata infrastructure [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm).
2324
2245
  # @param [OCI::Database::Models::VmClusterNetworkDetails] vm_cluster_network_details Request to create the Cloud@Customer VM cluster network.
@@ -2334,6 +2255,7 @@ module OCI
2334
2255
  # @option opts [String] :opc_request_id Unique identifier for the request.
2335
2256
  #
2336
2257
  # @return [Response] A Response object with data of type {OCI::Database::Models::VmClusterNetwork VmClusterNetwork}
2258
+ # @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/database/create_vm_cluster_network.rb.html) to see an example of how to use create_vm_cluster_network API.
2337
2259
  def create_vm_cluster_network(exadata_infrastructure_id, vm_cluster_network_details, opts = {})
2338
2260
  logger.debug 'Calling operation DatabaseClient#create_vm_cluster_network.' if logger
2339
2261
 
@@ -2414,6 +2336,7 @@ module OCI
2414
2336
  # will be updated or deleted only if the etag you provide matches the resource's current etag value.
2415
2337
  #
2416
2338
  # @return [Response] A Response object with data of type {OCI::Database::Models::DbNode DbNode}
2339
+ # @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/database/db_node_action.rb.html) to see an example of how to use db_node_action API.
2417
2340
  def db_node_action(db_node_id, action, opts = {})
2418
2341
  logger.debug 'Calling operation DatabaseClient#db_node_action.' if logger
2419
2342
 
@@ -2467,62 +2390,6 @@ module OCI
2467
2390
  # rubocop:disable Metrics/MethodLength, Layout/EmptyLines
2468
2391
 
2469
2392
 
2470
- # **Deprecated.** To delete an Autonomous Data Warehouse, use the {#delete_autonomous_database delete_autonomous_database} operation.
2471
- #
2472
- # @param [String] autonomous_data_warehouse_id The database [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm).
2473
- # @param [Hash] opts the optional parameters
2474
- # @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
2475
- # retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
2476
- # @option opts [String] :if_match For optimistic concurrency control. In the PUT or DELETE call for a resource, set the `if-match`
2477
- # parameter to the value of the etag from a previous GET or POST response for that resource. The resource
2478
- # will be updated or deleted only if the etag you provide matches the resource's current etag value.
2479
- #
2480
- # @return [Response] A Response object with data of type nil
2481
- def delete_autonomous_data_warehouse(autonomous_data_warehouse_id, opts = {})
2482
- logger.debug 'Calling operation DatabaseClient#delete_autonomous_data_warehouse.' if logger
2483
-
2484
- raise "Missing the required parameter 'autonomous_data_warehouse_id' when calling delete_autonomous_data_warehouse." if autonomous_data_warehouse_id.nil?
2485
- raise "Parameter value for 'autonomous_data_warehouse_id' must not be blank" if OCI::Internal::Util.blank_string?(autonomous_data_warehouse_id)
2486
-
2487
- path = '/autonomousDataWarehouses/{autonomousDataWarehouseId}'.sub('{autonomousDataWarehouseId}', autonomous_data_warehouse_id.to_s)
2488
- operation_signing_strategy = :standard
2489
-
2490
- # rubocop:disable Style/NegatedIf
2491
- # Query Params
2492
- query_params = {}
2493
-
2494
- # Header Params
2495
- header_params = {}
2496
- header_params[:accept] = 'application/json'
2497
- header_params[:'content-type'] = 'application/json'
2498
- header_params[:'if-match'] = opts[:if_match] if opts[:if_match]
2499
- # rubocop:enable Style/NegatedIf
2500
-
2501
- post_body = nil
2502
-
2503
- # rubocop:disable Metrics/BlockLength
2504
- OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'DatabaseClient#delete_autonomous_data_warehouse') do
2505
- @api_client.call_api(
2506
- :DELETE,
2507
- path,
2508
- endpoint,
2509
- header_params: header_params,
2510
- query_params: query_params,
2511
- operation_signing_strategy: operation_signing_strategy,
2512
- body: post_body
2513
- )
2514
- end
2515
- # rubocop:enable Metrics/BlockLength
2516
- end
2517
- # rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
2518
- # rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
2519
- # rubocop:enable Metrics/MethodLength, Layout/EmptyLines
2520
-
2521
- # rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
2522
- # rubocop:disable Style/IfUnlessModifier, Metrics/ParameterLists
2523
- # rubocop:disable Metrics/MethodLength, Layout/EmptyLines
2524
-
2525
-
2526
2393
  # Deletes the specified Autonomous Database.
2527
2394
  #
2528
2395
  # @param [String] autonomous_database_id The database [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm).
@@ -2536,6 +2403,7 @@ module OCI
2536
2403
  # @option opts [String] :opc_request_id Unique identifier for the request.
2537
2404
  #
2538
2405
  # @return [Response] A Response object with data of type nil
2406
+ # @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/database/delete_autonomous_database.rb.html) to see an example of how to use delete_autonomous_database API.
2539
2407
  def delete_autonomous_database(autonomous_database_id, opts = {})
2540
2408
  logger.debug 'Calling operation DatabaseClient#delete_autonomous_database.' if logger
2541
2409
 
@@ -2595,6 +2463,7 @@ module OCI
2595
2463
  # @option opts [String] :opc_request_id Unique identifier for the request.
2596
2464
  #
2597
2465
  # @return [Response] A Response object with data of type nil
2466
+ # @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/database/delete_autonomous_vm_cluster.rb.html) to see an example of how to use delete_autonomous_vm_cluster API.
2598
2467
  def delete_autonomous_vm_cluster(autonomous_vm_cluster_id, opts = {})
2599
2468
  logger.debug 'Calling operation DatabaseClient#delete_autonomous_vm_cluster.' if logger
2600
2469
 
@@ -2651,6 +2520,7 @@ module OCI
2651
2520
  # will be updated or deleted only if the etag you provide matches the resource's current etag value.
2652
2521
  #
2653
2522
  # @return [Response] A Response object with data of type nil
2523
+ # @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/database/delete_backup.rb.html) to see an example of how to use delete_backup API.
2654
2524
  def delete_backup(backup_id, opts = {})
2655
2525
  logger.debug 'Calling operation DatabaseClient#delete_backup.' if logger
2656
2526
 
@@ -2709,6 +2579,7 @@ module OCI
2709
2579
  # @option opts [String] :opc_request_id Unique identifier for the request.
2710
2580
  #
2711
2581
  # @return [Response] A Response object with data of type nil
2582
+ # @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/database/delete_backup_destination.rb.html) to see an example of how to use delete_backup_destination API.
2712
2583
  def delete_backup_destination(backup_destination_id, opts = {})
2713
2584
  logger.debug 'Calling operation DatabaseClient#delete_backup_destination.' if logger
2714
2585
 
@@ -2755,7 +2626,7 @@ module OCI
2755
2626
  # rubocop:disable Metrics/MethodLength, Layout/EmptyLines
2756
2627
 
2757
2628
 
2758
- # Deletes the cloud Exadata infrastructure resource.
2629
+ # Deletes the cloud Exadata infrastructure resource. Applies to Exadata Cloud Service instances only.
2759
2630
  #
2760
2631
  # @param [String] cloud_exadata_infrastructure_id The cloud Exadata infrastructure [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm).
2761
2632
  # @param [Hash] opts the optional parameters
@@ -2770,6 +2641,7 @@ module OCI
2770
2641
  # @option opts [String] :opc_request_id Unique identifier for the request.
2771
2642
  #
2772
2643
  # @return [Response] A Response object with data of type nil
2644
+ # @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/database/delete_cloud_exadata_infrastructure.rb.html) to see an example of how to use delete_cloud_exadata_infrastructure API.
2773
2645
  def delete_cloud_exadata_infrastructure(cloud_exadata_infrastructure_id, opts = {})
2774
2646
  logger.debug 'Calling operation DatabaseClient#delete_cloud_exadata_infrastructure.' if logger
2775
2647
 
@@ -2817,7 +2689,7 @@ module OCI
2817
2689
  # rubocop:disable Metrics/MethodLength, Layout/EmptyLines
2818
2690
 
2819
2691
 
2820
- # Deletes the specified cloud VM cluster.
2692
+ # Deletes the specified cloud VM cluster. Applies to Exadata Cloud Service instances only.
2821
2693
  #
2822
2694
  # @param [String] cloud_vm_cluster_id The cloud VM cluster [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm).
2823
2695
  # @param [Hash] opts the optional parameters
@@ -2830,6 +2702,7 @@ module OCI
2830
2702
  # @option opts [String] :opc_request_id Unique identifier for the request.
2831
2703
  #
2832
2704
  # @return [Response] A Response object with data of type nil
2705
+ # @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/database/delete_cloud_vm_cluster.rb.html) to see an example of how to use delete_cloud_vm_cluster API.
2833
2706
  def delete_cloud_vm_cluster(cloud_vm_cluster_id, opts = {})
2834
2707
  logger.debug 'Calling operation DatabaseClient#delete_cloud_vm_cluster.' if logger
2835
2708
 
@@ -2887,6 +2760,7 @@ module OCI
2887
2760
  # will be updated or deleted only if the etag you provide matches the resource's current etag value.
2888
2761
  #
2889
2762
  # @return [Response] A Response object with data of type nil
2763
+ # @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/database/delete_console_connection.rb.html) to see an example of how to use delete_console_connection API.
2890
2764
  def delete_console_connection(db_node_id, console_connection_id, opts = {})
2891
2765
  logger.debug 'Calling operation DatabaseClient#delete_console_connection.' if logger
2892
2766
 
@@ -2955,6 +2829,7 @@ module OCI
2955
2829
  # @option opts [String] :opc_request_id Unique identifier for the request.
2956
2830
  #
2957
2831
  # @return [Response] A Response object with data of type nil
2832
+ # @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/database/delete_database.rb.html) to see an example of how to use delete_database API.
2958
2833
  def delete_database(database_id, opts = {})
2959
2834
  logger.debug 'Calling operation DatabaseClient#delete_database.' if logger
2960
2835
 
@@ -3012,6 +2887,7 @@ module OCI
3012
2887
  # will be updated or deleted only if the etag you provide matches the resource's current etag value.
3013
2888
  #
3014
2889
  # @return [Response] A Response object with data of type nil
2890
+ # @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/database/delete_database_software_image.rb.html) to see an example of how to use delete_database_software_image API.
3015
2891
  def delete_database_software_image(database_software_image_id, opts = {})
3016
2892
  logger.debug 'Calling operation DatabaseClient#delete_database_software_image.' if logger
3017
2893
 
@@ -3076,6 +2952,7 @@ module OCI
3076
2952
  # This parameter is used in multiple APIs. Refer to the API description for details on how the operation uses it.
3077
2953
  # (default to false)
3078
2954
  # @return [Response] A Response object with data of type nil
2955
+ # @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/database/delete_db_home.rb.html) to see an example of how to use delete_db_home API.
3079
2956
  def delete_db_home(db_home_id, opts = {})
3080
2957
  logger.debug 'Calling operation DatabaseClient#delete_db_home.' if logger
3081
2958
 
@@ -3135,6 +3012,7 @@ module OCI
3135
3012
  # @option opts [String] :opc_request_id Unique identifier for the request.
3136
3013
  #
3137
3014
  # @return [Response] A Response object with data of type nil
3015
+ # @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/database/delete_exadata_infrastructure.rb.html) to see an example of how to use delete_exadata_infrastructure API.
3138
3016
  def delete_exadata_infrastructure(exadata_infrastructure_id, opts = {})
3139
3017
  logger.debug 'Calling operation DatabaseClient#delete_exadata_infrastructure.' if logger
3140
3018
 
@@ -3194,6 +3072,7 @@ module OCI
3194
3072
  # @option opts [String] :opc_request_id Unique identifier for the request.
3195
3073
  #
3196
3074
  # @return [Response] A Response object with data of type nil
3075
+ # @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/database/delete_key_store.rb.html) to see an example of how to use delete_key_store API.
3197
3076
  def delete_key_store(key_store_id, opts = {})
3198
3077
  logger.debug 'Calling operation DatabaseClient#delete_key_store.' if logger
3199
3078
 
@@ -3240,7 +3119,7 @@ module OCI
3240
3119
  # rubocop:disable Metrics/MethodLength, Layout/EmptyLines
3241
3120
 
3242
3121
 
3243
- # Deletes the specified Exadata Cloud@Customer VM cluster.
3122
+ # Deletes the specified VM cluster. Applies to Exadata Cloud@Customer instances only.
3244
3123
  #
3245
3124
  # @param [String] vm_cluster_id The VM cluster [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm).
3246
3125
  # @param [Hash] opts the optional parameters
@@ -3253,6 +3132,7 @@ module OCI
3253
3132
  # @option opts [String] :opc_request_id Unique identifier for the request.
3254
3133
  #
3255
3134
  # @return [Response] A Response object with data of type nil
3135
+ # @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/database/delete_vm_cluster.rb.html) to see an example of how to use delete_vm_cluster API.
3256
3136
  def delete_vm_cluster(vm_cluster_id, opts = {})
3257
3137
  logger.debug 'Calling operation DatabaseClient#delete_vm_cluster.' if logger
3258
3138
 
@@ -3299,7 +3179,8 @@ module OCI
3299
3179
  # rubocop:disable Metrics/MethodLength, Layout/EmptyLines
3300
3180
 
3301
3181
 
3302
- # Deletes the specified Exadata Cloud@Customer VM cluster network.
3182
+ # Deletes the specified VM cluster network. Applies to Exadata Cloud@Customer instances only.
3183
+ # To delete a cloud VM cluster in an Exadata Cloud Service instance, use the {#delete_cloud_vm_cluster delete_cloud_vm_cluster} operation.
3303
3184
  #
3304
3185
  # @param [String] exadata_infrastructure_id The Exadata infrastructure [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm).
3305
3186
  # @param [String] vm_cluster_network_id The VM cluster network [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm).
@@ -3313,6 +3194,7 @@ module OCI
3313
3194
  # @option opts [String] :opc_request_id Unique identifier for the request.
3314
3195
  #
3315
3196
  # @return [Response] A Response object with data of type nil
3197
+ # @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/database/delete_vm_cluster_network.rb.html) to see an example of how to use delete_vm_cluster_network API.
3316
3198
  def delete_vm_cluster_network(exadata_infrastructure_id, vm_cluster_network_id, opts = {})
3317
3199
  logger.debug 'Calling operation DatabaseClient#delete_vm_cluster_network.' if logger
3318
3200
 
@@ -3371,6 +3253,7 @@ module OCI
3371
3253
  #
3372
3254
  # @option opts [OCI::Database::Models::DeregisterAutonomousDatabaseDataSafeDetails] :deregister_autonomous_database_data_safe_details Details for deregistering an Autonomous Database with Data Safe.
3373
3255
  # @return [Response] A Response object with data of type nil
3256
+ # @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/database/deregister_autonomous_database_data_safe.rb.html) to see an example of how to use deregister_autonomous_database_data_safe API.
3374
3257
  def deregister_autonomous_database_data_safe(autonomous_database_id, opts = {})
3375
3258
  logger.debug 'Calling operation DatabaseClient#deregister_autonomous_database_data_safe.' if logger
3376
3259
 
@@ -3425,6 +3308,7 @@ module OCI
3425
3308
  # @option opts [String] :opc_request_id Unique identifier for the request.
3426
3309
  #
3427
3310
  # @return [Response] A Response object with data of type nil
3311
+ # @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/database/disable_autonomous_database_operations_insights.rb.html) to see an example of how to use disable_autonomous_database_operations_insights API.
3428
3312
  def disable_autonomous_database_operations_insights(autonomous_database_id, opts = {})
3429
3313
  logger.debug 'Calling operation DatabaseClient#disable_autonomous_database_operations_insights.' if logger
3430
3314
 
@@ -3487,6 +3371,7 @@ module OCI
3487
3371
  # @option opts [String, IO] :response_target Streaming http body into a file (specified by file name or File object) or IO object if the block is not given
3488
3372
  # @option [Block] &block Streaming http body to the block
3489
3373
  # @return [Response] A Response object with data of type String if response_target and block are not given, otherwise with nil data
3374
+ # @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/database/download_exadata_infrastructure_config_file.rb.html) to see an example of how to use download_exadata_infrastructure_config_file API.
3490
3375
  def download_exadata_infrastructure_config_file(exadata_infrastructure_id, opts = {}, &block)
3491
3376
  logger.debug 'Calling operation DatabaseClient#download_exadata_infrastructure_config_file.' if logger
3492
3377
 
@@ -3579,7 +3464,7 @@ module OCI
3579
3464
  # rubocop:disable Metrics/MethodLength, Layout/EmptyLines
3580
3465
 
3581
3466
 
3582
- # Downloads the configuration file for the specified Exadata Cloud@Customer VM cluster network.
3467
+ # Downloads the configuration file for the specified VM cluster network. Applies to Exadata Cloud@Customer instances only.
3583
3468
  #
3584
3469
  # @param [String] exadata_infrastructure_id The Exadata infrastructure [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm).
3585
3470
  # @param [String] vm_cluster_network_id The VM cluster network [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm).
@@ -3597,6 +3482,7 @@ module OCI
3597
3482
  # @option opts [String, IO] :response_target Streaming http body into a file (specified by file name or File object) or IO object if the block is not given
3598
3483
  # @option [Block] &block Streaming http body to the block
3599
3484
  # @return [Response] A Response object with data of type String if response_target and block are not given, otherwise with nil data
3485
+ # @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/database/download_vm_cluster_network_config_file.rb.html) to see an example of how to use download_vm_cluster_network_config_file API.
3600
3486
  def download_vm_cluster_network_config_file(exadata_infrastructure_id, vm_cluster_network_id, opts = {}, &block)
3601
3487
  logger.debug 'Calling operation DatabaseClient#download_vm_cluster_network_config_file.' if logger
3602
3488
 
@@ -3700,6 +3586,7 @@ module OCI
3700
3586
  # @option opts [String] :opc_request_id Unique identifier for the request.
3701
3587
  #
3702
3588
  # @return [Response] A Response object with data of type nil
3589
+ # @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/database/enable_autonomous_database_operations_insights.rb.html) to see an example of how to use enable_autonomous_database_operations_insights API.
3703
3590
  def enable_autonomous_database_operations_insights(autonomous_database_id, opts = {})
3704
3591
  logger.debug 'Calling operation DatabaseClient#enable_autonomous_database_operations_insights.' if logger
3705
3592
 
@@ -3764,6 +3651,7 @@ module OCI
3764
3651
  # @option opts [String] :opc_request_id Unique identifier for the request.
3765
3652
  #
3766
3653
  # @return [Response] A Response object with data of type {OCI::Database::Models::AutonomousDatabase AutonomousDatabase}
3654
+ # @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/database/fail_over_autonomous_database.rb.html) to see an example of how to use fail_over_autonomous_database API.
3767
3655
  def fail_over_autonomous_database(autonomous_database_id, opts = {})
3768
3656
  logger.debug 'Calling operation DatabaseClient#fail_over_autonomous_database.' if logger
3769
3657
 
@@ -3827,6 +3715,7 @@ module OCI
3827
3715
  # will be updated or deleted only if the etag you provide matches the resource's current etag value.
3828
3716
  #
3829
3717
  # @return [Response] A Response object with data of type {OCI::Database::Models::AutonomousContainerDatabaseDataguardAssociation AutonomousContainerDatabaseDataguardAssociation}
3718
+ # @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/database/failover_autonomous_container_database_dataguard_association.rb.html) to see an example of how to use failover_autonomous_container_database_dataguard_association API.
3830
3719
  def failover_autonomous_container_database_dataguard_association(autonomous_container_database_id, autonomous_container_database_dataguard_association_id, opts = {})
3831
3720
  logger.debug 'Calling operation DatabaseClient#failover_autonomous_container_database_dataguard_association.' if logger
3832
3721
 
@@ -3892,6 +3781,7 @@ module OCI
3892
3781
  # will be updated or deleted only if the etag you provide matches the resource's current etag value.
3893
3782
  #
3894
3783
  # @return [Response] A Response object with data of type {OCI::Database::Models::DataGuardAssociation DataGuardAssociation}
3784
+ # @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/database/failover_data_guard_association.rb.html) to see an example of how to use failover_data_guard_association API.
3895
3785
  def failover_data_guard_association(database_id, data_guard_association_id, failover_data_guard_association_details, opts = {})
3896
3786
  logger.debug 'Calling operation DatabaseClient#failover_data_guard_association.' if logger
3897
3787
 
@@ -3941,117 +3831,6 @@ module OCI
3941
3831
  # rubocop:disable Metrics/MethodLength, Layout/EmptyLines
3942
3832
 
3943
3833
 
3944
- # **Deprecated.** To create and download a wallet for an Autonomous Data Warehouse, use the {#generate_autonomous_database_wallet generate_autonomous_database_wallet} operation.
3945
- #
3946
- # @param [String] autonomous_data_warehouse_id The database [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm).
3947
- # @param [OCI::Database::Models::GenerateAutonomousDataWarehouseWalletDetails] generate_autonomous_data_warehouse_wallet_details Request to create a new Autonomous Data Warehouse wallet.
3948
- # @param [Hash] opts the optional parameters
3949
- # @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
3950
- # retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
3951
- # @option opts [String] :opc_request_id Unique identifier for the request.
3952
- #
3953
- # @option opts [String] :opc_retry_token A token that uniquely identifies a request so it can be retried in case of a timeout or
3954
- # server error without risk of executing that same action again. Retry tokens expire after 24
3955
- # hours, but can be invalidated before then due to conflicting operations (for example, if a resource
3956
- # has been deleted and purged from the system, then a retry of the original creation request
3957
- # may be rejected).
3958
- #
3959
- # @option opts [String, IO] :response_target Streaming http body into a file (specified by file name or File object) or IO object if the block is not given
3960
- # @option [Block] &block Streaming http body to the block
3961
- # @return [Response] A Response object with data of type String if response_target and block are not given, otherwise with nil data
3962
- def generate_autonomous_data_warehouse_wallet(autonomous_data_warehouse_id, generate_autonomous_data_warehouse_wallet_details, opts = {}, &block)
3963
- logger.debug 'Calling operation DatabaseClient#generate_autonomous_data_warehouse_wallet.' if logger
3964
-
3965
- raise "Missing the required parameter 'autonomous_data_warehouse_id' when calling generate_autonomous_data_warehouse_wallet." if autonomous_data_warehouse_id.nil?
3966
- raise "Missing the required parameter 'generate_autonomous_data_warehouse_wallet_details' when calling generate_autonomous_data_warehouse_wallet." if generate_autonomous_data_warehouse_wallet_details.nil?
3967
- raise "Parameter value for 'autonomous_data_warehouse_id' must not be blank" if OCI::Internal::Util.blank_string?(autonomous_data_warehouse_id)
3968
-
3969
- path = '/autonomousDataWarehouses/{autonomousDataWarehouseId}/actions/generateWallet'.sub('{autonomousDataWarehouseId}', autonomous_data_warehouse_id.to_s)
3970
- operation_signing_strategy = :standard
3971
-
3972
- # rubocop:disable Style/NegatedIf
3973
- # Query Params
3974
- query_params = {}
3975
-
3976
- # Header Params
3977
- header_params = {}
3978
- header_params[:accept] = opts[:accept] if opts[:accept]
3979
- header_params[:accept] ||= 'application/octet-stream'
3980
- header_params[:'accept-encoding'] = opts[:accept_encoding] if opts[:accept_encoding]
3981
- header_params[:'content-type'] = 'application/json'
3982
- header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
3983
- header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token]
3984
- # rubocop:enable Style/NegatedIf
3985
- header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token
3986
-
3987
- post_body = @api_client.object_to_http_body(generate_autonomous_data_warehouse_wallet_details)
3988
-
3989
- # rubocop:disable Metrics/BlockLength
3990
- OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'DatabaseClient#generate_autonomous_data_warehouse_wallet') do
3991
- if !block.nil?
3992
- @api_client.call_api(
3993
- :POST,
3994
- path,
3995
- endpoint,
3996
- header_params: header_params,
3997
- query_params: query_params,
3998
- operation_signing_strategy: operation_signing_strategy,
3999
- body: post_body,
4000
- return_type: 'Stream',
4001
- &block
4002
- )
4003
- elsif opts[:response_target]
4004
- if opts[:response_target].respond_to? :write
4005
- @api_client.call_api(
4006
- :POST,
4007
- path,
4008
- endpoint,
4009
- header_params: header_params,
4010
- query_params: query_params,
4011
- operation_signing_strategy: operation_signing_strategy,
4012
- body: post_body,
4013
- return_type: 'Stream',
4014
- &proc { |chunk, _response| opts[:response_target].write(chunk) }
4015
- )
4016
- elsif opts[:response_target].is_a?(String)
4017
- File.open(opts[:response_target], 'wb') do |output|
4018
- return @api_client.call_api(
4019
- :POST,
4020
- path,
4021
- endpoint,
4022
- header_params: header_params,
4023
- query_params: query_params,
4024
- operation_signing_strategy: operation_signing_strategy,
4025
- body: post_body,
4026
- return_type: 'Stream',
4027
- &proc { |chunk, _response| output.write(chunk) }
4028
- )
4029
- end
4030
- end
4031
- else
4032
- @api_client.call_api(
4033
- :POST,
4034
- path,
4035
- endpoint,
4036
- header_params: header_params,
4037
- query_params: query_params,
4038
- operation_signing_strategy: operation_signing_strategy,
4039
- body: post_body,
4040
- return_type: 'String'
4041
- )
4042
- end
4043
- end
4044
- # rubocop:enable Metrics/BlockLength
4045
- end
4046
- # rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
4047
- # rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
4048
- # rubocop:enable Metrics/MethodLength, Layout/EmptyLines
4049
-
4050
- # rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
4051
- # rubocop:disable Style/IfUnlessModifier, Metrics/ParameterLists
4052
- # rubocop:disable Metrics/MethodLength, Layout/EmptyLines
4053
-
4054
-
4055
3834
  # Creates and downloads a wallet for the specified Autonomous Database.
4056
3835
  #
4057
3836
  # @param [String] autonomous_database_id The database [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm).
@@ -4070,6 +3849,7 @@ module OCI
4070
3849
  # @option opts [String, IO] :response_target Streaming http body into a file (specified by file name or File object) or IO object if the block is not given
4071
3850
  # @option [Block] &block Streaming http body to the block
4072
3851
  # @return [Response] A Response object with data of type String if response_target and block are not given, otherwise with nil data
3852
+ # @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/database/generate_autonomous_database_wallet.rb.html) to see an example of how to use generate_autonomous_database_wallet API.
4073
3853
  def generate_autonomous_database_wallet(autonomous_database_id, generate_autonomous_database_wallet_details, opts = {}, &block)
4074
3854
  logger.debug 'Calling operation DatabaseClient#generate_autonomous_database_wallet.' if logger
4075
3855
 
@@ -4179,6 +3959,7 @@ module OCI
4179
3959
  # may be rejected).
4180
3960
  #
4181
3961
  # @return [Response] A Response object with data of type {OCI::Database::Models::VmClusterNetworkDetails VmClusterNetworkDetails}
3962
+ # @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/database/generate_recommended_vm_cluster_network.rb.html) to see an example of how to use generate_recommended_vm_cluster_network API.
4182
3963
  def generate_recommended_vm_cluster_network(exadata_infrastructure_id, generate_recommended_network_details, opts = {})
4183
3964
  logger.debug 'Calling operation DatabaseClient#generate_recommended_vm_cluster_network.' if logger
4184
3965
 
@@ -4235,6 +4016,7 @@ module OCI
4235
4016
  # @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
4236
4017
  # retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
4237
4018
  # @return [Response] A Response object with data of type {OCI::Database::Models::AutonomousContainerDatabase AutonomousContainerDatabase}
4019
+ # @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/database/get_autonomous_container_database.rb.html) to see an example of how to use get_autonomous_container_database API.
4238
4020
  def get_autonomous_container_database(autonomous_container_database_id, opts = {})
4239
4021
  logger.debug 'Calling operation DatabaseClient#get_autonomous_container_database.' if logger
4240
4022
 
@@ -4290,6 +4072,7 @@ module OCI
4290
4072
  # @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
4291
4073
  # retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
4292
4074
  # @return [Response] A Response object with data of type {OCI::Database::Models::AutonomousContainerDatabaseDataguardAssociation AutonomousContainerDatabaseDataguardAssociation}
4075
+ # @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/database/get_autonomous_container_database_dataguard_association.rb.html) to see an example of how to use get_autonomous_container_database_dataguard_association API.
4293
4076
  def get_autonomous_container_database_dataguard_association(autonomous_container_database_id, autonomous_container_database_dataguard_association_id, opts = {})
4294
4077
  logger.debug 'Calling operation DatabaseClient#get_autonomous_container_database_dataguard_association.' if logger
4295
4078
 
@@ -4336,125 +4119,18 @@ module OCI
4336
4119
  # rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
4337
4120
  # rubocop:disable Style/IfUnlessModifier, Metrics/ParameterLists
4338
4121
  # rubocop:disable Metrics/MethodLength, Layout/EmptyLines
4339
- # rubocop:disable Lint/UnusedMethodArgument
4340
4122
 
4341
4123
 
4342
- # **Deprecated.** To get the details of an Autonomous Data Warehouse, use the {#get_autonomous_database get_autonomous_database} operation.
4124
+ # Gets the details of the specified Autonomous Database.
4343
4125
  #
4344
- # @param [String] autonomous_data_warehouse_id The database [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm).
4345
- # @param [Hash] opts the optional parameters
4346
- # @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
4347
- # retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
4348
- # @return [Response] A Response object with data of type {OCI::Database::Models::AutonomousDataWarehouse AutonomousDataWarehouse}
4349
- def get_autonomous_data_warehouse(autonomous_data_warehouse_id, opts = {})
4350
- logger.debug 'Calling operation DatabaseClient#get_autonomous_data_warehouse.' if logger
4351
-
4352
- raise "Missing the required parameter 'autonomous_data_warehouse_id' when calling get_autonomous_data_warehouse." if autonomous_data_warehouse_id.nil?
4353
- raise "Parameter value for 'autonomous_data_warehouse_id' must not be blank" if OCI::Internal::Util.blank_string?(autonomous_data_warehouse_id)
4354
-
4355
- path = '/autonomousDataWarehouses/{autonomousDataWarehouseId}'.sub('{autonomousDataWarehouseId}', autonomous_data_warehouse_id.to_s)
4356
- operation_signing_strategy = :standard
4357
-
4358
- # rubocop:disable Style/NegatedIf
4359
- # Query Params
4360
- query_params = {}
4361
-
4362
- # Header Params
4363
- header_params = {}
4364
- header_params[:accept] = 'application/json'
4365
- header_params[:'content-type'] = 'application/json'
4366
- # rubocop:enable Style/NegatedIf
4367
-
4368
- post_body = nil
4369
-
4370
- # rubocop:disable Metrics/BlockLength
4371
- OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'DatabaseClient#get_autonomous_data_warehouse') do
4372
- @api_client.call_api(
4373
- :GET,
4374
- path,
4375
- endpoint,
4376
- header_params: header_params,
4377
- query_params: query_params,
4378
- operation_signing_strategy: operation_signing_strategy,
4379
- body: post_body,
4380
- return_type: 'OCI::Database::Models::AutonomousDataWarehouse'
4381
- )
4382
- end
4383
- # rubocop:enable Metrics/BlockLength
4384
- end
4385
- # rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
4386
- # rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
4387
- # rubocop:enable Metrics/MethodLength, Layout/EmptyLines
4388
- # rubocop:enable Lint/UnusedMethodArgument
4389
-
4390
- # rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
4391
- # rubocop:disable Style/IfUnlessModifier, Metrics/ParameterLists
4392
- # rubocop:disable Metrics/MethodLength, Layout/EmptyLines
4393
- # rubocop:disable Lint/UnusedMethodArgument
4394
-
4395
-
4396
- # **Deprecated.** To get information about a specified Autonomous Data Warehouse backup, use the {#get_autonomous_database_backup get_autonomous_database_backup} operation.
4397
- #
4398
- # @param [String] autonomous_data_warehouse_backup_id The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the Autonomous Data Warehouse backup.
4399
- # @param [Hash] opts the optional parameters
4400
- # @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
4401
- # retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
4402
- # @return [Response] A Response object with data of type {OCI::Database::Models::AutonomousDataWarehouseBackup AutonomousDataWarehouseBackup}
4403
- def get_autonomous_data_warehouse_backup(autonomous_data_warehouse_backup_id, opts = {})
4404
- logger.debug 'Calling operation DatabaseClient#get_autonomous_data_warehouse_backup.' if logger
4405
-
4406
- raise "Missing the required parameter 'autonomous_data_warehouse_backup_id' when calling get_autonomous_data_warehouse_backup." if autonomous_data_warehouse_backup_id.nil?
4407
- raise "Parameter value for 'autonomous_data_warehouse_backup_id' must not be blank" if OCI::Internal::Util.blank_string?(autonomous_data_warehouse_backup_id)
4408
-
4409
- path = '/autonomousDataWarehouseBackups/{autonomousDataWarehouseBackupId}'.sub('{autonomousDataWarehouseBackupId}', autonomous_data_warehouse_backup_id.to_s)
4410
- operation_signing_strategy = :standard
4411
-
4412
- # rubocop:disable Style/NegatedIf
4413
- # Query Params
4414
- query_params = {}
4415
-
4416
- # Header Params
4417
- header_params = {}
4418
- header_params[:accept] = 'application/json'
4419
- header_params[:'content-type'] = 'application/json'
4420
- # rubocop:enable Style/NegatedIf
4421
-
4422
- post_body = nil
4423
-
4424
- # rubocop:disable Metrics/BlockLength
4425
- OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'DatabaseClient#get_autonomous_data_warehouse_backup') do
4426
- @api_client.call_api(
4427
- :GET,
4428
- path,
4429
- endpoint,
4430
- header_params: header_params,
4431
- query_params: query_params,
4432
- operation_signing_strategy: operation_signing_strategy,
4433
- body: post_body,
4434
- return_type: 'OCI::Database::Models::AutonomousDataWarehouseBackup'
4435
- )
4436
- end
4437
- # rubocop:enable Metrics/BlockLength
4438
- end
4439
- # rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
4440
- # rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
4441
- # rubocop:enable Metrics/MethodLength, Layout/EmptyLines
4442
- # rubocop:enable Lint/UnusedMethodArgument
4443
-
4444
- # rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
4445
- # rubocop:disable Style/IfUnlessModifier, Metrics/ParameterLists
4446
- # rubocop:disable Metrics/MethodLength, Layout/EmptyLines
4447
-
4448
-
4449
- # Gets the details of the specified Autonomous Database.
4450
- #
4451
- # @param [String] autonomous_database_id The database [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm).
4126
+ # @param [String] autonomous_database_id The database [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm).
4452
4127
  # @param [Hash] opts the optional parameters
4453
4128
  # @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
4454
4129
  # retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
4455
4130
  # @option opts [String] :opc_request_id Unique identifier for the request.
4456
4131
  #
4457
4132
  # @return [Response] A Response object with data of type {OCI::Database::Models::AutonomousDatabase AutonomousDatabase}
4133
+ # @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/database/get_autonomous_database.rb.html) to see an example of how to use get_autonomous_database API.
4458
4134
  def get_autonomous_database(autonomous_database_id, opts = {})
4459
4135
  logger.debug 'Calling operation DatabaseClient#get_autonomous_database.' if logger
4460
4136
 
@@ -4509,6 +4185,7 @@ module OCI
4509
4185
  # @option opts [String] :opc_request_id Unique identifier for the request.
4510
4186
  #
4511
4187
  # @return [Response] A Response object with data of type {OCI::Database::Models::AutonomousDatabaseBackup AutonomousDatabaseBackup}
4188
+ # @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/database/get_autonomous_database_backup.rb.html) to see an example of how to use get_autonomous_database_backup API.
4512
4189
  def get_autonomous_database_backup(autonomous_database_backup_id, opts = {})
4513
4190
  logger.debug 'Calling operation DatabaseClient#get_autonomous_database_backup.' if logger
4514
4191
 
@@ -4565,6 +4242,7 @@ module OCI
4565
4242
  # @option opts [String] :opc_request_id Unique identifier for the request.
4566
4243
  #
4567
4244
  # @return [Response] A Response object with data of type {OCI::Database::Models::AutonomousDatabaseDataguardAssociation AutonomousDatabaseDataguardAssociation}
4245
+ # @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/database/get_autonomous_database_dataguard_association.rb.html) to see an example of how to use get_autonomous_database_dataguard_association API.
4568
4246
  def get_autonomous_database_dataguard_association(autonomous_database_id, autonomous_database_dataguard_association_id, opts = {})
4569
4247
  logger.debug 'Calling operation DatabaseClient#get_autonomous_database_dataguard_association.' if logger
4570
4248
 
@@ -4621,6 +4299,7 @@ module OCI
4621
4299
  # @option opts [String] :opc_request_id Unique identifier for the request.
4622
4300
  #
4623
4301
  # @return [Response] A Response object with data of type {OCI::Database::Models::AutonomousDatabaseWallet AutonomousDatabaseWallet}
4302
+ # @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/database/get_autonomous_database_regional_wallet.rb.html) to see an example of how to use get_autonomous_database_regional_wallet API.
4624
4303
  def get_autonomous_database_regional_wallet(opts = {})
4625
4304
  logger.debug 'Calling operation DatabaseClient#get_autonomous_database_regional_wallet.' if logger
4626
4305
 
@@ -4674,6 +4353,7 @@ module OCI
4674
4353
  # @option opts [String] :opc_request_id Unique identifier for the request.
4675
4354
  #
4676
4355
  # @return [Response] A Response object with data of type {OCI::Database::Models::AutonomousDatabaseWallet AutonomousDatabaseWallet}
4356
+ # @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/database/get_autonomous_database_wallet.rb.html) to see an example of how to use get_autonomous_database_wallet API.
4677
4357
  def get_autonomous_database_wallet(autonomous_database_id, opts = {})
4678
4358
  logger.debug 'Calling operation DatabaseClient#get_autonomous_database_wallet.' if logger
4679
4359
 
@@ -4727,6 +4407,7 @@ module OCI
4727
4407
  # @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
4728
4408
  # retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
4729
4409
  # @return [Response] A Response object with data of type {OCI::Database::Models::AutonomousExadataInfrastructure AutonomousExadataInfrastructure}
4410
+ # @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/database/get_autonomous_exadata_infrastructure.rb.html) to see an example of how to use get_autonomous_exadata_infrastructure API.
4730
4411
  def get_autonomous_exadata_infrastructure(autonomous_exadata_infrastructure_id, opts = {})
4731
4412
  logger.debug 'Calling operation DatabaseClient#get_autonomous_exadata_infrastructure.' if logger
4732
4413
 
@@ -4780,6 +4461,7 @@ module OCI
4780
4461
  # @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
4781
4462
  # retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
4782
4463
  # @return [Response] A Response object with data of type {OCI::Database::Models::AutonomousPatch AutonomousPatch}
4464
+ # @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/database/get_autonomous_patch.rb.html) to see an example of how to use get_autonomous_patch API.
4783
4465
  def get_autonomous_patch(autonomous_patch_id, opts = {})
4784
4466
  logger.debug 'Calling operation DatabaseClient#get_autonomous_patch.' if logger
4785
4467
 
@@ -4834,6 +4516,7 @@ module OCI
4834
4516
  # @option opts [String] :opc_request_id Unique identifier for the request.
4835
4517
  #
4836
4518
  # @return [Response] A Response object with data of type {OCI::Database::Models::AutonomousVmCluster AutonomousVmCluster}
4519
+ # @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/database/get_autonomous_vm_cluster.rb.html) to see an example of how to use get_autonomous_vm_cluster API.
4837
4520
  def get_autonomous_vm_cluster(autonomous_vm_cluster_id, opts = {})
4838
4521
  logger.debug 'Calling operation DatabaseClient#get_autonomous_vm_cluster.' if logger
4839
4522
 
@@ -4887,6 +4570,7 @@ module OCI
4887
4570
  # @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
4888
4571
  # retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
4889
4572
  # @return [Response] A Response object with data of type {OCI::Database::Models::Backup Backup}
4573
+ # @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/database/get_backup.rb.html) to see an example of how to use get_backup API.
4890
4574
  def get_backup(backup_id, opts = {})
4891
4575
  logger.debug 'Calling operation DatabaseClient#get_backup.' if logger
4892
4576
 
@@ -4942,6 +4626,7 @@ module OCI
4942
4626
  # @option opts [String] :opc_request_id Unique identifier for the request.
4943
4627
  #
4944
4628
  # @return [Response] A Response object with data of type {OCI::Database::Models::BackupDestination BackupDestination}
4629
+ # @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/database/get_backup_destination.rb.html) to see an example of how to use get_backup_destination API.
4945
4630
  def get_backup_destination(backup_destination_id, opts = {})
4946
4631
  logger.debug 'Calling operation DatabaseClient#get_backup_destination.' if logger
4947
4632
 
@@ -4988,7 +4673,8 @@ module OCI
4988
4673
  # rubocop:disable Metrics/MethodLength, Layout/EmptyLines
4989
4674
 
4990
4675
 
4991
- # Gets information about the specified cloud Exadata infrastructure resource.
4676
+ # Gets information about the specified cloud Exadata infrastructure resource. Applies to Exadata Cloud Service instances only.
4677
+ #
4992
4678
  # @param [String] cloud_exadata_infrastructure_id The cloud Exadata infrastructure [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm).
4993
4679
  # @param [Hash] opts the optional parameters
4994
4680
  # @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
@@ -4996,6 +4682,7 @@ module OCI
4996
4682
  # @option opts [String] :opc_request_id Unique identifier for the request.
4997
4683
  #
4998
4684
  # @return [Response] A Response object with data of type {OCI::Database::Models::CloudExadataInfrastructure CloudExadataInfrastructure}
4685
+ # @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/database/get_cloud_exadata_infrastructure.rb.html) to see an example of how to use get_cloud_exadata_infrastructure API.
4999
4686
  def get_cloud_exadata_infrastructure(cloud_exadata_infrastructure_id, opts = {})
5000
4687
  logger.debug 'Calling operation DatabaseClient#get_cloud_exadata_infrastructure.' if logger
5001
4688
 
@@ -5042,7 +4729,8 @@ module OCI
5042
4729
  # rubocop:disable Metrics/MethodLength, Layout/EmptyLines
5043
4730
 
5044
4731
 
5045
- # Gets information about the specified cloud VM cluster.
4732
+ # Gets information about the specified cloud VM cluster. Applies to Exadata Cloud Service instances only.
4733
+ #
5046
4734
  # @param [String] cloud_vm_cluster_id The cloud VM cluster [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm).
5047
4735
  # @param [Hash] opts the optional parameters
5048
4736
  # @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
@@ -5050,6 +4738,7 @@ module OCI
5050
4738
  # @option opts [String] :opc_request_id Unique identifier for the request.
5051
4739
  #
5052
4740
  # @return [Response] A Response object with data of type {OCI::Database::Models::CloudVmCluster CloudVmCluster}
4741
+ # @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/database/get_cloud_vm_cluster.rb.html) to see an example of how to use get_cloud_vm_cluster API.
5053
4742
  def get_cloud_vm_cluster(cloud_vm_cluster_id, opts = {})
5054
4743
  logger.debug 'Calling operation DatabaseClient#get_cloud_vm_cluster.' if logger
5055
4744
 
@@ -5096,7 +4785,7 @@ module OCI
5096
4785
  # rubocop:disable Metrics/MethodLength, Layout/EmptyLines
5097
4786
 
5098
4787
 
5099
- # Gets the IORM configuration for the specified cloud VM cluster.
4788
+ # Gets the IORM configuration for the specified cloud VM cluster in an Exadata Cloud Service instance.
5100
4789
  # If you have not specified an IORM configuration, the default configuration is returned.
5101
4790
  #
5102
4791
  # @param [String] cloud_vm_cluster_id The cloud VM cluster [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm).
@@ -5106,6 +4795,7 @@ module OCI
5106
4795
  # @option opts [String] :opc_request_id Unique identifier for the request.
5107
4796
  #
5108
4797
  # @return [Response] A Response object with data of type {OCI::Database::Models::ExadataIormConfig ExadataIormConfig}
4798
+ # @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/database/get_cloud_vm_cluster_iorm_config.rb.html) to see an example of how to use get_cloud_vm_cluster_iorm_config API.
5109
4799
  def get_cloud_vm_cluster_iorm_config(cloud_vm_cluster_id, opts = {})
5110
4800
  logger.debug 'Calling operation DatabaseClient#get_cloud_vm_cluster_iorm_config.' if logger
5111
4801
 
@@ -5152,7 +4842,7 @@ module OCI
5152
4842
  # rubocop:disable Metrics/MethodLength, Layout/EmptyLines
5153
4843
 
5154
4844
 
5155
- # Gets information about a specified maintenance update package.
4845
+ # Gets information about a specified maintenance update package for a cloud VM cluster. Applies to Exadata Cloud Service instances only.
5156
4846
  #
5157
4847
  # @param [String] cloud_vm_cluster_id The cloud VM cluster [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm).
5158
4848
  # @param [String] update_id The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the maintenance update.
@@ -5162,6 +4852,7 @@ module OCI
5162
4852
  # @option opts [String] :opc_request_id Unique identifier for the request.
5163
4853
  #
5164
4854
  # @return [Response] A Response object with data of type {OCI::Database::Models::Update Update}
4855
+ # @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/database/get_cloud_vm_cluster_update.rb.html) to see an example of how to use get_cloud_vm_cluster_update API.
5165
4856
  def get_cloud_vm_cluster_update(cloud_vm_cluster_id, update_id, opts = {})
5166
4857
  logger.debug 'Calling operation DatabaseClient#get_cloud_vm_cluster_update.' if logger
5167
4858
 
@@ -5210,7 +4901,7 @@ module OCI
5210
4901
  # rubocop:disable Metrics/MethodLength, Layout/EmptyLines
5211
4902
 
5212
4903
 
5213
- # Gets the maintenance update history details for the specified update history entry.
4904
+ # Gets the maintenance update history details for the specified update history entry. Applies to Exadata Cloud Service instances only.
5214
4905
  #
5215
4906
  # @param [String] cloud_vm_cluster_id The cloud VM cluster [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm).
5216
4907
  # @param [String] update_history_entry_id The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the maintenance update history entry.
@@ -5220,6 +4911,7 @@ module OCI
5220
4911
  # @option opts [String] :opc_request_id Unique identifier for the request.
5221
4912
  #
5222
4913
  # @return [Response] A Response object with data of type {OCI::Database::Models::UpdateHistoryEntry UpdateHistoryEntry}
4914
+ # @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/database/get_cloud_vm_cluster_update_history_entry.rb.html) to see an example of how to use get_cloud_vm_cluster_update_history_entry API.
5223
4915
  def get_cloud_vm_cluster_update_history_entry(cloud_vm_cluster_id, update_history_entry_id, opts = {})
5224
4916
  logger.debug 'Calling operation DatabaseClient#get_cloud_vm_cluster_update_history_entry.' if logger
5225
4917
 
@@ -5276,6 +4968,7 @@ module OCI
5276
4968
  # @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
5277
4969
  # retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
5278
4970
  # @return [Response] A Response object with data of type {OCI::Database::Models::ConsoleConnection ConsoleConnection}
4971
+ # @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/database/get_console_connection.rb.html) to see an example of how to use get_console_connection API.
5279
4972
  def get_console_connection(db_node_id, console_connection_id, opts = {})
5280
4973
  logger.debug 'Calling operation DatabaseClient#get_console_connection.' if logger
5281
4974
 
@@ -5333,6 +5026,7 @@ module OCI
5333
5026
  # @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
5334
5027
  # retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
5335
5028
  # @return [Response] A Response object with data of type {OCI::Database::Models::DataGuardAssociation DataGuardAssociation}
5029
+ # @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/database/get_data_guard_association.rb.html) to see an example of how to use get_data_guard_association API.
5336
5030
  def get_data_guard_association(database_id, data_guard_association_id, opts = {})
5337
5031
  logger.debug 'Calling operation DatabaseClient#get_data_guard_association.' if logger
5338
5032
 
@@ -5388,6 +5082,7 @@ module OCI
5388
5082
  # @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
5389
5083
  # retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
5390
5084
  # @return [Response] A Response object with data of type {OCI::Database::Models::Database Database}
5085
+ # @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/database/get_database.rb.html) to see an example of how to use get_database API.
5391
5086
  def get_database(database_id, opts = {})
5392
5087
  logger.debug 'Calling operation DatabaseClient#get_database.' if logger
5393
5088
 
@@ -5441,6 +5136,7 @@ module OCI
5441
5136
  # @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
5442
5137
  # retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
5443
5138
  # @return [Response] A Response object with data of type {OCI::Database::Models::DatabaseSoftwareImage DatabaseSoftwareImage}
5139
+ # @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/database/get_database_software_image.rb.html) to see an example of how to use get_database_software_image API.
5444
5140
  def get_database_software_image(database_software_image_id, opts = {})
5445
5141
  logger.debug 'Calling operation DatabaseClient#get_database_software_image.' if logger
5446
5142
 
@@ -5497,6 +5193,7 @@ module OCI
5497
5193
  # @option opts [String] :opc_request_id Unique identifier for the request.
5498
5194
  #
5499
5195
  # @return [Response] A Response object with data of type {OCI::Database::Models::DatabaseUpgradeHistoryEntry DatabaseUpgradeHistoryEntry}
5196
+ # @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/database/get_database_upgrade_history_entry.rb.html) to see an example of how to use get_database_upgrade_history_entry API.
5500
5197
  def get_database_upgrade_history_entry(database_id, upgrade_history_entry_id, opts = {})
5501
5198
  logger.debug 'Calling operation DatabaseClient#get_database_upgrade_history_entry.' if logger
5502
5199
 
@@ -5552,6 +5249,7 @@ module OCI
5552
5249
  # @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
5553
5250
  # retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
5554
5251
  # @return [Response] A Response object with data of type {OCI::Database::Models::DbHome DbHome}
5252
+ # @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/database/get_db_home.rb.html) to see an example of how to use get_db_home API.
5555
5253
  def get_db_home(db_home_id, opts = {})
5556
5254
  logger.debug 'Calling operation DatabaseClient#get_db_home.' if logger
5557
5255
 
@@ -5607,6 +5305,7 @@ module OCI
5607
5305
  # @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
5608
5306
  # retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
5609
5307
  # @return [Response] A Response object with data of type {OCI::Database::Models::Patch Patch}
5308
+ # @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/database/get_db_home_patch.rb.html) to see an example of how to use get_db_home_patch API.
5610
5309
  def get_db_home_patch(db_home_id, patch_id, opts = {})
5611
5310
  logger.debug 'Calling operation DatabaseClient#get_db_home_patch.' if logger
5612
5311
 
@@ -5664,6 +5363,7 @@ module OCI
5664
5363
  # @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
5665
5364
  # retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
5666
5365
  # @return [Response] A Response object with data of type {OCI::Database::Models::PatchHistoryEntry PatchHistoryEntry}
5366
+ # @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/database/get_db_home_patch_history_entry.rb.html) to see an example of how to use get_db_home_patch_history_entry API.
5667
5367
  def get_db_home_patch_history_entry(db_home_id, patch_history_entry_id, opts = {})
5668
5368
  logger.debug 'Calling operation DatabaseClient#get_db_home_patch_history_entry.' if logger
5669
5369
 
@@ -5719,6 +5419,7 @@ module OCI
5719
5419
  # @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
5720
5420
  # retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
5721
5421
  # @return [Response] A Response object with data of type {OCI::Database::Models::DbNode DbNode}
5422
+ # @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/database/get_db_node.rb.html) to see an example of how to use get_db_node API.
5722
5423
  def get_db_node(db_node_id, opts = {})
5723
5424
  logger.debug 'Calling operation DatabaseClient#get_db_node.' if logger
5724
5425
 
@@ -5772,6 +5473,7 @@ module OCI
5772
5473
  # @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
5773
5474
  # retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
5774
5475
  # @return [Response] A Response object with data of type {OCI::Database::Models::DbSystem DbSystem}
5476
+ # @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/database/get_db_system.rb.html) to see an example of how to use get_db_system API.
5775
5477
  def get_db_system(db_system_id, opts = {})
5776
5478
  logger.debug 'Calling operation DatabaseClient#get_db_system.' if logger
5777
5479
 
@@ -5827,6 +5529,7 @@ module OCI
5827
5529
  # @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
5828
5530
  # retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
5829
5531
  # @return [Response] A Response object with data of type {OCI::Database::Models::Patch Patch}
5532
+ # @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/database/get_db_system_patch.rb.html) to see an example of how to use get_db_system_patch API.
5830
5533
  def get_db_system_patch(db_system_id, patch_id, opts = {})
5831
5534
  logger.debug 'Calling operation DatabaseClient#get_db_system_patch.' if logger
5832
5535
 
@@ -5884,6 +5587,7 @@ module OCI
5884
5587
  # @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
5885
5588
  # retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
5886
5589
  # @return [Response] A Response object with data of type {OCI::Database::Models::PatchHistoryEntry PatchHistoryEntry}
5590
+ # @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/database/get_db_system_patch_history_entry.rb.html) to see an example of how to use get_db_system_patch_history_entry API.
5887
5591
  def get_db_system_patch_history_entry(db_system_id, patch_history_entry_id, opts = {})
5888
5592
  logger.debug 'Calling operation DatabaseClient#get_db_system_patch_history_entry.' if logger
5889
5593
 
@@ -5932,7 +5636,9 @@ module OCI
5932
5636
  # rubocop:disable Metrics/MethodLength, Layout/EmptyLines
5933
5637
 
5934
5638
 
5935
- # Gets information about the specified Exadata Cloud@Customer infrastructure.
5639
+ # Gets information about the specified Exadata infrastructure. Applies to Exadata Cloud@Customer instances only.
5640
+ # To get information on an Exadata Cloud Service infrastructure resource, use the {#get_cloud_exadata_infrastructure get_cloud_exadata_infrastructure} operation.
5641
+ #
5936
5642
  # @param [String] exadata_infrastructure_id The Exadata infrastructure [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm).
5937
5643
  # @param [Hash] opts the optional parameters
5938
5644
  # @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
@@ -5940,6 +5646,7 @@ module OCI
5940
5646
  # @option opts [String] :opc_request_id Unique identifier for the request.
5941
5647
  #
5942
5648
  # @return [Response] A Response object with data of type {OCI::Database::Models::ExadataInfrastructure ExadataInfrastructure}
5649
+ # @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/database/get_exadata_infrastructure.rb.html) to see an example of how to use get_exadata_infrastructure API.
5943
5650
  def get_exadata_infrastructure(exadata_infrastructure_id, opts = {})
5944
5651
  logger.debug 'Calling operation DatabaseClient#get_exadata_infrastructure.' if logger
5945
5652
 
@@ -5995,6 +5702,7 @@ module OCI
5995
5702
  # @option opts [String] :opc_request_id Unique identifier for the request.
5996
5703
  #
5997
5704
  # @return [Response] A Response object with data of type {OCI::Database::Models::OCPUs OCPUs}
5705
+ # @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/database/get_exadata_infrastructure_ocpus.rb.html) to see an example of how to use get_exadata_infrastructure_ocpus API.
5998
5706
  def get_exadata_infrastructure_ocpus(autonomous_exadata_infrastructure_id, opts = {})
5999
5707
  logger.debug 'Calling operation DatabaseClient#get_exadata_infrastructure_ocpus.' if logger
6000
5708
 
@@ -6051,6 +5759,7 @@ module OCI
6051
5759
  # @option opts [String] :opc_request_id Unique identifier for the request.
6052
5760
  #
6053
5761
  # @return [Response] A Response object with data of type {OCI::Database::Models::ExadataIormConfig ExadataIormConfig}
5762
+ # @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/database/get_exadata_iorm_config.rb.html) to see an example of how to use get_exadata_iorm_config API.
6054
5763
  def get_exadata_iorm_config(db_system_id, opts = {})
6055
5764
  logger.debug 'Calling operation DatabaseClient#get_exadata_iorm_config.' if logger
6056
5765
 
@@ -6107,6 +5816,7 @@ module OCI
6107
5816
  # @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
6108
5817
  # retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
6109
5818
  # @return [Response] A Response object with data of type {OCI::Database::Models::ExternalBackupJob ExternalBackupJob}
5819
+ # @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/database/get_external_backup_job.rb.html) to see an example of how to use get_external_backup_job API.
6110
5820
  def get_external_backup_job(backup_id, opts = {})
6111
5821
  logger.debug 'Calling operation DatabaseClient#get_external_backup_job.' if logger
6112
5822
 
@@ -6162,6 +5872,7 @@ module OCI
6162
5872
  # @option opts [String] :opc_request_id Unique identifier for the request.
6163
5873
  #
6164
5874
  # @return [Response] A Response object with data of type {OCI::Database::Models::KeyStore KeyStore}
5875
+ # @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/database/get_key_store.rb.html) to see an example of how to use get_key_store API.
6165
5876
  def get_key_store(key_store_id, opts = {})
6166
5877
  logger.debug 'Calling operation DatabaseClient#get_key_store.' if logger
6167
5878
 
@@ -6215,6 +5926,7 @@ module OCI
6215
5926
  # @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
6216
5927
  # retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
6217
5928
  # @return [Response] A Response object with data of type {OCI::Database::Models::MaintenanceRun MaintenanceRun}
5929
+ # @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/database/get_maintenance_run.rb.html) to see an example of how to use get_maintenance_run API.
6218
5930
  def get_maintenance_run(maintenance_run_id, opts = {})
6219
5931
  logger.debug 'Calling operation DatabaseClient#get_maintenance_run.' if logger
6220
5932
 
@@ -6261,7 +5973,8 @@ module OCI
6261
5973
  # rubocop:disable Metrics/MethodLength, Layout/EmptyLines
6262
5974
 
6263
5975
 
6264
- # Gets information about the specified Exadata Cloud@Customer VM cluster.
5976
+ # Gets information about the VM cluster. Applies to Exadata Cloud@Customer instances only.
5977
+ #
6265
5978
  # @param [String] vm_cluster_id The VM cluster [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm).
6266
5979
  # @param [Hash] opts the optional parameters
6267
5980
  # @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
@@ -6269,6 +5982,7 @@ module OCI
6269
5982
  # @option opts [String] :opc_request_id Unique identifier for the request.
6270
5983
  #
6271
5984
  # @return [Response] A Response object with data of type {OCI::Database::Models::VmCluster VmCluster}
5985
+ # @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/database/get_vm_cluster.rb.html) to see an example of how to use get_vm_cluster API.
6272
5986
  def get_vm_cluster(vm_cluster_id, opts = {})
6273
5987
  logger.debug 'Calling operation DatabaseClient#get_vm_cluster.' if logger
6274
5988
 
@@ -6315,7 +6029,9 @@ module OCI
6315
6029
  # rubocop:disable Metrics/MethodLength, Layout/EmptyLines
6316
6030
 
6317
6031
 
6318
- # Gets information about the specified Exadata Cloud@Customer VM cluster network.
6032
+ # Gets information about the specified VM cluster network. Applies to Exadata Cloud@Customer instances only.
6033
+ # To get information about a cloud VM cluster in an Exadata Cloud Service instance, use the {#get_cloud_vm_cluster get_cloud_vm_cluster} operation.
6034
+ #
6319
6035
  # @param [String] exadata_infrastructure_id The Exadata infrastructure [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm).
6320
6036
  # @param [String] vm_cluster_network_id The VM cluster network [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm).
6321
6037
  # @param [Hash] opts the optional parameters
@@ -6324,6 +6040,7 @@ module OCI
6324
6040
  # @option opts [String] :opc_request_id Unique identifier for the request.
6325
6041
  #
6326
6042
  # @return [Response] A Response object with data of type {OCI::Database::Models::VmClusterNetwork VmClusterNetwork}
6043
+ # @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/database/get_vm_cluster_network.rb.html) to see an example of how to use get_vm_cluster_network API.
6327
6044
  def get_vm_cluster_network(exadata_infrastructure_id, vm_cluster_network_id, opts = {})
6328
6045
  logger.debug 'Calling operation DatabaseClient#get_vm_cluster_network.' if logger
6329
6046
 
@@ -6381,6 +6098,7 @@ module OCI
6381
6098
  # @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
6382
6099
  # retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
6383
6100
  # @return [Response] A Response object with data of type {OCI::Database::Models::Patch Patch}
6101
+ # @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/database/get_vm_cluster_patch.rb.html) to see an example of how to use get_vm_cluster_patch API.
6384
6102
  def get_vm_cluster_patch(vm_cluster_id, patch_id, opts = {})
6385
6103
  logger.debug 'Calling operation DatabaseClient#get_vm_cluster_patch.' if logger
6386
6104
 
@@ -6438,6 +6156,7 @@ module OCI
6438
6156
  # @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
6439
6157
  # retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
6440
6158
  # @return [Response] A Response object with data of type {OCI::Database::Models::PatchHistoryEntry PatchHistoryEntry}
6159
+ # @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/database/get_vm_cluster_patch_history_entry.rb.html) to see an example of how to use get_vm_cluster_patch_history_entry API.
6441
6160
  def get_vm_cluster_patch_history_entry(vm_cluster_id, patch_history_entry_id, opts = {})
6442
6161
  logger.debug 'Calling operation DatabaseClient#get_vm_cluster_patch_history_entry.' if logger
6443
6162
 
@@ -6499,6 +6218,7 @@ module OCI
6499
6218
  # may be rejected).
6500
6219
  #
6501
6220
  # @return [Response] A Response object with data of type {OCI::Database::Models::AutonomousExadataInfrastructure AutonomousExadataInfrastructure}
6221
+ # @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/database/launch_autonomous_exadata_infrastructure.rb.html) to see an example of how to use launch_autonomous_exadata_infrastructure API.
6502
6222
  def launch_autonomous_exadata_infrastructure(launch_autonomous_exadata_infrastructure_details, opts = {})
6503
6223
  logger.debug 'Calling operation DatabaseClient#launch_autonomous_exadata_infrastructure.' if logger
6504
6224
 
@@ -6565,6 +6285,7 @@ module OCI
6565
6285
  # may be rejected).
6566
6286
  #
6567
6287
  # @return [Response] A Response object with data of type {OCI::Database::Models::DbSystem DbSystem}
6288
+ # @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/database/launch_db_system.rb.html) to see an example of how to use launch_db_system API.
6568
6289
  def launch_db_system(launch_db_system_details, opts = {})
6569
6290
  logger.debug 'Calling operation DatabaseClient#launch_db_system.' if logger
6570
6291
 
@@ -6611,7 +6332,7 @@ module OCI
6611
6332
  # rubocop:disable Metrics/MethodLength, Layout/EmptyLines
6612
6333
 
6613
6334
 
6614
- # Gets a list of the Autonomous Container Databases with Autonomous Data Guard enabled associated with the specified Autonomous Container Database.
6335
+ # Gets a list of the Autonomous Container Databases with Autonomous Data Guard-enabled associated with the specified Autonomous Container Database.
6615
6336
  #
6616
6337
  # @param [String] autonomous_container_database_id The Autonomous Container Database [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm).
6617
6338
  # @param [Hash] opts the optional parameters
@@ -6620,6 +6341,7 @@ module OCI
6620
6341
  # @option opts [Integer] :limit The maximum number of items to return per page. (default to 10)
6621
6342
  # @option opts [String] :page The pagination token to continue listing from.
6622
6343
  # @return [Response] A Response object with data of type Array<{OCI::Database::Models::AutonomousContainerDatabaseDataguardAssociation AutonomousContainerDatabaseDataguardAssociation}>
6344
+ # @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/database/list_autonomous_container_database_dataguard_associations.rb.html) to see an example of how to use list_autonomous_container_database_dataguard_associations API.
6623
6345
  def list_autonomous_container_database_dataguard_associations(autonomous_container_database_id, opts = {})
6624
6346
  logger.debug 'Calling operation DatabaseClient#list_autonomous_container_database_dataguard_associations.' if logger
6625
6347
 
@@ -6690,6 +6412,7 @@ module OCI
6690
6412
  # @option opts [String] :display_name A filter to return only resources that match the entire display name given. The match is not case sensitive.
6691
6413
  # @option opts [String] :service_level_agreement_type A filter to return only resources that match the given service-level agreement type exactly.
6692
6414
  # @return [Response] A Response object with data of type Array<{OCI::Database::Models::AutonomousContainerDatabaseSummary AutonomousContainerDatabaseSummary}>
6415
+ # @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/database/list_autonomous_container_databases.rb.html) to see an example of how to use list_autonomous_container_databases API.
6693
6416
  def list_autonomous_container_databases(compartment_id, opts = {})
6694
6417
  logger.debug 'Calling operation DatabaseClient#list_autonomous_container_databases.' if logger
6695
6418
 
@@ -6762,169 +6485,6 @@ module OCI
6762
6485
  # rubocop:disable Metrics/MethodLength, Layout/EmptyLines
6763
6486
 
6764
6487
 
6765
- # **Deprecated.** To get a list of Autonomous Data Warehouse backups, use the {#list_autonomous_database_backups list_autonomous_database_backups} operation.
6766
- #
6767
- # @param [Hash] opts the optional parameters
6768
- # @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
6769
- # retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
6770
- # @option opts [String] :autonomous_data_warehouse_id The database [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm).
6771
- # @option opts [String] :compartment_id The compartment [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm).
6772
- # @option opts [Integer] :limit The maximum number of items to return per page. (default to 10)
6773
- # @option opts [String] :page The pagination token to continue listing from.
6774
- # @option opts [String] :sort_by The field to sort by. You can provide one sort order (`sortOrder`). Default order for TIMECREATED is descending. Default order for DISPLAYNAME is ascending. The DISPLAYNAME sort order is case sensitive.
6775
- #
6776
- # **Note:** If you do not include the availability domain filter, the resources are grouped by availability domain, then sorted.
6777
- #
6778
- # Allowed values are: TIMECREATED, DISPLAYNAME
6779
- # @option opts [String] :sort_order The sort order to use, either ascending (`ASC`) or descending (`DESC`). (default to ASC)
6780
- # Allowed values are: ASC, DESC
6781
- # @option opts [String] :lifecycle_state A filter to return only resources that match the given lifecycle state exactly.
6782
- # @option opts [String] :display_name A filter to return only resources that match the entire display name given. The match is not case sensitive.
6783
- # @return [Response] A Response object with data of type Array<{OCI::Database::Models::AutonomousDataWarehouseBackupSummary AutonomousDataWarehouseBackupSummary}>
6784
- def list_autonomous_data_warehouse_backups(opts = {})
6785
- logger.debug 'Calling operation DatabaseClient#list_autonomous_data_warehouse_backups.' if logger
6786
-
6787
-
6788
- if opts[:sort_by] && !%w[TIMECREATED DISPLAYNAME].include?(opts[:sort_by])
6789
- raise 'Invalid value for "sort_by", must be one of TIMECREATED, DISPLAYNAME.'
6790
- end
6791
-
6792
- if opts[:sort_order] && !%w[ASC DESC].include?(opts[:sort_order])
6793
- raise 'Invalid value for "sort_order", must be one of ASC, DESC.'
6794
- end
6795
-
6796
- if opts[:lifecycle_state] && !OCI::Database::Models::AutonomousDataWarehouseBackupSummary::LIFECYCLE_STATE_ENUM.include?(opts[:lifecycle_state])
6797
- raise 'Invalid value for "lifecycle_state", must be one of the values in OCI::Database::Models::AutonomousDataWarehouseBackupSummary::LIFECYCLE_STATE_ENUM.'
6798
- end
6799
-
6800
- path = '/autonomousDataWarehouseBackups'
6801
- operation_signing_strategy = :standard
6802
-
6803
- # rubocop:disable Style/NegatedIf
6804
- # Query Params
6805
- query_params = {}
6806
- query_params[:autonomousDataWarehouseId] = opts[:autonomous_data_warehouse_id] if opts[:autonomous_data_warehouse_id]
6807
- query_params[:compartmentId] = opts[:compartment_id] if opts[:compartment_id]
6808
- query_params[:limit] = opts[:limit] if opts[:limit]
6809
- query_params[:page] = opts[:page] if opts[:page]
6810
- query_params[:sortBy] = opts[:sort_by] if opts[:sort_by]
6811
- query_params[:sortOrder] = opts[:sort_order] if opts[:sort_order]
6812
- query_params[:lifecycleState] = opts[:lifecycle_state] if opts[:lifecycle_state]
6813
- query_params[:displayName] = opts[:display_name] if opts[:display_name]
6814
-
6815
- # Header Params
6816
- header_params = {}
6817
- header_params[:accept] = 'application/json'
6818
- header_params[:'content-type'] = 'application/json'
6819
- # rubocop:enable Style/NegatedIf
6820
-
6821
- post_body = nil
6822
-
6823
- # rubocop:disable Metrics/BlockLength
6824
- OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'DatabaseClient#list_autonomous_data_warehouse_backups') do
6825
- @api_client.call_api(
6826
- :GET,
6827
- path,
6828
- endpoint,
6829
- header_params: header_params,
6830
- query_params: query_params,
6831
- operation_signing_strategy: operation_signing_strategy,
6832
- body: post_body,
6833
- return_type: 'Array<OCI::Database::Models::AutonomousDataWarehouseBackupSummary>'
6834
- )
6835
- end
6836
- # rubocop:enable Metrics/BlockLength
6837
- end
6838
- # rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
6839
- # rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
6840
- # rubocop:enable Metrics/MethodLength, Layout/EmptyLines
6841
-
6842
- # rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
6843
- # rubocop:disable Style/IfUnlessModifier, Metrics/ParameterLists
6844
- # rubocop:disable Metrics/MethodLength, Layout/EmptyLines
6845
-
6846
-
6847
- # **Deprecated.** To get a list of Autonomous Data Warehouses, use the {#list_autonomous_databases list_autonomous_databases} operation and specify `DW` as the workload type.
6848
- #
6849
- # @param [String] compartment_id The compartment [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm).
6850
- # @param [Hash] opts the optional parameters
6851
- # @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
6852
- # retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
6853
- # @option opts [Integer] :limit The maximum number of items to return per page. (default to 10)
6854
- # @option opts [String] :page The pagination token to continue listing from.
6855
- # @option opts [String] :sort_by The field to sort by. You can provide one sort order (`sortOrder`). Default order for TIMECREATED is descending. Default order for DISPLAYNAME is ascending. The DISPLAYNAME sort order is case sensitive.
6856
- #
6857
- # **Note:** If you do not include the availability domain filter, the resources are grouped by availability domain, then sorted.
6858
- #
6859
- # Allowed values are: TIMECREATED, DISPLAYNAME
6860
- # @option opts [String] :sort_order The sort order to use, either ascending (`ASC`) or descending (`DESC`). (default to ASC)
6861
- # Allowed values are: ASC, DESC
6862
- # @option opts [String] :lifecycle_state A filter to return only resources that match the given lifecycle state exactly.
6863
- # @option opts [String] :display_name A filter to return only resources that match the entire display name given. The match is not case sensitive.
6864
- # @return [Response] A Response object with data of type Array<{OCI::Database::Models::AutonomousDataWarehouseSummary AutonomousDataWarehouseSummary}>
6865
- def list_autonomous_data_warehouses(compartment_id, opts = {})
6866
- logger.debug 'Calling operation DatabaseClient#list_autonomous_data_warehouses.' if logger
6867
-
6868
- raise "Missing the required parameter 'compartment_id' when calling list_autonomous_data_warehouses." if compartment_id.nil?
6869
-
6870
- if opts[:sort_by] && !%w[TIMECREATED DISPLAYNAME].include?(opts[:sort_by])
6871
- raise 'Invalid value for "sort_by", must be one of TIMECREATED, DISPLAYNAME.'
6872
- end
6873
-
6874
- if opts[:sort_order] && !%w[ASC DESC].include?(opts[:sort_order])
6875
- raise 'Invalid value for "sort_order", must be one of ASC, DESC.'
6876
- end
6877
-
6878
- if opts[:lifecycle_state] && !OCI::Database::Models::AutonomousDataWarehouseSummary::LIFECYCLE_STATE_ENUM.include?(opts[:lifecycle_state])
6879
- raise 'Invalid value for "lifecycle_state", must be one of the values in OCI::Database::Models::AutonomousDataWarehouseSummary::LIFECYCLE_STATE_ENUM.'
6880
- end
6881
-
6882
- path = '/autonomousDataWarehouses'
6883
- operation_signing_strategy = :standard
6884
-
6885
- # rubocop:disable Style/NegatedIf
6886
- # Query Params
6887
- query_params = {}
6888
- query_params[:compartmentId] = compartment_id
6889
- query_params[:limit] = opts[:limit] if opts[:limit]
6890
- query_params[:page] = opts[:page] if opts[:page]
6891
- query_params[:sortBy] = opts[:sort_by] if opts[:sort_by]
6892
- query_params[:sortOrder] = opts[:sort_order] if opts[:sort_order]
6893
- query_params[:lifecycleState] = opts[:lifecycle_state] if opts[:lifecycle_state]
6894
- query_params[:displayName] = opts[:display_name] if opts[:display_name]
6895
-
6896
- # Header Params
6897
- header_params = {}
6898
- header_params[:accept] = 'application/json'
6899
- header_params[:'content-type'] = 'application/json'
6900
- # rubocop:enable Style/NegatedIf
6901
-
6902
- post_body = nil
6903
-
6904
- # rubocop:disable Metrics/BlockLength
6905
- OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'DatabaseClient#list_autonomous_data_warehouses') do
6906
- @api_client.call_api(
6907
- :GET,
6908
- path,
6909
- endpoint,
6910
- header_params: header_params,
6911
- query_params: query_params,
6912
- operation_signing_strategy: operation_signing_strategy,
6913
- body: post_body,
6914
- return_type: 'Array<OCI::Database::Models::AutonomousDataWarehouseSummary>'
6915
- )
6916
- end
6917
- # rubocop:enable Metrics/BlockLength
6918
- end
6919
- # rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
6920
- # rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
6921
- # rubocop:enable Metrics/MethodLength, Layout/EmptyLines
6922
-
6923
- # rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
6924
- # rubocop:disable Style/IfUnlessModifier, Metrics/ParameterLists
6925
- # rubocop:disable Metrics/MethodLength, Layout/EmptyLines
6926
-
6927
-
6928
6488
  # Gets a list of Autonomous Database backups based on either the `autonomousDatabaseId` or `compartmentId` specified as a query parameter.
6929
6489
  #
6930
6490
  # @param [Hash] opts the optional parameters
@@ -6946,6 +6506,7 @@ module OCI
6946
6506
  # @option opts [String] :opc_request_id Unique identifier for the request.
6947
6507
  #
6948
6508
  # @return [Response] A Response object with data of type Array<{OCI::Database::Models::AutonomousDatabaseBackupSummary AutonomousDatabaseBackupSummary}>
6509
+ # @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/database/list_autonomous_database_backups.rb.html) to see an example of how to use list_autonomous_database_backups API.
6949
6510
  def list_autonomous_database_backups(opts = {})
6950
6511
  logger.debug 'Calling operation DatabaseClient#list_autonomous_database_backups.' if logger
6951
6512
 
@@ -7033,6 +6594,7 @@ module OCI
7033
6594
  # @option opts [String] :clone_type A filter to return only resources that match the given clone type exactly.
7034
6595
  # Allowed values are: REFRESHABLE_CLONE
7035
6596
  # @return [Response] A Response object with data of type Array<{OCI::Database::Models::AutonomousDatabaseSummary AutonomousDatabaseSummary}>
6597
+ # @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/database/list_autonomous_database_clones.rb.html) to see an example of how to use list_autonomous_database_clones API.
7036
6598
  def list_autonomous_database_clones(compartment_id, autonomous_database_id, opts = {})
7037
6599
  logger.debug 'Calling operation DatabaseClient#list_autonomous_database_clones.' if logger
7038
6600
 
@@ -7113,6 +6675,7 @@ module OCI
7113
6675
  # @option opts [Integer] :limit The maximum number of items to return per page. (default to 10)
7114
6676
  # @option opts [String] :page The pagination token to continue listing from.
7115
6677
  # @return [Response] A Response object with data of type Array<{OCI::Database::Models::AutonomousDatabaseDataguardAssociation AutonomousDatabaseDataguardAssociation}>
6678
+ # @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/database/list_autonomous_database_dataguard_associations.rb.html) to see an example of how to use list_autonomous_database_dataguard_associations API.
7116
6679
  def list_autonomous_database_dataguard_associations(autonomous_database_id, opts = {})
7117
6680
  logger.debug 'Calling operation DatabaseClient#list_autonomous_database_dataguard_associations.' if logger
7118
6681
 
@@ -7191,6 +6754,7 @@ module OCI
7191
6754
  #
7192
6755
  # @option opts [BOOLEAN] :is_data_guard_enabled A filter to return only resources that have Data Guard enabled.
7193
6756
  # @return [Response] A Response object with data of type Array<{OCI::Database::Models::AutonomousDatabaseSummary AutonomousDatabaseSummary}>
6757
+ # @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/database/list_autonomous_databases.rb.html) to see an example of how to use list_autonomous_databases API.
7194
6758
  def list_autonomous_databases(compartment_id, opts = {})
7195
6759
  logger.debug 'Calling operation DatabaseClient#list_autonomous_databases.' if logger
7196
6760
 
@@ -7289,6 +6853,7 @@ module OCI
7289
6853
  # @option opts [String] :sort_order The sort order to use, either ascending (`ASC`) or descending (`DESC`). (default to ASC)
7290
6854
  # Allowed values are: ASC, DESC
7291
6855
  # @return [Response] A Response object with data of type Array<{OCI::Database::Models::AutonomousDbPreviewVersionSummary AutonomousDbPreviewVersionSummary}>
6856
+ # @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/database/list_autonomous_db_preview_versions.rb.html) to see an example of how to use list_autonomous_db_preview_versions API.
7292
6857
  def list_autonomous_db_preview_versions(compartment_id, opts = {})
7293
6858
  logger.debug 'Calling operation DatabaseClient#list_autonomous_db_preview_versions.' if logger
7294
6859
 
@@ -7360,6 +6925,7 @@ module OCI
7360
6925
  # @option opts [String] :sort_order The sort order to use, either ascending (`ASC`) or descending (`DESC`). (default to ASC)
7361
6926
  # Allowed values are: ASC, DESC
7362
6927
  # @return [Response] A Response object with data of type Array<{OCI::Database::Models::AutonomousDbVersionSummary AutonomousDbVersionSummary}>
6928
+ # @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/database/list_autonomous_db_versions.rb.html) to see an example of how to use list_autonomous_db_versions API.
7363
6929
  def list_autonomous_db_versions(compartment_id, opts = {})
7364
6930
  logger.debug 'Calling operation DatabaseClient#list_autonomous_db_versions.' if logger
7365
6931
 
@@ -7429,6 +6995,7 @@ module OCI
7429
6995
  # @option opts [String] :opc_request_id Unique identifier for the request.
7430
6996
  #
7431
6997
  # @return [Response] A Response object with data of type Array<{OCI::Database::Models::AutonomousExadataInfrastructureShapeSummary AutonomousExadataInfrastructureShapeSummary}>
6998
+ # @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/database/list_autonomous_exadata_infrastructure_shapes.rb.html) to see an example of how to use list_autonomous_exadata_infrastructure_shapes API.
7432
6999
  def list_autonomous_exadata_infrastructure_shapes(availability_domain, compartment_id, opts = {})
7433
7000
  logger.debug 'Calling operation DatabaseClient#list_autonomous_exadata_infrastructure_shapes.' if logger
7434
7001
 
@@ -7498,6 +7065,7 @@ module OCI
7498
7065
  # @option opts [String] :availability_domain A filter to return only resources that match the given availability domain exactly.
7499
7066
  # @option opts [String] :display_name A filter to return only resources that match the entire display name given. The match is not case sensitive.
7500
7067
  # @return [Response] A Response object with data of type Array<{OCI::Database::Models::AutonomousExadataInfrastructureSummary AutonomousExadataInfrastructureSummary}>
7068
+ # @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/database/list_autonomous_exadata_infrastructures.rb.html) to see an example of how to use list_autonomous_exadata_infrastructures API.
7501
7069
  def list_autonomous_exadata_infrastructures(compartment_id, opts = {})
7502
7070
  logger.debug 'Calling operation DatabaseClient#list_autonomous_exadata_infrastructures.' if logger
7503
7071
 
@@ -7581,6 +7149,7 @@ module OCI
7581
7149
  # @option opts [String] :opc_request_id Unique identifier for the request.
7582
7150
  #
7583
7151
  # @return [Response] A Response object with data of type Array<{OCI::Database::Models::AutonomousVmClusterSummary AutonomousVmClusterSummary}>
7152
+ # @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/database/list_autonomous_vm_clusters.rb.html) to see an example of how to use list_autonomous_vm_clusters API.
7584
7153
  def list_autonomous_vm_clusters(compartment_id, opts = {})
7585
7154
  logger.debug 'Calling operation DatabaseClient#list_autonomous_vm_clusters.' if logger
7586
7155
 
@@ -7658,6 +7227,7 @@ module OCI
7658
7227
  #
7659
7228
  # @option opts [String] :type A filter to return only resources that match the given type of the Backup Destination.
7660
7229
  # @return [Response] A Response object with data of type Array<{OCI::Database::Models::BackupDestinationSummary BackupDestinationSummary}>
7230
+ # @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/database/list_backup_destination.rb.html) to see an example of how to use list_backup_destination API.
7661
7231
  def list_backup_destination(compartment_id, opts = {})
7662
7232
  logger.debug 'Calling operation DatabaseClient#list_backup_destination.' if logger
7663
7233
 
@@ -7717,6 +7287,7 @@ module OCI
7717
7287
  # @option opts [Integer] :limit The maximum number of items to return per page. (default to 10)
7718
7288
  # @option opts [String] :page The pagination token to continue listing from.
7719
7289
  # @return [Response] A Response object with data of type Array<{OCI::Database::Models::BackupSummary BackupSummary}>
7290
+ # @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/database/list_backups.rb.html) to see an example of how to use list_backups API.
7720
7291
  def list_backups(opts = {})
7721
7292
  logger.debug 'Calling operation DatabaseClient#list_backups.' if logger
7722
7293
 
@@ -7764,7 +7335,7 @@ module OCI
7764
7335
  # rubocop:disable Metrics/MethodLength, Layout/EmptyLines
7765
7336
 
7766
7337
 
7767
- # Gets a list of the cloud Exadata infrastructure in the specified compartment.
7338
+ # Gets a list of the cloud Exadata infrastructure resources in the specified compartment. Applies to Exadata Cloud Service instances only.
7768
7339
  #
7769
7340
  # @param [String] compartment_id The compartment [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm).
7770
7341
  # @param [Hash] opts the optional parameters
@@ -7782,6 +7353,7 @@ module OCI
7782
7353
  # @option opts [String] :lifecycle_state A filter to return only resources that match the given lifecycle state exactly.
7783
7354
  # @option opts [String] :display_name A filter to return only resources that match the entire display name given. The match is not case sensitive.
7784
7355
  # @return [Response] A Response object with data of type Array<{OCI::Database::Models::CloudExadataInfrastructureSummary CloudExadataInfrastructureSummary}>
7356
+ # @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/database/list_cloud_exadata_infrastructures.rb.html) to see an example of how to use list_cloud_exadata_infrastructures API.
7785
7357
  def list_cloud_exadata_infrastructures(compartment_id, opts = {})
7786
7358
  logger.debug 'Calling operation DatabaseClient#list_cloud_exadata_infrastructures.' if logger
7787
7359
 
@@ -7846,7 +7418,7 @@ module OCI
7846
7418
  # rubocop:disable Metrics/MethodLength, Layout/EmptyLines
7847
7419
 
7848
7420
 
7849
- # Gets the history of the maintenance update actions performed on the specified cloud VM cluster.
7421
+ # Gets the history of the maintenance update actions performed on the specified cloud VM cluster. Applies to Exadata Cloud Service instances only.
7850
7422
  #
7851
7423
  # @param [String] cloud_vm_cluster_id The cloud VM cluster [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm).
7852
7424
  # @param [Hash] opts the optional parameters
@@ -7859,6 +7431,7 @@ module OCI
7859
7431
  # @option opts [String] :opc_request_id Unique identifier for the request.
7860
7432
  #
7861
7433
  # @return [Response] A Response object with data of type Array<{OCI::Database::Models::UpdateHistoryEntrySummary UpdateHistoryEntrySummary}>
7434
+ # @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/database/list_cloud_vm_cluster_update_history_entries.rb.html) to see an example of how to use list_cloud_vm_cluster_update_history_entries API.
7862
7435
  def list_cloud_vm_cluster_update_history_entries(cloud_vm_cluster_id, opts = {})
7863
7436
  logger.debug 'Calling operation DatabaseClient#list_cloud_vm_cluster_update_history_entries.' if logger
7864
7437
 
@@ -7912,7 +7485,7 @@ module OCI
7912
7485
  # rubocop:disable Metrics/MethodLength, Layout/EmptyLines
7913
7486
 
7914
7487
 
7915
- # Lists the maintenance updates that can be applied to the requested cloud VM cluster.
7488
+ # Lists the maintenance updates that can be applied to the specified cloud VM cluster. Applies to Exadata Cloud Service instances only.
7916
7489
  #
7917
7490
  # @param [String] cloud_vm_cluster_id The cloud VM cluster [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm).
7918
7491
  # @param [Hash] opts the optional parameters
@@ -7925,6 +7498,7 @@ module OCI
7925
7498
  # @option opts [String] :opc_request_id Unique identifier for the request.
7926
7499
  #
7927
7500
  # @return [Response] A Response object with data of type Array<{OCI::Database::Models::UpdateSummary UpdateSummary}>
7501
+ # @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/database/list_cloud_vm_cluster_updates.rb.html) to see an example of how to use list_cloud_vm_cluster_updates API.
7928
7502
  def list_cloud_vm_cluster_updates(cloud_vm_cluster_id, opts = {})
7929
7503
  logger.debug 'Calling operation DatabaseClient#list_cloud_vm_cluster_updates.' if logger
7930
7504
 
@@ -7978,7 +7552,7 @@ module OCI
7978
7552
  # rubocop:disable Metrics/MethodLength, Layout/EmptyLines
7979
7553
 
7980
7554
 
7981
- # Gets a list of the cloud VM clusters in the specified compartment.
7555
+ # Gets a list of the cloud VM clusters in the specified compartment. Applies to Exadata Cloud Service instances only.
7982
7556
  #
7983
7557
  # @param [String] compartment_id The compartment [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm).
7984
7558
  # @param [Hash] opts the optional parameters
@@ -7997,6 +7571,7 @@ module OCI
7997
7571
  # @option opts [String] :opc_request_id Unique identifier for the request.
7998
7572
  #
7999
7573
  # @return [Response] A Response object with data of type Array<{OCI::Database::Models::CloudVmClusterSummary CloudVmClusterSummary}>
7574
+ # @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/database/list_cloud_vm_clusters.rb.html) to see an example of how to use list_cloud_vm_clusters API.
8000
7575
  def list_cloud_vm_clusters(compartment_id, opts = {})
8001
7576
  logger.debug 'Calling operation DatabaseClient#list_cloud_vm_clusters.' if logger
8002
7577
 
@@ -8070,6 +7645,7 @@ module OCI
8070
7645
  # @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
8071
7646
  # retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
8072
7647
  # @return [Response] A Response object with data of type Array<{OCI::Database::Models::ConsoleConnectionSummary ConsoleConnectionSummary}>
7648
+ # @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/database/list_console_connections.rb.html) to see an example of how to use list_console_connections API.
8073
7649
  def list_console_connections(db_node_id, opts = {})
8074
7650
  logger.debug 'Calling operation DatabaseClient#list_console_connections.' if logger
8075
7651
 
@@ -8126,6 +7702,7 @@ module OCI
8126
7702
  # @option opts [Integer] :limit The maximum number of items to return per page. (default to 10)
8127
7703
  # @option opts [String] :page The pagination token to continue listing from.
8128
7704
  # @return [Response] A Response object with data of type Array<{OCI::Database::Models::AutonomousPatchSummary AutonomousPatchSummary}>
7705
+ # @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/database/list_container_database_patches.rb.html) to see an example of how to use list_container_database_patches API.
8129
7706
  def list_container_database_patches(autonomous_container_database_id, compartment_id, opts = {})
8130
7707
  logger.debug 'Calling operation DatabaseClient#list_container_database_patches.' if logger
8131
7708
 
@@ -8184,6 +7761,7 @@ module OCI
8184
7761
  # @option opts [Integer] :limit The maximum number of items to return per page. (default to 10)
8185
7762
  # @option opts [String] :page The pagination token to continue listing from.
8186
7763
  # @return [Response] A Response object with data of type Array<{OCI::Database::Models::DataGuardAssociationSummary DataGuardAssociationSummary}>
7764
+ # @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/database/list_data_guard_associations.rb.html) to see an example of how to use list_data_guard_associations API.
8187
7765
  def list_data_guard_associations(database_id, opts = {})
8188
7766
  logger.debug 'Calling operation DatabaseClient#list_data_guard_associations.' if logger
8189
7767
 
@@ -8250,6 +7828,7 @@ module OCI
8250
7828
  # @option opts [String] :image_shape_family A filter to return only resources that match the given image shape family exactly.
8251
7829
  # @option opts [BOOLEAN] :is_upgrade_supported If provided, filters the results to the set of database versions which are supported for Upgrade.
8252
7830
  # @return [Response] A Response object with data of type Array<{OCI::Database::Models::DatabaseSoftwareImageSummary DatabaseSoftwareImageSummary}>
7831
+ # @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/database/list_database_software_images.rb.html) to see an example of how to use list_database_software_images API.
8253
7832
  def list_database_software_images(compartment_id, opts = {})
8254
7833
  logger.debug 'Calling operation DatabaseClient#list_database_software_images.' if logger
8255
7834
 
@@ -8342,6 +7921,7 @@ module OCI
8342
7921
  # @option opts [Integer] :limit The maximum number of items to return per page. (default to 10)
8343
7922
  # @option opts [String] :page The pagination token to continue listing from.
8344
7923
  # @return [Response] A Response object with data of type Array<{OCI::Database::Models::DatabaseUpgradeHistoryEntrySummary DatabaseUpgradeHistoryEntrySummary}>
7924
+ # @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/database/list_database_upgrade_history_entries.rb.html) to see an example of how to use list_database_upgrade_history_entries API.
8345
7925
  def list_database_upgrade_history_entries(database_id, opts = {})
8346
7926
  logger.debug 'Calling operation DatabaseClient#list_database_upgrade_history_entries.' if logger
8347
7927
 
@@ -8427,6 +8007,7 @@ module OCI
8427
8007
  # @option opts [String] :lifecycle_state A filter to return only resources that match the given lifecycle state exactly.
8428
8008
  # @option opts [String] :db_name A filter to return only resources that match the entire database name given. The match is not case sensitive.
8429
8009
  # @return [Response] A Response object with data of type Array<{OCI::Database::Models::DatabaseSummary DatabaseSummary}>
8010
+ # @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/database/list_databases.rb.html) to see an example of how to use list_databases API.
8430
8011
  def list_databases(compartment_id, opts = {})
8431
8012
  logger.debug 'Calling operation DatabaseClient#list_databases.' if logger
8432
8013
 
@@ -8501,6 +8082,7 @@ module OCI
8501
8082
  # @option opts [Integer] :limit The maximum number of items to return per page. (default to 10)
8502
8083
  # @option opts [String] :page The pagination token to continue listing from.
8503
8084
  # @return [Response] A Response object with data of type Array<{OCI::Database::Models::PatchHistoryEntrySummary PatchHistoryEntrySummary}>
8085
+ # @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/database/list_db_home_patch_history_entries.rb.html) to see an example of how to use list_db_home_patch_history_entries API.
8504
8086
  def list_db_home_patch_history_entries(db_home_id, opts = {})
8505
8087
  logger.debug 'Calling operation DatabaseClient#list_db_home_patch_history_entries.' if logger
8506
8088
 
@@ -8557,6 +8139,7 @@ module OCI
8557
8139
  # @option opts [Integer] :limit The maximum number of items to return per page. (default to 10)
8558
8140
  # @option opts [String] :page The pagination token to continue listing from.
8559
8141
  # @return [Response] A Response object with data of type Array<{OCI::Database::Models::PatchSummary PatchSummary}>
8142
+ # @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/database/list_db_home_patches.rb.html) to see an example of how to use list_db_home_patches API.
8560
8143
  def list_db_home_patches(db_home_id, opts = {})
8561
8144
  logger.debug 'Calling operation DatabaseClient#list_db_home_patches.' if logger
8562
8145
 
@@ -8623,6 +8206,7 @@ module OCI
8623
8206
  # @option opts [String] :lifecycle_state A filter to return only resources that match the given lifecycle state exactly.
8624
8207
  # @option opts [String] :display_name A filter to return only resources that match the entire display name given. The match is not case sensitive.
8625
8208
  # @return [Response] A Response object with data of type Array<{OCI::Database::Models::DbHomeSummary DbHomeSummary}>
8209
+ # @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/database/list_db_homes.rb.html) to see an example of how to use list_db_homes API.
8626
8210
  def list_db_homes(compartment_id, opts = {})
8627
8211
  logger.debug 'Calling operation DatabaseClient#list_db_homes.' if logger
8628
8212
 
@@ -8706,6 +8290,7 @@ module OCI
8706
8290
  # Allowed values are: ASC, DESC
8707
8291
  # @option opts [String] :lifecycle_state A filter to return only resources that match the given lifecycle state exactly.
8708
8292
  # @return [Response] A Response object with data of type Array<{OCI::Database::Models::DbNodeSummary DbNodeSummary}>
8293
+ # @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/database/list_db_nodes.rb.html) to see an example of how to use list_db_nodes API.
8709
8294
  def list_db_nodes(compartment_id, opts = {})
8710
8295
  logger.debug 'Calling operation DatabaseClient#list_db_nodes.' if logger
8711
8296
 
@@ -8779,6 +8364,7 @@ module OCI
8779
8364
  # @option opts [Integer] :limit The maximum number of items to return per page. (default to 10)
8780
8365
  # @option opts [String] :page The pagination token to continue listing from.
8781
8366
  # @return [Response] A Response object with data of type Array<{OCI::Database::Models::PatchHistoryEntrySummary PatchHistoryEntrySummary}>
8367
+ # @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/database/list_db_system_patch_history_entries.rb.html) to see an example of how to use list_db_system_patch_history_entries API.
8782
8368
  def list_db_system_patch_history_entries(db_system_id, opts = {})
8783
8369
  logger.debug 'Calling operation DatabaseClient#list_db_system_patch_history_entries.' if logger
8784
8370
 
@@ -8835,6 +8421,7 @@ module OCI
8835
8421
  # @option opts [Integer] :limit The maximum number of items to return per page. (default to 10)
8836
8422
  # @option opts [String] :page The pagination token to continue listing from.
8837
8423
  # @return [Response] A Response object with data of type Array<{OCI::Database::Models::PatchSummary PatchSummary}>
8424
+ # @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/database/list_db_system_patches.rb.html) to see an example of how to use list_db_system_patches API.
8838
8425
  def list_db_system_patches(db_system_id, opts = {})
8839
8426
  logger.debug 'Calling operation DatabaseClient#list_db_system_patches.' if logger
8840
8427
 
@@ -8891,6 +8478,7 @@ module OCI
8891
8478
  # @option opts [Integer] :limit The maximum number of items to return per page. (default to 10)
8892
8479
  # @option opts [String] :page The pagination token to continue listing from.
8893
8480
  # @return [Response] A Response object with data of type Array<{OCI::Database::Models::DbSystemShapeSummary DbSystemShapeSummary}>
8481
+ # @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/database/list_db_system_shapes.rb.html) to see an example of how to use list_db_system_shapes API.
8894
8482
  def list_db_system_shapes(compartment_id, opts = {})
8895
8483
  logger.debug 'Calling operation DatabaseClient#list_db_system_shapes.' if logger
8896
8484
 
@@ -8959,6 +8547,7 @@ module OCI
8959
8547
  # @option opts [String] :availability_domain A filter to return only resources that match the given availability domain exactly.
8960
8548
  # @option opts [String] :display_name A filter to return only resources that match the entire display name given. The match is not case sensitive.
8961
8549
  # @return [Response] A Response object with data of type Array<{OCI::Database::Models::DbSystemSummary DbSystemSummary}>
8550
+ # @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/database/list_db_systems.rb.html) to see an example of how to use list_db_systems API.
8962
8551
  def list_db_systems(compartment_id, opts = {})
8963
8552
  logger.debug 'Calling operation DatabaseClient#list_db_systems.' if logger
8964
8553
 
@@ -9039,6 +8628,7 @@ module OCI
9039
8628
  #
9040
8629
  # @option opts [BOOLEAN] :is_upgrade_supported If provided, filters the results to the set of database versions which are supported for Upgrade.
9041
8630
  # @return [Response] A Response object with data of type Array<{OCI::Database::Models::DbVersionSummary DbVersionSummary}>
8631
+ # @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/database/list_db_versions.rb.html) to see an example of how to use list_db_versions API.
9042
8632
  def list_db_versions(compartment_id, opts = {})
9043
8633
  logger.debug 'Calling operation DatabaseClient#list_db_versions.' if logger
9044
8634
 
@@ -9094,7 +8684,8 @@ module OCI
9094
8684
  # rubocop:disable Metrics/MethodLength, Layout/EmptyLines
9095
8685
 
9096
8686
 
9097
- # Gets a list of the Exadata Cloud@Customer infrastructure resources in the specified compartment.
8687
+ # Lists the Exadata infrastructure resources in the specified compartment. Applies to Exadata Cloud@Customer instances only.
8688
+ # To list the Exadata Cloud Service infrastructure resources in a compartment, use the {#list_cloud_exadata_infrastructures list_cloud_exadata_infrastructures} operation.
9098
8689
  #
9099
8690
  # @param [String] compartment_id The compartment [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm).
9100
8691
  # @param [Hash] opts the optional parameters
@@ -9112,6 +8703,7 @@ module OCI
9112
8703
  # @option opts [String] :lifecycle_state A filter to return only resources that match the given lifecycle state exactly.
9113
8704
  # @option opts [String] :display_name A filter to return only resources that match the entire display name given. The match is not case sensitive.
9114
8705
  # @return [Response] A Response object with data of type Array<{OCI::Database::Models::ExadataInfrastructureSummary ExadataInfrastructureSummary}>
8706
+ # @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/database/list_exadata_infrastructures.rb.html) to see an example of how to use list_exadata_infrastructures API.
9115
8707
  def list_exadata_infrastructures(compartment_id, opts = {})
9116
8708
  logger.debug 'Calling operation DatabaseClient#list_exadata_infrastructures.' if logger
9117
8709
 
@@ -9176,37 +8768,46 @@ module OCI
9176
8768
  # rubocop:disable Metrics/MethodLength, Layout/EmptyLines
9177
8769
 
9178
8770
 
9179
- # Gets a list of supported GI versions for the Exadata Cloud@Customer VM cluster.
8771
+ # Gets a list of the flex components that can be used to launch a new DB system. The flex component determines resources to allocate to the DB system - Database Servers and Storage Servers.
9180
8772
  # @param [String] compartment_id The compartment [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm).
9181
8773
  # @param [Hash] opts the optional parameters
9182
8774
  # @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
9183
8775
  # retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
9184
- # @option opts [Integer] :limit The maximum number of items to return per page. (default to 10)
9185
- # @option opts [String] :page The pagination token to continue listing from.
8776
+ # @option opts [String] :name A filter to return only resources that match the entire name given. The match is not case sensitive.
9186
8777
  # @option opts [String] :sort_order The sort order to use, either ascending (`ASC`) or descending (`DESC`). (default to ASC)
9187
8778
  # Allowed values are: ASC, DESC
9188
- # @option opts [String] :shape If provided, filters the results for the given shape. (default to default)
9189
- # @return [Response] A Response object with data of type Array<{OCI::Database::Models::GiVersionSummary GiVersionSummary}>
9190
- def list_gi_versions(compartment_id, opts = {})
9191
- logger.debug 'Calling operation DatabaseClient#list_gi_versions.' if logger
8779
+ # @option opts [String] :sort_by The field to sort by. You can provide one sort order (`sortOrder`). Default order for NAME is ascending. The NAME sort order is case sensitive.
8780
+ #
8781
+ # Allowed values are: NAME
8782
+ # @option opts [Integer] :limit The maximum number of items to return per page. (default to 10)
8783
+ # @option opts [String] :page The pagination token to continue listing from.
8784
+ # @return [Response] A Response object with data of type {OCI::Database::Models::FlexComponentCollection FlexComponentCollection}
8785
+ # @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/database/list_flex_components.rb.html) to see an example of how to use list_flex_components API.
8786
+ def list_flex_components(compartment_id, opts = {})
8787
+ logger.debug 'Calling operation DatabaseClient#list_flex_components.' if logger
9192
8788
 
9193
- raise "Missing the required parameter 'compartment_id' when calling list_gi_versions." if compartment_id.nil?
8789
+ raise "Missing the required parameter 'compartment_id' when calling list_flex_components." if compartment_id.nil?
9194
8790
 
9195
8791
  if opts[:sort_order] && !%w[ASC DESC].include?(opts[:sort_order])
9196
8792
  raise 'Invalid value for "sort_order", must be one of ASC, DESC.'
9197
8793
  end
9198
8794
 
9199
- path = '/giVersions'
8795
+ if opts[:sort_by] && !%w[NAME].include?(opts[:sort_by])
8796
+ raise 'Invalid value for "sort_by", must be one of NAME.'
8797
+ end
8798
+
8799
+ path = '/dbSystemShapes/flexComponents'
9200
8800
  operation_signing_strategy = :standard
9201
8801
 
9202
8802
  # rubocop:disable Style/NegatedIf
9203
8803
  # Query Params
9204
8804
  query_params = {}
9205
8805
  query_params[:compartmentId] = compartment_id
8806
+ query_params[:name] = opts[:name] if opts[:name]
8807
+ query_params[:sortOrder] = opts[:sort_order] if opts[:sort_order]
8808
+ query_params[:sortBy] = opts[:sort_by] if opts[:sort_by]
9206
8809
  query_params[:limit] = opts[:limit] if opts[:limit]
9207
8810
  query_params[:page] = opts[:page] if opts[:page]
9208
- query_params[:sortOrder] = opts[:sort_order] if opts[:sort_order]
9209
- query_params[:shape] = opts[:shape] if opts[:shape]
9210
8811
 
9211
8812
  # Header Params
9212
8813
  header_params = {}
@@ -9217,7 +8818,7 @@ module OCI
9217
8818
  post_body = nil
9218
8819
 
9219
8820
  # rubocop:disable Metrics/BlockLength
9220
- OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'DatabaseClient#list_gi_versions') do
8821
+ OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'DatabaseClient#list_flex_components') do
9221
8822
  @api_client.call_api(
9222
8823
  :GET,
9223
8824
  path,
@@ -9226,7 +8827,7 @@ module OCI
9226
8827
  query_params: query_params,
9227
8828
  operation_signing_strategy: operation_signing_strategy,
9228
8829
  body: post_body,
9229
- return_type: 'Array<OCI::Database::Models::GiVersionSummary>'
8830
+ return_type: 'OCI::Database::Models::FlexComponentCollection'
9230
8831
  )
9231
8832
  end
9232
8833
  # rubocop:enable Metrics/BlockLength
@@ -9240,7 +8841,72 @@ module OCI
9240
8841
  # rubocop:disable Metrics/MethodLength, Layout/EmptyLines
9241
8842
 
9242
8843
 
9243
- # Gets a list of key stores in the specified compartment.
8844
+ # Gets a list of supported GI versions for the Exadata Cloud@Customer VM cluster.
8845
+ # @param [String] compartment_id The compartment [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm).
8846
+ # @param [Hash] opts the optional parameters
8847
+ # @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
8848
+ # retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
8849
+ # @option opts [Integer] :limit The maximum number of items to return per page. (default to 10)
8850
+ # @option opts [String] :page The pagination token to continue listing from.
8851
+ # @option opts [String] :sort_order The sort order to use, either ascending (`ASC`) or descending (`DESC`). (default to ASC)
8852
+ # Allowed values are: ASC, DESC
8853
+ # @option opts [String] :shape If provided, filters the results for the given shape. (default to default)
8854
+ # @return [Response] A Response object with data of type Array<{OCI::Database::Models::GiVersionSummary GiVersionSummary}>
8855
+ # @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/database/list_gi_versions.rb.html) to see an example of how to use list_gi_versions API.
8856
+ def list_gi_versions(compartment_id, opts = {})
8857
+ logger.debug 'Calling operation DatabaseClient#list_gi_versions.' if logger
8858
+
8859
+ raise "Missing the required parameter 'compartment_id' when calling list_gi_versions." if compartment_id.nil?
8860
+
8861
+ if opts[:sort_order] && !%w[ASC DESC].include?(opts[:sort_order])
8862
+ raise 'Invalid value for "sort_order", must be one of ASC, DESC.'
8863
+ end
8864
+
8865
+ path = '/giVersions'
8866
+ operation_signing_strategy = :standard
8867
+
8868
+ # rubocop:disable Style/NegatedIf
8869
+ # Query Params
8870
+ query_params = {}
8871
+ query_params[:compartmentId] = compartment_id
8872
+ query_params[:limit] = opts[:limit] if opts[:limit]
8873
+ query_params[:page] = opts[:page] if opts[:page]
8874
+ query_params[:sortOrder] = opts[:sort_order] if opts[:sort_order]
8875
+ query_params[:shape] = opts[:shape] if opts[:shape]
8876
+
8877
+ # Header Params
8878
+ header_params = {}
8879
+ header_params[:accept] = 'application/json'
8880
+ header_params[:'content-type'] = 'application/json'
8881
+ # rubocop:enable Style/NegatedIf
8882
+
8883
+ post_body = nil
8884
+
8885
+ # rubocop:disable Metrics/BlockLength
8886
+ OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'DatabaseClient#list_gi_versions') do
8887
+ @api_client.call_api(
8888
+ :GET,
8889
+ path,
8890
+ endpoint,
8891
+ header_params: header_params,
8892
+ query_params: query_params,
8893
+ operation_signing_strategy: operation_signing_strategy,
8894
+ body: post_body,
8895
+ return_type: 'Array<OCI::Database::Models::GiVersionSummary>'
8896
+ )
8897
+ end
8898
+ # rubocop:enable Metrics/BlockLength
8899
+ end
8900
+ # rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
8901
+ # rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
8902
+ # rubocop:enable Metrics/MethodLength, Layout/EmptyLines
8903
+
8904
+ # rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
8905
+ # rubocop:disable Style/IfUnlessModifier, Metrics/ParameterLists
8906
+ # rubocop:disable Metrics/MethodLength, Layout/EmptyLines
8907
+
8908
+
8909
+ # Gets a list of key stores in the specified compartment.
9244
8910
  #
9245
8911
  # @param [String] compartment_id The compartment [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm).
9246
8912
  # @param [Hash] opts the optional parameters
@@ -9251,6 +8917,7 @@ module OCI
9251
8917
  # @option opts [String] :opc_request_id Unique identifier for the request.
9252
8918
  #
9253
8919
  # @return [Response] A Response object with data of type Array<{OCI::Database::Models::KeyStoreSummary KeyStoreSummary}>
8920
+ # @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/database/list_key_stores.rb.html) to see an example of how to use list_key_stores API.
9254
8921
  def list_key_stores(compartment_id, opts = {})
9255
8922
  logger.debug 'Calling operation DatabaseClient#list_key_stores.' if logger
9256
8923
 
@@ -9320,6 +8987,7 @@ module OCI
9320
8987
  # @option opts [String] :lifecycle_state A filter to return only resources that match the given lifecycle state exactly.
9321
8988
  # @option opts [String] :availability_domain A filter to return only resources that match the given availability domain exactly.
9322
8989
  # @return [Response] A Response object with data of type Array<{OCI::Database::Models::MaintenanceRunSummary MaintenanceRunSummary}>
8990
+ # @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/database/list_maintenance_runs.rb.html) to see an example of how to use list_maintenance_runs API.
9323
8991
  def list_maintenance_runs(compartment_id, opts = {})
9324
8992
  logger.debug 'Calling operation DatabaseClient#list_maintenance_runs.' if logger
9325
8993
 
@@ -9394,7 +9062,7 @@ module OCI
9394
9062
  # rubocop:disable Metrics/MethodLength, Layout/EmptyLines
9395
9063
 
9396
9064
 
9397
- # Gets a list of the Exadata Cloud@Customer VM cluster networks in the specified compartment.
9065
+ # Gets a list of the VM cluster networks in the specified compartment. Applies to Exadata Cloud@Customer instances only.
9398
9066
  #
9399
9067
  # @param [String] exadata_infrastructure_id The Exadata infrastructure [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm).
9400
9068
  # @param [String] compartment_id The compartment [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm).
@@ -9413,6 +9081,7 @@ module OCI
9413
9081
  # @option opts [String] :opc_request_id Unique identifier for the request.
9414
9082
  #
9415
9083
  # @return [Response] A Response object with data of type Array<{OCI::Database::Models::VmClusterNetworkSummary VmClusterNetworkSummary}>
9084
+ # @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/database/list_vm_cluster_networks.rb.html) to see an example of how to use list_vm_cluster_networks API.
9416
9085
  def list_vm_cluster_networks(exadata_infrastructure_id, compartment_id, opts = {})
9417
9086
  logger.debug 'Calling operation DatabaseClient#list_vm_cluster_networks.' if logger
9418
9087
 
@@ -9488,6 +9157,7 @@ module OCI
9488
9157
  # @option opts [Integer] :limit The maximum number of items to return per page. (default to 10)
9489
9158
  # @option opts [String] :page The pagination token to continue listing from.
9490
9159
  # @return [Response] A Response object with data of type Array<{OCI::Database::Models::PatchHistoryEntrySummary PatchHistoryEntrySummary}>
9160
+ # @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/database/list_vm_cluster_patch_history_entries.rb.html) to see an example of how to use list_vm_cluster_patch_history_entries API.
9491
9161
  def list_vm_cluster_patch_history_entries(vm_cluster_id, opts = {})
9492
9162
  logger.debug 'Calling operation DatabaseClient#list_vm_cluster_patch_history_entries.' if logger
9493
9163
 
@@ -9544,6 +9214,7 @@ module OCI
9544
9214
  # @option opts [Integer] :limit The maximum number of items to return per page. (default to 10)
9545
9215
  # @option opts [String] :page The pagination token to continue listing from.
9546
9216
  # @return [Response] A Response object with data of type Array<{OCI::Database::Models::PatchSummary PatchSummary}>
9217
+ # @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/database/list_vm_cluster_patches.rb.html) to see an example of how to use list_vm_cluster_patches API.
9547
9218
  def list_vm_cluster_patches(vm_cluster_id, opts = {})
9548
9219
  logger.debug 'Calling operation DatabaseClient#list_vm_cluster_patches.' if logger
9549
9220
 
@@ -9591,7 +9262,8 @@ module OCI
9591
9262
  # rubocop:disable Metrics/MethodLength, Layout/EmptyLines
9592
9263
 
9593
9264
 
9594
- # Gets a list of the Exadata Cloud@Customer VM clusters in the specified compartment.
9265
+ # Lists the VM clusters in the specified compartment. Applies to Exadata Cloud@Customer instances only.
9266
+ # To list the cloud VM clusters in an Exadata Cloud Service instance, use the {#list_cloud_vm_clusters list_cloud_vm_clusters} operation.
9595
9267
  #
9596
9268
  # @param [String] compartment_id The compartment [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm).
9597
9269
  # @param [Hash] opts the optional parameters
@@ -9610,6 +9282,7 @@ module OCI
9610
9282
  # @option opts [String] :opc_request_id Unique identifier for the request.
9611
9283
  #
9612
9284
  # @return [Response] A Response object with data of type Array<{OCI::Database::Models::VmClusterSummary VmClusterSummary}>
9285
+ # @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/database/list_vm_clusters.rb.html) to see an example of how to use list_vm_clusters API.
9613
9286
  def list_vm_clusters(compartment_id, opts = {})
9614
9287
  logger.debug 'Calling operation DatabaseClient#list_vm_clusters.' if logger
9615
9288
 
@@ -9694,6 +9367,7 @@ module OCI
9694
9367
  # may be rejected).
9695
9368
  #
9696
9369
  # @return [Response] A Response object with data of type {OCI::Database::Models::ExadataDbSystemMigration ExadataDbSystemMigration}
9370
+ # @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/database/migrate_exadata_db_system_resource_model.rb.html) to see an example of how to use migrate_exadata_db_system_resource_model API.
9697
9371
  def migrate_exadata_db_system_resource_model(db_system_id, opts = {})
9698
9372
  logger.debug 'Calling operation DatabaseClient#migrate_exadata_db_system_resource_model.' if logger
9699
9373
 
@@ -9743,6 +9417,76 @@ module OCI
9743
9417
  # rubocop:disable Metrics/MethodLength, Layout/EmptyLines
9744
9418
 
9745
9419
 
9420
+ # Changes encryption key management from customer-managed, using the [Vault service](https://docs.cloud.oracle.com/iaas/Content/KeyManagement/Concepts/keyoverview.htm), to Oracle-managed.
9421
+ # @param [String] database_id The database [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm).
9422
+ # @param [OCI::Database::Models::MigrateVaultKeyDetails] migrate_vault_key_details Request to change the source of the encryption key for the database.
9423
+ # @param [Hash] opts the optional parameters
9424
+ # @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
9425
+ # retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
9426
+ # @option opts [String] :if_match For optimistic concurrency control. In the PUT or DELETE call for a resource, set the `if-match`
9427
+ # parameter to the value of the etag from a previous GET or POST response for that resource. The resource
9428
+ # will be updated or deleted only if the etag you provide matches the resource's current etag value.
9429
+ #
9430
+ # @option opts [String] :opc_retry_token A token that uniquely identifies a request so it can be retried in case of a timeout or
9431
+ # server error without risk of executing that same action again. Retry tokens expire after 24
9432
+ # hours, but can be invalidated before then due to conflicting operations (for example, if a resource
9433
+ # has been deleted and purged from the system, then a retry of the original creation request
9434
+ # may be rejected).
9435
+ #
9436
+ # @option opts [String] :opc_request_id Unique identifier for the request.
9437
+ #
9438
+ # @return [Response] A Response object with data of type {OCI::Database::Models::Database Database}
9439
+ # @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/database/migrate_vault_key.rb.html) to see an example of how to use migrate_vault_key API.
9440
+ def migrate_vault_key(database_id, migrate_vault_key_details, opts = {})
9441
+ logger.debug 'Calling operation DatabaseClient#migrate_vault_key.' if logger
9442
+
9443
+ raise "Missing the required parameter 'database_id' when calling migrate_vault_key." if database_id.nil?
9444
+ raise "Missing the required parameter 'migrate_vault_key_details' when calling migrate_vault_key." if migrate_vault_key_details.nil?
9445
+ raise "Parameter value for 'database_id' must not be blank" if OCI::Internal::Util.blank_string?(database_id)
9446
+
9447
+ path = '/databases/{databaseId}/actions/migrateKey'.sub('{databaseId}', database_id.to_s)
9448
+ operation_signing_strategy = :standard
9449
+
9450
+ # rubocop:disable Style/NegatedIf
9451
+ # Query Params
9452
+ query_params = {}
9453
+
9454
+ # Header Params
9455
+ header_params = {}
9456
+ header_params[:accept] = 'application/json'
9457
+ header_params[:'content-type'] = 'application/json'
9458
+ header_params[:'if-match'] = opts[:if_match] if opts[:if_match]
9459
+ header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token]
9460
+ header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
9461
+ # rubocop:enable Style/NegatedIf
9462
+ header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token
9463
+
9464
+ post_body = @api_client.object_to_http_body(migrate_vault_key_details)
9465
+
9466
+ # rubocop:disable Metrics/BlockLength
9467
+ OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'DatabaseClient#migrate_vault_key') do
9468
+ @api_client.call_api(
9469
+ :POST,
9470
+ path,
9471
+ endpoint,
9472
+ header_params: header_params,
9473
+ query_params: query_params,
9474
+ operation_signing_strategy: operation_signing_strategy,
9475
+ body: post_body,
9476
+ return_type: 'OCI::Database::Models::Database'
9477
+ )
9478
+ end
9479
+ # rubocop:enable Metrics/BlockLength
9480
+ end
9481
+ # rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
9482
+ # rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
9483
+ # rubocop:enable Metrics/MethodLength, Layout/EmptyLines
9484
+
9485
+ # rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
9486
+ # rubocop:disable Style/IfUnlessModifier, Metrics/ParameterLists
9487
+ # rubocop:disable Metrics/MethodLength, Layout/EmptyLines
9488
+
9489
+
9746
9490
  # Asynchronously registers this Autonomous Database with Data Safe.
9747
9491
  #
9748
9492
  # @param [String] autonomous_database_id The database [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm).
@@ -9753,6 +9497,7 @@ module OCI
9753
9497
  #
9754
9498
  # @option opts [OCI::Database::Models::RegisterAutonomousDatabaseDataSafeDetails] :register_autonomous_database_data_safe_details Request to register an Autonomous Database with Data Safe.
9755
9499
  # @return [Response] A Response object with data of type nil
9500
+ # @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/database/register_autonomous_database_data_safe.rb.html) to see an example of how to use register_autonomous_database_data_safe API.
9756
9501
  def register_autonomous_database_data_safe(autonomous_database_id, opts = {})
9757
9502
  logger.debug 'Calling operation DatabaseClient#register_autonomous_database_data_safe.' if logger
9758
9503
 
@@ -9810,6 +9555,7 @@ module OCI
9810
9555
  # will be updated or deleted only if the etag you provide matches the resource's current etag value.
9811
9556
  #
9812
9557
  # @return [Response] A Response object with data of type {OCI::Database::Models::AutonomousContainerDatabaseDataguardAssociation AutonomousContainerDatabaseDataguardAssociation}
9558
+ # @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/database/reinstate_autonomous_container_database_dataguard_association.rb.html) to see an example of how to use reinstate_autonomous_container_database_dataguard_association API.
9813
9559
  def reinstate_autonomous_container_database_dataguard_association(autonomous_container_database_id, autonomous_container_database_dataguard_association_id, opts = {})
9814
9560
  logger.debug 'Calling operation DatabaseClient#reinstate_autonomous_container_database_dataguard_association.' if logger
9815
9561
 
@@ -9871,6 +9617,7 @@ module OCI
9871
9617
  # will be updated or deleted only if the etag you provide matches the resource's current etag value.
9872
9618
  #
9873
9619
  # @return [Response] A Response object with data of type {OCI::Database::Models::DataGuardAssociation DataGuardAssociation}
9620
+ # @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/database/reinstate_data_guard_association.rb.html) to see an example of how to use reinstate_data_guard_association API.
9874
9621
  def reinstate_data_guard_association(database_id, data_guard_association_id, reinstate_data_guard_association_details, opts = {})
9875
9622
  logger.debug 'Calling operation DatabaseClient#reinstate_data_guard_association.' if logger
9876
9623
 
@@ -9933,6 +9680,7 @@ module OCI
9933
9680
  # @option opts [String] :opc_request_id Unique identifier for the request.
9934
9681
  #
9935
9682
  # @return [Response] A Response object with data of type {OCI::Database::Models::AutonomousContainerDatabase AutonomousContainerDatabase}
9683
+ # @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/database/restart_autonomous_container_database.rb.html) to see an example of how to use restart_autonomous_container_database API.
9936
9684
  def restart_autonomous_container_database(autonomous_container_database_id, opts = {})
9937
9685
  logger.debug 'Calling operation DatabaseClient#restart_autonomous_container_database.' if logger
9938
9686
 
@@ -9991,6 +9739,7 @@ module OCI
9991
9739
  # will be updated or deleted only if the etag you provide matches the resource's current etag value.
9992
9740
  #
9993
9741
  # @return [Response] A Response object with data of type {OCI::Database::Models::AutonomousDatabase AutonomousDatabase}
9742
+ # @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/database/restart_autonomous_database.rb.html) to see an example of how to use restart_autonomous_database API.
9994
9743
  def restart_autonomous_database(autonomous_database_id, opts = {})
9995
9744
  logger.debug 'Calling operation DatabaseClient#restart_autonomous_database.' if logger
9996
9745
 
@@ -10037,65 +9786,6 @@ module OCI
10037
9786
  # rubocop:disable Metrics/MethodLength, Layout/EmptyLines
10038
9787
 
10039
9788
 
10040
- # **Deprecated.** To restore an Autonomous Data Warehouse, use the {#restore_autonomous_database restore_autonomous_database} operation.
10041
- #
10042
- # @param [String] autonomous_data_warehouse_id The database [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm).
10043
- # @param [OCI::Database::Models::RestoreAutonomousDataWarehouseDetails] restore_autonomous_data_warehouse_details Request to perform an Autonomous Data Warehouse restore.
10044
- # @param [Hash] opts the optional parameters
10045
- # @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
10046
- # retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
10047
- # @option opts [String] :if_match For optimistic concurrency control. In the PUT or DELETE call for a resource, set the `if-match`
10048
- # parameter to the value of the etag from a previous GET or POST response for that resource. The resource
10049
- # will be updated or deleted only if the etag you provide matches the resource's current etag value.
10050
- #
10051
- # @return [Response] A Response object with data of type {OCI::Database::Models::AutonomousDataWarehouse AutonomousDataWarehouse}
10052
- def restore_autonomous_data_warehouse(autonomous_data_warehouse_id, restore_autonomous_data_warehouse_details, opts = {})
10053
- logger.debug 'Calling operation DatabaseClient#restore_autonomous_data_warehouse.' if logger
10054
-
10055
- raise "Missing the required parameter 'autonomous_data_warehouse_id' when calling restore_autonomous_data_warehouse." if autonomous_data_warehouse_id.nil?
10056
- raise "Missing the required parameter 'restore_autonomous_data_warehouse_details' when calling restore_autonomous_data_warehouse." if restore_autonomous_data_warehouse_details.nil?
10057
- raise "Parameter value for 'autonomous_data_warehouse_id' must not be blank" if OCI::Internal::Util.blank_string?(autonomous_data_warehouse_id)
10058
-
10059
- path = '/autonomousDataWarehouses/{autonomousDataWarehouseId}/actions/restore'.sub('{autonomousDataWarehouseId}', autonomous_data_warehouse_id.to_s)
10060
- operation_signing_strategy = :standard
10061
-
10062
- # rubocop:disable Style/NegatedIf
10063
- # Query Params
10064
- query_params = {}
10065
-
10066
- # Header Params
10067
- header_params = {}
10068
- header_params[:accept] = 'application/json'
10069
- header_params[:'content-type'] = 'application/json'
10070
- header_params[:'if-match'] = opts[:if_match] if opts[:if_match]
10071
- # rubocop:enable Style/NegatedIf
10072
-
10073
- post_body = @api_client.object_to_http_body(restore_autonomous_data_warehouse_details)
10074
-
10075
- # rubocop:disable Metrics/BlockLength
10076
- OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'DatabaseClient#restore_autonomous_data_warehouse') do
10077
- @api_client.call_api(
10078
- :POST,
10079
- path,
10080
- endpoint,
10081
- header_params: header_params,
10082
- query_params: query_params,
10083
- operation_signing_strategy: operation_signing_strategy,
10084
- body: post_body,
10085
- return_type: 'OCI::Database::Models::AutonomousDataWarehouse'
10086
- )
10087
- end
10088
- # rubocop:enable Metrics/BlockLength
10089
- end
10090
- # rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
10091
- # rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
10092
- # rubocop:enable Metrics/MethodLength, Layout/EmptyLines
10093
-
10094
- # rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
10095
- # rubocop:disable Style/IfUnlessModifier, Metrics/ParameterLists
10096
- # rubocop:disable Metrics/MethodLength, Layout/EmptyLines
10097
-
10098
-
10099
9789
  # Restores an Autonomous Database based on the provided request parameters.
10100
9790
  #
10101
9791
  # @param [String] autonomous_database_id The database [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm).
@@ -10108,6 +9798,7 @@ module OCI
10108
9798
  # will be updated or deleted only if the etag you provide matches the resource's current etag value.
10109
9799
  #
10110
9800
  # @return [Response] A Response object with data of type {OCI::Database::Models::AutonomousDatabase AutonomousDatabase}
9801
+ # @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/database/restore_autonomous_database.rb.html) to see an example of how to use restore_autonomous_database API.
10111
9802
  def restore_autonomous_database(autonomous_database_id, restore_autonomous_database_details, opts = {})
10112
9803
  logger.debug 'Calling operation DatabaseClient#restore_autonomous_database.' if logger
10113
9804
 
@@ -10167,6 +9858,7 @@ module OCI
10167
9858
  # will be updated or deleted only if the etag you provide matches the resource's current etag value.
10168
9859
  #
10169
9860
  # @return [Response] A Response object with data of type {OCI::Database::Models::Database Database}
9861
+ # @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/database/restore_database.rb.html) to see an example of how to use restore_database API.
10170
9862
  def restore_database(database_id, restore_database_details, opts = {})
10171
9863
  logger.debug 'Calling operation DatabaseClient#restore_database.' if logger
10172
9864
 
@@ -10232,6 +9924,7 @@ module OCI
10232
9924
  # @option opts [String] :opc_request_id Unique identifier for the request.
10233
9925
  #
10234
9926
  # @return [Response] A Response object with data of type {OCI::Database::Models::AutonomousContainerDatabase AutonomousContainerDatabase}
9927
+ # @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/database/rotate_autonomous_container_database_encryption_key.rb.html) to see an example of how to use rotate_autonomous_container_database_encryption_key API.
10235
9928
  def rotate_autonomous_container_database_encryption_key(autonomous_container_database_id, opts = {})
10236
9929
  logger.debug 'Calling operation DatabaseClient#rotate_autonomous_container_database_encryption_key.' if logger
10237
9930
 
@@ -10299,6 +9992,7 @@ module OCI
10299
9992
  # @option opts [String] :opc_request_id Unique identifier for the request.
10300
9993
  #
10301
9994
  # @return [Response] A Response object with data of type {OCI::Database::Models::AutonomousDatabase AutonomousDatabase}
9995
+ # @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/database/rotate_autonomous_database_encryption_key.rb.html) to see an example of how to use rotate_autonomous_database_encryption_key API.
10302
9996
  def rotate_autonomous_database_encryption_key(autonomous_database_id, opts = {})
10303
9997
  logger.debug 'Calling operation DatabaseClient#rotate_autonomous_database_encryption_key.' if logger
10304
9998
 
@@ -10348,24 +10042,33 @@ module OCI
10348
10042
  # rubocop:disable Metrics/MethodLength, Layout/EmptyLines
10349
10043
 
10350
10044
 
10351
- # **Deprecated.** To start an Autonomous Data Warehouse, use the {#start_autonomous_database start_autonomous_database} operation.
10045
+ # Rotates Oracle REST Data Services (ORDS) certs for an Autonomous Exadata Infrastructure resource.
10352
10046
  #
10353
- # @param [String] autonomous_data_warehouse_id The database [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm).
10047
+ # @param [String] autonomous_exadata_infrastructure_id The Autonomous Exadata Infrastructure [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm).
10354
10048
  # @param [Hash] opts the optional parameters
10355
10049
  # @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
10356
10050
  # retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
10051
+ # @option opts [String] :opc_request_id Unique identifier for the request.
10052
+ #
10053
+ # @option opts [String] :opc_retry_token A token that uniquely identifies a request so it can be retried in case of a timeout or
10054
+ # server error without risk of executing that same action again. Retry tokens expire after 24
10055
+ # hours, but can be invalidated before then due to conflicting operations (for example, if a resource
10056
+ # has been deleted and purged from the system, then a retry of the original creation request
10057
+ # may be rejected).
10058
+ #
10357
10059
  # @option opts [String] :if_match For optimistic concurrency control. In the PUT or DELETE call for a resource, set the `if-match`
10358
10060
  # parameter to the value of the etag from a previous GET or POST response for that resource. The resource
10359
10061
  # will be updated or deleted only if the etag you provide matches the resource's current etag value.
10360
10062
  #
10361
- # @return [Response] A Response object with data of type {OCI::Database::Models::AutonomousDataWarehouse AutonomousDataWarehouse}
10362
- def start_autonomous_data_warehouse(autonomous_data_warehouse_id, opts = {})
10363
- logger.debug 'Calling operation DatabaseClient#start_autonomous_data_warehouse.' if logger
10063
+ # @return [Response] A Response object with data of type nil
10064
+ # @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/database/rotate_ords_certs.rb.html) to see an example of how to use rotate_ords_certs API.
10065
+ def rotate_ords_certs(autonomous_exadata_infrastructure_id, opts = {})
10066
+ logger.debug 'Calling operation DatabaseClient#rotate_ords_certs.' if logger
10364
10067
 
10365
- raise "Missing the required parameter 'autonomous_data_warehouse_id' when calling start_autonomous_data_warehouse." if autonomous_data_warehouse_id.nil?
10366
- raise "Parameter value for 'autonomous_data_warehouse_id' must not be blank" if OCI::Internal::Util.blank_string?(autonomous_data_warehouse_id)
10068
+ raise "Missing the required parameter 'autonomous_exadata_infrastructure_id' when calling rotate_ords_certs." if autonomous_exadata_infrastructure_id.nil?
10069
+ raise "Parameter value for 'autonomous_exadata_infrastructure_id' must not be blank" if OCI::Internal::Util.blank_string?(autonomous_exadata_infrastructure_id)
10367
10070
 
10368
- path = '/autonomousDataWarehouses/{autonomousDataWarehouseId}/actions/start'.sub('{autonomousDataWarehouseId}', autonomous_data_warehouse_id.to_s)
10071
+ path = '/autonomousExadataInfrastructures/{autonomousExadataInfrastructureId}/actions/rotateOrdsCerts'.sub('{autonomousExadataInfrastructureId}', autonomous_exadata_infrastructure_id.to_s)
10369
10072
  operation_signing_strategy = :standard
10370
10073
 
10371
10074
  # rubocop:disable Style/NegatedIf
@@ -10376,13 +10079,16 @@ module OCI
10376
10079
  header_params = {}
10377
10080
  header_params[:accept] = 'application/json'
10378
10081
  header_params[:'content-type'] = 'application/json'
10082
+ header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
10083
+ header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token]
10379
10084
  header_params[:'if-match'] = opts[:if_match] if opts[:if_match]
10380
10085
  # rubocop:enable Style/NegatedIf
10086
+ header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token
10381
10087
 
10382
10088
  post_body = nil
10383
10089
 
10384
10090
  # rubocop:disable Metrics/BlockLength
10385
- OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'DatabaseClient#start_autonomous_data_warehouse') do
10091
+ OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'DatabaseClient#rotate_ords_certs') do
10386
10092
  @api_client.call_api(
10387
10093
  :POST,
10388
10094
  path,
@@ -10390,8 +10096,7 @@ module OCI
10390
10096
  header_params: header_params,
10391
10097
  query_params: query_params,
10392
10098
  operation_signing_strategy: operation_signing_strategy,
10393
- body: post_body,
10394
- return_type: 'OCI::Database::Models::AutonomousDataWarehouse'
10099
+ body: post_body
10395
10100
  )
10396
10101
  end
10397
10102
  # rubocop:enable Metrics/BlockLength
@@ -10405,24 +10110,33 @@ module OCI
10405
10110
  # rubocop:disable Metrics/MethodLength, Layout/EmptyLines
10406
10111
 
10407
10112
 
10408
- # Starts the specified Autonomous Database.
10113
+ # Rotates SSL certs for an Autonomous Exadata Infrastructure resource.
10409
10114
  #
10410
- # @param [String] autonomous_database_id The database [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm).
10115
+ # @param [String] autonomous_exadata_infrastructure_id The Autonomous Exadata Infrastructure [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm).
10411
10116
  # @param [Hash] opts the optional parameters
10412
10117
  # @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
10413
10118
  # retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
10119
+ # @option opts [String] :opc_request_id Unique identifier for the request.
10120
+ #
10121
+ # @option opts [String] :opc_retry_token A token that uniquely identifies a request so it can be retried in case of a timeout or
10122
+ # server error without risk of executing that same action again. Retry tokens expire after 24
10123
+ # hours, but can be invalidated before then due to conflicting operations (for example, if a resource
10124
+ # has been deleted and purged from the system, then a retry of the original creation request
10125
+ # may be rejected).
10126
+ #
10414
10127
  # @option opts [String] :if_match For optimistic concurrency control. In the PUT or DELETE call for a resource, set the `if-match`
10415
10128
  # parameter to the value of the etag from a previous GET or POST response for that resource. The resource
10416
10129
  # will be updated or deleted only if the etag you provide matches the resource's current etag value.
10417
10130
  #
10418
- # @return [Response] A Response object with data of type {OCI::Database::Models::AutonomousDatabase AutonomousDatabase}
10419
- def start_autonomous_database(autonomous_database_id, opts = {})
10420
- logger.debug 'Calling operation DatabaseClient#start_autonomous_database.' if logger
10131
+ # @return [Response] A Response object with data of type nil
10132
+ # @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/database/rotate_ssl_certs.rb.html) to see an example of how to use rotate_ssl_certs API.
10133
+ def rotate_ssl_certs(autonomous_exadata_infrastructure_id, opts = {})
10134
+ logger.debug 'Calling operation DatabaseClient#rotate_ssl_certs.' if logger
10421
10135
 
10422
- raise "Missing the required parameter 'autonomous_database_id' when calling start_autonomous_database." if autonomous_database_id.nil?
10423
- raise "Parameter value for 'autonomous_database_id' must not be blank" if OCI::Internal::Util.blank_string?(autonomous_database_id)
10136
+ raise "Missing the required parameter 'autonomous_exadata_infrastructure_id' when calling rotate_ssl_certs." if autonomous_exadata_infrastructure_id.nil?
10137
+ raise "Parameter value for 'autonomous_exadata_infrastructure_id' must not be blank" if OCI::Internal::Util.blank_string?(autonomous_exadata_infrastructure_id)
10424
10138
 
10425
- path = '/autonomousDatabases/{autonomousDatabaseId}/actions/start'.sub('{autonomousDatabaseId}', autonomous_database_id.to_s)
10139
+ path = '/autonomousExadataInfrastructures/{autonomousExadataInfrastructureId}/actions/rotateSslCerts'.sub('{autonomousExadataInfrastructureId}', autonomous_exadata_infrastructure_id.to_s)
10426
10140
  operation_signing_strategy = :standard
10427
10141
 
10428
10142
  # rubocop:disable Style/NegatedIf
@@ -10433,13 +10147,83 @@ module OCI
10433
10147
  header_params = {}
10434
10148
  header_params[:accept] = 'application/json'
10435
10149
  header_params[:'content-type'] = 'application/json'
10150
+ header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
10151
+ header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token]
10436
10152
  header_params[:'if-match'] = opts[:if_match] if opts[:if_match]
10437
10153
  # rubocop:enable Style/NegatedIf
10154
+ header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token
10438
10155
 
10439
10156
  post_body = nil
10440
10157
 
10441
10158
  # rubocop:disable Metrics/BlockLength
10442
- OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'DatabaseClient#start_autonomous_database') do
10159
+ OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'DatabaseClient#rotate_ssl_certs') do
10160
+ @api_client.call_api(
10161
+ :POST,
10162
+ path,
10163
+ endpoint,
10164
+ header_params: header_params,
10165
+ query_params: query_params,
10166
+ operation_signing_strategy: operation_signing_strategy,
10167
+ body: post_body
10168
+ )
10169
+ end
10170
+ # rubocop:enable Metrics/BlockLength
10171
+ end
10172
+ # rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
10173
+ # rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
10174
+ # rubocop:enable Metrics/MethodLength, Layout/EmptyLines
10175
+
10176
+ # rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
10177
+ # rubocop:disable Style/IfUnlessModifier, Metrics/ParameterLists
10178
+ # rubocop:disable Metrics/MethodLength, Layout/EmptyLines
10179
+
10180
+
10181
+ # Creates a new version of an existing [Vault service](https://docs.cloud.oracle.com/iaas/Content/KeyManagement/Concepts/keyoverview.htm) key.
10182
+ # @param [String] database_id The database [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm).
10183
+ # @param [Hash] opts the optional parameters
10184
+ # @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
10185
+ # retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
10186
+ # @option opts [String] :if_match For optimistic concurrency control. In the PUT or DELETE call for a resource, set the `if-match`
10187
+ # parameter to the value of the etag from a previous GET or POST response for that resource. The resource
10188
+ # will be updated or deleted only if the etag you provide matches the resource's current etag value.
10189
+ #
10190
+ # @option opts [String] :opc_retry_token A token that uniquely identifies a request so it can be retried in case of a timeout or
10191
+ # server error without risk of executing that same action again. Retry tokens expire after 24
10192
+ # hours, but can be invalidated before then due to conflicting operations (for example, if a resource
10193
+ # has been deleted and purged from the system, then a retry of the original creation request
10194
+ # may be rejected).
10195
+ #
10196
+ # @option opts [String] :opc_request_id Unique identifier for the request.
10197
+ #
10198
+ # @return [Response] A Response object with data of type {OCI::Database::Models::Database Database}
10199
+ # @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/database/rotate_vault_key.rb.html) to see an example of how to use rotate_vault_key API.
10200
+ def rotate_vault_key(database_id, opts = {})
10201
+ logger.debug 'Calling operation DatabaseClient#rotate_vault_key.' if logger
10202
+
10203
+ raise "Missing the required parameter 'database_id' when calling rotate_vault_key." if database_id.nil?
10204
+ raise "Parameter value for 'database_id' must not be blank" if OCI::Internal::Util.blank_string?(database_id)
10205
+
10206
+ path = '/databases/{databaseId}/actions/rotateKey'.sub('{databaseId}', database_id.to_s)
10207
+ operation_signing_strategy = :standard
10208
+
10209
+ # rubocop:disable Style/NegatedIf
10210
+ # Query Params
10211
+ query_params = {}
10212
+
10213
+ # Header Params
10214
+ header_params = {}
10215
+ header_params[:accept] = 'application/json'
10216
+ header_params[:'content-type'] = 'application/json'
10217
+ header_params[:'if-match'] = opts[:if_match] if opts[:if_match]
10218
+ header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token]
10219
+ header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
10220
+ # rubocop:enable Style/NegatedIf
10221
+ header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token
10222
+
10223
+ post_body = nil
10224
+
10225
+ # rubocop:disable Metrics/BlockLength
10226
+ OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'DatabaseClient#rotate_vault_key') do
10443
10227
  @api_client.call_api(
10444
10228
  :POST,
10445
10229
  path,
@@ -10448,7 +10232,7 @@ module OCI
10448
10232
  query_params: query_params,
10449
10233
  operation_signing_strategy: operation_signing_strategy,
10450
10234
  body: post_body,
10451
- return_type: 'OCI::Database::Models::AutonomousDatabase'
10235
+ return_type: 'OCI::Database::Models::Database'
10452
10236
  )
10453
10237
  end
10454
10238
  # rubocop:enable Metrics/BlockLength
@@ -10462,9 +10246,9 @@ module OCI
10462
10246
  # rubocop:disable Metrics/MethodLength, Layout/EmptyLines
10463
10247
 
10464
10248
 
10465
- # **Deprecated.** To stop an Autonomous Data Warehouse, use the {#stop_autonomous_database stop_autonomous_database} operation.
10249
+ # Starts the specified Autonomous Database.
10466
10250
  #
10467
- # @param [String] autonomous_data_warehouse_id The database [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm).
10251
+ # @param [String] autonomous_database_id The database [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm).
10468
10252
  # @param [Hash] opts the optional parameters
10469
10253
  # @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
10470
10254
  # retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
@@ -10472,14 +10256,15 @@ module OCI
10472
10256
  # parameter to the value of the etag from a previous GET or POST response for that resource. The resource
10473
10257
  # will be updated or deleted only if the etag you provide matches the resource's current etag value.
10474
10258
  #
10475
- # @return [Response] A Response object with data of type {OCI::Database::Models::AutonomousDataWarehouse AutonomousDataWarehouse}
10476
- def stop_autonomous_data_warehouse(autonomous_data_warehouse_id, opts = {})
10477
- logger.debug 'Calling operation DatabaseClient#stop_autonomous_data_warehouse.' if logger
10259
+ # @return [Response] A Response object with data of type {OCI::Database::Models::AutonomousDatabase AutonomousDatabase}
10260
+ # @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/database/start_autonomous_database.rb.html) to see an example of how to use start_autonomous_database API.
10261
+ def start_autonomous_database(autonomous_database_id, opts = {})
10262
+ logger.debug 'Calling operation DatabaseClient#start_autonomous_database.' if logger
10478
10263
 
10479
- raise "Missing the required parameter 'autonomous_data_warehouse_id' when calling stop_autonomous_data_warehouse." if autonomous_data_warehouse_id.nil?
10480
- raise "Parameter value for 'autonomous_data_warehouse_id' must not be blank" if OCI::Internal::Util.blank_string?(autonomous_data_warehouse_id)
10264
+ raise "Missing the required parameter 'autonomous_database_id' when calling start_autonomous_database." if autonomous_database_id.nil?
10265
+ raise "Parameter value for 'autonomous_database_id' must not be blank" if OCI::Internal::Util.blank_string?(autonomous_database_id)
10481
10266
 
10482
- path = '/autonomousDataWarehouses/{autonomousDataWarehouseId}/actions/stop'.sub('{autonomousDataWarehouseId}', autonomous_data_warehouse_id.to_s)
10267
+ path = '/autonomousDatabases/{autonomousDatabaseId}/actions/start'.sub('{autonomousDatabaseId}', autonomous_database_id.to_s)
10483
10268
  operation_signing_strategy = :standard
10484
10269
 
10485
10270
  # rubocop:disable Style/NegatedIf
@@ -10496,7 +10281,7 @@ module OCI
10496
10281
  post_body = nil
10497
10282
 
10498
10283
  # rubocop:disable Metrics/BlockLength
10499
- OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'DatabaseClient#stop_autonomous_data_warehouse') do
10284
+ OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'DatabaseClient#start_autonomous_database') do
10500
10285
  @api_client.call_api(
10501
10286
  :POST,
10502
10287
  path,
@@ -10505,7 +10290,7 @@ module OCI
10505
10290
  query_params: query_params,
10506
10291
  operation_signing_strategy: operation_signing_strategy,
10507
10292
  body: post_body,
10508
- return_type: 'OCI::Database::Models::AutonomousDataWarehouse'
10293
+ return_type: 'OCI::Database::Models::AutonomousDatabase'
10509
10294
  )
10510
10295
  end
10511
10296
  # rubocop:enable Metrics/BlockLength
@@ -10532,6 +10317,7 @@ module OCI
10532
10317
  # @option opts [String] :opc_request_id Unique identifier for the request.
10533
10318
  #
10534
10319
  # @return [Response] A Response object with data of type {OCI::Database::Models::AutonomousDatabase AutonomousDatabase}
10320
+ # @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/database/stop_autonomous_database.rb.html) to see an example of how to use stop_autonomous_database API.
10535
10321
  def stop_autonomous_database(autonomous_database_id, opts = {})
10536
10322
  logger.debug 'Calling operation DatabaseClient#stop_autonomous_database.' if logger
10537
10323
 
@@ -10579,7 +10365,7 @@ module OCI
10579
10365
  # rubocop:disable Metrics/MethodLength, Layout/EmptyLines
10580
10366
 
10581
10367
 
10582
- # Switches over the primary Autonomous Container Database of an Autonomous Data Guard peer association into a standby role. The standby Autonomous Container Database associated with autonomousContainerDatabaseDataguardAssociationId assumes the primary Autonomous Container Database role.
10368
+ # Switches over the primary Autonomous Container Database of an Autonomous Data Guard peer association to standby role. The standby Autonomous Container Database associated with autonomousContainerDatabaseDataguardAssociationId assumes the primary Autonomous Container Database role.
10583
10369
  #
10584
10370
  # A switchover incurs no data loss.
10585
10371
  #
@@ -10593,6 +10379,7 @@ module OCI
10593
10379
  # will be updated or deleted only if the etag you provide matches the resource's current etag value.
10594
10380
  #
10595
10381
  # @return [Response] A Response object with data of type {OCI::Database::Models::AutonomousContainerDatabaseDataguardAssociation AutonomousContainerDatabaseDataguardAssociation}
10382
+ # @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/database/switchover_autonomous_container_database_dataguard_association.rb.html) to see an example of how to use switchover_autonomous_container_database_dataguard_association API.
10596
10383
  def switchover_autonomous_container_database_dataguard_association(autonomous_container_database_id, autonomous_container_database_dataguard_association_id, opts = {})
10597
10384
  logger.debug 'Calling operation DatabaseClient#switchover_autonomous_container_database_dataguard_association.' if logger
10598
10385
 
@@ -10660,6 +10447,7 @@ module OCI
10660
10447
  # @option opts [String] :opc_request_id Unique identifier for the request.
10661
10448
  #
10662
10449
  # @return [Response] A Response object with data of type {OCI::Database::Models::AutonomousDatabase AutonomousDatabase}
10450
+ # @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/database/switchover_autonomous_database.rb.html) to see an example of how to use switchover_autonomous_database API.
10663
10451
  def switchover_autonomous_database(autonomous_database_id, opts = {})
10664
10452
  logger.debug 'Calling operation DatabaseClient#switchover_autonomous_database.' if logger
10665
10453
 
@@ -10725,6 +10513,7 @@ module OCI
10725
10513
  # will be updated or deleted only if the etag you provide matches the resource's current etag value.
10726
10514
  #
10727
10515
  # @return [Response] A Response object with data of type {OCI::Database::Models::DataGuardAssociation DataGuardAssociation}
10516
+ # @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/database/switchover_data_guard_association.rb.html) to see an example of how to use switchover_data_guard_association API.
10728
10517
  def switchover_data_guard_association(database_id, data_guard_association_id, switchover_data_guard_association_details, opts = {})
10729
10518
  logger.debug 'Calling operation DatabaseClient#switchover_data_guard_association.' if logger
10730
10519
 
@@ -10784,6 +10573,7 @@ module OCI
10784
10573
  # will be updated or deleted only if the etag you provide matches the resource's current etag value.
10785
10574
  #
10786
10575
  # @return [Response] A Response object with data of type nil
10576
+ # @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/database/terminate_autonomous_container_database.rb.html) to see an example of how to use terminate_autonomous_container_database API.
10787
10577
  def terminate_autonomous_container_database(autonomous_container_database_id, opts = {})
10788
10578
  logger.debug 'Calling operation DatabaseClient#terminate_autonomous_container_database.' if logger
10789
10579
 
@@ -10839,6 +10629,7 @@ module OCI
10839
10629
  # will be updated or deleted only if the etag you provide matches the resource's current etag value.
10840
10630
  #
10841
10631
  # @return [Response] A Response object with data of type nil
10632
+ # @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/database/terminate_autonomous_exadata_infrastructure.rb.html) to see an example of how to use terminate_autonomous_exadata_infrastructure API.
10842
10633
  def terminate_autonomous_exadata_infrastructure(autonomous_exadata_infrastructure_id, opts = {})
10843
10634
  logger.debug 'Calling operation DatabaseClient#terminate_autonomous_exadata_infrastructure.' if logger
10844
10635
 
@@ -10894,6 +10685,7 @@ module OCI
10894
10685
  # will be updated or deleted only if the etag you provide matches the resource's current etag value.
10895
10686
  #
10896
10687
  # @return [Response] A Response object with data of type nil
10688
+ # @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/database/terminate_db_system.rb.html) to see an example of how to use terminate_db_system API.
10897
10689
  def terminate_db_system(db_system_id, opts = {})
10898
10690
  logger.debug 'Calling operation DatabaseClient#terminate_db_system.' if logger
10899
10691
 
@@ -10950,6 +10742,7 @@ module OCI
10950
10742
  # will be updated or deleted only if the etag you provide matches the resource's current etag value.
10951
10743
  #
10952
10744
  # @return [Response] A Response object with data of type {OCI::Database::Models::AutonomousContainerDatabase AutonomousContainerDatabase}
10745
+ # @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/database/update_autonomous_container_database.rb.html) to see an example of how to use update_autonomous_container_database API.
10953
10746
  def update_autonomous_container_database(autonomous_container_database_id, update_autonomous_container_database_details, opts = {})
10954
10747
  logger.debug 'Calling operation DatabaseClient#update_autonomous_container_database.' if logger
10955
10748
 
@@ -10997,65 +10790,6 @@ module OCI
10997
10790
  # rubocop:disable Metrics/MethodLength, Layout/EmptyLines
10998
10791
 
10999
10792
 
11000
- # **Deprecated.** To update the CPU core count and storage size of an Autonomous Data Warehouse, use the {#update_autonomous_database update_autonomous_database} operation.
11001
- #
11002
- # @param [String] autonomous_data_warehouse_id The database [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm).
11003
- # @param [OCI::Database::Models::UpdateAutonomousDataWarehouseDetails] update_autonomous_data_warehouse_details Request to update the properties of an Autonomous Data Warehouse.
11004
- # @param [Hash] opts the optional parameters
11005
- # @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
11006
- # retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
11007
- # @option opts [String] :if_match For optimistic concurrency control. In the PUT or DELETE call for a resource, set the `if-match`
11008
- # parameter to the value of the etag from a previous GET or POST response for that resource. The resource
11009
- # will be updated or deleted only if the etag you provide matches the resource's current etag value.
11010
- #
11011
- # @return [Response] A Response object with data of type {OCI::Database::Models::AutonomousDataWarehouse AutonomousDataWarehouse}
11012
- def update_autonomous_data_warehouse(autonomous_data_warehouse_id, update_autonomous_data_warehouse_details, opts = {})
11013
- logger.debug 'Calling operation DatabaseClient#update_autonomous_data_warehouse.' if logger
11014
-
11015
- raise "Missing the required parameter 'autonomous_data_warehouse_id' when calling update_autonomous_data_warehouse." if autonomous_data_warehouse_id.nil?
11016
- raise "Missing the required parameter 'update_autonomous_data_warehouse_details' when calling update_autonomous_data_warehouse." if update_autonomous_data_warehouse_details.nil?
11017
- raise "Parameter value for 'autonomous_data_warehouse_id' must not be blank" if OCI::Internal::Util.blank_string?(autonomous_data_warehouse_id)
11018
-
11019
- path = '/autonomousDataWarehouses/{autonomousDataWarehouseId}'.sub('{autonomousDataWarehouseId}', autonomous_data_warehouse_id.to_s)
11020
- operation_signing_strategy = :standard
11021
-
11022
- # rubocop:disable Style/NegatedIf
11023
- # Query Params
11024
- query_params = {}
11025
-
11026
- # Header Params
11027
- header_params = {}
11028
- header_params[:accept] = 'application/json'
11029
- header_params[:'content-type'] = 'application/json'
11030
- header_params[:'if-match'] = opts[:if_match] if opts[:if_match]
11031
- # rubocop:enable Style/NegatedIf
11032
-
11033
- post_body = @api_client.object_to_http_body(update_autonomous_data_warehouse_details)
11034
-
11035
- # rubocop:disable Metrics/BlockLength
11036
- OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'DatabaseClient#update_autonomous_data_warehouse') do
11037
- @api_client.call_api(
11038
- :PUT,
11039
- path,
11040
- endpoint,
11041
- header_params: header_params,
11042
- query_params: query_params,
11043
- operation_signing_strategy: operation_signing_strategy,
11044
- body: post_body,
11045
- return_type: 'OCI::Database::Models::AutonomousDataWarehouse'
11046
- )
11047
- end
11048
- # rubocop:enable Metrics/BlockLength
11049
- end
11050
- # rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
11051
- # rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
11052
- # rubocop:enable Metrics/MethodLength, Layout/EmptyLines
11053
-
11054
- # rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
11055
- # rubocop:disable Style/IfUnlessModifier, Metrics/ParameterLists
11056
- # rubocop:disable Metrics/MethodLength, Layout/EmptyLines
11057
-
11058
-
11059
10793
  # Updates one or more attributes of the specified Autonomous Database. See the UpdateAutonomousDatabaseDetails resource for a full list of attributes that can be updated.
11060
10794
  #
11061
10795
  # @param [String] autonomous_database_id The database [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm).
@@ -11070,6 +10804,7 @@ module OCI
11070
10804
  # @option opts [String] :opc_request_id Unique identifier for the request.
11071
10805
  #
11072
10806
  # @return [Response] A Response object with data of type {OCI::Database::Models::AutonomousDatabase AutonomousDatabase}
10807
+ # @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/database/update_autonomous_database.rb.html) to see an example of how to use update_autonomous_database API.
11073
10808
  def update_autonomous_database(autonomous_database_id, update_autonomous_database_details, opts = {})
11074
10809
  logger.debug 'Calling operation DatabaseClient#update_autonomous_database.' if logger
11075
10810
 
@@ -11127,6 +10862,7 @@ module OCI
11127
10862
  # @option opts [String] :opc_request_id Unique identifier for the request.
11128
10863
  #
11129
10864
  # @return [Response] A Response object with data of type nil
10865
+ # @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/database/update_autonomous_database_regional_wallet.rb.html) to see an example of how to use update_autonomous_database_regional_wallet API.
11130
10866
  def update_autonomous_database_regional_wallet(update_autonomous_database_wallet_details, opts = {})
11131
10867
  logger.debug 'Calling operation DatabaseClient#update_autonomous_database_regional_wallet.' if logger
11132
10868
 
@@ -11181,6 +10917,7 @@ module OCI
11181
10917
  # @option opts [String] :opc_request_id Unique identifier for the request.
11182
10918
  #
11183
10919
  # @return [Response] A Response object with data of type nil
10920
+ # @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/database/update_autonomous_database_wallet.rb.html) to see an example of how to use update_autonomous_database_wallet API.
11184
10921
  def update_autonomous_database_wallet(autonomous_database_id, update_autonomous_database_wallet_details, opts = {})
11185
10922
  logger.debug 'Calling operation DatabaseClient#update_autonomous_database_wallet.' if logger
11186
10923
 
@@ -11238,6 +10975,7 @@ module OCI
11238
10975
  # will be updated or deleted only if the etag you provide matches the resource's current etag value.
11239
10976
  #
11240
10977
  # @return [Response] A Response object with data of type {OCI::Database::Models::AutonomousExadataInfrastructure AutonomousExadataInfrastructure}
10978
+ # @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/database/update_autonomous_exadata_infrastructure.rb.html) to see an example of how to use update_autonomous_exadata_infrastructure API.
11241
10979
  def update_autonomous_exadata_infrastructure(autonomous_exadata_infrastructure_id, update_autonomous_exadata_infrastructures_details, opts = {})
11242
10980
  logger.debug 'Calling operation DatabaseClient#update_autonomous_exadata_infrastructure.' if logger
11243
10981
 
@@ -11299,6 +11037,7 @@ module OCI
11299
11037
  # @option opts [String] :opc_request_id Unique identifier for the request.
11300
11038
  #
11301
11039
  # @return [Response] A Response object with data of type {OCI::Database::Models::AutonomousVmCluster AutonomousVmCluster}
11040
+ # @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/database/update_autonomous_vm_cluster.rb.html) to see an example of how to use update_autonomous_vm_cluster API.
11302
11041
  def update_autonomous_vm_cluster(autonomous_vm_cluster_id, update_autonomous_vm_cluster_details, opts = {})
11303
11042
  logger.debug 'Calling operation DatabaseClient#update_autonomous_vm_cluster.' if logger
11304
11043
 
@@ -11365,6 +11104,7 @@ module OCI
11365
11104
  # @option opts [String] :opc_request_id Unique identifier for the request.
11366
11105
  #
11367
11106
  # @return [Response] A Response object with data of type {OCI::Database::Models::BackupDestination BackupDestination}
11107
+ # @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/database/update_backup_destination.rb.html) to see an example of how to use update_backup_destination API.
11368
11108
  def update_backup_destination(backup_destination_id, update_backup_destination_details, opts = {})
11369
11109
  logger.debug 'Calling operation DatabaseClient#update_backup_destination.' if logger
11370
11110
 
@@ -11413,7 +11153,7 @@ module OCI
11413
11153
  # rubocop:disable Metrics/MethodLength, Layout/EmptyLines
11414
11154
 
11415
11155
 
11416
- # Updates the Cloud Exadata infrastructure resource.
11156
+ # Updates the Cloud Exadata infrastructure resource. Applies to Exadata Cloud Service instances only.
11417
11157
  #
11418
11158
  # @param [String] cloud_exadata_infrastructure_id The cloud Exadata infrastructure [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm).
11419
11159
  # @param [OCI::Database::Models::UpdateCloudExadataInfrastructureDetails] update_cloud_exadata_infrastructure_details Request to update the properties of an cloud Exadata infrastructure resource.
@@ -11427,6 +11167,7 @@ module OCI
11427
11167
  # @option opts [String] :opc_request_id Unique identifier for the request.
11428
11168
  #
11429
11169
  # @return [Response] A Response object with data of type {OCI::Database::Models::CloudExadataInfrastructure CloudExadataInfrastructure}
11170
+ # @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/database/update_cloud_exadata_infrastructure.rb.html) to see an example of how to use update_cloud_exadata_infrastructure API.
11430
11171
  def update_cloud_exadata_infrastructure(cloud_exadata_infrastructure_id, update_cloud_exadata_infrastructure_details, opts = {})
11431
11172
  logger.debug 'Calling operation DatabaseClient#update_cloud_exadata_infrastructure.' if logger
11432
11173
 
@@ -11475,7 +11216,7 @@ module OCI
11475
11216
  # rubocop:disable Metrics/MethodLength, Layout/EmptyLines
11476
11217
 
11477
11218
 
11478
- # Updates the specified cloud VM cluster.
11219
+ # Updates the specified cloud VM cluster. Applies to Exadata Cloud Service instances only.
11479
11220
  #
11480
11221
  # @param [String] cloud_vm_cluster_id The cloud VM cluster [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm).
11481
11222
  # @param [OCI::Database::Models::UpdateCloudVmClusterDetails] update_cloud_vm_cluster_details Request to update the attributes of a cloud VM cluster.
@@ -11489,6 +11230,7 @@ module OCI
11489
11230
  # @option opts [String] :opc_request_id Unique identifier for the request.
11490
11231
  #
11491
11232
  # @return [Response] A Response object with data of type {OCI::Database::Models::CloudVmCluster CloudVmCluster}
11233
+ # @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/database/update_cloud_vm_cluster.rb.html) to see an example of how to use update_cloud_vm_cluster API.
11492
11234
  def update_cloud_vm_cluster(cloud_vm_cluster_id, update_cloud_vm_cluster_details, opts = {})
11493
11235
  logger.debug 'Calling operation DatabaseClient#update_cloud_vm_cluster.' if logger
11494
11236
 
@@ -11537,7 +11279,7 @@ module OCI
11537
11279
  # rubocop:disable Metrics/MethodLength, Layout/EmptyLines
11538
11280
 
11539
11281
 
11540
- # Updates the IORM settings for the specified cloud VM cluster.
11282
+ # Updates the IORM settings for the specified cloud VM cluster in an Exadata Cloud Service instance.
11541
11283
  #
11542
11284
  # @param [String] cloud_vm_cluster_id The cloud VM cluster [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm).
11543
11285
  # @param [OCI::Database::Models::ExadataIormConfigUpdateDetails] cloud_vm_cluster_iorm_config_update_details Request to perform database update.
@@ -11551,6 +11293,7 @@ module OCI
11551
11293
  # will be updated or deleted only if the etag you provide matches the resource's current etag value.
11552
11294
  #
11553
11295
  # @return [Response] A Response object with data of type {OCI::Database::Models::ExadataIormConfig ExadataIormConfig}
11296
+ # @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/database/update_cloud_vm_cluster_iorm_config.rb.html) to see an example of how to use update_cloud_vm_cluster_iorm_config API.
11554
11297
  def update_cloud_vm_cluster_iorm_config(cloud_vm_cluster_id, cloud_vm_cluster_iorm_config_update_details, opts = {})
11555
11298
  logger.debug 'Calling operation DatabaseClient#update_cloud_vm_cluster_iorm_config.' if logger
11556
11299
 
@@ -11611,6 +11354,7 @@ module OCI
11611
11354
  # will be updated or deleted only if the etag you provide matches the resource's current etag value.
11612
11355
  #
11613
11356
  # @return [Response] A Response object with data of type {OCI::Database::Models::Database Database}
11357
+ # @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/database/update_database.rb.html) to see an example of how to use update_database API.
11614
11358
  def update_database(database_id, update_database_details, opts = {})
11615
11359
  logger.debug 'Calling operation DatabaseClient#update_database.' if logger
11616
11360
 
@@ -11669,6 +11413,7 @@ module OCI
11669
11413
  # will be updated or deleted only if the etag you provide matches the resource's current etag value.
11670
11414
  #
11671
11415
  # @return [Response] A Response object with data of type {OCI::Database::Models::DatabaseSoftwareImage DatabaseSoftwareImage}
11416
+ # @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/database/update_database_software_image.rb.html) to see an example of how to use update_database_software_image API.
11672
11417
  def update_database_software_image(database_software_image_id, update_database_software_image_details, opts = {})
11673
11418
  logger.debug 'Calling operation DatabaseClient#update_database_software_image.' if logger
11674
11419
 
@@ -11727,6 +11472,7 @@ module OCI
11727
11472
  # will be updated or deleted only if the etag you provide matches the resource's current etag value.
11728
11473
  #
11729
11474
  # @return [Response] A Response object with data of type {OCI::Database::Models::DbHome DbHome}
11475
+ # @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/database/update_db_home.rb.html) to see an example of how to use update_db_home API.
11730
11476
  def update_db_home(db_home_id, update_db_home_details, opts = {})
11731
11477
  logger.debug 'Calling operation DatabaseClient#update_db_home.' if logger
11732
11478
 
@@ -11785,6 +11531,7 @@ module OCI
11785
11531
  # will be updated or deleted only if the etag you provide matches the resource's current etag value.
11786
11532
  #
11787
11533
  # @return [Response] A Response object with data of type {OCI::Database::Models::DbSystem DbSystem}
11534
+ # @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/database/update_db_system.rb.html) to see an example of how to use update_db_system API.
11788
11535
  def update_db_system(db_system_id, update_db_system_details, opts = {})
11789
11536
  logger.debug 'Calling operation DatabaseClient#update_db_system.' if logger
11790
11537
 
@@ -11832,7 +11579,8 @@ module OCI
11832
11579
  # rubocop:disable Metrics/MethodLength, Layout/EmptyLines
11833
11580
 
11834
11581
 
11835
- # Updates the Exadata Cloud@Customer infrastructure.
11582
+ # Updates the Exadata infrastructure resource. Applies to Exadata Cloud@Customer instances only.
11583
+ # To update an Exadata Cloud Service infrastructure resource, use the {#update_cloud_exadata_infrastructure update_cloud_exadata_infrastructure} operation.
11836
11584
  #
11837
11585
  # @param [String] exadata_infrastructure_id The Exadata infrastructure [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm).
11838
11586
  # @param [OCI::Database::Models::UpdateExadataInfrastructureDetails] update_exadata_infrastructure_details Request to update the properties of an Exadata Cloud@Customer infrastructure.
@@ -11846,6 +11594,7 @@ module OCI
11846
11594
  # @option opts [String] :opc_request_id Unique identifier for the request.
11847
11595
  #
11848
11596
  # @return [Response] A Response object with data of type {OCI::Database::Models::ExadataInfrastructure ExadataInfrastructure}
11597
+ # @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/database/update_exadata_infrastructure.rb.html) to see an example of how to use update_exadata_infrastructure API.
11849
11598
  def update_exadata_infrastructure(exadata_infrastructure_id, update_exadata_infrastructure_details, opts = {})
11850
11599
  logger.debug 'Calling operation DatabaseClient#update_exadata_infrastructure.' if logger
11851
11600
 
@@ -11908,6 +11657,7 @@ module OCI
11908
11657
  # will be updated or deleted only if the etag you provide matches the resource's current etag value.
11909
11658
  #
11910
11659
  # @return [Response] A Response object with data of type {OCI::Database::Models::ExadataIormConfig ExadataIormConfig}
11660
+ # @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/database/update_exadata_iorm_config.rb.html) to see an example of how to use update_exadata_iorm_config API.
11911
11661
  def update_exadata_iorm_config(db_system_id, exadata_iorm_config_update_details, opts = {})
11912
11662
  logger.debug 'Calling operation DatabaseClient#update_exadata_iorm_config.' if logger
11913
11663
 
@@ -11971,6 +11721,7 @@ module OCI
11971
11721
  # @option opts [String] :opc_request_id Unique identifier for the request.
11972
11722
  #
11973
11723
  # @return [Response] A Response object with data of type {OCI::Database::Models::KeyStore KeyStore}
11724
+ # @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/database/update_key_store.rb.html) to see an example of how to use update_key_store API.
11974
11725
  def update_key_store(key_store_id, update_key_store_details, opts = {})
11975
11726
  logger.debug 'Calling operation DatabaseClient#update_key_store.' if logger
11976
11727
 
@@ -12030,6 +11781,7 @@ module OCI
12030
11781
  # will be updated or deleted only if the etag you provide matches the resource's current etag value.
12031
11782
  #
12032
11783
  # @return [Response] A Response object with data of type {OCI::Database::Models::MaintenanceRun MaintenanceRun}
11784
+ # @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/database/update_maintenance_run.rb.html) to see an example of how to use update_maintenance_run API.
12033
11785
  def update_maintenance_run(maintenance_run_id, update_maintenance_run_details, opts = {})
12034
11786
  logger.debug 'Calling operation DatabaseClient#update_maintenance_run.' if logger
12035
11787
 
@@ -12077,7 +11829,7 @@ module OCI
12077
11829
  # rubocop:disable Metrics/MethodLength, Layout/EmptyLines
12078
11830
 
12079
11831
 
12080
- # Updates the specified Exadata Cloud@Customer VM cluster.
11832
+ # Updates the specified VM cluster. Applies to Exadata Cloud@Customer instances only.
12081
11833
  #
12082
11834
  # @param [String] vm_cluster_id The VM cluster [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm).
12083
11835
  # @param [OCI::Database::Models::UpdateVmClusterDetails] update_vm_cluster_details Request to update the attributes of a VM cluster.
@@ -12091,6 +11843,7 @@ module OCI
12091
11843
  # @option opts [String] :opc_request_id Unique identifier for the request.
12092
11844
  #
12093
11845
  # @return [Response] A Response object with data of type {OCI::Database::Models::VmCluster VmCluster}
11846
+ # @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/database/update_vm_cluster.rb.html) to see an example of how to use update_vm_cluster API.
12094
11847
  def update_vm_cluster(vm_cluster_id, update_vm_cluster_details, opts = {})
12095
11848
  logger.debug 'Calling operation DatabaseClient#update_vm_cluster.' if logger
12096
11849
 
@@ -12139,7 +11892,8 @@ module OCI
12139
11892
  # rubocop:disable Metrics/MethodLength, Layout/EmptyLines
12140
11893
 
12141
11894
 
12142
- # Updates the specified Exadata Cloud@Customer VM cluster network.
11895
+ # Updates the specified VM cluster network. Applies to Exadata Cloud@Customer instances only.
11896
+ # To update a cloud VM cluster in an Exadata Cloud Service instance, use the {#update_cloud_vm_cluster update_cloud_vm_cluster} operation.
12143
11897
  #
12144
11898
  # @param [String] exadata_infrastructure_id The Exadata infrastructure [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm).
12145
11899
  # @param [String] vm_cluster_network_id The VM cluster network [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm).
@@ -12154,6 +11908,7 @@ module OCI
12154
11908
  # @option opts [String] :opc_request_id Unique identifier for the request.
12155
11909
  #
12156
11910
  # @return [Response] A Response object with data of type {OCI::Database::Models::VmClusterNetwork VmClusterNetwork}
11911
+ # @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/database/update_vm_cluster_network.rb.html) to see an example of how to use update_vm_cluster_network API.
12157
11912
  def update_vm_cluster_network(exadata_infrastructure_id, vm_cluster_network_id, update_vm_cluster_network_details, opts = {})
12158
11913
  logger.debug 'Calling operation DatabaseClient#update_vm_cluster_network.' if logger
12159
11914
 
@@ -12218,6 +11973,7 @@ module OCI
12218
11973
  # @option opts [String] :opc_request_id Unique identifier for the request.
12219
11974
  #
12220
11975
  # @return [Response] A Response object with data of type {OCI::Database::Models::Database Database}
11976
+ # @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/database/upgrade_database.rb.html) to see an example of how to use upgrade_database API.
12221
11977
  def upgrade_database(database_id, upgrade_database_details, opts = {})
12222
11978
  logger.debug 'Calling operation DatabaseClient#upgrade_database.' if logger
12223
11979
 
@@ -12266,7 +12022,7 @@ module OCI
12266
12022
  # rubocop:disable Metrics/MethodLength, Layout/EmptyLines
12267
12023
 
12268
12024
 
12269
- # Validates the specified Exadata Cloud@Customer VM cluster network.
12025
+ # Validates the specified VM cluster network. Applies to Exadata Cloud@Customer instances only.
12270
12026
  #
12271
12027
  # @param [String] exadata_infrastructure_id The Exadata infrastructure [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm).
12272
12028
  # @param [String] vm_cluster_network_id The VM cluster network [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm).
@@ -12282,6 +12038,7 @@ module OCI
12282
12038
  # may be rejected).
12283
12039
  #
12284
12040
  # @return [Response] A Response object with data of type {OCI::Database::Models::VmClusterNetwork VmClusterNetwork}
12041
+ # @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/database/validate_vm_cluster_network.rb.html) to see an example of how to use validate_vm_cluster_network API.
12285
12042
  def validate_vm_cluster_network(exadata_infrastructure_id, vm_cluster_network_id, opts = {})
12286
12043
  logger.debug 'Calling operation DatabaseClient#validate_vm_cluster_network.' if logger
12287
12044