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
@@ -12,14 +12,22 @@ end
12
12
 
13
13
  # Require models
14
14
  require 'oci/data_safe/models/change_data_safe_private_endpoint_compartment_details'
15
+ require 'oci/data_safe/models/change_on_prem_connector_compartment_details'
15
16
  require 'oci/data_safe/models/create_data_safe_private_endpoint_details'
17
+ require 'oci/data_safe/models/create_on_prem_connector_details'
16
18
  require 'oci/data_safe/models/data_safe_configuration'
17
19
  require 'oci/data_safe/models/data_safe_private_endpoint'
18
20
  require 'oci/data_safe/models/data_safe_private_endpoint_summary'
19
21
  require 'oci/data_safe/models/enable_data_safe_configuration_details'
22
+ require 'oci/data_safe/models/generate_on_prem_connector_configuration_details'
20
23
  require 'oci/data_safe/models/lifecycle_state'
24
+ require 'oci/data_safe/models/on_prem_connector'
25
+ require 'oci/data_safe/models/on_prem_connector_lifecycle_state'
26
+ require 'oci/data_safe/models/on_prem_connector_summary'
21
27
  require 'oci/data_safe/models/service_list'
22
28
  require 'oci/data_safe/models/update_data_safe_private_endpoint_details'
29
+ require 'oci/data_safe/models/update_on_prem_connector_details'
30
+ require 'oci/data_safe/models/update_on_prem_connector_wallet_details'
23
31
  require 'oci/data_safe/models/work_request'
24
32
  require 'oci/data_safe/models/work_request_error'
25
33
  require 'oci/data_safe/models/work_request_log_entry'
@@ -112,6 +112,7 @@ module OCI
112
112
  # provide matches the resource's current etag value.
113
113
  #
114
114
  # @return [Response] A Response object with data of type nil
115
+ # @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/datasafe/change_data_safe_private_endpoint_compartment.rb.html) to see an example of how to use change_data_safe_private_endpoint_compartment API.
115
116
  def change_data_safe_private_endpoint_compartment(data_safe_private_endpoint_id, change_data_safe_private_endpoint_compartment_details, opts = {})
116
117
  logger.debug 'Calling operation DataSafeClient#change_data_safe_private_endpoint_compartment.' if logger
117
118
 
@@ -159,6 +160,75 @@ module OCI
159
160
  # rubocop:disable Metrics/MethodLength, Layout/EmptyLines
160
161
 
161
162
 
163
+ # Moves the specified on-premises connector into a different compartment.
164
+ # @param [String] on_prem_connector_id The OCID of the on-premises connector.
165
+ # @param [OCI::DataSafe::Models::ChangeOnPremConnectorCompartmentDetails] change_on_prem_connector_compartment_details The details used to change the compartment of an on-premises connector.
166
+ # @param [Hash] opts the optional parameters
167
+ # @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
168
+ # retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
169
+ # @option opts [String] :opc_request_id Unique identifier for the request.
170
+ # @option opts [String] :if_match For optimistic concurrency control. In the PUT or DELETE call
171
+ # for a resource, set the if-match parameter to the value of the
172
+ # etag from a previous GET or POST response for that resource.
173
+ # The resource will be updated or deleted only if the etag you
174
+ # provide matches the resource's current etag value.
175
+ #
176
+ # @option opts [String] :opc_retry_token A token that uniquely identifies a request so it can be retried in case of a timeout or
177
+ # server error without risk of executing that same action again. Retry tokens expire after 24
178
+ # hours, but can be invalidated before then due to conflicting operations. For example, if a resource
179
+ # has been deleted and purged from the system, then a retry of the original creation request might be rejected.
180
+ #
181
+ # @return [Response] A Response object with data of type nil
182
+ # @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/datasafe/change_on_prem_connector_compartment.rb.html) to see an example of how to use change_on_prem_connector_compartment API.
183
+ def change_on_prem_connector_compartment(on_prem_connector_id, change_on_prem_connector_compartment_details, opts = {})
184
+ logger.debug 'Calling operation DataSafeClient#change_on_prem_connector_compartment.' if logger
185
+
186
+ raise "Missing the required parameter 'on_prem_connector_id' when calling change_on_prem_connector_compartment." if on_prem_connector_id.nil?
187
+ raise "Missing the required parameter 'change_on_prem_connector_compartment_details' when calling change_on_prem_connector_compartment." if change_on_prem_connector_compartment_details.nil?
188
+ raise "Parameter value for 'on_prem_connector_id' must not be blank" if OCI::Internal::Util.blank_string?(on_prem_connector_id)
189
+
190
+ path = '/onPremConnectors/{onPremConnectorId}/actions/changeCompartment'.sub('{onPremConnectorId}', on_prem_connector_id.to_s)
191
+ operation_signing_strategy = :standard
192
+
193
+ # rubocop:disable Style/NegatedIf
194
+ # Query Params
195
+ query_params = {}
196
+
197
+ # Header Params
198
+ header_params = {}
199
+ header_params[:accept] = 'application/json'
200
+ header_params[:'content-type'] = 'application/json'
201
+ header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
202
+ header_params[:'if-match'] = opts[:if_match] if opts[:if_match]
203
+ header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token]
204
+ # rubocop:enable Style/NegatedIf
205
+ header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token
206
+
207
+ post_body = @api_client.object_to_http_body(change_on_prem_connector_compartment_details)
208
+
209
+ # rubocop:disable Metrics/BlockLength
210
+ OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'DataSafeClient#change_on_prem_connector_compartment') do
211
+ @api_client.call_api(
212
+ :POST,
213
+ path,
214
+ endpoint,
215
+ header_params: header_params,
216
+ query_params: query_params,
217
+ operation_signing_strategy: operation_signing_strategy,
218
+ body: post_body
219
+ )
220
+ end
221
+ # rubocop:enable Metrics/BlockLength
222
+ end
223
+ # rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
224
+ # rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
225
+ # rubocop:enable Metrics/MethodLength, Layout/EmptyLines
226
+
227
+ # rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
228
+ # rubocop:disable Style/IfUnlessModifier, Metrics/ParameterLists
229
+ # rubocop:disable Metrics/MethodLength, Layout/EmptyLines
230
+
231
+
162
232
  # Creates a new Data Safe private endpoint.
