oci 2.7.0 → 2.12.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3556) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +44 -11
  3. data/lib/oci.rb +33 -1
  4. data/lib/oci/analytics/analytics.rb +8 -1
  5. data/lib/oci/analytics/analytics_client.rb +94 -16
  6. data/lib/oci/analytics/analytics_client_composite_operations.rb +54 -1
  7. data/lib/oci/analytics/models/analytics_instance.rb +17 -2
  8. data/lib/oci/analytics/models/analytics_instance_lifecycle_state.rb +2 -1
  9. data/lib/oci/analytics/models/analytics_instance_summary.rb +17 -2
  10. data/lib/oci/analytics/models/capacity.rb +2 -1
  11. data/lib/oci/analytics/models/capacity_type.rb +2 -1
  12. data/lib/oci/analytics/models/change_analytics_instance_network_endpoint_details.rb +155 -0
  13. data/lib/oci/analytics/models/change_compartment_details.rb +2 -1
  14. data/lib/oci/analytics/models/create_analytics_instance_details.rb +16 -2
  15. data/lib/oci/analytics/models/feature_set.rb +2 -1
  16. data/lib/oci/analytics/models/license_type.rb +2 -1
  17. data/lib/oci/analytics/models/network_endpoint_details.rb +193 -0
  18. data/lib/oci/analytics/models/network_endpoint_type.rb +11 -0
  19. data/lib/oci/analytics/models/private_endpoint_details.rb +179 -0
  20. data/lib/oci/analytics/models/public_endpoint_details.rb +179 -0
  21. data/lib/oci/analytics/models/scale_analytics_instance_details.rb +2 -1
  22. data/lib/oci/analytics/models/sort_by.rb +3 -1
  23. data/lib/oci/analytics/models/sort_order.rb +2 -1
  24. data/lib/oci/analytics/models/update_analytics_instance_details.rb +2 -1
  25. data/lib/oci/analytics/models/virtual_cloud_network.rb +167 -0
  26. data/lib/oci/analytics/models/work_request.rb +3 -1
  27. data/lib/oci/analytics/models/work_request_action_result.rb +3 -1
  28. data/lib/oci/analytics/models/work_request_error.rb +2 -1
  29. data/lib/oci/analytics/models/work_request_log.rb +2 -1
  30. data/lib/oci/analytics/models/work_request_operation_type.rb +4 -2
  31. data/lib/oci/analytics/models/work_request_resource.rb +3 -1
  32. data/lib/oci/analytics/models/work_request_resource_type.rb +2 -1
  33. data/lib/oci/analytics/models/work_request_sort_by.rb +2 -1
  34. data/lib/oci/analytics/models/work_request_status.rb +2 -1
  35. data/lib/oci/analytics/models/work_request_summary.rb +3 -1
  36. data/lib/oci/analytics/util.rb +2 -1
  37. data/lib/oci/announcements_service/announcement_client.rb +10 -16
  38. data/lib/oci/announcements_service/announcement_client_composite_operations.rb +2 -1
  39. data/lib/oci/announcements_service/announcements_service.rb +2 -1
  40. data/lib/oci/announcements_service/models/affected_resource.rb +2 -1
  41. data/lib/oci/announcements_service/models/announcement.rb +2 -1
  42. data/lib/oci/announcements_service/models/announcement_summary.rb +2 -1
  43. data/lib/oci/announcements_service/models/announcement_user_status_details.rb +2 -1
  44. data/lib/oci/announcements_service/models/announcements_collection.rb +2 -1
  45. data/lib/oci/announcements_service/models/base_announcement.rb +2 -1
  46. data/lib/oci/announcements_service/util.rb +2 -1
  47. data/lib/oci/api_client.rb +14 -11
  48. data/lib/oci/api_client_proxy_settings.rb +2 -1
  49. data/lib/oci/apigateway/api_gateway_client.rb +1134 -0
  50. data/lib/oci/apigateway/api_gateway_client_composite_operations.rb +371 -0
  51. data/lib/oci/apigateway/apigateway.rb +105 -0
  52. data/lib/oci/apigateway/deployment_client.rb +508 -0
  53. data/lib/oci/apigateway/deployment_client_composite_operations.rb +223 -0
  54. data/lib/oci/apigateway/gateway_client.rb +508 -0
  55. data/lib/oci/apigateway/gateway_client_composite_operations.rb +223 -0
  56. data/lib/oci/apigateway/models/access_log_policy.rb +166 -0
  57. data/lib/oci/apigateway/models/anonymous_route_authorization_policy.rb +147 -0
  58. data/lib/oci/apigateway/models/any_of_route_authorization_policy.rb +165 -0
  59. data/lib/oci/apigateway/models/api.rb +340 -0
  60. data/lib/oci/apigateway/models/api_collection.rb +150 -0
  61. data/lib/oci/apigateway/models/api_specification.rb +176 -0
  62. data/lib/oci/apigateway/models/api_specification_logging_policies.rb +167 -0
  63. data/lib/oci/apigateway/models/api_specification_request_policies.rb +171 -0
  64. data/lib/oci/apigateway/models/api_specification_route.rb +246 -0
  65. data/lib/oci/apigateway/models/api_specification_route_backend.rb +190 -0
  66. data/lib/oci/apigateway/models/api_specification_route_request_policies.rb +185 -0
  67. data/lib/oci/apigateway/models/api_specification_route_response_policies.rb +154 -0
  68. data/lib/oci/apigateway/models/api_summary.rb +342 -0
  69. data/lib/oci/apigateway/models/api_validation_detail.rb +191 -0
  70. data/lib/oci/{database/models/autonomous_exadata_infrastructure_maintenance_window.rb → apigateway/models/api_validation_details.rb} +46 -40
  71. data/lib/oci/apigateway/models/api_validation_result.rb +182 -0
  72. data/lib/oci/apigateway/models/api_validations.rb +150 -0
  73. data/lib/oci/apigateway/models/authentication_only_route_authorization_policy.rb +146 -0
  74. data/lib/oci/apigateway/models/authentication_policy.rb +205 -0
  75. data/lib/oci/apigateway/models/certificate.rb +362 -0
  76. data/lib/oci/apigateway/models/certificate_collection.rb +150 -0
  77. data/lib/oci/apigateway/models/certificate_summary.rb +311 -0
  78. data/lib/oci/apigateway/models/change_api_compartment_details.rb +156 -0
  79. data/lib/oci/apigateway/models/change_certificate_compartment_details.rb +156 -0
  80. data/lib/oci/apigateway/models/change_deployment_compartment_details.rb +156 -0
  81. data/lib/oci/apigateway/models/change_gateway_compartment_details.rb +156 -0
  82. data/lib/oci/apigateway/models/cors_policy.rb +240 -0
  83. data/lib/oci/apigateway/models/create_api_details.rb +222 -0
  84. data/lib/oci/apigateway/models/create_certificate_details.rb +250 -0
  85. data/lib/oci/apigateway/models/create_deployment_details.rb +255 -0
  86. data/lib/oci/apigateway/models/create_gateway_details.rb +261 -0
  87. data/lib/oci/apigateway/models/custom_authentication_policy.rb +197 -0
  88. data/lib/oci/apigateway/models/deployment.rb +362 -0
  89. data/lib/oci/apigateway/models/deployment_collection.rb +150 -0
  90. data/lib/oci/apigateway/models/deployment_summary.rb +325 -0
  91. data/lib/oci/apigateway/models/execution_log_policy.rb +205 -0
  92. data/lib/oci/apigateway/models/filter_header_policy.rb +186 -0
  93. data/lib/oci/apigateway/models/filter_header_policy_item.rb +152 -0
  94. data/lib/oci/apigateway/models/filter_query_parameter_policy.rb +186 -0
  95. data/lib/oci/apigateway/models/filter_query_parameter_policy_item.rb +152 -0
  96. data/lib/oci/apigateway/models/gateway.rb +400 -0
  97. data/lib/oci/apigateway/models/gateway_collection.rb +150 -0
  98. data/lib/oci/apigateway/models/gateway_summary.rb +341 -0
  99. data/lib/oci/apigateway/models/header_field_specification.rb +160 -0
  100. data/lib/oci/apigateway/models/header_transformation_policy.rb +180 -0
  101. data/lib/oci/apigateway/models/http_backend.rb +227 -0
  102. data/lib/oci/apigateway/models/ip_address.rb +154 -0
  103. data/lib/oci/apigateway/models/json_web_key.rb +278 -0
  104. data/lib/oci/apigateway/models/json_web_token_claim.rb +182 -0
  105. data/lib/oci/apigateway/models/jwt_authentication_policy.rb +264 -0
  106. data/lib/oci/apigateway/models/oracle_function_backend.rb +164 -0
  107. data/lib/oci/apigateway/models/pem_encoded_public_key.rb +162 -0
  108. data/lib/oci/apigateway/models/public_key_set.rb +187 -0
  109. data/lib/oci/apigateway/models/query_parameter_transformation_policy.rb +180 -0
  110. data/lib/oci/apigateway/models/rate_limiting_policy.rb +188 -0
  111. data/lib/oci/apigateway/models/remote_json_web_key_set.rb +198 -0
  112. data/lib/oci/apigateway/models/rename_header_policy.rb +151 -0
  113. data/lib/oci/apigateway/models/rename_header_policy_item.rb +164 -0
  114. data/lib/oci/apigateway/models/rename_query_parameter_policy.rb +152 -0
  115. data/lib/oci/apigateway/models/rename_query_parameter_policy_item.rb +165 -0
  116. data/lib/oci/apigateway/models/route_authorization_policy.rb +196 -0
  117. data/lib/oci/apigateway/models/set_header_policy.rb +151 -0
  118. data/lib/oci/apigateway/models/set_header_policy_item.rb +204 -0
  119. data/lib/oci/apigateway/models/set_query_parameter_policy.rb +152 -0
  120. data/lib/oci/apigateway/models/set_query_parameter_policy_item.rb +204 -0
  121. data/lib/oci/apigateway/models/static_public_key.rb +199 -0
  122. data/lib/oci/apigateway/models/static_public_key_set.rb +158 -0
  123. data/lib/oci/apigateway/models/stock_response_backend.rb +179 -0
  124. data/lib/oci/apigateway/models/update_api_details.rb +206 -0
  125. data/lib/oci/apigateway/models/update_certificate_details.rb +196 -0
  126. data/lib/oci/apigateway/models/update_deployment_details.rb +205 -0
  127. data/lib/oci/apigateway/models/update_gateway_details.rb +211 -0
  128. data/lib/oci/apigateway/models/work_request.rb +316 -0
  129. data/lib/oci/apigateway/models/work_request_collection.rb +150 -0
  130. data/lib/oci/apigateway/models/work_request_error.rb +173 -0
  131. data/lib/oci/apigateway/models/work_request_error_collection.rb +150 -0
  132. data/lib/oci/apigateway/models/work_request_log.rb +160 -0
  133. data/lib/oci/apigateway/models/work_request_log_collection.rb +150 -0
  134. data/lib/oci/apigateway/models/work_request_resource.rb +220 -0
  135. data/lib/oci/apigateway/models/work_request_summary.rb +257 -0
  136. data/lib/oci/apigateway/util.rb +3 -0
  137. data/lib/oci/apigateway/work_requests_client.rb +462 -0
  138. data/lib/oci/apigateway/work_requests_client_composite_operations.rb +25 -0
  139. data/lib/oci/application_migration/application_migration.rb +59 -0
  140. data/lib/oci/application_migration/application_migration_client.rb +1514 -0
  141. data/lib/oci/application_migration/application_migration_client_composite_operations.rb +472 -0
  142. data/lib/oci/application_migration/models/authorization_details.rb +182 -0
  143. data/lib/oci/application_migration/models/change_compartment_details.rb +156 -0
  144. data/lib/oci/application_migration/models/configuration_field.rb +227 -0
  145. data/lib/oci/application_migration/models/create_migration_details.rb +326 -0
  146. data/lib/oci/application_migration/models/create_source_details.rb +245 -0
  147. data/lib/oci/application_migration/models/discovery_details.rb +188 -0
  148. data/lib/oci/application_migration/models/ics_discovery_details.rb +178 -0
  149. data/lib/oci/application_migration/models/internal_authorization_details.rb +169 -0
  150. data/lib/oci/application_migration/models/internal_source_details.rb +163 -0
  151. data/lib/oci/application_migration/models/jcs_discovery_details.rb +179 -0
  152. data/lib/oci/application_migration/models/migration.rb +467 -0
  153. data/lib/oci/application_migration/models/migration_lifecycle_states.rb +16 -0
  154. data/lib/oci/application_migration/models/migration_states.rb +16 -0
  155. data/lib/oci/application_migration/models/migration_summary.rb +392 -0
  156. data/lib/oci/application_migration/models/migration_types.rb +15 -0
  157. data/lib/oci/application_migration/models/oac_discovery_details.rb +177 -0
  158. data/lib/oci/application_migration/models/ocic_authorization_details.rb +169 -0
  159. data/lib/oci/application_migration/models/ocic_source_details.rb +178 -0
  160. data/lib/oci/application_migration/models/oic_discovery_details.rb +178 -0
  161. data/lib/oci/application_migration/models/operation_status.rb +15 -0
  162. data/lib/oci/application_migration/models/operation_types.rb +20 -0
  163. data/lib/oci/application_migration/models/pcs_discovery_details.rb +178 -0
  164. data/lib/oci/application_migration/models/soacs_discovery_details.rb +179 -0
  165. data/lib/oci/application_migration/models/sort_orders.rb +11 -0
  166. data/lib/oci/application_migration/models/source.rb +306 -0
  167. data/lib/oci/application_migration/models/source_application.rb +212 -0
  168. data/lib/oci/application_migration/models/source_application_summary.rb +220 -0
  169. data/lib/oci/application_migration/models/source_details.rb +195 -0
  170. data/lib/oci/application_migration/models/source_lifecycle_states.rb +15 -0
  171. data/lib/oci/{database/models/autonomous_data_warehouse_backup_summary.rb → application_migration/models/source_summary.rb} +78 -77
  172. data/lib/oci/application_migration/models/source_types.rb +11 -0
  173. data/lib/oci/application_migration/models/target_database_types.rb +11 -0
  174. data/lib/oci/application_migration/models/update_migration_details.rb +248 -0
  175. data/lib/oci/application_migration/models/update_source_details.rb +224 -0
  176. data/lib/oci/application_migration/models/work_request.rb +309 -0
  177. data/lib/oci/application_migration/models/work_request_error.rb +171 -0
  178. data/lib/oci/application_migration/models/work_request_log_entry.rb +160 -0
  179. data/lib/oci/application_migration/models/work_request_resource.rb +218 -0
  180. data/lib/oci/application_migration/models/work_request_summary.rb +302 -0
  181. data/lib/oci/application_migration/util.rb +3 -0
  182. data/lib/oci/audit/audit.rb +2 -1
  183. data/lib/oci/audit/audit_client.rb +10 -17
  184. data/lib/oci/audit/audit_client_composite_operations.rb +2 -1
  185. data/lib/oci/audit/models/audit_event.rb +10 -8
  186. data/lib/oci/audit/models/configuration.rb +2 -1
  187. data/lib/oci/audit/models/data.rb +2 -108
  188. data/lib/oci/audit/models/identity.rb +2 -18
  189. data/lib/oci/audit/models/request.rb +2 -47
  190. data/lib/oci/audit/models/response.rb +2 -35
  191. data/lib/oci/audit/models/state_change.rb +2 -10
  192. data/lib/oci/audit/models/update_configuration_details.rb +2 -1
  193. data/lib/oci/audit/util.rb +2 -1
  194. data/lib/oci/auth/auth.rb +8 -1
  195. data/lib/oci/auth/federation_client.rb +6 -3
  196. data/lib/oci/auth/internal/auth_token_request_signer.rb +2 -1
  197. data/lib/oci/auth/security_token_container.rb +2 -1
  198. data/lib/oci/auth/session_key_supplier.rb +2 -1
  199. data/lib/oci/auth/signers/ephemeral_resource_principals_signer.rb +126 -0
  200. data/lib/oci/auth/signers/instance_principals_delegation_token_signer.rb +62 -0
  201. data/lib/oci/auth/signers/instance_principals_security_token_signer.rb +10 -4
  202. data/lib/oci/auth/signers/resource_principal_token_path_provider/default_rpt_path_provider.rb +33 -0
  203. data/lib/oci/auth/signers/resource_principal_token_path_provider/env_rpt_path_provider.rb +25 -0
  204. data/lib/oci/auth/signers/resource_principal_token_path_provider/imds_rpt_path_provider.rb +24 -0
  205. data/lib/oci/auth/signers/resource_principal_token_path_provider/rpt_path_provider.rb +54 -0
  206. data/lib/oci/auth/signers/resource_principal_token_path_provider/string_rpt_path_provider.rb +17 -0
  207. data/lib/oci/auth/signers/resource_principals_federation_signer.rb +140 -0
  208. data/lib/oci/auth/signers/resource_principals_signer.rb +57 -0
  209. data/lib/oci/auth/signers/security_token_signer.rb +2 -1
  210. data/lib/oci/auth/signers/x509_federation_client_based_security_token_signer.rb +2 -1
  211. data/lib/oci/auth/url_based_certificate_retriever.rb +2 -1
  212. data/lib/oci/auth/util.rb +17 -1
  213. data/lib/oci/autoscaling/auto_scaling_client.rb +33 -28
  214. data/lib/oci/autoscaling/auto_scaling_client_composite_operations.rb +2 -1
  215. data/lib/oci/autoscaling/autoscaling.rb +7 -1
  216. data/lib/oci/autoscaling/models/action.rb +2 -1
  217. data/lib/oci/autoscaling/models/auto_scaling_configuration.rb +34 -5
  218. data/lib/oci/autoscaling/models/auto_scaling_configuration_summary.rb +3 -1
  219. data/lib/oci/autoscaling/models/auto_scaling_policy.rb +21 -5
  220. data/lib/oci/autoscaling/models/auto_scaling_policy_summary.rb +20 -5
  221. data/lib/oci/autoscaling/models/capacity.rb +5 -4
  222. data/lib/oci/autoscaling/models/change_auto_scaling_compartment_details.rb +2 -1
  223. data/lib/oci/autoscaling/models/condition.rb +2 -1
  224. data/lib/oci/autoscaling/models/create_auto_scaling_configuration_details.rb +2 -1
  225. data/lib/oci/autoscaling/models/create_auto_scaling_policy_details.rb +23 -5
  226. data/lib/oci/autoscaling/models/create_condition_details.rb +2 -1
  227. data/lib/oci/autoscaling/models/create_scheduled_policy_details.rb +177 -0
  228. data/lib/oci/autoscaling/models/create_threshold_policy_details.rb +7 -2
  229. data/lib/oci/autoscaling/models/cron_execution_schedule.rb +164 -0
  230. data/lib/oci/autoscaling/models/execution_schedule.rb +197 -0
  231. data/lib/oci/autoscaling/models/instance_pool_resource.rb +2 -1
  232. data/lib/oci/autoscaling/models/metric.rb +2 -1
  233. data/lib/oci/autoscaling/models/resource.rb +2 -1
  234. data/lib/oci/autoscaling/models/scheduled_policy.rb +182 -0
  235. data/lib/oci/autoscaling/models/threshold.rb +2 -1
  236. data/lib/oci/autoscaling/models/threshold_policy.rb +7 -2
  237. data/lib/oci/autoscaling/models/update_auto_scaling_configuration_details.rb +2 -1
  238. data/lib/oci/autoscaling/models/update_auto_scaling_policy_details.rb +23 -5
  239. data/lib/oci/autoscaling/models/update_condition_details.rb +2 -1
  240. data/lib/oci/autoscaling/models/update_scheduled_policy_details.rb +173 -0
  241. data/lib/oci/autoscaling/models/update_threshold_policy_details.rb +7 -2
  242. data/lib/oci/autoscaling/util.rb +2 -1
  243. data/lib/oci/base_signer.rb +4 -3
  244. data/lib/oci/bds/bds.rb +48 -0
  245. data/lib/oci/bds/bds_client.rb +1194 -0
  246. data/lib/oci/bds/bds_client_composite_operations.rb +523 -0
  247. data/lib/oci/bds/models/action_types.rb +14 -0
  248. data/lib/oci/bds/models/add_block_storage_details.rb +170 -0
  249. data/lib/oci/bds/models/add_cloud_sql_details.rb +180 -0
  250. data/lib/oci/bds/models/add_worker_nodes_details.rb +168 -0
  251. data/lib/oci/bds/models/bds_instance.rb +437 -0
  252. data/lib/oci/bds/models/bds_instance_summary.rb +310 -0
  253. data/lib/oci/bds/models/change_bds_instance_compartment_details.rb +154 -0
  254. data/lib/oci/bds/models/change_shape_details.rb +164 -0
  255. data/lib/oci/bds/models/change_shape_nodes.rb +180 -0
  256. data/lib/oci/bds/models/cloud_sql_details.rb +212 -0
  257. data/lib/oci/bds/models/cluster_details.rb +310 -0
  258. data/lib/oci/bds/models/create_bds_instance_details.rb +298 -0
  259. data/lib/oci/bds/models/create_node_details.rb +194 -0
  260. data/lib/oci/bds/models/default_error.rb +160 -0
  261. data/lib/oci/bds/models/kerberos_details.rb +168 -0
  262. data/lib/oci/bds/models/network_config.rb +168 -0
  263. data/lib/oci/bds/models/node.rb +392 -0
  264. data/lib/oci/bds/models/operation_status.rb +15 -0
  265. data/lib/oci/bds/models/operation_types.rb +20 -0
  266. data/lib/oci/bds/models/remove_cloud_sql_details.rb +154 -0
  267. data/lib/oci/bds/models/restart_node_details.rb +154 -0
  268. data/lib/oci/bds/models/sort_orders.rb +11 -0
  269. data/lib/oci/bds/models/update_bds_instance_details.rb +186 -0
  270. data/lib/oci/bds/models/volume_attachment_detail.rb +168 -0
  271. data/lib/oci/bds/models/work_request.rb +315 -0
  272. data/lib/oci/bds/models/work_request_error.rb +173 -0
  273. data/lib/oci/bds/models/work_request_log_entry.rb +160 -0
  274. data/lib/oci/bds/models/work_request_resource.rb +219 -0
  275. data/lib/oci/bds/util.rb +3 -0
  276. data/lib/oci/blockchain/blockchain.rb +58 -0
  277. data/lib/oci/blockchain/blockchain_platform_client.rb +1772 -0
  278. data/lib/oci/blockchain/blockchain_platform_client_composite_operations.rb +728 -0
  279. data/lib/oci/blockchain/models/availability_domain.rb +171 -0
  280. data/lib/oci/blockchain/models/blockchain_platform.rb +539 -0
  281. data/lib/oci/blockchain/models/blockchain_platform_by_hostname.rb +318 -0
  282. data/lib/oci/blockchain/models/blockchain_platform_collection.rb +150 -0
  283. data/lib/oci/blockchain/models/blockchain_platform_component_details.rb +160 -0
  284. data/lib/oci/blockchain/models/blockchain_platform_summary.rb +318 -0
  285. data/lib/oci/blockchain/models/change_blockchain_platform_compartment_details.rb +156 -0
  286. data/lib/oci/blockchain/models/create_blockchain_platform_details.rb +303 -0
  287. data/lib/oci/blockchain/models/create_osn_details.rb +163 -0
  288. data/lib/oci/blockchain/models/create_peer_details.rb +188 -0
  289. data/lib/oci/blockchain/models/metadata_details.rb +182 -0
  290. data/lib/oci/blockchain/models/modify_peer_details.rb +168 -0
  291. data/lib/oci/blockchain/models/ocpu_allocation_number_param.rb +154 -0
  292. data/lib/oci/blockchain/models/ocpu_utilization_info.rb +178 -0
  293. data/lib/oci/blockchain/models/osn.rb +212 -0
  294. data/lib/oci/blockchain/models/osn_collection.rb +150 -0
  295. data/lib/oci/blockchain/models/osn_summary.rb +168 -0
  296. data/lib/oci/blockchain/models/peer.rb +246 -0
  297. data/lib/oci/blockchain/models/peer_collection.rb +150 -0
  298. data/lib/oci/blockchain/models/peer_role.rb +163 -0
  299. data/lib/oci/blockchain/models/peer_summary.rb +168 -0
  300. data/lib/oci/blockchain/models/replica_details.rb +182 -0
  301. data/lib/oci/blockchain/models/scale_blockchain_platform_details.rb +259 -0
  302. data/lib/oci/blockchain/models/scale_storage_details.rb +154 -0
  303. data/lib/oci/blockchain/models/scaled_blockchain_platform_preview.rb +346 -0
  304. data/lib/oci/blockchain/models/scaled_platform_metering_preview.rb +210 -0
  305. data/lib/oci/blockchain/models/update_blockchain_platform_details.rb +219 -0
  306. data/lib/oci/blockchain/models/update_osn_details.rb +154 -0
  307. data/lib/oci/blockchain/models/update_peer_details.rb +154 -0
  308. data/lib/oci/blockchain/models/work_request.rb +312 -0
  309. data/lib/oci/blockchain/models/work_request_collection.rb +150 -0
  310. data/lib/oci/blockchain/models/work_request_error.rb +173 -0
  311. data/lib/oci/blockchain/models/work_request_error_collection.rb +150 -0
  312. data/lib/oci/blockchain/models/work_request_log_entry.rb +160 -0
  313. data/lib/oci/blockchain/models/work_request_log_entry_collection.rb +150 -0
  314. data/lib/oci/blockchain/models/work_request_resource.rb +233 -0
  315. data/lib/oci/blockchain/models/work_request_resource_sub_type_detail.rb +206 -0
  316. data/lib/oci/blockchain/models/work_request_summary.rb +289 -0
  317. data/lib/oci/blockchain/util.rb +3 -0
  318. data/lib/oci/budget/budget.rb +2 -1
  319. data/lib/oci/budget/budget_client.rb +25 -27
  320. data/lib/oci/budget/budget_client_composite_operations.rb +2 -1
  321. data/lib/oci/budget/models/alert_rule.rb +2 -1
  322. data/lib/oci/budget/models/alert_rule_summary.rb +3 -2
  323. data/lib/oci/budget/models/alert_type.rb +2 -1
  324. data/lib/oci/budget/models/budget.rb +3 -2
  325. data/lib/oci/budget/models/budget_summary.rb +3 -2
  326. data/lib/oci/budget/models/create_alert_rule_details.rb +3 -2
  327. data/lib/oci/budget/models/create_budget_details.rb +3 -2
  328. data/lib/oci/budget/models/lifecycle_state.rb +2 -1
  329. data/lib/oci/budget/models/reset_period.rb +2 -1
  330. data/lib/oci/budget/models/sort_by.rb +2 -1
  331. data/lib/oci/budget/models/sort_order.rb +2 -1
  332. data/lib/oci/budget/models/target_type.rb +2 -1
  333. data/lib/oci/budget/models/threshold_type.rb +2 -1
  334. data/lib/oci/budget/models/update_alert_rule_details.rb +3 -2
  335. data/lib/oci/budget/models/update_budget_details.rb +2 -1
  336. data/lib/oci/budget/util.rb +2 -1
  337. data/lib/oci/cims/cims.rb +68 -0
  338. data/lib/oci/cims/incident_client.rb +586 -0
  339. data/lib/oci/cims/incident_client_composite_operations.rb +25 -0
  340. data/lib/oci/cims/models/activity_item.rb +275 -0
  341. data/lib/oci/cims/models/availability_domain.rb +45 -0
  342. data/lib/oci/{database/models/autonomous_data_warehouse_console_token_details.rb → cims/models/category.rb} +21 -21
  343. data/lib/oci/cims/models/classifier.rb +256 -0
  344. data/lib/oci/cims/models/contact.rb +219 -0
  345. data/lib/oci/cims/models/contact_list.rb +154 -0
  346. data/lib/oci/cims/models/contextual_data.rb +192 -0
  347. data/lib/oci/cims/models/create_category_details.rb +157 -0
  348. data/lib/oci/cims/models/create_incident.rb +226 -0
  349. data/lib/oci/cims/models/create_issue_type_details.rb +157 -0
  350. data/lib/oci/cims/models/create_item_details.rb +215 -0
  351. data/lib/oci/cims/models/create_limit_item_details.rb +234 -0
  352. data/lib/oci/cims/models/create_resource_details.rb +257 -0
  353. data/lib/oci/cims/models/create_sub_category_details.rb +157 -0
  354. data/lib/oci/cims/models/create_tech_support_item_details.rb +164 -0
  355. data/lib/oci/cims/models/create_ticket_details.rb +215 -0
  356. data/lib/oci/cims/models/create_user_details.rb +236 -0
  357. data/lib/oci/cims/models/error_code.rb +32 -0
  358. data/lib/oci/cims/models/incident.rb +258 -0
  359. data/lib/oci/cims/models/incident_resource_type.rb +198 -0
  360. data/lib/oci/cims/models/incident_summary.rb +248 -0
  361. data/lib/oci/cims/models/incident_type.rb +194 -0
  362. data/lib/oci/cims/models/issue_type.rb +164 -0
  363. data/lib/oci/cims/models/item.rb +227 -0
  364. data/lib/oci/cims/models/lifecycle_details.rb +13 -0
  365. data/lib/oci/cims/models/lifecycle_state.rb +11 -0
  366. data/lib/oci/cims/models/limit_item.rb +245 -0
  367. data/lib/oci/cims/models/problem_type.rb +13 -0
  368. data/lib/oci/cims/models/region.rb +32 -0
  369. data/lib/oci/cims/models/resource.rb +267 -0
  370. data/lib/oci/cims/models/scope.rb +13 -0
  371. data/lib/oci/cims/models/service_category.rb +270 -0
  372. data/lib/oci/cims/models/sort_by.rb +11 -0
  373. data/lib/oci/cims/models/sort_order.rb +11 -0
  374. data/lib/oci/cims/models/status.rb +160 -0
  375. data/lib/oci/cims/models/sub_category.rb +164 -0
  376. data/lib/oci/cims/models/tech_support_item.rb +165 -0
  377. data/lib/oci/cims/models/tenancy_information.rb +168 -0
  378. data/lib/oci/cims/models/ticket.rb +315 -0
  379. data/lib/oci/cims/models/time_zone.rb +37 -0
  380. data/lib/oci/cims/models/unit.rb +12 -0
  381. data/lib/oci/cims/models/update_activity_item_details.rb +190 -0
  382. data/lib/oci/cims/models/update_incident.rb +150 -0
  383. data/lib/oci/cims/models/update_item_details.rb +169 -0
  384. data/lib/oci/cims/models/update_resource_details.rb +152 -0
  385. data/lib/oci/cims/models/update_ticket_details.rb +153 -0
  386. data/lib/oci/cims/models/user.rb +261 -0
  387. data/lib/oci/cims/models/validation_response.rb +154 -0
  388. data/lib/oci/cims/user_client.rb +163 -0
  389. data/lib/oci/cims/user_client_composite_operations.rb +25 -0
  390. data/lib/oci/cims/util.rb +3 -0
  391. data/lib/oci/cloud_guard/cloud_guard.rb +182 -0
  392. data/lib/oci/cloud_guard/cloud_guard_client.rb +6101 -0
  393. data/lib/oci/cloud_guard/cloud_guard_client_composite_operations.rb +788 -0
  394. data/lib/oci/cloud_guard/models/activity_problem_aggregation.rb +192 -0
  395. data/lib/oci/cloud_guard/models/activity_problem_aggregation_collection.rb +150 -0
  396. data/lib/oci/cloud_guard/models/actor_type.rb +13 -0
  397. data/lib/oci/cloud_guard/models/attach_target_detector_recipe_details.rb +154 -0
  398. data/lib/oci/cloud_guard/models/attach_target_responder_recipe_details.rb +154 -0
  399. data/lib/oci/cloud_guard/models/candidate_responder_rule.rb +178 -0
  400. data/lib/oci/cloud_guard/models/change_detector_recipe_compartment_details.rb +154 -0
  401. data/lib/oci/cloud_guard/models/change_managed_list_compartment_details.rb +154 -0
  402. data/lib/oci/cloud_guard/models/change_responder_recipe_compartment_details.rb +154 -0
  403. data/lib/oci/cloud_guard/models/cloud_guard_status.rb +11 -0
  404. data/lib/oci/cloud_guard/models/composite_condition.rb +207 -0
  405. data/lib/oci/cloud_guard/models/condition.rb +187 -0
  406. data/lib/oci/cloud_guard/models/condition_filter_type.rb +11 -0
  407. data/lib/oci/cloud_guard/models/condition_group.rb +164 -0
  408. data/lib/oci/cloud_guard/models/condition_metadata_type.rb +164 -0
  409. data/lib/oci/cloud_guard/models/condition_metadata_type_collection.rb +150 -0
  410. data/lib/oci/cloud_guard/models/condition_metadata_type_summary.rb +199 -0
  411. data/lib/oci/cloud_guard/models/condition_operator.rb +191 -0
  412. data/lib/oci/cloud_guard/models/condition_operator_name.rb +18 -0
  413. data/lib/oci/cloud_guard/models/condition_type_enum.rb +12 -0
  414. data/lib/oci/cloud_guard/models/condition_value_type.rb +11 -0
  415. data/lib/oci/cloud_guard/models/config_value.rb +198 -0
  416. data/lib/oci/cloud_guard/models/configuration.rb +199 -0
  417. data/lib/oci/cloud_guard/models/configuration_list_item_type.rb +11 -0
  418. data/lib/oci/cloud_guard/models/create_detector_recipe_details.rb +238 -0
  419. data/lib/oci/cloud_guard/models/create_managed_list_details.rb +274 -0
  420. data/lib/oci/cloud_guard/models/create_responder_recipe_details.rb +238 -0
  421. data/lib/oci/cloud_guard/models/create_target_details.rb +312 -0
  422. data/lib/oci/cloud_guard/models/create_target_detector_recipe_details.rb +168 -0
  423. data/lib/oci/cloud_guard/models/create_target_responder_recipe_details.rb +168 -0
  424. data/lib/oci/cloud_guard/models/detector.rb +199 -0
  425. data/lib/oci/cloud_guard/models/detector_collection.rb +150 -0
  426. data/lib/oci/cloud_guard/models/detector_configuration.rb +198 -0
  427. data/lib/oci/cloud_guard/models/detector_details.rb +234 -0
  428. data/lib/oci/cloud_guard/models/detector_enum.rb +11 -0
  429. data/lib/oci/cloud_guard/models/detector_recipe.rb +406 -0
  430. data/lib/oci/cloud_guard/models/detector_recipe_collection.rb +150 -0
  431. data/lib/oci/cloud_guard/models/detector_recipe_detector_rule.rb +398 -0
  432. data/lib/oci/cloud_guard/models/detector_recipe_detector_rule_collection.rb +150 -0
  433. data/lib/oci/cloud_guard/models/detector_recipe_detector_rule_summary.rb +398 -0
  434. data/lib/oci/cloud_guard/models/detector_recipe_summary.rb +392 -0
  435. data/lib/oci/cloud_guard/models/detector_rule.rb +398 -0
  436. data/lib/oci/cloud_guard/models/detector_rule_collection.rb +150 -0
  437. data/lib/oci/cloud_guard/models/detector_rule_summary.rb +398 -0
  438. data/lib/oci/cloud_guard/models/detector_summary.rb +199 -0
  439. data/lib/oci/cloud_guard/models/event_status.rb +14 -0
  440. data/lib/oci/cloud_guard/models/execute_responder_execution_details.rb +150 -0
  441. data/lib/oci/cloud_guard/models/feed_provider_type.rb +11 -0
  442. data/lib/oci/cloud_guard/models/geographical_location.rb +160 -0
  443. data/lib/oci/cloud_guard/models/impacted_resource_collection.rb +150 -0
  444. data/lib/oci/cloud_guard/models/impacted_resource_summary.rb +244 -0
  445. data/lib/oci/cloud_guard/models/lifecycle_state.rb +16 -0
  446. data/lib/oci/cloud_guard/models/managed_list.rb +437 -0
  447. data/lib/oci/cloud_guard/models/managed_list_collection.rb +150 -0
  448. data/lib/oci/cloud_guard/models/managed_list_summary.rb +437 -0
  449. data/lib/oci/cloud_guard/models/managed_list_type.rb +20 -0
  450. data/lib/oci/cloud_guard/models/managed_list_type_collection.rb +150 -0
  451. data/lib/oci/cloud_guard/models/managed_list_type_summary.rb +199 -0
  452. data/lib/oci/cloud_guard/models/operator_summary.rb +246 -0
  453. data/lib/oci/cloud_guard/models/operator_type.rb +13 -0
  454. data/lib/oci/cloud_guard/models/owner_type.rb +11 -0
  455. data/lib/oci/cloud_guard/models/political_location.rb +170 -0
  456. data/lib/oci/cloud_guard/models/problem.rb +439 -0
  457. data/lib/oci/cloud_guard/models/problem_aggregation.rb +164 -0
  458. data/lib/oci/cloud_guard/models/problem_aggregation_collection.rb +150 -0
  459. data/lib/oci/cloud_guard/models/problem_collection.rb +150 -0
  460. data/lib/oci/cloud_guard/models/problem_dimension.rb +13 -0
  461. data/lib/oci/cloud_guard/models/problem_history_collection.rb +150 -0
  462. data/lib/oci/cloud_guard/models/problem_history_summary.rb +328 -0
  463. data/lib/oci/cloud_guard/models/problem_lifecycle_detail.rb +12 -0
  464. data/lib/oci/cloud_guard/models/problem_lifecycle_state.rb +11 -0
  465. data/lib/oci/cloud_guard/models/problem_summary.rb +429 -0
  466. data/lib/oci/cloud_guard/models/problem_trend_aggregation.rb +192 -0
  467. data/lib/oci/cloud_guard/models/problem_trend_aggregation_collection.rb +150 -0
  468. data/lib/oci/cloud_guard/models/recommendation_lifecycle_detail.rb +12 -0
  469. data/lib/oci/cloud_guard/models/recommendation_summary.rb +402 -0
  470. data/lib/oci/cloud_guard/models/recommendation_summary_collection.rb +150 -0
  471. data/lib/oci/cloud_guard/models/recommendation_type.rb +11 -0
  472. data/lib/oci/cloud_guard/models/resource_type_collection.rb +150 -0
  473. data/lib/oci/cloud_guard/models/resource_type_summary.rb +174 -0
  474. data/lib/oci/cloud_guard/models/responder_activity_collection.rb +150 -0
  475. data/lib/oci/cloud_guard/models/responder_activity_summary.rb +321 -0
  476. data/lib/oci/cloud_guard/models/responder_activity_type.rb +11 -0
  477. data/lib/oci/cloud_guard/models/responder_configuration.rb +174 -0
  478. data/lib/oci/cloud_guard/models/responder_dimension.rb +11 -0
  479. data/lib/oci/cloud_guard/models/responder_execution.rb +415 -0
  480. data/lib/oci/cloud_guard/models/responder_execution_aggregation.rb +164 -0
  481. data/lib/oci/cloud_guard/models/responder_execution_aggregation_collection.rb +150 -0
  482. data/lib/oci/cloud_guard/models/responder_execution_collection.rb +150 -0
  483. data/lib/oci/cloud_guard/models/responder_execution_modes.rb +12 -0
  484. data/lib/oci/cloud_guard/models/responder_execution_states.rb +16 -0
  485. data/lib/oci/cloud_guard/models/responder_execution_status.rb +14 -0
  486. data/lib/oci/cloud_guard/models/responder_execution_summary.rb +429 -0
  487. data/lib/oci/cloud_guard/models/responder_execution_trend_aggregation.rb +192 -0
  488. data/lib/oci/cloud_guard/models/responder_execution_trend_aggregation_collection.rb +150 -0
  489. data/lib/oci/cloud_guard/models/responder_mode_types.rb +11 -0
  490. data/lib/oci/cloud_guard/models/responder_recipe.rb +391 -0
  491. data/lib/oci/cloud_guard/models/responder_recipe_collection.rb +150 -0
  492. data/lib/oci/cloud_guard/models/responder_recipe_responder_rule.rb +361 -0
  493. data/lib/oci/cloud_guard/models/responder_recipe_responder_rule_collection.rb +150 -0
  494. data/lib/oci/cloud_guard/models/responder_recipe_responder_rule_summary.rb +357 -0
  495. data/lib/oci/cloud_guard/models/responder_recipe_summary.rb +377 -0
  496. data/lib/oci/cloud_guard/models/responder_rule.rb +343 -0
  497. data/lib/oci/cloud_guard/models/responder_rule_collection.rb +150 -0
  498. data/lib/oci/cloud_guard/models/responder_rule_details.rb +203 -0
  499. data/lib/oci/cloud_guard/models/responder_rule_execution_details.rb +159 -0
  500. data/lib/oci/cloud_guard/models/responder_rule_summary.rb +343 -0
  501. data/lib/oci/cloud_guard/models/responder_type.rb +11 -0
  502. data/lib/oci/cloud_guard/models/risk_level.rb +14 -0
  503. data/lib/oci/cloud_guard/models/risk_score_aggregation.rb +168 -0
  504. data/lib/oci/cloud_guard/models/risk_score_aggregation_collection.rb +150 -0
  505. data/lib/oci/cloud_guard/models/rule_summary.rb +171 -0
  506. data/lib/oci/cloud_guard/models/security_rating.rb +13 -0
  507. data/lib/oci/cloud_guard/models/security_score_aggregation.rb +204 -0
  508. data/lib/oci/cloud_guard/models/security_score_aggregation_collection.rb +150 -0
  509. data/lib/oci/cloud_guard/models/security_score_trend_aggregation.rb +232 -0
  510. data/lib/oci/cloud_guard/models/security_score_trend_aggregation_collection.rb +150 -0
  511. data/lib/oci/cloud_guard/models/service_type_summary.rb +164 -0
  512. data/lib/oci/cloud_guard/models/simple_condition.rb +233 -0
  513. data/lib/oci/cloud_guard/models/skip_bulk_responder_execution_details.rb +154 -0
  514. data/lib/oci/cloud_guard/models/sort_orders.rb +11 -0
  515. data/lib/oci/cloud_guard/models/target.rb +424 -0
  516. data/lib/oci/cloud_guard/models/target_collection.rb +150 -0
  517. data/lib/oci/cloud_guard/models/target_detector_details.rb +239 -0
  518. data/lib/oci/cloud_guard/models/target_detector_recipe.rb +355 -0
  519. data/lib/oci/cloud_guard/models/target_detector_recipe_collection.rb +150 -0
  520. data/lib/oci/cloud_guard/models/target_detector_recipe_detector_rule.rb +384 -0
  521. data/lib/oci/cloud_guard/models/target_detector_recipe_detector_rule_collection.rb +150 -0
  522. data/lib/oci/cloud_guard/models/target_detector_recipe_detector_rule_summary.rb +384 -0
  523. data/lib/oci/cloud_guard/models/target_detector_recipe_summary.rb +341 -0
  524. data/lib/oci/cloud_guard/models/target_resource_type.rb +12 -0
  525. data/lib/oci/cloud_guard/models/target_responder_recipe.rb +288 -0
  526. data/lib/oci/cloud_guard/models/target_responder_recipe_collection.rb +150 -0
  527. data/lib/oci/cloud_guard/models/target_responder_recipe_responder_rule.rb +361 -0
  528. data/lib/oci/cloud_guard/models/target_responder_recipe_responder_rule_collection.rb +150 -0
  529. data/lib/oci/cloud_guard/models/target_responder_recipe_responder_rule_summary.rb +357 -0
  530. data/lib/oci/{database/models/autonomous_data_warehouse_backup.rb → cloud_guard/models/target_responder_recipe_summary.rb} +80 -79
  531. data/lib/oci/cloud_guard/models/target_summary.rb +372 -0
  532. data/lib/oci/cloud_guard/models/trigger_responder_details.rb +164 -0
  533. data/lib/oci/cloud_guard/models/update_bulk_problem_status_details.rb +178 -0
  534. data/lib/oci/cloud_guard/models/update_configuration_details.rb +193 -0
  535. data/lib/oci/cloud_guard/models/update_detector_recipe_details.rb +210 -0
  536. data/lib/oci/cloud_guard/models/update_detector_recipe_detector_rule.rb +164 -0
  537. data/lib/oci/cloud_guard/models/update_detector_recipe_detector_rule_details.rb +149 -0
  538. data/lib/oci/cloud_guard/models/update_detector_rule_details.rb +213 -0
  539. data/lib/oci/cloud_guard/models/update_managed_list_details.rb +210 -0
  540. data/lib/oci/cloud_guard/models/update_problem_status_details.rb +174 -0
  541. data/lib/oci/cloud_guard/models/update_responder_recipe_details.rb +210 -0
  542. data/lib/oci/cloud_guard/models/update_responder_recipe_responder_rule.rb +164 -0
  543. data/lib/oci/cloud_guard/models/update_responder_recipe_responder_rule_details.rb +150 -0
  544. data/lib/oci/cloud_guard/models/update_responder_rule_details.rb +154 -0
  545. data/lib/oci/cloud_guard/models/update_target_details.rb +246 -0
  546. data/lib/oci/cloud_guard/models/update_target_detector_recipe.rb +168 -0
  547. data/lib/oci/cloud_guard/models/update_target_detector_recipe_details.rb +154 -0
  548. data/lib/oci/cloud_guard/models/update_target_detector_recipe_detector_rule_details.rb +150 -0
  549. data/lib/oci/cloud_guard/models/update_target_detector_rule_details.rb +154 -0
  550. data/lib/oci/cloud_guard/models/update_target_recipe_detector_rule_details.rb +164 -0
  551. data/lib/oci/cloud_guard/models/update_target_recipe_responder_rule_details.rb +164 -0
  552. data/lib/oci/cloud_guard/models/update_target_responder_recipe.rb +168 -0
  553. data/lib/oci/cloud_guard/models/update_target_responder_recipe_details.rb +154 -0
  554. data/lib/oci/cloud_guard/models/update_target_responder_recipe_responder_rule_details.rb +150 -0
  555. data/lib/oci/cloud_guard/models/update_target_responder_rule_details.rb +182 -0
  556. data/lib/oci/cloud_guard/util.rb +3 -0
  557. data/lib/oci/compute_instance_agent/compute_instance_agent.rb +39 -0
  558. data/lib/oci/compute_instance_agent/compute_instance_agent_client.rb +528 -0
  559. data/lib/oci/compute_instance_agent/compute_instance_agent_client_composite_operations.rb +25 -0
  560. data/lib/oci/compute_instance_agent/models/create_instance_agent_command_details.rb +205 -0
  561. data/lib/oci/compute_instance_agent/models/instance_agent_command.rb +256 -0
  562. data/lib/oci/compute_instance_agent/models/instance_agent_command_content.rb +159 -0
  563. data/lib/oci/compute_instance_agent/models/instance_agent_command_content_info.rb +236 -0
  564. data/lib/oci/compute_instance_agent/models/instance_agent_command_execution.rb +321 -0
  565. data/lib/oci/compute_instance_agent/models/instance_agent_command_execution_output_content.rb +218 -0
  566. data/lib/oci/compute_instance_agent/models/instance_agent_command_execution_output_via_object_storage_tuple_details.rb +198 -0
  567. data/lib/oci/compute_instance_agent/models/instance_agent_command_execution_output_via_object_storage_uri_details.rb +170 -0
  568. data/lib/oci/compute_instance_agent/models/instance_agent_command_execution_output_via_text_details.rb +180 -0
  569. data/lib/oci/compute_instance_agent/models/instance_agent_command_execution_summary.rb +321 -0
  570. data/lib/oci/compute_instance_agent/models/instance_agent_command_output_details.rb +197 -0
  571. data/lib/oci/compute_instance_agent/models/instance_agent_command_output_via_object_storage_tuple_details.rb +190 -0
  572. data/lib/oci/compute_instance_agent/models/instance_agent_command_output_via_object_storage_uri_details.rb +162 -0
  573. data/lib/oci/compute_instance_agent/models/instance_agent_command_output_via_text_details.rb +145 -0
  574. data/lib/oci/compute_instance_agent/models/instance_agent_command_source_details.rb +197 -0
  575. data/lib/oci/compute_instance_agent/models/instance_agent_command_source_via_object_storage_tuple_details.rb +190 -0
  576. data/lib/oci/compute_instance_agent/models/instance_agent_command_source_via_object_storage_uri_details.rb +162 -0
  577. data/lib/oci/compute_instance_agent/models/instance_agent_command_source_via_text_details.rb +172 -0
  578. data/lib/oci/compute_instance_agent/models/instance_agent_command_summary.rb +224 -0
  579. data/lib/oci/compute_instance_agent/models/instance_agent_command_target.rb +154 -0
  580. data/lib/oci/compute_instance_agent/util.rb +3 -0
  581. data/lib/oci/config.rb +44 -3
  582. data/lib/oci/config_file_loader.rb +9 -1
  583. data/lib/oci/container_engine/container_engine.rb +12 -1
  584. data/lib/oci/container_engine/container_engine_client.rb +29 -28
  585. data/lib/oci/container_engine/container_engine_client_composite_operations.rb +2 -1
  586. data/lib/oci/container_engine/models/add_on_options.rb +2 -1
  587. data/lib/oci/container_engine/models/admission_controller_options.rb +156 -0
  588. data/lib/oci/container_engine/models/cluster.rb +2 -1
  589. data/lib/oci/container_engine/models/cluster_create_options.rb +20 -5
  590. data/lib/oci/container_engine/models/cluster_endpoints.rb +2 -1
  591. data/lib/oci/container_engine/models/cluster_lifecycle_state.rb +2 -1
  592. data/lib/oci/container_engine/models/cluster_metadata.rb +2 -1
  593. data/lib/oci/container_engine/models/cluster_options.rb +2 -1
  594. data/lib/oci/container_engine/models/cluster_summary.rb +2 -1
  595. data/lib/oci/container_engine/models/create_cluster_details.rb +2 -1
  596. data/lib/oci/container_engine/models/create_cluster_kubeconfig_content_details.rb +6 -6
  597. data/lib/oci/container_engine/models/create_node_pool_details.rb +39 -5
  598. data/lib/oci/container_engine/models/create_node_pool_node_config_details.rb +2 -1
  599. data/lib/oci/container_engine/models/create_node_shape_config_details.rb +164 -0
  600. data/lib/oci/container_engine/models/key_value.rb +2 -1
  601. data/lib/oci/container_engine/models/kubernetes_network_config.rb +2 -1
  602. data/lib/oci/container_engine/models/node.rb +45 -2
  603. data/lib/oci/container_engine/models/node_error.rb +2 -1
  604. data/lib/oci/container_engine/models/node_pool.rb +51 -6
  605. data/lib/oci/container_engine/models/node_pool_node_config_details.rb +2 -1
  606. data/lib/oci/container_engine/models/node_pool_options.rb +25 -11
  607. data/lib/oci/container_engine/models/node_pool_placement_config_details.rb +2 -1
  608. data/lib/oci/container_engine/models/node_pool_summary.rb +50 -5
  609. data/lib/oci/container_engine/models/node_shape_config.rb +167 -0
  610. data/lib/oci/container_engine/models/node_source_details.rb +191 -0
  611. data/lib/oci/container_engine/models/node_source_option.rb +206 -0
  612. data/lib/oci/container_engine/models/node_source_type.rb +10 -0
  613. data/lib/oci/container_engine/models/node_source_via_image_details.rb +176 -0
  614. data/lib/oci/container_engine/models/node_source_via_image_option.rb +167 -0
  615. data/lib/oci/container_engine/models/sort_order.rb +2 -1
  616. data/lib/oci/container_engine/models/update_cluster_details.rb +15 -5
  617. data/lib/oci/container_engine/models/update_cluster_options_details.rb +154 -0
  618. data/lib/oci/container_engine/models/update_node_pool_details.rb +78 -5
  619. data/lib/oci/container_engine/models/update_node_pool_node_config_details.rb +2 -1
  620. data/lib/oci/container_engine/models/update_node_shape_config_details.rb +164 -0
  621. data/lib/oci/container_engine/models/work_request.rb +2 -1
  622. data/lib/oci/container_engine/models/work_request_error.rb +2 -1
  623. data/lib/oci/container_engine/models/work_request_log_entry.rb +2 -1
  624. data/lib/oci/container_engine/models/work_request_operation_type.rb +2 -1
  625. data/lib/oci/container_engine/models/work_request_resource.rb +2 -1
  626. data/lib/oci/container_engine/models/work_request_status.rb +2 -1
  627. data/lib/oci/container_engine/models/work_request_summary.rb +2 -1
  628. data/lib/oci/container_engine/util.rb +2 -1
  629. data/lib/oci/core/blockstorage_client.rb +168 -39
  630. data/lib/oci/core/blockstorage_client_composite_operations.rb +42 -1
  631. data/lib/oci/core/compute_client.rb +1086 -145
  632. data/lib/oci/core/compute_client_composite_operations.rb +43 -2
  633. data/lib/oci/core/compute_management_client.rb +80 -41
  634. data/lib/oci/core/compute_management_client_composite_operations.rb +12 -11
  635. data/lib/oci/core/core.rb +70 -1
  636. data/lib/oci/core/models/add_image_shape_compatibility_entry_details.rb +166 -0
  637. data/lib/oci/core/models/add_network_security_group_security_rules_details.rb +2 -1
  638. data/lib/oci/core/models/add_public_ip_pool_capacity_details.rb +170 -0
  639. data/lib/oci/core/models/add_security_rule_details.rb +6 -3
  640. data/lib/oci/core/models/add_vcn_cidr_details.rb +155 -0
  641. data/lib/oci/core/models/added_network_security_group_security_rules.rb +2 -1
  642. data/lib/oci/core/models/app_catalog_listing.rb +3 -2
  643. data/lib/oci/core/models/app_catalog_listing_resource_version.rb +3 -2
  644. data/lib/oci/core/models/app_catalog_listing_resource_version_agreements.rb +3 -2
  645. data/lib/oci/core/models/app_catalog_listing_resource_version_summary.rb +3 -2
  646. data/lib/oci/core/models/app_catalog_listing_summary.rb +2 -1
  647. data/lib/oci/core/models/app_catalog_subscription.rb +3 -2
  648. data/lib/oci/core/models/app_catalog_subscription_summary.rb +3 -2
  649. data/lib/oci/core/models/attach_boot_volume_details.rb +2 -1
  650. data/lib/oci/core/models/attach_emulated_volume_details.rb +7 -2
  651. data/lib/oci/core/models/attach_i_scsi_volume_details.rb +7 -2
  652. data/lib/oci/core/models/attach_load_balancer_details.rb +4 -2
  653. data/lib/oci/core/models/attach_paravirtualized_volume_details.rb +7 -2
  654. data/lib/oci/core/models/attach_service_determined_volume_details.rb +7 -2
  655. data/lib/oci/core/models/attach_vnic_details.rb +2 -1
  656. data/lib/oci/core/models/attach_volume_details.rb +22 -3
  657. data/lib/oci/core/models/bgp_session_info.rb +2 -1
  658. data/lib/oci/core/models/boolean_image_capability_schema_descriptor.rb +166 -0
  659. data/lib/oci/core/models/boot_volume.rb +63 -7
  660. data/lib/oci/core/models/boot_volume_attachment.rb +3 -2
  661. data/lib/oci/core/models/boot_volume_backup.rb +21 -6
  662. data/lib/oci/core/models/boot_volume_kms_key.rb +4 -3
  663. data/lib/oci/core/models/boot_volume_source_details.rb +2 -1
  664. data/lib/oci/core/models/boot_volume_source_from_boot_volume_backup_details.rb +2 -1
  665. data/lib/oci/core/models/boot_volume_source_from_boot_volume_details.rb +2 -1
  666. data/lib/oci/core/models/bulk_add_virtual_circuit_public_prefixes_details.rb +2 -1
  667. data/lib/oci/core/models/bulk_delete_virtual_circuit_public_prefixes_details.rb +2 -1
  668. data/lib/oci/core/models/byoip_allocated_range_collection.rb +150 -0
  669. data/lib/oci/core/models/byoip_allocated_range_summary.rb +169 -0
  670. data/lib/oci/core/models/byoip_range.rb +388 -0
  671. data/lib/oci/core/models/byoip_range_collection.rb +150 -0
  672. data/lib/oci/core/models/byoip_range_summary.rb +276 -0
  673. data/lib/oci/core/models/capture_console_history_details.rb +2 -1
  674. data/lib/oci/core/models/change_boot_volume_backup_compartment_details.rb +2 -1
  675. data/lib/oci/core/models/change_boot_volume_compartment_details.rb +2 -1
  676. data/lib/oci/core/models/change_byoip_range_compartment_details.rb +156 -0
  677. data/lib/oci/core/models/change_cluster_network_compartment_details.rb +4 -3
  678. data/lib/oci/core/models/change_compute_image_capability_schema_compartment_details.rb +156 -0
  679. data/lib/oci/core/models/change_cpe_compartment_details.rb +2 -1
  680. data/lib/oci/core/models/change_cross_connect_compartment_details.rb +2 -1
  681. data/lib/oci/core/models/change_cross_connect_group_compartment_details.rb +2 -1
  682. data/lib/oci/core/models/change_dedicated_vm_host_compartment_details.rb +2 -1
  683. data/lib/oci/core/models/change_dhcp_options_compartment_details.rb +2 -1
  684. data/lib/oci/core/models/change_drg_compartment_details.rb +2 -1
  685. data/lib/oci/core/models/change_image_compartment_details.rb +2 -1
  686. data/lib/oci/core/models/change_instance_compartment_details.rb +2 -1
  687. data/lib/oci/core/models/change_instance_configuration_compartment_details.rb +2 -1
  688. data/lib/oci/core/models/change_instance_pool_compartment_details.rb +2 -1
  689. data/lib/oci/core/models/change_internet_gateway_compartment_details.rb +2 -1
  690. data/lib/oci/core/models/change_ip_sec_connection_compartment_details.rb +2 -1
  691. data/lib/oci/core/models/change_local_peering_gateway_compartment_details.rb +2 -1
  692. data/lib/oci/core/models/change_nat_gateway_compartment_details.rb +2 -1
  693. data/lib/oci/core/models/change_network_security_group_compartment_details.rb +2 -1
  694. data/lib/oci/core/models/change_public_ip_compartment_details.rb +2 -1
  695. data/lib/oci/core/models/change_public_ip_pool_compartment_details.rb +156 -0
  696. data/lib/oci/core/models/change_remote_peering_connection_compartment_details.rb +2 -1
  697. data/lib/oci/core/models/change_route_table_compartment_details.rb +2 -1
  698. data/lib/oci/core/models/change_security_list_compartment_details.rb +2 -1
  699. data/lib/oci/core/models/change_service_gateway_compartment_details.rb +2 -1
  700. data/lib/oci/core/models/change_subnet_compartment_details.rb +2 -1
  701. data/lib/oci/core/models/change_vcn_compartment_details.rb +2 -1
  702. data/lib/oci/core/models/change_virtual_circuit_compartment_details.rb +2 -1
  703. data/lib/oci/core/models/change_vlan_compartment_details.rb +155 -0
  704. data/lib/oci/core/models/change_volume_backup_compartment_details.rb +2 -1
  705. data/lib/oci/core/models/change_volume_compartment_details.rb +2 -1
  706. data/lib/oci/core/models/change_volume_group_backup_compartment_details.rb +2 -1
  707. data/lib/oci/core/models/change_volume_group_compartment_details.rb +2 -1
  708. data/lib/oci/core/models/cluster_network.rb +19 -9
  709. data/lib/oci/core/models/cluster_network_placement_configuration_details.rb +6 -2
  710. data/lib/oci/core/models/cluster_network_summary.rb +13 -7
  711. data/lib/oci/core/models/compute_global_image_capability_schema.rb +249 -0
  712. data/lib/oci/core/models/compute_global_image_capability_schema_summary.rb +248 -0
  713. data/lib/oci/core/models/compute_global_image_capability_schema_version.rb +214 -0
  714. data/lib/oci/core/models/compute_global_image_capability_schema_version_summary.rb +197 -0
  715. data/lib/oci/core/models/compute_image_capability_schema.rb +295 -0
  716. data/lib/oci/core/models/compute_image_capability_schema_summary.rb +263 -0
  717. data/lib/oci/core/models/compute_instance_details.rb +2 -1
  718. data/lib/oci/core/models/connect_local_peering_gateways_details.rb +2 -1
  719. data/lib/oci/core/models/connect_remote_peering_connections_details.rb +2 -1
  720. data/lib/oci/core/models/console_history.rb +3 -2
  721. data/lib/oci/core/models/copy_boot_volume_backup_details.rb +195 -0
  722. data/lib/oci/core/models/copy_volume_backup_details.rb +3 -2
  723. data/lib/oci/core/models/cpe.rb +32 -3
  724. data/lib/oci/core/models/cpe_device_config_answer.rb +166 -0
  725. data/lib/oci/{database/models/create_autonomous_data_warehouse_backup_details.rb → core/models/cpe_device_config_question.rb} +28 -17
  726. data/lib/oci/core/models/cpe_device_info.rb +164 -0
  727. data/lib/oci/core/models/cpe_device_shape_detail.rb +204 -0
  728. data/lib/oci/core/models/cpe_device_shape_summary.rb +168 -0
  729. data/lib/oci/core/models/create_app_catalog_subscription_details.rb +8 -7
  730. data/lib/oci/core/models/create_boot_volume_backup_details.rb +2 -1
  731. data/lib/oci/core/models/create_boot_volume_details.rb +47 -6
  732. data/lib/oci/core/models/create_byoip_range_details.rb +223 -0
  733. data/lib/oci/core/models/create_cluster_network_details.rb +14 -6
  734. data/lib/oci/core/models/create_cluster_network_instance_pool_details.rb +14 -3
  735. data/lib/oci/core/models/create_compute_image_capability_schema_details.rb +250 -0
  736. data/lib/oci/core/models/create_cpe_details.rb +33 -6
  737. data/lib/oci/core/models/create_cross_connect_details.rb +2 -1
  738. data/lib/oci/core/models/create_cross_connect_group_details.rb +2 -1
  739. data/lib/oci/core/models/create_dedicated_vm_host_details.rb +2 -1
  740. data/lib/oci/core/models/create_dhcp_details.rb +2 -1
  741. data/lib/oci/core/models/create_drg_attachment_details.rb +2 -1
  742. data/lib/oci/core/models/create_drg_details.rb +2 -1
  743. data/lib/oci/core/models/create_image_details.rb +3 -2
  744. data/lib/oci/core/models/create_instance_configuration_base.rb +2 -1
  745. data/lib/oci/core/models/create_instance_configuration_details.rb +2 -1
  746. data/lib/oci/core/models/create_instance_configuration_from_instance_details.rb +2 -1
  747. data/lib/oci/core/models/create_instance_console_connection_details.rb +2 -1
  748. data/lib/oci/core/models/create_instance_pool_details.rb +7 -3
  749. data/lib/oci/core/models/create_instance_pool_placement_configuration_details.rb +34 -3
  750. data/lib/oci/core/models/create_internet_gateway_details.rb +2 -1
  751. data/lib/oci/core/models/create_ip_sec_connection_details.rb +3 -2
  752. data/lib/oci/core/models/create_ip_sec_connection_tunnel_details.rb +2 -3
  753. data/lib/oci/core/models/create_ip_sec_tunnel_bgp_session_details.rb +2 -1
  754. data/lib/oci/core/models/create_ipv6_details.rb +3 -2
  755. data/lib/oci/core/models/create_local_peering_gateway_details.rb +2 -1
  756. data/lib/oci/core/models/create_nat_gateway_details.rb +21 -5
  757. data/lib/oci/core/models/create_network_security_group_details.rb +2 -1
  758. data/lib/oci/core/models/create_private_ip_details.rb +25 -6
  759. data/lib/oci/core/models/create_public_ip_details.rb +20 -5
  760. data/lib/oci/core/models/create_public_ip_pool_details.rb +207 -0
  761. data/lib/oci/core/models/create_remote_peering_connection_details.rb +2 -1
  762. data/lib/oci/core/models/create_route_table_details.rb +2 -1
  763. data/lib/oci/core/models/create_security_list_details.rb +2 -1
  764. data/lib/oci/core/models/create_service_gateway_details.rb +2 -1
  765. data/lib/oci/core/models/create_subnet_details.rb +7 -3
  766. data/lib/oci/core/models/create_vcn_details.rb +27 -5
  767. data/lib/oci/core/models/create_virtual_circuit_details.rb +23 -3
  768. data/lib/oci/core/models/create_virtual_circuit_public_prefix_details.rb +3 -2
  769. data/lib/oci/core/models/create_vlan_details.rb +306 -0
  770. data/lib/oci/core/models/create_vnic_details.rb +51 -6
  771. data/lib/oci/core/models/create_volume_backup_details.rb +2 -1
  772. data/lib/oci/core/models/create_volume_backup_policy_assignment_details.rb +4 -3
  773. data/lib/oci/core/models/create_volume_backup_policy_details.rb +29 -5
  774. data/lib/oci/core/models/create_volume_details.rb +49 -6
  775. data/lib/oci/core/models/create_volume_group_backup_details.rb +2 -1
  776. data/lib/oci/core/models/create_volume_group_details.rb +2 -1
  777. data/lib/oci/core/models/cross_connect.rb +3 -2
  778. data/lib/oci/core/models/cross_connect_group.rb +3 -2
  779. data/lib/oci/core/models/cross_connect_location.rb +2 -1
  780. data/lib/oci/core/models/cross_connect_mapping.rb +6 -3
  781. data/lib/oci/core/models/cross_connect_port_speed_shape.rb +2 -1
  782. data/lib/oci/core/models/cross_connect_status.rb +2 -1
  783. data/lib/oci/core/models/dedicated_vm_host.rb +3 -2
  784. data/lib/oci/core/models/dedicated_vm_host_instance_shape_summary.rb +2 -1
  785. data/lib/oci/core/models/dedicated_vm_host_instance_summary.rb +3 -2
  786. data/lib/oci/core/models/dedicated_vm_host_shape_summary.rb +2 -1
  787. data/lib/oci/core/models/dedicated_vm_host_summary.rb +3 -2
  788. data/lib/oci/core/models/delete_virtual_circuit_public_prefix_details.rb +2 -1
  789. data/lib/oci/core/models/detach_load_balancer_details.rb +2 -1
  790. data/lib/oci/core/models/device.rb +2 -1
  791. data/lib/oci/core/models/dhcp_dns_option.rb +2 -1
  792. data/lib/oci/core/models/dhcp_option.rb +2 -1
  793. data/lib/oci/core/models/dhcp_options.rb +3 -2
  794. data/lib/oci/core/models/dhcp_search_domain_option.rb +2 -1
  795. data/lib/oci/core/models/drg.rb +3 -2
  796. data/lib/oci/core/models/drg_attachment.rb +3 -2
  797. data/lib/oci/core/models/drg_redundancy_status.rb +188 -0
  798. data/lib/oci/core/models/egress_security_rule.rb +19 -6
  799. data/lib/oci/core/models/emulated_volume_attachment.rb +7 -2
  800. data/lib/oci/core/models/enum_integer_image_capability_descriptor.rb +176 -0
  801. data/lib/oci/core/models/enum_string_image_capability_schema_descriptor.rb +176 -0
  802. data/lib/oci/core/models/export_image_details.rb +2 -1
  803. data/lib/oci/core/models/export_image_via_object_storage_tuple_details.rb +2 -1
  804. data/lib/oci/core/models/export_image_via_object_storage_uri_details.rb +2 -1
  805. data/lib/oci/core/models/fast_connect_provider_service.rb +2 -1
  806. data/lib/oci/core/models/fast_connect_provider_service_key.rb +3 -2
  807. data/lib/oci/core/models/get_public_ip_by_ip_address_details.rb +3 -2
  808. data/lib/oci/core/models/get_public_ip_by_private_ip_id_details.rb +2 -1
  809. data/lib/oci/core/models/i_scsi_volume_attachment.rb +12 -8
  810. data/lib/oci/core/models/icmp_options.rb +2 -1
  811. data/lib/oci/core/models/image.rb +4 -3
  812. data/lib/oci/core/models/image_capability_schema_descriptor.rb +204 -0
  813. data/lib/oci/core/models/image_memory_constraints.rb +168 -0
  814. data/lib/oci/core/models/image_ocpu_constraints.rb +160 -0
  815. data/lib/oci/core/models/image_shape_compatibility_entry.rb +32 -5
  816. data/lib/oci/core/models/image_shape_compatibility_summary.rb +190 -0
  817. data/lib/oci/core/models/image_source_details.rb +2 -1
  818. data/lib/oci/core/models/image_source_via_object_storage_tuple_details.rb +2 -1
  819. data/lib/oci/core/models/image_source_via_object_storage_uri_details.rb +2 -1
  820. data/lib/oci/core/models/ingress_security_rule.rb +19 -6
  821. data/lib/oci/core/models/instance.rb +54 -9
  822. data/lib/oci/core/models/instance_agent_config.rb +23 -5
  823. data/lib/oci/core/models/instance_agent_features.rb +21 -5
  824. data/lib/oci/core/models/instance_availability_config.rb +181 -0
  825. data/lib/oci/core/models/instance_configuration.rb +3 -2
  826. data/lib/oci/core/models/instance_configuration_attach_vnic_details.rb +2 -1
  827. data/lib/oci/core/models/instance_configuration_attach_volume_details.rb +31 -2
  828. data/lib/oci/core/models/instance_configuration_availability_config.rb +181 -0
  829. data/lib/oci/core/models/instance_configuration_block_volume_details.rb +2 -1
  830. data/lib/oci/core/models/instance_configuration_create_vnic_details.rb +39 -2
  831. data/lib/oci/core/models/instance_configuration_create_volume_details.rb +44 -2
  832. data/lib/oci/core/models/instance_configuration_instance_details.rb +2 -1
  833. data/lib/oci/core/models/instance_configuration_instance_options.rb +157 -0
  834. data/lib/oci/core/models/instance_configuration_instance_source_details.rb +2 -1
  835. data/lib/oci/core/models/instance_configuration_instance_source_via_boot_volume_details.rb +2 -1
  836. data/lib/oci/core/models/instance_configuration_instance_source_via_image_details.rb +2 -1
  837. data/lib/oci/core/models/instance_configuration_iscsi_attach_volume_details.rb +11 -2
  838. data/lib/oci/core/models/instance_configuration_launch_instance_agent_config_details.rb +176 -0
  839. data/lib/oci/core/models/instance_configuration_launch_instance_details.rb +204 -27
  840. data/lib/oci/core/models/instance_configuration_launch_instance_shape_config_details.rb +178 -0
  841. data/lib/oci/core/models/instance_configuration_launch_options.rb +334 -0
  842. data/lib/oci/core/models/instance_configuration_paravirtualized_attach_volume_details.rb +31 -5
  843. data/lib/oci/core/models/instance_configuration_summary.rb +3 -2
  844. data/lib/oci/core/models/instance_configuration_volume_source_details.rb +2 -1
  845. data/lib/oci/core/models/instance_configuration_volume_source_from_volume_backup_details.rb +2 -1
  846. data/lib/oci/core/models/instance_configuration_volume_source_from_volume_details.rb +2 -1
  847. data/lib/oci/core/models/instance_console_connection.rb +3 -2
  848. data/lib/oci/core/models/instance_credentials.rb +2 -1
  849. data/lib/oci/core/models/instance_options.rb +157 -0
  850. data/lib/oci/core/models/instance_pool.rb +11 -6
  851. data/lib/oci/core/models/instance_pool_instance_load_balancer_backend.rb +2 -1
  852. data/lib/oci/core/models/instance_pool_load_balancer_attachment.rb +7 -4
  853. data/lib/oci/core/models/instance_pool_placement_configuration.rb +34 -3
  854. data/lib/oci/core/models/instance_pool_placement_secondary_vnic_subnet.rb +5 -4
  855. data/lib/oci/core/models/instance_pool_summary.rb +3 -2
  856. data/lib/oci/core/models/instance_shape_config.rb +290 -0
  857. data/lib/oci/core/models/instance_source_details.rb +2 -1
  858. data/lib/oci/core/models/instance_source_via_boot_volume_details.rb +2 -1
  859. data/lib/oci/core/models/instance_source_via_image_details.rb +3 -2
  860. data/lib/oci/core/models/instance_summary.rb +4 -3
  861. data/lib/oci/core/models/internet_gateway.rb +3 -2
  862. data/lib/oci/core/models/ip_sec_connection.rb +4 -3
  863. data/lib/oci/core/models/ip_sec_connection_device_config.rb +2 -1
  864. data/lib/oci/core/models/ip_sec_connection_device_status.rb +3 -2
  865. data/lib/oci/core/models/ip_sec_connection_tunnel.rb +6 -5
  866. data/lib/oci/core/models/ip_sec_connection_tunnel_shared_secret.rb +2 -3
  867. data/lib/oci/core/models/ipv6.rb +5 -5
  868. data/lib/oci/core/models/launch_instance_agent_config_details.rb +24 -5
  869. data/lib/oci/core/models/launch_instance_availability_config_details.rb +174 -0
  870. data/lib/oci/core/models/launch_instance_details.rb +64 -24
  871. data/lib/oci/core/models/launch_instance_shape_config_details.rb +177 -0
  872. data/lib/oci/core/models/launch_options.rb +20 -16
  873. data/lib/oci/core/models/letter_of_authority.rb +4 -3
  874. data/lib/oci/core/models/local_peering_gateway.rb +3 -2
  875. data/lib/oci/core/models/modify_vcn_cidr_details.rb +172 -0
  876. data/lib/oci/core/models/nat_gateway.rb +22 -6
  877. data/lib/oci/core/models/network_security_group.rb +3 -2
  878. data/lib/oci/core/models/network_security_group_vnic.rb +3 -2
  879. data/lib/oci/core/models/paravirtualized_volume_attachment.rb +7 -2
  880. data/lib/oci/core/models/peer_region_for_remote_peering.rb +2 -1
  881. data/lib/oci/core/models/port_range.rb +2 -1
  882. data/lib/oci/core/models/private_ip.rb +37 -3
  883. data/lib/oci/core/models/public_ip.rb +22 -7
  884. data/lib/oci/core/models/public_ip_pool.rb +285 -0
  885. data/lib/oci/core/models/public_ip_pool_collection.rb +150 -0
  886. data/lib/oci/core/models/public_ip_pool_summary.rb +248 -0
  887. data/lib/oci/core/models/remote_peering_connection.rb +3 -2
  888. data/lib/oci/core/models/remove_network_security_group_security_rules_details.rb +2 -1
  889. data/lib/oci/core/models/remove_public_ip_pool_capacity_details.rb +156 -0
  890. data/lib/oci/core/models/remove_vcn_cidr_details.rb +155 -0
  891. data/lib/oci/core/models/route_rule.rb +19 -7
  892. data/lib/oci/core/models/route_table.rb +3 -2
  893. data/lib/oci/core/models/security_list.rb +3 -3
  894. data/lib/oci/core/models/security_rule.rb +7 -4
  895. data/lib/oci/core/models/service.rb +2 -1
  896. data/lib/oci/core/models/service_gateway.rb +3 -2
  897. data/lib/oci/core/models/service_id_request_details.rb +2 -1
  898. data/lib/oci/core/models/service_id_response_details.rb +2 -1
  899. data/lib/oci/core/models/shape.rb +208 -6
  900. data/lib/oci/core/models/shape_max_vnic_attachment_options.rb +180 -0
  901. data/lib/oci/core/models/shape_memory_options.rb +218 -0
  902. data/lib/oci/core/models/shape_networking_bandwidth_options.rb +188 -0
  903. data/lib/oci/core/models/shape_ocpu_options.rb +165 -0
  904. data/lib/oci/core/models/subnet.rb +8 -6
  905. data/lib/oci/core/models/tcp_options.rb +2 -1
  906. data/lib/oci/core/models/tunnel_config.rb +4 -5
  907. data/lib/oci/core/models/tunnel_cpe_device_config.rb +164 -0
  908. data/lib/oci/core/models/tunnel_status.rb +5 -4
  909. data/lib/oci/core/models/udp_options.rb +2 -1
  910. data/lib/oci/core/models/update_boot_volume_backup_details.rb +2 -1
  911. data/lib/oci/core/models/update_boot_volume_details.rb +44 -5
  912. data/lib/oci/core/models/update_boot_volume_kms_key_details.rb +5 -4
  913. data/lib/oci/core/models/update_byoip_range_details.rb +192 -0
  914. data/lib/oci/core/models/update_cluster_network_details.rb +6 -3
  915. data/lib/oci/core/models/update_compute_image_capability_schema_details.rb +206 -0
  916. data/lib/oci/core/models/update_console_history_details.rb +2 -1
  917. data/lib/oci/core/models/update_cpe_details.rb +31 -5
  918. data/lib/oci/core/models/update_cross_connect_details.rb +2 -1
  919. data/lib/oci/core/models/update_cross_connect_group_details.rb +2 -1
  920. data/lib/oci/core/models/update_dedicated_vm_host_details.rb +2 -1
  921. data/lib/oci/core/models/update_dhcp_details.rb +2 -1
  922. data/lib/oci/core/models/update_drg_attachment_details.rb +2 -1
  923. data/lib/oci/core/models/update_drg_details.rb +2 -1
  924. data/lib/oci/core/models/update_image_details.rb +2 -1
  925. data/lib/oci/core/models/update_instance_agent_config_details.rb +23 -5
  926. data/lib/oci/core/models/update_instance_availability_config_details.rb +174 -0
  927. data/lib/oci/core/models/update_instance_configuration_details.rb +2 -1
  928. data/lib/oci/core/models/update_instance_console_connection_details.rb +177 -0
  929. data/lib/oci/core/models/update_instance_details.rb +98 -33
  930. data/lib/oci/core/models/update_instance_pool_details.rb +5 -2
  931. data/lib/oci/core/models/update_instance_pool_placement_configuration_details.rb +32 -2
  932. data/lib/oci/core/models/update_instance_shape_config_details.rb +174 -0
  933. data/lib/oci/core/models/update_internet_gateway_details.rb +2 -1
  934. data/lib/oci/core/models/update_ip_sec_connection_details.rb +3 -2
  935. data/lib/oci/core/models/update_ip_sec_connection_tunnel_details.rb +2 -1
  936. data/lib/oci/core/models/update_ip_sec_connection_tunnel_shared_secret_details.rb +2 -3
  937. data/lib/oci/core/models/update_ip_sec_tunnel_bgp_session_details.rb +2 -1
  938. data/lib/oci/core/models/update_ipv6_details.rb +2 -1
  939. data/lib/oci/core/models/update_launch_options.rb +248 -0
  940. data/lib/oci/core/models/update_local_peering_gateway_details.rb +2 -1
  941. data/lib/oci/core/models/update_nat_gateway_details.rb +2 -1
  942. data/lib/oci/core/models/update_network_security_group_details.rb +2 -1
  943. data/lib/oci/core/models/update_network_security_group_security_rules_details.rb +2 -1
  944. data/lib/oci/core/models/update_private_ip_details.rb +2 -1
  945. data/lib/oci/core/models/update_public_ip_details.rb +2 -1
  946. data/lib/oci/core/models/update_public_ip_pool_details.rb +192 -0
  947. data/lib/oci/core/models/update_remote_peering_connection_details.rb +2 -1
  948. data/lib/oci/core/models/update_route_table_details.rb +2 -1
  949. data/lib/oci/core/models/update_security_list_details.rb +2 -1
  950. data/lib/oci/core/models/update_security_rule_details.rb +6 -3
  951. data/lib/oci/core/models/update_service_gateway_details.rb +2 -1
  952. data/lib/oci/core/models/update_subnet_details.rb +29 -5
  953. data/lib/oci/core/models/update_tunnel_cpe_device_config_details.rb +155 -0
  954. data/lib/oci/core/models/update_vcn_details.rb +2 -1
  955. data/lib/oci/core/models/update_virtual_circuit_details.rb +22 -3
  956. data/lib/oci/core/models/update_vlan_details.rb +246 -0
  957. data/lib/oci/core/models/update_vnic_details.rb +11 -3
  958. data/lib/oci/core/models/update_volume_backup_details.rb +2 -1
  959. data/lib/oci/core/models/update_volume_backup_policy_details.rb +29 -4
  960. data/lib/oci/core/models/update_volume_details.rb +46 -5
  961. data/lib/oci/core/models/update_volume_group_backup_details.rb +2 -1
  962. data/lib/oci/core/models/update_volume_group_details.rb +2 -1
  963. data/lib/oci/core/models/update_volume_kms_key_details.rb +5 -4
  964. data/lib/oci/core/models/updated_network_security_group_security_rules.rb +2 -1
  965. data/lib/oci/core/models/vcn.rb +23 -5
  966. data/lib/oci/core/models/vcn_dns_resolver_association.rb +206 -0
  967. data/lib/oci/core/models/virtual_circuit.rb +23 -5
  968. data/lib/oci/core/models/virtual_circuit_bandwidth_shape.rb +2 -1
  969. data/lib/oci/core/models/virtual_circuit_public_prefix.rb +2 -1
  970. data/lib/oci/core/models/vlan.rb +378 -0
  971. data/lib/oci/core/models/vnic.rb +45 -7
  972. data/lib/oci/core/models/vnic_attachment.rb +28 -4
  973. data/lib/oci/core/models/volume.rb +63 -7
  974. data/lib/oci/core/models/volume_attachment.rb +18 -3
  975. data/lib/oci/core/models/volume_backup.rb +6 -5
  976. data/lib/oci/core/models/volume_backup_policy.rb +20 -3
  977. data/lib/oci/core/models/volume_backup_policy_assignment.rb +10 -5
  978. data/lib/oci/core/models/volume_backup_schedule.rb +28 -11
  979. data/lib/oci/core/models/volume_group.rb +4 -3
  980. data/lib/oci/core/models/volume_group_backup.rb +4 -3
  981. data/lib/oci/core/models/volume_group_source_details.rb +2 -1
  982. data/lib/oci/core/models/volume_group_source_from_volume_group_backup_details.rb +2 -1
  983. data/lib/oci/core/models/volume_group_source_from_volume_group_details.rb +2 -1
  984. data/lib/oci/core/models/volume_group_source_from_volumes_details.rb +2 -1
  985. data/lib/oci/core/models/volume_kms_key.rb +4 -3
  986. data/lib/oci/core/models/volume_source_details.rb +2 -1
  987. data/lib/oci/core/models/volume_source_from_volume_backup_details.rb +2 -1
  988. data/lib/oci/core/models/volume_source_from_volume_details.rb +2 -1
  989. data/lib/oci/core/util.rb +2 -1
  990. data/lib/oci/core/virtual_network_client.rb +2951 -163
  991. data/lib/oci/core/virtual_network_client_composite_operations.rb +439 -1
  992. data/lib/oci/data_catalog/data_catalog.rb +178 -0
  993. data/lib/oci/data_catalog/data_catalog_client.rb +10091 -0
  994. data/lib/oci/data_catalog/data_catalog_client_composite_operations.rb +2001 -0
  995. data/lib/oci/data_catalog/models/attach_catalog_private_endpoint_details.rb +154 -0
  996. data/lib/oci/data_catalog/models/attribute.rb +582 -0
  997. data/lib/oci/data_catalog/models/attribute_collection.rb +161 -0
  998. data/lib/oci/data_catalog/models/attribute_summary.rb +446 -0
  999. data/lib/oci/data_catalog/models/attribute_tag.rb +296 -0
  1000. data/lib/oci/data_catalog/models/attribute_tag_collection.rb +161 -0
  1001. data/lib/oci/data_catalog/models/attribute_tag_summary.rb +296 -0
  1002. data/lib/oci/data_catalog/models/base_permissions_summary.rb +154 -0
  1003. data/lib/oci/data_catalog/models/base_tag.rb +275 -0
  1004. data/lib/oci/data_catalog/models/base_tag_summary.rb +275 -0
  1005. data/lib/oci/data_catalog/models/catalog.rb +352 -0
  1006. data/lib/oci/data_catalog/models/catalog_permissions_summary.rb +168 -0
  1007. data/lib/oci/data_catalog/models/catalog_private_endpoint.rb +336 -0
  1008. data/lib/oci/data_catalog/models/catalog_private_endpoint_summary.rb +336 -0
  1009. data/lib/oci/data_catalog/models/catalog_summary.rb +320 -0
  1010. data/lib/oci/data_catalog/models/change_catalog_compartment_details.rb +154 -0
  1011. data/lib/oci/data_catalog/models/change_catalog_private_endpoint_compartment_details.rb +154 -0
  1012. data/lib/oci/data_catalog/models/connection.rb +384 -0
  1013. data/lib/oci/data_catalog/models/connection_alias_summary.rb +171 -0
  1014. data/lib/oci/data_catalog/models/connection_collection.rb +161 -0
  1015. data/lib/oci/data_catalog/models/connection_result.rb +11 -0
  1016. data/lib/oci/data_catalog/models/connection_summary.rb +298 -0
  1017. data/lib/oci/data_catalog/models/create_attribute_details.rb +357 -0
  1018. data/lib/oci/data_catalog/models/create_catalog_details.rb +200 -0
  1019. data/lib/oci/data_catalog/models/create_catalog_private_endpoint_details.rb +231 -0
  1020. data/lib/oci/data_catalog/models/create_connection_details.rb +252 -0
  1021. data/lib/oci/data_catalog/models/create_custom_property_details.rb +324 -0
  1022. data/lib/oci/data_catalog/models/create_data_asset_details.rb +212 -0
  1023. data/lib/oci/data_catalog/models/create_entity_details.rb +333 -0
  1024. data/lib/oci/data_catalog/models/create_folder_details.rb +269 -0
  1025. data/lib/oci/data_catalog/models/create_glossary_details.rb +219 -0
  1026. data/lib/oci/data_catalog/models/create_job_definition_details.rb +298 -0
  1027. data/lib/oci/data_catalog/models/create_job_details.rb +241 -0
  1028. data/lib/oci/data_catalog/models/create_job_execution_details.rb +386 -0
  1029. data/lib/oci/data_catalog/models/create_namespace_details.rb +182 -0
  1030. data/lib/oci/data_catalog/models/create_pattern_details.rb +243 -0
  1031. data/lib/oci/data_catalog/models/create_tag_details.rb +166 -0
  1032. data/lib/oci/data_catalog/models/create_term_details.rb +249 -0
  1033. data/lib/oci/data_catalog/models/create_term_relationship_details.rb +180 -0
  1034. data/lib/oci/data_catalog/models/custom_property.rb +506 -0
  1035. data/lib/oci/data_catalog/models/custom_property_collection.rb +161 -0
  1036. data/lib/oci/data_catalog/models/custom_property_data_type.rb +14 -0
  1037. data/lib/oci/data_catalog/models/custom_property_get_usage.rb +327 -0
  1038. data/lib/oci/data_catalog/models/custom_property_set_usage.rb +188 -0
  1039. data/lib/oci/data_catalog/models/custom_property_summary.rb +432 -0
  1040. data/lib/oci/data_catalog/models/custom_property_type_usage.rb +178 -0
  1041. data/lib/oci/data_catalog/models/data_asset.rb +374 -0
  1042. data/lib/oci/data_catalog/models/data_asset_collection.rb +161 -0
  1043. data/lib/oci/data_catalog/models/data_asset_permissions_summary.rb +168 -0
  1044. data/lib/oci/data_catalog/models/data_asset_summary.rb +288 -0
  1045. data/lib/oci/data_catalog/models/data_asset_tag.rb +296 -0
  1046. data/lib/oci/data_catalog/models/data_asset_tag_collection.rb +161 -0
  1047. data/lib/oci/data_catalog/models/data_asset_tag_summary.rb +296 -0
  1048. data/lib/oci/data_catalog/models/data_selector_pattern_details.rb +151 -0
  1049. data/lib/oci/data_catalog/models/derived_logical_entities.rb +178 -0
  1050. data/lib/oci/data_catalog/models/detach_catalog_private_endpoint_details.rb +154 -0
  1051. data/lib/oci/data_catalog/models/entity.rb +532 -0
  1052. data/lib/oci/data_catalog/models/entity_collection.rb +161 -0
  1053. data/lib/oci/data_catalog/models/entity_summary.rb +368 -0
  1054. data/lib/oci/data_catalog/models/entity_tag.rb +296 -0
  1055. data/lib/oci/data_catalog/models/entity_tag_collection.rb +161 -0
  1056. data/lib/oci/data_catalog/models/entity_tag_summary.rb +296 -0
  1057. data/lib/oci/data_catalog/models/faceted_search_aggregation.rb +211 -0
  1058. data/lib/oci/data_catalog/models/faceted_search_custom_property.rb +174 -0
  1059. data/lib/oci/data_catalog/models/faceted_search_date_filter_request.rb +186 -0
  1060. data/lib/oci/data_catalog/models/faceted_search_filter_request.rb +168 -0
  1061. data/lib/oci/data_catalog/models/faceted_search_sort_request.rb +181 -0
  1062. data/lib/oci/data_catalog/models/faceted_search_string_filter_request.rb +160 -0
  1063. data/lib/oci/data_catalog/models/folder.rb +433 -0
  1064. data/lib/oci/data_catalog/models/folder_collection.rb +161 -0
  1065. data/lib/oci/data_catalog/models/folder_summary.rb +313 -0
  1066. data/lib/oci/data_catalog/models/folder_tag.rb +296 -0
  1067. data/lib/oci/data_catalog/models/folder_tag_collection.rb +161 -0
  1068. data/lib/oci/data_catalog/models/folder_tag_summary.rb +296 -0
  1069. data/lib/oci/data_catalog/models/glossary.rb +424 -0
  1070. data/lib/oci/data_catalog/models/glossary_collection.rb +161 -0
  1071. data/lib/oci/data_catalog/models/glossary_permissions_summary.rb +168 -0
  1072. data/lib/oci/data_catalog/models/glossary_summary.rb +357 -0
  1073. data/lib/oci/data_catalog/models/glossary_tree_element.rb +359 -0
  1074. data/lib/oci/data_catalog/models/harvest_status.rb +13 -0
  1075. data/lib/oci/data_catalog/models/import_connection_details.rb +167 -0
  1076. data/lib/oci/data_catalog/models/import_glossary_details.rb +154 -0
  1077. data/lib/oci/data_catalog/models/job.rb +536 -0
  1078. data/lib/oci/data_catalog/models/job_collection.rb +161 -0
  1079. data/lib/oci/data_catalog/models/job_definition.rb +550 -0
  1080. data/lib/oci/data_catalog/models/job_definition_collection.rb +161 -0
  1081. data/lib/oci/data_catalog/models/job_definition_permissions_summary.rb +168 -0
  1082. data/lib/oci/data_catalog/models/job_definition_scope.rb +230 -0
  1083. data/lib/oci/data_catalog/models/job_definition_summary.rb +436 -0
  1084. data/lib/oci/data_catalog/models/job_execution.rb +477 -0
  1085. data/lib/oci/data_catalog/models/job_execution_collection.rb +161 -0
  1086. data/lib/oci/data_catalog/models/job_execution_state.rb +15 -0
  1087. data/lib/oci/data_catalog/models/job_execution_summary.rb +332 -0
  1088. data/lib/oci/data_catalog/models/job_lifecycle_state.rb +12 -0
  1089. data/lib/oci/data_catalog/models/job_log.rb +259 -0
  1090. data/lib/oci/data_catalog/models/job_log_collection.rb +161 -0
  1091. data/lib/oci/data_catalog/models/job_log_summary.rb +217 -0
  1092. data/lib/oci/data_catalog/models/job_metric.rb +337 -0
  1093. data/lib/oci/data_catalog/models/job_metric_collection.rb +161 -0
  1094. data/lib/oci/data_catalog/models/job_metric_summary.rb +290 -0
  1095. data/lib/oci/data_catalog/models/job_schedule_type.rb +11 -0
  1096. data/lib/oci/data_catalog/models/job_summary.rb +484 -0
  1097. data/lib/oci/data_catalog/models/job_type.rb +24 -0
  1098. data/lib/oci/data_catalog/models/lifecycle_state.rb +17 -0
  1099. data/lib/oci/data_catalog/models/namespace.rb +290 -0
  1100. data/lib/oci/data_catalog/models/namespace_collection.rb +161 -0
  1101. data/lib/oci/data_catalog/models/namespace_summary.rb +247 -0
  1102. data/lib/oci/data_catalog/models/parse_connection_details.rb +167 -0
  1103. data/lib/oci/data_catalog/models/pattern.rb +368 -0
  1104. data/lib/oci/data_catalog/models/pattern_collection.rb +162 -0
  1105. data/lib/oci/data_catalog/models/pattern_summary.rb +258 -0
  1106. data/lib/oci/data_catalog/models/property_definition.rb +188 -0
  1107. data/lib/oci/data_catalog/models/rule_attribute.rb +178 -0
  1108. data/lib/oci/data_catalog/models/rule_collection.rb +161 -0
  1109. data/lib/oci/data_catalog/models/rule_origin_type.rb +12 -0
  1110. data/lib/oci/data_catalog/models/rule_summary.rb +439 -0
  1111. data/lib/oci/data_catalog/models/rule_type.rb +12 -0
  1112. data/lib/oci/data_catalog/models/search_criteria.rb +194 -0
  1113. data/lib/oci/data_catalog/models/search_result.rb +515 -0
  1114. data/lib/oci/data_catalog/models/search_result_collection.rb +200 -0
  1115. data/lib/oci/data_catalog/models/search_tag_summary.rb +164 -0
  1116. data/lib/oci/data_catalog/models/search_term_summary.rb +223 -0
  1117. data/lib/oci/data_catalog/models/term.rb +429 -0
  1118. data/lib/oci/data_catalog/models/term_associated_object.rb +170 -0
  1119. data/lib/oci/data_catalog/models/term_collection.rb +161 -0
  1120. data/lib/oci/data_catalog/models/term_relationship.rb +355 -0
  1121. data/lib/oci/data_catalog/models/term_relationship_collection.rb +161 -0
  1122. data/lib/oci/data_catalog/models/term_relationship_summary.rb +355 -0
  1123. data/lib/oci/data_catalog/models/term_summary.rb +348 -0
  1124. data/lib/oci/data_catalog/models/term_workflow_status.rb +13 -0
  1125. data/lib/oci/data_catalog/models/type.rb +349 -0
  1126. data/lib/oci/data_catalog/models/type_collection.rb +161 -0
  1127. data/lib/oci/data_catalog/models/type_custom_property_details.rb +154 -0
  1128. data/lib/oci/data_catalog/models/type_summary.rb +250 -0
  1129. data/lib/oci/data_catalog/models/update_attribute_details.rb +353 -0
  1130. data/lib/oci/data_catalog/models/update_catalog_details.rb +186 -0
  1131. data/lib/oci/data_catalog/models/update_catalog_private_endpoint_details.rb +202 -0
  1132. data/lib/oci/data_catalog/models/update_connection_details.rb +234 -0
  1133. data/lib/oci/data_catalog/models/update_custom_property_details.rb +291 -0
  1134. data/lib/oci/data_catalog/models/update_data_asset_details.rb +195 -0
  1135. data/lib/oci/data_catalog/models/update_entity_details.rb +329 -0
  1136. data/lib/oci/data_catalog/models/update_folder_details.rb +269 -0
  1137. data/lib/oci/data_catalog/models/update_glossary_details.rb +219 -0
  1138. data/lib/oci/data_catalog/models/update_job_definition_details.rb +253 -0
  1139. data/lib/oci/data_catalog/models/update_job_details.rb +225 -0
  1140. data/lib/oci/data_catalog/models/update_namespace_details.rb +182 -0
  1141. data/lib/oci/data_catalog/models/update_pattern_details.rb +243 -0
  1142. data/lib/oci/data_catalog/models/update_term_details.rb +233 -0
  1143. data/lib/oci/data_catalog/models/update_term_relationship_details.rb +166 -0
  1144. data/lib/oci/data_catalog/models/upload_credentials_details.rb +167 -0
  1145. data/lib/oci/data_catalog/models/validate_connection_details.rb +167 -0
  1146. data/lib/oci/data_catalog/models/validate_connection_result.rb +180 -0
  1147. data/lib/oci/data_catalog/models/validate_pattern_details.rb +187 -0
  1148. data/lib/oci/data_catalog/models/validate_pattern_result.rb +184 -0
  1149. data/lib/oci/data_catalog/models/work_request.rb +314 -0
  1150. data/lib/oci/data_catalog/models/work_request_error.rb +173 -0
  1151. data/lib/oci/data_catalog/models/work_request_log.rb +160 -0
  1152. data/lib/oci/data_catalog/models/work_request_resource.rb +219 -0
  1153. data/lib/oci/data_catalog/util.rb +3 -0
  1154. data/lib/oci/data_flow/data_flow.rb +52 -0
  1155. data/lib/oci/data_flow/data_flow_client.rb +1786 -0
  1156. data/lib/oci/data_flow/data_flow_client_composite_operations.rb +475 -0
  1157. data/lib/oci/data_flow/models/application.rb +559 -0
  1158. data/lib/oci/data_flow/models/application_language.rb +13 -0
  1159. data/lib/oci/data_flow/models/application_lifecycle_state.rb +12 -0
  1160. data/lib/oci/data_flow/models/application_parameter.rb +166 -0
  1161. data/lib/oci/data_flow/models/application_summary.rb +346 -0
  1162. data/lib/oci/data_flow/models/change_application_compartment_details.rb +156 -0
  1163. data/lib/oci/data_flow/models/change_private_endpoint_compartment_details.rb +156 -0
  1164. data/lib/oci/data_flow/models/change_run_compartment_details.rb +156 -0
  1165. data/lib/oci/data_flow/models/create_application_details.rb +443 -0
  1166. data/lib/oci/data_flow/models/create_private_endpoint_details.rb +279 -0
  1167. data/lib/oci/data_flow/models/create_run_details.rb +359 -0
  1168. data/lib/oci/data_flow/models/private_endpoint.rb +408 -0
  1169. data/lib/oci/data_flow/models/private_endpoint_collection.rb +152 -0
  1170. data/lib/oci/data_flow/models/private_endpoint_lifecycle_state.rb +16 -0
  1171. data/lib/oci/data_flow/models/private_endpoint_summary.rb +382 -0
  1172. data/lib/oci/data_flow/models/run.rb +721 -0
  1173. data/lib/oci/data_flow/models/run_lifecycle_state.rb +15 -0
  1174. data/lib/oci/data_flow/models/run_log_summary.rb +260 -0
  1175. data/lib/oci/data_flow/models/run_summary.rb +455 -0
  1176. data/lib/oci/data_flow/models/update_application_details.rb +428 -0
  1177. data/lib/oci/data_flow/models/update_private_endpoint_details.rb +249 -0
  1178. data/lib/oci/data_flow/models/update_run_details.rb +174 -0
  1179. data/lib/oci/data_flow/models/work_request.rb +308 -0
  1180. data/lib/oci/data_flow/models/work_request_collection.rb +152 -0
  1181. data/lib/oci/data_flow/models/work_request_error.rb +199 -0
  1182. data/lib/oci/data_flow/models/work_request_error_collection.rb +152 -0
  1183. data/lib/oci/data_flow/models/work_request_log.rb +187 -0
  1184. data/lib/oci/data_flow/models/work_request_log_collection.rb +152 -0
  1185. data/lib/oci/data_flow/models/work_request_operation.rb +13 -0
  1186. data/lib/oci/data_flow/models/work_request_resource.rb +250 -0
  1187. data/lib/oci/data_flow/models/work_request_status.rb +15 -0
  1188. data/lib/oci/data_flow/models/work_request_summary.rb +308 -0
  1189. data/lib/oci/data_flow/util.rb +3 -0
  1190. data/lib/oci/data_integration/data_integration.rb +318 -0
  1191. data/lib/oci/data_integration/data_integration_client.rb +6515 -0
  1192. data/lib/oci/data_integration/data_integration_client_composite_operations.rb +321 -0
  1193. data/lib/oci/data_integration/models/abstract_data_operation_config.rb +184 -0
  1194. data/lib/oci/data_integration/models/abstract_field.rb +173 -0
  1195. data/lib/oci/data_integration/models/abstract_format_attribute.rb +193 -0
  1196. data/lib/oci/data_integration/models/abstract_read_attribute.rb +190 -0
  1197. data/lib/oci/data_integration/models/abstract_write_attribute.rb +196 -0
  1198. data/lib/oci/data_integration/models/aggregator.rb +209 -0
  1199. data/lib/oci/data_integration/models/application.rb +343 -0
  1200. data/lib/oci/data_integration/models/application_details.rb +272 -0
  1201. data/lib/oci/data_integration/models/application_summary.rb +340 -0
  1202. data/lib/oci/data_integration/models/application_summary_collection.rb +150 -0
  1203. data/lib/oci/data_integration/models/avro_format_attribute.rb +158 -0
  1204. data/lib/oci/data_integration/models/base_type.rb +270 -0
  1205. data/lib/oci/data_integration/models/change_compartment_details.rb +154 -0
  1206. data/lib/oci/data_integration/models/child_reference.rb +270 -0
  1207. data/lib/oci/data_integration/models/child_reference_detail.rb +164 -0
  1208. data/lib/oci/data_integration/models/composite_field_map.rb +230 -0
  1209. data/lib/oci/data_integration/models/composite_type.rb +208 -0
  1210. data/lib/oci/data_integration/models/conditional_input_link.rb +207 -0
  1211. data/lib/oci/data_integration/models/config_definition.rb +243 -0
  1212. data/lib/oci/data_integration/models/config_parameter_definition.rb +233 -0
  1213. data/lib/oci/data_integration/models/config_parameter_value.rb +196 -0
  1214. data/lib/oci/data_integration/models/config_provider.rb +164 -0
  1215. data/lib/oci/data_integration/models/config_values.rb +167 -0
  1216. data/lib/oci/data_integration/models/configuration_details.rb +185 -0
  1217. data/lib/oci/data_integration/models/configured_type.rb +212 -0
  1218. data/lib/oci/data_integration/models/connection.rb +360 -0
  1219. data/lib/oci/data_integration/models/connection_details.rb +339 -0
  1220. data/lib/oci/data_integration/models/connection_from_adwc.rb +220 -0
  1221. data/lib/oci/data_integration/models/connection_from_adwc_details.rb +216 -0
  1222. data/lib/oci/data_integration/models/connection_from_atp.rb +220 -0
  1223. data/lib/oci/data_integration/models/connection_from_atp_details.rb +216 -0
  1224. data/lib/oci/data_integration/models/connection_from_jdbc.rb +210 -0
  1225. data/lib/oci/data_integration/models/connection_from_jdbc_details.rb +206 -0
  1226. data/lib/oci/data_integration/models/connection_from_my_sql.rb +210 -0
  1227. data/lib/oci/data_integration/models/connection_from_my_sql_details.rb +206 -0
  1228. data/lib/oci/data_integration/models/connection_from_object_storage.rb +256 -0
  1229. data/lib/oci/data_integration/models/connection_from_object_storage_details.rb +252 -0
  1230. data/lib/oci/data_integration/models/connection_from_oracle.rb +220 -0
  1231. data/lib/oci/data_integration/models/connection_from_oracle_details.rb +217 -0
  1232. data/lib/oci/data_integration/models/connection_property.rb +160 -0
  1233. data/lib/oci/data_integration/models/connection_summary.rb +360 -0
  1234. data/lib/oci/data_integration/models/connection_summary_collection.rb +150 -0
  1235. data/lib/oci/data_integration/models/connection_summary_from_adwc.rb +220 -0
  1236. data/lib/oci/data_integration/models/connection_summary_from_atp.rb +220 -0
  1237. data/lib/oci/data_integration/models/connection_summary_from_jdbc.rb +210 -0
  1238. data/lib/oci/data_integration/models/connection_summary_from_my_sql.rb +210 -0
  1239. data/lib/oci/data_integration/models/connection_summary_from_object_storage.rb +256 -0
  1240. data/lib/oci/data_integration/models/connection_summary_from_oracle.rb +221 -0
  1241. data/lib/oci/data_integration/models/connection_validation.rb +271 -0
  1242. data/lib/oci/data_integration/models/connection_validation_summary.rb +268 -0
  1243. data/lib/oci/data_integration/models/connection_validation_summary_collection.rb +150 -0
  1244. data/lib/oci/data_integration/models/count_statistic.rb +154 -0
  1245. data/lib/oci/data_integration/models/count_statistic_summary.rb +193 -0
  1246. data/lib/oci/data_integration/models/create_application_details.rb +260 -0
  1247. data/lib/oci/data_integration/models/create_config_provider.rb +150 -0
  1248. data/lib/oci/data_integration/models/create_connection_details.rb +300 -0
  1249. data/lib/oci/data_integration/models/create_connection_from_adwc.rb +204 -0
  1250. data/lib/oci/data_integration/models/create_connection_from_atp.rb +204 -0
  1251. data/lib/oci/data_integration/models/create_connection_from_jdbc.rb +204 -0
  1252. data/lib/oci/data_integration/models/create_connection_from_my_sql.rb +204 -0
  1253. data/lib/oci/data_integration/models/create_connection_from_object_storage.rb +240 -0
  1254. data/lib/oci/data_integration/models/create_connection_from_oracle.rb +204 -0
  1255. data/lib/oci/data_integration/models/create_connection_validation_details.rb +175 -0
  1256. data/lib/oci/data_integration/models/create_data_asset_details.rb +301 -0
  1257. data/lib/oci/data_integration/models/create_data_asset_from_adwc.rb +239 -0
  1258. data/lib/oci/data_integration/models/create_data_asset_from_atp.rb +239 -0
  1259. data/lib/oci/data_integration/models/create_data_asset_from_jdbc.rb +231 -0
  1260. data/lib/oci/data_integration/models/create_data_asset_from_my_sql.rb +231 -0
  1261. data/lib/oci/data_integration/models/create_data_asset_from_object_storage.rb +231 -0
  1262. data/lib/oci/data_integration/models/create_data_asset_from_oracle.rb +269 -0
  1263. data/lib/oci/data_integration/models/create_data_flow_details.rb +268 -0
  1264. data/lib/oci/data_integration/models/create_data_flow_validation_details.rb +302 -0
  1265. data/lib/oci/data_integration/models/create_entity_shape_details.rb +182 -0
  1266. data/lib/oci/data_integration/models/create_entity_shape_from_file.rb +389 -0
  1267. data/lib/oci/data_integration/models/create_external_publication_details.rb +218 -0
  1268. data/lib/oci/data_integration/models/create_external_publication_validation_details.rb +150 -0
  1269. data/lib/oci/data_integration/models/create_folder_details.rb +236 -0
  1270. data/lib/oci/data_integration/models/create_patch_details.rb +263 -0
  1271. data/lib/oci/data_integration/models/create_project_details.rb +221 -0
  1272. data/lib/oci/data_integration/models/create_source_application_info.rb +168 -0
  1273. data/lib/oci/data_integration/models/create_task_details.rb +343 -0
  1274. data/lib/oci/data_integration/models/create_task_from_data_loader_task.rb +213 -0
  1275. data/lib/oci/data_integration/models/create_task_from_integration_task.rb +213 -0
  1276. data/lib/oci/data_integration/models/create_task_run_details.rb +234 -0
  1277. data/lib/oci/data_integration/models/create_task_validation_details.rb +352 -0
  1278. data/lib/oci/data_integration/models/create_task_validation_from_data_loader_task.rb +217 -0
  1279. data/lib/oci/data_integration/models/create_task_validation_from_integration_task.rb +217 -0
  1280. data/lib/oci/data_integration/models/create_workspace_details.rb +282 -0
  1281. data/lib/oci/data_integration/models/csv_format_attribute.rb +238 -0
  1282. data/lib/oci/data_integration/models/data_asset.rb +358 -0
  1283. data/lib/oci/data_integration/models/data_asset_from_adwc_details.rb +255 -0
  1284. data/lib/oci/data_integration/models/data_asset_from_atp_details.rb +255 -0
  1285. data/lib/oci/data_integration/models/data_asset_from_jdbc.rb +247 -0
  1286. data/lib/oci/data_integration/models/data_asset_from_my_sql.rb +247 -0
  1287. data/lib/oci/data_integration/models/data_asset_from_object_storage_details.rb +247 -0
  1288. data/lib/oci/data_integration/models/data_asset_from_oracle_details.rb +285 -0
  1289. data/lib/oci/data_integration/models/data_asset_summary.rb +344 -0
  1290. data/lib/oci/data_integration/models/data_asset_summary_collection.rb +150 -0
  1291. data/lib/oci/data_integration/models/data_asset_summary_from_adwc.rb +251 -0
  1292. data/lib/oci/data_integration/models/data_asset_summary_from_atp.rb +251 -0
  1293. data/lib/oci/data_integration/models/data_asset_summary_from_jdbc.rb +243 -0
  1294. data/lib/oci/data_integration/models/data_asset_summary_from_my_sql.rb +243 -0
  1295. data/lib/oci/data_integration/models/data_asset_summary_from_object_storage.rb +243 -0
  1296. data/lib/oci/data_integration/models/data_asset_summary_from_oracle.rb +281 -0
  1297. data/lib/oci/data_integration/models/data_entity.rb +202 -0
  1298. data/lib/oci/data_integration/models/data_entity_details.rb +186 -0
  1299. data/lib/oci/data_integration/models/data_entity_from_file.rb +400 -0
  1300. data/lib/oci/data_integration/models/data_entity_from_file_entity_details.rb +389 -0
  1301. data/lib/oci/data_integration/models/data_entity_from_table.rb +387 -0
  1302. data/lib/oci/data_integration/models/data_entity_from_table_entity_details.rb +376 -0
  1303. data/lib/oci/data_integration/models/data_entity_from_view.rb +387 -0
  1304. data/lib/oci/data_integration/models/data_entity_from_view_entity_details.rb +376 -0
  1305. data/lib/oci/data_integration/models/data_entity_summary.rb +202 -0
  1306. data/lib/oci/data_integration/models/data_entity_summary_collection.rb +150 -0
  1307. data/lib/oci/data_integration/models/data_entity_summary_from_file.rb +400 -0
  1308. data/lib/oci/data_integration/models/data_entity_summary_from_table.rb +387 -0
  1309. data/lib/oci/data_integration/models/data_entity_summary_from_view.rb +387 -0
  1310. data/lib/oci/data_integration/models/data_flow.rb +305 -0
  1311. data/lib/oci/data_integration/models/data_flow_details.rb +295 -0
  1312. data/lib/oci/data_integration/models/data_flow_summary.rb +302 -0
  1313. data/lib/oci/data_integration/models/data_flow_summary_collection.rb +150 -0
  1314. data/lib/oci/data_integration/models/data_flow_validation.rb +328 -0
  1315. data/lib/oci/data_integration/models/data_flow_validation_summary.rb +325 -0
  1316. data/lib/oci/data_integration/models/data_flow_validation_summary_collection.rb +150 -0
  1317. data/lib/oci/data_integration/models/data_format.rb +187 -0
  1318. data/lib/oci/data_integration/models/data_type.rb +233 -0
  1319. data/lib/oci/data_integration/models/dependent_object.rb +339 -0
  1320. data/lib/oci/data_integration/models/dependent_object_summary.rb +303 -0
  1321. data/lib/oci/data_integration/models/dependent_object_summary_collection.rb +150 -0
  1322. data/lib/oci/data_integration/models/derived_field.rb +205 -0
  1323. data/lib/oci/data_integration/models/derived_type.rb +169 -0
  1324. data/lib/oci/data_integration/models/direct_field_map.rb +244 -0
  1325. data/lib/oci/data_integration/models/direct_named_field_map.rb +272 -0
  1326. data/lib/oci/data_integration/models/distinct.rb +193 -0
  1327. data/lib/oci/data_integration/models/dynamic_input_field.rb +195 -0
  1328. data/lib/oci/data_integration/models/dynamic_proxy_field.rb +195 -0
  1329. data/lib/oci/data_integration/models/dynamic_type.rb +198 -0
  1330. data/lib/oci/data_integration/models/dynamic_type_handler.rb +189 -0
  1331. data/lib/oci/data_integration/models/enriched_entity.rb +162 -0
  1332. data/lib/oci/data_integration/models/entity_shape.rb +198 -0
  1333. data/lib/oci/data_integration/models/entity_shape_from_file.rb +400 -0
  1334. data/lib/oci/data_integration/models/error_details.rb +162 -0
  1335. data/lib/oci/data_integration/models/expression.rb +232 -0
  1336. data/lib/oci/data_integration/models/external_publication.rb +385 -0
  1337. data/lib/oci/data_integration/models/external_publication_summary.rb +382 -0
  1338. data/lib/oci/data_integration/models/external_publication_summary_collection.rb +150 -0
  1339. data/lib/oci/data_integration/models/external_publication_validation.rb +220 -0
  1340. data/lib/oci/data_integration/models/external_publication_validation_summary.rb +217 -0
  1341. data/lib/oci/data_integration/models/external_publication_validation_summary_collection.rb +150 -0
  1342. data/lib/oci/data_integration/models/field_map.rb +205 -0
  1343. data/lib/oci/data_integration/models/filter.rb +209 -0
  1344. data/lib/oci/data_integration/models/filter_push.rb +162 -0
  1345. data/lib/oci/data_integration/models/flow_node.rb +288 -0
  1346. data/lib/oci/data_integration/models/flow_port.rb +173 -0
  1347. data/lib/oci/data_integration/models/flow_port_link.rb +257 -0
  1348. data/lib/oci/data_integration/models/folder.rb +287 -0
  1349. data/lib/oci/data_integration/models/folder_details.rb +276 -0
  1350. data/lib/oci/data_integration/models/folder_summary.rb +284 -0
  1351. data/lib/oci/data_integration/models/folder_summary_collection.rb +150 -0
  1352. data/lib/oci/data_integration/models/foreign_key.rb +264 -0
  1353. data/lib/oci/data_integration/models/input_field.rb +195 -0
  1354. data/lib/oci/data_integration/models/input_link.rb +200 -0
  1355. data/lib/oci/data_integration/models/input_port.rb +221 -0
  1356. data/lib/oci/data_integration/models/java_type.rb +199 -0
  1357. data/lib/oci/data_integration/models/join.rb +190 -0
  1358. data/lib/oci/data_integration/models/joiner.rb +245 -0
  1359. data/lib/oci/data_integration/models/json_format_attribute.rb +158 -0
  1360. data/lib/oci/data_integration/models/key.rb +192 -0
  1361. data/lib/oci/data_integration/models/key_attribute.rb +159 -0
  1362. data/lib/oci/data_integration/models/key_range.rb +159 -0
  1363. data/lib/oci/data_integration/models/key_range_partition_config.rb +175 -0
  1364. data/lib/oci/data_integration/models/macro_field.rb +231 -0
  1365. data/lib/oci/data_integration/models/message.rb +191 -0
  1366. data/lib/oci/data_integration/models/name_list_rule.rb +306 -0
  1367. data/lib/oci/data_integration/models/name_pattern_rule.rb +306 -0
  1368. data/lib/oci/data_integration/models/native_shape_field.rb +225 -0
  1369. data/lib/oci/data_integration/models/object_metadata.rb +306 -0
  1370. data/lib/oci/data_integration/models/operator.rb +349 -0
  1371. data/lib/oci/{streaming/models/update_archiver_details.rb → data_integration/models/oracle_adwc_write_attribute.rb} +41 -61
  1372. data/lib/oci/data_integration/models/oracle_adwc_write_attributes.rb +191 -0
  1373. data/lib/oci/{streaming/models/create_archiver_details.rb → data_integration/models/oracle_atp_write_attribute.rb} +41 -62
  1374. data/lib/oci/data_integration/models/oracle_atp_write_attributes.rb +191 -0
  1375. data/lib/oci/data_integration/models/oracle_read_attribute.rb +162 -0
  1376. data/lib/oci/data_integration/models/oracle_read_attributes.rb +151 -0
  1377. data/lib/oci/data_integration/models/oracle_write_attribute.rb +190 -0
  1378. data/lib/oci/data_integration/models/oracle_write_attributes.rb +179 -0
  1379. data/lib/oci/data_integration/models/output_field.rb +195 -0
  1380. data/lib/oci/data_integration/models/output_link.rb +186 -0
  1381. data/lib/oci/data_integration/models/output_port.rb +221 -0
  1382. data/lib/oci/data_integration/models/parameter.rb +291 -0
  1383. data/lib/oci/data_integration/models/parameter_value.rb +168 -0
  1384. data/lib/oci/data_integration/models/parent_reference.rb +150 -0
  1385. data/lib/oci/data_integration/models/partition_config.rb +189 -0
  1386. data/lib/oci/data_integration/models/patch.rb +412 -0
  1387. data/lib/oci/data_integration/models/patch_change_summary.rb +255 -0
  1388. data/lib/oci/data_integration/models/patch_change_summary_collection.rb +150 -0
  1389. data/lib/oci/data_integration/models/patch_object_metadata.rb +258 -0
  1390. data/lib/oci/data_integration/models/patch_summary.rb +409 -0
  1391. data/lib/oci/data_integration/models/patch_summary_collection.rb +150 -0
  1392. data/lib/oci/data_integration/models/primary_key.rb +212 -0
  1393. data/lib/oci/data_integration/models/project.rb +273 -0
  1394. data/lib/oci/data_integration/models/project_details.rb +262 -0
  1395. data/lib/oci/data_integration/models/project_summary.rb +270 -0
  1396. data/lib/oci/data_integration/models/project_summary_collection.rb +150 -0
  1397. data/lib/oci/data_integration/models/projection.rb +193 -0
  1398. data/lib/oci/data_integration/models/projection_rule.rb +285 -0
  1399. data/lib/oci/data_integration/models/proxy_field.rb +205 -0
  1400. data/lib/oci/data_integration/models/published_object.rb +286 -0
  1401. data/lib/oci/data_integration/models/published_object_from_data_loader_task.rb +257 -0
  1402. data/lib/oci/data_integration/models/published_object_from_integration_task.rb +257 -0
  1403. data/lib/oci/data_integration/models/published_object_summary.rb +295 -0
  1404. data/lib/oci/data_integration/models/published_object_summary_collection.rb +150 -0
  1405. data/lib/oci/data_integration/models/published_object_summary_from_data_loader_task.rb +261 -0
  1406. data/lib/oci/data_integration/models/published_object_summary_from_integration_task.rb +261 -0
  1407. data/lib/oci/data_integration/models/push_down_operation.rb +197 -0
  1408. data/lib/oci/data_integration/models/query.rb +158 -0
  1409. data/lib/oci/data_integration/models/read_operation_config.rb +249 -0
  1410. data/lib/oci/data_integration/models/reference.rb +284 -0
  1411. data/lib/oci/data_integration/models/reference_summary.rb +284 -0
  1412. data/lib/oci/data_integration/models/reference_summary_collection.rb +150 -0
  1413. data/lib/oci/data_integration/models/reference_used_by.rb +174 -0
  1414. data/lib/oci/data_integration/models/registry_metadata.rb +204 -0
  1415. data/lib/oci/data_integration/models/rename_rule.rb +218 -0
  1416. data/lib/oci/data_integration/models/resource_configuration.rb +196 -0
  1417. data/lib/oci/data_integration/models/root_object.rb +205 -0
  1418. data/lib/oci/data_integration/models/rule_based_field_map.rb +319 -0
  1419. data/lib/oci/data_integration/models/rule_type_config.rb +251 -0
  1420. data/lib/oci/data_integration/models/schema.rb +314 -0
  1421. data/lib/oci/data_integration/models/schema_summary.rb +311 -0
  1422. data/lib/oci/data_integration/models/schema_summary_collection.rb +150 -0
  1423. data/lib/oci/data_integration/models/select.rb +176 -0
  1424. data/lib/oci/data_integration/models/shape.rb +186 -0
  1425. data/lib/oci/data_integration/models/shape_field.rb +209 -0
  1426. data/lib/oci/data_integration/models/sort.rb +162 -0
  1427. data/lib/oci/data_integration/models/sort_clause.rb +179 -0
  1428. data/lib/oci/data_integration/models/sort_key.rb +154 -0
  1429. data/lib/oci/data_integration/models/sort_key_rule.rb +167 -0
  1430. data/lib/oci/data_integration/models/sort_oper.rb +209 -0
  1431. data/lib/oci/data_integration/models/source.rb +261 -0
  1432. data/lib/oci/data_integration/models/source_application_info.rb +196 -0
  1433. data/lib/oci/data_integration/models/structured_type.rb +203 -0
  1434. data/lib/oci/data_integration/models/target.rb +298 -0
  1435. data/lib/oci/data_integration/models/task.rb +373 -0
  1436. data/lib/oci/data_integration/models/task_from_data_loader_task_details.rb +221 -0
  1437. data/lib/oci/data_integration/models/task_from_integration_task_details.rb +221 -0
  1438. data/lib/oci/data_integration/models/task_run.rb +451 -0
  1439. data/lib/oci/data_integration/models/task_run_details.rb +396 -0
  1440. data/lib/oci/data_integration/models/task_run_log_summary.rb +150 -0
  1441. data/lib/oci/data_integration/models/task_run_summary.rb +393 -0
  1442. data/lib/oci/data_integration/models/task_run_summary_collection.rb +150 -0
  1443. data/lib/oci/data_integration/models/task_summary.rb +373 -0
  1444. data/lib/oci/data_integration/models/task_summary_collection.rb +150 -0
  1445. data/lib/oci/data_integration/models/task_summary_from_data_loader_task.rb +221 -0
  1446. data/lib/oci/data_integration/models/task_summary_from_integration_task.rb +221 -0
  1447. data/lib/oci/data_integration/models/task_validation.rb +328 -0
  1448. data/lib/oci/data_integration/models/task_validation_summary.rb +325 -0
  1449. data/lib/oci/data_integration/models/task_validation_summary_collection.rb +150 -0
  1450. data/lib/oci/data_integration/models/type_library.rb +259 -0
  1451. data/lib/oci/data_integration/models/type_list_rule.rb +306 -0
  1452. data/lib/oci/data_integration/models/type_system.rb +287 -0
  1453. data/lib/oci/data_integration/models/typed_name_pattern_rule.rb +326 -0
  1454. data/lib/oci/data_integration/models/typed_object.rb +290 -0
  1455. data/lib/oci/data_integration/models/ui_properties.rb +168 -0
  1456. data/lib/oci/data_integration/models/unique_key.rb +224 -0
  1457. data/lib/oci/data_integration/models/update_application_details.rb +269 -0
  1458. data/lib/oci/data_integration/models/update_connection_details.rb +314 -0
  1459. data/lib/oci/data_integration/models/update_connection_from_adwc.rb +208 -0
  1460. data/lib/oci/data_integration/models/update_connection_from_atp.rb +208 -0
  1461. data/lib/oci/data_integration/models/update_connection_from_jdbc.rb +208 -0
  1462. data/lib/oci/data_integration/models/update_connection_from_my_sql.rb +208 -0
  1463. data/lib/oci/data_integration/models/update_connection_from_object_storage.rb +244 -0
  1464. data/lib/oci/data_integration/models/update_connection_from_oracle.rb +208 -0
  1465. data/lib/oci/data_integration/models/update_data_asset_details.rb +315 -0
  1466. data/lib/oci/data_integration/models/update_data_asset_from_adwc.rb +243 -0
  1467. data/lib/oci/data_integration/models/update_data_asset_from_atp.rb +243 -0
  1468. data/lib/oci/data_integration/models/update_data_asset_from_jdbc.rb +235 -0
  1469. data/lib/oci/data_integration/models/update_data_asset_from_my_sql.rb +235 -0
  1470. data/lib/oci/data_integration/models/update_data_asset_from_object_storage.rb +235 -0
  1471. data/lib/oci/data_integration/models/update_data_asset_from_oracle.rb +273 -0
  1472. data/lib/oci/data_integration/models/update_data_flow_details.rb +292 -0
  1473. data/lib/oci/data_integration/models/update_external_publication_details.rb +218 -0
  1474. data/lib/oci/data_integration/models/update_folder_details.rb +273 -0
  1475. data/lib/oci/data_integration/models/update_project_details.rb +259 -0
  1476. data/lib/oci/data_integration/models/update_reference_details.rb +178 -0
  1477. data/lib/oci/data_integration/models/update_task_details.rb +356 -0
  1478. data/lib/oci/data_integration/models/update_task_from_data_loader_task.rb +217 -0
  1479. data/lib/oci/data_integration/models/update_task_from_integration_task.rb +217 -0
  1480. data/lib/oci/data_integration/models/update_task_run_details.rb +247 -0
  1481. data/lib/oci/data_integration/models/update_workspace_details.rb +196 -0
  1482. data/lib/oci/data_integration/models/validation_message.rb +178 -0
  1483. data/lib/oci/data_integration/models/work_request.rb +306 -0
  1484. data/lib/oci/data_integration/models/work_request_error.rb +172 -0
  1485. data/lib/oci/data_integration/models/work_request_log_entry.rb +160 -0
  1486. data/lib/oci/data_integration/models/work_request_resource.rb +222 -0
  1487. data/lib/oci/data_integration/models/work_request_summary.rb +303 -0
  1488. data/lib/oci/data_integration/models/workspace.rb +387 -0
  1489. data/lib/oci/data_integration/models/workspace_summary.rb +306 -0
  1490. data/lib/oci/data_integration/models/write_operation_config.rb +297 -0
  1491. data/lib/oci/data_integration/util.rb +3 -0
  1492. data/lib/oci/data_safe/data_safe.rb +42 -0
  1493. data/lib/oci/data_safe/data_safe_client.rb +1415 -0
  1494. data/lib/oci/data_safe/data_safe_client_composite_operations.rb +470 -0
  1495. data/lib/oci/data_safe/models/change_data_safe_private_endpoint_compartment_details.rb +154 -0
  1496. data/lib/oci/data_safe/models/change_on_prem_connector_compartment_details.rb +154 -0
  1497. data/lib/oci/data_safe/models/create_data_safe_private_endpoint_details.rb +269 -0
  1498. data/lib/oci/data_safe/models/create_on_prem_connector_details.rb +212 -0
  1499. data/lib/oci/data_safe/models/data_safe_configuration.rb +265 -0
  1500. data/lib/oci/data_safe/models/data_safe_private_endpoint.rb +361 -0
  1501. data/lib/oci/data_safe/models/data_safe_private_endpoint_summary.rb +283 -0
  1502. data/lib/oci/data_safe/models/enable_data_safe_configuration_details.rb +154 -0
  1503. data/lib/oci/{database/models/generate_autonomous_data_warehouse_wallet_details.rb → data_safe/models/generate_on_prem_connector_configuration_details.rb} +5 -5
  1504. data/lib/oci/data_safe/models/lifecycle_state.rb +16 -0
  1505. data/lib/oci/data_safe/models/on_prem_connector.rb +317 -0
  1506. data/lib/oci/data_safe/models/on_prem_connector_lifecycle_state.rb +16 -0
  1507. data/lib/oci/data_safe/models/on_prem_connector_summary.rb +303 -0
  1508. data/lib/oci/data_safe/models/service_list.rb +22 -0
  1509. data/lib/oci/data_safe/models/update_data_safe_private_endpoint_details.rb +213 -0
  1510. data/lib/oci/data_safe/models/update_on_prem_connector_details.rb +198 -0
  1511. data/lib/oci/data_safe/models/update_on_prem_connector_wallet_details.rb +156 -0
  1512. data/lib/oci/data_safe/models/work_request.rb +307 -0
  1513. data/lib/oci/data_safe/models/work_request_error.rb +172 -0
  1514. data/lib/oci/data_safe/models/work_request_log_entry.rb +160 -0
  1515. data/lib/oci/data_safe/models/work_request_resource.rb +218 -0
  1516. data/lib/oci/data_safe/models/work_request_summary.rb +307 -0
  1517. data/lib/oci/data_safe/util.rb +3 -0
  1518. data/lib/oci/data_science/data_science.rb +50 -0
  1519. data/lib/oci/data_science/data_science_client.rb +2383 -0
  1520. data/lib/oci/data_science/data_science_client_composite_operations.rb +588 -0
  1521. data/lib/oci/data_science/models/change_model_compartment_details.rb +155 -0
  1522. data/lib/oci/data_science/models/change_notebook_session_compartment_details.rb +155 -0
  1523. data/lib/oci/data_science/models/change_project_compartment_details.rb +155 -0
  1524. data/lib/oci/data_science/models/create_model_details.rb +226 -0
  1525. data/lib/oci/data_science/models/create_model_provenance_details.rb +211 -0
  1526. data/lib/oci/data_science/models/create_notebook_session_details.rb +231 -0
  1527. data/lib/oci/data_science/models/create_project_details.rb +211 -0
  1528. data/lib/oci/data_science/models/model.rb +300 -0
  1529. data/lib/oci/data_science/models/model_lifecycle_state.rb +13 -0
  1530. data/lib/oci/data_science/models/model_provenance.rb +211 -0
  1531. data/lib/oci/data_science/models/model_summary.rb +290 -0
  1532. data/lib/oci/data_science/models/notebook_session.rb +337 -0
  1533. data/lib/oci/data_science/models/notebook_session_configuration_details.rb +181 -0
  1534. data/lib/oci/data_science/models/notebook_session_lifecycle_state.rb +16 -0
  1535. data/lib/oci/data_science/models/notebook_session_shape_summary.rb +182 -0
  1536. data/lib/oci/data_science/models/notebook_session_summary.rb +322 -0
  1537. data/lib/oci/data_science/models/project.rb +286 -0
  1538. data/lib/oci/data_science/models/project_lifecycle_state.rb +12 -0
  1539. data/lib/oci/data_science/models/project_summary.rb +285 -0
  1540. data/lib/oci/data_science/models/update_model_details.rb +199 -0
  1541. data/lib/oci/data_science/models/update_model_provenance_details.rb +211 -0
  1542. data/lib/oci/data_science/models/update_notebook_session_details.rb +203 -0
  1543. data/lib/oci/data_science/models/update_project_details.rb +196 -0
  1544. data/lib/oci/data_science/models/work_request.rb +301 -0
  1545. data/lib/oci/data_science/models/work_request_error.rb +171 -0
  1546. data/lib/oci/data_science/models/work_request_log_entry.rb +160 -0
  1547. data/lib/oci/data_science/models/work_request_operation_type.rb +15 -0
  1548. data/lib/oci/data_science/models/work_request_resource.rb +215 -0
  1549. data/lib/oci/data_science/models/work_request_status.rb +15 -0
  1550. data/lib/oci/data_science/models/work_request_summary.rb +301 -0
  1551. data/lib/oci/data_science/util.rb +3 -0
  1552. data/lib/oci/database/database.rb +81 -10
  1553. data/lib/oci/database/database_client.rb +6372 -2056
  1554. data/lib/oci/database/database_client_composite_operations.rb +2535 -454
  1555. data/lib/oci/database/models/activate_exadata_infrastructure_details.rb +4 -2
  1556. data/lib/oci/database/models/associated_database_details.rb +2 -1
  1557. data/lib/oci/database/models/automated_mount_details.rb +176 -0
  1558. data/lib/oci/database/models/autonomous_container_database.rb +216 -9
  1559. data/lib/oci/database/models/autonomous_container_database_backup_config.rb +17 -2
  1560. data/lib/oci/database/models/autonomous_container_database_dataguard_association.rb +480 -0
  1561. data/lib/oci/database/models/autonomous_container_database_summary.rb +216 -9
  1562. data/lib/oci/database/models/autonomous_data_warehouse.rb +10 -22
  1563. data/lib/oci/database/models/autonomous_data_warehouse_connection_strings.rb +2 -1
  1564. data/lib/oci/database/models/autonomous_data_warehouse_summary.rb +10 -22
  1565. data/lib/oci/database/models/autonomous_database.rb +661 -15
  1566. data/lib/oci/database/models/autonomous_database_apex.rb +169 -0
  1567. data/lib/oci/database/models/autonomous_database_backup.rb +50 -5
  1568. data/lib/oci/database/models/autonomous_database_backup_config.rb +189 -0
  1569. data/lib/oci/database/models/autonomous_database_backup_summary.rb +50 -5
  1570. data/lib/oci/database/models/autonomous_database_connection_strings.rb +2 -1
  1571. data/lib/oci/database/models/autonomous_database_connection_urls.rb +21 -6
  1572. data/lib/oci/database/models/autonomous_database_console_token_details.rb +3 -2
  1573. data/lib/oci/database/models/autonomous_database_dataguard_association.rb +468 -0
  1574. data/lib/oci/database/models/autonomous_database_manual_refresh_details.rb +155 -0
  1575. data/lib/oci/database/models/autonomous_database_standby_summary.rb +220 -0
  1576. data/lib/oci/database/models/autonomous_database_summary.rb +661 -15
  1577. data/lib/oci/database/models/autonomous_database_wallet.rb +2 -1
  1578. data/lib/oci/database/models/autonomous_db_preview_version_summary.rb +12 -3
  1579. data/lib/oci/database/models/autonomous_db_version_summary.rb +274 -0
  1580. data/lib/oci/database/models/autonomous_exadata_infrastructure.rb +5 -2
  1581. data/lib/oci/database/models/autonomous_exadata_infrastructure_shape_summary.rb +2 -1
  1582. data/lib/oci/database/models/autonomous_exadata_infrastructure_summary.rb +5 -2
  1583. data/lib/oci/database/models/autonomous_patch.rb +296 -0
  1584. data/lib/oci/database/models/autonomous_patch_summary.rb +304 -0
  1585. data/lib/oci/database/models/autonomous_vm_cluster.rb +452 -0
  1586. data/lib/oci/database/models/autonomous_vm_cluster_summary.rb +455 -0
  1587. data/lib/oci/database/models/backup.rb +41 -6
  1588. data/lib/oci/database/models/backup_destination.rb +64 -2
  1589. data/lib/oci/database/models/backup_destination_details.rb +13 -32
  1590. data/lib/oci/database/models/backup_destination_summary.rb +64 -2
  1591. data/lib/oci/database/models/backup_summary.rb +41 -6
  1592. data/lib/oci/database/models/change_autonomous_vm_cluster_compartment_details.rb +156 -0
  1593. data/lib/oci/database/models/change_cloud_exadata_infrastructure_compartment_details.rb +155 -0
  1594. data/lib/oci/database/models/change_cloud_vm_cluster_compartment_details.rb +155 -0
  1595. data/lib/oci/database/models/change_compartment_details.rb +2 -1
  1596. data/lib/oci/database/models/change_exadata_infrastructure_compartment_details.rb +2 -1
  1597. data/lib/oci/database/models/change_key_store_compartment_details.rb +156 -0
  1598. data/lib/oci/database/models/change_vm_cluster_compartment_details.rb +2 -1
  1599. data/lib/oci/database/models/cloud_exadata_infrastructure.rb +399 -0
  1600. data/lib/oci/database/models/cloud_exadata_infrastructure_summary.rb +402 -0
  1601. data/lib/oci/database/models/cloud_vm_cluster.rb +734 -0
  1602. data/lib/oci/database/models/cloud_vm_cluster_summary.rb +721 -0
  1603. data/lib/oci/database/models/complete_external_backup_job_details.rb +2 -1
  1604. data/lib/oci/database/models/console_connection.rb +236 -0
  1605. data/lib/oci/database/models/console_connection_summary.rb +241 -0
  1606. data/lib/oci/database/models/create_autonomous_container_database_details.rb +226 -8
  1607. data/lib/oci/database/models/create_autonomous_database_backup_details.rb +2 -1
  1608. data/lib/oci/database/models/create_autonomous_database_base.rb +163 -15
  1609. data/lib/oci/database/models/create_autonomous_database_clone_details.rb +31 -2
  1610. data/lib/oci/database/models/create_autonomous_database_details.rb +31 -2
  1611. data/lib/oci/database/models/create_autonomous_database_from_backup_details.rb +278 -0
  1612. data/lib/oci/database/models/create_autonomous_database_from_backup_timestamp_details.rb +288 -0
  1613. data/lib/oci/database/models/{create_autonomous_data_warehouse_details.rb → create_autonomous_vm_cluster_details.rb} +52 -53
  1614. data/lib/oci/database/models/create_backup_destination_details.rb +2 -1
  1615. data/lib/oci/database/models/create_backup_details.rb +2 -1
  1616. data/lib/oci/database/models/create_cloud_exadata_infrastructure_details.rb +270 -0
  1617. data/lib/oci/database/models/create_cloud_vm_cluster_details.rb +465 -0
  1618. data/lib/oci/database/models/create_console_connection_details.rb +156 -0
  1619. data/lib/oci/database/models/create_data_guard_association_details.rb +19 -3
  1620. data/lib/oci/database/models/create_data_guard_association_to_existing_db_system_details.rb +28 -7
  1621. data/lib/oci/database/models/create_data_guard_association_to_existing_vm_cluster_details.rb +197 -0
  1622. data/lib/oci/database/models/create_data_guard_association_with_new_db_system_details.rb +27 -6
  1623. data/lib/oci/database/models/create_database_base.rb +245 -0
  1624. data/lib/oci/database/models/create_database_details.rb +31 -2
  1625. data/lib/oci/database/models/create_database_from_another_database_details.rb +224 -0
  1626. data/lib/oci/database/models/create_database_from_backup.rb +177 -0
  1627. data/lib/oci/database/models/create_database_from_backup_details.rb +2 -1
  1628. data/lib/oci/database/models/create_database_from_db_system_details.rb +246 -0
  1629. data/lib/oci/database/models/create_database_software_image_details.rb +319 -0
  1630. data/lib/oci/database/models/create_db_home_base.rb +86 -6
  1631. data/lib/oci/database/models/create_db_home_details.rb +56 -7
  1632. data/lib/oci/database/models/create_db_home_from_backup_details.rb +42 -7
  1633. data/lib/oci/database/models/{update_autonomous_data_warehouse_details.rb → create_db_home_from_database_details.rb} +14 -46
  1634. data/lib/oci/database/models/create_db_home_from_db_system_details.rb +201 -0
  1635. data/lib/oci/database/models/create_db_home_with_db_system_id_details.rb +24 -4
  1636. data/lib/oci/database/models/create_db_home_with_db_system_id_from_backup_details.rb +23 -2
  1637. data/lib/oci/database/models/create_db_home_with_db_system_id_from_database_details.rb +197 -0
  1638. data/lib/oci/database/models/create_db_home_with_vm_cluster_id_details.rb +24 -4
  1639. data/lib/oci/database/models/create_db_home_with_vm_cluster_id_from_backup_details.rb +23 -2
  1640. data/lib/oci/database/models/create_exadata_infrastructure_details.rb +31 -4
  1641. data/lib/oci/database/models/create_external_backup_job_details.rb +2 -1
  1642. data/lib/oci/database/models/create_key_store_details.rb +217 -0
  1643. data/lib/oci/database/models/create_new_database_details.rb +177 -0
  1644. data/lib/oci/database/models/create_nfs_backup_destination_details.rb +21 -6
  1645. data/lib/oci/database/models/create_recovery_appliance_backup_destination_details.rb +2 -1
  1646. data/lib/oci/database/models/create_refreshable_autonomous_database_clone_details.rb +278 -0
  1647. data/lib/oci/database/models/create_vm_cluster_details.rb +47 -3
  1648. data/lib/oci/database/models/data_guard_association.rb +3 -2
  1649. data/lib/oci/database/models/data_guard_association_summary.rb +3 -2
  1650. data/lib/oci/database/models/database.rb +93 -7
  1651. data/lib/oci/database/models/database_connection_strings.rb +2 -1
  1652. data/lib/oci/database/models/database_software_image.rb +442 -0
  1653. data/lib/oci/database/models/database_software_image_summary.rb +452 -0
  1654. data/lib/oci/database/models/database_summary.rb +93 -7
  1655. data/lib/oci/database/models/database_upgrade_history_entry.rb +352 -0
  1656. data/lib/oci/database/models/database_upgrade_history_entry_summary.rb +355 -0
  1657. data/lib/oci/database/models/database_upgrade_source_base.rb +188 -0
  1658. data/lib/oci/database/models/database_upgrade_with_database_software_image_details.rb +164 -0
  1659. data/lib/oci/database/models/database_upgrade_with_db_home_details.rb +164 -0
  1660. data/lib/oci/database/models/database_upgrade_with_db_version_details.rb +164 -0
  1661. data/lib/oci/database/models/day_of_week.rb +2 -1
  1662. data/lib/oci/database/models/db_backup_config.rb +2 -1
  1663. data/lib/oci/database/models/db_home.rb +114 -9
  1664. data/lib/oci/database/models/db_home_summary.rb +117 -12
  1665. data/lib/oci/database/models/db_iorm_config.rb +6 -5
  1666. data/lib/oci/database/models/db_iorm_config_update_detail.rb +5 -4
  1667. data/lib/oci/database/models/db_node.rb +80 -5
  1668. data/lib/oci/database/models/db_node_summary.rb +80 -5
  1669. data/lib/oci/database/models/db_system.rb +98 -9
  1670. data/lib/oci/database/models/db_system_options.rb +8 -2
  1671. data/lib/oci/database/models/db_system_shape_summary.rb +119 -6
  1672. data/lib/oci/database/models/db_system_summary.rb +98 -9
  1673. data/lib/oci/database/models/db_version_summary.rb +34 -5
  1674. data/lib/oci/database/models/deregister_autonomous_database_data_safe_details.rb +155 -0
  1675. data/lib/oci/database/models/exadata_db_system_migration.rb +197 -0
  1676. data/lib/oci/database/models/exadata_db_system_migration_summary.rb +183 -0
  1677. data/lib/oci/database/models/exadata_infrastructure.rb +130 -7
  1678. data/lib/oci/database/models/exadata_infrastructure_contact.rb +188 -0
  1679. data/lib/oci/database/models/exadata_infrastructure_summary.rb +133 -8
  1680. data/lib/oci/database/models/exadata_iorm_config.rb +9 -8
  1681. data/lib/oci/database/models/exadata_iorm_config_update_details.rb +2 -1
  1682. data/lib/oci/database/models/external_backup_job.rb +2 -1
  1683. data/lib/oci/database/models/failover_data_guard_association_details.rb +2 -1
  1684. data/lib/oci/database/models/flex_component_collection.rb +150 -0
  1685. data/lib/oci/database/models/flex_component_summary.rb +197 -0
  1686. data/lib/oci/database/models/generate_autonomous_database_wallet_details.rb +9 -2
  1687. data/lib/oci/database/models/generate_recommended_network_details.rb +3 -2
  1688. data/lib/oci/database/models/gi_version_summary.rb +2 -1
  1689. data/lib/oci/database/models/info_for_network_gen_details.rb +3 -2
  1690. data/lib/oci/database/models/key_store.rb +300 -0
  1691. data/lib/oci/database/models/key_store_associated_database_details.rb +164 -0
  1692. data/lib/oci/database/models/key_store_summary.rb +303 -0
  1693. data/lib/oci/database/models/key_store_type_details.rb +185 -0
  1694. data/lib/oci/database/models/key_store_type_from_oracle_key_vault_details.rb +204 -0
  1695. data/lib/oci/database/models/launch_autonomous_exadata_infrastructure_details.rb +5 -2
  1696. data/lib/oci/database/models/launch_db_system_base.rb +64 -11
  1697. data/lib/oci/database/models/launch_db_system_details.rb +31 -5
  1698. data/lib/oci/database/models/launch_db_system_from_backup_details.rb +15 -2
  1699. data/lib/oci/database/models/launch_db_system_from_database_details.rb +352 -0
  1700. data/lib/oci/database/models/launch_db_system_from_db_system_details.rb +305 -0
  1701. data/lib/oci/database/models/maintenance_run.rb +51 -16
  1702. data/lib/oci/database/models/maintenance_run_summary.rb +51 -16
  1703. data/lib/oci/database/models/maintenance_window.rb +21 -5
  1704. data/lib/oci/database/models/migrate_vault_key_details.rb +170 -0
  1705. data/lib/oci/database/models/month.rb +2 -1
  1706. data/lib/oci/database/models/mount_type_details.rb +186 -0
  1707. data/lib/oci/database/models/node_details.rb +3 -2
  1708. data/lib/oci/database/models/ocp_us.rb +182 -0
  1709. data/lib/oci/database/models/patch.rb +2 -1
  1710. data/lib/oci/database/models/patch_details.rb +18 -3
  1711. data/lib/oci/database/models/patch_history_entry.rb +3 -2
  1712. data/lib/oci/database/models/patch_history_entry_summary.rb +3 -2
  1713. data/lib/oci/database/models/patch_summary.rb +2 -1
  1714. data/lib/oci/database/models/peer_autonomous_container_database_backup_config.rb +172 -0
  1715. data/lib/oci/database/models/register_autonomous_database_data_safe_details.rb +155 -0
  1716. data/lib/oci/database/models/reinstate_data_guard_association_details.rb +2 -1
  1717. data/lib/oci/database/models/restore_autonomous_database_details.rb +2 -1
  1718. data/lib/oci/database/models/restore_database_details.rb +2 -1
  1719. data/lib/oci/database/models/scan_details.rb +2 -1
  1720. data/lib/oci/database/models/self_mount_details.rb +163 -0
  1721. data/lib/oci/database/models/switchover_data_guard_association_details.rb +2 -1
  1722. data/lib/oci/database/models/update.rb +340 -0
  1723. data/lib/oci/database/models/update_autonomous_container_database_details.rb +32 -2
  1724. data/lib/oci/database/models/update_autonomous_database_details.rb +262 -14
  1725. data/lib/oci/database/models/update_autonomous_database_wallet_details.rb +2 -1
  1726. data/lib/oci/database/models/update_autonomous_exadata_infrastructure_details.rb +5 -2
  1727. data/lib/oci/database/models/update_autonomous_vm_cluster_details.rb +202 -0
  1728. data/lib/oci/database/models/update_backup_destination_details.rb +59 -3
  1729. data/lib/oci/database/models/update_cloud_exadata_infrastructure_details.rb +231 -0
  1730. data/lib/oci/database/models/update_cloud_vm_cluster_details.rb +319 -0
  1731. data/lib/oci/database/models/update_database_details.rb +59 -2
  1732. data/lib/oci/database/models/update_database_software_image_details.rb +189 -0
  1733. data/lib/oci/database/models/update_db_home_details.rb +55 -6
  1734. data/lib/oci/database/models/update_db_system_details.rb +65 -7
  1735. data/lib/oci/database/models/update_details.rb +183 -0
  1736. data/lib/oci/database/models/update_exadata_infrastructure_details.rb +28 -3
  1737. data/lib/oci/database/models/update_history_entry.rb +306 -0
  1738. data/lib/oci/database/models/update_history_entry_summary.rb +310 -0
  1739. data/lib/oci/database/models/update_key_store_details.rb +187 -0
  1740. data/lib/oci/database/models/update_maintenance_run_details.rb +50 -7
  1741. data/lib/oci/database/models/update_summary.rb +348 -0
  1742. data/lib/oci/database/models/update_vm_cluster_details.rb +57 -3
  1743. data/lib/oci/database/models/update_vm_cluster_network_details.rb +3 -2
  1744. data/lib/oci/database/models/upgrade_database_details.rb +179 -0
  1745. data/lib/oci/database/models/vm_cluster.rb +51 -7
  1746. data/lib/oci/database/models/vm_cluster_network.rb +2 -1
  1747. data/lib/oci/database/models/vm_cluster_network_details.rb +4 -3
  1748. data/lib/oci/database/models/vm_cluster_network_summary.rb +4 -2
  1749. data/lib/oci/database/models/vm_cluster_summary.rb +51 -7
  1750. data/lib/oci/database/models/vm_network_details.rb +4 -2
  1751. data/lib/oci/database/models/workload_type.rb +161 -0
  1752. data/lib/oci/database/util.rb +2 -1
  1753. data/lib/oci/dns/dns.rb +31 -1
  1754. data/lib/oci/dns/dns_client.rb +2763 -635
  1755. data/lib/oci/dns/dns_client_composite_operations.rb +361 -1
  1756. data/lib/oci/{oce/models/delete_oce_instance_details.rb → dns/models/attached_view.rb} +15 -13
  1757. data/lib/oci/dns/models/attached_view_details.rb +155 -0
  1758. data/lib/oci/dns/models/change_resolver_compartment_details.rb +156 -0
  1759. data/lib/oci/dns/models/change_steering_policy_compartment_details.rb +2 -1
  1760. data/lib/oci/dns/models/change_tsig_key_compartment_details.rb +156 -0
  1761. data/lib/oci/dns/models/change_view_compartment_details.rb +156 -0
  1762. data/lib/oci/dns/models/change_zone_compartment_details.rb +2 -1
  1763. data/lib/oci/dns/models/create_migrated_dynect_zone_details.rb +2 -1
  1764. data/lib/oci/dns/models/create_resolver_endpoint_details.rb +261 -0
  1765. data/lib/oci/dns/models/create_resolver_vnic_endpoint_details.rb +203 -0
  1766. data/lib/oci/dns/models/create_steering_policy_attachment_details.rb +2 -1
  1767. data/lib/oci/dns/models/create_steering_policy_details.rb +2 -1
  1768. data/lib/oci/dns/models/create_tsig_key_details.rb +229 -0
  1769. data/lib/oci/dns/models/create_view_details.rb +210 -0
  1770. data/lib/oci/dns/models/create_zone_base_details.rb +2 -1
  1771. data/lib/oci/dns/models/create_zone_details.rb +43 -3
  1772. data/lib/oci/dns/models/dynect_migration_details.rb +2 -1
  1773. data/lib/oci/dns/models/external_master.rb +23 -5
  1774. data/lib/oci/dns/models/migration_replacement.rb +3 -2
  1775. data/lib/oci/dns/models/nameserver.rb +2 -1
  1776. data/lib/oci/dns/models/patch_domain_records_details.rb +2 -1
  1777. data/lib/oci/dns/models/patch_rr_set_details.rb +2 -1
  1778. data/lib/oci/dns/models/patch_zone_records_details.rb +2 -1
  1779. data/lib/oci/dns/models/record.rb +3 -3
  1780. data/lib/oci/dns/models/record_collection.rb +3 -1
  1781. data/lib/oci/dns/models/record_details.rb +3 -3
  1782. data/lib/oci/dns/models/record_operation.rb +3 -3
  1783. data/lib/oci/dns/models/resolver.rb +393 -0
  1784. data/lib/oci/dns/models/resolver_endpoint.rb +371 -0
  1785. data/lib/oci/dns/models/resolver_endpoint_summary.rb +371 -0
  1786. data/lib/oci/dns/models/resolver_forward_rule.rb +187 -0
  1787. data/lib/oci/dns/models/resolver_forward_rule_details.rb +187 -0
  1788. data/lib/oci/dns/models/resolver_rule.rb +222 -0
  1789. data/lib/oci/dns/models/resolver_rule_details.rb +215 -0
  1790. data/lib/oci/dns/models/resolver_summary.rb +357 -0
  1791. data/lib/oci/dns/models/resolver_vnic_endpoint.rb +220 -0
  1792. data/lib/oci/dns/models/resolver_vnic_endpoint_summary.rb +205 -0
  1793. data/lib/oci/dns/models/rr_set.rb +3 -1
  1794. data/lib/oci/dns/models/scope.rb +11 -0
  1795. data/lib/oci/dns/models/sort_order.rb +2 -1
  1796. data/lib/oci/dns/models/steering_policy.rb +14 -13
  1797. data/lib/oci/dns/models/steering_policy_answer.rb +3 -2
  1798. data/lib/oci/dns/models/steering_policy_attachment.rb +12 -11
  1799. data/lib/oci/dns/models/steering_policy_attachment_summary.rb +12 -11
  1800. data/lib/oci/dns/models/steering_policy_filter_answer_data.rb +2 -1
  1801. data/lib/oci/dns/models/steering_policy_filter_rule.rb +2 -1
  1802. data/lib/oci/dns/models/steering_policy_filter_rule_case.rb +2 -1
  1803. data/lib/oci/dns/models/steering_policy_health_rule.rb +2 -1
  1804. data/lib/oci/dns/models/steering_policy_health_rule_case.rb +2 -1
  1805. data/lib/oci/dns/models/steering_policy_limit_rule.rb +2 -1
  1806. data/lib/oci/dns/models/steering_policy_limit_rule_case.rb +2 -1
  1807. data/lib/oci/dns/models/steering_policy_priority_answer_data.rb +2 -1
  1808. data/lib/oci/dns/models/steering_policy_priority_rule.rb +2 -1
  1809. data/lib/oci/dns/models/steering_policy_priority_rule_case.rb +2 -1
  1810. data/lib/oci/dns/models/steering_policy_rule.rb +2 -1
  1811. data/lib/oci/dns/models/steering_policy_summary.rb +12 -11
  1812. data/lib/oci/dns/models/steering_policy_weighted_answer_data.rb +2 -1
  1813. data/lib/oci/dns/models/steering_policy_weighted_rule.rb +2 -1
  1814. data/lib/oci/dns/models/steering_policy_weighted_rule_case.rb +2 -1
  1815. data/lib/oci/dns/models/tsig.rb +2 -1
  1816. data/lib/oci/dns/models/tsig_key.rb +321 -0
  1817. data/lib/oci/dns/models/tsig_key_summary.rb +291 -0
  1818. data/lib/oci/dns/models/update_domain_records_details.rb +2 -1
  1819. data/lib/oci/dns/models/update_resolver_details.rb +221 -0
  1820. data/lib/oci/dns/models/update_resolver_endpoint_details.rb +188 -0
  1821. data/lib/oci/dns/models/update_resolver_vnic_endpoint_details.rb +166 -0
  1822. data/lib/oci/dns/models/update_rr_set_details.rb +2 -1
  1823. data/lib/oci/dns/models/update_steering_policy_attachment_details.rb +2 -1
  1824. data/lib/oci/dns/models/update_steering_policy_details.rb +2 -1
  1825. data/lib/oci/dns/models/update_tsig_key_details.rb +181 -0
  1826. data/lib/oci/dns/models/update_view_details.rb +196 -0
  1827. data/lib/oci/dns/models/update_zone_details.rb +2 -1
  1828. data/lib/oci/dns/models/update_zone_records_details.rb +2 -1
  1829. data/lib/oci/dns/models/view.rb +321 -0
  1830. data/lib/oci/dns/models/view_summary.rb +321 -0
  1831. data/lib/oci/dns/models/zone.rb +77 -15
  1832. data/lib/oci/dns/models/zone_summary.rb +78 -16
  1833. data/lib/oci/dns/util.rb +2 -1
  1834. data/lib/oci/dts/appliance_export_job_client.rb +491 -0
  1835. data/lib/oci/dts/appliance_export_job_client_composite_operations.rb +144 -0
  1836. data/lib/oci/dts/dts.rb +9 -1
  1837. data/lib/oci/dts/models/appliance_export_job.rb +551 -0
  1838. data/lib/oci/dts/models/appliance_export_job_summary.rb +276 -0
  1839. data/lib/oci/dts/models/attach_devices_details.rb +2 -1
  1840. data/lib/oci/dts/models/change_appliance_export_job_compartment_details.rb +155 -0
  1841. data/lib/oci/dts/models/change_transfer_job_compartment_details.rb +2 -1
  1842. data/lib/oci/dts/models/create_appliance_export_job_details.rb +270 -0
  1843. data/lib/oci/dts/models/create_transfer_appliance_details.rb +2 -1
  1844. data/lib/oci/dts/models/create_transfer_appliance_entitlement_details.rb +10 -5
  1845. data/lib/oci/dts/models/create_transfer_device_details.rb +2 -1
  1846. data/lib/oci/dts/models/create_transfer_job_details.rb +10 -5
  1847. data/lib/oci/dts/models/create_transfer_package_details.rb +2 -1
  1848. data/lib/oci/dts/models/detach_devices_details.rb +2 -1
  1849. data/lib/oci/dts/models/multiple_transfer_appliances.rb +2 -1
  1850. data/lib/oci/dts/models/multiple_transfer_devices.rb +2 -1
  1851. data/lib/oci/dts/models/multiple_transfer_packages.rb +2 -1
  1852. data/lib/oci/dts/models/new_transfer_device.rb +2 -1
  1853. data/lib/oci/dts/models/shipping_address.rb +2 -1
  1854. data/lib/oci/dts/models/shipping_vendors.rb +2 -1
  1855. data/lib/oci/dts/models/transfer_appliance.rb +2 -1
  1856. data/lib/oci/dts/models/transfer_appliance_certificate.rb +2 -1
  1857. data/lib/oci/dts/models/transfer_appliance_encryption_passphrase.rb +2 -1
  1858. data/lib/oci/dts/models/transfer_appliance_entitlement.rb +10 -5
  1859. data/lib/oci/dts/models/transfer_appliance_entitlement_summary.rb +10 -5
  1860. data/lib/oci/dts/models/transfer_appliance_public_key.rb +2 -1
  1861. data/lib/oci/dts/models/transfer_appliance_summary.rb +2 -1
  1862. data/lib/oci/dts/models/transfer_device.rb +2 -1
  1863. data/lib/oci/dts/models/transfer_device_summary.rb +2 -1
  1864. data/lib/oci/dts/models/transfer_job.rb +10 -5
  1865. data/lib/oci/dts/models/transfer_job_summary.rb +10 -5
  1866. data/lib/oci/dts/models/transfer_package.rb +2 -1
  1867. data/lib/oci/dts/models/transfer_package_summary.rb +2 -1
  1868. data/lib/oci/dts/models/update_appliance_export_job_details.rb +396 -0
  1869. data/lib/oci/dts/models/update_transfer_appliance_details.rb +2 -1
  1870. data/lib/oci/dts/models/update_transfer_device_details.rb +2 -1
  1871. data/lib/oci/dts/models/update_transfer_job_details.rb +10 -5
  1872. data/lib/oci/dts/models/update_transfer_package_details.rb +2 -1
  1873. data/lib/oci/dts/shipping_vendors_client.rb +8 -17
  1874. data/lib/oci/dts/shipping_vendors_client_composite_operations.rb +2 -1
  1875. data/lib/oci/dts/transfer_appliance_client.rb +15 -17
  1876. data/lib/oci/dts/transfer_appliance_client_composite_operations.rb +2 -1
  1877. data/lib/oci/dts/transfer_appliance_entitlement_client.rb +10 -17
  1878. data/lib/oci/dts/transfer_appliance_entitlement_client_composite_operations.rb +2 -1
  1879. data/lib/oci/dts/transfer_device_client.rb +12 -17
  1880. data/lib/oci/dts/transfer_device_client_composite_operations.rb +2 -1
  1881. data/lib/oci/dts/transfer_job_client.rb +45 -21
  1882. data/lib/oci/dts/transfer_job_client_composite_operations.rb +2 -1
  1883. data/lib/oci/dts/transfer_package_client.rb +14 -17
  1884. data/lib/oci/dts/transfer_package_client_composite_operations.rb +2 -1
  1885. data/lib/oci/dts/util.rb +2 -1
  1886. data/lib/oci/email/email.rb +2 -1
  1887. data/lib/oci/email/email_client.rb +16 -16
  1888. data/lib/oci/email/email_client_composite_operations.rb +2 -1
  1889. data/lib/oci/email/models/change_sender_compartment_details.rb +2 -1
  1890. data/lib/oci/email/models/create_sender_details.rb +2 -1
  1891. data/lib/oci/email/models/create_suppression_details.rb +2 -1
  1892. data/lib/oci/email/models/sender.rb +2 -1
  1893. data/lib/oci/email/models/sender_summary.rb +2 -1
  1894. data/lib/oci/email/models/suppression.rb +2 -1
  1895. data/lib/oci/email/models/suppression_summary.rb +2 -1
  1896. data/lib/oci/email/models/update_sender_details.rb +2 -1
  1897. data/lib/oci/email/util.rb +2 -1
  1898. data/lib/oci/errors.rb +2 -1
  1899. data/lib/oci/events/events.rb +2 -1
  1900. data/lib/oci/events/events_client.rb +13 -17
  1901. data/lib/oci/events/events_client_composite_operations.rb +2 -1
  1902. data/lib/oci/events/models/action.rb +23 -3
  1903. data/lib/oci/events/models/action_details.rb +2 -1
  1904. data/lib/oci/events/models/action_details_list.rb +2 -1
  1905. data/lib/oci/events/models/action_list.rb +2 -1
  1906. data/lib/oci/events/models/change_rule_compartment_details.rb +2 -1
  1907. data/lib/oci/events/models/create_faa_s_action_details.rb +2 -1
  1908. data/lib/oci/events/models/create_notification_service_action_details.rb +2 -1
  1909. data/lib/oci/events/models/create_rule_details.rb +3 -7
  1910. data/lib/oci/events/models/create_streaming_service_action_details.rb +2 -1
  1911. data/lib/oci/events/models/faa_s_action.rb +7 -2
  1912. data/lib/oci/events/models/notification_service_action.rb +7 -2
  1913. data/lib/oci/events/models/rule.rb +4 -8
  1914. data/lib/oci/events/models/rule_summary.rb +4 -8
  1915. data/lib/oci/events/models/streaming_service_action.rb +7 -2
  1916. data/lib/oci/events/models/update_rule_details.rb +3 -7
  1917. data/lib/oci/events/util.rb +2 -1
  1918. data/lib/oci/file_storage/file_storage.rb +2 -1
  1919. data/lib/oci/file_storage/file_storage_client.rb +98 -75
  1920. data/lib/oci/file_storage/file_storage_client_composite_operations.rb +2 -1
  1921. data/lib/oci/file_storage/models/change_file_system_compartment_details.rb +2 -1
  1922. data/lib/oci/file_storage/models/change_mount_target_compartment_details.rb +2 -1
  1923. data/lib/oci/file_storage/models/client_options.rb +2 -1
  1924. data/lib/oci/file_storage/models/create_export_details.rb +2 -1
  1925. data/lib/oci/file_storage/models/create_file_system_details.rb +2 -1
  1926. data/lib/oci/file_storage/models/create_mount_target_details.rb +21 -2
  1927. data/lib/oci/file_storage/models/create_snapshot_details.rb +2 -1
  1928. data/lib/oci/file_storage/models/export.rb +2 -1
  1929. data/lib/oci/file_storage/models/export_set.rb +2 -1
  1930. data/lib/oci/file_storage/models/export_set_summary.rb +2 -1
  1931. data/lib/oci/file_storage/models/export_summary.rb +2 -1
  1932. data/lib/oci/file_storage/models/file_system.rb +3 -2
  1933. data/lib/oci/file_storage/models/file_system_summary.rb +2 -1
  1934. data/lib/oci/file_storage/models/mount_target.rb +21 -2
  1935. data/lib/oci/file_storage/models/mount_target_summary.rb +21 -2
  1936. data/lib/oci/file_storage/models/snapshot.rb +2 -1
  1937. data/lib/oci/file_storage/models/snapshot_summary.rb +2 -1
  1938. data/lib/oci/file_storage/models/update_export_details.rb +2 -1
  1939. data/lib/oci/file_storage/models/update_export_set_details.rb +2 -1
  1940. data/lib/oci/file_storage/models/update_file_system_details.rb +7 -5
  1941. data/lib/oci/file_storage/models/update_mount_target_details.rb +21 -2
  1942. data/lib/oci/file_storage/models/update_snapshot_details.rb +2 -1
  1943. data/lib/oci/file_storage/util.rb +2 -1
  1944. data/lib/oci/functions/functions.rb +2 -1
  1945. data/lib/oci/functions/functions_invoke_client.rb +7 -16
  1946. data/lib/oci/functions/functions_invoke_client_composite_operations.rb +2 -1
  1947. data/lib/oci/functions/functions_management_client.rb +18 -17
  1948. data/lib/oci/functions/functions_management_client_composite_operations.rb +2 -1
  1949. data/lib/oci/functions/models/application.rb +23 -3
  1950. data/lib/oci/functions/models/application_summary.rb +3 -2
  1951. data/lib/oci/functions/models/change_application_compartment_details.rb +2 -1
  1952. data/lib/oci/functions/models/create_application_details.rb +22 -2
  1953. data/lib/oci/functions/models/create_function_details.rb +2 -1
  1954. data/lib/oci/functions/models/function.rb +3 -2
  1955. data/lib/oci/functions/models/function_summary.rb +3 -2
  1956. data/lib/oci/functions/models/update_application_details.rb +22 -2
  1957. data/lib/oci/functions/models/update_function_details.rb +2 -1
  1958. data/lib/oci/functions/util.rb +2 -1
  1959. data/lib/oci/global_context.rb +2 -1
  1960. data/lib/oci/healthchecks/health_checks_client.rb +23 -16
  1961. data/lib/oci/healthchecks/health_checks_client_composite_operations.rb +2 -1
  1962. data/lib/oci/healthchecks/healthchecks.rb +2 -1
  1963. data/lib/oci/healthchecks/models/change_http_monitor_compartment_details.rb +2 -1
  1964. data/lib/oci/healthchecks/models/change_ping_monitor_compartment_details.rb +2 -1
  1965. data/lib/oci/healthchecks/models/connection.rb +2 -1
  1966. data/lib/oci/healthchecks/models/create_http_monitor_details.rb +2 -1
  1967. data/lib/oci/healthchecks/models/create_on_demand_http_probe_details.rb +2 -1
  1968. data/lib/oci/healthchecks/models/create_on_demand_ping_probe_details.rb +2 -1
  1969. data/lib/oci/healthchecks/models/create_ping_monitor_details.rb +2 -1
  1970. data/lib/oci/healthchecks/models/dns.rb +2 -1
  1971. data/lib/oci/healthchecks/models/geolocation.rb +2 -1
  1972. data/lib/oci/healthchecks/models/health_checks_vantage_point_summary.rb +2 -1
  1973. data/lib/oci/healthchecks/models/http_monitor.rb +2 -1
  1974. data/lib/oci/healthchecks/models/http_monitor_summary.rb +2 -1
  1975. data/lib/oci/healthchecks/models/http_probe.rb +2 -1
  1976. data/lib/oci/healthchecks/models/http_probe_method.rb +2 -1
  1977. data/lib/oci/healthchecks/models/http_probe_protocol.rb +2 -1
  1978. data/lib/oci/healthchecks/models/http_probe_result_summary.rb +2 -1
  1979. data/lib/oci/healthchecks/models/ping_monitor.rb +2 -1
  1980. data/lib/oci/healthchecks/models/ping_monitor_summary.rb +2 -1
  1981. data/lib/oci/healthchecks/models/ping_probe.rb +2 -1
  1982. data/lib/oci/healthchecks/models/ping_probe_protocol.rb +2 -1
  1983. data/lib/oci/healthchecks/models/ping_probe_result_summary.rb +2 -1
  1984. data/lib/oci/healthchecks/models/routing.rb +2 -1
  1985. data/lib/oci/healthchecks/models/tcp_connection.rb +2 -1
  1986. data/lib/oci/healthchecks/models/update_http_monitor_details.rb +2 -1
  1987. data/lib/oci/healthchecks/models/update_ping_monitor_details.rb +2 -1
  1988. data/lib/oci/healthchecks/util.rb +2 -1
  1989. data/lib/oci/identity/identity.rb +24 -1
  1990. data/lib/oci/identity/identity_client.rb +1791 -295
  1991. data/lib/oci/identity/identity_client_composite_operations.rb +288 -1
  1992. data/lib/oci/identity/models/add_user_to_group_details.rb +2 -1
  1993. data/lib/oci/identity/models/api_key.rb +2 -1
  1994. data/lib/oci/identity/models/auth_token.rb +2 -1
  1995. data/lib/oci/identity/models/authentication_policy.rb +19 -6
  1996. data/lib/oci/identity/models/availability_domain.rb +2 -1
  1997. data/lib/oci/identity/models/base_tag_definition_validator.rb +13 -10
  1998. data/lib/oci/identity/models/bulk_action_resource.rb +203 -0
  1999. data/lib/oci/identity/models/bulk_action_resource_type.rb +167 -0
  2000. data/lib/oci/identity/models/bulk_action_resource_type_collection.rb +151 -0
  2001. data/lib/oci/identity/models/bulk_delete_resources_details.rb +151 -0
  2002. data/lib/oci/identity/models/bulk_delete_tags_details.rb +154 -0
  2003. data/lib/oci/identity/models/bulk_edit_operation_details.rb +193 -0
  2004. data/lib/oci/identity/models/bulk_edit_resource.rb +175 -0
  2005. data/lib/oci/identity/models/bulk_edit_tags_details.rb +181 -0
  2006. data/lib/oci/identity/models/bulk_edit_tags_resource_type.rb +175 -0
  2007. data/lib/oci/identity/models/bulk_edit_tags_resource_type_collection.rb +151 -0
  2008. data/lib/oci/identity/models/bulk_move_resources_details.rb +167 -0
  2009. data/lib/oci/identity/models/change_tag_namespace_compartment_detail.rb +2 -1
  2010. data/lib/oci/identity/models/compartment.rb +2 -1
  2011. data/lib/oci/identity/models/create_api_key_details.rb +2 -1
  2012. data/lib/oci/identity/models/create_auth_token_details.rb +2 -1
  2013. data/lib/oci/identity/models/create_compartment_details.rb +2 -1
  2014. data/lib/oci/identity/models/create_customer_secret_key_details.rb +2 -1
  2015. data/lib/oci/identity/models/create_dynamic_group_details.rb +2 -1
  2016. data/lib/oci/identity/models/create_group_details.rb +2 -1
  2017. data/lib/oci/identity/models/create_identity_provider_details.rb +2 -1
  2018. data/lib/oci/identity/models/create_idp_group_mapping_details.rb +2 -1
  2019. data/lib/oci/identity/models/create_network_source_details.rb +254 -0
  2020. data/lib/oci/identity/models/create_o_auth2_client_credential_details.rb +170 -0
  2021. data/lib/oci/identity/models/create_policy_details.rb +2 -1
  2022. data/lib/oci/identity/models/create_region_subscription_details.rb +4 -11
  2023. data/lib/oci/identity/models/create_saml2_identity_provider_details.rb +2 -1
  2024. data/lib/oci/identity/models/create_smtp_credential_details.rb +2 -1
  2025. data/lib/oci/identity/models/create_swift_password_details.rb +2 -1
  2026. data/lib/oci/identity/models/create_tag_default_details.rb +2 -1
  2027. data/lib/oci/identity/models/create_tag_details.rb +4 -7
  2028. data/lib/oci/identity/models/create_tag_namespace_details.rb +4 -1
  2029. data/lib/oci/identity/models/create_user_details.rb +2 -1
  2030. data/lib/oci/identity/models/customer_secret_key.rb +5 -4
  2031. data/lib/oci/identity/models/customer_secret_key_summary.rb +2 -1
  2032. data/lib/oci/identity/models/default_tag_definition_validator.rb +5 -3
  2033. data/lib/oci/identity/models/dynamic_group.rb +2 -1
  2034. data/lib/oci/identity/models/enum_tag_definition_validator.rb +5 -3
  2035. data/lib/oci/identity/models/fault_domain.rb +2 -1
  2036. data/lib/oci/identity/models/fully_qualified_scope.rb +160 -0
  2037. data/lib/oci/identity/models/group.rb +2 -1
  2038. data/lib/oci/identity/models/identity_provider.rb +2 -1
  2039. data/lib/oci/identity/models/identity_provider_group_summary.rb +13 -2
  2040. data/lib/oci/identity/models/idp_group_mapping.rb +2 -1
  2041. data/lib/oci/identity/models/mfa_totp_device.rb +2 -1
  2042. data/lib/oci/identity/models/mfa_totp_device_summary.rb +2 -1
  2043. data/lib/oci/identity/models/mfa_totp_token.rb +2 -1
  2044. data/lib/oci/identity/models/move_compartment_details.rb +2 -1
  2045. data/lib/oci/identity/models/network_policy.rb +156 -0
  2046. data/lib/oci/identity/models/network_sources.rb +337 -0
  2047. data/lib/oci/identity/models/network_sources_summary.rb +283 -0
  2048. data/lib/oci/identity/models/network_sources_virtual_source_list.rb +166 -0
  2049. data/lib/oci/identity/models/o_auth2_client_credential.rb +293 -0
  2050. data/lib/oci/identity/models/o_auth2_client_credential_summary.rb +283 -0
  2051. data/lib/oci/identity/models/password_policy.rb +2 -1
  2052. data/lib/oci/identity/models/policy.rb +2 -1
  2053. data/lib/oci/identity/models/region.rb +8 -19
  2054. data/lib/oci/identity/models/region_subscription.rb +8 -19
  2055. data/lib/oci/identity/models/saml2_identity_provider.rb +14 -2
  2056. data/lib/oci/identity/models/scim_client_credentials.rb +2 -1
  2057. data/lib/oci/identity/models/smtp_credential.rb +2 -1
  2058. data/lib/oci/identity/models/smtp_credential_summary.rb +2 -1
  2059. data/lib/oci/identity/models/swift_password.rb +2 -1
  2060. data/lib/oci/identity/models/tag.rb +6 -8
  2061. data/lib/oci/identity/models/tag_default.rb +2 -1
  2062. data/lib/oci/identity/models/tag_default_summary.rb +2 -1
  2063. data/lib/oci/identity/models/tag_namespace.rb +2 -1
  2064. data/lib/oci/identity/models/tag_namespace_summary.rb +2 -1
  2065. data/lib/oci/identity/models/tag_summary.rb +2 -1
  2066. data/lib/oci/identity/models/tagging_work_request.rb +6 -1
  2067. data/lib/oci/identity/models/tagging_work_request_error_summary.rb +2 -1
  2068. data/lib/oci/identity/models/tagging_work_request_log_summary.rb +2 -1
  2069. data/lib/oci/identity/models/tagging_work_request_summary.rb +6 -1
  2070. data/lib/oci/identity/models/tenancy.rb +19 -11
  2071. data/lib/oci/identity/models/ui_password.rb +2 -1
  2072. data/lib/oci/identity/models/ui_password_information.rb +2 -1
  2073. data/lib/oci/identity/models/update_auth_token_details.rb +2 -1
  2074. data/lib/oci/identity/models/update_authentication_policy_details.rb +19 -6
  2075. data/lib/oci/identity/models/update_compartment_details.rb +2 -1
  2076. data/lib/oci/identity/models/update_customer_secret_key_details.rb +2 -1
  2077. data/lib/oci/identity/models/update_dynamic_group_details.rb +2 -1
  2078. data/lib/oci/identity/models/update_group_details.rb +2 -1
  2079. data/lib/oci/identity/models/update_identity_provider_details.rb +2 -1
  2080. data/lib/oci/identity/models/update_idp_group_mapping_details.rb +2 -1
  2081. data/lib/oci/identity/models/update_network_source_details.rb +227 -0
  2082. data/lib/oci/identity/models/update_o_auth2_client_credential_details.rb +174 -0
  2083. data/lib/oci/identity/models/update_policy_details.rb +2 -1
  2084. data/lib/oci/identity/models/update_saml2_identity_provider_details.rb +2 -1
  2085. data/lib/oci/identity/models/update_smtp_credential_details.rb +2 -1
  2086. data/lib/oci/identity/models/update_state_details.rb +2 -1
  2087. data/lib/oci/identity/models/update_swift_password_details.rb +2 -1
  2088. data/lib/oci/identity/models/update_tag_default_details.rb +2 -1
  2089. data/lib/oci/identity/models/update_tag_details.rb +4 -7
  2090. data/lib/oci/identity/models/update_tag_namespace_details.rb +2 -1
  2091. data/lib/oci/identity/models/update_user_capabilities_details.rb +21 -5
  2092. data/lib/oci/identity/models/update_user_details.rb +2 -1
  2093. data/lib/oci/identity/models/user.rb +72 -7
  2094. data/lib/oci/identity/models/user_capabilities.rb +21 -5
  2095. data/lib/oci/identity/models/user_group_membership.rb +2 -1
  2096. data/lib/oci/identity/models/work_request.rb +2 -1
  2097. data/lib/oci/identity/models/work_request_error.rb +2 -1
  2098. data/lib/oci/identity/models/work_request_log_entry.rb +2 -1
  2099. data/lib/oci/identity/models/work_request_resource.rb +3 -1
  2100. data/lib/oci/identity/models/work_request_summary.rb +2 -1
  2101. data/lib/oci/identity/util.rb +2 -1
  2102. data/lib/oci/integration/integration.rb +5 -1
  2103. data/lib/oci/integration/integration_instance_client.rb +168 -19
  2104. data/lib/oci/integration/integration_instance_client_composite_operations.rb +100 -1
  2105. data/lib/oci/integration/models/change_integration_instance_compartment_details.rb +2 -1
  2106. data/lib/oci/integration/models/create_custom_endpoint_details.rb +167 -0
  2107. data/lib/oci/integration/models/create_integration_instance_details.rb +93 -5
  2108. data/lib/oci/integration/models/custom_endpoint_details.rb +180 -0
  2109. data/lib/oci/integration/models/integration_instance.rb +97 -5
  2110. data/lib/oci/integration/models/integration_instance_summary.rb +97 -5
  2111. data/lib/oci/integration/models/update_custom_endpoint_details.rb +167 -0
  2112. data/lib/oci/integration/models/update_integration_instance_details.rb +65 -5
  2113. data/lib/oci/integration/models/work_request.rb +4 -1
  2114. data/lib/oci/integration/models/work_request_error.rb +2 -1
  2115. data/lib/oci/integration/models/work_request_log_entry.rb +2 -1
  2116. data/lib/oci/integration/models/work_request_resource.rb +4 -1
  2117. data/lib/oci/integration/models/work_request_summary.rb +4 -1
  2118. data/lib/oci/integration/util.rb +2 -1
  2119. data/lib/oci/internal/internal.rb +2 -1
  2120. data/lib/oci/internal/util.rb +2 -1
  2121. data/lib/oci/key_management/key_management.rb +17 -1
  2122. data/lib/oci/key_management/kms_crypto_client.rb +70 -21
  2123. data/lib/oci/key_management/kms_crypto_client_composite_operations.rb +2 -1
  2124. data/lib/oci/key_management/kms_management_client.rb +813 -121
  2125. data/lib/oci/key_management/kms_management_client_composite_operations.rb +161 -1
  2126. data/lib/oci/key_management/kms_vault_client.rb +369 -34
  2127. data/lib/oci/key_management/kms_vault_client_composite_operations.rb +41 -1
  2128. data/lib/oci/key_management/models/backup_key_details.rb +153 -0
  2129. data/lib/oci/key_management/models/backup_location.rb +183 -0
  2130. data/lib/oci/key_management/models/backup_location_bucket.rb +186 -0
  2131. data/lib/oci/key_management/models/backup_location_uri.rb +158 -0
  2132. data/lib/oci/key_management/models/backup_vault_details.rb +166 -0
  2133. data/lib/oci/key_management/models/change_key_compartment_details.rb +3 -2
  2134. data/lib/oci/key_management/models/change_vault_compartment_details.rb +3 -2
  2135. data/lib/oci/key_management/models/create_key_details.rb +45 -11
  2136. data/lib/oci/key_management/models/create_vault_details.rb +10 -7
  2137. data/lib/oci/key_management/models/decrypt_data_details.rb +6 -6
  2138. data/lib/oci/key_management/models/decrypted_data.rb +2 -1
  2139. data/lib/oci/key_management/models/encrypt_data_details.rb +5 -4
  2140. data/lib/oci/key_management/models/encrypted_data.rb +2 -1
  2141. data/lib/oci/key_management/models/export_key_details.rb +229 -0
  2142. data/lib/oci/key_management/models/exported_key_data.rb +249 -0
  2143. data/lib/oci/key_management/models/generate_key_details.rb +7 -6
  2144. data/lib/oci/key_management/models/generated_key.rb +9 -9
  2145. data/lib/oci/key_management/models/import_key_details.rb +265 -0
  2146. data/lib/oci/key_management/models/import_key_version_details.rb +188 -0
  2147. data/lib/oci/key_management/models/key.rb +72 -16
  2148. data/lib/oci/key_management/models/key_shape.rb +4 -2
  2149. data/lib/oci/key_management/models/key_summary.rb +53 -11
  2150. data/lib/oci/key_management/models/key_version.rb +113 -5
  2151. data/lib/oci/key_management/models/key_version_summary.rb +94 -3
  2152. data/lib/oci/key_management/models/restore_key_from_object_store_details.rb +153 -0
  2153. data/lib/oci/key_management/models/restore_vault_from_object_store_details.rb +153 -0
  2154. data/lib/oci/key_management/models/schedule_key_deletion_details.rb +8 -5
  2155. data/lib/oci/key_management/models/schedule_key_version_deletion_details.rb +157 -0
  2156. data/lib/oci/key_management/models/schedule_vault_deletion_details.rb +8 -5
  2157. data/lib/oci/key_management/models/update_key_details.rb +8 -6
  2158. data/lib/oci/key_management/models/update_vault_details.rb +8 -6
  2159. data/lib/oci/key_management/models/vault.rb +55 -15
  2160. data/lib/oci/key_management/models/vault_summary.rb +19 -10
  2161. data/lib/oci/key_management/models/vault_usage.rb +196 -0
  2162. data/lib/oci/key_management/models/wrapped_import_key.rb +180 -0
  2163. data/lib/oci/key_management/models/wrapping_key.rb +258 -0
  2164. data/lib/oci/key_management/util.rb +2 -1
  2165. data/lib/oci/limits/limits.rb +2 -1
  2166. data/lib/oci/limits/limits_client.rb +10 -16
  2167. data/lib/oci/limits/limits_client_composite_operations.rb +2 -1
  2168. data/lib/oci/limits/models/create_quota_details.rb +2 -1
  2169. data/lib/oci/limits/models/limit_definition_summary.rb +2 -1
  2170. data/lib/oci/limits/models/limit_value_summary.rb +2 -1
  2171. data/lib/oci/limits/models/quota.rb +2 -1
  2172. data/lib/oci/limits/models/quota_summary.rb +2 -1
  2173. data/lib/oci/limits/models/resource_availability.rb +2 -1
  2174. data/lib/oci/limits/models/service_summary.rb +2 -1
  2175. data/lib/oci/limits/models/update_quota_details.rb +2 -1
  2176. data/lib/oci/limits/quotas_client.rb +11 -16
  2177. data/lib/oci/limits/quotas_client_composite_operations.rb +2 -1
  2178. data/lib/oci/limits/util.rb +2 -1
  2179. data/lib/oci/load_balancer/load_balancer.rb +13 -1
  2180. data/lib/oci/load_balancer/load_balancer_client.rb +447 -16
  2181. data/lib/oci/load_balancer/load_balancer_client_composite_operations.rb +212 -1
  2182. data/lib/oci/load_balancer/models/add_http_request_header_rule.rb +4 -2
  2183. data/lib/oci/load_balancer/models/add_http_response_header_rule.rb +2 -1
  2184. data/lib/oci/load_balancer/models/allow_rule.rb +2 -1
  2185. data/lib/oci/load_balancer/models/backend.rb +2 -1
  2186. data/lib/oci/load_balancer/models/backend_details.rb +2 -1
  2187. data/lib/oci/load_balancer/models/backend_health.rb +2 -1
  2188. data/lib/oci/load_balancer/models/backend_set.rb +2 -1
  2189. data/lib/oci/load_balancer/models/backend_set_details.rb +2 -1
  2190. data/lib/oci/load_balancer/models/backend_set_health.rb +2 -1
  2191. data/lib/oci/load_balancer/models/certificate.rb +2 -1
  2192. data/lib/oci/load_balancer/models/certificate_details.rb +2 -1
  2193. data/lib/oci/load_balancer/models/change_load_balancer_compartment_details.rb +2 -1
  2194. data/lib/oci/load_balancer/models/connection_configuration.rb +23 -5
  2195. data/lib/oci/load_balancer/models/control_access_using_http_methods_rule.rb +2 -1
  2196. data/lib/oci/load_balancer/models/create_backend_details.rb +2 -1
  2197. data/lib/oci/load_balancer/models/create_backend_set_details.rb +2 -1
  2198. data/lib/oci/load_balancer/models/create_certificate_details.rb +2 -1
  2199. data/lib/oci/load_balancer/models/create_hostname_details.rb +2 -1
  2200. data/lib/oci/load_balancer/models/create_listener_details.rb +2 -1
  2201. data/lib/oci/load_balancer/models/create_load_balancer_details.rb +46 -2
  2202. data/lib/oci/load_balancer/models/create_path_route_set_details.rb +2 -1
  2203. data/lib/oci/load_balancer/models/create_rule_set_details.rb +2 -1
  2204. data/lib/oci/load_balancer/models/create_ssl_cipher_suite_details.rb +445 -0
  2205. data/lib/oci/load_balancer/models/extend_http_request_header_value_rule.rb +2 -1
  2206. data/lib/oci/load_balancer/models/extend_http_response_header_value_rule.rb +2 -1
  2207. data/lib/oci/load_balancer/models/health_check_result.rb +2 -1
  2208. data/lib/oci/load_balancer/models/health_checker.rb +2 -1
  2209. data/lib/oci/load_balancer/models/health_checker_details.rb +2 -1
  2210. data/lib/oci/load_balancer/models/hostname.rb +2 -1
  2211. data/lib/oci/load_balancer/models/hostname_details.rb +2 -1
  2212. data/lib/oci/load_balancer/models/http_header_rule.rb +188 -0
  2213. data/lib/oci/load_balancer/models/ip_address.rb +19 -5
  2214. data/lib/oci/load_balancer/models/lb_cookie_session_persistence_configuration_details.rb +2 -1
  2215. data/lib/oci/load_balancer/models/listener.rb +2 -1
  2216. data/lib/oci/load_balancer/models/listener_details.rb +2 -1
  2217. data/lib/oci/load_balancer/models/listener_rule_summary.rb +2 -1
  2218. data/lib/oci/load_balancer/models/load_balancer.rb +29 -2
  2219. data/lib/oci/load_balancer/models/load_balancer_health.rb +2 -1
  2220. data/lib/oci/load_balancer/models/load_balancer_health_summary.rb +2 -1
  2221. data/lib/oci/load_balancer/models/load_balancer_policy.rb +2 -1
  2222. data/lib/oci/load_balancer/models/load_balancer_protocol.rb +2 -1
  2223. data/lib/oci/load_balancer/models/load_balancer_shape.rb +2 -1
  2224. data/lib/oci/load_balancer/models/path_match_condition.rb +211 -0
  2225. data/lib/oci/load_balancer/models/path_match_type.rb +2 -1
  2226. data/lib/oci/load_balancer/models/path_route.rb +2 -1
  2227. data/lib/oci/load_balancer/models/path_route_set.rb +2 -1
  2228. data/lib/oci/load_balancer/models/path_route_set_details.rb +2 -1
  2229. data/lib/oci/load_balancer/models/redirect_rule.rb +213 -0
  2230. data/lib/oci/load_balancer/models/redirect_uri.rb +324 -0
  2231. data/lib/oci/load_balancer/models/remove_http_request_header_rule.rb +2 -3
  2232. data/lib/oci/load_balancer/models/remove_http_response_header_rule.rb +2 -1
  2233. data/lib/oci/{database/models/restore_autonomous_data_warehouse_details.rb → load_balancer/models/reserved_ip.rb} +12 -13
  2234. data/lib/oci/load_balancer/models/rule.rb +6 -1
  2235. data/lib/oci/load_balancer/models/rule_condition.rb +4 -1
  2236. data/lib/oci/load_balancer/models/rule_set.rb +2 -1
  2237. data/lib/oci/load_balancer/models/rule_set_details.rb +2 -1
  2238. data/lib/oci/load_balancer/models/session_persistence_configuration_details.rb +2 -1
  2239. data/lib/oci/load_balancer/models/shape_details.rb +180 -0
  2240. data/lib/oci/load_balancer/models/source_ip_address_condition.rb +2 -1
  2241. data/lib/oci/load_balancer/models/source_vcn_id_condition.rb +2 -1
  2242. data/lib/oci/load_balancer/models/source_vcn_ip_address_condition.rb +2 -1
  2243. data/lib/oci/load_balancer/models/ssl_cipher_suite.rb +445 -0
  2244. data/lib/oci/load_balancer/models/ssl_cipher_suite_details.rb +445 -0
  2245. data/lib/oci/load_balancer/models/ssl_configuration.rb +142 -25
  2246. data/lib/oci/load_balancer/models/ssl_configuration_details.rb +135 -25
  2247. data/lib/oci/load_balancer/models/update_backend_details.rb +2 -1
  2248. data/lib/oci/load_balancer/models/update_backend_set_details.rb +2 -1
  2249. data/lib/oci/load_balancer/models/update_health_checker_details.rb +2 -1
  2250. data/lib/oci/load_balancer/models/update_hostname_details.rb +2 -1
  2251. data/lib/oci/load_balancer/models/update_listener_details.rb +2 -1
  2252. data/lib/oci/load_balancer/models/update_load_balancer_details.rb +2 -1
  2253. data/lib/oci/load_balancer/models/update_load_balancer_shape_details.rb +179 -0
  2254. data/lib/oci/load_balancer/models/update_network_security_groups_details.rb +2 -1
  2255. data/lib/oci/load_balancer/models/update_path_route_set_details.rb +2 -1
  2256. data/lib/oci/load_balancer/models/update_rule_set_details.rb +2 -1
  2257. data/lib/oci/load_balancer/models/update_ssl_cipher_suite_details.rb +259 -0
  2258. data/lib/oci/load_balancer/models/work_request.rb +17 -2
  2259. data/lib/oci/load_balancer/models/work_request_error.rb +2 -1
  2260. data/lib/oci/load_balancer/util.rb +2 -1
  2261. data/lib/oci/log_analytics/log_analytics.rb +290 -0
  2262. data/lib/oci/log_analytics/log_analytics_client.rb +9002 -0
  2263. data/lib/oci/log_analytics/log_analytics_client_composite_operations.rb +685 -0
  2264. data/lib/oci/log_analytics/models/abstract_column.rb +386 -0
  2265. data/lib/oci/log_analytics/models/abstract_command_descriptor.rb +330 -0
  2266. data/lib/oci/log_analytics/models/abstract_field.rb +354 -0
  2267. data/lib/oci/log_analytics/models/abstract_parser_test_result_log_entry.rb +234 -0
  2268. data/lib/oci/log_analytics/models/abstract_parser_test_result_log_line.rb +168 -0
  2269. data/lib/oci/log_analytics/models/action.rb +187 -0
  2270. data/lib/oci/log_analytics/models/action_types.rb +14 -0
  2271. data/lib/oci/log_analytics/models/add_entity_association_details.rb +156 -0
  2272. data/lib/oci/log_analytics/models/add_fields_command_descriptor.rb +184 -0
  2273. data/lib/oci/log_analytics/models/archiving_configuration.rb +174 -0
  2274. data/lib/oci/log_analytics/models/argument.rb +189 -0
  2275. data/lib/oci/log_analytics/models/association_summary_report.rb +154 -0
  2276. data/lib/oci/log_analytics/models/auto_lookups.rb +168 -0
  2277. data/lib/oci/log_analytics/models/bottom_command_descriptor.rb +180 -0
  2278. data/lib/oci/log_analytics/models/bucket_command_descriptor.rb +223 -0
  2279. data/lib/oci/log_analytics/models/bucket_range.rb +178 -0
  2280. data/lib/oci/log_analytics/models/change_log_analytics_entity_compartment_details.rb +156 -0
  2281. data/lib/oci/log_analytics/models/change_log_analytics_log_group_compartment_details.rb +156 -0
  2282. data/lib/oci/log_analytics/models/change_log_analytics_object_collection_rule_compartment_details.rb +156 -0
  2283. data/lib/oci/log_analytics/models/change_scheduled_task_compartment_details.rb +155 -0
  2284. data/lib/oci/log_analytics/models/char_encoding_collection.rb +150 -0
  2285. data/lib/oci/log_analytics/models/chart_column.rb +241 -0
  2286. data/lib/oci/log_analytics/models/chart_data_column.rb +219 -0
  2287. data/lib/oci/log_analytics/models/classify_column.rb +294 -0
  2288. data/lib/oci/log_analytics/models/classify_command_descriptor.rb +210 -0
  2289. data/lib/oci/log_analytics/models/cluster_command_descriptor.rb +166 -0
  2290. data/lib/oci/log_analytics/models/cluster_compare_command_descriptor.rb +257 -0
  2291. data/lib/oci/log_analytics/models/cluster_details_command_descriptor.rb +166 -0
  2292. data/lib/oci/log_analytics/models/cluster_split_command_descriptor.rb +166 -0
  2293. data/lib/oci/log_analytics/models/column.rb +186 -0
  2294. data/lib/oci/log_analytics/models/column_name.rb +150 -0
  2295. data/lib/oci/log_analytics/models/column_name_collection.rb +150 -0
  2296. data/lib/oci/log_analytics/models/command_descriptor.rb +166 -0
  2297. data/lib/oci/log_analytics/models/create_acceleration_task_details.rb +181 -0
  2298. data/lib/oci/log_analytics/models/create_log_analytics_entity_details.rb +298 -0
  2299. data/lib/oci/log_analytics/models/create_log_analytics_entity_type_details.rb +172 -0
  2300. data/lib/oci/log_analytics/models/create_log_analytics_log_group_details.rb +216 -0
  2301. data/lib/oci/log_analytics/models/create_log_analytics_object_collection_rule_details.rb +380 -0
  2302. data/lib/oci/log_analytics/models/create_scheduled_task_details.rb +245 -0
  2303. data/lib/oci/log_analytics/models/create_standard_task_details.rb +216 -0
  2304. data/lib/oci/log_analytics/models/cron_schedule.rb +178 -0
  2305. data/lib/oci/log_analytics/models/delete_command_descriptor.rb +184 -0
  2306. data/lib/oci/log_analytics/models/delete_log_analytics_association.rb +234 -0
  2307. data/lib/oci/log_analytics/models/delete_log_analytics_association_details.rb +164 -0
  2308. data/lib/oci/log_analytics/models/delta_command_descriptor.rb +180 -0
  2309. data/lib/oci/log_analytics/models/demo_mode_command_descriptor.rb +166 -0
  2310. data/lib/oci/log_analytics/models/distinct_command_descriptor.rb +166 -0
  2311. data/lib/oci/log_analytics/models/efd_regex_result.rb +263 -0
  2312. data/lib/oci/log_analytics/models/entity_cloud_type.rb +11 -0
  2313. data/lib/oci/log_analytics/models/entity_lifecycle_states.rb +11 -0
  2314. data/lib/oci/log_analytics/models/entity_type_property.rb +163 -0
  2315. data/lib/oci/log_analytics/models/error_details.rb +160 -0
  2316. data/lib/oci/log_analytics/models/estimate_purge_data_size_details.rb +226 -0
  2317. data/lib/oci/log_analytics/models/estimate_purge_data_size_result.rb +155 -0
  2318. data/lib/oci/log_analytics/models/eval_command_descriptor.rb +166 -0
  2319. data/lib/oci/log_analytics/models/event_stats_command_descriptor.rb +195 -0
  2320. data/lib/oci/log_analytics/models/export_content.rb +182 -0
  2321. data/lib/oci/log_analytics/models/export_details.rb +358 -0
  2322. data/lib/oci/log_analytics/models/extended_fields_validation_result.rb +150 -0
  2323. data/lib/oci/log_analytics/models/extract_command_descriptor.rb +166 -0
  2324. data/lib/oci/log_analytics/models/extract_log_field_results.rb +150 -0
  2325. data/lib/oci/log_analytics/models/extract_log_header_details.rb +168 -0
  2326. data/lib/oci/log_analytics/models/extract_log_header_results.rb +168 -0
  2327. data/lib/oci/log_analytics/models/field.rb +182 -0
  2328. data/lib/oci/log_analytics/models/field_argument.rb +158 -0
  2329. data/lib/oci/log_analytics/models/field_summary_command_descriptor.rb +186 -0
  2330. data/lib/oci/log_analytics/models/field_summary_report.rb +182 -0
  2331. data/lib/oci/log_analytics/models/field_value.rb +186 -0
  2332. data/lib/oci/log_analytics/models/fields_add_remove_field.rb +216 -0
  2333. data/lib/oci/log_analytics/models/fields_command_descriptor.rb +166 -0
  2334. data/lib/oci/log_analytics/models/file_validation_response.rb +178 -0
  2335. data/lib/oci/log_analytics/models/filter.rb +207 -0
  2336. data/lib/oci/log_analytics/models/filter_details.rb +193 -0
  2337. data/lib/oci/log_analytics/models/filter_output.rb +186 -0
  2338. data/lib/oci/log_analytics/models/fixed_frequency_schedule.rb +189 -0
  2339. data/lib/oci/log_analytics/models/function_field.rb +207 -0
  2340. data/lib/oci/log_analytics/models/head_command_descriptor.rb +180 -0
  2341. data/lib/oci/log_analytics/models/highlight_command_descriptor.rb +202 -0
  2342. data/lib/oci/log_analytics/models/highlight_rows_command_descriptor.rb +180 -0
  2343. data/lib/oci/log_analytics/models/indexes.rb +168 -0
  2344. data/lib/oci/log_analytics/models/job_mode.rb +11 -0
  2345. data/lib/oci/log_analytics/models/job_mode_filter.rb +12 -0
  2346. data/lib/oci/log_analytics/models/label_names.rb +154 -0
  2347. data/lib/oci/log_analytics/models/label_priority.rb +174 -0
  2348. data/lib/oci/log_analytics/models/label_priority_collection.rb +150 -0
  2349. data/lib/oci/log_analytics/models/label_source_collection.rb +151 -0
  2350. data/lib/oci/log_analytics/models/label_source_summary.rb +238 -0
  2351. data/lib/oci/log_analytics/models/label_summary_report.rb +168 -0
  2352. data/lib/oci/log_analytics/models/lifecycle_states.rb +11 -0
  2353. data/lib/oci/log_analytics/models/link_command_descriptor.rb +214 -0
  2354. data/lib/oci/log_analytics/models/link_details_command_descriptor.rb +166 -0
  2355. data/lib/oci/log_analytics/models/literal_argument.rb +175 -0
  2356. data/lib/oci/log_analytics/models/log_analytics_associated_entity.rb +224 -0
  2357. data/lib/oci/log_analytics/models/log_analytics_associated_entity_collection.rb +150 -0
  2358. data/lib/oci/log_analytics/models/log_analytics_association.rb +398 -0
  2359. data/lib/oci/log_analytics/models/log_analytics_association_collection.rb +150 -0
  2360. data/lib/oci/log_analytics/models/log_analytics_association_parameter.rb +283 -0
  2361. data/lib/oci/log_analytics/models/log_analytics_association_parameter_collection.rb +150 -0
  2362. data/lib/oci/log_analytics/models/log_analytics_config_work_request.rb +299 -0
  2363. data/lib/oci/log_analytics/models/log_analytics_config_work_request_collection.rb +150 -0
  2364. data/lib/oci/log_analytics/models/log_analytics_config_work_request_payload.rb +182 -0
  2365. data/lib/oci/log_analytics/models/log_analytics_config_work_request_summary.rb +275 -0
  2366. data/lib/oci/log_analytics/models/log_analytics_entity.rb +450 -0
  2367. data/lib/oci/log_analytics/models/log_analytics_entity_collection.rb +151 -0
  2368. data/lib/oci/log_analytics/models/log_analytics_entity_summary.rb +396 -0
  2369. data/lib/oci/log_analytics/models/log_analytics_entity_summary_report.rb +200 -0
  2370. data/lib/oci/log_analytics/models/log_analytics_entity_type.rb +302 -0
  2371. data/lib/oci/log_analytics/models/log_analytics_entity_type_collection.rb +151 -0
  2372. data/lib/oci/log_analytics/models/log_analytics_entity_type_summary.rb +277 -0
  2373. data/lib/oci/log_analytics/models/log_analytics_extended_field.rb +232 -0
  2374. data/lib/oci/log_analytics/models/log_analytics_field.rb +428 -0
  2375. data/lib/oci/log_analytics/models/log_analytics_field_collection.rb +150 -0
  2376. data/lib/oci/log_analytics/models/log_analytics_field_summary.rb +425 -0
  2377. data/lib/oci/log_analytics/models/log_analytics_import_custom_change_list.rb +266 -0
  2378. data/lib/oci/log_analytics/models/log_analytics_import_custom_content.rb +209 -0
  2379. data/lib/oci/log_analytics/models/log_analytics_label.rb +337 -0
  2380. data/lib/oci/log_analytics/models/log_analytics_label_alias.rb +239 -0
  2381. data/lib/oci/log_analytics/models/log_analytics_label_collection.rb +151 -0
  2382. data/lib/oci/log_analytics/models/log_analytics_label_definition.rb +196 -0
  2383. data/lib/oci/log_analytics/models/log_analytics_label_operator.rb +164 -0
  2384. data/lib/oci/log_analytics/models/log_analytics_label_operator_collection.rb +150 -0
  2385. data/lib/oci/log_analytics/models/log_analytics_label_summary.rb +337 -0
  2386. data/lib/oci/log_analytics/models/log_analytics_label_view.rb +341 -0
  2387. data/lib/oci/log_analytics/models/log_analytics_log_group.rb +258 -0
  2388. data/lib/oci/log_analytics/models/log_analytics_log_group_summary.rb +258 -0
  2389. data/lib/oci/log_analytics/models/log_analytics_log_group_summary_collection.rb +150 -0
  2390. data/lib/oci/log_analytics/models/log_analytics_lookup.rb +308 -0
  2391. data/lib/oci/log_analytics/models/log_analytics_meta_function.rb +226 -0
  2392. data/lib/oci/log_analytics/models/log_analytics_meta_function_argument.rb +322 -0
  2393. data/lib/oci/log_analytics/models/log_analytics_meta_function_collection.rb +150 -0
  2394. data/lib/oci/log_analytics/models/log_analytics_meta_source_type.rb +244 -0
  2395. data/lib/oci/log_analytics/models/log_analytics_meta_source_type_collection.rb +150 -0
  2396. data/lib/oci/log_analytics/models/log_analytics_metric.rb +466 -0
  2397. data/lib/oci/log_analytics/models/log_analytics_object_collection_rule.rb +473 -0
  2398. data/lib/oci/log_analytics/models/log_analytics_object_collection_rule_collection.rb +150 -0
  2399. data/lib/oci/log_analytics/models/log_analytics_object_collection_rule_summary.rb +343 -0
  2400. data/lib/oci/log_analytics/models/log_analytics_operation_types.rb +11 -0
  2401. data/lib/oci/log_analytics/models/log_analytics_parameter.rb +202 -0
  2402. data/lib/oci/log_analytics/models/log_analytics_parser.rb +540 -0
  2403. data/lib/oci/log_analytics/models/log_analytics_parser_collection.rb +150 -0
  2404. data/lib/oci/log_analytics/models/log_analytics_parser_field.rb +270 -0
  2405. data/lib/oci/log_analytics/models/log_analytics_parser_filter.rb +225 -0
  2406. data/lib/oci/log_analytics/models/log_analytics_parser_function.rb +279 -0
  2407. data/lib/oci/log_analytics/models/log_analytics_parser_function_collection.rb +150 -0
  2408. data/lib/oci/log_analytics/models/log_analytics_parser_function_parameter.rb +237 -0
  2409. data/lib/oci/log_analytics/models/log_analytics_parser_meta_plugin.rb +188 -0
  2410. data/lib/oci/log_analytics/models/log_analytics_parser_meta_plugin_collection.rb +150 -0
  2411. data/lib/oci/log_analytics/models/log_analytics_parser_meta_plugin_parameter.rb +212 -0
  2412. data/lib/oci/log_analytics/models/log_analytics_parser_summary.rb +540 -0
  2413. data/lib/oci/log_analytics/models/log_analytics_pattern_filter.rb +238 -0
  2414. data/lib/oci/log_analytics/models/log_analytics_source.rb +598 -0
  2415. data/lib/oci/log_analytics/models/log_analytics_source_collection.rb +150 -0
  2416. data/lib/oci/log_analytics/models/log_analytics_source_data_filter.rb +348 -0
  2417. data/lib/oci/log_analytics/models/log_analytics_source_entity_type.rb +196 -0
  2418. data/lib/oci/log_analytics/models/log_analytics_source_extended_field_definition.rb +359 -0
  2419. data/lib/oci/log_analytics/models/log_analytics_source_extended_field_definition_collection.rb +150 -0
  2420. data/lib/oci/log_analytics/models/log_analytics_source_function.rb +295 -0
  2421. data/lib/oci/log_analytics/models/log_analytics_source_label_condition.rb +388 -0
  2422. data/lib/oci/log_analytics/models/log_analytics_source_metadata_field.rb +206 -0
  2423. data/lib/oci/log_analytics/models/log_analytics_source_metric.rb +196 -0
  2424. data/lib/oci/log_analytics/models/log_analytics_source_pattern.rb +397 -0
  2425. data/lib/oci/log_analytics/models/log_analytics_source_pattern_collection.rb +150 -0
  2426. data/lib/oci/log_analytics/models/log_analytics_source_summary.rb +598 -0
  2427. data/lib/oci/log_analytics/models/log_group_summary_report.rb +150 -0
  2428. data/lib/oci/log_analytics/models/lookup_command_descriptor.rb +166 -0
  2429. data/lib/oci/log_analytics/models/lookup_field.rb +230 -0
  2430. data/lib/oci/log_analytics/models/macro_command_descriptor.rb +166 -0
  2431. data/lib/oci/log_analytics/models/match_info.rb +182 -0
  2432. data/lib/oci/log_analytics/models/multi_search_command_descriptor.rb +184 -0
  2433. data/lib/oci/log_analytics/models/namespace.rb +183 -0
  2434. data/lib/oci/log_analytics/models/namespace_collection.rb +152 -0
  2435. data/lib/oci/log_analytics/models/namespace_summary.rb +180 -0
  2436. data/lib/oci/log_analytics/models/object_collection_rule_collection_types.rb +12 -0
  2437. data/lib/oci/log_analytics/models/operation_status.rb +15 -0
  2438. data/lib/oci/log_analytics/models/parse_query_details.rb +182 -0
  2439. data/lib/oci/log_analytics/models/parse_query_output.rb +208 -0
  2440. data/lib/oci/log_analytics/models/parsed_content.rb +224 -0
  2441. data/lib/oci/log_analytics/models/parsed_field.rb +168 -0
  2442. data/lib/oci/log_analytics/models/parser_summary_report.rb +168 -0
  2443. data/lib/oci/log_analytics/models/parser_test_result.rb +202 -0
  2444. data/lib/oci/log_analytics/models/property_override.rb +201 -0
  2445. data/lib/oci/log_analytics/models/purge_action.rb +246 -0
  2446. data/lib/oci/log_analytics/models/purge_storage_data_details.rb +226 -0
  2447. data/lib/oci/log_analytics/models/query_aggregation.rb +264 -0
  2448. data/lib/oci/log_analytics/models/query_details.rb +401 -0
  2449. data/lib/oci/log_analytics/models/query_operation_type.rb +11 -0
  2450. data/lib/oci/log_analytics/models/query_work_request.rb +440 -0
  2451. data/lib/oci/log_analytics/models/query_work_request_collection.rb +152 -0
  2452. data/lib/oci/log_analytics/models/query_work_request_summary.rb +335 -0
  2453. data/lib/oci/log_analytics/models/recall_archived_data_details.rb +210 -0
  2454. data/lib/oci/log_analytics/models/regex_command_descriptor.rb +166 -0
  2455. data/lib/oci/log_analytics/models/regex_match_result.rb +210 -0
  2456. data/lib/oci/log_analytics/models/release_recalled_data_details.rb +210 -0
  2457. data/lib/oci/log_analytics/models/remove_entity_associations_details.rb +156 -0
  2458. data/lib/oci/log_analytics/models/rename_command_descriptor.rb +166 -0
  2459. data/lib/oci/log_analytics/models/result_column.rb +205 -0
  2460. data/lib/oci/log_analytics/models/schedule.rb +223 -0
  2461. data/lib/oci/log_analytics/models/scheduled_task.rb +398 -0
  2462. data/lib/oci/log_analytics/models/scheduled_task_collection.rb +150 -0
  2463. data/lib/oci/log_analytics/models/scheduled_task_summary.rb +344 -0
  2464. data/lib/oci/log_analytics/models/scheduler_resource.rb +154 -0
  2465. data/lib/oci/log_analytics/models/scope_filter.rb +167 -0
  2466. data/lib/oci/log_analytics/models/search_command_descriptor.rb +184 -0
  2467. data/lib/oci/log_analytics/models/search_lookup_command_descriptor.rb +166 -0
  2468. data/lib/oci/log_analytics/models/sort_command_descriptor.rb +166 -0
  2469. data/lib/oci/log_analytics/models/sort_field.rb +216 -0
  2470. data/lib/oci/log_analytics/models/source_mapping_response.rb +154 -0
  2471. data/lib/oci/log_analytics/models/source_summary_report.rb +182 -0
  2472. data/lib/oci/log_analytics/models/source_validate_details.rb +160 -0
  2473. data/lib/oci/log_analytics/models/source_validate_results.rb +150 -0
  2474. data/lib/oci/log_analytics/models/stats_command_descriptor.rb +195 -0
  2475. data/lib/oci/log_analytics/models/status_summary.rb +202 -0
  2476. data/lib/oci/log_analytics/models/step_info.rb +182 -0
  2477. data/lib/oci/log_analytics/models/storage.rb +170 -0
  2478. data/lib/oci/log_analytics/models/storage_data_type.rb +11 -0
  2479. data/lib/oci/log_analytics/models/storage_operation_type.rb +15 -0
  2480. data/lib/oci/log_analytics/models/storage_usage.rb +182 -0
  2481. data/lib/oci/log_analytics/models/storage_work_request.rb +469 -0
  2482. data/lib/oci/log_analytics/models/storage_work_request_collection.rb +152 -0
  2483. data/lib/oci/log_analytics/models/storage_work_request_summary.rb +466 -0
  2484. data/lib/oci/log_analytics/models/stream_action.rb +162 -0
  2485. data/lib/oci/log_analytics/models/sub_system_name.rb +10 -0
  2486. data/lib/oci/log_analytics/models/success.rb +150 -0
  2487. data/lib/oci/log_analytics/models/suggest_details.rb +214 -0
  2488. data/lib/oci/log_analytics/models/suggest_output.rb +222 -0
  2489. data/lib/oci/log_analytics/models/tail_command_descriptor.rb +180 -0
  2490. data/lib/oci/log_analytics/models/task_type.rb +13 -0
  2491. data/lib/oci/log_analytics/models/test_parser_payload_details.rb +463 -0
  2492. data/lib/oci/log_analytics/models/time_column.rb +211 -0
  2493. data/lib/oci/log_analytics/models/time_compare_command_descriptor.rb +166 -0
  2494. data/lib/oci/log_analytics/models/time_range.rb +188 -0
  2495. data/lib/oci/log_analytics/models/time_stats_command_descriptor.rb +217 -0
  2496. data/lib/oci/log_analytics/models/timezone_collection.rb +150 -0
  2497. data/lib/oci/log_analytics/models/top_command_descriptor.rb +180 -0
  2498. data/lib/oci/log_analytics/models/trend_column.rb +269 -0
  2499. data/lib/oci/log_analytics/models/ui_parser_test_metadata.rb +182 -0
  2500. data/lib/oci/log_analytics/models/update_log_analytics_entity_details.rb +238 -0
  2501. data/lib/oci/log_analytics/models/update_log_analytics_entity_type_details.rb +161 -0
  2502. data/lib/oci/log_analytics/models/update_log_analytics_log_group_details.rb +202 -0
  2503. data/lib/oci/log_analytics/models/update_log_analytics_object_collection_rule_details.rb +258 -0
  2504. data/lib/oci/log_analytics/models/update_scheduled_task_details.rb +202 -0
  2505. data/lib/oci/log_analytics/models/update_storage_details.rb +154 -0
  2506. data/lib/oci/log_analytics/models/upload.rb +231 -0
  2507. data/lib/oci/log_analytics/models/upload_collection.rb +150 -0
  2508. data/lib/oci/log_analytics/models/upload_file_collection.rb +150 -0
  2509. data/lib/oci/log_analytics/models/upload_file_status.rb +168 -0
  2510. data/lib/oci/log_analytics/models/upload_file_summary.rb +359 -0
  2511. data/lib/oci/log_analytics/models/upload_summary.rb +230 -0
  2512. data/lib/oci/log_analytics/models/upload_warning_collection.rb +150 -0
  2513. data/lib/oci/log_analytics/models/upload_warning_summary.rb +188 -0
  2514. data/lib/oci/log_analytics/models/upsert_log_analytics_association.rb +248 -0
  2515. data/lib/oci/log_analytics/models/upsert_log_analytics_association_details.rb +164 -0
  2516. data/lib/oci/log_analytics/models/upsert_log_analytics_field_details.rb +202 -0
  2517. data/lib/oci/log_analytics/models/upsert_log_analytics_label_details.rb +296 -0
  2518. data/lib/oci/log_analytics/models/upsert_log_analytics_parser_details.rb +440 -0
  2519. data/lib/oci/log_analytics/models/upsert_log_analytics_source_details.rb +500 -0
  2520. data/lib/oci/log_analytics/models/usage_status_item.rb +196 -0
  2521. data/lib/oci/log_analytics/models/value_type.rb +17 -0
  2522. data/lib/oci/log_analytics/models/verify_output.rb +216 -0
  2523. data/lib/oci/log_analytics/models/violation.rb +226 -0
  2524. data/lib/oci/log_analytics/models/where_command_descriptor.rb +166 -0
  2525. data/lib/oci/log_analytics/models/work_request.rb +306 -0
  2526. data/lib/oci/log_analytics/models/work_request_collection.rb +152 -0
  2527. data/lib/oci/log_analytics/models/work_request_error.rb +173 -0
  2528. data/lib/oci/log_analytics/models/work_request_error_collection.rb +152 -0
  2529. data/lib/oci/log_analytics/models/work_request_log.rb +160 -0
  2530. data/lib/oci/log_analytics/models/work_request_log_collection.rb +152 -0
  2531. data/lib/oci/log_analytics/models/work_request_resource.rb +219 -0
  2532. data/lib/oci/log_analytics/models/work_request_status.rb +14 -0
  2533. data/lib/oci/log_analytics/models/work_request_summary.rb +258 -0
  2534. data/lib/oci/log_analytics/util.rb +3 -0
  2535. data/lib/oci/logging/logging.rb +90 -0
  2536. data/lib/oci/logging/logging_management_client.rb +2312 -0
  2537. data/lib/oci/logging/logging_management_client_composite_operations.rb +794 -0
  2538. data/lib/oci/logging/models/action_types.rb +14 -0
  2539. data/lib/oci/logging/models/archiving.rb +156 -0
  2540. data/lib/oci/logging/models/category.rb +174 -0
  2541. data/lib/oci/logging/models/change_log_group_compartment_details.rb +154 -0
  2542. data/lib/oci/logging/models/change_log_log_group_details.rb +154 -0
  2543. data/lib/oci/logging/models/change_log_saved_search_compartment_details.rb +155 -0
  2544. data/lib/oci/logging/models/change_unified_agent_configuration_compartment_details.rb +154 -0
  2545. data/lib/oci/logging/models/configuration.rb +174 -0
  2546. data/lib/oci/logging/models/create_log_details.rb +259 -0
  2547. data/lib/oci/logging/models/create_log_group_details.rb +215 -0
  2548. data/lib/oci/logging/models/create_log_saved_search_details.rb +223 -0
  2549. data/lib/oci/logging/models/create_unified_agent_configuration_details.rb +258 -0
  2550. data/lib/oci/logging/models/grok_pattern.rb +202 -0
  2551. data/lib/oci/logging/models/group_association_details.rb +154 -0
  2552. data/lib/oci/logging/models/log.rb +383 -0
  2553. data/lib/oci/logging/models/log_group.rb +291 -0
  2554. data/lib/oci/logging/models/log_group_lifecycle_state.rb +15 -0
  2555. data/lib/oci/logging/models/log_group_summary.rb +291 -0
  2556. data/lib/oci/logging/models/log_included_search.rb +251 -0
  2557. data/lib/oci/logging/models/log_included_search_summary.rb +195 -0
  2558. data/lib/oci/logging/models/log_included_search_summary_collection.rb +150 -0
  2559. data/lib/oci/logging/models/log_lifecycle_state.rb +15 -0
  2560. data/lib/oci/logging/models/log_saved_search.rb +300 -0
  2561. data/lib/oci/logging/models/log_saved_search_lifecycle_state.rb +15 -0
  2562. data/lib/oci/logging/models/log_saved_search_summary.rb +300 -0
  2563. data/lib/oci/logging/models/log_saved_search_summary_collection.rb +151 -0
  2564. data/lib/oci/logging/models/log_summary.rb +369 -0
  2565. data/lib/oci/logging/models/oci_service.rb +188 -0
  2566. data/lib/oci/logging/models/operation_status.rb +15 -0
  2567. data/lib/oci/logging/models/operation_types.rb +21 -0
  2568. data/lib/oci/logging/models/parameter.rb +191 -0
  2569. data/lib/oci/logging/models/resource_type.rb +160 -0
  2570. data/lib/oci/logging/models/service_summary.rb +222 -0
  2571. data/lib/oci/logging/models/source.rb +191 -0
  2572. data/lib/oci/logging/models/source_update_details.rb +150 -0
  2573. data/lib/oci/logging/models/unified_agent_apache2_parser.rb +173 -0
  2574. data/lib/oci/logging/models/unified_agent_apache_error_parser.rb +173 -0
  2575. data/lib/oci/logging/models/unified_agent_auditd_parser.rb +173 -0
  2576. data/lib/oci/logging/models/unified_agent_configuration.rb +368 -0
  2577. data/lib/oci/logging/models/unified_agent_configuration_collection.rb +150 -0
  2578. data/lib/oci/logging/models/unified_agent_configuration_summary.rb +372 -0
  2579. data/lib/oci/logging/models/unified_agent_csv_parser.rb +194 -0
  2580. data/lib/oci/logging/models/unified_agent_grok_parser.rb +211 -0
  2581. data/lib/oci/logging/models/unified_agent_logging_configuration.rb +166 -0
  2582. data/lib/oci/logging/models/unified_agent_logging_destination.rb +154 -0
  2583. data/lib/oci/logging/models/unified_agent_logging_source.rb +201 -0
  2584. data/lib/oci/logging/models/unified_agent_msgpack_parser.rb +173 -0
  2585. data/lib/oci/logging/models/unified_agent_multiline_grok_parser.rb +224 -0
  2586. data/lib/oci/logging/models/unified_agent_multiline_parser.rb +198 -0
  2587. data/lib/oci/logging/models/unified_agent_none_parser.rb +189 -0
  2588. data/lib/oci/logging/models/unified_agent_parser.rb +313 -0
  2589. data/lib/oci/logging/models/unified_agent_regex_parser.rb +198 -0
  2590. data/lib/oci/logging/models/unified_agent_service_configuration_details.rb +189 -0
  2591. data/lib/oci/logging/models/unified_agent_service_configuration_states.rb +11 -0
  2592. data/lib/oci/logging/models/unified_agent_service_configuration_types.rb +10 -0
  2593. data/lib/oci/logging/models/unified_agent_syslog_parser.rb +294 -0
  2594. data/lib/oci/logging/models/unified_agent_tail_log_source.rb +170 -0
  2595. data/lib/oci/logging/models/unified_agent_tsv_parser.rb +194 -0
  2596. data/lib/oci/logging/models/unified_agent_windows_event_source.rb +161 -0
  2597. data/lib/oci/logging/models/unified_json_parser.rb +223 -0
  2598. data/lib/oci/logging/models/update_configuration_details.rb +159 -0
  2599. data/lib/oci/logging/models/update_log_details.rb +230 -0
  2600. data/lib/oci/logging/models/update_log_group_details.rb +201 -0
  2601. data/lib/oci/logging/models/update_log_saved_search_details.rb +209 -0
  2602. data/lib/oci/logging/models/update_unified_agent_configuration_details.rb +244 -0
  2603. data/lib/oci/logging/models/work_request.rb +307 -0
  2604. data/lib/oci/logging/models/work_request_error.rb +173 -0
  2605. data/lib/oci/logging/models/work_request_log.rb +160 -0
  2606. data/lib/oci/logging/models/work_request_resource.rb +219 -0
  2607. data/lib/oci/logging/models/work_request_summary.rb +307 -0
  2608. data/lib/oci/logging/util.rb +3 -0
  2609. data/lib/oci/loggingingestion/logging_client.rb +170 -0
  2610. data/lib/oci/loggingingestion/logging_client_composite_operations.rb +25 -0
  2611. data/lib/oci/loggingingestion/loggingingestion.rb +22 -0
  2612. data/lib/oci/loggingingestion/models/log_entry.rb +177 -0
  2613. data/lib/oci/loggingingestion/models/log_entry_batch.rb +201 -0
  2614. data/lib/oci/loggingingestion/models/put_logs_details.rb +167 -0
  2615. data/lib/oci/loggingingestion/util.rb +3 -0
  2616. data/lib/oci/loggingsearch/log_search_client.rb +170 -0
  2617. data/lib/oci/loggingsearch/log_search_client_composite_operations.rb +25 -0
  2618. data/lib/oci/loggingsearch/loggingsearch.rb +24 -0
  2619. data/lib/oci/loggingsearch/models/field_info.rb +195 -0
  2620. data/lib/oci/loggingsearch/models/search_logs_details.rb +202 -0
  2621. data/lib/oci/loggingsearch/models/search_response.rb +170 -0
  2622. data/lib/oci/loggingsearch/models/search_result.rb +150 -0
  2623. data/lib/oci/loggingsearch/models/search_result_summary.rb +168 -0
  2624. data/lib/oci/loggingsearch/util.rb +3 -0
  2625. data/lib/oci/management_agent/management_agent.rb +50 -0
  2626. data/lib/oci/management_agent/management_agent_client.rb +1483 -0
  2627. data/lib/oci/management_agent/management_agent_client_composite_operations.rb +273 -0
  2628. data/lib/oci/management_agent/models/action_types.rb +14 -0
  2629. data/lib/oci/management_agent/models/availability_history_summary.rb +217 -0
  2630. data/lib/oci/management_agent/models/availability_status.rb +12 -0
  2631. data/lib/oci/management_agent/models/create_management_agent_install_key_details.rb +196 -0
  2632. data/lib/oci/management_agent/models/datatypes.rb +14 -0
  2633. data/lib/oci/management_agent/models/deploy_plugins_details.rb +182 -0
  2634. data/lib/oci/management_agent/models/edit_modes.rb +12 -0
  2635. data/lib/oci/management_agent/models/lifecycle_states.rb +17 -0
  2636. data/lib/oci/management_agent/models/management_agent.rb +477 -0
  2637. data/lib/oci/management_agent/models/management_agent_error.rb +160 -0
  2638. data/lib/oci/management_agent/models/management_agent_image.rb +268 -0
  2639. data/lib/oci/management_agent/models/management_agent_image_summary.rb +281 -0
  2640. data/lib/oci/management_agent/models/management_agent_install_key.rb +326 -0
  2641. data/lib/oci/management_agent/models/management_agent_install_key_summary.rb +302 -0
  2642. data/lib/oci/management_agent/models/management_agent_plugin.rb +257 -0
  2643. data/lib/oci/management_agent/models/management_agent_plugin_details.rb +196 -0
  2644. data/lib/oci/management_agent/models/management_agent_plugin_summary.rb +264 -0
  2645. data/lib/oci/management_agent/models/management_agent_summary.rb +449 -0
  2646. data/lib/oci/management_agent/models/operation_status.rb +16 -0
  2647. data/lib/oci/management_agent/models/operation_types.rb +12 -0
  2648. data/lib/oci/management_agent/models/platform_types.rb +11 -0
  2649. data/lib/oci/management_agent/models/update_management_agent_details.rb +200 -0
  2650. data/lib/oci/management_agent/models/update_management_agent_install_key_details.rb +168 -0
  2651. data/lib/oci/management_agent/models/work_delivery_status.rb +15 -0
  2652. data/lib/oci/management_agent/models/work_request.rb +308 -0
  2653. data/lib/oci/management_agent/models/work_request_error.rb +173 -0
  2654. data/lib/oci/management_agent/models/work_request_log_entry.rb +160 -0
  2655. data/lib/oci/management_agent/models/work_request_resource.rb +281 -0
  2656. data/lib/oci/management_agent/models/work_request_summary.rb +308 -0
  2657. data/lib/oci/management_agent/models/work_submission_key.rb +154 -0
  2658. data/lib/oci/management_agent/util.rb +3 -0
  2659. data/lib/oci/management_dashboard/dashx_apis_client.rb +1038 -0
  2660. data/lib/oci/management_dashboard/dashx_apis_client_composite_operations.rb +25 -0
  2661. data/lib/oci/management_dashboard/management_dashboard.rb +39 -0
  2662. data/lib/oci/management_dashboard/models/change_management_dashboards_compartment_details.rb +154 -0
  2663. data/lib/oci/management_dashboard/models/change_management_saved_searches_compartment_details.rb +154 -0
  2664. data/lib/oci/management_dashboard/models/create_management_dashboard_details.rb +408 -0
  2665. data/lib/oci/management_dashboard/models/create_management_saved_search_details.rb +395 -0
  2666. data/lib/oci/management_dashboard/models/lifecycle_states.rb +10 -0
  2667. data/lib/oci/management_dashboard/models/management_dashboard.rb +478 -0
  2668. data/lib/oci/management_dashboard/models/management_dashboard_collection.rb +150 -0
  2669. data/lib/oci/management_dashboard/models/management_dashboard_export_details.rb +182 -0
  2670. data/lib/oci/management_dashboard/models/management_dashboard_for_import_export_details.rb +422 -0
  2671. data/lib/oci/management_dashboard/models/management_dashboard_import_details.rb +182 -0
  2672. data/lib/oci/management_dashboard/models/management_dashboard_summary.rb +375 -0
  2673. data/lib/oci/management_dashboard/models/management_dashboard_tile_details.rb +293 -0
  2674. data/lib/oci/management_dashboard/models/management_saved_search.rb +458 -0
  2675. data/lib/oci/management_dashboard/models/management_saved_search_collection.rb +150 -0
  2676. data/lib/oci/management_dashboard/models/management_saved_search_for_import_details.rb +402 -0
  2677. data/lib/oci/management_dashboard/models/management_saved_search_summary.rb +462 -0
  2678. data/lib/oci/management_dashboard/models/saved_search_types.rb +13 -0
  2679. data/lib/oci/management_dashboard/models/sort_orders.rb +11 -0
  2680. data/lib/oci/management_dashboard/models/update_management_dashboard_details.rb +394 -0
  2681. data/lib/oci/management_dashboard/models/update_management_saved_search_details.rb +385 -0
  2682. data/lib/oci/management_dashboard/util.rb +3 -0
  2683. data/lib/oci/marketplace/marketplace.rb +56 -0
  2684. data/lib/oci/marketplace/marketplace_client.rb +1258 -0
  2685. data/lib/oci/marketplace/marketplace_client_composite_operations.rb +25 -0
  2686. data/lib/oci/marketplace/models/accepted_agreement.rb +268 -0
  2687. data/lib/oci/marketplace/models/accepted_agreement_summary.rb +234 -0
  2688. data/lib/oci/marketplace/models/agreement.rb +230 -0
  2689. data/lib/oci/marketplace/models/agreement_summary.rb +205 -0
  2690. data/lib/oci/marketplace/models/category_summary.rb +150 -0
  2691. data/lib/oci/marketplace/models/create_accepted_agreement_details.rb +256 -0
  2692. data/lib/oci/marketplace/models/documentation_link.rb +174 -0
  2693. data/lib/oci/{streaming/models/archiver_error.rb → marketplace/models/error_entity.rb} +6 -5
  2694. data/lib/oci/marketplace/models/image_listing_package.rb +226 -0
  2695. data/lib/oci/marketplace/models/item.rb +160 -0
  2696. data/lib/oci/marketplace/models/link.rb +183 -0
  2697. data/lib/oci/marketplace/models/link_enum.rb +14 -0
  2698. data/lib/oci/marketplace/models/listing.rb +480 -0
  2699. data/lib/oci/marketplace/models/listing_package.rb +266 -0
  2700. data/lib/oci/marketplace/models/listing_package_summary.rb +245 -0
  2701. data/lib/oci/marketplace/models/listing_summary.rb +312 -0
  2702. data/lib/oci/marketplace/models/named_link.rb +160 -0
  2703. data/lib/oci/marketplace/models/orchestration_listing_package.rb +207 -0
  2704. data/lib/oci/marketplace/models/orchestration_variable.rb +238 -0
  2705. data/lib/oci/marketplace/models/orchestration_variable_type_enum.rb +11 -0
  2706. data/lib/oci/marketplace/models/package_type_enum.rb +11 -0
  2707. data/lib/oci/marketplace/models/pricing_currency_enum.rb +10 -0
  2708. data/lib/oci/marketplace/models/pricing_model.rb +244 -0
  2709. data/lib/oci/marketplace/models/pricing_strategy_enum.rb +13 -0
  2710. data/lib/oci/marketplace/models/pricing_type_enum.rb +12 -0
  2711. data/lib/oci/marketplace/models/publisher.rb +259 -0
  2712. data/lib/oci/marketplace/models/publisher_summary.rb +170 -0
  2713. data/lib/oci/marketplace/models/region.rb +170 -0
  2714. data/lib/oci/marketplace/models/report_collection.rb +150 -0
  2715. data/lib/oci/marketplace/models/report_summary.rb +184 -0
  2716. data/lib/oci/marketplace/models/report_type_collection.rb +150 -0
  2717. data/lib/oci/marketplace/models/report_type_summary.rb +184 -0
  2718. data/lib/oci/marketplace/models/screenshot.rb +202 -0
  2719. data/lib/oci/marketplace/models/support_contact.rb +180 -0
  2720. data/lib/oci/marketplace/models/tax_summary.rb +180 -0
  2721. data/lib/oci/marketplace/models/update_accepted_agreement_details.rb +188 -0
  2722. data/lib/oci/marketplace/models/upload_data.rb +192 -0
  2723. data/lib/oci/marketplace/util.rb +3 -0
  2724. data/lib/oci/monitoring/models/aggregated_datapoint.rb +2 -1
  2725. data/lib/oci/monitoring/models/alarm.rb +2 -1
  2726. data/lib/oci/monitoring/models/alarm_history_collection.rb +2 -1
  2727. data/lib/oci/monitoring/models/alarm_history_entry.rb +2 -1
  2728. data/lib/oci/monitoring/models/alarm_status_summary.rb +2 -1
  2729. data/lib/oci/monitoring/models/alarm_summary.rb +2 -1
  2730. data/lib/oci/monitoring/models/change_alarm_compartment_details.rb +2 -1
  2731. data/lib/oci/monitoring/models/create_alarm_details.rb +2 -1
  2732. data/lib/oci/monitoring/models/datapoint.rb +2 -1
  2733. data/lib/oci/monitoring/models/failed_metric_record.rb +2 -1
  2734. data/lib/oci/monitoring/models/list_metrics_details.rb +2 -1
  2735. data/lib/oci/monitoring/models/metric.rb +2 -1
  2736. data/lib/oci/monitoring/models/metric_data.rb +2 -1
  2737. data/lib/oci/monitoring/models/metric_data_details.rb +2 -1
  2738. data/lib/oci/monitoring/models/post_metric_data_details.rb +2 -1
  2739. data/lib/oci/monitoring/models/post_metric_data_response_details.rb +2 -1
  2740. data/lib/oci/monitoring/models/summarize_metrics_data_details.rb +2 -1
  2741. data/lib/oci/monitoring/models/suppression.rb +2 -1
  2742. data/lib/oci/monitoring/models/update_alarm_details.rb +2 -1
  2743. data/lib/oci/monitoring/monitoring.rb +2 -1
  2744. data/lib/oci/monitoring/monitoring_client.rb +18 -16
  2745. data/lib/oci/monitoring/monitoring_client_composite_operations.rb +2 -1
  2746. data/lib/oci/monitoring/util.rb +2 -1
  2747. data/lib/oci/mysql/channels_client.rb +625 -0
  2748. data/lib/oci/mysql/channels_client_composite_operations.rb +271 -0
  2749. data/lib/oci/mysql/db_backups_client.rb +464 -0
  2750. data/lib/oci/mysql/db_backups_client_composite_operations.rb +123 -0
  2751. data/lib/oci/mysql/db_system_client.rb +1313 -0
  2752. data/lib/oci/mysql/db_system_client_composite_operations.rb +667 -0
  2753. data/lib/oci/mysql/models/add_analytics_cluster_details.rb +173 -0
  2754. data/lib/oci/mysql/models/analytics_cluster.rb +282 -0
  2755. data/lib/oci/mysql/models/analytics_cluster_memory_estimate.rb +236 -0
  2756. data/lib/oci/mysql/models/analytics_cluster_memory_estimate_status.rb +15 -0
  2757. data/lib/oci/mysql/models/analytics_cluster_node.rb +222 -0
  2758. data/lib/oci/mysql/models/analytics_cluster_schema_memory_estimate.rb +172 -0
  2759. data/lib/oci/mysql/models/analytics_cluster_summary.rb +215 -0
  2760. data/lib/oci/mysql/models/analytics_cluster_table_memory_estimate.rb +236 -0
  2761. data/lib/oci/mysql/models/backup.rb +473 -0
  2762. data/lib/oci/mysql/models/backup_policy.rb +235 -0
  2763. data/lib/oci/mysql/models/backup_summary.rb +353 -0
  2764. data/lib/oci/mysql/models/ca_certificate.rb +189 -0
  2765. data/lib/oci/mysql/models/channel.rb +340 -0
  2766. data/lib/oci/mysql/models/channel_source.rb +189 -0
  2767. data/lib/oci/mysql/models/channel_source_mysql.rb +230 -0
  2768. data/lib/oci/mysql/models/channel_summary.rb +304 -0
  2769. data/lib/oci/mysql/models/channel_target.rb +189 -0
  2770. data/lib/oci/mysql/models/channel_target_db_system.rb +193 -0
  2771. data/lib/oci/mysql/models/configuration.rb +353 -0
  2772. data/lib/oci/mysql/models/configuration_summary.rb +287 -0
  2773. data/lib/oci/mysql/models/configuration_variables.rb +928 -0
  2774. data/lib/oci/mysql/models/create_backup_details.rb +253 -0
  2775. data/lib/oci/mysql/models/create_backup_policy_details.rb +229 -0
  2776. data/lib/oci/mysql/models/create_channel_details.rb +248 -0
  2777. data/lib/oci/mysql/models/create_channel_source_details.rb +170 -0
  2778. data/lib/oci/mysql/models/create_channel_source_from_mysql_details.rb +224 -0
  2779. data/lib/oci/mysql/models/create_channel_target_details.rb +170 -0
  2780. data/lib/oci/mysql/models/create_channel_target_from_db_system_details.rb +193 -0
  2781. data/lib/oci/mysql/models/create_configuration_details.rb +249 -0
  2782. data/lib/oci/mysql/models/create_db_system_details.rb +446 -0
  2783. data/lib/oci/mysql/models/create_db_system_source_details.rb +190 -0
  2784. data/lib/oci/mysql/models/create_db_system_source_from_backup_details.rb +164 -0
  2785. data/lib/oci/mysql/models/create_db_system_source_from_none_details.rb +146 -0
  2786. data/lib/oci/mysql/models/create_db_system_source_import_from_url_details.rb +164 -0
  2787. data/lib/oci/mysql/models/create_maintenance_details.rb +162 -0
  2788. data/lib/oci/mysql/models/db_system.rb +555 -0
  2789. data/lib/oci/mysql/models/db_system_endpoint.rb +272 -0
  2790. data/lib/oci/mysql/models/db_system_snapshot.rb +437 -0
  2791. data/lib/oci/mysql/models/db_system_source.rb +197 -0
  2792. data/lib/oci/mysql/models/db_system_source_from_backup.rb +164 -0
  2793. data/lib/oci/mysql/models/db_system_source_from_none.rb +146 -0
  2794. data/lib/oci/mysql/models/db_system_source_import_from_url.rb +146 -0
  2795. data/lib/oci/mysql/models/db_system_summary.rb +349 -0
  2796. data/lib/oci/mysql/models/inno_db_shutdown_mode.rb +12 -0
  2797. data/lib/oci/mysql/models/maintenance_details.rb +162 -0
  2798. data/lib/oci/mysql/models/pem_ca_certificate.rb +158 -0
  2799. data/lib/oci/mysql/models/restart_db_system_details.rb +172 -0
  2800. data/lib/oci/mysql/models/shape_summary.rb +224 -0
  2801. data/lib/oci/mysql/models/stop_db_system_details.rb +172 -0
  2802. data/lib/oci/mysql/models/update_analytics_cluster_details.rb +179 -0
  2803. data/lib/oci/mysql/models/update_backup_details.rb +212 -0
  2804. data/lib/oci/mysql/models/update_backup_policy_details.rb +229 -0
  2805. data/lib/oci/mysql/models/update_channel_details.rb +234 -0
  2806. data/lib/oci/mysql/models/update_channel_source_details.rb +171 -0
  2807. data/lib/oci/mysql/models/update_channel_source_from_mysql_details.rb +224 -0
  2808. data/lib/oci/mysql/models/update_channel_target_details.rb +170 -0
  2809. data/lib/oci/mysql/models/update_channel_target_from_db_system_details.rb +179 -0
  2810. data/lib/oci/mysql/models/update_configuration_details.rb +197 -0
  2811. data/lib/oci/mysql/models/update_db_system_details.rb +427 -0
  2812. data/lib/oci/mysql/models/update_maintenance_details.rb +162 -0
  2813. data/lib/oci/mysql/models/version.rb +161 -0
  2814. data/lib/oci/mysql/models/version_summary.rb +165 -0
  2815. data/lib/oci/mysql/models/work_request.rb +320 -0
  2816. data/lib/oci/mysql/models/work_request_error.rb +174 -0
  2817. data/lib/oci/mysql/models/work_request_log_entry.rb +161 -0
  2818. data/lib/oci/mysql/models/work_request_operation_status.rb +15 -0
  2819. data/lib/oci/mysql/models/work_request_operation_type.rb +22 -0
  2820. data/lib/oci/mysql/models/work_request_resource.rb +219 -0
  2821. data/lib/oci/mysql/models/work_request_resource_action_type.rb +14 -0
  2822. data/lib/oci/mysql/models/work_request_summary.rb +310 -0
  2823. data/lib/oci/mysql/mysql.rb +97 -0
  2824. data/lib/oci/mysql/mysqlaas_client.rb +619 -0
  2825. data/lib/oci/mysql/mysqlaas_client_composite_operations.rb +154 -0
  2826. data/lib/oci/mysql/util.rb +3 -0
  2827. data/lib/oci/mysql/work_requests_client.rb +384 -0
  2828. data/lib/oci/mysql/work_requests_client_composite_operations.rb +25 -0
  2829. data/lib/oci/nosql/models/change_table_compartment_details.rb +173 -0
  2830. data/lib/oci/nosql/models/column.rb +188 -0
  2831. data/lib/oci/nosql/models/create_index_details.rb +196 -0
  2832. data/lib/oci/nosql/models/create_table_details.rb +240 -0
  2833. data/lib/oci/nosql/models/delete_row_result.rb +194 -0
  2834. data/lib/oci/nosql/models/index.rb +255 -0
  2835. data/lib/oci/nosql/models/index_collection.rb +150 -0
  2836. data/lib/oci/nosql/models/index_key.rb +187 -0
  2837. data/lib/oci/nosql/models/index_summary.rb +189 -0
  2838. data/lib/oci/nosql/models/prepared_statement.rb +161 -0
  2839. data/lib/oci/nosql/models/query_details.rb +246 -0
  2840. data/lib/oci/nosql/models/query_result_collection.rb +159 -0
  2841. data/lib/oci/nosql/models/request_usage.rb +168 -0
  2842. data/lib/oci/nosql/models/row.rb +176 -0
  2843. data/lib/oci/nosql/models/schema.rb +188 -0
  2844. data/lib/oci/nosql/models/statement_summary.rb +248 -0
  2845. data/lib/oci/nosql/models/table.rb +380 -0
  2846. data/lib/oci/nosql/models/table_collection.rb +178 -0
  2847. data/lib/oci/nosql/models/table_limits.rb +182 -0
  2848. data/lib/oci/nosql/models/table_summary.rb +332 -0
  2849. data/lib/oci/nosql/models/table_usage_collection.rb +150 -0
  2850. data/lib/oci/nosql/models/table_usage_summary.rb +248 -0
  2851. data/lib/oci/nosql/models/update_row_details.rb +285 -0
  2852. data/lib/oci/nosql/models/update_row_result.rb +208 -0
  2853. data/lib/oci/nosql/models/update_table_details.rb +220 -0
  2854. data/lib/oci/nosql/models/work_request.rb +306 -0
  2855. data/lib/oci/nosql/models/work_request_collection.rb +150 -0
  2856. data/lib/oci/nosql/models/work_request_error.rb +174 -0
  2857. data/lib/oci/nosql/models/work_request_error_collection.rb +150 -0
  2858. data/lib/oci/nosql/models/work_request_log_entry.rb +160 -0
  2859. data/lib/oci/nosql/models/work_request_log_entry_collection.rb +150 -0
  2860. data/lib/oci/nosql/models/work_request_resource.rb +220 -0
  2861. data/lib/oci/nosql/models/work_request_summary.rb +306 -0
  2862. data/lib/oci/nosql/nosql.rb +53 -0
  2863. data/lib/oci/nosql/nosql_client.rb +1571 -0
  2864. data/lib/oci/nosql/nosql_client_composite_operations.rb +372 -0
  2865. data/lib/oci/nosql/util.rb +3 -0
  2866. data/lib/oci/object_storage/models/bucket.rb +88 -10
  2867. data/lib/oci/object_storage/models/bucket_summary.rb +4 -3
  2868. data/lib/oci/object_storage/models/commit_multipart_upload_details.rb +2 -1
  2869. data/lib/oci/object_storage/models/commit_multipart_upload_part_details.rb +2 -1
  2870. data/lib/oci/object_storage/models/copy_object_details.rb +17 -2
  2871. data/lib/oci/object_storage/models/create_bucket_details.rb +37 -9
  2872. data/lib/oci/object_storage/models/create_multipart_upload_details.rb +55 -5
  2873. data/lib/oci/object_storage/models/create_preauthenticated_request_details.rb +3 -2
  2874. data/lib/oci/object_storage/models/create_replication_policy_details.rb +180 -0
  2875. data/lib/oci/object_storage/models/create_retention_rule_details.rb +178 -0
  2876. data/lib/oci/object_storage/models/duration.rb +193 -0
  2877. data/lib/oci/object_storage/models/list_objects.rb +3 -2
  2878. data/lib/oci/object_storage/models/multipart_upload.rb +3 -2
  2879. data/lib/oci/object_storage/models/multipart_upload_part_summary.rb +2 -1
  2880. data/lib/oci/object_storage/models/namespace_metadata.rb +2 -1
  2881. data/lib/oci/object_storage/models/object_lifecycle_policy.rb +3 -2
  2882. data/lib/oci/object_storage/models/object_lifecycle_rule.rb +27 -8
  2883. data/lib/oci/object_storage/models/object_name_filter.rb +2 -1
  2884. data/lib/oci/object_storage/models/object_summary.rb +31 -6
  2885. data/lib/oci/object_storage/models/object_version_collection.rb +165 -0
  2886. data/lib/oci/object_storage/models/object_version_summary.rb +241 -0
  2887. data/lib/oci/object_storage/models/pattern_details.rb +2 -1
  2888. data/lib/oci/object_storage/models/preauthenticated_request.rb +5 -3
  2889. data/lib/oci/object_storage/models/preauthenticated_request_summary.rb +4 -3
  2890. data/lib/oci/object_storage/models/put_object_lifecycle_policy_details.rb +2 -1
  2891. data/lib/oci/object_storage/models/reencrypt_object_details.rb +195 -0
  2892. data/lib/oci/object_storage/models/rename_object_details.rb +2 -1
  2893. data/lib/oci/object_storage/models/replication_policy.rb +263 -0
  2894. data/lib/oci/object_storage/models/replication_policy_summary.rb +266 -0
  2895. data/lib/oci/object_storage/models/replication_source.rb +182 -0
  2896. data/lib/oci/object_storage/models/restore_objects_details.rb +21 -5
  2897. data/lib/oci/object_storage/models/retention_rule.rb +227 -0
  2898. data/lib/oci/object_storage/models/retention_rule_collection.rb +151 -0
  2899. data/lib/oci/object_storage/models/retention_rule_details.rb +181 -0
  2900. data/lib/oci/object_storage/models/retention_rule_summary.rb +224 -0
  2901. data/lib/oci/object_storage/models/sse_customer_key_details.rb +191 -0
  2902. data/lib/oci/object_storage/models/update_bucket_details.rb +41 -12
  2903. data/lib/oci/object_storage/models/update_namespace_metadata_details.rb +2 -1
  2904. data/lib/oci/object_storage/models/update_retention_rule_details.rb +178 -0
  2905. data/lib/oci/object_storage/models/work_request.rb +7 -6
  2906. data/lib/oci/object_storage/models/work_request_error.rb +2 -1
  2907. data/lib/oci/object_storage/models/work_request_log_entry.rb +3 -2
  2908. data/lib/oci/object_storage/models/work_request_resource.rb +2 -1
  2909. data/lib/oci/object_storage/models/work_request_resource_metadata_key.rb +2 -1
  2910. data/lib/oci/object_storage/models/work_request_summary.rb +7 -6
  2911. data/lib/oci/object_storage/object_storage.rb +17 -1
  2912. data/lib/oci/object_storage/object_storage_client.rb +1201 -142
  2913. data/lib/oci/object_storage/object_storage_client_composite_operations.rb +2 -1
  2914. data/lib/oci/object_storage/transfer/multipart/internal/file_part_io_wrapper.rb +2 -1
  2915. data/lib/oci/object_storage/transfer/multipart/internal/multipart_upload_parts_collection.rb +2 -1
  2916. data/lib/oci/object_storage/transfer/multipart/internal/seekable_non_file_part_io_wrapper.rb +2 -1
  2917. data/lib/oci/object_storage/transfer/multipart/internal/stdin_part_io_wrapper.rb +2 -1
  2918. data/lib/oci/object_storage/transfer/multipart/multipart_object_assembler.rb +2 -1
  2919. data/lib/oci/object_storage/transfer/transfer.rb +2 -1
  2920. data/lib/oci/object_storage/transfer/upload_manager.rb +2 -1
  2921. data/lib/oci/object_storage/transfer/upload_manager_config.rb +2 -1
  2922. data/lib/oci/object_storage/util.rb +2 -1
  2923. data/lib/oci/oce/models/change_oce_instance_compartment_details.rb +2 -1
  2924. data/lib/oci/oce/models/create_oce_instance_details.rb +127 -2
  2925. data/lib/oci/oce/models/identity_stripe_details.rb +168 -0
  2926. data/lib/oci/oce/models/license_type.rb +11 -0
  2927. data/lib/oci/oce/models/oce_instance.rb +164 -2
  2928. data/lib/oci/oce/models/oce_instance_summary.rb +132 -2
  2929. data/lib/oci/oce/models/update_oce_instance_details.rb +44 -2
  2930. data/lib/oci/oce/models/work_request.rb +2 -1
  2931. data/lib/oci/oce/models/work_request_error.rb +2 -1
  2932. data/lib/oci/oce/models/work_request_log_entry.rb +2 -1
  2933. data/lib/oci/oce/models/work_request_resource.rb +3 -1
  2934. data/lib/oci/oce/models/workflow_monitor.rb +2 -1
  2935. data/lib/oci/oce/models/workflow_step.rb +2 -1
  2936. data/lib/oci/oce/oce.rb +4 -2
  2937. data/lib/oci/oce/oce_instance_client.rb +18 -20
  2938. data/lib/oci/oce/oce_instance_client_composite_operations.rb +4 -4
  2939. data/lib/oci/oce/util.rb +2 -1
  2940. data/lib/oci/ocvp/esxi_host_client.rb +482 -0
  2941. data/lib/oci/ocvp/esxi_host_client_composite_operations.rb +165 -0
  2942. data/lib/oci/ocvp/models/action_types.rb +14 -0
  2943. data/lib/oci/ocvp/models/change_sddc_compartment_details.rb +156 -0
  2944. data/lib/oci/ocvp/models/create_esxi_host_details.rb +215 -0
  2945. data/lib/oci/ocvp/models/create_sddc_details.rb +475 -0
  2946. data/lib/oci/ocvp/models/esxi_host.rb +332 -0
  2947. data/lib/oci/ocvp/models/esxi_host_collection.rb +150 -0
  2948. data/lib/oci/ocvp/models/esxi_host_summary.rb +324 -0
  2949. data/lib/oci/ocvp/models/lifecycle_states.rb +15 -0
  2950. data/lib/oci/ocvp/models/operation_status.rb +15 -0
  2951. data/lib/oci/ocvp/models/operation_types.rb +13 -0
  2952. data/lib/oci/ocvp/models/sddc.rb +883 -0
  2953. data/lib/oci/ocvp/models/sddc_collection.rb +150 -0
  2954. data/lib/oci/ocvp/models/sddc_summary.rb +414 -0
  2955. data/lib/oci/ocvp/models/sort_orders.rb +11 -0
  2956. data/lib/oci/ocvp/models/supported_vmware_software_version_collection.rb +150 -0
  2957. data/lib/oci/ocvp/models/supported_vmware_software_version_summary.rb +163 -0
  2958. data/lib/oci/ocvp/models/update_esxi_host_details.rb +194 -0
  2959. data/lib/oci/ocvp/models/update_sddc_details.rb +365 -0
  2960. data/lib/oci/ocvp/models/work_request.rb +309 -0
  2961. data/lib/oci/ocvp/models/work_request_collection.rb +150 -0
  2962. data/lib/oci/ocvp/models/work_request_error.rb +175 -0
  2963. data/lib/oci/ocvp/models/work_request_error_collection.rb +150 -0
  2964. data/lib/oci/ocvp/models/work_request_log_entry.rb +163 -0
  2965. data/lib/oci/ocvp/models/work_request_log_entry_collection.rb +150 -0
  2966. data/lib/oci/ocvp/models/work_request_resource.rb +222 -0
  2967. data/lib/oci/ocvp/ocvp.rb +48 -0
  2968. data/lib/oci/ocvp/sddc_client.rb +617 -0
  2969. data/lib/oci/ocvp/sddc_client_composite_operations.rb +165 -0
  2970. data/lib/oci/ocvp/util.rb +3 -0
  2971. data/lib/oci/ocvp/work_request_client.rb +365 -0
  2972. data/lib/oci/ocvp/work_request_client_composite_operations.rb +25 -0
  2973. data/lib/oci/oda/models/change_oda_instance_compartment_details.rb +2 -1
  2974. data/lib/oci/oda/models/create_oda_instance_details.rb +2 -1
  2975. data/lib/oci/oda/models/error_body.rb +2 -1
  2976. data/lib/oci/oda/models/oda_instance.rb +8 -1
  2977. data/lib/oci/oda/models/oda_instance_summary.rb +8 -1
  2978. data/lib/oci/oda/models/update_oda_instance_details.rb +2 -1
  2979. data/lib/oci/oda/models/work_request.rb +4 -1
  2980. data/lib/oci/oda/models/work_request_error.rb +2 -1
  2981. data/lib/oci/oda/models/work_request_log_entry.rb +2 -1
  2982. data/lib/oci/oda/models/work_request_resource.rb +4 -1
  2983. data/lib/oci/oda/models/work_request_summary.rb +4 -1
  2984. data/lib/oci/oda/oda.rb +2 -1
  2985. data/lib/oci/oda/oda_client.rb +161 -16
  2986. data/lib/oci/oda/oda_client_composite_operations.rb +100 -1
  2987. data/lib/oci/oda/util.rb +2 -1
  2988. data/lib/oci/ons/models/backoff_retry_policy.rb +2 -1
  2989. data/lib/oci/ons/models/change_compartment_details.rb +2 -1
  2990. data/lib/oci/ons/models/confirmation_result.rb +2 -1
  2991. data/lib/oci/ons/models/create_subscription_details.rb +3 -1
  2992. data/lib/oci/ons/models/create_topic_details.rb +2 -1
  2993. data/lib/oci/ons/models/delivery_policy.rb +2 -1
  2994. data/lib/oci/ons/models/message_details.rb +2 -1
  2995. data/lib/oci/ons/models/notification_topic.rb +3 -2
  2996. data/lib/oci/ons/models/notification_topic_summary.rb +3 -2
  2997. data/lib/oci/ons/models/publish_result.rb +2 -1
  2998. data/lib/oci/ons/models/subscription.rb +2 -1
  2999. data/lib/oci/ons/models/subscription_summary.rb +2 -1
  3000. data/lib/oci/ons/models/topic_attributes_details.rb +2 -1
  3001. data/lib/oci/ons/models/update_subscription_details.rb +2 -1
  3002. data/lib/oci/ons/notification_control_plane_client.rb +13 -17
  3003. data/lib/oci/ons/notification_control_plane_client_composite_operations.rb +2 -1
  3004. data/lib/oci/ons/notification_data_plane_client.rb +26 -18
  3005. data/lib/oci/ons/notification_data_plane_client_composite_operations.rb +2 -1
  3006. data/lib/oci/ons/ons.rb +2 -1
  3007. data/lib/oci/ons/util.rb +2 -1
  3008. data/lib/oci/opsi/models/database_details.rb +210 -0
  3009. data/lib/oci/opsi/models/database_insight_summary.rb +286 -0
  3010. data/lib/oci/opsi/models/database_insights.rb +154 -0
  3011. data/lib/oci/opsi/models/database_insights_collection.rb +150 -0
  3012. data/lib/oci/opsi/models/historical_data_item.rb +165 -0
  3013. data/lib/oci/opsi/models/ingest_sql_bucket_details.rb +151 -0
  3014. data/lib/oci/opsi/models/ingest_sql_bucket_response_details.rb +152 -0
  3015. data/lib/oci/opsi/models/ingest_sql_plan_lines_details.rb +151 -0
  3016. data/lib/oci/opsi/models/ingest_sql_plan_lines_response_details.rb +152 -0
  3017. data/lib/oci/opsi/models/ingest_sql_text_details.rb +151 -0
  3018. data/lib/oci/opsi/models/ingest_sql_text_response_details.rb +152 -0
  3019. data/lib/oci/opsi/models/projected_data_item.rb +195 -0
  3020. data/lib/oci/opsi/models/resource_capacity_trend_aggregation.rb +180 -0
  3021. data/lib/oci/opsi/models/resource_insight_current_utilization.rb +160 -0
  3022. data/lib/oci/opsi/models/resource_insight_projected_utilization.rb +160 -0
  3023. data/lib/oci/opsi/models/resource_insight_projected_utilization_item.rb +164 -0
  3024. data/lib/oci/opsi/models/resource_statistics.rb +219 -0
  3025. data/lib/oci/opsi/models/resource_statistics_aggregation.rb +166 -0
  3026. data/lib/oci/opsi/models/resource_usage_trend_aggregation.rb +176 -0
  3027. data/lib/oci/opsi/models/sort_order.rb +11 -0
  3028. data/lib/oci/opsi/models/sql_bucket.rb +307 -0
  3029. data/lib/oci/opsi/models/sql_insight_aggregation.rb +203 -0
  3030. data/lib/oci/opsi/models/sql_insight_aggregation_collection.rb +199 -0
  3031. data/lib/oci/opsi/models/sql_insight_thresholds.rb +260 -0
  3032. data/lib/oci/opsi/models/sql_inventory.rb +182 -0
  3033. data/lib/oci/opsi/models/sql_plan_collection.rb +180 -0
  3034. data/lib/oci/opsi/models/sql_plan_insight_aggregation.rb +210 -0
  3035. data/lib/oci/opsi/models/sql_plan_insight_aggregation_collection.rb +218 -0
  3036. data/lib/oci/opsi/models/sql_plan_insights.rb +177 -0
  3037. data/lib/oci/opsi/models/sql_plan_line.rb +673 -0
  3038. data/lib/oci/opsi/models/sql_plan_summary.rb +169 -0
  3039. data/lib/oci/opsi/models/sql_response_time_distribution_aggregation.rb +168 -0
  3040. data/lib/oci/opsi/models/sql_response_time_distribution_aggregation_collection.rb +208 -0
  3041. data/lib/oci/opsi/models/sql_search_collection.rb +209 -0
  3042. data/lib/oci/opsi/models/sql_search_summary.rb +224 -0
  3043. data/lib/oci/opsi/models/sql_statistic_aggregation.rb +189 -0
  3044. data/lib/oci/opsi/models/sql_statistic_aggregation_collection.rb +179 -0
  3045. data/lib/oci/opsi/models/sql_statistics.rb +402 -0
  3046. data/lib/oci/opsi/models/sql_statistics_time_series.rb +162 -0
  3047. data/lib/oci/opsi/models/sql_statistics_time_series_aggregation.rb +165 -0
  3048. data/lib/oci/opsi/models/sql_statistics_time_series_aggregation_collection.rb +223 -0
  3049. data/lib/oci/opsi/models/sql_statistics_time_series_by_plan_aggregation.rb +165 -0
  3050. data/lib/oci/opsi/models/sql_statistics_time_series_by_plan_aggregation_collection.rb +237 -0
  3051. data/lib/oci/opsi/models/sql_text.rb +248 -0
  3052. data/lib/oci/opsi/models/sql_text_collection.rb +151 -0
  3053. data/lib/oci/opsi/models/sql_text_summary.rb +184 -0
  3054. data/lib/oci/opsi/models/summarize_database_insight_resource_capacity_trend_aggregation_collection.rb +270 -0
  3055. data/lib/oci/opsi/models/summarize_database_insight_resource_forecast_trend_aggregation.rb +302 -0
  3056. data/lib/oci/opsi/models/summarize_database_insight_resource_statistics_aggregation_collection.rb +249 -0
  3057. data/lib/oci/opsi/models/summarize_database_insight_resource_usage_aggregation.rb +275 -0
  3058. data/lib/oci/opsi/models/summarize_database_insight_resource_usage_trend_aggregation_collection.rb +270 -0
  3059. data/lib/oci/opsi/models/summarize_database_insight_resource_utilization_insight_aggregation.rb +232 -0
  3060. data/lib/oci/opsi/models/usage_unit.rb +13 -0
  3061. data/lib/oci/opsi/operations_insights_client.rb +2027 -0
  3062. data/lib/oci/opsi/operations_insights_client_composite_operations.rb +25 -0
  3063. data/lib/oci/opsi/opsi.rb +72 -0
  3064. data/lib/oci/opsi/util.rb +3 -0
  3065. data/lib/oci/optimizer/models/action.rb +192 -0
  3066. data/lib/oci/optimizer/models/action_type.rb +10 -0
  3067. data/lib/oci/optimizer/models/bulk_apply_recommendations_details.rb +197 -0
  3068. data/lib/oci/optimizer/models/category.rb +298 -0
  3069. data/lib/oci/optimizer/models/category_collection.rb +151 -0
  3070. data/lib/oci/optimizer/models/category_summary.rb +298 -0
  3071. data/lib/oci/optimizer/models/create_profile_details.rb +227 -0
  3072. data/lib/oci/{streaming/models/archiver.rb → optimizer/models/enrollment_status.rb} +82 -94
  3073. data/lib/oci/optimizer/models/enrollment_status_collection.rb +151 -0
  3074. data/lib/oci/optimizer/models/enrollment_status_summary.rb +279 -0
  3075. data/lib/oci/optimizer/models/history_collection.rb +151 -0
  3076. data/lib/oci/optimizer/models/history_summary.rb +429 -0
  3077. data/lib/oci/optimizer/models/importance.rb +14 -0
  3078. data/lib/oci/optimizer/models/level_configuration.rb +164 -0
  3079. data/lib/oci/optimizer/models/levels_configuration.rb +150 -0
  3080. data/lib/oci/optimizer/models/lifecycle_state.rb +18 -0
  3081. data/lib/oci/optimizer/models/operation_status.rb +15 -0
  3082. data/lib/oci/optimizer/models/operation_type.rb +10 -0
  3083. data/lib/oci/optimizer/models/optimizer_enrollment_status.rb +11 -0
  3084. data/lib/oci/optimizer/models/profile.rb +305 -0
  3085. data/lib/oci/optimizer/models/profile_collection.rb +151 -0
  3086. data/lib/oci/optimizer/models/profile_summary.rb +303 -0
  3087. data/lib/oci/optimizer/models/recommendation.rb +409 -0
  3088. data/lib/oci/optimizer/models/recommendation_collection.rb +151 -0
  3089. data/lib/oci/optimizer/models/recommendation_count.rb +183 -0
  3090. data/lib/oci/optimizer/models/recommendation_summary.rb +409 -0
  3091. data/lib/oci/optimizer/models/resource_action.rb +450 -0
  3092. data/lib/oci/optimizer/models/resource_action_collection.rb +151 -0
  3093. data/lib/oci/optimizer/models/resource_action_summary.rb +450 -0
  3094. data/lib/oci/optimizer/models/resource_count.rb +182 -0
  3095. data/lib/oci/optimizer/models/sort_order.rb +11 -0
  3096. data/lib/oci/optimizer/models/status.rb +13 -0
  3097. data/lib/oci/optimizer/models/supported_level.rb +151 -0
  3098. data/lib/oci/optimizer/models/supported_levels.rb +153 -0
  3099. data/lib/oci/optimizer/models/update_enrollment_status_details.rb +166 -0
  3100. data/lib/oci/optimizer/models/update_profile_details.rb +202 -0
  3101. data/lib/oci/optimizer/models/update_recommendation_details.rb +183 -0
  3102. data/lib/oci/optimizer/models/update_resource_action_details.rb +183 -0
  3103. data/lib/oci/optimizer/models/work_request.rb +300 -0
  3104. data/lib/oci/optimizer/models/work_request_action_type.rb +14 -0
  3105. data/lib/oci/optimizer/models/work_request_collection.rb +151 -0
  3106. data/lib/oci/optimizer/models/work_request_error.rb +173 -0
  3107. data/lib/oci/optimizer/models/work_request_error_collection.rb +151 -0
  3108. data/lib/oci/optimizer/models/work_request_log_entry.rb +161 -0
  3109. data/lib/oci/optimizer/models/work_request_log_entry_collection.rb +151 -0
  3110. data/lib/oci/optimizer/models/work_request_resource.rb +220 -0
  3111. data/lib/oci/optimizer/optimizer.rb +66 -0
  3112. data/lib/oci/optimizer/optimizer_client.rb +1674 -0
  3113. data/lib/oci/optimizer/optimizer_client_composite_operations.rb +314 -0
  3114. data/lib/oci/optimizer/util.rb +3 -0
  3115. data/lib/oci/os_management/models/add_packages_to_software_source_details.rb +154 -0
  3116. data/lib/oci/os_management/models/api_error.rb +162 -0
  3117. data/lib/oci/os_management/models/arch_types.rb +14 -0
  3118. data/lib/oci/os_management/models/attach_child_software_source_to_managed_instance_details.rb +154 -0
  3119. data/lib/oci/os_management/models/attach_parent_software_source_to_managed_instance_details.rb +154 -0
  3120. data/lib/oci/os_management/models/available_software_source_summary.rb +206 -0
  3121. data/lib/oci/os_management/models/available_update_summary.rb +286 -0
  3122. data/lib/oci/os_management/models/available_windows_update_summary.rb +251 -0
  3123. data/lib/oci/os_management/models/change_managed_instance_group_compartment_details.rb +156 -0
  3124. data/lib/oci/os_management/models/change_scheduled_job_compartment_details.rb +156 -0
  3125. data/lib/oci/os_management/models/change_software_source_compartment_details.rb +156 -0
  3126. data/lib/oci/os_management/models/checksum_types.rb +13 -0
  3127. data/lib/oci/os_management/models/create_managed_instance_group_details.rb +240 -0
  3128. data/lib/oci/os_management/models/create_scheduled_job_details.rb +446 -0
  3129. data/lib/oci/os_management/models/create_software_source_details.rb +325 -0
  3130. data/lib/oci/os_management/models/detach_child_software_source_from_managed_instance_details.rb +154 -0
  3131. data/lib/oci/os_management/models/detach_parent_software_source_from_managed_instance_details.rb +154 -0
  3132. data/lib/oci/os_management/models/erratum.rb +332 -0
  3133. data/lib/oci/os_management/models/erratum_summary.rb +247 -0
  3134. data/lib/oci/os_management/models/id.rb +164 -0
  3135. data/lib/oci/os_management/models/installable_package_summary.rb +208 -0
  3136. data/lib/oci/os_management/models/installation_requirements.rb +12 -0
  3137. data/lib/oci/os_management/models/installed_package_summary.rb +222 -0
  3138. data/lib/oci/os_management/models/installed_windows_update_summary.rb +203 -0
  3139. data/lib/oci/os_management/models/interval_types.rb +13 -0
  3140. data/lib/oci/os_management/models/is_eligible_for_installation.rb +12 -0
  3141. data/lib/oci/os_management/models/lifecycle_states.rb +15 -0
  3142. data/lib/oci/os_management/models/managed_instance.rb +396 -0
  3143. data/lib/oci/os_management/models/managed_instance_group.rb +306 -0
  3144. data/lib/oci/os_management/models/managed_instance_group_summary.rb +306 -0
  3145. data/lib/oci/os_management/models/managed_instance_summary.rb +310 -0
  3146. data/lib/oci/os_management/models/operation_status.rb +15 -0
  3147. data/lib/oci/os_management/models/operation_types.rb +13 -0
  3148. data/lib/oci/os_management/models/os_families.rb +12 -0
  3149. data/lib/oci/os_management/models/package_name.rb +150 -0
  3150. data/lib/oci/os_management/models/package_update_types.rb +13 -0
  3151. data/lib/oci/os_management/models/recurrence.rb +183 -0
  3152. data/lib/oci/os_management/models/remove_packages_from_software_source_details.rb +154 -0
  3153. data/lib/oci/os_management/models/schedule_types.rb +11 -0
  3154. data/lib/oci/os_management/models/scheduled_job.rb +544 -0
  3155. data/lib/oci/os_management/models/scheduled_job_summary.rb +406 -0
  3156. data/lib/oci/os_management/models/software_package.rb +290 -0
  3157. data/lib/oci/os_management/models/software_package_dependency.rb +178 -0
  3158. data/lib/oci/os_management/models/software_package_file.rb +214 -0
  3159. data/lib/oci/os_management/models/software_package_search_summary.rb +264 -0
  3160. data/lib/oci/os_management/models/software_package_summary.rb +218 -0
  3161. data/lib/oci/os_management/models/software_source.rb +520 -0
  3162. data/lib/oci/os_management/models/software_source_id.rb +160 -0
  3163. data/lib/oci/os_management/models/software_source_summary.rb +341 -0
  3164. data/lib/oci/os_management/models/update_managed_instance_group_details.rb +196 -0
  3165. data/lib/oci/os_management/models/update_scheduled_job_details.rb +368 -0
  3166. data/lib/oci/os_management/models/update_software_source_details.rb +267 -0
  3167. data/lib/oci/os_management/models/update_types.rb +13 -0
  3168. data/lib/oci/os_management/models/windows_update.rb +330 -0
  3169. data/lib/oci/os_management/models/windows_update_summary.rb +247 -0
  3170. data/lib/oci/os_management/models/work_request.rb +375 -0
  3171. data/lib/oci/os_management/models/work_request_error.rb +173 -0
  3172. data/lib/oci/os_management/models/work_request_log_entry.rb +162 -0
  3173. data/lib/oci/os_management/models/work_request_resource.rb +232 -0
  3174. data/lib/oci/os_management/models/work_request_summary.rb +321 -0
  3175. data/lib/oci/os_management/os_management.rb +80 -0
  3176. data/lib/oci/os_management/os_management_client.rb +3797 -0
  3177. data/lib/oci/os_management/os_management_client_composite_operations.rb +683 -0
  3178. data/lib/oci/os_management/util.rb +3 -0
  3179. data/lib/oci/regions.rb +245 -9
  3180. data/lib/oci/resource_manager/models/apply_job_operation_details.rb +2 -1
  3181. data/lib/oci/resource_manager/models/apply_job_operation_details_summary.rb +2 -1
  3182. data/lib/oci/resource_manager/models/apply_job_plan_resolution.rb +2 -1
  3183. data/lib/oci/resource_manager/models/change_configuration_source_provider_compartment_details.rb +157 -0
  3184. data/lib/oci/resource_manager/models/change_stack_compartment_details.rb +3 -2
  3185. data/lib/oci/resource_manager/models/compartment_config_source.rb +201 -0
  3186. data/lib/oci/resource_manager/models/config_source.rb +11 -6
  3187. data/lib/oci/resource_manager/models/config_source_record.rb +193 -0
  3188. data/lib/oci/resource_manager/models/configuration_source_provider.rb +331 -0
  3189. data/lib/oci/resource_manager/models/configuration_source_provider_collection.rb +151 -0
  3190. data/lib/oci/resource_manager/models/configuration_source_provider_summary.rb +293 -0
  3191. data/lib/oci/resource_manager/models/create_apply_job_operation_details.rb +2 -1
  3192. data/lib/oci/resource_manager/models/create_compartment_config_source_details.rb +199 -0
  3193. data/lib/oci/resource_manager/models/create_config_source_details.rb +6 -3
  3194. data/lib/oci/resource_manager/models/create_configuration_source_provider_details.rb +249 -0
  3195. data/lib/oci/resource_manager/models/create_destroy_job_operation_details.rb +2 -1
  3196. data/lib/oci/resource_manager/models/create_git_config_source_details.rb +199 -0
  3197. data/lib/oci/resource_manager/models/create_github_access_token_configuration_source_provider_details.rb +200 -0
  3198. data/lib/oci/resource_manager/models/create_gitlab_access_token_configuration_source_provider_details.rb +200 -0
  3199. data/lib/oci/resource_manager/models/create_import_tf_state_job_operation_details.rb +2 -1
  3200. data/lib/oci/resource_manager/models/create_job_details.rb +2 -1
  3201. data/lib/oci/resource_manager/models/create_job_operation_details.rb +2 -1
  3202. data/lib/oci/resource_manager/models/create_plan_job_operation_details.rb +2 -1
  3203. data/lib/oci/resource_manager/models/create_stack_details.rb +5 -3
  3204. data/lib/oci/resource_manager/models/create_zip_upload_config_source_details.rb +2 -1
  3205. data/lib/oci/resource_manager/models/destroy_job_operation_details.rb +2 -1
  3206. data/lib/oci/resource_manager/models/destroy_job_operation_details_summary.rb +2 -1
  3207. data/lib/oci/resource_manager/models/failure_details.rb +4 -1
  3208. data/lib/oci/resource_manager/models/git_config_source.rb +198 -0
  3209. data/lib/oci/resource_manager/models/git_config_source_record.rb +207 -0
  3210. data/lib/oci/resource_manager/models/github_access_token_configuration_source_provider.rb +198 -0
  3211. data/lib/oci/resource_manager/models/github_access_token_configuration_source_provider_summary.rb +198 -0
  3212. data/lib/oci/resource_manager/models/gitlab_access_token_configuration_source_provider.rb +198 -0
  3213. data/lib/oci/resource_manager/models/gitlab_access_token_configuration_source_provider_summary.rb +198 -0
  3214. data/lib/oci/resource_manager/models/import_tf_state_job_operation_details.rb +2 -1
  3215. data/lib/oci/resource_manager/models/import_tf_state_job_operation_details_summary.rb +2 -1
  3216. data/lib/oci/resource_manager/models/job.rb +34 -7
  3217. data/lib/oci/resource_manager/models/job_operation_details.rb +2 -1
  3218. data/lib/oci/resource_manager/models/job_operation_details_summary.rb +2 -1
  3219. data/lib/oci/resource_manager/models/job_summary.rb +13 -2
  3220. data/lib/oci/resource_manager/models/log_entry.rb +6 -2
  3221. data/lib/oci/resource_manager/models/plan_job_operation_details.rb +2 -1
  3222. data/lib/oci/resource_manager/models/plan_job_operation_details_summary.rb +2 -1
  3223. data/lib/oci/resource_manager/models/resource_discovery_service_collection.rb +151 -0
  3224. data/lib/oci/resource_manager/models/resource_discovery_service_summary.rb +190 -0
  3225. data/lib/oci/resource_manager/models/stack.rb +64 -3
  3226. data/lib/oci/resource_manager/models/stack_resource_drift_collection.rb +151 -0
  3227. data/lib/oci/resource_manager/models/stack_resource_drift_summary.rb +305 -0
  3228. data/lib/oci/resource_manager/models/stack_summary.rb +17 -2
  3229. data/lib/oci/resource_manager/models/terraform_version_collection.rb +3 -2
  3230. data/lib/oci/resource_manager/models/terraform_version_summary.rb +2 -1
  3231. data/lib/oci/resource_manager/models/update_config_source_details.rb +4 -3
  3232. data/lib/oci/resource_manager/models/update_configuration_source_provider_details.rb +233 -0
  3233. data/lib/oci/resource_manager/models/update_git_config_source_details.rb +198 -0
  3234. data/lib/oci/resource_manager/models/update_github_access_token_configuration_source_provider_details.rb +196 -0
  3235. data/lib/oci/resource_manager/models/update_gitlab_access_token_configuration_source_provider_details.rb +196 -0
  3236. data/lib/oci/resource_manager/models/update_job_details.rb +2 -1
  3237. data/lib/oci/resource_manager/models/update_stack_details.rb +4 -3
  3238. data/lib/oci/resource_manager/models/update_zip_upload_config_source_details.rb +2 -1
  3239. data/lib/oci/resource_manager/models/work_request.rb +16 -4
  3240. data/lib/oci/resource_manager/models/work_request_error.rb +6 -2
  3241. data/lib/oci/resource_manager/models/work_request_log_entry.rb +6 -2
  3242. data/lib/oci/resource_manager/models/work_request_resource.rb +2 -1
  3243. data/lib/oci/resource_manager/models/work_request_summary.rb +14 -4
  3244. data/lib/oci/resource_manager/models/zip_upload_config_source.rb +3 -2
  3245. data/lib/oci/resource_manager/models/zip_upload_config_source_record.rb +146 -0
  3246. data/lib/oci/resource_manager/resource_manager.rb +28 -1
  3247. data/lib/oci/resource_manager/resource_manager_client.rb +701 -47
  3248. data/lib/oci/resource_manager/resource_manager_client_composite_operations.rb +189 -7
  3249. data/lib/oci/resource_manager/util.rb +2 -1
  3250. data/lib/oci/resource_search/models/free_text_search_details.rb +2 -1
  3251. data/lib/oci/resource_search/models/queryable_field_description.rb +4 -3
  3252. data/lib/oci/resource_search/models/resource_summary.rb +50 -11
  3253. data/lib/oci/resource_search/models/resource_summary_collection.rb +3 -2
  3254. data/lib/oci/resource_search/models/resource_type.rb +2 -1
  3255. data/lib/oci/resource_search/models/search_context.rb +3 -2
  3256. data/lib/oci/resource_search/models/search_details.rb +4 -3
  3257. data/lib/oci/resource_search/models/structured_search_details.rb +5 -2
  3258. data/lib/oci/resource_search/resource_search.rb +2 -1
  3259. data/lib/oci/resource_search/resource_search_client.rb +15 -19
  3260. data/lib/oci/resource_search/resource_search_client_composite_operations.rb +2 -1
  3261. data/lib/oci/resource_search/util.rb +2 -1
  3262. data/lib/oci/response.rb +2 -1
  3263. data/lib/oci/response_headers.rb +2 -1
  3264. data/lib/oci/retry/functions/should_retry_on_error.rb +2 -1
  3265. data/lib/oci/retry/functions/sleep.rb +2 -1
  3266. data/lib/oci/retry/internal/retry_state.rb +2 -1
  3267. data/lib/oci/retry/retry.rb +2 -1
  3268. data/lib/oci/retry/retry_config.rb +2 -1
  3269. data/lib/oci/rover/models/change_rover_cluster_compartment_details.rb +155 -0
  3270. data/lib/oci/rover/models/change_rover_entitlement_compartment_details.rb +155 -0
  3271. data/lib/oci/rover/models/change_rover_node_compartment_details.rb +155 -0
  3272. data/lib/oci/rover/models/create_rover_cluster_details.rb +459 -0
  3273. data/lib/oci/rover/models/create_rover_entitlement_details.rb +320 -0
  3274. data/lib/oci/rover/models/create_rover_node_details.rb +501 -0
  3275. data/lib/oci/rover/models/enclosure_type.rb +11 -0
  3276. data/lib/oci/rover/models/lifecycle_state.rb +15 -0
  3277. data/lib/oci/rover/models/node_type.rb +11 -0
  3278. data/lib/oci/rover/models/rover_cluster.rb +610 -0
  3279. data/lib/oci/rover/models/rover_cluster_certificate.rb +150 -0
  3280. data/lib/oci/rover/models/rover_cluster_collection.rb +150 -0
  3281. data/lib/oci/rover/models/rover_cluster_summary.rb +305 -0
  3282. data/lib/oci/rover/models/rover_entitlement.rb +363 -0
  3283. data/lib/oci/rover/models/rover_entitlement_collection.rb +150 -0
  3284. data/lib/oci/rover/models/rover_entitlement_summary.rb +285 -0
  3285. data/lib/oci/rover/models/rover_node.rb +661 -0
  3286. data/lib/oci/rover/models/rover_node_action_set_key_details.rb +154 -0
  3287. data/lib/oci/rover/models/rover_node_certificate.rb +150 -0
  3288. data/lib/oci/rover/models/rover_node_collection.rb +150 -0
  3289. data/lib/oci/rover/models/rover_node_encryption_key.rb +154 -0
  3290. data/lib/oci/rover/models/rover_node_get_rpt.rb +168 -0
  3291. data/lib/oci/rover/models/rover_node_set_key.rb +154 -0
  3292. data/lib/oci/rover/models/rover_node_summary.rb +323 -0
  3293. data/lib/oci/rover/models/rover_workload.rb +264 -0
  3294. data/lib/oci/rover/models/shipping_address.rb +276 -0
  3295. data/lib/oci/rover/models/sort_orders.rb +11 -0
  3296. data/lib/oci/rover/models/update_rover_cluster_details.rb +445 -0
  3297. data/lib/oci/rover/models/update_rover_entitlement_details.rb +306 -0
  3298. data/lib/oci/rover/models/update_rover_node_details.rb +487 -0
  3299. data/lib/oci/rover/rover.rb +54 -0
  3300. data/lib/oci/rover/rover_cluster_client.rb +549 -0
  3301. data/lib/oci/rover/rover_cluster_client_composite_operations.rb +144 -0
  3302. data/lib/oci/rover/rover_entitlement_client.rb +514 -0
  3303. data/lib/oci/rover/rover_entitlement_client_composite_operations.rb +144 -0
  3304. data/lib/oci/rover/rover_node_client.rb +738 -0
  3305. data/lib/oci/rover/rover_node_client_composite_operations.rb +144 -0
  3306. data/lib/oci/rover/util.rb +3 -0
  3307. data/lib/oci/sch/models/action_type.rb +14 -0
  3308. data/lib/oci/sch/models/change_service_connector_compartment_details.rb +157 -0
  3309. data/lib/oci/sch/models/create_service_connector_details.rb +247 -0
  3310. data/lib/oci/sch/models/functions_target_details.rb +164 -0
  3311. data/lib/oci/sch/models/lifecycle_state.rb +16 -0
  3312. data/lib/oci/sch/models/log_rule_task_details.rb +160 -0
  3313. data/lib/oci/sch/models/log_source.rb +186 -0
  3314. data/lib/oci/sch/models/logging_source_details.rb +164 -0
  3315. data/lib/oci/sch/models/monitoring_target_details.rb +194 -0
  3316. data/lib/oci/sch/models/notifications_target_details.rb +164 -0
  3317. data/lib/oci/sch/models/object_storage_target_details.rb +190 -0
  3318. data/lib/oci/sch/models/operation_status.rb +15 -0
  3319. data/lib/oci/sch/models/operation_type.rb +14 -0
  3320. data/lib/oci/sch/models/service_connector.rb +365 -0
  3321. data/lib/oci/sch/models/service_connector_collection.rb +152 -0
  3322. data/lib/oci/sch/models/service_connector_summary.rb +334 -0
  3323. data/lib/oci/sch/models/sort_order.rb +11 -0
  3324. data/lib/oci/sch/models/source_details.rb +190 -0
  3325. data/lib/oci/sch/models/streaming_target_details.rb +164 -0
  3326. data/lib/oci/sch/models/target_details.rb +198 -0
  3327. data/lib/oci/sch/models/task_details.rb +190 -0
  3328. data/lib/oci/sch/models/update_service_connector_details.rb +229 -0
  3329. data/lib/oci/sch/models/work_request.rb +325 -0
  3330. data/lib/oci/sch/models/work_request_collection.rb +152 -0
  3331. data/lib/oci/sch/models/work_request_error.rb +178 -0
  3332. data/lib/oci/sch/models/work_request_error_collection.rb +152 -0
  3333. data/lib/oci/sch/models/work_request_log_entry.rb +165 -0
  3334. data/lib/oci/sch/models/work_request_log_entry_collection.rb +152 -0
  3335. data/lib/oci/sch/models/work_request_resource.rb +223 -0
  3336. data/lib/oci/sch/sch.rb +49 -0
  3337. data/lib/oci/sch/service_connector_client.rb +970 -0
  3338. data/lib/oci/sch/service_connector_client_composite_operations.rb +329 -0
  3339. data/lib/oci/sch/util.rb +3 -0
  3340. data/lib/oci/secrets/models/base64_secret_bundle_content_details.rb +158 -0
  3341. data/lib/oci/secrets/models/secret_bundle.rb +294 -0
  3342. data/lib/oci/secrets/models/secret_bundle_content_details.rb +189 -0
  3343. data/lib/oci/secrets/models/secret_bundle_version_summary.rb +270 -0
  3344. data/lib/oci/secrets/secrets.rb +23 -0
  3345. data/lib/oci/secrets/secrets_client.rb +251 -0
  3346. data/lib/oci/secrets/secrets_client_composite_operations.rb +25 -0
  3347. data/lib/oci/secrets/util.rb +3 -0
  3348. data/lib/oci/signer.rb +31 -5
  3349. data/lib/oci/streaming/models/change_connect_harness_compartment_details.rb +156 -0
  3350. data/lib/oci/streaming/models/change_stream_compartment_details.rb +2 -1
  3351. data/lib/oci/streaming/models/change_stream_pool_compartment_details.rb +156 -0
  3352. data/lib/oci/streaming/models/connect_harness.rb +281 -0
  3353. data/lib/oci/streaming/models/connect_harness_summary.rb +267 -0
  3354. data/lib/oci/streaming/models/create_connect_harness_details.rb +202 -0
  3355. data/lib/oci/streaming/models/create_cursor_details.rb +2 -1
  3356. data/lib/oci/streaming/models/create_group_cursor_details.rb +2 -1
  3357. data/lib/oci/streaming/models/create_stream_details.rb +18 -3
  3358. data/lib/oci/streaming/models/create_stream_pool_details.rb +241 -0
  3359. data/lib/oci/streaming/models/cursor.rb +2 -1
  3360. data/lib/oci/streaming/models/custom_encryption_key.rb +192 -0
  3361. data/lib/oci/streaming/models/custom_encryption_key_details.rb +154 -0
  3362. data/lib/oci/streaming/models/group.rb +4 -3
  3363. data/lib/oci/streaming/models/kafka_settings.rb +196 -0
  3364. data/lib/oci/streaming/models/message.rb +2 -1
  3365. data/lib/oci/streaming/models/partition_reservation.rb +2 -1
  3366. data/lib/oci/streaming/models/private_endpoint_details.rb +193 -0
  3367. data/lib/oci/streaming/models/private_endpoint_settings.rb +186 -0
  3368. data/lib/oci/streaming/models/put_messages_details.rb +2 -1
  3369. data/lib/oci/streaming/models/put_messages_details_entry.rb +2 -1
  3370. data/lib/oci/streaming/models/put_messages_result.rb +3 -2
  3371. data/lib/oci/streaming/models/put_messages_result_entry.rb +2 -1
  3372. data/lib/oci/streaming/models/stream.rb +20 -2
  3373. data/lib/oci/streaming/models/stream_pool.rb +352 -0
  3374. data/lib/oci/streaming/models/stream_pool_summary.rb +280 -0
  3375. data/lib/oci/streaming/models/stream_summary.rb +20 -2
  3376. data/lib/oci/streaming/models/update_connect_harness_details.rb +175 -0
  3377. data/lib/oci/streaming/models/update_group_details.rb +2 -1
  3378. data/lib/oci/streaming/models/update_stream_details.rb +18 -2
  3379. data/lib/oci/streaming/models/update_stream_pool_details.rb +210 -0
  3380. data/lib/oci/streaming/stream_admin_client.rb +589 -99
  3381. data/lib/oci/streaming/stream_admin_client_composite_operations.rb +130 -47
  3382. data/lib/oci/streaming/stream_client.rb +35 -55
  3383. data/lib/oci/streaming/stream_client_composite_operations.rb +2 -1
  3384. data/lib/oci/streaming/streaming.rb +17 -7
  3385. data/lib/oci/streaming/util.rb +2 -1
  3386. data/lib/oci/tenant_manager_control_plane/link_client.rb +290 -0
  3387. data/lib/oci/tenant_manager_control_plane/link_client_composite_operations.rb +65 -0
  3388. data/lib/oci/tenant_manager_control_plane/models/action_type.rb +14 -0
  3389. data/lib/oci/tenant_manager_control_plane/models/create_sender_invitation_details.rb +228 -0
  3390. data/lib/oci/tenant_manager_control_plane/models/lifecycle_state.rb +15 -0
  3391. data/lib/oci/tenant_manager_control_plane/models/link.rb +258 -0
  3392. data/lib/oci/tenant_manager_control_plane/models/link_collection.rb +150 -0
  3393. data/lib/oci/tenant_manager_control_plane/models/link_summary.rb +258 -0
  3394. data/lib/oci/tenant_manager_control_plane/models/operation_status.rb +15 -0
  3395. data/lib/oci/tenant_manager_control_plane/models/operation_type.rb +12 -0
  3396. data/lib/oci/tenant_manager_control_plane/models/recipient_invitation.rb +367 -0
  3397. data/lib/oci/tenant_manager_control_plane/models/recipient_invitation_collection.rb +150 -0
  3398. data/lib/oci/tenant_manager_control_plane/models/recipient_invitation_status.rb +15 -0
  3399. data/lib/oci/tenant_manager_control_plane/models/recipient_invitation_summary.rb +367 -0
  3400. data/lib/oci/tenant_manager_control_plane/models/sender_invitation.rb +366 -0
  3401. data/lib/oci/tenant_manager_control_plane/models/sender_invitation_collection.rb +150 -0
  3402. data/lib/oci/tenant_manager_control_plane/models/sender_invitation_status.rb +14 -0
  3403. data/lib/oci/tenant_manager_control_plane/models/sender_invitation_summary.rb +366 -0
  3404. data/lib/oci/tenant_manager_control_plane/models/sort_order.rb +11 -0
  3405. data/lib/oci/tenant_manager_control_plane/models/update_recipient_invitation_details.rb +186 -0
  3406. data/lib/oci/tenant_manager_control_plane/models/update_sender_invitation_details.rb +186 -0
  3407. data/lib/oci/tenant_manager_control_plane/models/work_request.rb +307 -0
  3408. data/lib/oci/tenant_manager_control_plane/models/work_request_collection.rb +150 -0
  3409. data/lib/oci/tenant_manager_control_plane/models/work_request_error.rb +173 -0
  3410. data/lib/oci/tenant_manager_control_plane/models/work_request_error_collection.rb +150 -0
  3411. data/lib/oci/tenant_manager_control_plane/models/work_request_log_entry.rb +160 -0
  3412. data/lib/oci/tenant_manager_control_plane/models/work_request_log_entry_collection.rb +150 -0
  3413. data/lib/oci/tenant_manager_control_plane/models/work_request_resource.rb +219 -0
  3414. data/lib/oci/tenant_manager_control_plane/models/work_request_summary.rb +307 -0
  3415. data/lib/oci/tenant_manager_control_plane/recipient_invitation_client.rb +430 -0
  3416. data/lib/oci/tenant_manager_control_plane/recipient_invitation_client_composite_operations.rb +153 -0
  3417. data/lib/oci/tenant_manager_control_plane/sender_invitation_client.rb +440 -0
  3418. data/lib/oci/tenant_manager_control_plane/sender_invitation_client_composite_operations.rb +163 -0
  3419. data/lib/oci/tenant_manager_control_plane/tenant_manager_control_plane.rb +52 -0
  3420. data/lib/oci/tenant_manager_control_plane/util.rb +3 -0
  3421. data/lib/oci/tenant_manager_control_plane/work_request_client.rb +360 -0
  3422. data/lib/oci/tenant_manager_control_plane/work_request_client_composite_operations.rb +25 -0
  3423. data/lib/oci/usage_api/models/configuration.rb +161 -0
  3424. data/lib/oci/usage_api/models/configuration_aggregation.rb +150 -0
  3425. data/lib/oci/usage_api/models/dimension.rb +163 -0
  3426. data/lib/oci/usage_api/models/filter.rb +194 -0
  3427. data/lib/oci/usage_api/models/request_summarized_usages_details.rb +282 -0
  3428. data/lib/oci/usage_api/models/tag.rb +171 -0
  3429. data/lib/oci/usage_api/models/usage_aggregation.rb +164 -0
  3430. data/lib/oci/usage_api/models/usage_summary.rb +488 -0
  3431. data/lib/oci/usage_api/usage_api.rb +27 -0
  3432. data/lib/oci/usage_api/usageapi_client.rb +225 -0
  3433. data/lib/oci/usage_api/usageapi_client_composite_operations.rb +25 -0
  3434. data/lib/oci/usage_api/util.rb +3 -0
  3435. data/lib/oci/vault/models/base64_secret_content_details.rb +166 -0
  3436. data/lib/oci/vault/models/change_secret_compartment_details.rb +156 -0
  3437. data/lib/oci/vault/models/create_secret_details.rb +282 -0
  3438. data/lib/oci/vault/models/schedule_secret_deletion_details.rb +155 -0
  3439. data/lib/oci/vault/models/schedule_secret_version_deletion_details.rb +156 -0
  3440. data/lib/oci/vault/models/secret.rb +394 -0
  3441. data/lib/oci/vault/models/secret_content_details.rb +221 -0
  3442. data/lib/oci/vault/models/secret_expiry_rule.rb +203 -0
  3443. data/lib/oci/vault/models/secret_reuse_rule.rb +164 -0
  3444. data/lib/oci/vault/models/secret_rule.rb +191 -0
  3445. data/lib/oci/vault/models/secret_summary.rb +353 -0
  3446. data/lib/oci/vault/models/secret_version.rb +305 -0
  3447. data/lib/oci/vault/models/secret_version_summary.rb +305 -0
  3448. data/lib/oci/vault/models/update_secret_details.rb +241 -0
  3449. data/lib/oci/vault/util.rb +3 -0
  3450. data/lib/oci/vault/vault.rb +34 -0
  3451. data/lib/oci/vault/vaults_client.rb +883 -0
  3452. data/lib/oci/vault/vaults_client_composite_operations.rb +104 -0
  3453. data/lib/oci/version.rb +4 -2
  3454. data/lib/oci/waas/models/access_rule.rb +90 -8
  3455. data/lib/oci/waas/models/access_rule_criteria.rb +69 -32
  3456. data/lib/oci/waas/models/add_http_response_header_action.rb +176 -0
  3457. data/lib/oci/waas/models/address_list.rb +2 -1
  3458. data/lib/oci/waas/models/address_list_summary.rb +2 -1
  3459. data/lib/oci/waas/models/address_rate_limiting.rb +2 -1
  3460. data/lib/oci/waas/models/block_challenge_settings.rb +2 -1
  3461. data/lib/oci/waas/models/caching_rule.rb +3 -2
  3462. data/lib/oci/waas/models/caching_rule_criteria.rb +2 -1
  3463. data/lib/oci/waas/models/caching_rule_summary.rb +3 -2
  3464. data/lib/oci/waas/models/captcha.rb +2 -1
  3465. data/lib/oci/waas/models/certificate.rb +2 -1
  3466. data/lib/oci/waas/models/certificate_extensions.rb +2 -1
  3467. data/lib/oci/waas/models/certificate_issuer_name.rb +2 -1
  3468. data/lib/oci/waas/models/certificate_public_key_info.rb +2 -1
  3469. data/lib/oci/waas/models/certificate_subject_name.rb +2 -1
  3470. data/lib/oci/waas/models/certificate_summary.rb +2 -1
  3471. data/lib/oci/waas/models/change_address_list_compartment_details.rb +2 -1
  3472. data/lib/oci/waas/models/change_certificate_compartment_details.rb +2 -1
  3473. data/lib/oci/waas/models/change_custom_protection_rule_compartment_details.rb +2 -1
  3474. data/lib/oci/waas/models/change_http_redirect_compartment_details.rb +2 -1
  3475. data/lib/oci/waas/models/change_waas_policy_compartment_details.rb +2 -1
  3476. data/lib/oci/waas/models/create_address_list_details.rb +3 -2
  3477. data/lib/oci/waas/models/create_certificate_details.rb +2 -1
  3478. data/lib/oci/waas/models/create_custom_protection_rule_details.rb +2 -1
  3479. data/lib/oci/waas/models/create_http_redirect_details.rb +3 -2
  3480. data/lib/oci/waas/models/create_waas_policy_details.rb +2 -1
  3481. data/lib/oci/waas/models/custom_protection_rule.rb +2 -1
  3482. data/lib/oci/waas/models/custom_protection_rule_setting.rb +15 -5
  3483. data/lib/oci/waas/models/custom_protection_rule_summary.rb +2 -1
  3484. data/lib/oci/waas/models/device_fingerprint_challenge.rb +2 -1
  3485. data/lib/oci/waas/models/edge_subnet.rb +2 -1
  3486. data/lib/oci/waas/models/extend_http_response_header_action.rb +178 -0
  3487. data/lib/oci/waas/models/good_bot.rb +2 -1
  3488. data/lib/oci/waas/models/header.rb +3 -2
  3489. data/lib/oci/waas/models/header_manipulation_action.rb +189 -0
  3490. data/lib/oci/waas/models/health_check.rb +346 -0
  3491. data/lib/oci/waas/models/http_redirect.rb +4 -3
  3492. data/lib/oci/waas/models/http_redirect_summary.rb +4 -3
  3493. data/lib/oci/waas/models/http_redirect_target.rb +4 -3
  3494. data/lib/oci/waas/models/human_interaction_challenge.rb +22 -5
  3495. data/lib/oci/waas/models/ip_hash_load_balancing_method.rb +146 -0
  3496. data/lib/oci/waas/models/js_challenge.rb +49 -6
  3497. data/lib/oci/waas/models/lifecycle_states.rb +2 -1
  3498. data/lib/oci/waas/models/load_balancing_method.rb +195 -0
  3499. data/lib/oci/waas/models/origin.rb +2 -1
  3500. data/lib/oci/waas/models/origin_group.rb +2 -1
  3501. data/lib/oci/waas/models/origin_group_origins.rb +2 -1
  3502. data/lib/oci/waas/models/policy_config.rb +63 -5
  3503. data/lib/oci/waas/models/protection_rule.rb +2 -1
  3504. data/lib/oci/waas/models/protection_rule_action.rb +2 -1
  3505. data/lib/oci/waas/models/protection_rule_exclusion.rb +5 -4
  3506. data/lib/oci/waas/models/protection_settings.rb +2 -1
  3507. data/lib/oci/waas/models/purge_cache.rb +2 -1
  3508. data/lib/oci/waas/models/recommendation.rb +2 -1
  3509. data/lib/oci/waas/models/remove_http_response_header_action.rb +163 -0
  3510. data/lib/oci/waas/models/round_robin_load_balancing_method.rb +146 -0
  3511. data/lib/oci/waas/models/sticky_cookie_load_balancing_method.rb +188 -0
  3512. data/lib/oci/waas/models/threat_feed.rb +2 -1
  3513. data/lib/oci/waas/models/threat_feed_action.rb +2 -1
  3514. data/lib/oci/waas/models/update_address_list_details.rb +3 -2
  3515. data/lib/oci/waas/models/update_certificate_details.rb +2 -1
  3516. data/lib/oci/waas/models/update_custom_protection_rule_details.rb +2 -1
  3517. data/lib/oci/waas/models/update_http_redirect_details.rb +3 -2
  3518. data/lib/oci/waas/models/update_waas_policy_details.rb +2 -1
  3519. data/lib/oci/waas/models/waas_policy.rb +2 -1
  3520. data/lib/oci/waas/models/waas_policy_custom_protection_rule_summary.rb +15 -5
  3521. data/lib/oci/waas/models/waas_policy_summary.rb +2 -1
  3522. data/lib/oci/waas/models/waf_blocked_request.rb +2 -1
  3523. data/lib/oci/waas/models/waf_config.rb +2 -1
  3524. data/lib/oci/waas/models/waf_config_details.rb +2 -1
  3525. data/lib/oci/waas/models/waf_log.rb +4 -3
  3526. data/lib/oci/waas/models/waf_meter_datum.rb +2 -1
  3527. data/lib/oci/waas/models/waf_request.rb +2 -1
  3528. data/lib/oci/waas/models/waf_traffic_datum.rb +2 -1
  3529. data/lib/oci/waas/models/whitelist.rb +21 -6
  3530. data/lib/oci/waas/models/work_request.rb +2 -1
  3531. data/lib/oci/waas/models/work_request_error.rb +2 -1
  3532. data/lib/oci/waas/models/work_request_log_entry.rb +2 -1
  3533. data/lib/oci/waas/models/work_request_operation_types.rb +2 -1
  3534. data/lib/oci/waas/models/work_request_resource.rb +2 -1
  3535. data/lib/oci/waas/models/work_request_status_values.rb +2 -1
  3536. data/lib/oci/waas/models/work_request_summary.rb +2 -1
  3537. data/lib/oci/waas/redirect_client.rb +13 -17
  3538. data/lib/oci/waas/redirect_client_composite_operations.rb +2 -1
  3539. data/lib/oci/waas/util.rb +2 -1
  3540. data/lib/oci/waas/waas.rb +11 -1
  3541. data/lib/oci/waas/waas_client.rb +96 -38
  3542. data/lib/oci/waas/waas_client_composite_operations.rb +2 -1
  3543. data/lib/oci/waiter.rb +2 -1
  3544. data/lib/oci/work_requests/models/work_request.rb +2 -1
  3545. data/lib/oci/work_requests/models/work_request_error.rb +2 -1
  3546. data/lib/oci/work_requests/models/work_request_log_entry.rb +2 -1
  3547. data/lib/oci/work_requests/models/work_request_resource.rb +2 -1
  3548. data/lib/oci/work_requests/models/work_request_summary.rb +2 -1
  3549. data/lib/oci/work_requests/util.rb +2 -1
  3550. data/lib/oci/work_requests/work_request_client.rb +10 -16
  3551. data/lib/oci/work_requests/work_request_client_composite_operations.rb +2 -1
  3552. data/lib/oci/work_requests/work_requests.rb +2 -1
  3553. data/lib/oraclebmc.rb +2 -1
  3554. metadata +2294 -22
  3555. data/lib/oci/streaming/models/archiver_lifecycle_state.rb +0 -14
  3556. data/lib/oci/streaming/models/archiver_start_position.rb +0 -10
@@ -0,0 +1,321 @@
1
+ # Copyright (c) 2016, 2020, Oracle and/or its affiliates. All rights reserved.
2
+ # This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
3
+
4
+ require 'date'
5
+ require 'logger'
6
+
7
+ # rubocop:disable Lint/UnneededCopDisableDirective, Metrics/LineLength
8
+ module OCI
9
+ # A work request summary
10
+ class OsManagement::Models::WorkRequestSummary
11
+ OPERATION_TYPE_ENUM = [
12
+ OPERATION_TYPE_INSTALL = 'INSTALL'.freeze,
13
+ OPERATION_TYPE_UPDATE = 'UPDATE'.freeze,
14
+ OPERATION_TYPE_REMOVE = 'REMOVE'.freeze,
15
+ OPERATION_TYPE_UPDATEALL = 'UPDATEALL'.freeze,
16
+ OPERATION_TYPE_UNKNOWN_ENUM_VALUE = 'UNKNOWN_ENUM_VALUE'.freeze
17
+ ].freeze
18
+
19
+ STATUS_ENUM = [
20
+ STATUS_ACCEPTED = 'ACCEPTED'.freeze,
21
+ STATUS_IN_PROGRESS = 'IN_PROGRESS'.freeze,
22
+ STATUS_FAILED = 'FAILED'.freeze,
23
+ STATUS_SUCCEEDED = 'SUCCEEDED'.freeze,
24
+ STATUS_CANCELLING = 'CANCELLING'.freeze,
25
+ STATUS_CANCELED = 'CANCELED'.freeze,
26
+ STATUS_UNKNOWN_ENUM_VALUE = 'UNKNOWN_ENUM_VALUE'.freeze
27
+ ].freeze
28
+
29
+ OS_FAMILY_ENUM = [
30
+ OS_FAMILY_LINUX = 'LINUX'.freeze,
31
+ OS_FAMILY_WINDOWS = 'WINDOWS'.freeze,
32
+ OS_FAMILY_ALL = 'ALL'.freeze,
33
+ OS_FAMILY_UNKNOWN_ENUM_VALUE = 'UNKNOWN_ENUM_VALUE'.freeze
34
+ ].freeze
35
+
36
+ # **[Required]** the type of operation this Work Request performs
37
+ # @return [String]
38
+ attr_reader :operation_type
39
+
40
+ # **[Required]** status of current work request.
41
+ # @return [String]
42
+ attr_reader :status
43
+
44
+ # **[Required]** The id of the work request.
45
+ # @return [String]
46
+ attr_accessor :id
47
+
48
+ # **[Required]** The ocid of the compartment that contains the work request. Work requests should be scoped to
49
+ # the same compartment as the resource the work request affects. If the work request affects multiple resources,
50
+ # and those resources are not in the same compartment, it is up to the service team to pick the primary
51
+ # resource whose compartment should be used
52
+ #
53
+ # @return [String]
54
+ attr_accessor :compartment_id
55
+
56
+ # Description of the type of work.
57
+ # @return [String]
58
+ attr_accessor :description
59
+
60
+ # A progress or error message, if there is any.
61
+ # @return [String]
62
+ attr_accessor :message
63
+
64
+ # Percentage of the request completed.
65
+ # @return [Float]
66
+ attr_accessor :percent_complete
67
+
68
+ # **[Required]** The date and time the request was created, as described in
69
+ # [RFC 3339](https://tools.ietf.org/rfc/rfc3339), section 14.29.
70
+ #
71
+ # @return [DateTime]
72
+ attr_accessor :time_accepted
73
+
74
+ # The Operating System type of the managed instance.
75
+ # @return [String]
76
+ attr_reader :os_family
77
+
78
+ # Attribute mapping from ruby-style variable name to JSON key.
79
+ def self.attribute_map
80
+ {
81
+ # rubocop:disable Style/SymbolLiteral
82
+ 'operation_type': :'operationType',
83
+ 'status': :'status',
84
+ 'id': :'id',
85
+ 'compartment_id': :'compartmentId',
86
+ 'description': :'description',
87
+ 'message': :'message',
88
+ 'percent_complete': :'percentComplete',
89
+ 'time_accepted': :'timeAccepted',
90
+ 'os_family': :'osFamily'
91
+ # rubocop:enable Style/SymbolLiteral
92
+ }
93
+ end
94
+
95
+ # Attribute type mapping.
96
+ def self.swagger_types
97
+ {
98
+ # rubocop:disable Style/SymbolLiteral
99
+ 'operation_type': :'String',
100
+ 'status': :'String',
101
+ 'id': :'String',
102
+ 'compartment_id': :'String',
103
+ 'description': :'String',
104
+ 'message': :'String',
105
+ 'percent_complete': :'Float',
106
+ 'time_accepted': :'DateTime',
107
+ 'os_family': :'String'
108
+ # rubocop:enable Style/SymbolLiteral
109
+ }
110
+ end
111
+
112
+ # rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
113
+ # rubocop:disable Metrics/MethodLength, Layout/EmptyLines, Style/SymbolLiteral
114
+
115
+
116
+ # Initializes the object
117
+ # @param [Hash] attributes Model attributes in the form of hash
118
+ # @option attributes [String] :operation_type The value to assign to the {#operation_type} property
119
+ # @option attributes [String] :status The value to assign to the {#status} property
120
+ # @option attributes [String] :id The value to assign to the {#id} property
121
+ # @option attributes [String] :compartment_id The value to assign to the {#compartment_id} property
122
+ # @option attributes [String] :description The value to assign to the {#description} property
123
+ # @option attributes [String] :message The value to assign to the {#message} property
124
+ # @option attributes [Float] :percent_complete The value to assign to the {#percent_complete} property
125
+ # @option attributes [DateTime] :time_accepted The value to assign to the {#time_accepted} property
126
+ # @option attributes [String] :os_family The value to assign to the {#os_family} property
127
+ def initialize(attributes = {})
128
+ return unless attributes.is_a?(Hash)
129
+
130
+ # convert string to symbol for hash key
131
+ attributes = attributes.each_with_object({}) { |(k, v), h| h[k.to_sym] = v }
132
+
133
+ self.operation_type = attributes[:'operationType'] if attributes[:'operationType']
134
+
135
+ raise 'You cannot provide both :operationType and :operation_type' if attributes.key?(:'operationType') && attributes.key?(:'operation_type')
136
+
137
+ self.operation_type = attributes[:'operation_type'] if attributes[:'operation_type']
138
+
139
+ self.status = attributes[:'status'] if attributes[:'status']
140
+
141
+ self.id = attributes[:'id'] if attributes[:'id']
142
+
143
+ self.compartment_id = attributes[:'compartmentId'] if attributes[:'compartmentId']
144
+
145
+ raise 'You cannot provide both :compartmentId and :compartment_id' if attributes.key?(:'compartmentId') && attributes.key?(:'compartment_id')
146
+
147
+ self.compartment_id = attributes[:'compartment_id'] if attributes[:'compartment_id']
148
+
149
+ self.description = attributes[:'description'] if attributes[:'description']
150
+
151
+ self.message = attributes[:'message'] if attributes[:'message']
152
+
153
+ self.percent_complete = attributes[:'percentComplete'] if attributes[:'percentComplete']
154
+
155
+ raise 'You cannot provide both :percentComplete and :percent_complete' if attributes.key?(:'percentComplete') && attributes.key?(:'percent_complete')
156
+
157
+ self.percent_complete = attributes[:'percent_complete'] if attributes[:'percent_complete']
158
+
159
+ self.time_accepted = attributes[:'timeAccepted'] if attributes[:'timeAccepted']
160
+
161
+ raise 'You cannot provide both :timeAccepted and :time_accepted' if attributes.key?(:'timeAccepted') && attributes.key?(:'time_accepted')
162
+
163
+ self.time_accepted = attributes[:'time_accepted'] if attributes[:'time_accepted']
164
+
165
+ self.os_family = attributes[:'osFamily'] if attributes[:'osFamily']
166
+
167
+ raise 'You cannot provide both :osFamily and :os_family' if attributes.key?(:'osFamily') && attributes.key?(:'os_family')
168
+
169
+ self.os_family = attributes[:'os_family'] if attributes[:'os_family']
170
+ end
171
+ # rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
172
+ # rubocop:enable Metrics/MethodLength, Layout/EmptyLines, Style/SymbolLiteral
173
+
174
+ # Custom attribute writer method checking allowed values (enum).
175
+ # @param [Object] operation_type Object to be assigned
176
+ def operation_type=(operation_type)
177
+ # rubocop:disable Style/ConditionalAssignment
178
+ if operation_type && !OPERATION_TYPE_ENUM.include?(operation_type)
179
+ OCI.logger.debug("Unknown value for 'operation_type' [" + operation_type + "]. Mapping to 'OPERATION_TYPE_UNKNOWN_ENUM_VALUE'") if OCI.logger
180
+ @operation_type = OPERATION_TYPE_UNKNOWN_ENUM_VALUE
181
+ else
182
+ @operation_type = operation_type
183
+ end
184
+ # rubocop:enable Style/ConditionalAssignment
185
+ end
186
+
187
+ # Custom attribute writer method checking allowed values (enum).
188
+ # @param [Object] status Object to be assigned
189
+ def status=(status)
190
+ # rubocop:disable Style/ConditionalAssignment
191
+ if status && !STATUS_ENUM.include?(status)
192
+ OCI.logger.debug("Unknown value for 'status' [" + status + "]. Mapping to 'STATUS_UNKNOWN_ENUM_VALUE'") if OCI.logger
193
+ @status = STATUS_UNKNOWN_ENUM_VALUE
194
+ else
195
+ @status = status
196
+ end
197
+ # rubocop:enable Style/ConditionalAssignment
198
+ end
199
+
200
+ # Custom attribute writer method checking allowed values (enum).
201
+ # @param [Object] os_family Object to be assigned
202
+ def os_family=(os_family)
203
+ # rubocop:disable Style/ConditionalAssignment
204
+ if os_family && !OS_FAMILY_ENUM.include?(os_family)
205
+ OCI.logger.debug("Unknown value for 'os_family' [" + os_family + "]. Mapping to 'OS_FAMILY_UNKNOWN_ENUM_VALUE'") if OCI.logger
206
+ @os_family = OS_FAMILY_UNKNOWN_ENUM_VALUE
207
+ else
208
+ @os_family = os_family
209
+ end
210
+ # rubocop:enable Style/ConditionalAssignment
211
+ end
212
+
213
+ # rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity, Layout/EmptyLines
214
+
215
+
216
+ # Checks equality by comparing each attribute.
217
+ # @param [Object] other the other object to be compared
218
+ def ==(other)
219
+ return true if equal?(other)
220
+
221
+ self.class == other.class &&
222
+ operation_type == other.operation_type &&
223
+ status == other.status &&
224
+ id == other.id &&
225
+ compartment_id == other.compartment_id &&
226
+ description == other.description &&
227
+ message == other.message &&
228
+ percent_complete == other.percent_complete &&
229
+ time_accepted == other.time_accepted &&
230
+ os_family == other.os_family
231
+ end
232
+ # rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity, Layout/EmptyLines
233
+
234
+ # @see the `==` method
235
+ # @param [Object] other the other object to be compared
236
+ def eql?(other)
237
+ self == other
238
+ end
239
+
240
+ # rubocop:disable Metrics/AbcSize, Layout/EmptyLines
241
+
242
+
243
+ # Calculates hash code according to all attributes.
244
+ # @return [Fixnum] Hash code
245
+ def hash
246
+ [operation_type, status, id, compartment_id, description, message, percent_complete, time_accepted, os_family].hash
247
+ end
248
+ # rubocop:enable Metrics/AbcSize, Layout/EmptyLines
249
+
250
+ # rubocop:disable Metrics/AbcSize, Layout/EmptyLines
251
+
252
+
253
+ # Builds the object from hash
254
+ # @param [Hash] attributes Model attributes in the form of hash
255
+ # @return [Object] Returns the model itself
256
+ def build_from_hash(attributes)
257
+ return nil unless attributes.is_a?(Hash)
258
+
259
+ self.class.swagger_types.each_pair do |key, type|
260
+ if type =~ /^Array<(.*)>/i
261
+ # check to ensure the input is an array given that the the attribute
262
+ # is documented as an array but the input is not
263
+ if attributes[self.class.attribute_map[key]].is_a?(Array)
264
+ public_method("#{key}=").call(
265
+ attributes[self.class.attribute_map[key]]
266
+ .map { |v| OCI::Internal::Util.convert_to_type(Regexp.last_match(1), v) }
267
+ )
268
+ end
269
+ elsif !attributes[self.class.attribute_map[key]].nil?
270
+ public_method("#{key}=").call(
271
+ OCI::Internal::Util.convert_to_type(type, attributes[self.class.attribute_map[key]])
272
+ )
273
+ end
274
+ # or else data not found in attributes(hash), not an issue as the data can be optional
275
+ end
276
+
277
+ self
278
+ end
279
+ # rubocop:enable Metrics/AbcSize, Layout/EmptyLines
280
+
281
+ # Returns the string representation of the object
282
+ # @return [String] String presentation of the object
283
+ def to_s
284
+ to_hash.to_s
285
+ end
286
+
287
+ # Returns the object in the form of hash
288
+ # @return [Hash] Returns the object in the form of hash
289
+ def to_hash
290
+ hash = {}
291
+ self.class.attribute_map.each_pair do |attr, param|
292
+ value = public_method(attr).call
293
+ next if value.nil? && !instance_variable_defined?("@#{attr}")
294
+
295
+ hash[param] = _to_hash(value)
296
+ end
297
+ hash
298
+ end
299
+
300
+ private
301
+
302
+ # Outputs non-array value in the form of hash
303
+ # For object, use to_hash. Otherwise, just return the value
304
+ # @param [Object] value Any valid value
305
+ # @return [Hash] Returns the value in the form of hash
306
+ def _to_hash(value)
307
+ if value.is_a?(Array)
308
+ value.compact.map { |v| _to_hash(v) }
309
+ elsif value.is_a?(Hash)
310
+ {}.tap do |hash|
311
+ value.each { |k, v| hash[k] = _to_hash(v) }
312
+ end
313
+ elsif value.respond_to? :to_hash
314
+ value.to_hash
315
+ else
316
+ value
317
+ end
318
+ end
319
+ end
320
+ end
321
+ # rubocop:enable Lint/UnneededCopDisableDirective, Metrics/LineLength
@@ -0,0 +1,80 @@
1
+ # Copyright (c) 2016, 2020, Oracle and/or its affiliates. All rights reserved.
2
+ # This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
3
+
4
+ module OCI
5
+ module OsManagement
6
+ # Module containing models for requests made to, and responses received from,
7
+ # OCI OsManagement services
8
+ module Models
9
+ end
10
+ end
11
+ end
12
+
13
+ # Require models
14
+ require 'oci/os_management/models/add_packages_to_software_source_details'
15
+ require 'oci/os_management/models/api_error'
16
+ require 'oci/os_management/models/arch_types'
17
+ require 'oci/os_management/models/attach_child_software_source_to_managed_instance_details'
18
+ require 'oci/os_management/models/attach_parent_software_source_to_managed_instance_details'
19
+ require 'oci/os_management/models/available_software_source_summary'
20
+ require 'oci/os_management/models/available_update_summary'
21
+ require 'oci/os_management/models/available_windows_update_summary'
22
+ require 'oci/os_management/models/change_managed_instance_group_compartment_details'
23
+ require 'oci/os_management/models/change_scheduled_job_compartment_details'
24
+ require 'oci/os_management/models/change_software_source_compartment_details'
25
+ require 'oci/os_management/models/checksum_types'
26
+ require 'oci/os_management/models/create_managed_instance_group_details'
27
+ require 'oci/os_management/models/create_scheduled_job_details'
28
+ require 'oci/os_management/models/create_software_source_details'
29
+ require 'oci/os_management/models/detach_child_software_source_from_managed_instance_details'
30
+ require 'oci/os_management/models/detach_parent_software_source_from_managed_instance_details'
31
+ require 'oci/os_management/models/erratum'
32
+ require 'oci/os_management/models/erratum_summary'
33
+ require 'oci/os_management/models/id'
34
+ require 'oci/os_management/models/installable_package_summary'
35
+ require 'oci/os_management/models/installation_requirements'
36
+ require 'oci/os_management/models/installed_package_summary'
37
+ require 'oci/os_management/models/installed_windows_update_summary'
38
+ require 'oci/os_management/models/interval_types'
39
+ require 'oci/os_management/models/is_eligible_for_installation'
40
+ require 'oci/os_management/models/lifecycle_states'
41
+ require 'oci/os_management/models/managed_instance'
42
+ require 'oci/os_management/models/managed_instance_group'
43
+ require 'oci/os_management/models/managed_instance_group_summary'
44
+ require 'oci/os_management/models/managed_instance_summary'
45
+ require 'oci/os_management/models/operation_status'
46
+ require 'oci/os_management/models/operation_types'
47
+ require 'oci/os_management/models/os_families'
48
+ require 'oci/os_management/models/package_name'
49
+ require 'oci/os_management/models/package_update_types'
50
+ require 'oci/os_management/models/recurrence'
51
+ require 'oci/os_management/models/remove_packages_from_software_source_details'
52
+ require 'oci/os_management/models/schedule_types'
53
+ require 'oci/os_management/models/scheduled_job'
54
+ require 'oci/os_management/models/scheduled_job_summary'
55
+ require 'oci/os_management/models/software_package'
56
+ require 'oci/os_management/models/software_package_dependency'
57
+ require 'oci/os_management/models/software_package_file'
58
+ require 'oci/os_management/models/software_package_search_summary'
59
+ require 'oci/os_management/models/software_package_summary'
60
+ require 'oci/os_management/models/software_source'
61
+ require 'oci/os_management/models/software_source_id'
62
+ require 'oci/os_management/models/software_source_summary'
63
+ require 'oci/os_management/models/update_managed_instance_group_details'
64
+ require 'oci/os_management/models/update_scheduled_job_details'
65
+ require 'oci/os_management/models/update_software_source_details'
66
+ require 'oci/os_management/models/update_types'
67
+ require 'oci/os_management/models/windows_update'
68
+ require 'oci/os_management/models/windows_update_summary'
69
+ require 'oci/os_management/models/work_request'
70
+ require 'oci/os_management/models/work_request_error'
71
+ require 'oci/os_management/models/work_request_log_entry'
72
+ require 'oci/os_management/models/work_request_resource'
73
+ require 'oci/os_management/models/work_request_summary'
74
+
75
+ # Require generated clients
76
+ require 'oci/os_management/os_management_client'
77
+ require 'oci/os_management/os_management_client_composite_operations'
78
+
79
+ # Require service utilities
80
+ require 'oci/os_management/util'
@@ -0,0 +1,3797 @@
1
+ # Copyright (c) 2016, 2020, Oracle and/or its affiliates. All rights reserved.
2
+ # This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
3
+
4
+ require 'uri'
5
+ require 'logger'
6
+
7
+ # rubocop:disable Lint/UnneededCopDisableDirective, Metrics/LineLength
8
+ module OCI
9
+ # API for the OS Management service. Use these API operations for working
10
+ # with Managed instances and Managed instance groups.
11
+ class OsManagement::OsManagementClient
12
+ # Client used to make HTTP requests.
13
+ # @return [OCI::ApiClient]
14
+ attr_reader :api_client
15
+
16
+ # Fully qualified endpoint URL
17
+ # @return [String]
18
+ attr_reader :endpoint
19
+
20
+ # The default retry configuration to apply to all operations in this service client. This can be overridden
21
+ # on a per-operation basis. The default retry configuration value is `nil`, which means that an operation
22
+ # will not perform any retries
23
+ # @return [OCI::Retry::RetryConfig]
24
+ attr_reader :retry_config
25
+
26
+ # The region, which will usually correspond to a value in {OCI::Regions::REGION_ENUM}.
27
+ # @return [String]
28
+ attr_reader :region
29
+
30
+ # rubocop:disable Metrics/AbcSize, Metrics/CyclomaticComplexity, Layout/EmptyLines, Metrics/PerceivedComplexity
31
+
32
+
33
+ # Creates a new OsManagementClient.
34
+ # Notes:
35
+ # If a config is not specified, then the global OCI.config will be used.
36
+ #
37
+ # This client is not thread-safe
38
+ #
39
+ # Either a region or an endpoint must be specified. If an endpoint is specified, it will be used instead of the
40
+ # region. A region may be specified in the config or via or the region parameter. If specified in both, then the
41
+ # region parameter will be used.
42
+ # @param [Config] config A Config object.
43
+ # @param [String] region A region used to determine the service endpoint. This will usually
44
+ # correspond to a value in {OCI::Regions::REGION_ENUM}, but may be an arbitrary string.
45
+ # @param [String] endpoint The fully qualified endpoint URL
46
+ # @param [OCI::BaseSigner] signer A signer implementation which can be used by this client. If this is not provided then
47
+ # a signer will be constructed via the provided config. One use case of this parameter is instance principals authentication,
48
+ # so that the instance principals signer can be provided to the client
49
+ # @param [OCI::ApiClientProxySettings] proxy_settings If your environment requires you to use a proxy server for outgoing HTTP requests
50
+ # the details for the proxy can be provided in this parameter
51
+ # @param [OCI::Retry::RetryConfig] retry_config The retry configuration for this service client. This represents the default retry configuration to
52
+ # apply across all operations. This can be overridden on a per-operation basis. The default retry configuration value is `nil`, which means that an operation
53
+ # will not perform any retries
54
+ def initialize(config: nil, region: nil, endpoint: nil, signer: nil, proxy_settings: nil, retry_config: nil)
55
+ # If the signer is an InstancePrincipalsSecurityTokenSigner or SecurityTokenSigner and no config was supplied (they are self-sufficient signers)
56
+ # then create a dummy config to pass to the ApiClient constructor. If customers wish to create a client which uses instance principals
57
+ # and has config (either populated programmatically or loaded from a file), they must construct that config themselves and then
58
+ # pass it to this constructor.
59
+ #
60
+ # If there is no signer (or the signer is not an instance principals signer) and no config was supplied, this is not valid
61
+ # so try and load the config from the default file.
62
+ config = OCI::Config.validate_and_build_config_with_signer(config, signer)
63
+
64
+ signer = OCI::Signer.config_file_auth_builder(config) if signer.nil?
65
+
66
+ @api_client = OCI::ApiClient.new(config, signer, proxy_settings: proxy_settings)
67
+ @retry_config = retry_config
68
+
69
+ if endpoint
70
+ @endpoint = endpoint + '/20190801'
71
+ else
72
+ region ||= config.region
73
+ region ||= signer.region if signer.respond_to?(:region)
74
+ self.region = region
75
+ end
76
+ logger.info "OsManagementClient endpoint set to '#{@endpoint}'." if logger
77
+ end
78
+ # rubocop:enable Metrics/AbcSize, Metrics/CyclomaticComplexity, Layout/EmptyLines, Metrics/PerceivedComplexity
79
+
80
+ # Set the region that will be used to determine the service endpoint.
81
+ # This will usually correspond to a value in {OCI::Regions::REGION_ENUM},
82
+ # but may be an arbitrary string.
83
+ def region=(new_region)
84
+ @region = new_region
85
+
86
+ raise 'A region must be specified.' unless @region
87
+
88
+ @endpoint = OCI::Regions.get_service_endpoint_for_template(@region, 'https://osms.{region}.oci.{secondLevelDomain}') + '/20190801'
89
+ logger.info "OsManagementClient endpoint set to '#{@endpoint} from region #{@region}'." if logger
90
+ end
91
+
92
+ # @return [Logger] The logger for this client. May be nil.
93
+ def logger
94
+ @api_client.config.logger
95
+ end
96
+
97
+ # rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
98
+ # rubocop:disable Style/IfUnlessModifier, Metrics/ParameterLists
99
+ # rubocop:disable Metrics/MethodLength, Layout/EmptyLines
100
+
101
+
102
+ # Adds a given list of Software Packages to a specific Software Source.
103
+ #
104
+ # @param [String] software_source_id The OCID of the software source.
105
+ # @param [OCI::OsManagement::Models::AddPackagesToSoftwareSourceDetails] add_packages_to_software_source_details A list of package identifiers
106
+ # @param [Hash] opts the optional parameters
107
+ # @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
108
+ # retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
109
+ # @option opts [String] :opc_request_id The client request ID for tracing.
110
+ # @return [Response] A Response object with data of type nil
111
+ # @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/osmanagement/add_packages_to_software_source.rb.html) to see an example of how to use add_packages_to_software_source API.
112
+ def add_packages_to_software_source(software_source_id, add_packages_to_software_source_details, opts = {})
113
+ logger.debug 'Calling operation OsManagementClient#add_packages_to_software_source.' if logger
114
+
115
+ raise "Missing the required parameter 'software_source_id' when calling add_packages_to_software_source." if software_source_id.nil?
116
+ raise "Missing the required parameter 'add_packages_to_software_source_details' when calling add_packages_to_software_source." if add_packages_to_software_source_details.nil?
117
+ raise "Parameter value for 'software_source_id' must not be blank" if OCI::Internal::Util.blank_string?(software_source_id)
118
+
119
+ path = '/softwareSources/{softwareSourceId}/actions/addPackages'.sub('{softwareSourceId}', software_source_id.to_s)
120
+ operation_signing_strategy = :standard
121
+
122
+ # rubocop:disable Style/NegatedIf
123
+ # Query Params
124
+ query_params = {}
125
+
126
+ # Header Params
127
+ header_params = {}
128
+ header_params[:accept] = 'application/json'
129
+ header_params[:'content-type'] = 'application/json'
130
+ header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
131
+ # rubocop:enable Style/NegatedIf
132
+
133
+ post_body = @api_client.object_to_http_body(add_packages_to_software_source_details)
134
+
135
+ # rubocop:disable Metrics/BlockLength
136
+ OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'OsManagementClient#add_packages_to_software_source') do
137
+ @api_client.call_api(
138
+ :POST,
139
+ path,
140
+ endpoint,
141
+ header_params: header_params,
142
+ query_params: query_params,
143
+ operation_signing_strategy: operation_signing_strategy,
144
+ body: post_body
145
+ )
146
+ end
147
+ # rubocop:enable Metrics/BlockLength
148
+ end
149
+ # rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
150
+ # rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
151
+ # rubocop:enable Metrics/MethodLength, Layout/EmptyLines
152
+
153
+ # rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
154
+ # rubocop:disable Style/IfUnlessModifier, Metrics/ParameterLists
155
+ # rubocop:disable Metrics/MethodLength, Layout/EmptyLines
156
+
157
+
158
+ # Adds a child software source to a managed instance. After the software
159
+ # source has been added, then packages from that software source can be
160
+ # installed on the managed instance.
161
+ #
162
+ # @param [String] managed_instance_id OCID for the managed instance
163
+ # @param [OCI::OsManagement::Models::AttachChildSoftwareSourceToManagedInstanceDetails] attach_child_software_source_to_managed_instance_details Details for attaching a Software Source to a Managed Instance
164
+ # @param [Hash] opts the optional parameters
165
+ # @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
166
+ # retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
167
+ # @option opts [String] :opc_request_id The client request ID for tracing.
168
+ # @option opts [String] :opc_retry_token A token that uniquely identifies a request so it can be retried in case of a timeout or
169
+ # server error without risk of executing that same action again. Retry tokens expire after 24
170
+ # hours, but can be invalidated before then due to conflicting operations. For example, if a resource
171
+ # has been deleted and purged from the system, then a retry of the original creation request
172
+ # might be rejected.
173
+ #
174
+ # @return [Response] A Response object with data of type nil
175
+ # @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/osmanagement/attach_child_software_source_to_managed_instance.rb.html) to see an example of how to use attach_child_software_source_to_managed_instance API.
176
+ def attach_child_software_source_to_managed_instance(managed_instance_id, attach_child_software_source_to_managed_instance_details, opts = {})
177
+ logger.debug 'Calling operation OsManagementClient#attach_child_software_source_to_managed_instance.' if logger
178
+
179
+ raise "Missing the required parameter 'managed_instance_id' when calling attach_child_software_source_to_managed_instance." if managed_instance_id.nil?
180
+ raise "Missing the required parameter 'attach_child_software_source_to_managed_instance_details' when calling attach_child_software_source_to_managed_instance." if attach_child_software_source_to_managed_instance_details.nil?
181
+ raise "Parameter value for 'managed_instance_id' must not be blank" if OCI::Internal::Util.blank_string?(managed_instance_id)
182
+
183
+ path = '/managedInstances/{managedInstanceId}/actions/attachChildSoftwareSource'.sub('{managedInstanceId}', managed_instance_id.to_s)
184
+ operation_signing_strategy = :standard
185
+
186
+ # rubocop:disable Style/NegatedIf
187
+ # Query Params
188
+ query_params = {}
189
+
190
+ # Header Params
191
+ header_params = {}
192
+ header_params[:accept] = 'application/json'
193
+ header_params[:'content-type'] = 'application/json'
194
+ header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
195
+ header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token]
196
+ # rubocop:enable Style/NegatedIf
197
+ header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token
198
+
199
+ post_body = @api_client.object_to_http_body(attach_child_software_source_to_managed_instance_details)
200
+
201
+ # rubocop:disable Metrics/BlockLength
202
+ OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'OsManagementClient#attach_child_software_source_to_managed_instance') do
203
+ @api_client.call_api(
204
+ :POST,
205
+ path,
206
+ endpoint,
207
+ header_params: header_params,
208
+ query_params: query_params,
209
+ operation_signing_strategy: operation_signing_strategy,
210
+ body: post_body
211
+ )
212
+ end
213
+ # rubocop:enable Metrics/BlockLength
214
+ end
215
+ # rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
216
+ # rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
217
+ # rubocop:enable Metrics/MethodLength, Layout/EmptyLines
218
+
219
+ # rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
220
+ # rubocop:disable Style/IfUnlessModifier, Metrics/ParameterLists
221
+ # rubocop:disable Metrics/MethodLength, Layout/EmptyLines
222
+
223
+
224
+ # Adds a Managed Instance to a Managed Instance Group. After the Managed
225
+ # Instance has been added, then operations can be performed on the Managed
226
+ # Instance Group which will then apply to all Managed Instances in the
227
+ # group.
228
+ #
229
+ # @param [String] managed_instance_group_id OCID for the managed instance group
230
+ # @param [String] managed_instance_id OCID for the managed instance
231
+ # @param [Hash] opts the optional parameters
232
+ # @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
233
+ # retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
234
+ # @option opts [String] :opc_request_id The client request ID for tracing.
235
+ # @option opts [String] :opc_retry_token A token that uniquely identifies a request so it can be retried in case of a timeout or
236
+ # server error without risk of executing that same action again. Retry tokens expire after 24
237
+ # hours, but can be invalidated before then due to conflicting operations. For example, if a resource
238
+ # has been deleted and purged from the system, then a retry of the original creation request
239
+ # might be rejected.
240
+ #
241
+ # @return [Response] A Response object with data of type nil
242
+ # @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/osmanagement/attach_managed_instance_to_managed_instance_group.rb.html) to see an example of how to use attach_managed_instance_to_managed_instance_group API.
243
+ def attach_managed_instance_to_managed_instance_group(managed_instance_group_id, managed_instance_id, opts = {})
244
+ logger.debug 'Calling operation OsManagementClient#attach_managed_instance_to_managed_instance_group.' if logger
245
+
246
+ raise "Missing the required parameter 'managed_instance_group_id' when calling attach_managed_instance_to_managed_instance_group." if managed_instance_group_id.nil?
247
+ raise "Missing the required parameter 'managed_instance_id' when calling attach_managed_instance_to_managed_instance_group." if managed_instance_id.nil?
248
+ raise "Parameter value for 'managed_instance_group_id' must not be blank" if OCI::Internal::Util.blank_string?(managed_instance_group_id)
249
+
250
+ path = '/managedInstanceGroups/{managedInstanceGroupId}/actions/attachManagedInstance'.sub('{managedInstanceGroupId}', managed_instance_group_id.to_s)
251
+ operation_signing_strategy = :standard
252
+
253
+ # rubocop:disable Style/NegatedIf
254
+ # Query Params
255
+ query_params = {}
256
+ query_params[:managedInstanceId] = managed_instance_id
257
+
258
+ # Header Params
259
+ header_params = {}
260
+ header_params[:accept] = 'application/json'
261
+ header_params[:'content-type'] = 'application/json'
262
+ header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
263
+ header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token]
264
+ # rubocop:enable Style/NegatedIf
265
+ header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token
266
+
267
+ post_body = nil
268
+
269
+ # rubocop:disable Metrics/BlockLength
270
+ OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'OsManagementClient#attach_managed_instance_to_managed_instance_group') do
271
+ @api_client.call_api(
272
+ :POST,
273
+ path,
274
+ endpoint,
275
+ header_params: header_params,
276
+ query_params: query_params,
277
+ operation_signing_strategy: operation_signing_strategy,
278
+ body: post_body
279
+ )
280
+ end
281
+ # rubocop:enable Metrics/BlockLength
282
+ end
283
+ # rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
284
+ # rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
285
+ # rubocop:enable Metrics/MethodLength, Layout/EmptyLines
286
+
287
+ # rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
288
+ # rubocop:disable Style/IfUnlessModifier, Metrics/ParameterLists
289
+ # rubocop:disable Metrics/MethodLength, Layout/EmptyLines
290
+
291
+
292
+ # Adds a parent software source to a managed instance. After the software
293
+ # source has been added, then packages from that software source can be
294
+ # installed on the managed instance. Software sources that have this
295
+ # software source as a parent will be able to be added to this managed instance.
296
+ #
297
+ # @param [String] managed_instance_id OCID for the managed instance
298
+ # @param [OCI::OsManagement::Models::AttachParentSoftwareSourceToManagedInstanceDetails] attach_parent_software_source_to_managed_instance_details Details for attaching a Software Source to a Managed Instance
299
+ # @param [Hash] opts the optional parameters
300
+ # @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
301
+ # retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
302
+ # @option opts [String] :opc_request_id The client request ID for tracing.
303
+ # @option opts [String] :opc_retry_token A token that uniquely identifies a request so it can be retried in case of a timeout or
304
+ # server error without risk of executing that same action again. Retry tokens expire after 24
305
+ # hours, but can be invalidated before then due to conflicting operations. For example, if a resource
306
+ # has been deleted and purged from the system, then a retry of the original creation request
307
+ # might be rejected.
308
+ #
309
+ # @return [Response] A Response object with data of type nil
310
+ # @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/osmanagement/attach_parent_software_source_to_managed_instance.rb.html) to see an example of how to use attach_parent_software_source_to_managed_instance API.
311
+ def attach_parent_software_source_to_managed_instance(managed_instance_id, attach_parent_software_source_to_managed_instance_details, opts = {})
312
+ logger.debug 'Calling operation OsManagementClient#attach_parent_software_source_to_managed_instance.' if logger
313
+
314
+ raise "Missing the required parameter 'managed_instance_id' when calling attach_parent_software_source_to_managed_instance." if managed_instance_id.nil?
315
+ raise "Missing the required parameter 'attach_parent_software_source_to_managed_instance_details' when calling attach_parent_software_source_to_managed_instance." if attach_parent_software_source_to_managed_instance_details.nil?
316
+ raise "Parameter value for 'managed_instance_id' must not be blank" if OCI::Internal::Util.blank_string?(managed_instance_id)
317
+
318
+ path = '/managedInstances/{managedInstanceId}/actions/attachParentSoftwareSource'.sub('{managedInstanceId}', managed_instance_id.to_s)
319
+ operation_signing_strategy = :standard
320
+
321
+ # rubocop:disable Style/NegatedIf
322
+ # Query Params
323
+ query_params = {}
324
+
325
+ # Header Params
326
+ header_params = {}
327
+ header_params[:accept] = 'application/json'
328
+ header_params[:'content-type'] = 'application/json'
329
+ header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
330
+ header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token]
331
+ # rubocop:enable Style/NegatedIf
332
+ header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token
333
+
334
+ post_body = @api_client.object_to_http_body(attach_parent_software_source_to_managed_instance_details)
335
+
336
+ # rubocop:disable Metrics/BlockLength
337
+ OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'OsManagementClient#attach_parent_software_source_to_managed_instance') do
338
+ @api_client.call_api(
339
+ :POST,
340
+ path,
341
+ endpoint,
342
+ header_params: header_params,
343
+ query_params: query_params,
344
+ operation_signing_strategy: operation_signing_strategy,
345
+ body: post_body
346
+ )
347
+ end
348
+ # rubocop:enable Metrics/BlockLength
349
+ end
350
+ # rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
351
+ # rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
352
+ # rubocop:enable Metrics/MethodLength, Layout/EmptyLines
353
+
354
+ # rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
355
+ # rubocop:disable Style/IfUnlessModifier, Metrics/ParameterLists
356
+ # rubocop:disable Metrics/MethodLength, Layout/EmptyLines
357
+
358
+
359
+ # Moves a resource into a different compartment. When provided, If-Match
360
+ # is checked against ETag values of the resource.
361
+ #
362
+ # @param [String] managed_instance_group_id OCID for the managed instance group
363
+ # @param [OCI::OsManagement::Models::ChangeManagedInstanceGroupCompartmentDetails] change_managed_instance_group_compartment_details OCID for the compartment to which the resource will be moved.
364
+ # @param [Hash] opts the optional parameters
365
+ # @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
366
+ # retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
367
+ # @option opts [String] :opc_request_id The client request ID for tracing.
368
+ # @option opts [String] :if_match For optimistic concurrency control. In the PUT or DELETE call
369
+ # for a resource, set the `if-match` parameter to the value of the
370
+ # etag from a previous GET or POST response for that resource.
371
+ # The resource will be updated or deleted only if the etag you
372
+ # provide matches the resource's current etag value.
373
+ #
374
+ # @option opts [String] :opc_retry_token A token that uniquely identifies a request so it can be retried in case of a timeout or
375
+ # server error without risk of executing that same action again. Retry tokens expire after 24
376
+ # hours, but can be invalidated before then due to conflicting operations. For example, if a resource
377
+ # has been deleted and purged from the system, then a retry of the original creation request
378
+ # might be rejected.
379
+ #
380
+ # @return [Response] A Response object with data of type nil
381
+ # @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/osmanagement/change_managed_instance_group_compartment.rb.html) to see an example of how to use change_managed_instance_group_compartment API.
382
+ def change_managed_instance_group_compartment(managed_instance_group_id, change_managed_instance_group_compartment_details, opts = {})
383
+ logger.debug 'Calling operation OsManagementClient#change_managed_instance_group_compartment.' if logger
384
+
385
+ raise "Missing the required parameter 'managed_instance_group_id' when calling change_managed_instance_group_compartment." if managed_instance_group_id.nil?
386
+ raise "Missing the required parameter 'change_managed_instance_group_compartment_details' when calling change_managed_instance_group_compartment." if change_managed_instance_group_compartment_details.nil?
387
+ raise "Parameter value for 'managed_instance_group_id' must not be blank" if OCI::Internal::Util.blank_string?(managed_instance_group_id)
388
+
389
+ path = '/managedInstanceGroups/{managedInstanceGroupId}/actions/changeCompartment'.sub('{managedInstanceGroupId}', managed_instance_group_id.to_s)
390
+ operation_signing_strategy = :standard
391
+
392
+ # rubocop:disable Style/NegatedIf
393
+ # Query Params
394
+ query_params = {}
395
+
396
+ # Header Params
397
+ header_params = {}
398
+ header_params[:accept] = 'application/json'
399
+ header_params[:'content-type'] = 'application/json'
400
+ header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
401
+ header_params[:'if-match'] = opts[:if_match] if opts[:if_match]
402
+ header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token]
403
+ # rubocop:enable Style/NegatedIf
404
+ header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token
405
+
406
+ post_body = @api_client.object_to_http_body(change_managed_instance_group_compartment_details)
407
+
408
+ # rubocop:disable Metrics/BlockLength
409
+ OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'OsManagementClient#change_managed_instance_group_compartment') do
410
+ @api_client.call_api(
411
+ :POST,
412
+ path,
413
+ endpoint,
414
+ header_params: header_params,
415
+ query_params: query_params,
416
+ operation_signing_strategy: operation_signing_strategy,
417
+ body: post_body
418
+ )
419
+ end
420
+ # rubocop:enable Metrics/BlockLength
421
+ end
422
+ # rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
423
+ # rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
424
+ # rubocop:enable Metrics/MethodLength, Layout/EmptyLines
425
+
426
+ # rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
427
+ # rubocop:disable Style/IfUnlessModifier, Metrics/ParameterLists
428
+ # rubocop:disable Metrics/MethodLength, Layout/EmptyLines
429
+
430
+
431
+ # Moves a resource into a different compartment. When provided, If-Match
432
+ # is checked against ETag values of the resource.
433
+ #
434
+ # @param [String] scheduled_job_id The ID of the scheduled job.
435
+ # @param [OCI::OsManagement::Models::ChangeScheduledJobCompartmentDetails] change_scheduled_job_compartment_details OCID for the compartment to which the resource will be moved.
436
+ # @param [Hash] opts the optional parameters
437
+ # @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
438
+ # retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
439
+ # @option opts [String] :opc_request_id The client request ID for tracing.
440
+ # @option opts [String] :if_match For optimistic concurrency control. In the PUT or DELETE call
441
+ # for a resource, set the `if-match` parameter to the value of the
442
+ # etag from a previous GET or POST response for that resource.
443
+ # The resource will be updated or deleted only if the etag you
444
+ # provide matches the resource's current etag value.
445
+ #
446
+ # @option opts [String] :opc_retry_token A token that uniquely identifies a request so it can be retried in case of a timeout or
447
+ # server error without risk of executing that same action again. Retry tokens expire after 24
448
+ # hours, but can be invalidated before then due to conflicting operations. For example, if a resource
449
+ # has been deleted and purged from the system, then a retry of the original creation request
450
+ # might be rejected.
451
+ #
452
+ # @return [Response] A Response object with data of type nil
453
+ # @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/osmanagement/change_scheduled_job_compartment.rb.html) to see an example of how to use change_scheduled_job_compartment API.
454
+ def change_scheduled_job_compartment(scheduled_job_id, change_scheduled_job_compartment_details, opts = {})
455
+ logger.debug 'Calling operation OsManagementClient#change_scheduled_job_compartment.' if logger
456
+
457
+ raise "Missing the required parameter 'scheduled_job_id' when calling change_scheduled_job_compartment." if scheduled_job_id.nil?
458
+ raise "Missing the required parameter 'change_scheduled_job_compartment_details' when calling change_scheduled_job_compartment." if change_scheduled_job_compartment_details.nil?
459
+ raise "Parameter value for 'scheduled_job_id' must not be blank" if OCI::Internal::Util.blank_string?(scheduled_job_id)
460
+
461
+ path = '/scheduledJobs/{scheduledJobId}/actions/changeCompartment'.sub('{scheduledJobId}', scheduled_job_id.to_s)
462
+ operation_signing_strategy = :standard
463
+
464
+ # rubocop:disable Style/NegatedIf
465
+ # Query Params
466
+ query_params = {}
467
+
468
+ # Header Params
469
+ header_params = {}
470
+ header_params[:accept] = 'application/json'
471
+ header_params[:'content-type'] = 'application/json'
472
+ header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
473
+ header_params[:'if-match'] = opts[:if_match] if opts[:if_match]
474
+ header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token]
475
+ # rubocop:enable Style/NegatedIf
476
+ header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token
477
+
478
+ post_body = @api_client.object_to_http_body(change_scheduled_job_compartment_details)
479
+
480
+ # rubocop:disable Metrics/BlockLength
481
+ OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'OsManagementClient#change_scheduled_job_compartment') do
482
+ @api_client.call_api(
483
+ :POST,
484
+ path,
485
+ endpoint,
486
+ header_params: header_params,
487
+ query_params: query_params,
488
+ operation_signing_strategy: operation_signing_strategy,
489
+ body: post_body
490
+ )
491
+ end
492
+ # rubocop:enable Metrics/BlockLength
493
+ end
494
+ # rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
495
+ # rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
496
+ # rubocop:enable Metrics/MethodLength, Layout/EmptyLines
497
+
498
+ # rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
499
+ # rubocop:disable Style/IfUnlessModifier, Metrics/ParameterLists
500
+ # rubocop:disable Metrics/MethodLength, Layout/EmptyLines
501
+
502
+
503
+ # Moves a resource into a different compartment. When provided, If-Match
504
+ # is checked against ETag values of the resource.
505
+ #
506
+ # @param [String] software_source_id The OCID of the software source.
507
+ # @param [OCI::OsManagement::Models::ChangeSoftwareSourceCompartmentDetails] change_software_source_compartment_details OCID for the compartment to which the resource will be moved.
508
+ # @param [Hash] opts the optional parameters
509
+ # @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
510
+ # retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
511
+ # @option opts [String] :opc_request_id The client request ID for tracing.
512
+ # @option opts [String] :if_match For optimistic concurrency control. In the PUT or DELETE call
513
+ # for a resource, set the `if-match` parameter to the value of the
514
+ # etag from a previous GET or POST response for that resource.
515
+ # The resource will be updated or deleted only if the etag you
516
+ # provide matches the resource's current etag value.
517
+ #
518
+ # @option opts [String] :opc_retry_token A token that uniquely identifies a request so it can be retried in case of a timeout or
519
+ # server error without risk of executing that same action again. Retry tokens expire after 24
520
+ # hours, but can be invalidated before then due to conflicting operations. For example, if a resource
521
+ # has been deleted and purged from the system, then a retry of the original creation request
522
+ # might be rejected.
523
+ #
524
+ # @return [Response] A Response object with data of type nil
525
+ # @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/osmanagement/change_software_source_compartment.rb.html) to see an example of how to use change_software_source_compartment API.
526
+ def change_software_source_compartment(software_source_id, change_software_source_compartment_details, opts = {})
527
+ logger.debug 'Calling operation OsManagementClient#change_software_source_compartment.' if logger
528
+
529
+ raise "Missing the required parameter 'software_source_id' when calling change_software_source_compartment." if software_source_id.nil?
530
+ raise "Missing the required parameter 'change_software_source_compartment_details' when calling change_software_source_compartment." if change_software_source_compartment_details.nil?
531
+ raise "Parameter value for 'software_source_id' must not be blank" if OCI::Internal::Util.blank_string?(software_source_id)
532
+
533
+ path = '/softwareSources/{softwareSourceId}/actions/changeCompartment'.sub('{softwareSourceId}', software_source_id.to_s)
534
+ operation_signing_strategy = :standard
535
+
536
+ # rubocop:disable Style/NegatedIf
537
+ # Query Params
538
+ query_params = {}
539
+
540
+ # Header Params
541
+ header_params = {}
542
+ header_params[:accept] = 'application/json'
543
+ header_params[:'content-type'] = 'application/json'
544
+ header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
545
+ header_params[:'if-match'] = opts[:if_match] if opts[:if_match]
546
+ header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token]
547
+ # rubocop:enable Style/NegatedIf
548
+ header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token
549
+
550
+ post_body = @api_client.object_to_http_body(change_software_source_compartment_details)
551
+
552
+ # rubocop:disable Metrics/BlockLength
553
+ OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'OsManagementClient#change_software_source_compartment') do
554
+ @api_client.call_api(
555
+ :POST,
556
+ path,
557
+ endpoint,
558
+ header_params: header_params,
559
+ query_params: query_params,
560
+ operation_signing_strategy: operation_signing_strategy,
561
+ body: post_body
562
+ )
563
+ end
564
+ # rubocop:enable Metrics/BlockLength
565
+ end
566
+ # rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
567
+ # rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
568
+ # rubocop:enable Metrics/MethodLength, Layout/EmptyLines
569
+
570
+ # rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
571
+ # rubocop:disable Style/IfUnlessModifier, Metrics/ParameterLists
572
+ # rubocop:disable Metrics/MethodLength, Layout/EmptyLines
573
+
574
+
575
+ # Creates a new Managed Instance Group on the management system.
576
+ # This will not contain any managed instances after it is first created,
577
+ # and they must be added later.
578
+ #
579
+ # @param [OCI::OsManagement::Models::CreateManagedInstanceGroupDetails] create_managed_instance_group_details Details about a Managed Instance Group to create
580
+ # @param [Hash] opts the optional parameters
581
+ # @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
582
+ # retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
583
+ # @option opts [String] :opc_request_id The client request ID for tracing.
584
+ # @option opts [String] :opc_retry_token A token that uniquely identifies a request so it can be retried in case of a timeout or
585
+ # server error without risk of executing that same action again. Retry tokens expire after 24
586
+ # hours, but can be invalidated before then due to conflicting operations. For example, if a resource
587
+ # has been deleted and purged from the system, then a retry of the original creation request
588
+ # might be rejected.
589
+ #
590
+ # @return [Response] A Response object with data of type {OCI::OsManagement::Models::ManagedInstanceGroup ManagedInstanceGroup}
591
+ # @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/osmanagement/create_managed_instance_group.rb.html) to see an example of how to use create_managed_instance_group API.
592
+ def create_managed_instance_group(create_managed_instance_group_details, opts = {})
593
+ logger.debug 'Calling operation OsManagementClient#create_managed_instance_group.' if logger
594
+
595
+ raise "Missing the required parameter 'create_managed_instance_group_details' when calling create_managed_instance_group." if create_managed_instance_group_details.nil?
596
+
597
+ path = '/managedInstanceGroups'
598
+ operation_signing_strategy = :standard
599
+
600
+ # rubocop:disable Style/NegatedIf
601
+ # Query Params
602
+ query_params = {}
603
+
604
+ # Header Params
605
+ header_params = {}
606
+ header_params[:accept] = 'application/json'
607
+ header_params[:'content-type'] = 'application/json'
608
+ header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
609
+ header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token]
610
+ # rubocop:enable Style/NegatedIf
611
+ header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token
612
+
613
+ post_body = @api_client.object_to_http_body(create_managed_instance_group_details)
614
+
615
+ # rubocop:disable Metrics/BlockLength
616
+ OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'OsManagementClient#create_managed_instance_group') do
617
+ @api_client.call_api(
618
+ :POST,
619
+ path,
620
+ endpoint,
621
+ header_params: header_params,
622
+ query_params: query_params,
623
+ operation_signing_strategy: operation_signing_strategy,
624
+ body: post_body,
625
+ return_type: 'OCI::OsManagement::Models::ManagedInstanceGroup'
626
+ )
627
+ end
628
+ # rubocop:enable Metrics/BlockLength
629
+ end
630
+ # rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
631
+ # rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
632
+ # rubocop:enable Metrics/MethodLength, Layout/EmptyLines
633
+
634
+ # rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
635
+ # rubocop:disable Style/IfUnlessModifier, Metrics/ParameterLists
636
+ # rubocop:disable Metrics/MethodLength, Layout/EmptyLines
637
+
638
+
639
+ # Creates a new Scheduled Job to perform a specific package operation on
640
+ # a set of managed instances or managed instance groups. Can be created
641
+ # as a one-time execution in the future, or as a recurring execution
642
+ # that repeats on a defined interval.
643
+ #
644
+ # @param [OCI::OsManagement::Models::CreateScheduledJobDetails] create_scheduled_job_details Details about a Scheduled Job to create
645
+ # @param [Hash] opts the optional parameters
646
+ # @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
647
+ # retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
648
+ # @option opts [String] :opc_request_id The client request ID for tracing.
649
+ # @option opts [String] :opc_retry_token A token that uniquely identifies a request so it can be retried in case of a timeout or
650
+ # server error without risk of executing that same action again. Retry tokens expire after 24
651
+ # hours, but can be invalidated before then due to conflicting operations. For example, if a resource
652
+ # has been deleted and purged from the system, then a retry of the original creation request
653
+ # might be rejected.
654
+ #
655
+ # @return [Response] A Response object with data of type {OCI::OsManagement::Models::ScheduledJob ScheduledJob}
656
+ # @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/osmanagement/create_scheduled_job.rb.html) to see an example of how to use create_scheduled_job API.
657
+ def create_scheduled_job(create_scheduled_job_details, opts = {})
658
+ logger.debug 'Calling operation OsManagementClient#create_scheduled_job.' if logger
659
+
660
+ raise "Missing the required parameter 'create_scheduled_job_details' when calling create_scheduled_job." if create_scheduled_job_details.nil?
661
+
662
+ path = '/scheduledJobs'
663
+ operation_signing_strategy = :standard
664
+
665
+ # rubocop:disable Style/NegatedIf
666
+ # Query Params
667
+ query_params = {}
668
+
669
+ # Header Params
670
+ header_params = {}
671
+ header_params[:accept] = 'application/json'
672
+ header_params[:'content-type'] = 'application/json'
673
+ header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
674
+ header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token]
675
+ # rubocop:enable Style/NegatedIf
676
+ header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token
677
+
678
+ post_body = @api_client.object_to_http_body(create_scheduled_job_details)
679
+
680
+ # rubocop:disable Metrics/BlockLength
681
+ OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'OsManagementClient#create_scheduled_job') do
682
+ @api_client.call_api(
683
+ :POST,
684
+ path,
685
+ endpoint,
686
+ header_params: header_params,
687
+ query_params: query_params,
688
+ operation_signing_strategy: operation_signing_strategy,
689
+ body: post_body,
690
+ return_type: 'OCI::OsManagement::Models::ScheduledJob'
691
+ )
692
+ end
693
+ # rubocop:enable Metrics/BlockLength
694
+ end
695
+ # rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
696
+ # rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
697
+ # rubocop:enable Metrics/MethodLength, Layout/EmptyLines
698
+
699
+ # rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
700
+ # rubocop:disable Style/IfUnlessModifier, Metrics/ParameterLists
701
+ # rubocop:disable Metrics/MethodLength, Layout/EmptyLines
702
+
703
+
704
+ # Creates a new custom Software Source on the management system.
705
+ # This will not contain any packages after it is first created,
706
+ # and they must be added later.
707
+ #
708
+ # @param [OCI::OsManagement::Models::CreateSoftwareSourceDetails] create_software_source_details Details about a Sofware Source to create
709
+ # @param [Hash] opts the optional parameters
710
+ # @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
711
+ # retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
712
+ # @option opts [String] :opc_request_id The client request ID for tracing.
713
+ # @option opts [String] :opc_retry_token A token that uniquely identifies a request so it can be retried in case of a timeout or
714
+ # server error without risk of executing that same action again. Retry tokens expire after 24
715
+ # hours, but can be invalidated before then due to conflicting operations. For example, if a resource
716
+ # has been deleted and purged from the system, then a retry of the original creation request
717
+ # might be rejected.
718
+ #
719
+ # @return [Response] A Response object with data of type {OCI::OsManagement::Models::SoftwareSource SoftwareSource}
720
+ # @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/osmanagement/create_software_source.rb.html) to see an example of how to use create_software_source API.
721
+ def create_software_source(create_software_source_details, opts = {})
722
+ logger.debug 'Calling operation OsManagementClient#create_software_source.' if logger
723
+
724
+ raise "Missing the required parameter 'create_software_source_details' when calling create_software_source." if create_software_source_details.nil?
725
+
726
+ path = '/softwareSources'
727
+ operation_signing_strategy = :standard
728
+
729
+ # rubocop:disable Style/NegatedIf
730
+ # Query Params
731
+ query_params = {}
732
+
733
+ # Header Params
734
+ header_params = {}
735
+ header_params[:accept] = 'application/json'
736
+ header_params[:'content-type'] = 'application/json'
737
+ header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
738
+ header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token]
739
+ # rubocop:enable Style/NegatedIf
740
+ header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token
741
+
742
+ post_body = @api_client.object_to_http_body(create_software_source_details)
743
+
744
+ # rubocop:disable Metrics/BlockLength
745
+ OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'OsManagementClient#create_software_source') do
746
+ @api_client.call_api(
747
+ :POST,
748
+ path,
749
+ endpoint,
750
+ header_params: header_params,
751
+ query_params: query_params,
752
+ operation_signing_strategy: operation_signing_strategy,
753
+ body: post_body,
754
+ return_type: 'OCI::OsManagement::Models::SoftwareSource'
755
+ )
756
+ end
757
+ # rubocop:enable Metrics/BlockLength
758
+ end
759
+ # rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
760
+ # rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
761
+ # rubocop:enable Metrics/MethodLength, Layout/EmptyLines
762
+
763
+ # rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
764
+ # rubocop:disable Style/IfUnlessModifier, Metrics/ParameterLists
765
+ # rubocop:disable Metrics/MethodLength, Layout/EmptyLines
766
+
767
+
768
+ # Deletes a Managed Instance Group from the management system
769
+ #
770
+ # @param [String] managed_instance_group_id OCID for the managed instance group
771
+ # @param [Hash] opts the optional parameters
772
+ # @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
773
+ # retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
774
+ # @option opts [String] :opc_request_id The client request ID for tracing.
775
+ # @option opts [String] :if_match For optimistic concurrency control. In the PUT or DELETE call
776
+ # for a resource, set the `if-match` parameter to the value of the
777
+ # etag from a previous GET or POST response for that resource.
778
+ # The resource will be updated or deleted only if the etag you
779
+ # provide matches the resource's current etag value.
780
+ #
781
+ # @return [Response] A Response object with data of type nil
782
+ # @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/osmanagement/delete_managed_instance_group.rb.html) to see an example of how to use delete_managed_instance_group API.
783
+ def delete_managed_instance_group(managed_instance_group_id, opts = {})
784
+ logger.debug 'Calling operation OsManagementClient#delete_managed_instance_group.' if logger
785
+
786
+ raise "Missing the required parameter 'managed_instance_group_id' when calling delete_managed_instance_group." if managed_instance_group_id.nil?
787
+ raise "Parameter value for 'managed_instance_group_id' must not be blank" if OCI::Internal::Util.blank_string?(managed_instance_group_id)
788
+
789
+ path = '/managedInstanceGroups/{managedInstanceGroupId}'.sub('{managedInstanceGroupId}', managed_instance_group_id.to_s)
790
+ operation_signing_strategy = :standard
791
+
792
+ # rubocop:disable Style/NegatedIf
793
+ # Query Params
794
+ query_params = {}
795
+
796
+ # Header Params
797
+ header_params = {}
798
+ header_params[:accept] = 'application/json'
799
+ header_params[:'content-type'] = 'application/json'
800
+ header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
801
+ header_params[:'if-match'] = opts[:if_match] if opts[:if_match]
802
+ # rubocop:enable Style/NegatedIf
803
+
804
+ post_body = nil
805
+
806
+ # rubocop:disable Metrics/BlockLength
807
+ OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'OsManagementClient#delete_managed_instance_group') do
808
+ @api_client.call_api(
809
+ :DELETE,
810
+ path,
811
+ endpoint,
812
+ header_params: header_params,
813
+ query_params: query_params,
814
+ operation_signing_strategy: operation_signing_strategy,
815
+ body: post_body
816
+ )
817
+ end
818
+ # rubocop:enable Metrics/BlockLength
819
+ end
820
+ # rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
821
+ # rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
822
+ # rubocop:enable Metrics/MethodLength, Layout/EmptyLines
823
+
824
+ # rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
825
+ # rubocop:disable Style/IfUnlessModifier, Metrics/ParameterLists
826
+ # rubocop:disable Metrics/MethodLength, Layout/EmptyLines
827
+
828
+
829
+ # Cancels an existing Scheduled Job on the management system
830
+ #
831
+ # @param [String] scheduled_job_id The ID of the scheduled job.
832
+ # @param [Hash] opts the optional parameters
833
+ # @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
834
+ # retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
835
+ # @option opts [String] :opc_request_id The client request ID for tracing.
836
+ # @option opts [String] :if_match For optimistic concurrency control. In the PUT or DELETE call
837
+ # for a resource, set the `if-match` parameter to the value of the
838
+ # etag from a previous GET or POST response for that resource.
839
+ # The resource will be updated or deleted only if the etag you
840
+ # provide matches the resource's current etag value.
841
+ #
842
+ # @return [Response] A Response object with data of type nil
843
+ # @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/osmanagement/delete_scheduled_job.rb.html) to see an example of how to use delete_scheduled_job API.
844
+ def delete_scheduled_job(scheduled_job_id, opts = {})
845
+ logger.debug 'Calling operation OsManagementClient#delete_scheduled_job.' if logger
846
+
847
+ raise "Missing the required parameter 'scheduled_job_id' when calling delete_scheduled_job." if scheduled_job_id.nil?
848
+ raise "Parameter value for 'scheduled_job_id' must not be blank" if OCI::Internal::Util.blank_string?(scheduled_job_id)
849
+
850
+ path = '/scheduledJobs/{scheduledJobId}'.sub('{scheduledJobId}', scheduled_job_id.to_s)
851
+ operation_signing_strategy = :standard
852
+
853
+ # rubocop:disable Style/NegatedIf
854
+ # Query Params
855
+ query_params = {}
856
+
857
+ # Header Params
858
+ header_params = {}
859
+ header_params[:accept] = 'application/json'
860
+ header_params[:'content-type'] = 'application/json'
861
+ header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
862
+ header_params[:'if-match'] = opts[:if_match] if opts[:if_match]
863
+ # rubocop:enable Style/NegatedIf
864
+
865
+ post_body = nil
866
+
867
+ # rubocop:disable Metrics/BlockLength
868
+ OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'OsManagementClient#delete_scheduled_job') do
869
+ @api_client.call_api(
870
+ :DELETE,
871
+ path,
872
+ endpoint,
873
+ header_params: header_params,
874
+ query_params: query_params,
875
+ operation_signing_strategy: operation_signing_strategy,
876
+ body: post_body
877
+ )
878
+ end
879
+ # rubocop:enable Metrics/BlockLength
880
+ end
881
+ # rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
882
+ # rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
883
+ # rubocop:enable Metrics/MethodLength, Layout/EmptyLines
884
+
885
+ # rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
886
+ # rubocop:disable Style/IfUnlessModifier, Metrics/ParameterLists
887
+ # rubocop:disable Metrics/MethodLength, Layout/EmptyLines
888
+
889
+
890
+ # Deletes a custom Software Source on the management system
891
+ #
892
+ # @param [String] software_source_id The OCID of the software source.
893
+ # @param [Hash] opts the optional parameters
894
+ # @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
895
+ # retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
896
+ # @option opts [String] :opc_request_id The client request ID for tracing.
897
+ # @option opts [String] :if_match For optimistic concurrency control. In the PUT or DELETE call
898
+ # for a resource, set the `if-match` parameter to the value of the
899
+ # etag from a previous GET or POST response for that resource.
900
+ # The resource will be updated or deleted only if the etag you
901
+ # provide matches the resource's current etag value.
902
+ #
903
+ # @return [Response] A Response object with data of type nil
904
+ # @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/osmanagement/delete_software_source.rb.html) to see an example of how to use delete_software_source API.
905
+ def delete_software_source(software_source_id, opts = {})
906
+ logger.debug 'Calling operation OsManagementClient#delete_software_source.' if logger
907
+
908
+ raise "Missing the required parameter 'software_source_id' when calling delete_software_source." if software_source_id.nil?
909
+ raise "Parameter value for 'software_source_id' must not be blank" if OCI::Internal::Util.blank_string?(software_source_id)
910
+
911
+ path = '/softwareSources/{softwareSourceId}'.sub('{softwareSourceId}', software_source_id.to_s)
912
+ operation_signing_strategy = :standard
913
+
914
+ # rubocop:disable Style/NegatedIf
915
+ # Query Params
916
+ query_params = {}
917
+
918
+ # Header Params
919
+ header_params = {}
920
+ header_params[:accept] = 'application/json'
921
+ header_params[:'content-type'] = 'application/json'
922
+ header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
923
+ header_params[:'if-match'] = opts[:if_match] if opts[:if_match]
924
+ # rubocop:enable Style/NegatedIf
925
+
926
+ post_body = nil
927
+
928
+ # rubocop:disable Metrics/BlockLength
929
+ OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'OsManagementClient#delete_software_source') do
930
+ @api_client.call_api(
931
+ :DELETE,
932
+ path,
933
+ endpoint,
934
+ header_params: header_params,
935
+ query_params: query_params,
936
+ operation_signing_strategy: operation_signing_strategy,
937
+ body: post_body
938
+ )
939
+ end
940
+ # rubocop:enable Metrics/BlockLength
941
+ end
942
+ # rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
943
+ # rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
944
+ # rubocop:enable Metrics/MethodLength, Layout/EmptyLines
945
+
946
+ # rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
947
+ # rubocop:disable Style/IfUnlessModifier, Metrics/ParameterLists
948
+ # rubocop:disable Metrics/MethodLength, Layout/EmptyLines
949
+
950
+
951
+ # Removes a child software source from a managed instance. Packages will no longer be able to be
952
+ # installed from these software sources.
953
+ #
954
+ # @param [String] managed_instance_id OCID for the managed instance
955
+ # @param [OCI::OsManagement::Models::DetachChildSoftwareSourceFromManagedInstanceDetails] detach_child_software_source_from_managed_instance_details Details for detaching a Software Source from a Managed Instance
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] :opc_request_id The client request ID for tracing.
960
+ # @option opts [String] :opc_retry_token A token that uniquely identifies a request so it can be retried in case of a timeout or
961
+ # server error without risk of executing that same action again. Retry tokens expire after 24
962
+ # hours, but can be invalidated before then due to conflicting operations. For example, if a resource
963
+ # has been deleted and purged from the system, then a retry of the original creation request
964
+ # might be rejected.
965
+ #
966
+ # @return [Response] A Response object with data of type nil
967
+ # @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/osmanagement/detach_child_software_source_from_managed_instance.rb.html) to see an example of how to use detach_child_software_source_from_managed_instance API.
968
+ def detach_child_software_source_from_managed_instance(managed_instance_id, detach_child_software_source_from_managed_instance_details, opts = {})
969
+ logger.debug 'Calling operation OsManagementClient#detach_child_software_source_from_managed_instance.' if logger
970
+
971
+ raise "Missing the required parameter 'managed_instance_id' when calling detach_child_software_source_from_managed_instance." if managed_instance_id.nil?
972
+ raise "Missing the required parameter 'detach_child_software_source_from_managed_instance_details' when calling detach_child_software_source_from_managed_instance." if detach_child_software_source_from_managed_instance_details.nil?
973
+ raise "Parameter value for 'managed_instance_id' must not be blank" if OCI::Internal::Util.blank_string?(managed_instance_id)
974
+
975
+ path = '/managedInstances/{managedInstanceId}/actions/detachChildSoftwareSource'.sub('{managedInstanceId}', managed_instance_id.to_s)
976
+ operation_signing_strategy = :standard
977
+
978
+ # rubocop:disable Style/NegatedIf
979
+ # Query Params
980
+ query_params = {}
981
+
982
+ # Header Params
983
+ header_params = {}
984
+ header_params[:accept] = 'application/json'
985
+ header_params[:'content-type'] = 'application/json'
986
+ header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
987
+ header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token]
988
+ # rubocop:enable Style/NegatedIf
989
+ header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token
990
+
991
+ post_body = @api_client.object_to_http_body(detach_child_software_source_from_managed_instance_details)
992
+
993
+ # rubocop:disable Metrics/BlockLength
994
+ OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'OsManagementClient#detach_child_software_source_from_managed_instance') do
995
+ @api_client.call_api(
996
+ :POST,
997
+ path,
998
+ endpoint,
999
+ header_params: header_params,
1000
+ query_params: query_params,
1001
+ operation_signing_strategy: operation_signing_strategy,
1002
+ body: post_body
1003
+ )
1004
+ end
1005
+ # rubocop:enable Metrics/BlockLength
1006
+ end
1007
+ # rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
1008
+ # rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
1009
+ # rubocop:enable Metrics/MethodLength, Layout/EmptyLines
1010
+
1011
+ # rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
1012
+ # rubocop:disable Style/IfUnlessModifier, Metrics/ParameterLists
1013
+ # rubocop:disable Metrics/MethodLength, Layout/EmptyLines
1014
+
1015
+
1016
+ # Removes a Managed Instance from a Managed Instance Group.
1017
+ #
1018
+ # @param [String] managed_instance_group_id OCID for the managed instance group
1019
+ # @param [String] managed_instance_id OCID for the managed instance
1020
+ # @param [Hash] opts the optional parameters
1021
+ # @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
1022
+ # retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
1023
+ # @option opts [String] :opc_request_id The client request ID for tracing.
1024
+ # @option opts [String] :opc_retry_token A token that uniquely identifies a request so it can be retried in case of a timeout or
1025
+ # server error without risk of executing that same action again. Retry tokens expire after 24
1026
+ # hours, but can be invalidated before then due to conflicting operations. For example, if a resource
1027
+ # has been deleted and purged from the system, then a retry of the original creation request
1028
+ # might be rejected.
1029
+ #
1030
+ # @return [Response] A Response object with data of type nil
1031
+ # @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/osmanagement/detach_managed_instance_from_managed_instance_group.rb.html) to see an example of how to use detach_managed_instance_from_managed_instance_group API.
1032
+ def detach_managed_instance_from_managed_instance_group(managed_instance_group_id, managed_instance_id, opts = {})
1033
+ logger.debug 'Calling operation OsManagementClient#detach_managed_instance_from_managed_instance_group.' if logger
1034
+
1035
+ raise "Missing the required parameter 'managed_instance_group_id' when calling detach_managed_instance_from_managed_instance_group." if managed_instance_group_id.nil?
1036
+ raise "Missing the required parameter 'managed_instance_id' when calling detach_managed_instance_from_managed_instance_group." if managed_instance_id.nil?
1037
+ raise "Parameter value for 'managed_instance_group_id' must not be blank" if OCI::Internal::Util.blank_string?(managed_instance_group_id)
1038
+
1039
+ path = '/managedInstanceGroups/{managedInstanceGroupId}/actions/detachManagedInstance'.sub('{managedInstanceGroupId}', managed_instance_group_id.to_s)
1040
+ operation_signing_strategy = :standard
1041
+
1042
+ # rubocop:disable Style/NegatedIf
1043
+ # Query Params
1044
+ query_params = {}
1045
+ query_params[:managedInstanceId] = managed_instance_id
1046
+
1047
+ # Header Params
1048
+ header_params = {}
1049
+ header_params[:accept] = 'application/json'
1050
+ header_params[:'content-type'] = 'application/json'
1051
+ header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
1052
+ header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token]
1053
+ # rubocop:enable Style/NegatedIf
1054
+ header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token
1055
+
1056
+ post_body = nil
1057
+
1058
+ # rubocop:disable Metrics/BlockLength
1059
+ OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'OsManagementClient#detach_managed_instance_from_managed_instance_group') do
1060
+ @api_client.call_api(
1061
+ :POST,
1062
+ path,
1063
+ endpoint,
1064
+ header_params: header_params,
1065
+ query_params: query_params,
1066
+ operation_signing_strategy: operation_signing_strategy,
1067
+ body: post_body
1068
+ )
1069
+ end
1070
+ # rubocop:enable Metrics/BlockLength
1071
+ end
1072
+ # rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
1073
+ # rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
1074
+ # rubocop:enable Metrics/MethodLength, Layout/EmptyLines
1075
+
1076
+ # rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
1077
+ # rubocop:disable Style/IfUnlessModifier, Metrics/ParameterLists
1078
+ # rubocop:disable Metrics/MethodLength, Layout/EmptyLines
1079
+
1080
+
1081
+ # Removes a software source from a managed instance. All child software sources will also be removed
1082
+ # from the managed instance. Packages will no longer be able to be installed from these software sources.
1083
+ #
1084
+ # @param [String] managed_instance_id OCID for the managed instance
1085
+ # @param [OCI::OsManagement::Models::DetachParentSoftwareSourceFromManagedInstanceDetails] detach_parent_software_source_from_managed_instance_details Details for detaching a Software Source from a Managed Instance
1086
+ # @param [Hash] opts the optional parameters
1087
+ # @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
1088
+ # retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
1089
+ # @option opts [String] :opc_request_id The client request ID for tracing.
1090
+ # @option opts [String] :opc_retry_token A token that uniquely identifies a request so it can be retried in case of a timeout or
1091
+ # server error without risk of executing that same action again. Retry tokens expire after 24
1092
+ # hours, but can be invalidated before then due to conflicting operations. For example, if a resource
1093
+ # has been deleted and purged from the system, then a retry of the original creation request
1094
+ # might be rejected.
1095
+ #
1096
+ # @return [Response] A Response object with data of type nil
1097
+ # @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/osmanagement/detach_parent_software_source_from_managed_instance.rb.html) to see an example of how to use detach_parent_software_source_from_managed_instance API.
1098
+ def detach_parent_software_source_from_managed_instance(managed_instance_id, detach_parent_software_source_from_managed_instance_details, opts = {})
1099
+ logger.debug 'Calling operation OsManagementClient#detach_parent_software_source_from_managed_instance.' if logger
1100
+
1101
+ raise "Missing the required parameter 'managed_instance_id' when calling detach_parent_software_source_from_managed_instance." if managed_instance_id.nil?
1102
+ raise "Missing the required parameter 'detach_parent_software_source_from_managed_instance_details' when calling detach_parent_software_source_from_managed_instance." if detach_parent_software_source_from_managed_instance_details.nil?
1103
+ raise "Parameter value for 'managed_instance_id' must not be blank" if OCI::Internal::Util.blank_string?(managed_instance_id)
1104
+
1105
+ path = '/managedInstances/{managedInstanceId}/actions/detachParentSoftwareSource'.sub('{managedInstanceId}', managed_instance_id.to_s)
1106
+ operation_signing_strategy = :standard
1107
+
1108
+ # rubocop:disable Style/NegatedIf
1109
+ # Query Params
1110
+ query_params = {}
1111
+
1112
+ # Header Params
1113
+ header_params = {}
1114
+ header_params[:accept] = 'application/json'
1115
+ header_params[:'content-type'] = 'application/json'
1116
+ header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
1117
+ header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token]
1118
+ # rubocop:enable Style/NegatedIf
1119
+ header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token
1120
+
1121
+ post_body = @api_client.object_to_http_body(detach_parent_software_source_from_managed_instance_details)
1122
+
1123
+ # rubocop:disable Metrics/BlockLength
1124
+ OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'OsManagementClient#detach_parent_software_source_from_managed_instance') do
1125
+ @api_client.call_api(
1126
+ :POST,
1127
+ path,
1128
+ endpoint,
1129
+ header_params: header_params,
1130
+ query_params: query_params,
1131
+ operation_signing_strategy: operation_signing_strategy,
1132
+ body: post_body
1133
+ )
1134
+ end
1135
+ # rubocop:enable Metrics/BlockLength
1136
+ end
1137
+ # rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
1138
+ # rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
1139
+ # rubocop:enable Metrics/MethodLength, Layout/EmptyLines
1140
+
1141
+ # rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
1142
+ # rubocop:disable Style/IfUnlessModifier, Metrics/ParameterLists
1143
+ # rubocop:disable Metrics/MethodLength, Layout/EmptyLines
1144
+
1145
+
1146
+ # Returns a specific erratum.
1147
+ #
1148
+ # @param [String] erratum_id The OCID of the erratum.
1149
+ # @param [Hash] opts the optional parameters
1150
+ # @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
1151
+ # retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
1152
+ # @option opts [String] :opc_request_id The client request ID for tracing.
1153
+ # @return [Response] A Response object with data of type {OCI::OsManagement::Models::Erratum Erratum}
1154
+ # @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/osmanagement/get_erratum.rb.html) to see an example of how to use get_erratum API.
1155
+ def get_erratum(erratum_id, opts = {})
1156
+ logger.debug 'Calling operation OsManagementClient#get_erratum.' if logger
1157
+
1158
+ raise "Missing the required parameter 'erratum_id' when calling get_erratum." if erratum_id.nil?
1159
+ raise "Parameter value for 'erratum_id' must not be blank" if OCI::Internal::Util.blank_string?(erratum_id)
1160
+
1161
+ path = '/errata/{erratumId}'.sub('{erratumId}', erratum_id.to_s)
1162
+ operation_signing_strategy = :standard
1163
+
1164
+ # rubocop:disable Style/NegatedIf
1165
+ # Query Params
1166
+ query_params = {}
1167
+
1168
+ # Header Params
1169
+ header_params = {}
1170
+ header_params[:accept] = 'application/json'
1171
+ header_params[:'content-type'] = 'application/json'
1172
+ header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
1173
+ # rubocop:enable Style/NegatedIf
1174
+
1175
+ post_body = nil
1176
+
1177
+ # rubocop:disable Metrics/BlockLength
1178
+ OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'OsManagementClient#get_erratum') do
1179
+ @api_client.call_api(
1180
+ :GET,
1181
+ path,
1182
+ endpoint,
1183
+ header_params: header_params,
1184
+ query_params: query_params,
1185
+ operation_signing_strategy: operation_signing_strategy,
1186
+ body: post_body,
1187
+ return_type: 'OCI::OsManagement::Models::Erratum'
1188
+ )
1189
+ end
1190
+ # rubocop:enable Metrics/BlockLength
1191
+ end
1192
+ # rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
1193
+ # rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
1194
+ # rubocop:enable Metrics/MethodLength, Layout/EmptyLines
1195
+
1196
+ # rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
1197
+ # rubocop:disable Style/IfUnlessModifier, Metrics/ParameterLists
1198
+ # rubocop:disable Metrics/MethodLength, Layout/EmptyLines
1199
+
1200
+
1201
+ # Returns a specific Managed Instance.
1202
+ #
1203
+ # @param [String] managed_instance_id OCID for the managed instance
1204
+ # @param [Hash] opts the optional parameters
1205
+ # @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
1206
+ # retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
1207
+ # @option opts [String] :opc_request_id The client request ID for tracing.
1208
+ # @return [Response] A Response object with data of type {OCI::OsManagement::Models::ManagedInstance ManagedInstance}
1209
+ # @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/osmanagement/get_managed_instance.rb.html) to see an example of how to use get_managed_instance API.
1210
+ def get_managed_instance(managed_instance_id, opts = {})
1211
+ logger.debug 'Calling operation OsManagementClient#get_managed_instance.' if logger
1212
+
1213
+ raise "Missing the required parameter 'managed_instance_id' when calling get_managed_instance." if managed_instance_id.nil?
1214
+ raise "Parameter value for 'managed_instance_id' must not be blank" if OCI::Internal::Util.blank_string?(managed_instance_id)
1215
+
1216
+ path = '/managedInstances/{managedInstanceId}'.sub('{managedInstanceId}', managed_instance_id.to_s)
1217
+ operation_signing_strategy = :standard
1218
+
1219
+ # rubocop:disable Style/NegatedIf
1220
+ # Query Params
1221
+ query_params = {}
1222
+
1223
+ # Header Params
1224
+ header_params = {}
1225
+ header_params[:accept] = 'application/json'
1226
+ header_params[:'content-type'] = 'application/json'
1227
+ header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
1228
+ # rubocop:enable Style/NegatedIf
1229
+
1230
+ post_body = nil
1231
+
1232
+ # rubocop:disable Metrics/BlockLength
1233
+ OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'OsManagementClient#get_managed_instance') do
1234
+ @api_client.call_api(
1235
+ :GET,
1236
+ path,
1237
+ endpoint,
1238
+ header_params: header_params,
1239
+ query_params: query_params,
1240
+ operation_signing_strategy: operation_signing_strategy,
1241
+ body: post_body,
1242
+ return_type: 'OCI::OsManagement::Models::ManagedInstance'
1243
+ )
1244
+ end
1245
+ # rubocop:enable Metrics/BlockLength
1246
+ end
1247
+ # rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
1248
+ # rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
1249
+ # rubocop:enable Metrics/MethodLength, Layout/EmptyLines
1250
+
1251
+ # rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
1252
+ # rubocop:disable Style/IfUnlessModifier, Metrics/ParameterLists
1253
+ # rubocop:disable Metrics/MethodLength, Layout/EmptyLines
1254
+
1255
+
1256
+ # Returns a specific Managed Instance Group.
1257
+ #
1258
+ # @param [String] managed_instance_group_id OCID for the managed instance group
1259
+ # @param [Hash] opts the optional parameters
1260
+ # @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
1261
+ # retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
1262
+ # @option opts [String] :opc_request_id The client request ID for tracing.
1263
+ # @return [Response] A Response object with data of type {OCI::OsManagement::Models::ManagedInstanceGroup ManagedInstanceGroup}
1264
+ # @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/osmanagement/get_managed_instance_group.rb.html) to see an example of how to use get_managed_instance_group API.
1265
+ def get_managed_instance_group(managed_instance_group_id, opts = {})
1266
+ logger.debug 'Calling operation OsManagementClient#get_managed_instance_group.' if logger
1267
+
1268
+ raise "Missing the required parameter 'managed_instance_group_id' when calling get_managed_instance_group." if managed_instance_group_id.nil?
1269
+ raise "Parameter value for 'managed_instance_group_id' must not be blank" if OCI::Internal::Util.blank_string?(managed_instance_group_id)
1270
+
1271
+ path = '/managedInstanceGroups/{managedInstanceGroupId}'.sub('{managedInstanceGroupId}', managed_instance_group_id.to_s)
1272
+ operation_signing_strategy = :standard
1273
+
1274
+ # rubocop:disable Style/NegatedIf
1275
+ # Query Params
1276
+ query_params = {}
1277
+
1278
+ # Header Params
1279
+ header_params = {}
1280
+ header_params[:accept] = 'application/json'
1281
+ header_params[:'content-type'] = 'application/json'
1282
+ header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
1283
+ # rubocop:enable Style/NegatedIf
1284
+
1285
+ post_body = nil
1286
+
1287
+ # rubocop:disable Metrics/BlockLength
1288
+ OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'OsManagementClient#get_managed_instance_group') do
1289
+ @api_client.call_api(
1290
+ :GET,
1291
+ path,
1292
+ endpoint,
1293
+ header_params: header_params,
1294
+ query_params: query_params,
1295
+ operation_signing_strategy: operation_signing_strategy,
1296
+ body: post_body,
1297
+ return_type: 'OCI::OsManagement::Models::ManagedInstanceGroup'
1298
+ )
1299
+ end
1300
+ # rubocop:enable Metrics/BlockLength
1301
+ end
1302
+ # rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
1303
+ # rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
1304
+ # rubocop:enable Metrics/MethodLength, Layout/EmptyLines
1305
+
1306
+ # rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
1307
+ # rubocop:disable Style/IfUnlessModifier, Metrics/ParameterLists
1308
+ # rubocop:disable Metrics/MethodLength, Layout/EmptyLines
1309
+
1310
+
1311
+ # Gets the detailed information for the Scheduled Job with the given ID.
1312
+ #
1313
+ # @param [String] scheduled_job_id The ID of the scheduled job.
1314
+ # @param [Hash] opts the optional parameters
1315
+ # @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
1316
+ # retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
1317
+ # @option opts [String] :opc_request_id The client request ID for tracing.
1318
+ # @return [Response] A Response object with data of type {OCI::OsManagement::Models::ScheduledJob ScheduledJob}
1319
+ # @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/osmanagement/get_scheduled_job.rb.html) to see an example of how to use get_scheduled_job API.
1320
+ def get_scheduled_job(scheduled_job_id, opts = {})
1321
+ logger.debug 'Calling operation OsManagementClient#get_scheduled_job.' if logger
1322
+
1323
+ raise "Missing the required parameter 'scheduled_job_id' when calling get_scheduled_job." if scheduled_job_id.nil?
1324
+ raise "Parameter value for 'scheduled_job_id' must not be blank" if OCI::Internal::Util.blank_string?(scheduled_job_id)
1325
+
1326
+ path = '/scheduledJobs/{scheduledJobId}'.sub('{scheduledJobId}', scheduled_job_id.to_s)
1327
+ operation_signing_strategy = :standard
1328
+
1329
+ # rubocop:disable Style/NegatedIf
1330
+ # Query Params
1331
+ query_params = {}
1332
+
1333
+ # Header Params
1334
+ header_params = {}
1335
+ header_params[:accept] = 'application/json'
1336
+ header_params[:'content-type'] = 'application/json'
1337
+ header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
1338
+ # rubocop:enable Style/NegatedIf
1339
+
1340
+ post_body = nil
1341
+
1342
+ # rubocop:disable Metrics/BlockLength
1343
+ OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'OsManagementClient#get_scheduled_job') do
1344
+ @api_client.call_api(
1345
+ :GET,
1346
+ path,
1347
+ endpoint,
1348
+ header_params: header_params,
1349
+ query_params: query_params,
1350
+ operation_signing_strategy: operation_signing_strategy,
1351
+ body: post_body,
1352
+ return_type: 'OCI::OsManagement::Models::ScheduledJob'
1353
+ )
1354
+ end
1355
+ # rubocop:enable Metrics/BlockLength
1356
+ end
1357
+ # rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
1358
+ # rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
1359
+ # rubocop:enable Metrics/MethodLength, Layout/EmptyLines
1360
+
1361
+ # rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
1362
+ # rubocop:disable Style/IfUnlessModifier, Metrics/ParameterLists
1363
+ # rubocop:disable Metrics/MethodLength, Layout/EmptyLines
1364
+
1365
+
1366
+ # Returns a specific Software Package.
1367
+ #
1368
+ # @param [String] software_source_id The OCID of the software source.
1369
+ # @param [String] software_package_name The id of the software package.
1370
+ # @param [Hash] opts the optional parameters
1371
+ # @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
1372
+ # retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
1373
+ # @option opts [String] :opc_request_id The client request ID for tracing.
1374
+ # @return [Response] A Response object with data of type {OCI::OsManagement::Models::SoftwarePackage SoftwarePackage}
1375
+ # @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/osmanagement/get_software_package.rb.html) to see an example of how to use get_software_package API.
1376
+ def get_software_package(software_source_id, software_package_name, opts = {})
1377
+ logger.debug 'Calling operation OsManagementClient#get_software_package.' if logger
1378
+
1379
+ raise "Missing the required parameter 'software_source_id' when calling get_software_package." if software_source_id.nil?
1380
+ raise "Missing the required parameter 'software_package_name' when calling get_software_package." if software_package_name.nil?
1381
+ raise "Parameter value for 'software_source_id' must not be blank" if OCI::Internal::Util.blank_string?(software_source_id)
1382
+ raise "Parameter value for 'software_package_name' must not be blank" if OCI::Internal::Util.blank_string?(software_package_name)
1383
+
1384
+ path = '/softwareSources/{softwareSourceId}/softwarePackages/{softwarePackageName}'.sub('{softwareSourceId}', software_source_id.to_s).sub('{softwarePackageName}', software_package_name.to_s)
1385
+ operation_signing_strategy = :standard
1386
+
1387
+ # rubocop:disable Style/NegatedIf
1388
+ # Query Params
1389
+ query_params = {}
1390
+
1391
+ # Header Params
1392
+ header_params = {}
1393
+ header_params[:accept] = 'application/json'
1394
+ header_params[:'content-type'] = 'application/json'
1395
+ header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
1396
+ # rubocop:enable Style/NegatedIf
1397
+
1398
+ post_body = nil
1399
+
1400
+ # rubocop:disable Metrics/BlockLength
1401
+ OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'OsManagementClient#get_software_package') do
1402
+ @api_client.call_api(
1403
+ :GET,
1404
+ path,
1405
+ endpoint,
1406
+ header_params: header_params,
1407
+ query_params: query_params,
1408
+ operation_signing_strategy: operation_signing_strategy,
1409
+ body: post_body,
1410
+ return_type: 'OCI::OsManagement::Models::SoftwarePackage'
1411
+ )
1412
+ end
1413
+ # rubocop:enable Metrics/BlockLength
1414
+ end
1415
+ # rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
1416
+ # rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
1417
+ # rubocop:enable Metrics/MethodLength, Layout/EmptyLines
1418
+
1419
+ # rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
1420
+ # rubocop:disable Style/IfUnlessModifier, Metrics/ParameterLists
1421
+ # rubocop:disable Metrics/MethodLength, Layout/EmptyLines
1422
+
1423
+
1424
+ # Returns a specific Software Source.
1425
+ #
1426
+ # @param [String] software_source_id The OCID of the software source.
1427
+ # @param [Hash] opts the optional parameters
1428
+ # @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
1429
+ # retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
1430
+ # @option opts [String] :opc_request_id The client request ID for tracing.
1431
+ # @return [Response] A Response object with data of type {OCI::OsManagement::Models::SoftwareSource SoftwareSource}
1432
+ # @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/osmanagement/get_software_source.rb.html) to see an example of how to use get_software_source API.
1433
+ def get_software_source(software_source_id, opts = {})
1434
+ logger.debug 'Calling operation OsManagementClient#get_software_source.' if logger
1435
+
1436
+ raise "Missing the required parameter 'software_source_id' when calling get_software_source." if software_source_id.nil?
1437
+ raise "Parameter value for 'software_source_id' must not be blank" if OCI::Internal::Util.blank_string?(software_source_id)
1438
+
1439
+ path = '/softwareSources/{softwareSourceId}'.sub('{softwareSourceId}', software_source_id.to_s)
1440
+ operation_signing_strategy = :standard
1441
+
1442
+ # rubocop:disable Style/NegatedIf
1443
+ # Query Params
1444
+ query_params = {}
1445
+
1446
+ # Header Params
1447
+ header_params = {}
1448
+ header_params[:accept] = 'application/json'
1449
+ header_params[:'content-type'] = 'application/json'
1450
+ header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
1451
+ # rubocop:enable Style/NegatedIf
1452
+
1453
+ post_body = nil
1454
+
1455
+ # rubocop:disable Metrics/BlockLength
1456
+ OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'OsManagementClient#get_software_source') do
1457
+ @api_client.call_api(
1458
+ :GET,
1459
+ path,
1460
+ endpoint,
1461
+ header_params: header_params,
1462
+ query_params: query_params,
1463
+ operation_signing_strategy: operation_signing_strategy,
1464
+ body: post_body,
1465
+ return_type: 'OCI::OsManagement::Models::SoftwareSource'
1466
+ )
1467
+ end
1468
+ # rubocop:enable Metrics/BlockLength
1469
+ end
1470
+ # rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
1471
+ # rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
1472
+ # rubocop:enable Metrics/MethodLength, Layout/EmptyLines
1473
+
1474
+ # rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
1475
+ # rubocop:disable Style/IfUnlessModifier, Metrics/ParameterLists
1476
+ # rubocop:disable Metrics/MethodLength, Layout/EmptyLines
1477
+
1478
+
1479
+ # Returns a Windows Update object.
1480
+ #
1481
+ # @param [String] windows_update The Windows Update
1482
+ # @param [Hash] opts the optional parameters
1483
+ # @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
1484
+ # retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
1485
+ # @option opts [String] :opc_request_id The client request ID for tracing.
1486
+ # @return [Response] A Response object with data of type {OCI::OsManagement::Models::WindowsUpdate WindowsUpdate}
1487
+ # @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/osmanagement/get_windows_update.rb.html) to see an example of how to use get_windows_update API.
1488
+ def get_windows_update(windows_update, opts = {})
1489
+ logger.debug 'Calling operation OsManagementClient#get_windows_update.' if logger
1490
+
1491
+ raise "Missing the required parameter 'windows_update' when calling get_windows_update." if windows_update.nil?
1492
+ raise "Parameter value for 'windows_update' must not be blank" if OCI::Internal::Util.blank_string?(windows_update)
1493
+
1494
+ path = '/updates/{windowsUpdate}'.sub('{windowsUpdate}', windows_update.to_s)
1495
+ operation_signing_strategy = :standard
1496
+
1497
+ # rubocop:disable Style/NegatedIf
1498
+ # Query Params
1499
+ query_params = {}
1500
+
1501
+ # Header Params
1502
+ header_params = {}
1503
+ header_params[:accept] = 'application/json'
1504
+ header_params[:'content-type'] = 'application/json'
1505
+ header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
1506
+ # rubocop:enable Style/NegatedIf
1507
+
1508
+ post_body = nil
1509
+
1510
+ # rubocop:disable Metrics/BlockLength
1511
+ OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'OsManagementClient#get_windows_update') do
1512
+ @api_client.call_api(
1513
+ :GET,
1514
+ path,
1515
+ endpoint,
1516
+ header_params: header_params,
1517
+ query_params: query_params,
1518
+ operation_signing_strategy: operation_signing_strategy,
1519
+ body: post_body,
1520
+ return_type: 'OCI::OsManagement::Models::WindowsUpdate'
1521
+ )
1522
+ end
1523
+ # rubocop:enable Metrics/BlockLength
1524
+ end
1525
+ # rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
1526
+ # rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
1527
+ # rubocop:enable Metrics/MethodLength, Layout/EmptyLines
1528
+
1529
+ # rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
1530
+ # rubocop:disable Style/IfUnlessModifier, Metrics/ParameterLists
1531
+ # rubocop:disable Metrics/MethodLength, Layout/EmptyLines
1532
+
1533
+
1534
+ # Gets the detailed information for the work request with the given ID.
1535
+ # @param [String] work_request_id The ID of the asynchronous request.
1536
+ # @param [Hash] opts the optional parameters
1537
+ # @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
1538
+ # retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
1539
+ # @option opts [String] :opc_request_id The client request ID for tracing.
1540
+ # @return [Response] A Response object with data of type {OCI::OsManagement::Models::WorkRequest WorkRequest}
1541
+ # @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/osmanagement/get_work_request.rb.html) to see an example of how to use get_work_request API.
1542
+ def get_work_request(work_request_id, opts = {})
1543
+ logger.debug 'Calling operation OsManagementClient#get_work_request.' if logger
1544
+
1545
+ raise "Missing the required parameter 'work_request_id' when calling get_work_request." if work_request_id.nil?
1546
+ raise "Parameter value for 'work_request_id' must not be blank" if OCI::Internal::Util.blank_string?(work_request_id)
1547
+
1548
+ path = '/workRequests/{workRequestId}'.sub('{workRequestId}', work_request_id.to_s)
1549
+ operation_signing_strategy = :standard
1550
+
1551
+ # rubocop:disable Style/NegatedIf
1552
+ # Query Params
1553
+ query_params = {}
1554
+
1555
+ # Header Params
1556
+ header_params = {}
1557
+ header_params[:accept] = 'application/json'
1558
+ header_params[:'content-type'] = 'application/json'
1559
+ header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
1560
+ # rubocop:enable Style/NegatedIf
1561
+
1562
+ post_body = nil
1563
+
1564
+ # rubocop:disable Metrics/BlockLength
1565
+ OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'OsManagementClient#get_work_request') do
1566
+ @api_client.call_api(
1567
+ :GET,
1568
+ path,
1569
+ endpoint,
1570
+ header_params: header_params,
1571
+ query_params: query_params,
1572
+ operation_signing_strategy: operation_signing_strategy,
1573
+ body: post_body,
1574
+ return_type: 'OCI::OsManagement::Models::WorkRequest'
1575
+ )
1576
+ end
1577
+ # rubocop:enable Metrics/BlockLength
1578
+ end
1579
+ # rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
1580
+ # rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
1581
+ # rubocop:enable Metrics/MethodLength, Layout/EmptyLines
1582
+
1583
+ # rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
1584
+ # rubocop:disable Style/IfUnlessModifier, Metrics/ParameterLists
1585
+ # rubocop:disable Metrics/MethodLength, Layout/EmptyLines
1586
+
1587
+
1588
+ # Install all of the available package updates for the managed instance.
1589
+ #
1590
+ # @param [String] managed_instance_id OCID for the managed instance
1591
+ # @param [Hash] opts the optional parameters
1592
+ # @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
1593
+ # retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
1594
+ # @option opts [String] :opc_request_id The client request ID for tracing.
1595
+ # @option opts [String] :opc_retry_token A token that uniquely identifies a request so it can be retried in case of a timeout or
1596
+ # server error without risk of executing that same action again. Retry tokens expire after 24
1597
+ # hours, but can be invalidated before then due to conflicting operations. For example, if a resource
1598
+ # has been deleted and purged from the system, then a retry of the original creation request
1599
+ # might be rejected.
1600
+ #
1601
+ # @return [Response] A Response object with data of type nil
1602
+ # @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/osmanagement/install_all_package_updates_on_managed_instance.rb.html) to see an example of how to use install_all_package_updates_on_managed_instance API.
1603
+ def install_all_package_updates_on_managed_instance(managed_instance_id, opts = {})
1604
+ logger.debug 'Calling operation OsManagementClient#install_all_package_updates_on_managed_instance.' if logger
1605
+
1606
+ raise "Missing the required parameter 'managed_instance_id' when calling install_all_package_updates_on_managed_instance." if managed_instance_id.nil?
1607
+ raise "Parameter value for 'managed_instance_id' must not be blank" if OCI::Internal::Util.blank_string?(managed_instance_id)
1608
+
1609
+ path = '/managedInstances/{managedInstanceId}/actions/packages/updateAll'.sub('{managedInstanceId}', managed_instance_id.to_s)
1610
+ operation_signing_strategy = :standard
1611
+
1612
+ # rubocop:disable Style/NegatedIf
1613
+ # Query Params
1614
+ query_params = {}
1615
+
1616
+ # Header Params
1617
+ header_params = {}
1618
+ header_params[:accept] = 'application/json'
1619
+ header_params[:'content-type'] = 'application/json'
1620
+ header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
1621
+ header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token]
1622
+ # rubocop:enable Style/NegatedIf
1623
+ header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token
1624
+
1625
+ post_body = nil
1626
+
1627
+ # rubocop:disable Metrics/BlockLength
1628
+ OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'OsManagementClient#install_all_package_updates_on_managed_instance') do
1629
+ @api_client.call_api(
1630
+ :POST,
1631
+ path,
1632
+ endpoint,
1633
+ header_params: header_params,
1634
+ query_params: query_params,
1635
+ operation_signing_strategy: operation_signing_strategy,
1636
+ body: post_body
1637
+ )
1638
+ end
1639
+ # rubocop:enable Metrics/BlockLength
1640
+ end
1641
+ # rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
1642
+ # rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
1643
+ # rubocop:enable Metrics/MethodLength, Layout/EmptyLines
1644
+
1645
+ # rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
1646
+ # rubocop:disable Style/IfUnlessModifier, Metrics/ParameterLists
1647
+ # rubocop:disable Metrics/MethodLength, Layout/EmptyLines
1648
+
1649
+
1650
+ # Install all of the available Windows updates for the managed instance.
1651
+ #
1652
+ # @param [String] managed_instance_id OCID for the managed instance
1653
+ # @param [Hash] opts the optional parameters
1654
+ # @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
1655
+ # retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
1656
+ # @option opts [String] :opc_request_id The client request ID for tracing.
1657
+ # @option opts [String] :opc_retry_token A token that uniquely identifies a request so it can be retried in case of a timeout or
1658
+ # server error without risk of executing that same action again. Retry tokens expire after 24
1659
+ # hours, but can be invalidated before then due to conflicting operations. For example, if a resource
1660
+ # has been deleted and purged from the system, then a retry of the original creation request
1661
+ # might be rejected.
1662
+ #
1663
+ # @return [Response] A Response object with data of type nil
1664
+ # @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/osmanagement/install_all_windows_updates_on_managed_instance.rb.html) to see an example of how to use install_all_windows_updates_on_managed_instance API.
1665
+ def install_all_windows_updates_on_managed_instance(managed_instance_id, opts = {})
1666
+ logger.debug 'Calling operation OsManagementClient#install_all_windows_updates_on_managed_instance.' if logger
1667
+
1668
+ raise "Missing the required parameter 'managed_instance_id' when calling install_all_windows_updates_on_managed_instance." if managed_instance_id.nil?
1669
+ raise "Parameter value for 'managed_instance_id' must not be blank" if OCI::Internal::Util.blank_string?(managed_instance_id)
1670
+
1671
+ path = '/managedInstances/{managedInstanceId}/actions/updates/installAll'.sub('{managedInstanceId}', managed_instance_id.to_s)
1672
+ operation_signing_strategy = :standard
1673
+
1674
+ # rubocop:disable Style/NegatedIf
1675
+ # Query Params
1676
+ query_params = {}
1677
+
1678
+ # Header Params
1679
+ header_params = {}
1680
+ header_params[:accept] = 'application/json'
1681
+ header_params[:'content-type'] = 'application/json'
1682
+ header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
1683
+ header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token]
1684
+ # rubocop:enable Style/NegatedIf
1685
+ header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token
1686
+
1687
+ post_body = nil
1688
+
1689
+ # rubocop:disable Metrics/BlockLength
1690
+ OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'OsManagementClient#install_all_windows_updates_on_managed_instance') do
1691
+ @api_client.call_api(
1692
+ :POST,
1693
+ path,
1694
+ endpoint,
1695
+ header_params: header_params,
1696
+ query_params: query_params,
1697
+ operation_signing_strategy: operation_signing_strategy,
1698
+ body: post_body
1699
+ )
1700
+ end
1701
+ # rubocop:enable Metrics/BlockLength
1702
+ end
1703
+ # rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
1704
+ # rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
1705
+ # rubocop:enable Metrics/MethodLength, Layout/EmptyLines
1706
+
1707
+ # rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
1708
+ # rubocop:disable Style/IfUnlessModifier, Metrics/ParameterLists
1709
+ # rubocop:disable Metrics/MethodLength, Layout/EmptyLines
1710
+
1711
+
1712
+ # Installs a package on a managed instance.
1713
+ #
1714
+ # @param [String] managed_instance_id OCID for the managed instance
1715
+ # @param [String] software_package_name Package name
1716
+ # @param [Hash] opts the optional parameters
1717
+ # @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
1718
+ # retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
1719
+ # @option opts [String] :opc_request_id The client request ID for tracing.
1720
+ # @option opts [String] :opc_retry_token A token that uniquely identifies a request so it can be retried in case of a timeout or
1721
+ # server error without risk of executing that same action again. Retry tokens expire after 24
1722
+ # hours, but can be invalidated before then due to conflicting operations. For example, if a resource
1723
+ # has been deleted and purged from the system, then a retry of the original creation request
1724
+ # might be rejected.
1725
+ #
1726
+ # @return [Response] A Response object with data of type nil
1727
+ # @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/osmanagement/install_package_on_managed_instance.rb.html) to see an example of how to use install_package_on_managed_instance API.
1728
+ def install_package_on_managed_instance(managed_instance_id, software_package_name, opts = {})
1729
+ logger.debug 'Calling operation OsManagementClient#install_package_on_managed_instance.' if logger
1730
+
1731
+ raise "Missing the required parameter 'managed_instance_id' when calling install_package_on_managed_instance." if managed_instance_id.nil?
1732
+ raise "Missing the required parameter 'software_package_name' when calling install_package_on_managed_instance." if software_package_name.nil?
1733
+ raise "Parameter value for 'managed_instance_id' must not be blank" if OCI::Internal::Util.blank_string?(managed_instance_id)
1734
+
1735
+ path = '/managedInstances/{managedInstanceId}/actions/packages/install'.sub('{managedInstanceId}', managed_instance_id.to_s)
1736
+ operation_signing_strategy = :standard
1737
+
1738
+ # rubocop:disable Style/NegatedIf
1739
+ # Query Params
1740
+ query_params = {}
1741
+ query_params[:softwarePackageName] = software_package_name
1742
+
1743
+ # Header Params
1744
+ header_params = {}
1745
+ header_params[:accept] = 'application/json'
1746
+ header_params[:'content-type'] = 'application/json'
1747
+ header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
1748
+ header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token]
1749
+ # rubocop:enable Style/NegatedIf
1750
+ header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token
1751
+
1752
+ post_body = nil
1753
+
1754
+ # rubocop:disable Metrics/BlockLength
1755
+ OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'OsManagementClient#install_package_on_managed_instance') do
1756
+ @api_client.call_api(
1757
+ :POST,
1758
+ path,
1759
+ endpoint,
1760
+ header_params: header_params,
1761
+ query_params: query_params,
1762
+ operation_signing_strategy: operation_signing_strategy,
1763
+ body: post_body
1764
+ )
1765
+ end
1766
+ # rubocop:enable Metrics/BlockLength
1767
+ end
1768
+ # rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
1769
+ # rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
1770
+ # rubocop:enable Metrics/MethodLength, Layout/EmptyLines
1771
+
1772
+ # rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
1773
+ # rubocop:disable Style/IfUnlessModifier, Metrics/ParameterLists
1774
+ # rubocop:disable Metrics/MethodLength, Layout/EmptyLines
1775
+
1776
+
1777
+ # Updates a package on a managed instance.
1778
+ #
1779
+ # @param [String] managed_instance_id OCID for the managed instance
1780
+ # @param [String] software_package_name Package name
1781
+ # @param [Hash] opts the optional parameters
1782
+ # @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
1783
+ # retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
1784
+ # @option opts [String] :opc_request_id The client request ID for tracing.
1785
+ # @option opts [String] :opc_retry_token A token that uniquely identifies a request so it can be retried in case of a timeout or
1786
+ # server error without risk of executing that same action again. Retry tokens expire after 24
1787
+ # hours, but can be invalidated before then due to conflicting operations. For example, if a resource
1788
+ # has been deleted and purged from the system, then a retry of the original creation request
1789
+ # might be rejected.
1790
+ #
1791
+ # @return [Response] A Response object with data of type nil
1792
+ # @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/osmanagement/install_package_update_on_managed_instance.rb.html) to see an example of how to use install_package_update_on_managed_instance API.
1793
+ def install_package_update_on_managed_instance(managed_instance_id, software_package_name, opts = {})
1794
+ logger.debug 'Calling operation OsManagementClient#install_package_update_on_managed_instance.' if logger
1795
+
1796
+ raise "Missing the required parameter 'managed_instance_id' when calling install_package_update_on_managed_instance." if managed_instance_id.nil?
1797
+ raise "Missing the required parameter 'software_package_name' when calling install_package_update_on_managed_instance." if software_package_name.nil?
1798
+ raise "Parameter value for 'managed_instance_id' must not be blank" if OCI::Internal::Util.blank_string?(managed_instance_id)
1799
+
1800
+ path = '/managedInstances/{managedInstanceId}/actions/packages/update'.sub('{managedInstanceId}', managed_instance_id.to_s)
1801
+ operation_signing_strategy = :standard
1802
+
1803
+ # rubocop:disable Style/NegatedIf
1804
+ # Query Params
1805
+ query_params = {}
1806
+ query_params[:softwarePackageName] = software_package_name
1807
+
1808
+ # Header Params
1809
+ header_params = {}
1810
+ header_params[:accept] = 'application/json'
1811
+ header_params[:'content-type'] = 'application/json'
1812
+ header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
1813
+ header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token]
1814
+ # rubocop:enable Style/NegatedIf
1815
+ header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token
1816
+
1817
+ post_body = nil
1818
+
1819
+ # rubocop:disable Metrics/BlockLength
1820
+ OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'OsManagementClient#install_package_update_on_managed_instance') do
1821
+ @api_client.call_api(
1822
+ :POST,
1823
+ path,
1824
+ endpoint,
1825
+ header_params: header_params,
1826
+ query_params: query_params,
1827
+ operation_signing_strategy: operation_signing_strategy,
1828
+ body: post_body
1829
+ )
1830
+ end
1831
+ # rubocop:enable Metrics/BlockLength
1832
+ end
1833
+ # rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
1834
+ # rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
1835
+ # rubocop:enable Metrics/MethodLength, Layout/EmptyLines
1836
+
1837
+ # rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
1838
+ # rubocop:disable Style/IfUnlessModifier, Metrics/ParameterLists
1839
+ # rubocop:disable Metrics/MethodLength, Layout/EmptyLines
1840
+
1841
+
1842
+ # Installs a Windows update on a managed instance.
1843
+ #
1844
+ # @param [String] managed_instance_id OCID for the managed instance
1845
+ # @param [String] windows_update_name Unique identifier for the Windows update. NOTE - This is not an OCID,
1846
+ # but is a unique identifier assigned by Microsoft.
1847
+ # Example: `6981d463-cd91-4a26-b7c4-ea4ded9183ed`
1848
+ #
1849
+ # @param [Hash] opts the optional parameters
1850
+ # @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
1851
+ # retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
1852
+ # @option opts [String] :opc_request_id The client request ID for tracing.
1853
+ # @option opts [String] :opc_retry_token A token that uniquely identifies a request so it can be retried in case of a timeout or
1854
+ # server error without risk of executing that same action again. Retry tokens expire after 24
1855
+ # hours, but can be invalidated before then due to conflicting operations. For example, if a resource
1856
+ # has been deleted and purged from the system, then a retry of the original creation request
1857
+ # might be rejected.
1858
+ #
1859
+ # @return [Response] A Response object with data of type nil
1860
+ # @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/osmanagement/install_windows_update_on_managed_instance.rb.html) to see an example of how to use install_windows_update_on_managed_instance API.
1861
+ def install_windows_update_on_managed_instance(managed_instance_id, windows_update_name, opts = {})
1862
+ logger.debug 'Calling operation OsManagementClient#install_windows_update_on_managed_instance.' if logger
1863
+
1864
+ raise "Missing the required parameter 'managed_instance_id' when calling install_windows_update_on_managed_instance." if managed_instance_id.nil?
1865
+ raise "Missing the required parameter 'windows_update_name' when calling install_windows_update_on_managed_instance." if windows_update_name.nil?
1866
+ raise "Parameter value for 'managed_instance_id' must not be blank" if OCI::Internal::Util.blank_string?(managed_instance_id)
1867
+
1868
+ path = '/managedInstances/{managedInstanceId}/actions/updates/install'.sub('{managedInstanceId}', managed_instance_id.to_s)
1869
+ operation_signing_strategy = :standard
1870
+
1871
+ # rubocop:disable Style/NegatedIf
1872
+ # Query Params
1873
+ query_params = {}
1874
+ query_params[:windowsUpdateName] = windows_update_name
1875
+
1876
+ # Header Params
1877
+ header_params = {}
1878
+ header_params[:accept] = 'application/json'
1879
+ header_params[:'content-type'] = 'application/json'
1880
+ header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
1881
+ header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token]
1882
+ # rubocop:enable Style/NegatedIf
1883
+ header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token
1884
+
1885
+ post_body = nil
1886
+
1887
+ # rubocop:disable Metrics/BlockLength
1888
+ OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'OsManagementClient#install_windows_update_on_managed_instance') do
1889
+ @api_client.call_api(
1890
+ :POST,
1891
+ path,
1892
+ endpoint,
1893
+ header_params: header_params,
1894
+ query_params: query_params,
1895
+ operation_signing_strategy: operation_signing_strategy,
1896
+ body: post_body
1897
+ )
1898
+ end
1899
+ # rubocop:enable Metrics/BlockLength
1900
+ end
1901
+ # rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
1902
+ # rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
1903
+ # rubocop:enable Metrics/MethodLength, Layout/EmptyLines
1904
+
1905
+ # rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
1906
+ # rubocop:disable Style/IfUnlessModifier, Metrics/ParameterLists
1907
+ # rubocop:disable Metrics/MethodLength, Layout/EmptyLines
1908
+
1909
+
1910
+ # Returns a list of packages available for install on the Managed Instance.
1911
+ #
1912
+ # @param [String] managed_instance_id OCID for the managed instance
1913
+ # @param [Hash] opts the optional parameters
1914
+ # @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
1915
+ # retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
1916
+ # @option opts [String] :display_name A user-friendly name. Does not have to be unique, and it's changeable.
1917
+ #
1918
+ # Example: `My new resource`
1919
+ #
1920
+ # @option opts [String] :compartment_id The ID of the compartment in which to list resources. This parameter is optional and in some cases may have no effect.
1921
+ # @option opts [Integer] :limit The maximum number of items to return. (default to 10)
1922
+ # @option opts [String] :page The page token representing the page at which to start retrieving results. This is usually retrieved from a previous list call.
1923
+ # @option opts [String] :sort_order The sort order to use, either 'asc' or 'desc'. (default to DESC)
1924
+ # Allowed values are: ASC, DESC
1925
+ # @option opts [String] :sort_by The field to sort by. Only one sort order may be provided. Default order for TIMECREATED is descending. Default order for DISPLAYNAME is ascending. If no value is specified TIMECREATED is default.
1926
+ # (default to TIMECREATED)
1927
+ # Allowed values are: TIMECREATED, DISPLAYNAME
1928
+ # @option opts [String] :opc_request_id The client request ID for tracing.
1929
+ # @return [Response] A Response object with data of type Array<{OCI::OsManagement::Models::InstallablePackageSummary InstallablePackageSummary}>
1930
+ # @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/osmanagement/list_available_packages_for_managed_instance.rb.html) to see an example of how to use list_available_packages_for_managed_instance API.
1931
+ def list_available_packages_for_managed_instance(managed_instance_id, opts = {})
1932
+ logger.debug 'Calling operation OsManagementClient#list_available_packages_for_managed_instance.' if logger
1933
+
1934
+ raise "Missing the required parameter 'managed_instance_id' when calling list_available_packages_for_managed_instance." if managed_instance_id.nil?
1935
+
1936
+ if opts[:sort_order] && !%w[ASC DESC].include?(opts[:sort_order])
1937
+ raise 'Invalid value for "sort_order", must be one of ASC, DESC.'
1938
+ end
1939
+
1940
+ if opts[:sort_by] && !%w[TIMECREATED DISPLAYNAME].include?(opts[:sort_by])
1941
+ raise 'Invalid value for "sort_by", must be one of TIMECREATED, DISPLAYNAME.'
1942
+ end
1943
+ raise "Parameter value for 'managed_instance_id' must not be blank" if OCI::Internal::Util.blank_string?(managed_instance_id)
1944
+
1945
+ path = '/managedInstances/{managedInstanceId}/packages/available'.sub('{managedInstanceId}', managed_instance_id.to_s)
1946
+ operation_signing_strategy = :standard
1947
+
1948
+ # rubocop:disable Style/NegatedIf
1949
+ # Query Params
1950
+ query_params = {}
1951
+ query_params[:displayName] = opts[:display_name] if opts[:display_name]
1952
+ query_params[:compartmentId] = opts[:compartment_id] if opts[:compartment_id]
1953
+ query_params[:limit] = opts[:limit] if opts[:limit]
1954
+ query_params[:page] = opts[:page] if opts[:page]
1955
+ query_params[:sortOrder] = opts[:sort_order] if opts[:sort_order]
1956
+ query_params[:sortBy] = opts[:sort_by] if opts[:sort_by]
1957
+
1958
+ # Header Params
1959
+ header_params = {}
1960
+ header_params[:accept] = 'application/json'
1961
+ header_params[:'content-type'] = 'application/json'
1962
+ header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
1963
+ # rubocop:enable Style/NegatedIf
1964
+
1965
+ post_body = nil
1966
+
1967
+ # rubocop:disable Metrics/BlockLength
1968
+ OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'OsManagementClient#list_available_packages_for_managed_instance') do
1969
+ @api_client.call_api(
1970
+ :GET,
1971
+ path,
1972
+ endpoint,
1973
+ header_params: header_params,
1974
+ query_params: query_params,
1975
+ operation_signing_strategy: operation_signing_strategy,
1976
+ body: post_body,
1977
+ return_type: 'Array<OCI::OsManagement::Models::InstallablePackageSummary>'
1978
+ )
1979
+ end
1980
+ # rubocop:enable Metrics/BlockLength
1981
+ end
1982
+ # rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
1983
+ # rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
1984
+ # rubocop:enable Metrics/MethodLength, Layout/EmptyLines
1985
+
1986
+ # rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
1987
+ # rubocop:disable Style/IfUnlessModifier, Metrics/ParameterLists
1988
+ # rubocop:disable Metrics/MethodLength, Layout/EmptyLines
1989
+
1990
+
1991
+ # Returns a list of available software sources for a Managed Instance.
1992
+ #
1993
+ # @param [String] managed_instance_id OCID for the managed instance
1994
+ # @param [Hash] opts the optional parameters
1995
+ # @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
1996
+ # retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
1997
+ # @option opts [String] :display_name A user-friendly name. Does not have to be unique, and it's changeable.
1998
+ #
1999
+ # Example: `My new resource`
2000
+ #
2001
+ # @option opts [String] :compartment_id The ID of the compartment in which to list resources. This parameter is optional and in some cases may have no effect.
2002
+ # @option opts [Integer] :limit The maximum number of items to return. (default to 10)
2003
+ # @option opts [String] :page The page token representing the page at which to start retrieving results. This is usually retrieved from a previous list call.
2004
+ # @option opts [String] :sort_order The sort order to use, either 'asc' or 'desc'. (default to DESC)
2005
+ # Allowed values are: ASC, DESC
2006
+ # @option opts [String] :sort_by The field to sort by. Only one sort order may be provided. Default order for TIMECREATED is descending. Default order for DISPLAYNAME is ascending. If no value is specified TIMECREATED is default.
2007
+ # (default to TIMECREATED)
2008
+ # Allowed values are: TIMECREATED, DISPLAYNAME
2009
+ # @option opts [String] :opc_request_id The client request ID for tracing.
2010
+ # @return [Response] A Response object with data of type Array<{OCI::OsManagement::Models::AvailableSoftwareSourceSummary AvailableSoftwareSourceSummary}>
2011
+ # @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/osmanagement/list_available_software_sources_for_managed_instance.rb.html) to see an example of how to use list_available_software_sources_for_managed_instance API.
2012
+ def list_available_software_sources_for_managed_instance(managed_instance_id, opts = {})
2013
+ logger.debug 'Calling operation OsManagementClient#list_available_software_sources_for_managed_instance.' if logger
2014
+
2015
+ raise "Missing the required parameter 'managed_instance_id' when calling list_available_software_sources_for_managed_instance." if managed_instance_id.nil?
2016
+
2017
+ if opts[:sort_order] && !%w[ASC DESC].include?(opts[:sort_order])
2018
+ raise 'Invalid value for "sort_order", must be one of ASC, DESC.'
2019
+ end
2020
+
2021
+ if opts[:sort_by] && !%w[TIMECREATED DISPLAYNAME].include?(opts[:sort_by])
2022
+ raise 'Invalid value for "sort_by", must be one of TIMECREATED, DISPLAYNAME.'
2023
+ end
2024
+ raise "Parameter value for 'managed_instance_id' must not be blank" if OCI::Internal::Util.blank_string?(managed_instance_id)
2025
+
2026
+ path = '/managedInstances/{managedInstanceId}/availableSoftwareSources'.sub('{managedInstanceId}', managed_instance_id.to_s)
2027
+ operation_signing_strategy = :standard
2028
+
2029
+ # rubocop:disable Style/NegatedIf
2030
+ # Query Params
2031
+ query_params = {}
2032
+ query_params[:displayName] = opts[:display_name] if opts[:display_name]
2033
+ query_params[:compartmentId] = opts[:compartment_id] if opts[:compartment_id]
2034
+ query_params[:limit] = opts[:limit] if opts[:limit]
2035
+ query_params[:page] = opts[:page] if opts[:page]
2036
+ query_params[:sortOrder] = opts[:sort_order] if opts[:sort_order]
2037
+ query_params[:sortBy] = opts[:sort_by] if opts[:sort_by]
2038
+
2039
+ # Header Params
2040
+ header_params = {}
2041
+ header_params[:accept] = 'application/json'
2042
+ header_params[:'content-type'] = 'application/json'
2043
+ header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
2044
+ # rubocop:enable Style/NegatedIf
2045
+
2046
+ post_body = nil
2047
+
2048
+ # rubocop:disable Metrics/BlockLength
2049
+ OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'OsManagementClient#list_available_software_sources_for_managed_instance') do
2050
+ @api_client.call_api(
2051
+ :GET,
2052
+ path,
2053
+ endpoint,
2054
+ header_params: header_params,
2055
+ query_params: query_params,
2056
+ operation_signing_strategy: operation_signing_strategy,
2057
+ body: post_body,
2058
+ return_type: 'Array<OCI::OsManagement::Models::AvailableSoftwareSourceSummary>'
2059
+ )
2060
+ end
2061
+ # rubocop:enable Metrics/BlockLength
2062
+ end
2063
+ # rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
2064
+ # rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
2065
+ # rubocop:enable Metrics/MethodLength, Layout/EmptyLines
2066
+
2067
+ # rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
2068
+ # rubocop:disable Style/IfUnlessModifier, Metrics/ParameterLists
2069
+ # rubocop:disable Metrics/MethodLength, Layout/EmptyLines
2070
+
2071
+
2072
+ # Returns a list of available updates for a Managed Instance.
2073
+ #
2074
+ # @param [String] managed_instance_id OCID for the managed instance
2075
+ # @param [Hash] opts the optional parameters
2076
+ # @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
2077
+ # retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
2078
+ # @option opts [String] :display_name A user-friendly name. Does not have to be unique, and it's changeable.
2079
+ #
2080
+ # Example: `My new resource`
2081
+ #
2082
+ # @option opts [String] :compartment_id The ID of the compartment in which to list resources. This parameter is optional and in some cases may have no effect.
2083
+ # @option opts [Integer] :limit The maximum number of items to return. (default to 10)
2084
+ # @option opts [String] :page The page token representing the page at which to start retrieving results. This is usually retrieved from a previous list call.
2085
+ # @option opts [String] :sort_order The sort order to use, either 'asc' or 'desc'. (default to DESC)
2086
+ # Allowed values are: ASC, DESC
2087
+ # @option opts [String] :sort_by The field to sort by. Only one sort order may be provided. Default order for TIMECREATED is descending. Default order for DISPLAYNAME is ascending. If no value is specified TIMECREATED is default.
2088
+ # (default to TIMECREATED)
2089
+ # Allowed values are: TIMECREATED, DISPLAYNAME
2090
+ # @option opts [String] :opc_request_id The client request ID for tracing.
2091
+ # @return [Response] A Response object with data of type Array<{OCI::OsManagement::Models::AvailableUpdateSummary AvailableUpdateSummary}>
2092
+ # @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/osmanagement/list_available_updates_for_managed_instance.rb.html) to see an example of how to use list_available_updates_for_managed_instance API.
2093
+ def list_available_updates_for_managed_instance(managed_instance_id, opts = {})
2094
+ logger.debug 'Calling operation OsManagementClient#list_available_updates_for_managed_instance.' if logger
2095
+
2096
+ raise "Missing the required parameter 'managed_instance_id' when calling list_available_updates_for_managed_instance." if managed_instance_id.nil?
2097
+
2098
+ if opts[:sort_order] && !%w[ASC DESC].include?(opts[:sort_order])
2099
+ raise 'Invalid value for "sort_order", must be one of ASC, DESC.'
2100
+ end
2101
+
2102
+ if opts[:sort_by] && !%w[TIMECREATED DISPLAYNAME].include?(opts[:sort_by])
2103
+ raise 'Invalid value for "sort_by", must be one of TIMECREATED, DISPLAYNAME.'
2104
+ end
2105
+ raise "Parameter value for 'managed_instance_id' must not be blank" if OCI::Internal::Util.blank_string?(managed_instance_id)
2106
+
2107
+ path = '/managedInstances/{managedInstanceId}/packages/updates'.sub('{managedInstanceId}', managed_instance_id.to_s)
2108
+ operation_signing_strategy = :standard
2109
+
2110
+ # rubocop:disable Style/NegatedIf
2111
+ # Query Params
2112
+ query_params = {}
2113
+ query_params[:displayName] = opts[:display_name] if opts[:display_name]
2114
+ query_params[:compartmentId] = opts[:compartment_id] if opts[:compartment_id]
2115
+ query_params[:limit] = opts[:limit] if opts[:limit]
2116
+ query_params[:page] = opts[:page] if opts[:page]
2117
+ query_params[:sortOrder] = opts[:sort_order] if opts[:sort_order]
2118
+ query_params[:sortBy] = opts[:sort_by] if opts[:sort_by]
2119
+
2120
+ # Header Params
2121
+ header_params = {}
2122
+ header_params[:accept] = 'application/json'
2123
+ header_params[:'content-type'] = 'application/json'
2124
+ header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
2125
+ # rubocop:enable Style/NegatedIf
2126
+
2127
+ post_body = nil
2128
+
2129
+ # rubocop:disable Metrics/BlockLength
2130
+ OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'OsManagementClient#list_available_updates_for_managed_instance') do
2131
+ @api_client.call_api(
2132
+ :GET,
2133
+ path,
2134
+ endpoint,
2135
+ header_params: header_params,
2136
+ query_params: query_params,
2137
+ operation_signing_strategy: operation_signing_strategy,
2138
+ body: post_body,
2139
+ return_type: 'Array<OCI::OsManagement::Models::AvailableUpdateSummary>'
2140
+ )
2141
+ end
2142
+ # rubocop:enable Metrics/BlockLength
2143
+ end
2144
+ # rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
2145
+ # rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
2146
+ # rubocop:enable Metrics/MethodLength, Layout/EmptyLines
2147
+
2148
+ # rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
2149
+ # rubocop:disable Style/IfUnlessModifier, Metrics/ParameterLists
2150
+ # rubocop:disable Metrics/MethodLength, Layout/EmptyLines
2151
+
2152
+
2153
+ # Returns a list of available Windows updates for a Managed Instance. This is only applicable to Windows instances.
2154
+ #
2155
+ # @param [String] managed_instance_id OCID for the managed instance
2156
+ # @param [Hash] opts the optional parameters
2157
+ # @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
2158
+ # retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
2159
+ # @option opts [String] :display_name A user-friendly name. Does not have to be unique, and it's changeable.
2160
+ #
2161
+ # Example: `My new resource`
2162
+ #
2163
+ # @option opts [String] :compartment_id The ID of the compartment in which to list resources. This parameter is optional and in some cases may have no effect.
2164
+ # @option opts [Integer] :limit The maximum number of items to return. (default to 10)
2165
+ # @option opts [String] :page The page token representing the page at which to start retrieving results. This is usually retrieved from a previous list call.
2166
+ # @option opts [String] :sort_order The sort order to use, either 'asc' or 'desc'. (default to DESC)
2167
+ # Allowed values are: ASC, DESC
2168
+ # @option opts [String] :sort_by The field to sort by. Only one sort order may be provided. Default order for TIMECREATED is descending. Default order for DISPLAYNAME is ascending. If no value is specified TIMECREATED is default.
2169
+ # (default to TIMECREATED)
2170
+ # Allowed values are: TIMECREATED, DISPLAYNAME
2171
+ # @option opts [String] :opc_request_id The client request ID for tracing.
2172
+ # @option opts [String] :is_eligible_for_installation Indicator of whether the update can be installed using OSMS.
2173
+ # @return [Response] A Response object with data of type Array<{OCI::OsManagement::Models::AvailableWindowsUpdateSummary AvailableWindowsUpdateSummary}>
2174
+ # @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/osmanagement/list_available_windows_updates_for_managed_instance.rb.html) to see an example of how to use list_available_windows_updates_for_managed_instance API.
2175
+ def list_available_windows_updates_for_managed_instance(managed_instance_id, opts = {})
2176
+ logger.debug 'Calling operation OsManagementClient#list_available_windows_updates_for_managed_instance.' if logger
2177
+
2178
+ raise "Missing the required parameter 'managed_instance_id' when calling list_available_windows_updates_for_managed_instance." if managed_instance_id.nil?
2179
+
2180
+ if opts[:sort_order] && !%w[ASC DESC].include?(opts[:sort_order])
2181
+ raise 'Invalid value for "sort_order", must be one of ASC, DESC.'
2182
+ end
2183
+
2184
+ if opts[:sort_by] && !%w[TIMECREATED DISPLAYNAME].include?(opts[:sort_by])
2185
+ raise 'Invalid value for "sort_by", must be one of TIMECREATED, DISPLAYNAME.'
2186
+ end
2187
+
2188
+ if opts[:is_eligible_for_installation] && !OCI::OsManagement::Models::IS_ELIGIBLE_FOR_INSTALLATION_ENUM.include?(opts[:is_eligible_for_installation])
2189
+ raise 'Invalid value for "is_eligible_for_installation", must be one of the values in OCI::OsManagement::Models::IS_ELIGIBLE_FOR_INSTALLATION_ENUM.'
2190
+ end
2191
+ raise "Parameter value for 'managed_instance_id' must not be blank" if OCI::Internal::Util.blank_string?(managed_instance_id)
2192
+
2193
+ path = '/managedInstances/{managedInstanceId}/updates/available'.sub('{managedInstanceId}', managed_instance_id.to_s)
2194
+ operation_signing_strategy = :standard
2195
+
2196
+ # rubocop:disable Style/NegatedIf
2197
+ # Query Params
2198
+ query_params = {}
2199
+ query_params[:displayName] = opts[:display_name] if opts[:display_name]
2200
+ query_params[:compartmentId] = opts[:compartment_id] if opts[:compartment_id]
2201
+ query_params[:limit] = opts[:limit] if opts[:limit]
2202
+ query_params[:page] = opts[:page] if opts[:page]
2203
+ query_params[:sortOrder] = opts[:sort_order] if opts[:sort_order]
2204
+ query_params[:sortBy] = opts[:sort_by] if opts[:sort_by]
2205
+ query_params[:isEligibleForInstallation] = opts[:is_eligible_for_installation] if opts[:is_eligible_for_installation]
2206
+
2207
+ # Header Params
2208
+ header_params = {}
2209
+ header_params[:accept] = 'application/json'
2210
+ header_params[:'content-type'] = 'application/json'
2211
+ header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
2212
+ # rubocop:enable Style/NegatedIf
2213
+
2214
+ post_body = nil
2215
+
2216
+ # rubocop:disable Metrics/BlockLength
2217
+ OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'OsManagementClient#list_available_windows_updates_for_managed_instance') do
2218
+ @api_client.call_api(
2219
+ :GET,
2220
+ path,
2221
+ endpoint,
2222
+ header_params: header_params,
2223
+ query_params: query_params,
2224
+ operation_signing_strategy: operation_signing_strategy,
2225
+ body: post_body,
2226
+ return_type: 'Array<OCI::OsManagement::Models::AvailableWindowsUpdateSummary>'
2227
+ )
2228
+ end
2229
+ # rubocop:enable Metrics/BlockLength
2230
+ end
2231
+ # rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
2232
+ # rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
2233
+ # rubocop:enable Metrics/MethodLength, Layout/EmptyLines
2234
+
2235
+ # rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
2236
+ # rubocop:disable Style/IfUnlessModifier, Metrics/ParameterLists
2237
+ # rubocop:disable Metrics/MethodLength, Layout/EmptyLines
2238
+
2239
+
2240
+ # Returns a list of all Managed Instance Groups.
2241
+ #
2242
+ # @param [String] compartment_id The ID of the compartment in which to list resources.
2243
+ # @param [Hash] opts the optional parameters
2244
+ # @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
2245
+ # retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
2246
+ # @option opts [String] :display_name A user-friendly name. Does not have to be unique, and it's changeable.
2247
+ #
2248
+ # Example: `My new resource`
2249
+ #
2250
+ # @option opts [Integer] :limit The maximum number of items to return. (default to 10)
2251
+ # @option opts [String] :page The page token representing the page at which to start retrieving results. This is usually retrieved from a previous list call.
2252
+ # @option opts [String] :sort_order The sort order to use, either 'asc' or 'desc'. (default to DESC)
2253
+ # Allowed values are: ASC, DESC
2254
+ # @option opts [String] :sort_by The field to sort by. Only one sort order may be provided. Default order for TIMECREATED is descending. Default order for DISPLAYNAME is ascending. If no value is specified TIMECREATED is default.
2255
+ # (default to TIMECREATED)
2256
+ # Allowed values are: TIMECREATED, DISPLAYNAME
2257
+ # @option opts [String] :opc_request_id The client request ID for tracing.
2258
+ # @option opts [String] :lifecycle_state The current lifecycle state for the object.
2259
+ # @option opts [String] :os_family The OS family for which to list resources.
2260
+ # @return [Response] A Response object with data of type Array<{OCI::OsManagement::Models::ManagedInstanceGroupSummary ManagedInstanceGroupSummary}>
2261
+ # @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/osmanagement/list_managed_instance_groups.rb.html) to see an example of how to use list_managed_instance_groups API.
2262
+ def list_managed_instance_groups(compartment_id, opts = {})
2263
+ logger.debug 'Calling operation OsManagementClient#list_managed_instance_groups.' if logger
2264
+
2265
+ raise "Missing the required parameter 'compartment_id' when calling list_managed_instance_groups." if compartment_id.nil?
2266
+
2267
+ if opts[:sort_order] && !%w[ASC DESC].include?(opts[:sort_order])
2268
+ raise 'Invalid value for "sort_order", must be one of ASC, DESC.'
2269
+ end
2270
+
2271
+ if opts[:sort_by] && !%w[TIMECREATED DISPLAYNAME].include?(opts[:sort_by])
2272
+ raise 'Invalid value for "sort_by", must be one of TIMECREATED, DISPLAYNAME.'
2273
+ end
2274
+
2275
+ if opts[:lifecycle_state] && !OCI::OsManagement::Models::LIFECYCLE_STATES_ENUM.include?(opts[:lifecycle_state])
2276
+ raise 'Invalid value for "lifecycle_state", must be one of the values in OCI::OsManagement::Models::LIFECYCLE_STATES_ENUM.'
2277
+ end
2278
+
2279
+ if opts[:os_family] && !OCI::OsManagement::Models::OS_FAMILIES_ENUM.include?(opts[:os_family])
2280
+ raise 'Invalid value for "os_family", must be one of the values in OCI::OsManagement::Models::OS_FAMILIES_ENUM.'
2281
+ end
2282
+
2283
+ path = '/managedInstanceGroups'
2284
+ operation_signing_strategy = :standard
2285
+
2286
+ # rubocop:disable Style/NegatedIf
2287
+ # Query Params
2288
+ query_params = {}
2289
+ query_params[:compartmentId] = compartment_id
2290
+ query_params[:displayName] = opts[:display_name] if opts[:display_name]
2291
+ query_params[:limit] = opts[:limit] if opts[:limit]
2292
+ query_params[:page] = opts[:page] if opts[:page]
2293
+ query_params[:sortOrder] = opts[:sort_order] if opts[:sort_order]
2294
+ query_params[:sortBy] = opts[:sort_by] if opts[:sort_by]
2295
+ query_params[:lifecycleState] = opts[:lifecycle_state] if opts[:lifecycle_state]
2296
+ query_params[:osFamily] = opts[:os_family] if opts[:os_family]
2297
+
2298
+ # Header Params
2299
+ header_params = {}
2300
+ header_params[:accept] = 'application/json'
2301
+ header_params[:'content-type'] = 'application/json'
2302
+ header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
2303
+ # rubocop:enable Style/NegatedIf
2304
+
2305
+ post_body = nil
2306
+
2307
+ # rubocop:disable Metrics/BlockLength
2308
+ OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'OsManagementClient#list_managed_instance_groups') do
2309
+ @api_client.call_api(
2310
+ :GET,
2311
+ path,
2312
+ endpoint,
2313
+ header_params: header_params,
2314
+ query_params: query_params,
2315
+ operation_signing_strategy: operation_signing_strategy,
2316
+ body: post_body,
2317
+ return_type: 'Array<OCI::OsManagement::Models::ManagedInstanceGroupSummary>'
2318
+ )
2319
+ end
2320
+ # rubocop:enable Metrics/BlockLength
2321
+ end
2322
+ # rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
2323
+ # rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
2324
+ # rubocop:enable Metrics/MethodLength, Layout/EmptyLines
2325
+
2326
+ # rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
2327
+ # rubocop:disable Style/IfUnlessModifier, Metrics/ParameterLists
2328
+ # rubocop:disable Metrics/MethodLength, Layout/EmptyLines
2329
+
2330
+
2331
+ # Returns a list of all Managed Instances.
2332
+ #
2333
+ # @param [String] compartment_id The ID of the compartment in which to list resources.
2334
+ # @param [Hash] opts the optional parameters
2335
+ # @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
2336
+ # retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
2337
+ # @option opts [String] :display_name A user-friendly name. Does not have to be unique, and it's changeable.
2338
+ #
2339
+ # Example: `My new resource`
2340
+ #
2341
+ # @option opts [Integer] :limit The maximum number of items to return. (default to 10)
2342
+ # @option opts [String] :page The page token representing the page at which to start retrieving results. This is usually retrieved from a previous list call.
2343
+ # @option opts [String] :sort_order The sort order to use, either 'asc' or 'desc'. (default to DESC)
2344
+ # Allowed values are: ASC, DESC
2345
+ # @option opts [String] :sort_by The field to sort by. Only one sort order may be provided. Default order for TIMECREATED is descending. Default order for DISPLAYNAME is ascending. If no value is specified TIMECREATED is default.
2346
+ # (default to TIMECREATED)
2347
+ # Allowed values are: TIMECREATED, DISPLAYNAME
2348
+ # @option opts [String] :opc_request_id The client request ID for tracing.
2349
+ # @option opts [String] :os_family The OS family for which to list resources.
2350
+ # @return [Response] A Response object with data of type Array<{OCI::OsManagement::Models::ManagedInstanceSummary ManagedInstanceSummary}>
2351
+ # @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/osmanagement/list_managed_instances.rb.html) to see an example of how to use list_managed_instances API.
2352
+ def list_managed_instances(compartment_id, opts = {})
2353
+ logger.debug 'Calling operation OsManagementClient#list_managed_instances.' if logger
2354
+
2355
+ raise "Missing the required parameter 'compartment_id' when calling list_managed_instances." if compartment_id.nil?
2356
+
2357
+ if opts[:sort_order] && !%w[ASC DESC].include?(opts[:sort_order])
2358
+ raise 'Invalid value for "sort_order", must be one of ASC, DESC.'
2359
+ end
2360
+
2361
+ if opts[:sort_by] && !%w[TIMECREATED DISPLAYNAME].include?(opts[:sort_by])
2362
+ raise 'Invalid value for "sort_by", must be one of TIMECREATED, DISPLAYNAME.'
2363
+ end
2364
+
2365
+ if opts[:os_family] && !OCI::OsManagement::Models::OS_FAMILIES_ENUM.include?(opts[:os_family])
2366
+ raise 'Invalid value for "os_family", must be one of the values in OCI::OsManagement::Models::OS_FAMILIES_ENUM.'
2367
+ end
2368
+
2369
+ path = '/managedInstances'
2370
+ operation_signing_strategy = :standard
2371
+
2372
+ # rubocop:disable Style/NegatedIf
2373
+ # Query Params
2374
+ query_params = {}
2375
+ query_params[:compartmentId] = compartment_id
2376
+ query_params[:displayName] = opts[:display_name] if opts[:display_name]
2377
+ query_params[:limit] = opts[:limit] if opts[:limit]
2378
+ query_params[:page] = opts[:page] if opts[:page]
2379
+ query_params[:sortOrder] = opts[:sort_order] if opts[:sort_order]
2380
+ query_params[:sortBy] = opts[:sort_by] if opts[:sort_by]
2381
+ query_params[:osFamily] = opts[:os_family] if opts[:os_family]
2382
+
2383
+ # Header Params
2384
+ header_params = {}
2385
+ header_params[:accept] = 'application/json'
2386
+ header_params[:'content-type'] = 'application/json'
2387
+ header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
2388
+ # rubocop:enable Style/NegatedIf
2389
+
2390
+ post_body = nil
2391
+
2392
+ # rubocop:disable Metrics/BlockLength
2393
+ OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'OsManagementClient#list_managed_instances') do
2394
+ @api_client.call_api(
2395
+ :GET,
2396
+ path,
2397
+ endpoint,
2398
+ header_params: header_params,
2399
+ query_params: query_params,
2400
+ operation_signing_strategy: operation_signing_strategy,
2401
+ body: post_body,
2402
+ return_type: 'Array<OCI::OsManagement::Models::ManagedInstanceSummary>'
2403
+ )
2404
+ end
2405
+ # rubocop:enable Metrics/BlockLength
2406
+ end
2407
+ # rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
2408
+ # rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
2409
+ # rubocop:enable Metrics/MethodLength, Layout/EmptyLines
2410
+
2411
+ # rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
2412
+ # rubocop:disable Style/IfUnlessModifier, Metrics/ParameterLists
2413
+ # rubocop:disable Metrics/MethodLength, Layout/EmptyLines
2414
+
2415
+
2416
+ # Returns a list of installed packages on the Managed Instance.
2417
+ #
2418
+ # @param [String] managed_instance_id OCID for the managed instance
2419
+ # @param [Hash] opts the optional parameters
2420
+ # @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
2421
+ # retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
2422
+ # @option opts [String] :display_name A user-friendly name. Does not have to be unique, and it's changeable.
2423
+ #
2424
+ # Example: `My new resource`
2425
+ #
2426
+ # @option opts [String] :compartment_id The ID of the compartment in which to list resources. This parameter is optional and in some cases may have no effect.
2427
+ # @option opts [Integer] :limit The maximum number of items to return. (default to 10)
2428
+ # @option opts [String] :page The page token representing the page at which to start retrieving results. This is usually retrieved from a previous list call.
2429
+ # @option opts [String] :sort_order The sort order to use, either 'asc' or 'desc'. (default to DESC)
2430
+ # Allowed values are: ASC, DESC
2431
+ # @option opts [String] :sort_by The field to sort by. Only one sort order may be provided. Default order for TIMECREATED is descending. Default order for DISPLAYNAME is ascending. If no value is specified TIMECREATED is default.
2432
+ # (default to TIMECREATED)
2433
+ # Allowed values are: TIMECREATED, DISPLAYNAME
2434
+ # @option opts [String] :opc_request_id The client request ID for tracing.
2435
+ # @return [Response] A Response object with data of type Array<{OCI::OsManagement::Models::InstalledPackageSummary InstalledPackageSummary}>
2436
+ # @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/osmanagement/list_packages_installed_on_managed_instance.rb.html) to see an example of how to use list_packages_installed_on_managed_instance API.
2437
+ def list_packages_installed_on_managed_instance(managed_instance_id, opts = {})
2438
+ logger.debug 'Calling operation OsManagementClient#list_packages_installed_on_managed_instance.' if logger
2439
+
2440
+ raise "Missing the required parameter 'managed_instance_id' when calling list_packages_installed_on_managed_instance." if managed_instance_id.nil?
2441
+
2442
+ if opts[:sort_order] && !%w[ASC DESC].include?(opts[:sort_order])
2443
+ raise 'Invalid value for "sort_order", must be one of ASC, DESC.'
2444
+ end
2445
+
2446
+ if opts[:sort_by] && !%w[TIMECREATED DISPLAYNAME].include?(opts[:sort_by])
2447
+ raise 'Invalid value for "sort_by", must be one of TIMECREATED, DISPLAYNAME.'
2448
+ end
2449
+ raise "Parameter value for 'managed_instance_id' must not be blank" if OCI::Internal::Util.blank_string?(managed_instance_id)
2450
+
2451
+ path = '/managedInstances/{managedInstanceId}/packages'.sub('{managedInstanceId}', managed_instance_id.to_s)
2452
+ operation_signing_strategy = :standard
2453
+
2454
+ # rubocop:disable Style/NegatedIf
2455
+ # Query Params
2456
+ query_params = {}
2457
+ query_params[:displayName] = opts[:display_name] if opts[:display_name]
2458
+ query_params[:compartmentId] = opts[:compartment_id] if opts[:compartment_id]
2459
+ query_params[:limit] = opts[:limit] if opts[:limit]
2460
+ query_params[:page] = opts[:page] if opts[:page]
2461
+ query_params[:sortOrder] = opts[:sort_order] if opts[:sort_order]
2462
+ query_params[:sortBy] = opts[:sort_by] if opts[:sort_by]
2463
+
2464
+ # Header Params
2465
+ header_params = {}
2466
+ header_params[:accept] = 'application/json'
2467
+ header_params[:'content-type'] = 'application/json'
2468
+ header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
2469
+ # rubocop:enable Style/NegatedIf
2470
+
2471
+ post_body = nil
2472
+
2473
+ # rubocop:disable Metrics/BlockLength
2474
+ OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'OsManagementClient#list_packages_installed_on_managed_instance') do
2475
+ @api_client.call_api(
2476
+ :GET,
2477
+ path,
2478
+ endpoint,
2479
+ header_params: header_params,
2480
+ query_params: query_params,
2481
+ operation_signing_strategy: operation_signing_strategy,
2482
+ body: post_body,
2483
+ return_type: 'Array<OCI::OsManagement::Models::InstalledPackageSummary>'
2484
+ )
2485
+ end
2486
+ # rubocop:enable Metrics/BlockLength
2487
+ end
2488
+ # rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
2489
+ # rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
2490
+ # rubocop:enable Metrics/MethodLength, Layout/EmptyLines
2491
+
2492
+ # rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
2493
+ # rubocop:disable Style/IfUnlessModifier, Metrics/ParameterLists
2494
+ # rubocop:disable Metrics/MethodLength, Layout/EmptyLines
2495
+
2496
+
2497
+ # Returns a list of all of the currently active Scheduled Jobs in the system
2498
+ #
2499
+ # @param [String] compartment_id The ID of the compartment in which to list resources.
2500
+ # @param [Hash] opts the optional parameters
2501
+ # @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
2502
+ # retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
2503
+ # @option opts [String] :display_name A user-friendly name. Does not have to be unique, and it's changeable.
2504
+ #
2505
+ # Example: `My new resource`
2506
+ #
2507
+ # @option opts [String] :managed_instance_id The ID of the managed instance for which to list resources.
2508
+ # @option opts [String] :managed_instance_group_id The ID of the managed instace group for which to list resources.
2509
+ # @option opts [String] :operation_type The operation type for which to list resources
2510
+ # @option opts [Integer] :limit The maximum number of items to return. (default to 10)
2511
+ # @option opts [String] :page The page token representing the page at which to start retrieving results. This is usually retrieved from a previous list call.
2512
+ # @option opts [String] :sort_order The sort order to use, either 'asc' or 'desc'. (default to DESC)
2513
+ # Allowed values are: ASC, DESC
2514
+ # @option opts [String] :sort_by The field to sort by. Only one sort order may be provided. Default order for TIMECREATED is descending. Default order for DISPLAYNAME is ascending. If no value is specified TIMECREATED is default.
2515
+ # (default to TIMECREATED)
2516
+ # Allowed values are: TIMECREATED, DISPLAYNAME
2517
+ # @option opts [String] :lifecycle_state The current lifecycle state for the object.
2518
+ # @option opts [String] :opc_request_id The client request ID for tracing.
2519
+ # @option opts [String] :os_family The OS family for which to list resources.
2520
+ # @return [Response] A Response object with data of type Array<{OCI::OsManagement::Models::ScheduledJobSummary ScheduledJobSummary}>
2521
+ # @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/osmanagement/list_scheduled_jobs.rb.html) to see an example of how to use list_scheduled_jobs API.
2522
+ def list_scheduled_jobs(compartment_id, opts = {})
2523
+ logger.debug 'Calling operation OsManagementClient#list_scheduled_jobs.' if logger
2524
+
2525
+ raise "Missing the required parameter 'compartment_id' when calling list_scheduled_jobs." if compartment_id.nil?
2526
+
2527
+ if opts[:operation_type] && !OCI::OsManagement::Models::OPERATION_TYPES_ENUM.include?(opts[:operation_type])
2528
+ raise 'Invalid value for "operation_type", must be one of the values in OCI::OsManagement::Models::OPERATION_TYPES_ENUM.'
2529
+ end
2530
+
2531
+ if opts[:sort_order] && !%w[ASC DESC].include?(opts[:sort_order])
2532
+ raise 'Invalid value for "sort_order", must be one of ASC, DESC.'
2533
+ end
2534
+
2535
+ if opts[:sort_by] && !%w[TIMECREATED DISPLAYNAME].include?(opts[:sort_by])
2536
+ raise 'Invalid value for "sort_by", must be one of TIMECREATED, DISPLAYNAME.'
2537
+ end
2538
+
2539
+ if opts[:lifecycle_state] && !OCI::OsManagement::Models::LIFECYCLE_STATES_ENUM.include?(opts[:lifecycle_state])
2540
+ raise 'Invalid value for "lifecycle_state", must be one of the values in OCI::OsManagement::Models::LIFECYCLE_STATES_ENUM.'
2541
+ end
2542
+
2543
+ if opts[:os_family] && !OCI::OsManagement::Models::OS_FAMILIES_ENUM.include?(opts[:os_family])
2544
+ raise 'Invalid value for "os_family", must be one of the values in OCI::OsManagement::Models::OS_FAMILIES_ENUM.'
2545
+ end
2546
+
2547
+ path = '/scheduledJobs'
2548
+ operation_signing_strategy = :standard
2549
+
2550
+ # rubocop:disable Style/NegatedIf
2551
+ # Query Params
2552
+ query_params = {}
2553
+ query_params[:compartmentId] = compartment_id
2554
+ query_params[:displayName] = opts[:display_name] if opts[:display_name]
2555
+ query_params[:managedInstanceId] = opts[:managed_instance_id] if opts[:managed_instance_id]
2556
+ query_params[:managedInstanceGroupId] = opts[:managed_instance_group_id] if opts[:managed_instance_group_id]
2557
+ query_params[:operationType] = opts[:operation_type] if opts[:operation_type]
2558
+ query_params[:limit] = opts[:limit] if opts[:limit]
2559
+ query_params[:page] = opts[:page] if opts[:page]
2560
+ query_params[:sortOrder] = opts[:sort_order] if opts[:sort_order]
2561
+ query_params[:sortBy] = opts[:sort_by] if opts[:sort_by]
2562
+ query_params[:lifecycleState] = opts[:lifecycle_state] if opts[:lifecycle_state]
2563
+ query_params[:osFamily] = opts[:os_family] if opts[:os_family]
2564
+
2565
+ # Header Params
2566
+ header_params = {}
2567
+ header_params[:accept] = 'application/json'
2568
+ header_params[:'content-type'] = 'application/json'
2569
+ header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
2570
+ # rubocop:enable Style/NegatedIf
2571
+
2572
+ post_body = nil
2573
+
2574
+ # rubocop:disable Metrics/BlockLength
2575
+ OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'OsManagementClient#list_scheduled_jobs') do
2576
+ @api_client.call_api(
2577
+ :GET,
2578
+ path,
2579
+ endpoint,
2580
+ header_params: header_params,
2581
+ query_params: query_params,
2582
+ operation_signing_strategy: operation_signing_strategy,
2583
+ body: post_body,
2584
+ return_type: 'Array<OCI::OsManagement::Models::ScheduledJobSummary>'
2585
+ )
2586
+ end
2587
+ # rubocop:enable Metrics/BlockLength
2588
+ end
2589
+ # rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
2590
+ # rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
2591
+ # rubocop:enable Metrics/MethodLength, Layout/EmptyLines
2592
+
2593
+ # rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
2594
+ # rubocop:disable Style/IfUnlessModifier, Metrics/ParameterLists
2595
+ # rubocop:disable Metrics/MethodLength, Layout/EmptyLines
2596
+
2597
+
2598
+ # Lists Software Packages in a Software Source
2599
+ #
2600
+ # @param [String] software_source_id The OCID of the software source.
2601
+ # @param [Hash] opts the optional parameters
2602
+ # @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
2603
+ # retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
2604
+ # @option opts [String] :compartment_id The ID of the compartment in which to list resources. This parameter is optional and in some cases may have no effect.
2605
+ # @option opts [String] :display_name A user-friendly name. Does not have to be unique, and it's changeable.
2606
+ #
2607
+ # Example: `My new resource`
2608
+ #
2609
+ # @option opts [Integer] :limit The maximum number of items to return. (default to 10)
2610
+ # @option opts [String] :page The page token representing the page at which to start retrieving results. This is usually retrieved from a previous list call.
2611
+ # @option opts [String] :sort_order The sort order to use, either 'asc' or 'desc'. (default to DESC)
2612
+ # Allowed values are: ASC, DESC
2613
+ # @option opts [String] :sort_by The field to sort by. Only one sort order may be provided. Default order for TIMECREATED is descending. Default order for DISPLAYNAME is ascending. If no value is specified TIMECREATED is default.
2614
+ # (default to TIMECREATED)
2615
+ # Allowed values are: TIMECREATED, DISPLAYNAME
2616
+ # @option opts [String] :opc_request_id The client request ID for tracing.
2617
+ # @return [Response] A Response object with data of type Array<{OCI::OsManagement::Models::SoftwarePackageSummary SoftwarePackageSummary}>
2618
+ # @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/osmanagement/list_software_source_packages.rb.html) to see an example of how to use list_software_source_packages API.
2619
+ def list_software_source_packages(software_source_id, opts = {})
2620
+ logger.debug 'Calling operation OsManagementClient#list_software_source_packages.' if logger
2621
+
2622
+ raise "Missing the required parameter 'software_source_id' when calling list_software_source_packages." if software_source_id.nil?
2623
+
2624
+ if opts[:sort_order] && !%w[ASC DESC].include?(opts[:sort_order])
2625
+ raise 'Invalid value for "sort_order", must be one of ASC, DESC.'
2626
+ end
2627
+
2628
+ if opts[:sort_by] && !%w[TIMECREATED DISPLAYNAME].include?(opts[:sort_by])
2629
+ raise 'Invalid value for "sort_by", must be one of TIMECREATED, DISPLAYNAME.'
2630
+ end
2631
+ raise "Parameter value for 'software_source_id' must not be blank" if OCI::Internal::Util.blank_string?(software_source_id)
2632
+
2633
+ path = '/softwareSources/{softwareSourceId}/softwarePackages'.sub('{softwareSourceId}', software_source_id.to_s)
2634
+ operation_signing_strategy = :standard
2635
+
2636
+ # rubocop:disable Style/NegatedIf
2637
+ # Query Params
2638
+ query_params = {}
2639
+ query_params[:compartmentId] = opts[:compartment_id] if opts[:compartment_id]
2640
+ query_params[:displayName] = opts[:display_name] if opts[:display_name]
2641
+ query_params[:limit] = opts[:limit] if opts[:limit]
2642
+ query_params[:page] = opts[:page] if opts[:page]
2643
+ query_params[:sortOrder] = opts[:sort_order] if opts[:sort_order]
2644
+ query_params[:sortBy] = opts[:sort_by] if opts[:sort_by]
2645
+
2646
+ # Header Params
2647
+ header_params = {}
2648
+ header_params[:accept] = 'application/json'
2649
+ header_params[:'content-type'] = 'application/json'
2650
+ header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
2651
+ # rubocop:enable Style/NegatedIf
2652
+
2653
+ post_body = nil
2654
+
2655
+ # rubocop:disable Metrics/BlockLength
2656
+ OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'OsManagementClient#list_software_source_packages') do
2657
+ @api_client.call_api(
2658
+ :GET,
2659
+ path,
2660
+ endpoint,
2661
+ header_params: header_params,
2662
+ query_params: query_params,
2663
+ operation_signing_strategy: operation_signing_strategy,
2664
+ body: post_body,
2665
+ return_type: 'Array<OCI::OsManagement::Models::SoftwarePackageSummary>'
2666
+ )
2667
+ end
2668
+ # rubocop:enable Metrics/BlockLength
2669
+ end
2670
+ # rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
2671
+ # rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
2672
+ # rubocop:enable Metrics/MethodLength, Layout/EmptyLines
2673
+
2674
+ # rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
2675
+ # rubocop:disable Style/IfUnlessModifier, Metrics/ParameterLists
2676
+ # rubocop:disable Metrics/MethodLength, Layout/EmptyLines
2677
+
2678
+
2679
+ # Returns a list of all Software Sources.
2680
+ #
2681
+ # @param [String] compartment_id The ID of the compartment in which to list resources.
2682
+ # @param [Hash] opts the optional parameters
2683
+ # @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
2684
+ # retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
2685
+ # @option opts [String] :display_name A user-friendly name. Does not have to be unique, and it's changeable.
2686
+ #
2687
+ # Example: `My new resource`
2688
+ #
2689
+ # @option opts [Integer] :limit The maximum number of items to return. (default to 10)
2690
+ # @option opts [String] :page The page token representing the page at which to start retrieving results. This is usually retrieved from a previous list call.
2691
+ # @option opts [String] :sort_order The sort order to use, either 'asc' or 'desc'. (default to DESC)
2692
+ # Allowed values are: ASC, DESC
2693
+ # @option opts [String] :sort_by The field to sort by. Only one sort order may be provided. Default order for TIMECREATED is descending. Default order for DISPLAYNAME is ascending. If no value is specified TIMECREATED is default.
2694
+ # (default to TIMECREATED)
2695
+ # Allowed values are: TIMECREATED, DISPLAYNAME
2696
+ # @option opts [String] :lifecycle_state The current lifecycle state for the object.
2697
+ # @option opts [String] :opc_request_id The client request ID for tracing.
2698
+ # @return [Response] A Response object with data of type Array<{OCI::OsManagement::Models::SoftwareSourceSummary SoftwareSourceSummary}>
2699
+ # @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/osmanagement/list_software_sources.rb.html) to see an example of how to use list_software_sources API.
2700
+ def list_software_sources(compartment_id, opts = {})
2701
+ logger.debug 'Calling operation OsManagementClient#list_software_sources.' if logger
2702
+
2703
+ raise "Missing the required parameter 'compartment_id' when calling list_software_sources." if compartment_id.nil?
2704
+
2705
+ if opts[:sort_order] && !%w[ASC DESC].include?(opts[:sort_order])
2706
+ raise 'Invalid value for "sort_order", must be one of ASC, DESC.'
2707
+ end
2708
+
2709
+ if opts[:sort_by] && !%w[TIMECREATED DISPLAYNAME].include?(opts[:sort_by])
2710
+ raise 'Invalid value for "sort_by", must be one of TIMECREATED, DISPLAYNAME.'
2711
+ end
2712
+
2713
+ if opts[:lifecycle_state] && !OCI::OsManagement::Models::LIFECYCLE_STATES_ENUM.include?(opts[:lifecycle_state])
2714
+ raise 'Invalid value for "lifecycle_state", must be one of the values in OCI::OsManagement::Models::LIFECYCLE_STATES_ENUM.'
2715
+ end
2716
+
2717
+ path = '/softwareSources'
2718
+ operation_signing_strategy = :standard
2719
+
2720
+ # rubocop:disable Style/NegatedIf
2721
+ # Query Params
2722
+ query_params = {}
2723
+ query_params[:compartmentId] = compartment_id
2724
+ query_params[:displayName] = opts[:display_name] if opts[:display_name]
2725
+ query_params[:limit] = opts[:limit] if opts[:limit]
2726
+ query_params[:page] = opts[:page] if opts[:page]
2727
+ query_params[:sortOrder] = opts[:sort_order] if opts[:sort_order]
2728
+ query_params[:sortBy] = opts[:sort_by] if opts[:sort_by]
2729
+ query_params[:lifecycleState] = opts[:lifecycle_state] if opts[:lifecycle_state]
2730
+
2731
+ # Header Params
2732
+ header_params = {}
2733
+ header_params[:accept] = 'application/json'
2734
+ header_params[:'content-type'] = 'application/json'
2735
+ header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
2736
+ # rubocop:enable Style/NegatedIf
2737
+
2738
+ post_body = nil
2739
+
2740
+ # rubocop:disable Metrics/BlockLength
2741
+ OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'OsManagementClient#list_software_sources') do
2742
+ @api_client.call_api(
2743
+ :GET,
2744
+ path,
2745
+ endpoint,
2746
+ header_params: header_params,
2747
+ query_params: query_params,
2748
+ operation_signing_strategy: operation_signing_strategy,
2749
+ body: post_body,
2750
+ return_type: 'Array<OCI::OsManagement::Models::SoftwareSourceSummary>'
2751
+ )
2752
+ end
2753
+ # rubocop:enable Metrics/BlockLength
2754
+ end
2755
+ # rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
2756
+ # rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
2757
+ # rubocop:enable Metrics/MethodLength, Layout/EmptyLines
2758
+
2759
+ # rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
2760
+ # rubocop:disable Style/IfUnlessModifier, Metrics/ParameterLists
2761
+ # rubocop:disable Metrics/MethodLength, Layout/EmptyLines
2762
+
2763
+
2764
+ # Returns a list of all of the Scheduled Jobs whose next execution time is at or before the specified time.
2765
+ #
2766
+ # @param [String] compartment_id The ID of the compartment in which to list resources.
2767
+ # @param [DateTime] time_end The cut-off time before which to list all upcoming schedules, in ISO 8601 format
2768
+ #
2769
+ # Example: 2017-07-14T02:40:00.000Z
2770
+ #
2771
+ # @param [Hash] opts the optional parameters
2772
+ # @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
2773
+ # retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
2774
+ # @option opts [String] :display_name A user-friendly name. Does not have to be unique, and it's changeable.
2775
+ #
2776
+ # Example: `My new resource`
2777
+ #
2778
+ # @option opts [Integer] :limit The maximum number of items to return. (default to 10)
2779
+ # @option opts [String] :page The page token representing the page at which to start retrieving results. This is usually retrieved from a previous list call.
2780
+ # @option opts [String] :sort_order The sort order to use, either 'asc' or 'desc'. (default to DESC)
2781
+ # Allowed values are: ASC, DESC
2782
+ # @option opts [String] :sort_by The field to sort by. Only one sort order may be provided. Default order for TIMECREATED is descending. Default order for DISPLAYNAME is ascending. If no value is specified TIMECREATED is default.
2783
+ # (default to TIMECREATED)
2784
+ # Allowed values are: TIMECREATED, DISPLAYNAME
2785
+ # @option opts [String] :tag_name The name of the tag.
2786
+ # @option opts [String] :tag_value The value for the tag.
2787
+ # @option opts [String] :lifecycle_state The current lifecycle state for the object.
2788
+ # @option opts [String] :opc_request_id The client request ID for tracing.
2789
+ # @option opts [String] :os_family The OS family for which to list resources.
2790
+ # @return [Response] A Response object with data of type Array<{OCI::OsManagement::Models::ScheduledJobSummary ScheduledJobSummary}>
2791
+ # @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/osmanagement/list_upcoming_scheduled_jobs.rb.html) to see an example of how to use list_upcoming_scheduled_jobs API.
2792
+ def list_upcoming_scheduled_jobs(compartment_id, time_end, opts = {})
2793
+ logger.debug 'Calling operation OsManagementClient#list_upcoming_scheduled_jobs.' if logger
2794
+
2795
+ raise "Missing the required parameter 'compartment_id' when calling list_upcoming_scheduled_jobs." if compartment_id.nil?
2796
+ raise "Missing the required parameter 'time_end' when calling list_upcoming_scheduled_jobs." if time_end.nil?
2797
+
2798
+ if opts[:sort_order] && !%w[ASC DESC].include?(opts[:sort_order])
2799
+ raise 'Invalid value for "sort_order", must be one of ASC, DESC.'
2800
+ end
2801
+
2802
+ if opts[:sort_by] && !%w[TIMECREATED DISPLAYNAME].include?(opts[:sort_by])
2803
+ raise 'Invalid value for "sort_by", must be one of TIMECREATED, DISPLAYNAME.'
2804
+ end
2805
+
2806
+ if opts[:lifecycle_state] && !OCI::OsManagement::Models::LIFECYCLE_STATES_ENUM.include?(opts[:lifecycle_state])
2807
+ raise 'Invalid value for "lifecycle_state", must be one of the values in OCI::OsManagement::Models::LIFECYCLE_STATES_ENUM.'
2808
+ end
2809
+
2810
+ if opts[:os_family] && !OCI::OsManagement::Models::OS_FAMILIES_ENUM.include?(opts[:os_family])
2811
+ raise 'Invalid value for "os_family", must be one of the values in OCI::OsManagement::Models::OS_FAMILIES_ENUM.'
2812
+ end
2813
+
2814
+ path = '/scheduledJobs/upcomingSchedules'
2815
+ operation_signing_strategy = :standard
2816
+
2817
+ # rubocop:disable Style/NegatedIf
2818
+ # Query Params
2819
+ query_params = {}
2820
+ query_params[:compartmentId] = compartment_id
2821
+ query_params[:timeEnd] = time_end
2822
+ query_params[:displayName] = opts[:display_name] if opts[:display_name]
2823
+ query_params[:limit] = opts[:limit] if opts[:limit]
2824
+ query_params[:page] = opts[:page] if opts[:page]
2825
+ query_params[:sortOrder] = opts[:sort_order] if opts[:sort_order]
2826
+ query_params[:sortBy] = opts[:sort_by] if opts[:sort_by]
2827
+ query_params[:tagName] = opts[:tag_name] if opts[:tag_name]
2828
+ query_params[:tagValue] = opts[:tag_value] if opts[:tag_value]
2829
+ query_params[:lifecycleState] = opts[:lifecycle_state] if opts[:lifecycle_state]
2830
+ query_params[:osFamily] = opts[:os_family] if opts[:os_family]
2831
+
2832
+ # Header Params
2833
+ header_params = {}
2834
+ header_params[:accept] = 'application/json'
2835
+ header_params[:'content-type'] = 'application/json'
2836
+ header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
2837
+ # rubocop:enable Style/NegatedIf
2838
+
2839
+ post_body = nil
2840
+
2841
+ # rubocop:disable Metrics/BlockLength
2842
+ OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'OsManagementClient#list_upcoming_scheduled_jobs') do
2843
+ @api_client.call_api(
2844
+ :GET,
2845
+ path,
2846
+ endpoint,
2847
+ header_params: header_params,
2848
+ query_params: query_params,
2849
+ operation_signing_strategy: operation_signing_strategy,
2850
+ body: post_body,
2851
+ return_type: 'Array<OCI::OsManagement::Models::ScheduledJobSummary>'
2852
+ )
2853
+ end
2854
+ # rubocop:enable Metrics/BlockLength
2855
+ end
2856
+ # rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
2857
+ # rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
2858
+ # rubocop:enable Metrics/MethodLength, Layout/EmptyLines
2859
+
2860
+ # rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
2861
+ # rubocop:disable Style/IfUnlessModifier, Metrics/ParameterLists
2862
+ # rubocop:disable Metrics/MethodLength, Layout/EmptyLines
2863
+
2864
+
2865
+ # Returns a list of Windows Updates.
2866
+ #
2867
+ # @param [Hash] opts the optional parameters
2868
+ # @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
2869
+ # retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
2870
+ # @option opts [String] :compartment_id The ID of the compartment in which to list resources. This parameter is optional and in some cases may have no effect.
2871
+ # @option opts [String] :display_name A user-friendly name. Does not have to be unique, and it's changeable.
2872
+ #
2873
+ # Example: `My new resource`
2874
+ #
2875
+ # @option opts [Integer] :limit The maximum number of items to return. (default to 10)
2876
+ # @option opts [String] :page The page token representing the page at which to start retrieving results. This is usually retrieved from a previous list call.
2877
+ # @option opts [String] :sort_order The sort order to use, either 'asc' or 'desc'. (default to DESC)
2878
+ # Allowed values are: ASC, DESC
2879
+ # @option opts [String] :sort_by The field to sort by. Only one sort order may be provided. Default order for TIMECREATED is descending. Default order for DISPLAYNAME is ascending. If no value is specified TIMECREATED is default.
2880
+ # (default to TIMECREATED)
2881
+ # Allowed values are: TIMECREATED, DISPLAYNAME
2882
+ # @option opts [String] :opc_request_id The client request ID for tracing.
2883
+ # @return [Response] A Response object with data of type Array<{OCI::OsManagement::Models::WindowsUpdateSummary WindowsUpdateSummary}>
2884
+ # @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/osmanagement/list_windows_updates.rb.html) to see an example of how to use list_windows_updates API.
2885
+ def list_windows_updates(opts = {})
2886
+ logger.debug 'Calling operation OsManagementClient#list_windows_updates.' if logger
2887
+
2888
+
2889
+ if opts[:sort_order] && !%w[ASC DESC].include?(opts[:sort_order])
2890
+ raise 'Invalid value for "sort_order", must be one of ASC, DESC.'
2891
+ end
2892
+
2893
+ if opts[:sort_by] && !%w[TIMECREATED DISPLAYNAME].include?(opts[:sort_by])
2894
+ raise 'Invalid value for "sort_by", must be one of TIMECREATED, DISPLAYNAME.'
2895
+ end
2896
+
2897
+ path = '/updates'
2898
+ operation_signing_strategy = :standard
2899
+
2900
+ # rubocop:disable Style/NegatedIf
2901
+ # Query Params
2902
+ query_params = {}
2903
+ query_params[:compartmentId] = opts[:compartment_id] if opts[:compartment_id]
2904
+ query_params[:displayName] = opts[:display_name] if opts[:display_name]
2905
+ query_params[:limit] = opts[:limit] if opts[:limit]
2906
+ query_params[:page] = opts[:page] if opts[:page]
2907
+ query_params[:sortOrder] = opts[:sort_order] if opts[:sort_order]
2908
+ query_params[:sortBy] = opts[:sort_by] if opts[:sort_by]
2909
+
2910
+ # Header Params
2911
+ header_params = {}
2912
+ header_params[:accept] = 'application/json'
2913
+ header_params[:'content-type'] = 'application/json'
2914
+ header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
2915
+ # rubocop:enable Style/NegatedIf
2916
+
2917
+ post_body = nil
2918
+
2919
+ # rubocop:disable Metrics/BlockLength
2920
+ OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'OsManagementClient#list_windows_updates') do
2921
+ @api_client.call_api(
2922
+ :GET,
2923
+ path,
2924
+ endpoint,
2925
+ header_params: header_params,
2926
+ query_params: query_params,
2927
+ operation_signing_strategy: operation_signing_strategy,
2928
+ body: post_body,
2929
+ return_type: 'Array<OCI::OsManagement::Models::WindowsUpdateSummary>'
2930
+ )
2931
+ end
2932
+ # rubocop:enable Metrics/BlockLength
2933
+ end
2934
+ # rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
2935
+ # rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
2936
+ # rubocop:enable Metrics/MethodLength, Layout/EmptyLines
2937
+
2938
+ # rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
2939
+ # rubocop:disable Style/IfUnlessModifier, Metrics/ParameterLists
2940
+ # rubocop:disable Metrics/MethodLength, Layout/EmptyLines
2941
+
2942
+
2943
+ # Returns a list of installed Windows updates for a Managed Instance. This is only applicable to Windows instances.
2944
+ #
2945
+ # @param [String] managed_instance_id OCID for the managed instance
2946
+ # @param [Hash] opts the optional parameters
2947
+ # @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
2948
+ # retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
2949
+ # @option opts [String] :display_name A user-friendly name. Does not have to be unique, and it's changeable.
2950
+ #
2951
+ # Example: `My new resource`
2952
+ #
2953
+ # @option opts [String] :compartment_id The ID of the compartment in which to list resources. This parameter is optional and in some cases may have no effect.
2954
+ # @option opts [Integer] :limit The maximum number of items to return. (default to 10)
2955
+ # @option opts [String] :page The page token representing the page at which to start retrieving results. This is usually retrieved from a previous list call.
2956
+ # @option opts [String] :sort_order The sort order to use, either 'asc' or 'desc'. (default to DESC)
2957
+ # Allowed values are: ASC, DESC
2958
+ # @option opts [String] :sort_by The field to sort by. Only one sort order may be provided. Default order for TIMECREATED is descending. Default order for DISPLAYNAME is ascending. If no value is specified TIMECREATED is default.
2959
+ # (default to TIMECREATED)
2960
+ # Allowed values are: TIMECREATED, DISPLAYNAME
2961
+ # @option opts [String] :opc_request_id The client request ID for tracing.
2962
+ # @return [Response] A Response object with data of type Array<{OCI::OsManagement::Models::InstalledWindowsUpdateSummary InstalledWindowsUpdateSummary}>
2963
+ # @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/osmanagement/list_windows_updates_installed_on_managed_instance.rb.html) to see an example of how to use list_windows_updates_installed_on_managed_instance API.
2964
+ def list_windows_updates_installed_on_managed_instance(managed_instance_id, opts = {})
2965
+ logger.debug 'Calling operation OsManagementClient#list_windows_updates_installed_on_managed_instance.' if logger
2966
+
2967
+ raise "Missing the required parameter 'managed_instance_id' when calling list_windows_updates_installed_on_managed_instance." if managed_instance_id.nil?
2968
+
2969
+ if opts[:sort_order] && !%w[ASC DESC].include?(opts[:sort_order])
2970
+ raise 'Invalid value for "sort_order", must be one of ASC, DESC.'
2971
+ end
2972
+
2973
+ if opts[:sort_by] && !%w[TIMECREATED DISPLAYNAME].include?(opts[:sort_by])
2974
+ raise 'Invalid value for "sort_by", must be one of TIMECREATED, DISPLAYNAME.'
2975
+ end
2976
+ raise "Parameter value for 'managed_instance_id' must not be blank" if OCI::Internal::Util.blank_string?(managed_instance_id)
2977
+
2978
+ path = '/managedInstances/{managedInstanceId}/updates/installed'.sub('{managedInstanceId}', managed_instance_id.to_s)
2979
+ operation_signing_strategy = :standard
2980
+
2981
+ # rubocop:disable Style/NegatedIf
2982
+ # Query Params
2983
+ query_params = {}
2984
+ query_params[:displayName] = opts[:display_name] if opts[:display_name]
2985
+ query_params[:compartmentId] = opts[:compartment_id] if opts[:compartment_id]
2986
+ query_params[:limit] = opts[:limit] if opts[:limit]
2987
+ query_params[:page] = opts[:page] if opts[:page]
2988
+ query_params[:sortOrder] = opts[:sort_order] if opts[:sort_order]
2989
+ query_params[:sortBy] = opts[:sort_by] if opts[:sort_by]
2990
+
2991
+ # Header Params
2992
+ header_params = {}
2993
+ header_params[:accept] = 'application/json'
2994
+ header_params[:'content-type'] = 'application/json'
2995
+ header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
2996
+ # rubocop:enable Style/NegatedIf
2997
+
2998
+ post_body = nil
2999
+
3000
+ # rubocop:disable Metrics/BlockLength
3001
+ OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'OsManagementClient#list_windows_updates_installed_on_managed_instance') do
3002
+ @api_client.call_api(
3003
+ :GET,
3004
+ path,
3005
+ endpoint,
3006
+ header_params: header_params,
3007
+ query_params: query_params,
3008
+ operation_signing_strategy: operation_signing_strategy,
3009
+ body: post_body,
3010
+ return_type: 'Array<OCI::OsManagement::Models::InstalledWindowsUpdateSummary>'
3011
+ )
3012
+ end
3013
+ # rubocop:enable Metrics/BlockLength
3014
+ end
3015
+ # rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
3016
+ # rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
3017
+ # rubocop:enable Metrics/MethodLength, Layout/EmptyLines
3018
+
3019
+ # rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
3020
+ # rubocop:disable Style/IfUnlessModifier, Metrics/ParameterLists
3021
+ # rubocop:disable Metrics/MethodLength, Layout/EmptyLines
3022
+
3023
+
3024
+ # Gets the errors for the work request with the given ID.
3025
+ # @param [String] work_request_id The ID of the asynchronous request.
3026
+ # @param [Hash] opts the optional parameters
3027
+ # @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
3028
+ # retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
3029
+ # @option opts [Integer] :limit The maximum number of items to return. (default to 10)
3030
+ # @option opts [String] :page The page token representing the page at which to start retrieving results. This is usually retrieved from a previous list call.
3031
+ # @option opts [String] :sort_order The sort order to use, either 'asc' or 'desc'. (default to DESC)
3032
+ # Allowed values are: ASC, DESC
3033
+ # @option opts [String] :sort_by The field to sort by. Only one sort order may be provided. Default order for TIMECREATED is descending. Default order for DISPLAYNAME is ascending. If no value is specified TIMECREATED is default.
3034
+ # (default to TIMECREATED)
3035
+ # Allowed values are: TIMECREATED, DISPLAYNAME
3036
+ # @option opts [String] :opc_request_id The client request ID for tracing.
3037
+ # @return [Response] A Response object with data of type Array<{OCI::OsManagement::Models::WorkRequestError WorkRequestError}>
3038
+ # @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/osmanagement/list_work_request_errors.rb.html) to see an example of how to use list_work_request_errors API.
3039
+ def list_work_request_errors(work_request_id, opts = {})
3040
+ logger.debug 'Calling operation OsManagementClient#list_work_request_errors.' if logger
3041
+
3042
+ raise "Missing the required parameter 'work_request_id' when calling list_work_request_errors." if work_request_id.nil?
3043
+
3044
+ if opts[:sort_order] && !%w[ASC DESC].include?(opts[:sort_order])
3045
+ raise 'Invalid value for "sort_order", must be one of ASC, DESC.'
3046
+ end
3047
+
3048
+ if opts[:sort_by] && !%w[TIMECREATED DISPLAYNAME].include?(opts[:sort_by])
3049
+ raise 'Invalid value for "sort_by", must be one of TIMECREATED, DISPLAYNAME.'
3050
+ end
3051
+ raise "Parameter value for 'work_request_id' must not be blank" if OCI::Internal::Util.blank_string?(work_request_id)
3052
+
3053
+ path = '/workRequests/{workRequestId}/errors'.sub('{workRequestId}', work_request_id.to_s)
3054
+ operation_signing_strategy = :standard
3055
+
3056
+ # rubocop:disable Style/NegatedIf
3057
+ # Query Params
3058
+ query_params = {}
3059
+ query_params[:limit] = opts[:limit] if opts[:limit]
3060
+ query_params[:page] = opts[:page] if opts[:page]
3061
+ query_params[:sortOrder] = opts[:sort_order] if opts[:sort_order]
3062
+ query_params[:sortBy] = opts[:sort_by] if opts[:sort_by]
3063
+
3064
+ # Header Params
3065
+ header_params = {}
3066
+ header_params[:accept] = 'application/json'
3067
+ header_params[:'content-type'] = 'application/json'
3068
+ header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
3069
+ # rubocop:enable Style/NegatedIf
3070
+
3071
+ post_body = nil
3072
+
3073
+ # rubocop:disable Metrics/BlockLength
3074
+ OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'OsManagementClient#list_work_request_errors') do
3075
+ @api_client.call_api(
3076
+ :GET,
3077
+ path,
3078
+ endpoint,
3079
+ header_params: header_params,
3080
+ query_params: query_params,
3081
+ operation_signing_strategy: operation_signing_strategy,
3082
+ body: post_body,
3083
+ return_type: 'Array<OCI::OsManagement::Models::WorkRequestError>'
3084
+ )
3085
+ end
3086
+ # rubocop:enable Metrics/BlockLength
3087
+ end
3088
+ # rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
3089
+ # rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
3090
+ # rubocop:enable Metrics/MethodLength, Layout/EmptyLines
3091
+
3092
+ # rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
3093
+ # rubocop:disable Style/IfUnlessModifier, Metrics/ParameterLists
3094
+ # rubocop:disable Metrics/MethodLength, Layout/EmptyLines
3095
+
3096
+
3097
+ # Lists the log entries for the work request with the given ID.
3098
+ # @param [String] work_request_id The ID of the asynchronous request.
3099
+ # @param [Hash] opts the optional parameters
3100
+ # @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
3101
+ # retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
3102
+ # @option opts [Integer] :limit The maximum number of items to return. (default to 10)
3103
+ # @option opts [String] :page The page token representing the page at which to start retrieving results. This is usually retrieved from a previous list call.
3104
+ # @option opts [String] :sort_order The sort order to use, either 'asc' or 'desc'. (default to DESC)
3105
+ # Allowed values are: ASC, DESC
3106
+ # @option opts [String] :sort_by The field to sort by. Only one sort order may be provided. Default order for TIMECREATED is descending. Default order for DISPLAYNAME is ascending. If no value is specified TIMECREATED is default.
3107
+ # (default to TIMECREATED)
3108
+ # Allowed values are: TIMECREATED, DISPLAYNAME
3109
+ # @option opts [String] :opc_request_id The client request ID for tracing.
3110
+ # @return [Response] A Response object with data of type Array<{OCI::OsManagement::Models::WorkRequestLogEntry WorkRequestLogEntry}>
3111
+ # @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/osmanagement/list_work_request_logs.rb.html) to see an example of how to use list_work_request_logs API.
3112
+ def list_work_request_logs(work_request_id, opts = {})
3113
+ logger.debug 'Calling operation OsManagementClient#list_work_request_logs.' if logger
3114
+
3115
+ raise "Missing the required parameter 'work_request_id' when calling list_work_request_logs." if work_request_id.nil?
3116
+
3117
+ if opts[:sort_order] && !%w[ASC DESC].include?(opts[:sort_order])
3118
+ raise 'Invalid value for "sort_order", must be one of ASC, DESC.'
3119
+ end
3120
+
3121
+ if opts[:sort_by] && !%w[TIMECREATED DISPLAYNAME].include?(opts[:sort_by])
3122
+ raise 'Invalid value for "sort_by", must be one of TIMECREATED, DISPLAYNAME.'
3123
+ end
3124
+ raise "Parameter value for 'work_request_id' must not be blank" if OCI::Internal::Util.blank_string?(work_request_id)
3125
+
3126
+ path = '/workRequests/{workRequestId}/logs'.sub('{workRequestId}', work_request_id.to_s)
3127
+ operation_signing_strategy = :standard
3128
+
3129
+ # rubocop:disable Style/NegatedIf
3130
+ # Query Params
3131
+ query_params = {}
3132
+ query_params[:limit] = opts[:limit] if opts[:limit]
3133
+ query_params[:page] = opts[:page] if opts[:page]
3134
+ query_params[:sortOrder] = opts[:sort_order] if opts[:sort_order]
3135
+ query_params[:sortBy] = opts[:sort_by] if opts[:sort_by]
3136
+
3137
+ # Header Params
3138
+ header_params = {}
3139
+ header_params[:accept] = 'application/json'
3140
+ header_params[:'content-type'] = 'application/json'
3141
+ header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
3142
+ # rubocop:enable Style/NegatedIf
3143
+
3144
+ post_body = nil
3145
+
3146
+ # rubocop:disable Metrics/BlockLength
3147
+ OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'OsManagementClient#list_work_request_logs') do
3148
+ @api_client.call_api(
3149
+ :GET,
3150
+ path,
3151
+ endpoint,
3152
+ header_params: header_params,
3153
+ query_params: query_params,
3154
+ operation_signing_strategy: operation_signing_strategy,
3155
+ body: post_body,
3156
+ return_type: 'Array<OCI::OsManagement::Models::WorkRequestLogEntry>'
3157
+ )
3158
+ end
3159
+ # rubocop:enable Metrics/BlockLength
3160
+ end
3161
+ # rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
3162
+ # rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
3163
+ # rubocop:enable Metrics/MethodLength, Layout/EmptyLines
3164
+
3165
+ # rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
3166
+ # rubocop:disable Style/IfUnlessModifier, Metrics/ParameterLists
3167
+ # rubocop:disable Metrics/MethodLength, Layout/EmptyLines
3168
+
3169
+
3170
+ # Lists the work requests in a compartment.
3171
+ #
3172
+ # @param [String] compartment_id The ID of the compartment in which to list resources.
3173
+ # @param [Hash] opts the optional parameters
3174
+ # @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
3175
+ # retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
3176
+ # @option opts [String] :display_name A user-friendly name. Does not have to be unique, and it's changeable.
3177
+ #
3178
+ # Example: `My new resource`
3179
+ #
3180
+ # @option opts [String] :managed_instance_id The ID of the managed instance for which to list resources.
3181
+ # @option opts [Integer] :limit The maximum number of items to return. (default to 10)
3182
+ # @option opts [String] :page The page token representing the page at which to start retrieving results. This is usually retrieved from a previous list call.
3183
+ # @option opts [String] :sort_order The sort order to use, either 'asc' or 'desc'. (default to DESC)
3184
+ # Allowed values are: ASC, DESC
3185
+ # @option opts [String] :sort_by The field to sort by. Only one sort order may be provided. Default order for TIMECREATED is descending. Default order for DISPLAYNAME is ascending. If no value is specified TIMECREATED is default.
3186
+ # (default to TIMECREATED)
3187
+ # Allowed values are: TIMECREATED, DISPLAYNAME
3188
+ # @option opts [String] :opc_request_id The client request ID for tracing.
3189
+ # @option opts [String] :os_family The OS family for which to list resources.
3190
+ # @return [Response] A Response object with data of type Array<{OCI::OsManagement::Models::WorkRequestSummary WorkRequestSummary}>
3191
+ # @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/osmanagement/list_work_requests.rb.html) to see an example of how to use list_work_requests API.
3192
+ def list_work_requests(compartment_id, opts = {})
3193
+ logger.debug 'Calling operation OsManagementClient#list_work_requests.' if logger
3194
+
3195
+ raise "Missing the required parameter 'compartment_id' when calling list_work_requests." if compartment_id.nil?
3196
+
3197
+ if opts[:sort_order] && !%w[ASC DESC].include?(opts[:sort_order])
3198
+ raise 'Invalid value for "sort_order", must be one of ASC, DESC.'
3199
+ end
3200
+
3201
+ if opts[:sort_by] && !%w[TIMECREATED DISPLAYNAME].include?(opts[:sort_by])
3202
+ raise 'Invalid value for "sort_by", must be one of TIMECREATED, DISPLAYNAME.'
3203
+ end
3204
+
3205
+ if opts[:os_family] && !OCI::OsManagement::Models::OS_FAMILIES_ENUM.include?(opts[:os_family])
3206
+ raise 'Invalid value for "os_family", must be one of the values in OCI::OsManagement::Models::OS_FAMILIES_ENUM.'
3207
+ end
3208
+
3209
+ path = '/workRequests'
3210
+ operation_signing_strategy = :standard
3211
+
3212
+ # rubocop:disable Style/NegatedIf
3213
+ # Query Params
3214
+ query_params = {}
3215
+ query_params[:compartmentId] = compartment_id
3216
+ query_params[:displayName] = opts[:display_name] if opts[:display_name]
3217
+ query_params[:managedInstanceId] = opts[:managed_instance_id] if opts[:managed_instance_id]
3218
+ query_params[:limit] = opts[:limit] if opts[:limit]
3219
+ query_params[:page] = opts[:page] if opts[:page]
3220
+ query_params[:sortOrder] = opts[:sort_order] if opts[:sort_order]
3221
+ query_params[:sortBy] = opts[:sort_by] if opts[:sort_by]
3222
+ query_params[:osFamily] = opts[:os_family] if opts[:os_family]
3223
+
3224
+ # Header Params
3225
+ header_params = {}
3226
+ header_params[:accept] = 'application/json'
3227
+ header_params[:'content-type'] = 'application/json'
3228
+ header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
3229
+ # rubocop:enable Style/NegatedIf
3230
+
3231
+ post_body = nil
3232
+
3233
+ # rubocop:disable Metrics/BlockLength
3234
+ OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'OsManagementClient#list_work_requests') do
3235
+ @api_client.call_api(
3236
+ :GET,
3237
+ path,
3238
+ endpoint,
3239
+ header_params: header_params,
3240
+ query_params: query_params,
3241
+ operation_signing_strategy: operation_signing_strategy,
3242
+ body: post_body,
3243
+ return_type: 'Array<OCI::OsManagement::Models::WorkRequestSummary>'
3244
+ )
3245
+ end
3246
+ # rubocop:enable Metrics/BlockLength
3247
+ end
3248
+ # rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
3249
+ # rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
3250
+ # rubocop:enable Metrics/MethodLength, Layout/EmptyLines
3251
+
3252
+ # rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
3253
+ # rubocop:disable Style/IfUnlessModifier, Metrics/ParameterLists
3254
+ # rubocop:disable Metrics/MethodLength, Layout/EmptyLines
3255
+
3256
+
3257
+ # Removes an installed package from a managed instance.
3258
+ #
3259
+ # @param [String] managed_instance_id OCID for the managed instance
3260
+ # @param [String] software_package_name Package name
3261
+ # @param [Hash] opts the optional parameters
3262
+ # @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
3263
+ # retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
3264
+ # @option opts [String] :opc_request_id The client request ID for tracing.
3265
+ # @option opts [String] :opc_retry_token A token that uniquely identifies a request so it can be retried in case of a timeout or
3266
+ # server error without risk of executing that same action again. Retry tokens expire after 24
3267
+ # hours, but can be invalidated before then due to conflicting operations. For example, if a resource
3268
+ # has been deleted and purged from the system, then a retry of the original creation request
3269
+ # might be rejected.
3270
+ #
3271
+ # @return [Response] A Response object with data of type nil
3272
+ # @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/osmanagement/remove_package_from_managed_instance.rb.html) to see an example of how to use remove_package_from_managed_instance API.
3273
+ def remove_package_from_managed_instance(managed_instance_id, software_package_name, opts = {})
3274
+ logger.debug 'Calling operation OsManagementClient#remove_package_from_managed_instance.' if logger
3275
+
3276
+ raise "Missing the required parameter 'managed_instance_id' when calling remove_package_from_managed_instance." if managed_instance_id.nil?
3277
+ raise "Missing the required parameter 'software_package_name' when calling remove_package_from_managed_instance." if software_package_name.nil?
3278
+ raise "Parameter value for 'managed_instance_id' must not be blank" if OCI::Internal::Util.blank_string?(managed_instance_id)
3279
+
3280
+ path = '/managedInstances/{managedInstanceId}/actions/packages/remove'.sub('{managedInstanceId}', managed_instance_id.to_s)
3281
+ operation_signing_strategy = :standard
3282
+
3283
+ # rubocop:disable Style/NegatedIf
3284
+ # Query Params
3285
+ query_params = {}
3286
+ query_params[:softwarePackageName] = software_package_name
3287
+
3288
+ # Header Params
3289
+ header_params = {}
3290
+ header_params[:accept] = 'application/json'
3291
+ header_params[:'content-type'] = 'application/json'
3292
+ header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
3293
+ header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token]
3294
+ # rubocop:enable Style/NegatedIf
3295
+ header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token
3296
+
3297
+ post_body = nil
3298
+
3299
+ # rubocop:disable Metrics/BlockLength
3300
+ OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'OsManagementClient#remove_package_from_managed_instance') do
3301
+ @api_client.call_api(
3302
+ :POST,
3303
+ path,
3304
+ endpoint,
3305
+ header_params: header_params,
3306
+ query_params: query_params,
3307
+ operation_signing_strategy: operation_signing_strategy,
3308
+ body: post_body
3309
+ )
3310
+ end
3311
+ # rubocop:enable Metrics/BlockLength
3312
+ end
3313
+ # rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
3314
+ # rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
3315
+ # rubocop:enable Metrics/MethodLength, Layout/EmptyLines
3316
+
3317
+ # rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
3318
+ # rubocop:disable Style/IfUnlessModifier, Metrics/ParameterLists
3319
+ # rubocop:disable Metrics/MethodLength, Layout/EmptyLines
3320
+
3321
+
3322
+ # Removes a given list of Software Packages from a specific Software Source.
3323
+ #
3324
+ # @param [String] software_source_id The OCID of the software source.
3325
+ # @param [OCI::OsManagement::Models::RemovePackagesFromSoftwareSourceDetails] remove_packages_from_software_source_details A list of package identifiers
3326
+ # @param [Hash] opts the optional parameters
3327
+ # @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
3328
+ # retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
3329
+ # @option opts [String] :opc_request_id The client request ID for tracing.
3330
+ # @return [Response] A Response object with data of type nil
3331
+ # @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/osmanagement/remove_packages_from_software_source.rb.html) to see an example of how to use remove_packages_from_software_source API.
3332
+ def remove_packages_from_software_source(software_source_id, remove_packages_from_software_source_details, opts = {})
3333
+ logger.debug 'Calling operation OsManagementClient#remove_packages_from_software_source.' if logger
3334
+
3335
+ raise "Missing the required parameter 'software_source_id' when calling remove_packages_from_software_source." if software_source_id.nil?
3336
+ raise "Missing the required parameter 'remove_packages_from_software_source_details' when calling remove_packages_from_software_source." if remove_packages_from_software_source_details.nil?
3337
+ raise "Parameter value for 'software_source_id' must not be blank" if OCI::Internal::Util.blank_string?(software_source_id)
3338
+
3339
+ path = '/softwareSources/{softwareSourceId}/actions/removePackages'.sub('{softwareSourceId}', software_source_id.to_s)
3340
+ operation_signing_strategy = :standard
3341
+
3342
+ # rubocop:disable Style/NegatedIf
3343
+ # Query Params
3344
+ query_params = {}
3345
+
3346
+ # Header Params
3347
+ header_params = {}
3348
+ header_params[:accept] = 'application/json'
3349
+ header_params[:'content-type'] = 'application/json'
3350
+ header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
3351
+ # rubocop:enable Style/NegatedIf
3352
+
3353
+ post_body = @api_client.object_to_http_body(remove_packages_from_software_source_details)
3354
+
3355
+ # rubocop:disable Metrics/BlockLength
3356
+ OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'OsManagementClient#remove_packages_from_software_source') do
3357
+ @api_client.call_api(
3358
+ :POST,
3359
+ path,
3360
+ endpoint,
3361
+ header_params: header_params,
3362
+ query_params: query_params,
3363
+ operation_signing_strategy: operation_signing_strategy,
3364
+ body: post_body
3365
+ )
3366
+ end
3367
+ # rubocop:enable Metrics/BlockLength
3368
+ end
3369
+ # rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
3370
+ # rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
3371
+ # rubocop:enable Metrics/MethodLength, Layout/EmptyLines
3372
+
3373
+ # rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
3374
+ # rubocop:disable Style/IfUnlessModifier, Metrics/ParameterLists
3375
+ # rubocop:disable Metrics/MethodLength, Layout/EmptyLines
3376
+
3377
+
3378
+ # This will trigger an already created Scheduled Job to being executing
3379
+ # immediately instead of waiting for its next regularly scheduled time.
3380
+ #
3381
+ # @param [String] scheduled_job_id The ID of the scheduled job.
3382
+ # @param [Hash] opts the optional parameters
3383
+ # @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
3384
+ # retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
3385
+ # @option opts [String] :opc_request_id The client request ID for tracing.
3386
+ # @option opts [String] :if_match For optimistic concurrency control. In the PUT or DELETE call
3387
+ # for a resource, set the `if-match` parameter to the value of the
3388
+ # etag from a previous GET or POST response for that resource.
3389
+ # The resource will be updated or deleted only if the etag you
3390
+ # provide matches the resource's current etag value.
3391
+ #
3392
+ # @option opts [String] :opc_retry_token A token that uniquely identifies a request so it can be retried in case of a timeout or
3393
+ # server error without risk of executing that same action again. Retry tokens expire after 24
3394
+ # hours, but can be invalidated before then due to conflicting operations. For example, if a resource
3395
+ # has been deleted and purged from the system, then a retry of the original creation request
3396
+ # might be rejected.
3397
+ #
3398
+ # @return [Response] A Response object with data of type nil
3399
+ # @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/osmanagement/run_scheduled_job_now.rb.html) to see an example of how to use run_scheduled_job_now API.
3400
+ def run_scheduled_job_now(scheduled_job_id, opts = {})
3401
+ logger.debug 'Calling operation OsManagementClient#run_scheduled_job_now.' if logger
3402
+
3403
+ raise "Missing the required parameter 'scheduled_job_id' when calling run_scheduled_job_now." if scheduled_job_id.nil?
3404
+ raise "Parameter value for 'scheduled_job_id' must not be blank" if OCI::Internal::Util.blank_string?(scheduled_job_id)
3405
+
3406
+ path = '/scheduledJobs/{scheduledJobId}/actions/runNow'.sub('{scheduledJobId}', scheduled_job_id.to_s)
3407
+ operation_signing_strategy = :standard
3408
+
3409
+ # rubocop:disable Style/NegatedIf
3410
+ # Query Params
3411
+ query_params = {}
3412
+
3413
+ # Header Params
3414
+ header_params = {}
3415
+ header_params[:accept] = 'application/json'
3416
+ header_params[:'content-type'] = 'application/json'
3417
+ header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
3418
+ header_params[:'if-match'] = opts[:if_match] if opts[:if_match]
3419
+ header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token]
3420
+ # rubocop:enable Style/NegatedIf
3421
+ header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token
3422
+
3423
+ post_body = nil
3424
+
3425
+ # rubocop:disable Metrics/BlockLength
3426
+ OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'OsManagementClient#run_scheduled_job_now') do
3427
+ @api_client.call_api(
3428
+ :POST,
3429
+ path,
3430
+ endpoint,
3431
+ header_params: header_params,
3432
+ query_params: query_params,
3433
+ operation_signing_strategy: operation_signing_strategy,
3434
+ body: post_body
3435
+ )
3436
+ end
3437
+ # rubocop:enable Metrics/BlockLength
3438
+ end
3439
+ # rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
3440
+ # rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
3441
+ # rubocop:enable Metrics/MethodLength, Layout/EmptyLines
3442
+
3443
+ # rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
3444
+ # rubocop:disable Style/IfUnlessModifier, Metrics/ParameterLists
3445
+ # rubocop:disable Metrics/MethodLength, Layout/EmptyLines
3446
+
3447
+
3448
+ # Searches all of the available Software Sources and returns any/all Software Packages matching
3449
+ # the search criteria.
3450
+ #
3451
+ # @param [Hash] opts the optional parameters
3452
+ # @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
3453
+ # retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
3454
+ # @option opts [String] :software_package_name the identifier for the software package (not an OCID)
3455
+ # @option opts [String] :display_name A user-friendly name. Does not have to be unique, and it's changeable.
3456
+ #
3457
+ # Example: `My new resource`
3458
+ #
3459
+ # @option opts [String] :cve_name The name of the CVE as published.
3460
+ # Example: `CVE-2006-4535`
3461
+ #
3462
+ # @option opts [Integer] :limit The maximum number of items to return. (default to 10)
3463
+ # @option opts [String] :page The page token representing the page at which to start retrieving results. This is usually retrieved from a previous list call.
3464
+ # @option opts [String] :sort_order The sort order to use, either 'asc' or 'desc'. (default to DESC)
3465
+ # Allowed values are: ASC, DESC
3466
+ # @option opts [String] :sort_by The field to sort by. Only one sort order may be provided. Default order for TIMECREATED is descending. Default order for DISPLAYNAME is ascending. If no value is specified TIMECREATED is default.
3467
+ # (default to TIMECREATED)
3468
+ # Allowed values are: TIMECREATED, DISPLAYNAME
3469
+ # @option opts [String] :opc_request_id The client request ID for tracing.
3470
+ # @return [Response] A Response object with data of type Array<{OCI::OsManagement::Models::SoftwarePackageSearchSummary SoftwarePackageSearchSummary}>
3471
+ # @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/osmanagement/search_software_packages.rb.html) to see an example of how to use search_software_packages API.
3472
+ def search_software_packages(opts = {})
3473
+ logger.debug 'Calling operation OsManagementClient#search_software_packages.' if logger
3474
+
3475
+
3476
+ if opts[:sort_order] && !%w[ASC DESC].include?(opts[:sort_order])
3477
+ raise 'Invalid value for "sort_order", must be one of ASC, DESC.'
3478
+ end
3479
+
3480
+ if opts[:sort_by] && !%w[TIMECREATED DISPLAYNAME].include?(opts[:sort_by])
3481
+ raise 'Invalid value for "sort_by", must be one of TIMECREATED, DISPLAYNAME.'
3482
+ end
3483
+
3484
+ path = '/softwareSources/softwarePackages'
3485
+ operation_signing_strategy = :standard
3486
+
3487
+ # rubocop:disable Style/NegatedIf
3488
+ # Query Params
3489
+ query_params = {}
3490
+ query_params[:softwarePackageName] = opts[:software_package_name] if opts[:software_package_name]
3491
+ query_params[:displayName] = opts[:display_name] if opts[:display_name]
3492
+ query_params[:cveName] = opts[:cve_name] if opts[:cve_name]
3493
+ query_params[:limit] = opts[:limit] if opts[:limit]
3494
+ query_params[:page] = opts[:page] if opts[:page]
3495
+ query_params[:sortOrder] = opts[:sort_order] if opts[:sort_order]
3496
+ query_params[:sortBy] = opts[:sort_by] if opts[:sort_by]
3497
+
3498
+ # Header Params
3499
+ header_params = {}
3500
+ header_params[:accept] = 'application/json'
3501
+ header_params[:'content-type'] = 'application/json'
3502
+ header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
3503
+ # rubocop:enable Style/NegatedIf
3504
+
3505
+ post_body = nil
3506
+
3507
+ # rubocop:disable Metrics/BlockLength
3508
+ OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'OsManagementClient#search_software_packages') do
3509
+ @api_client.call_api(
3510
+ :GET,
3511
+ path,
3512
+ endpoint,
3513
+ header_params: header_params,
3514
+ query_params: query_params,
3515
+ operation_signing_strategy: operation_signing_strategy,
3516
+ body: post_body,
3517
+ return_type: 'Array<OCI::OsManagement::Models::SoftwarePackageSearchSummary>'
3518
+ )
3519
+ end
3520
+ # rubocop:enable Metrics/BlockLength
3521
+ end
3522
+ # rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
3523
+ # rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
3524
+ # rubocop:enable Metrics/MethodLength, Layout/EmptyLines
3525
+
3526
+ # rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
3527
+ # rubocop:disable Style/IfUnlessModifier, Metrics/ParameterLists
3528
+ # rubocop:disable Metrics/MethodLength, Layout/EmptyLines
3529
+
3530
+
3531
+ # This will force an already created Scheduled Job to skip its
3532
+ # next regularly scheduled execution
3533
+ #
3534
+ # @param [String] scheduled_job_id The ID of the scheduled job.
3535
+ # @param [Hash] opts the optional parameters
3536
+ # @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
3537
+ # retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
3538
+ # @option opts [String] :opc_request_id The client request ID for tracing.
3539
+ # @option opts [String] :if_match For optimistic concurrency control. In the PUT or DELETE call
3540
+ # for a resource, set the `if-match` parameter to the value of the
3541
+ # etag from a previous GET or POST response for that resource.
3542
+ # The resource will be updated or deleted only if the etag you
3543
+ # provide matches the resource's current etag value.
3544
+ #
3545
+ # @option opts [String] :opc_retry_token A token that uniquely identifies a request so it can be retried in case of a timeout or
3546
+ # server error without risk of executing that same action again. Retry tokens expire after 24
3547
+ # hours, but can be invalidated before then due to conflicting operations. For example, if a resource
3548
+ # has been deleted and purged from the system, then a retry of the original creation request
3549
+ # might be rejected.
3550
+ #
3551
+ # @return [Response] A Response object with data of type nil
3552
+ # @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/osmanagement/skip_next_scheduled_job_execution.rb.html) to see an example of how to use skip_next_scheduled_job_execution API.
3553
+ def skip_next_scheduled_job_execution(scheduled_job_id, opts = {})
3554
+ logger.debug 'Calling operation OsManagementClient#skip_next_scheduled_job_execution.' if logger
3555
+
3556
+ raise "Missing the required parameter 'scheduled_job_id' when calling skip_next_scheduled_job_execution." if scheduled_job_id.nil?
3557
+ raise "Parameter value for 'scheduled_job_id' must not be blank" if OCI::Internal::Util.blank_string?(scheduled_job_id)
3558
+
3559
+ path = '/scheduledJobs/{scheduledJobId}/actions/skipNextExecution'.sub('{scheduledJobId}', scheduled_job_id.to_s)
3560
+ operation_signing_strategy = :standard
3561
+
3562
+ # rubocop:disable Style/NegatedIf
3563
+ # Query Params
3564
+ query_params = {}
3565
+
3566
+ # Header Params
3567
+ header_params = {}
3568
+ header_params[:accept] = 'application/json'
3569
+ header_params[:'content-type'] = 'application/json'
3570
+ header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
3571
+ header_params[:'if-match'] = opts[:if_match] if opts[:if_match]
3572
+ header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token]
3573
+ # rubocop:enable Style/NegatedIf
3574
+ header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token
3575
+
3576
+ post_body = nil
3577
+
3578
+ # rubocop:disable Metrics/BlockLength
3579
+ OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'OsManagementClient#skip_next_scheduled_job_execution') do
3580
+ @api_client.call_api(
3581
+ :POST,
3582
+ path,
3583
+ endpoint,
3584
+ header_params: header_params,
3585
+ query_params: query_params,
3586
+ operation_signing_strategy: operation_signing_strategy,
3587
+ body: post_body
3588
+ )
3589
+ end
3590
+ # rubocop:enable Metrics/BlockLength
3591
+ end
3592
+ # rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
3593
+ # rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
3594
+ # rubocop:enable Metrics/MethodLength, Layout/EmptyLines
3595
+
3596
+ # rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
3597
+ # rubocop:disable Style/IfUnlessModifier, Metrics/ParameterLists
3598
+ # rubocop:disable Metrics/MethodLength, Layout/EmptyLines
3599
+
3600
+
3601
+ # Updates a specific Managed Instance Group.
3602
+ #
3603
+ # @param [String] managed_instance_group_id OCID for the managed instance group
3604
+ # @param [OCI::OsManagement::Models::UpdateManagedInstanceGroupDetails] update_managed_instance_group_details Details about a Managed Instance Group to update
3605
+ # @param [Hash] opts the optional parameters
3606
+ # @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
3607
+ # retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
3608
+ # @option opts [String] :opc_request_id The client request ID for tracing.
3609
+ # @option opts [String] :if_match For optimistic concurrency control. In the PUT or DELETE call
3610
+ # for a resource, set the `if-match` parameter to the value of the
3611
+ # etag from a previous GET or POST response for that resource.
3612
+ # The resource will be updated or deleted only if the etag you
3613
+ # provide matches the resource's current etag value.
3614
+ #
3615
+ # @return [Response] A Response object with data of type {OCI::OsManagement::Models::ManagedInstanceGroup ManagedInstanceGroup}
3616
+ # @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/osmanagement/update_managed_instance_group.rb.html) to see an example of how to use update_managed_instance_group API.
3617
+ def update_managed_instance_group(managed_instance_group_id, update_managed_instance_group_details, opts = {})
3618
+ logger.debug 'Calling operation OsManagementClient#update_managed_instance_group.' if logger
3619
+
3620
+ raise "Missing the required parameter 'managed_instance_group_id' when calling update_managed_instance_group." if managed_instance_group_id.nil?
3621
+ raise "Missing the required parameter 'update_managed_instance_group_details' when calling update_managed_instance_group." if update_managed_instance_group_details.nil?
3622
+ raise "Parameter value for 'managed_instance_group_id' must not be blank" if OCI::Internal::Util.blank_string?(managed_instance_group_id)
3623
+
3624
+ path = '/managedInstanceGroups/{managedInstanceGroupId}'.sub('{managedInstanceGroupId}', managed_instance_group_id.to_s)
3625
+ operation_signing_strategy = :standard
3626
+
3627
+ # rubocop:disable Style/NegatedIf
3628
+ # Query Params
3629
+ query_params = {}
3630
+
3631
+ # Header Params
3632
+ header_params = {}
3633
+ header_params[:accept] = 'application/json'
3634
+ header_params[:'content-type'] = 'application/json'
3635
+ header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
3636
+ header_params[:'if-match'] = opts[:if_match] if opts[:if_match]
3637
+ # rubocop:enable Style/NegatedIf
3638
+
3639
+ post_body = @api_client.object_to_http_body(update_managed_instance_group_details)
3640
+
3641
+ # rubocop:disable Metrics/BlockLength
3642
+ OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'OsManagementClient#update_managed_instance_group') do
3643
+ @api_client.call_api(
3644
+ :PUT,
3645
+ path,
3646
+ endpoint,
3647
+ header_params: header_params,
3648
+ query_params: query_params,
3649
+ operation_signing_strategy: operation_signing_strategy,
3650
+ body: post_body,
3651
+ return_type: 'OCI::OsManagement::Models::ManagedInstanceGroup'
3652
+ )
3653
+ end
3654
+ # rubocop:enable Metrics/BlockLength
3655
+ end
3656
+ # rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
3657
+ # rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
3658
+ # rubocop:enable Metrics/MethodLength, Layout/EmptyLines
3659
+
3660
+ # rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
3661
+ # rubocop:disable Style/IfUnlessModifier, Metrics/ParameterLists
3662
+ # rubocop:disable Metrics/MethodLength, Layout/EmptyLines
3663
+
3664
+
3665
+ # Updates an existing Scheduled Job on the management system.
3666
+ #
3667
+ # @param [String] scheduled_job_id The ID of the scheduled job.
3668
+ # @param [OCI::OsManagement::Models::UpdateScheduledJobDetails] update_scheduled_job_details Details about a Scheduled Job to update
3669
+ # @param [Hash] opts the optional parameters
3670
+ # @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
3671
+ # retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
3672
+ # @option opts [String] :opc_request_id The client request ID for tracing.
3673
+ # @option opts [String] :if_match For optimistic concurrency control. In the PUT or DELETE call
3674
+ # for a resource, set the `if-match` parameter to the value of the
3675
+ # etag from a previous GET or POST response for that resource.
3676
+ # The resource will be updated or deleted only if the etag you
3677
+ # provide matches the resource's current etag value.
3678
+ #
3679
+ # @return [Response] A Response object with data of type {OCI::OsManagement::Models::ScheduledJob ScheduledJob}
3680
+ # @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/osmanagement/update_scheduled_job.rb.html) to see an example of how to use update_scheduled_job API.
3681
+ def update_scheduled_job(scheduled_job_id, update_scheduled_job_details, opts = {})
3682
+ logger.debug 'Calling operation OsManagementClient#update_scheduled_job.' if logger
3683
+
3684
+ raise "Missing the required parameter 'scheduled_job_id' when calling update_scheduled_job." if scheduled_job_id.nil?
3685
+ raise "Missing the required parameter 'update_scheduled_job_details' when calling update_scheduled_job." if update_scheduled_job_details.nil?
3686
+ raise "Parameter value for 'scheduled_job_id' must not be blank" if OCI::Internal::Util.blank_string?(scheduled_job_id)
3687
+
3688
+ path = '/scheduledJobs/{scheduledJobId}'.sub('{scheduledJobId}', scheduled_job_id.to_s)
3689
+ operation_signing_strategy = :standard
3690
+
3691
+ # rubocop:disable Style/NegatedIf
3692
+ # Query Params
3693
+ query_params = {}
3694
+
3695
+ # Header Params
3696
+ header_params = {}
3697
+ header_params[:accept] = 'application/json'
3698
+ header_params[:'content-type'] = 'application/json'
3699
+ header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
3700
+ header_params[:'if-match'] = opts[:if_match] if opts[:if_match]
3701
+ # rubocop:enable Style/NegatedIf
3702
+
3703
+ post_body = @api_client.object_to_http_body(update_scheduled_job_details)
3704
+
3705
+ # rubocop:disable Metrics/BlockLength
3706
+ OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'OsManagementClient#update_scheduled_job') do
3707
+ @api_client.call_api(
3708
+ :PUT,
3709
+ path,
3710
+ endpoint,
3711
+ header_params: header_params,
3712
+ query_params: query_params,
3713
+ operation_signing_strategy: operation_signing_strategy,
3714
+ body: post_body,
3715
+ return_type: 'OCI::OsManagement::Models::ScheduledJob'
3716
+ )
3717
+ end
3718
+ # rubocop:enable Metrics/BlockLength
3719
+ end
3720
+ # rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
3721
+ # rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
3722
+ # rubocop:enable Metrics/MethodLength, Layout/EmptyLines
3723
+
3724
+ # rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
3725
+ # rubocop:disable Style/IfUnlessModifier, Metrics/ParameterLists
3726
+ # rubocop:disable Metrics/MethodLength, Layout/EmptyLines
3727
+
3728
+
3729
+ # Updates an existing custom Software Source on the management system.
3730
+ #
3731
+ # @param [String] software_source_id The OCID of the software source.
3732
+ # @param [OCI::OsManagement::Models::UpdateSoftwareSourceDetails] update_software_source_details Details about a Sofware Source to update
3733
+ # @param [Hash] opts the optional parameters
3734
+ # @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
3735
+ # retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
3736
+ # @option opts [String] :opc_request_id The client request ID for tracing.
3737
+ # @option opts [String] :if_match For optimistic concurrency control. In the PUT or DELETE call
3738
+ # for a resource, set the `if-match` parameter to the value of the
3739
+ # etag from a previous GET or POST response for that resource.
3740
+ # The resource will be updated or deleted only if the etag you
3741
+ # provide matches the resource's current etag value.
3742
+ #
3743
+ # @return [Response] A Response object with data of type {OCI::OsManagement::Models::SoftwareSource SoftwareSource}
3744
+ # @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/osmanagement/update_software_source.rb.html) to see an example of how to use update_software_source API.
3745
+ def update_software_source(software_source_id, update_software_source_details, opts = {})
3746
+ logger.debug 'Calling operation OsManagementClient#update_software_source.' if logger
3747
+
3748
+ raise "Missing the required parameter 'software_source_id' when calling update_software_source." if software_source_id.nil?
3749
+ raise "Missing the required parameter 'update_software_source_details' when calling update_software_source." if update_software_source_details.nil?
3750
+ raise "Parameter value for 'software_source_id' must not be blank" if OCI::Internal::Util.blank_string?(software_source_id)
3751
+
3752
+ path = '/softwareSources/{softwareSourceId}'.sub('{softwareSourceId}', software_source_id.to_s)
3753
+ operation_signing_strategy = :standard
3754
+
3755
+ # rubocop:disable Style/NegatedIf
3756
+ # Query Params
3757
+ query_params = {}
3758
+
3759
+ # Header Params
3760
+ header_params = {}
3761
+ header_params[:accept] = 'application/json'
3762
+ header_params[:'content-type'] = 'application/json'
3763
+ header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
3764
+ header_params[:'if-match'] = opts[:if_match] if opts[:if_match]
3765
+ # rubocop:enable Style/NegatedIf
3766
+
3767
+ post_body = @api_client.object_to_http_body(update_software_source_details)
3768
+
3769
+ # rubocop:disable Metrics/BlockLength
3770
+ OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'OsManagementClient#update_software_source') do
3771
+ @api_client.call_api(
3772
+ :PUT,
3773
+ path,
3774
+ endpoint,
3775
+ header_params: header_params,
3776
+ query_params: query_params,
3777
+ operation_signing_strategy: operation_signing_strategy,
3778
+ body: post_body,
3779
+ return_type: 'OCI::OsManagement::Models::SoftwareSource'
3780
+ )
3781
+ end
3782
+ # rubocop:enable Metrics/BlockLength
3783
+ end
3784
+ # rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
3785
+ # rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
3786
+ # rubocop:enable Metrics/MethodLength, Layout/EmptyLines
3787
+
3788
+ private
3789
+
3790
+ def applicable_retry_config(opts = {})
3791
+ return @retry_config unless opts.key?(:retry_config)
3792
+
3793
+ opts[:retry_config]
3794
+ end
3795
+ end
3796
+ end
3797
+ # rubocop:enable Lint/UnneededCopDisableDirective, Metrics/LineLength