163
233
  #
164
234
  # @param [OCI::DataSafe::Models::CreateDataSafePrivateEndpointDetails] create_data_safe_private_endpoint_details Details to create a new private endpoint.
@@ -171,7 +241,8 @@ module OCI
171
241
  # has been deleted and purged from the system, then a retry of the original creation request might be rejected.
172
242
  #
173
243
  # @option opts [String] :opc_request_id Unique identifier for the request.
174
- # @return [Response] A Response object with data of type nil
244
+ # @return [Response] A Response object with data of type {OCI::DataSafe::Models::DataSafePrivateEndpoint DataSafePrivateEndpoint}
245
+ # @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/datasafe/create_data_safe_private_endpoint.rb.html) to see an example of how to use create_data_safe_private_endpoint API.
175
246
  def create_data_safe_private_endpoint(create_data_safe_private_endpoint_details, opts = {})
176
247
  logger.debug 'Calling operation DataSafeClient#create_data_safe_private_endpoint.' if logger
177
248
 
@@ -204,7 +275,69 @@ module OCI
204
275
  header_params: header_params,
205
276
  query_params: query_params,
206
277
  operation_signing_strategy: operation_signing_strategy,
207
- body: post_body
278
+ body: post_body,
279
+ return_type: 'OCI::DataSafe::Models::DataSafePrivateEndpoint'
280
+ )
281
+ end
282
+ # rubocop:enable Metrics/BlockLength
283
+ end
284
+ # rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
285
+ # rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
286
+ # rubocop:enable Metrics/MethodLength, Layout/EmptyLines
287
+
288
+ # rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
289
+ # rubocop:disable Style/IfUnlessModifier, Metrics/ParameterLists
290
+ # rubocop:disable Metrics/MethodLength, Layout/EmptyLines
291
+
292
+
293
+ # Creates a new on-premises connector.
294
+ #
295
+ # @param [OCI::DataSafe::Models::CreateOnPremConnectorDetails] create_on_prem_connector_details The details used to create a new on-premises connector.
296
+ # @param [Hash] opts the optional parameters
297
+ # @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
298
+ # retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
299
+ # @option opts [String] :opc_retry_token A token that uniquely identifies a request so it can be retried in case of a timeout or
300
+ # server error without risk of executing that same action again. Retry tokens expire after 24
301
+ # hours, but can be invalidated before then due to conflicting operations. For example, if a resource
302
+ # has been deleted and purged from the system, then a retry of the original creation request might be rejected.
303
+ #
304
+ # @option opts [String] :opc_request_id Unique identifier for the request.
305
+ # @return [Response] A Response object with data of type {OCI::DataSafe::Models::OnPremConnector OnPremConnector}
306
+ # @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/datasafe/create_on_prem_connector.rb.html) to see an example of how to use create_on_prem_connector API.
307
+ def create_on_prem_connector(create_on_prem_connector_details, opts = {})
308
+ logger.debug 'Calling operation DataSafeClient#create_on_prem_connector.' if logger
309
+
310
+ raise "Missing the required parameter 'create_on_prem_connector_details' when calling create_on_prem_connector." if create_on_prem_connector_details.nil?
311
+
312
+ path = '/onPremConnectors'
313
+ operation_signing_strategy = :standard
314
+
315
+ # rubocop:disable Style/NegatedIf
316
+ # Query Params
317
+ query_params = {}
318
+
319
+ # Header Params
320
+ header_params = {}
321
+ header_params[:accept] = 'application/json'
322
+ header_params[:'content-type'] = 'application/json'
323
+ header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token]
324
+ header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
325
+ # rubocop:enable Style/NegatedIf
326
+ header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token
327
+
328
+ post_body = @api_client.object_to_http_body(create_on_prem_connector_details)
329
+
330
+ # rubocop:disable Metrics/BlockLength
331
+ OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'DataSafeClient#create_on_prem_connector') do
332
+ @api_client.call_api(
333
+ :POST,
334
+ path,
335
+ endpoint,
336
+ header_params: header_params,
337
+ query_params: query_params,
338
+ operation_signing_strategy: operation_signing_strategy,
339
+ body: post_body,
340
+ return_type: 'OCI::DataSafe::Models::OnPremConnector'
208
341
  )
209
342
  end
210
343
  # rubocop:enable Metrics/BlockLength
@@ -231,6 +364,7 @@ module OCI
231
364
  #
232
365
  # @option opts [String] :opc_request_id Unique identifier for the request.
233
366
  # @return [Response] A Response object with data of type nil
367
+ # @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/datasafe/delete_data_safe_private_endpoint.rb.html) to see an example of how to use delete_data_safe_private_endpoint API.
234
368
  def delete_data_safe_private_endpoint(data_safe_private_endpoint_id, opts = {})
235
369
  logger.debug 'Calling operation DataSafeClient#delete_data_safe_private_endpoint.' if logger
236
370
 
@@ -277,6 +411,66 @@ module OCI
277
411
  # rubocop:disable Metrics/MethodLength, Layout/EmptyLines
278
412
 
279
413
 
414
+ # Deletes the specified on-premises connector.
415
+ # @param [String] on_prem_connector_id The OCID of the on-premises connector.
416
+ # @param [Hash] opts the optional parameters
417
+ # @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
418
+ # retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
419
+ # @option opts [String] :if_match For optimistic concurrency control. In the PUT or DELETE call
420
+ # for a resource, set the if-match parameter to the value of the
421
+ # etag from a previous GET or POST response for that resource.
422
+ # The resource will be updated or deleted only if the etag you
423
+ # provide matches the resource's current etag value.
424
+ #
425
+ # @option opts [String] :opc_request_id Unique identifier for the request.
426
+ # @return [Response] A Response object with data of type nil
427
+ # @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/datasafe/delete_on_prem_connector.rb.html) to see an example of how to use delete_on_prem_connector API.
428
+ def delete_on_prem_connector(on_prem_connector_id, opts = {})
429
+ logger.debug 'Calling operation DataSafeClient#delete_on_prem_connector.' if logger
430
+
431
+ raise "Missing the required parameter 'on_prem_connector_id' when calling delete_on_prem_connector." if on_prem_connector_id.nil?
432
+ raise "Parameter value for 'on_prem_connector_id' must not be blank" if OCI::Internal::Util.blank_string?(on_prem_connector_id)
433
+
434
+ path = '/onPremConnectors/{onPremConnectorId}'.sub('{onPremConnectorId}', on_prem_connector_id.to_s)
435
+ operation_signing_strategy = :standard
436
+
437
+ # rubocop:disable Style/NegatedIf
438
+ # Query Params
439
+ query_params = {}
440
+
441
+ # Header Params
442
+ header_params = {}
443
+ header_params[:accept] = 'application/json'
444
+ header_params[:'content-type'] = 'application/json'
445
+ header_params[:'if-match'] = opts[:if_match] if opts[:if_match]
446
+ header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
447
+ # rubocop:enable Style/NegatedIf
448
+
449
+ post_body = nil
450
+
451
+ # rubocop:disable Metrics/BlockLength
452
+ OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'DataSafeClient#delete_on_prem_connector') do
453
+ @api_client.call_api(
454
+ :DELETE,
455
+ path,
456
+ endpoint,
457
+ header_params: header_params,
458
+ query_params: query_params,
459
+ operation_signing_strategy: operation_signing_strategy,
460
+ body: post_body
461
+ )
462
+ end
463
+ # rubocop:enable Metrics/BlockLength
464
+ end
465
+ # rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
466
+ # rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
467
+ # rubocop:enable Metrics/MethodLength, Layout/EmptyLines
468
+
469
+ # rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
470
+ # rubocop:disable Style/IfUnlessModifier, Metrics/ParameterLists
471
+ # rubocop:disable Metrics/MethodLength, Layout/EmptyLines
472
+
473
+
280
474
  # Enables Data Safe in the tenancy and region.
281
475
  #
282
476
  # @param [OCI::DataSafe::Models::EnableDataSafeConfigurationDetails] enable_data_safe_configuration_details The details used to enable Data Safe.
@@ -292,6 +486,7 @@ module OCI
292
486
  #
293
487
  # @option opts [String] :opc_request_id Unique identifier for the request.
294
488
  # @return [Response] A Response object with data of type nil
489
+ # @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/datasafe/enable_data_safe_configuration.rb.html) to see an example of how to use enable_data_safe_configuration API.
295
490
  def enable_data_safe_configuration(enable_data_safe_configuration_details, opts = {})
296
491
  logger.debug 'Calling operation DataSafeClient#enable_data_safe_configuration.' if logger
297
492
 
@@ -338,6 +533,123 @@ module OCI
338
533
  # rubocop:disable Metrics/MethodLength, Layout/EmptyLines
339
534
 
340
535
 
536
+ # Creates and downloads the configuration of the specified on-premises connector.
537
+ #
538
+ # @param [OCI::DataSafe::Models::GenerateOnPremConnectorConfigurationDetails] generate_on_prem_connector_configuration_details The details used to create and download on-premises connector's configuration.
539
+ # @param [String] on_prem_connector_id The OCID of the on-premises connector.
540
+ # @param [Hash] opts the optional parameters
541
+ # @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
542
+ # retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
543
+ # @option opts [String] :opc_retry_token A token that uniquely identifies a request so it can be retried in case of a timeout or
544
+ # server error without risk of executing that same action again. Retry tokens expire after 24
545
+ # hours, but can be invalidated before then due to conflicting operations. For example, if a resource
546
+ # has been deleted and purged from the system, then a retry of the original creation request might be rejected.
547
+ #
548
+ # @option opts [String] :opc_request_id Unique identifier for the request.
549
+ # @option opts [String] :if_match For optimistic concurrency control. In the PUT or DELETE call
550
+ # for a resource, set the if-match parameter to the value of the
551
+ # etag from a previous GET or POST response for that resource.
552
+ # The resource will be updated or deleted only if the etag you
553
+ # provide matches the resource's current etag value.
554
+ #
555
+ # @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
556
+ # @option [Block] &block Streaming http body to the block
557
+ # @return [Response] A Response object with data of type String if response_target and block are not given, otherwise with nil data
558
+ # @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/datasafe/generate_on_prem_connector_configuration.rb.html) to see an example of how to use generate_on_prem_connector_configuration API.
559
+ def generate_on_prem_connector_configuration(generate_on_prem_connector_configuration_details, on_prem_connector_id, opts = {}, &block)
560
+ logger.debug 'Calling operation DataSafeClient#generate_on_prem_connector_configuration.' if logger
561
+
562
+ raise "Missing the required parameter 'generate_on_prem_connector_configuration_details' when calling generate_on_prem_connector_configuration." if generate_on_prem_connector_configuration_details.nil?
563
+ raise "Missing the required parameter 'on_prem_connector_id' when calling generate_on_prem_connector_configuration." if on_prem_connector_id.nil?
564
+ raise "Parameter value for 'on_prem_connector_id' must not be blank" if OCI::Internal::Util.blank_string?(on_prem_connector_id)
565
+
566
+ path = '/onPremConnectors/{onPremConnectorId}/actions/generateConfiguration'.sub('{onPremConnectorId}', on_prem_connector_id.to_s)
567
+ operation_signing_strategy = :standard
568
+
569
+ # rubocop:disable Style/NegatedIf
570
+ # Query Params
571
+ query_params = {}
572
+
573
+ # Header Params
574
+ header_params = {}
575
+ header_params[:accept] = opts[:accept] if opts[:accept]
576
+ header_params[:accept] ||= 'application/octet-stream'
577
+ header_params[:'accept-encoding'] = opts[:accept_encoding] if opts[:accept_encoding]
578
+ header_params[:'content-type'] = 'application/json'
579
+ header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token]
580
+ header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
581
+ header_params[:'if-match'] = opts[:if_match] if opts[:if_match]
582
+ # rubocop:enable Style/NegatedIf
583
+ header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token
584
+
585
+ post_body = @api_client.object_to_http_body(generate_on_prem_connector_configuration_details)
586
+
587
+ # rubocop:disable Metrics/BlockLength
588
+ OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'DataSafeClient#generate_on_prem_connector_configuration') do
589
+ if !block.nil?
590
+ @api_client.call_api(
591
+ :POST,
592
+ path,
593
+ endpoint,
594
+ header_params: header_params,
595
+ query_params: query_params,
596
+ operation_signing_strategy: operation_signing_strategy,
597
+ body: post_body,
598
+ return_type: 'Stream',
599
+ &block
600
+ )
601
+ elsif opts[:response_target]
602
+ if opts[:response_target].respond_to? :write
603
+ @api_client.call_api(
604
+ :POST,
605
+ path,
606
+ endpoint,
607
+ header_params: header_params,
608
+ query_params: query_params,
609
+ operation_signing_strategy: operation_signing_strategy,
610
+ body: post_body,
611
+ return_type: 'Stream',
612
+ &proc { |chunk, _response| opts[:response_target].write(chunk) }
613
+ )
614
+ elsif opts[:response_target].is_a?(String)
615
+ File.open(opts[:response_target], 'wb') do |output|
616
+ return @api_client.call_api(
617
+ :POST,
618
+ path,
619
+ endpoint,
620
+ header_params: header_params,
621
+ query_params: query_params,
622
+ operation_signing_strategy: operation_signing_strategy,
623
+ body: post_body,
624
+ return_type: 'Stream',
625
+ &proc { |chunk, _response| output.write(chunk) }
626
+ )
627
+ end
628
+ end
629
+ else
630
+ @api_client.call_api(
631
+ :POST,
632
+ path,
633
+ endpoint,
634
+ header_params: header_params,
635
+ query_params: query_params,
636
+ operation_signing_strategy: operation_signing_strategy,
637
+ body: post_body,
638
+ return_type: 'String'
639
+ )
640
+ end
641
+ end
642
+ # rubocop:enable Metrics/BlockLength
643
+ end
644
+ # rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
645
+ # rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
646
+ # rubocop:enable Metrics/MethodLength, Layout/EmptyLines
647
+
648
+ # rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
649
+ # rubocop:disable Style/IfUnlessModifier, Metrics/ParameterLists
650
+ # rubocop:disable Metrics/MethodLength, Layout/EmptyLines
651
+
652
+
341
653
  # Gets the details of the Data Safe configuration.
342
654
  # @param [Hash] opts the optional parameters
343
655
  # @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
@@ -345,6 +657,7 @@ module OCI
345
657
  # @option opts [String] :compartment_id A filter to return only resources that match the specified compartment OCID.
346
658
  # @option opts [String] :opc_request_id Unique identifier for the request.
347
659
  # @return [Response] A Response object with data of type {OCI::DataSafe::Models::DataSafeConfiguration DataSafeConfiguration}
660
+ # @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/datasafe/get_data_safe_configuration.rb.html) to see an example of how to use get_data_safe_configuration API.
348
661
  def get_data_safe_configuration(opts = {})
349
662
  logger.debug 'Calling operation DataSafeClient#get_data_safe_configuration.' if logger
350
663
 
@@ -397,6 +710,7 @@ module OCI
397
710
  # retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
398
711
  # @option opts [String] :opc_request_id Unique identifier for the request.
399
712
  # @return [Response] A Response object with data of type {OCI::DataSafe::Models::DataSafePrivateEndpoint DataSafePrivateEndpoint}
713
+ # @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/datasafe/get_data_safe_private_endpoint.rb.html) to see an example of how to use get_data_safe_private_endpoint API.
400
714
  def get_data_safe_private_endpoint(data_safe_private_endpoint_id, opts = {})
401
715
  logger.debug 'Calling operation DataSafeClient#get_data_safe_private_endpoint.' if logger
402
716
 
@@ -443,6 +757,60 @@ module OCI
443
757
  # rubocop:disable Metrics/MethodLength, Layout/EmptyLines
444
758
 
445
759
 
760
+ # Gets the details of the specified on-premises connector.
761
+ # @param [String] on_prem_connector_id The OCID of the on-premises connector.
762
+ # @param [Hash] opts the optional parameters
763
+ # @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
764
+ # retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
765
+ # @option opts [String] :opc_request_id Unique identifier for the request.
766
+ # @return [Response] A Response object with data of type {OCI::DataSafe::Models::OnPremConnector OnPremConnector}
767
+ # @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/datasafe/get_on_prem_connector.rb.html) to see an example of how to use get_on_prem_connector API.
768
+ def get_on_prem_connector(on_prem_connector_id, opts = {})
769
+ logger.debug 'Calling operation DataSafeClient#get_on_prem_connector.' if logger
770
+
771
+ raise "Missing the required parameter 'on_prem_connector_id' when calling get_on_prem_connector." if on_prem_connector_id.nil?
772
+ raise "Parameter value for 'on_prem_connector_id' must not be blank" if OCI::Internal::Util.blank_string?(on_prem_connector_id)
773
+
774
+ path = '/onPremConnectors/{onPremConnectorId}'.sub('{onPremConnectorId}', on_prem_connector_id.to_s)
775
+ operation_signing_strategy = :standard
776
+
777
+ # rubocop:disable Style/NegatedIf
778
+ # Query Params
779
+ query_params = {}
780
+
781
+ # Header Params
782
+ header_params = {}
783
+ header_params[:accept] = 'application/json'
784
+ header_params[:'content-type'] = 'application/json'
785
+ header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
786
+ # rubocop:enable Style/NegatedIf
787
+
788
+ post_body = nil
789
+
790
+ # rubocop:disable Metrics/BlockLength
791
+ OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'DataSafeClient#get_on_prem_connector') do
792
+ @api_client.call_api(
793
+ :GET,
794
+ path,
795
+ endpoint,
796
+ header_params: header_params,
797
+ query_params: query_params,
798
+ operation_signing_strategy: operation_signing_strategy,
799
+ body: post_body,
800
+ return_type: 'OCI::DataSafe::Models::OnPremConnector'
801
+ )
802
+ end
803
+ # rubocop:enable Metrics/BlockLength
804
+ end
805
+ # rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
806
+ # rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
807
+ # rubocop:enable Metrics/MethodLength, Layout/EmptyLines
808
+
809
+ # rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
810
+ # rubocop:disable Style/IfUnlessModifier, Metrics/ParameterLists
811
+ # rubocop:disable Metrics/MethodLength, Layout/EmptyLines
812
+
813
+
446
814
  # Gets the details of the specified work request.
447
815
  # @param [String] work_request_id The OCID of the work request.
448
816
  # @param [Hash] opts the optional parameters
@@ -450,6 +818,7 @@ module OCI
450
818
  # retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
451
819
  # @option opts [String] :opc_request_id Unique identifier for the request.
452
820
  # @return [Response] A Response object with data of type {OCI::DataSafe::Models::WorkRequest WorkRequest}
821
+ # @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/datasafe/get_work_request.rb.html) to see an example of how to use get_work_request API.
453
822
  def get_work_request(work_request_id, opts = {})
454
823
  logger.debug 'Calling operation DataSafeClient#get_work_request.' if logger
455
824
 
@@ -498,16 +867,16 @@ module OCI
498
867
 
499
868
  # Gets a list of Data Safe private endpoints.
500
869
  #
870
+ # @param [String] compartment_id A filter to return only resources that match the specified compartment OCID.
501
871
  # @param [Hash] opts the optional parameters
502
872
  # @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
503
873
  # retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
504
- # @option opts [String] :compartment_id A filter to return only resources that match the specified compartment OCID.
505
874
  # @option opts [String] :display_name A filter to return only resources that match the specified display name.
506
875
  #
507
- # @option opts [String] :vcn_id A filter to return only the private endpoints that match the specified VCN OCID.
876
+ # @option opts [String] :vcn_id A filter to return only resources that match the specified VCN OCID.
508
877
  # @option opts [String] :lifecycle_state A filter to return only resources that match the specified lifecycle state.
509
878
  # @option opts [Integer] :limit For list pagination. The maximum number of items to return per page in a paginated \"List\" call. For details about how pagination works, see [List Pagination](https://docs.cloud.oracle.com/en-us/iaas/Content/API/Concepts/usingapi.htm#nine).
510
- # @option opts [String] :page The beginning page from which the results start retrieving.
879
+ # @option opts [String] :page For list pagination. The page token representing the page at which to start retrieving results. It is usually retrieved from a previous \"List\" call. For details about how pagination works, see [List Pagination](https://docs.cloud.oracle.com/en-us/iaas/Content/API/Concepts/usingapi.htm#nine).
511
880
  # @option opts [String] :sort_order The sort order to use, either ascending (ASC) or descending (DESC). (default to ASC)
512
881
  # Allowed values are: ASC, DESC
513
882
  # @option opts [String] :sort_by The field to sort by. You can specify only one sort order (sortOrder). The default order for TIMECREATED is descending. The default order for DISPLAYNAME is ascending. The DISPLAYNAME sort order is case sensitive.
@@ -515,9 +884,11 @@ module OCI
515
884
  # Allowed values are: TIMECREATED, DISPLAYNAME
516
885
  # @option opts [String] :opc_request_id Unique identifier for the request.
517
886
  # @return [Response] A Response object with data of type Array<{OCI::DataSafe::Models::DataSafePrivateEndpointSummary DataSafePrivateEndpointSummary}>
518
- def list_data_safe_private_endpoints(opts = {})
887
+ # @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/datasafe/list_data_safe_private_endpoints.rb.html) to see an example of how to use list_data_safe_private_endpoints API.
888
+ def list_data_safe_private_endpoints(compartment_id, opts = {})
519
889
  logger.debug 'Calling operation DataSafeClient#list_data_safe_private_endpoints.' if logger
520
890
 
891
+ raise "Missing the required parameter 'compartment_id' when calling list_data_safe_private_endpoints." if compartment_id.nil?
521
892
 
522
893
  if opts[:lifecycle_state] && !OCI::DataSafe::Models::LIFECYCLE_STATE_ENUM.include?(opts[:lifecycle_state])
523
894
  raise 'Invalid value for "lifecycle_state", must be one of the values in OCI::DataSafe::Models::LIFECYCLE_STATE_ENUM.'
@@ -537,7 +908,7 @@ module OCI
537
908
  # rubocop:disable Style/NegatedIf
538
909
  # Query Params
539
910
  query_params = {}
540
- query_params[:compartmentId] = opts[:compartment_id] if opts[:compartment_id]
911
+ query_params[:compartmentId] = compartment_id
541
912
  query_params[:displayName] = opts[:display_name] if opts[:display_name]
542
913
  query_params[:vcnId] = opts[:vcn_id] if opts[:vcn_id]
543
914
  query_params[:lifecycleState] = opts[:lifecycle_state] if opts[:lifecycle_state]
@@ -579,6 +950,91 @@ module OCI
579
950
  # rubocop:disable Metrics/MethodLength, Layout/EmptyLines
580
951
 
581
952
 
953
+ # Gets a list of on-premises connectors.
954
+ #
955
+ # @param [String] compartment_id A filter to return only resources that match the specified compartment OCID.
956
+ # @param [Hash] opts the optional parameters
957
+ # @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
958
+ # retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
959
+ # @option opts [String] :on_prem_connector_id A filter to return only the on-premises connector that matches the specified id.
960
+ # @option opts [String] :display_name A filter to return only resources that match the specified display name.
961
+ #
962
+ # @option opts [String] :on_prem_connector_lifecycle_state A filter to return only on-premises connector resources that match the specified lifecycle state.
963
+ # @option opts [Integer] :limit For list pagination. The maximum number of items to return per page in a paginated \"List\" call. For details about how pagination works, see [List Pagination](https://docs.cloud.oracle.com/en-us/iaas/Content/API/Concepts/usingapi.htm#nine).
964
+ # @option opts [String] :page For list pagination. The page token representing the page at which to start retrieving results. It is usually retrieved from a previous \"List\" call. For details about how pagination works, see [List Pagination](https://docs.cloud.oracle.com/en-us/iaas/Content/API/Concepts/usingapi.htm#nine).
965
+ # @option opts [String] :sort_order The sort order to use, either ascending (ASC) or descending (DESC). (default to ASC)
966
+ # Allowed values are: ASC, DESC
967
+ # @option opts [String] :sort_by The field to sort by. You can specify only one sort order (sortOrder). The default order for TIMECREATED is descending. The default order for DISPLAYNAME is ascending. The DISPLAYNAME sort order is case sensitive.
968
+ # (default to TIMECREATED)
969
+ # Allowed values are: TIMECREATED, DISPLAYNAME
970
+ # @option opts [String] :opc_request_id Unique identifier for the request.
971
+ # @return [Response] A Response object with data of type Array<{OCI::DataSafe::Models::OnPremConnectorSummary OnPremConnectorSummary}>
972
+ # @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/datasafe/list_on_prem_connectors.rb.html) to see an example of how to use list_on_prem_connectors API.
973
+ def list_on_prem_connectors(compartment_id, opts = {})
974
+ logger.debug 'Calling operation DataSafeClient#list_on_prem_connectors.' if logger
975
+
976
+ raise "Missing the required parameter 'compartment_id' when calling list_on_prem_connectors." if compartment_id.nil?
977
+
978
+ if opts[:on_prem_connector_lifecycle_state] && !OCI::DataSafe::Models::ON_PREM_CONNECTOR_LIFECYCLE_STATE_ENUM.include?(opts[:on_prem_connector_lifecycle_state])
979
+ raise 'Invalid value for "on_prem_connector_lifecycle_state", must be one of the values in OCI::DataSafe::Models::ON_PREM_CONNECTOR_LIFECYCLE_STATE_ENUM.'
980
+ end
981
+
982
+ if opts[:sort_order] && !%w[ASC DESC].include?(opts[:sort_order])
983
+ raise 'Invalid value for "sort_order", must be one of ASC, DESC.'
984
+ end
985
+
986
+ if opts[:sort_by] && !%w[TIMECREATED DISPLAYNAME].include?(opts[:sort_by])
987
+ raise 'Invalid value for "sort_by", must be one of TIMECREATED, DISPLAYNAME.'
988
+ end
989
+
990
+ path = '/onPremConnectors'
991
+ operation_signing_strategy = :standard
992
+
993
+ # rubocop:disable Style/NegatedIf
994
+ # Query Params
995
+ query_params = {}
996
+ query_params[:compartmentId] = compartment_id
997
+ query_params[:onPremConnectorId] = opts[:on_prem_connector_id] if opts[:on_prem_connector_id]
998
+ query_params[:displayName] = opts[:display_name] if opts[:display_name]
999
+ query_params[:onPremConnectorLifecycleState] = opts[:on_prem_connector_lifecycle_state] if opts[:on_prem_connector_lifecycle_state]
1000
+ query_params[:limit] = opts[:limit] if opts[:limit]
1001
+ query_params[:page] = opts[:page] if opts[:page]
1002
+ query_params[:sortOrder] = opts[:sort_order] if opts[:sort_order]
1003
+ query_params[:sortBy] = opts[:sort_by] if opts[:sort_by]
1004
+
1005
+ # Header Params
1006
+ header_params = {}
1007
+ header_params[:accept] = 'application/json'
1008
+ header_params[:'content-type'] = 'application/json'
1009
+ header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
1010
+ # rubocop:enable Style/NegatedIf
1011
+
1012
+ post_body = nil
1013
+
1014
+ # rubocop:disable Metrics/BlockLength
1015
+ OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'DataSafeClient#list_on_prem_connectors') do
1016
+ @api_client.call_api(
1017
+ :GET,
1018
+ path,
1019
+ endpoint,
1020
+ header_params: header_params,
1021
+ query_params: query_params,
1022
+ operation_signing_strategy: operation_signing_strategy,
1023
+ body: post_body,
1024
+ return_type: 'Array<OCI::DataSafe::Models::OnPremConnectorSummary>'
1025
+ )
1026
+ end
1027
+ # rubocop:enable Metrics/BlockLength
1028
+ end
1029
+ # rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
1030
+ # rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
1031
+ # rubocop:enable Metrics/MethodLength, Layout/EmptyLines
1032
+
1033
+ # rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
1034
+ # rubocop:disable Style/IfUnlessModifier, Metrics/ParameterLists
1035
+ # rubocop:disable Metrics/MethodLength, Layout/EmptyLines
1036
+
1037
+
582
1038
  # Gets a list of errors for the specified work request.
583
1039
  #
584
1040
  # @param [String] work_request_id The OCID of the work request.
@@ -586,9 +1042,10 @@ module OCI
586
1042
  # @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
587
1043
  # retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
588
1044
  # @option opts [String] :opc_request_id Unique identifier for the request.
589
- # @option opts [String] :page The beginning page from which the results start retrieving.
1045
+ # @option opts [String] :page For list pagination. The page token representing the page at which to start retrieving results. It is usually retrieved from a previous \"List\" call. For details about how pagination works, see [List Pagination](https://docs.cloud.oracle.com/en-us/iaas/Content/API/Concepts/usingapi.htm#nine).
590
1046
  # @option opts [Integer] :limit For list pagination. The maximum number of items to return per page in a paginated \"List\" call. For details about how pagination works, see [List Pagination](https://docs.cloud.oracle.com/en-us/iaas/Content/API/Concepts/usingapi.htm#nine).
591
1047
  # @return [Response] A Response object with data of type Array<{OCI::DataSafe::Models::WorkRequestError WorkRequestError}>
1048
+ # @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/datasafe/list_work_request_errors.rb.html) to see an example of how to use list_work_request_errors API.
592
1049
  def list_work_request_errors(work_request_id, opts = {})
593
1050
  logger.debug 'Calling operation DataSafeClient#list_work_request_errors.' if logger
594
1051
 
@@ -644,9 +1101,10 @@ module OCI
644
1101
  # @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
645
1102
  # retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
646
1103
  # @option opts [String] :opc_request_id Unique identifier for the request.
647
- # @option opts [String] :page The beginning page from which the results start retrieving.
1104
+ # @option opts [String] :page For list pagination. The page token representing the page at which to start retrieving results. It is usually retrieved from a previous \"List\" call. For details about how pagination works, see [List Pagination](https://docs.cloud.oracle.com/en-us/iaas/Content/API/Concepts/usingapi.htm#nine).
648
1105
  # @option opts [Integer] :limit For list pagination. The maximum number of items to return per page in a paginated \"List\" call. For details about how pagination works, see [List Pagination](https://docs.cloud.oracle.com/en-us/iaas/Content/API/Concepts/usingapi.htm#nine).
649
1106
  # @return [Response] A Response object with data of type Array<{OCI::DataSafe::Models::WorkRequestLogEntry WorkRequestLogEntry}>
1107
+ # @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/datasafe/list_work_request_logs.rb.html) to see an example of how to use list_work_request_logs API.
650
1108
  def list_work_request_logs(work_request_id, opts = {})
651
1109
  logger.debug 'Calling operation DataSafeClient#list_work_request_logs.' if logger
652
1110
 
@@ -697,18 +1155,20 @@ module OCI
697
1155
 
698
1156
  # Gets a list of work requests.
699
1157
  #
1158
+ # @param [String] compartment_id A filter to return only resources that match the specified compartment OCID.
700
1159
  # @param [Hash] opts the optional parameters
701
1160
  # @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
702
1161
  # retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
703
- # @option opts [String] :compartment_id A filter to return only resources that match the specified compartment OCID.
704
1162
  # @option opts [String] :resource_id A filter to return only work requests that match the specified resource OCID.
705
1163
  # @option opts [String] :opc_request_id Unique identifier for the request.
706
- # @option opts [String] :page The beginning page from which the results start retrieving.
1164
+ # @option opts [String] :page For list pagination. The page token representing the page at which to start retrieving results. It is usually retrieved from a previous \"List\" call. For details about how pagination works, see [List Pagination](https://docs.cloud.oracle.com/en-us/iaas/Content/API/Concepts/usingapi.htm#nine).
707
1165
  # @option opts [Integer] :limit For list pagination. The maximum number of items to return per page in a paginated \"List\" call. For details about how pagination works, see [List Pagination](https://docs.cloud.oracle.com/en-us/iaas/Content/API/Concepts/usingapi.htm#nine).
708
1166
  # @return [Response] A Response object with data of type Array<{OCI::DataSafe::Models::WorkRequestSummary WorkRequestSummary}>
709
- def list_work_requests(opts = {})
1167
+ # @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/datasafe/list_work_requests.rb.html) to see an example of how to use list_work_requests API.
1168
+ def list_work_requests(compartment_id, opts = {})
710
1169
  logger.debug 'Calling operation DataSafeClient#list_work_requests.' if logger
711
1170
 
1171
+ raise "Missing the required parameter 'compartment_id' when calling list_work_requests." if compartment_id.nil?
712
1172
 
713
1173
  path = '/workRequests'
714
1174
  operation_signing_strategy = :standard
@@ -716,7 +1176,7 @@ module OCI
716
1176
  # rubocop:disable Style/NegatedIf
717
1177
  # Query Params
718
1178
  query_params = {}
719
- query_params[:compartmentId] = opts[:compartment_id] if opts[:compartment_id]
1179
+ query_params[:compartmentId] = compartment_id
720
1180
  query_params[:resourceId] = opts[:resource_id] if opts[:resource_id]
721
1181
  query_params[:page] = opts[:page] if opts[:page]
722
1182
  query_params[:limit] = opts[:limit] if opts[:limit]
@@ -768,6 +1228,7 @@ module OCI
768
1228
  #
769
1229
  # @option opts [String] :opc_request_id Unique identifier for the request.
770
1230
  # @return [Response] A Response object with data of type nil
1231
+ # @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/datasafe/update_data_safe_private_endpoint.rb.html) to see an example of how to use update_data_safe_private_endpoint API.
771
1232
  def update_data_safe_private_endpoint(data_safe_private_endpoint_id, update_data_safe_private_endpoint_details, opts = {})
772
1233
  logger.debug 'Calling operation DataSafeClient#update_data_safe_private_endpoint.' if logger
773
1234
 
@@ -810,6 +1271,138 @@ module OCI
810
1271
  # rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
811
1272
  # rubocop:enable Metrics/MethodLength, Layout/EmptyLines
812
1273
 
1274
+ # rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
1275
+ # rubocop:disable Style/IfUnlessModifier, Metrics/ParameterLists
1276
+ # rubocop:disable Metrics/MethodLength, Layout/EmptyLines
1277
+
1278
+
1279
+ # Updates one or more attributes of the specified on-premises connector.
1280
+ # @param [String] on_prem_connector_id The OCID of the on-premises connector.
1281
+ # @param [OCI::DataSafe::Models::UpdateOnPremConnectorDetails] update_on_prem_connector_details The details used to update a on-premises connector.
1282
+ # @param [Hash] opts the optional parameters
1283
+ # @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
1284
+ # retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
1285
+ # @option opts [String] :if_match For optimistic concurrency control. In the PUT or DELETE call
1286
+ # for a resource, set the if-match parameter to the value of the
1287
+ # etag from a previous GET or POST response for that resource.
1288
+ # The resource will be updated or deleted only if the etag you
1289
+ # provide matches the resource's current etag value.
1290
+ #
1291
+ # @option opts [String] :opc_request_id Unique identifier for the request.
1292
+ # @return [Response] A Response object with data of type nil
1293
+ # @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/datasafe/update_on_prem_connector.rb.html) to see an example of how to use update_on_prem_connector API.
1294
+ def update_on_prem_connector(on_prem_connector_id, update_on_prem_connector_details, opts = {})
1295
+ logger.debug 'Calling operation DataSafeClient#update_on_prem_connector.' if logger
1296
+
1297
+ raise "Missing the required parameter 'on_prem_connector_id' when calling update_on_prem_connector." if on_prem_connector_id.nil?
1298
+ raise "Missing the required parameter 'update_on_prem_connector_details' when calling update_on_prem_connector." if update_on_prem_connector_details.nil?
1299
+ raise "Parameter value for 'on_prem_connector_id' must not be blank" if OCI::Internal::Util.blank_string?(on_prem_connector_id)
1300
+
1301
+ path = '/onPremConnectors/{onPremConnectorId}'.sub('{onPremConnectorId}', on_prem_connector_id.to_s)
1302
+ operation_signing_strategy = :standard
1303
+
1304
+ # rubocop:disable Style/NegatedIf
1305
+ # Query Params
1306
+ query_params = {}
1307
+
1308
+ # Header Params
1309
+ header_params = {}
1310
+ header_params[:accept] = 'application/json'
1311
+ header_params[:'content-type'] = 'application/json'
1312
+ header_params[:'if-match'] = opts[:if_match] if opts[:if_match]
1313
+ header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
1314
+ # rubocop:enable Style/NegatedIf
1315
+
1316
+ post_body = @api_client.object_to_http_body(update_on_prem_connector_details)
1317
+
1318
+ # rubocop:disable Metrics/BlockLength
1319
+ OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'DataSafeClient#update_on_prem_connector') do
1320
+ @api_client.call_api(
1321
+ :PUT,
1322
+ path,
1323
+ endpoint,
1324
+ header_params: header_params,
1325
+ query_params: query_params,
1326
+ operation_signing_strategy: operation_signing_strategy,
1327
+ body: post_body
1328
+ )
1329
+ end
1330
+ # rubocop:enable Metrics/BlockLength
1331
+ end
1332
+ # rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
1333
+ # rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
1334
+ # rubocop:enable Metrics/MethodLength, Layout/EmptyLines
1335
+
1336
+ # rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
1337
+ # rubocop:disable Style/IfUnlessModifier, Metrics/ParameterLists
1338
+ # rubocop:disable Metrics/MethodLength, Layout/EmptyLines
1339
+
1340
+
1341
+ # Updates the wallet for the specified on-premises connector to a new version.
1342
+ #
1343
+ # @param [OCI::DataSafe::Models::UpdateOnPremConnectorWalletDetails] update_on_prem_connector_wallet_details The details used to update an on-premises connector's wallet.
1344
+ # @param [String] on_prem_connector_id The OCID of the on-premises connector.
1345
+ # @param [Hash] opts the optional parameters
1346
+ # @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
1347
+ # retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
1348
+ # @option opts [String] :opc_retry_token A token that uniquely identifies a request so it can be retried in case of a timeout or
1349
+ # server error without risk of executing that same action again. Retry tokens expire after 24
1350
+ # hours, but can be invalidated before then due to conflicting operations. For example, if a resource
1351
+ # has been deleted and purged from the system, then a retry of the original creation request might be rejected.
1352
+ #
1353
+ # @option opts [String] :if_match For optimistic concurrency control. In the PUT or DELETE call
1354
+ # for a resource, set the if-match parameter to the value of the
1355
+ # etag from a previous GET or POST response for that resource.
1356
+ # The resource will be updated or deleted only if the etag you
1357
+ # provide matches the resource's current etag value.
1358
+ #
1359
+ # @option opts [String] :opc_request_id Unique identifier for the request.
1360
+ # @return [Response] A Response object with data of type nil
1361
+ # @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/datasafe/update_on_prem_connector_wallet.rb.html) to see an example of how to use update_on_prem_connector_wallet API.
1362
+ def update_on_prem_connector_wallet(update_on_prem_connector_wallet_details, on_prem_connector_id, opts = {})
1363
+ logger.debug 'Calling operation DataSafeClient#update_on_prem_connector_wallet.' if logger
1364
+
1365
+ raise "Missing the required parameter 'update_on_prem_connector_wallet_details' when calling update_on_prem_connector_wallet." if update_on_prem_connector_wallet_details.nil?
1366
+ raise "Missing the required parameter 'on_prem_connector_id' when calling update_on_prem_connector_wallet." if on_prem_connector_id.nil?
1367
+ raise "Parameter value for 'on_prem_connector_id' must not be blank" if OCI::Internal::Util.blank_string?(on_prem_connector_id)
1368
+
1369
+ path = '/onPremConnectors/{onPremConnectorId}/wallet'.sub('{onPremConnectorId}', on_prem_connector_id.to_s)
1370
+ operation_signing_strategy = :standard
1371
+
1372
+ # rubocop:disable Style/NegatedIf
1373
+ # Query Params
1374
+ query_params = {}
1375
+
1376
+ # Header Params
1377
+ header_params = {}
1378
+ header_params[:accept] = 'application/json'
1379
+ header_params[:'content-type'] = 'application/json'
1380
+ header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token]
1381
+ header_params[:'if-match'] = opts[:if_match] if opts[:if_match]
1382
+ header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
1383
+ # rubocop:enable Style/NegatedIf
1384
+ header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token
1385
+
1386
+ post_body = @api_client.object_to_http_body(update_on_prem_connector_wallet_details)
1387
+
1388
+ # rubocop:disable Metrics/BlockLength
1389
+ OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'DataSafeClient#update_on_prem_connector_wallet') do
1390
+ @api_client.call_api(
1391
+ :PUT,
1392
+ path,
1393
+ endpoint,
1394
+ header_params: header_params,
1395
+ query_params: query_params,
1396
+ operation_signing_strategy: operation_signing_strategy,
1397
+ body: post_body
1398
+ )
1399
+ end
1400
+ # rubocop:enable Metrics/BlockLength
1401
+ end
1402
+ # rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
1403
+ # rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
1404
+ # rubocop:enable Metrics/MethodLength, Layout/EmptyLines
1405
+
813
1406
  private
814
1407
 
815
1408
  def applicable_retry_config(opts = {})