oci 2.13.0 → 2.14.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (660) hide show
  1. checksums.yaml +4 -4
  2. data/LICENSE.txt +6 -4
  3. data/README.md +6 -1
  4. data/lib/oci.rb +4 -0
  5. data/lib/oci/ai_language/ai_language.rb +35 -0
  6. data/lib/oci/ai_language/ai_service_language_client.rb +396 -0
  7. data/lib/oci/ai_language/ai_service_language_client_composite_operations.rb +25 -0
  8. data/lib/oci/ai_language/models/detect_dominant_language_details.rb +150 -0
  9. data/lib/oci/ai_language/models/detect_dominant_language_result.rb +154 -0
  10. data/lib/oci/ai_language/models/detect_language_entities_details.rb +150 -0
  11. data/lib/oci/ai_language/models/detect_language_entities_result.rb +150 -0
  12. data/lib/oci/ai_language/models/detect_language_key_phrases_details.rb +150 -0
  13. data/lib/oci/ai_language/models/detect_language_key_phrases_result.rb +154 -0
  14. data/lib/oci/ai_language/models/detect_language_sentiments_details.rb +150 -0
  15. data/lib/oci/ai_language/models/detect_language_sentiments_result.rb +150 -0
  16. data/lib/oci/ai_language/models/detect_language_text_classification_details.rb +150 -0
  17. data/lib/oci/ai_language/models/detect_language_text_classification_result.rb +154 -0
  18. data/lib/oci/ai_language/models/detected_language.rb +172 -0
  19. data/lib/oci/ai_language/models/entity.rb +205 -0
  20. data/lib/oci/ai_language/models/key_phrase.rb +160 -0
  21. data/lib/oci/ai_language/models/ner_model_version.rb +11 -0
  22. data/lib/oci/ai_language/models/sentiment_aspect.rb +192 -0
  23. data/lib/oci/ai_language/models/text_classification.rb +160 -0
  24. data/lib/oci/ai_language/util.rb +3 -0
  25. data/lib/oci/api_client.rb +3 -6
  26. data/lib/oci/apigateway/apigateway.rb +17 -0
  27. data/lib/oci/apigateway/models/api_specification_route_request_policies.rb +56 -4
  28. data/lib/oci/apigateway/models/api_specification_route_response_policies.rb +17 -4
  29. data/lib/oci/apigateway/models/body_validation_request_policy.rb +211 -0
  30. data/lib/oci/apigateway/models/content_validation.rb +194 -0
  31. data/lib/oci/apigateway/models/create_gateway_details.rb +14 -1
  32. data/lib/oci/apigateway/models/external_resp_cache.rb +269 -0
  33. data/lib/oci/apigateway/models/fixed_ttl_response_cache_store_policy.rb +164 -0
  34. data/lib/oci/apigateway/models/gateway.rb +14 -1
  35. data/lib/oci/apigateway/models/header_validation_item.rb +161 -0
  36. data/lib/oci/apigateway/models/header_validation_request_policy.rb +188 -0
  37. data/lib/oci/apigateway/models/no_cache.rb +146 -0
  38. data/lib/oci/apigateway/models/no_content_validation.rb +145 -0
  39. data/lib/oci/apigateway/models/query_parameter_validation_item.rb +161 -0
  40. data/lib/oci/apigateway/models/query_parameter_validation_request_policy.rb +195 -0
  41. data/lib/oci/apigateway/models/request_parameter_validation.rb +150 -0
  42. data/lib/oci/apigateway/models/response_cache_details.rb +188 -0
  43. data/lib/oci/apigateway/models/response_cache_lookup_policy.rb +225 -0
  44. data/lib/oci/apigateway/models/response_cache_resp_server.rb +161 -0
  45. data/lib/oci/apigateway/models/response_cache_store_policy.rb +186 -0
  46. data/lib/oci/apigateway/models/simple_lookup_policy.rb +173 -0
  47. data/lib/oci/apigateway/models/update_gateway_details.rb +14 -1
  48. data/lib/oci/apigateway/models/validation_request_policy.rb +179 -0
  49. data/lib/oci/auth/signers/resource_principals_federation_signer.rb +15 -17
  50. data/lib/oci/cloud_guard/cloud_guard.rb +13 -0
  51. data/lib/oci/cloud_guard/cloud_guard_client.rb +426 -9
  52. data/lib/oci/cloud_guard/cloud_guard_client_composite_operations.rb +119 -0
  53. data/lib/oci/cloud_guard/models/all_targets_selected.rb +145 -0
  54. data/lib/oci/cloud_guard/models/create_data_mask_rule_details.rb +335 -0
  55. data/lib/oci/cloud_guard/models/create_managed_list_details.rb +2 -1
  56. data/lib/oci/cloud_guard/models/data_mask_category.rb +15 -0
  57. data/lib/oci/cloud_guard/models/data_mask_rule.rb +425 -0
  58. data/lib/oci/cloud_guard/models/data_mask_rule_collection.rb +150 -0
  59. data/lib/oci/cloud_guard/models/data_mask_rule_status.rb +11 -0
  60. data/lib/oci/cloud_guard/models/data_mask_rule_summary.rb +425 -0
  61. data/lib/oci/cloud_guard/models/detector_recipe.rb +2 -2
  62. data/lib/oci/cloud_guard/models/detector_recipe_detector_rule.rb +1 -0
  63. data/lib/oci/cloud_guard/models/detector_recipe_detector_rule_summary.rb +1 -0
  64. data/lib/oci/cloud_guard/models/detector_rule.rb +1 -0
  65. data/lib/oci/cloud_guard/models/detector_rule_summary.rb +1 -0
  66. data/lib/oci/cloud_guard/models/managed_list.rb +1 -0
  67. data/lib/oci/cloud_guard/models/managed_list_summary.rb +1 -0
  68. data/lib/oci/cloud_guard/models/managed_list_type.rb +2 -1
  69. data/lib/oci/cloud_guard/models/policy_collection.rb +150 -0
  70. data/lib/oci/cloud_guard/models/policy_summary.rb +150 -0
  71. data/lib/oci/cloud_guard/models/problem.rb +35 -1
  72. data/lib/oci/cloud_guard/models/security_rating.rb +2 -1
  73. data/lib/oci/cloud_guard/models/security_score_aggregation.rb +1 -0
  74. data/lib/oci/cloud_guard/models/security_score_trend_aggregation.rb +1 -0
  75. data/lib/oci/cloud_guard/models/target_detector_recipe_detector_rule.rb +1 -0
  76. data/lib/oci/cloud_guard/models/target_detector_recipe_detector_rule_summary.rb +1 -0
  77. data/lib/oci/cloud_guard/models/target_ids_selected.rb +158 -0
  78. data/lib/oci/cloud_guard/models/target_resource_types_selected.rb +186 -0
  79. data/lib/oci/cloud_guard/models/target_selected.rb +189 -0
  80. data/lib/oci/cloud_guard/models/update_bulk_problem_status_details.rb +14 -4
  81. data/lib/oci/cloud_guard/models/update_data_mask_rule_details.rb +292 -0
  82. data/lib/oci/config.rb +1 -3
  83. data/lib/oci/core/compute_client.rb +6 -5
  84. data/lib/oci/core/core.rb +47 -0
  85. data/lib/oci/core/models/add_drg_route_distribution_statement_details.rb +195 -0
  86. data/lib/oci/core/models/add_drg_route_distribution_statements_details.rb +152 -0
  87. data/lib/oci/core/models/add_drg_route_rule_details.rb +202 -0
  88. data/lib/oci/core/models/add_drg_route_rules_details.rb +156 -0
  89. data/lib/oci/core/models/add_security_rule_details.rb +2 -2
  90. data/lib/oci/core/models/bgp_session_info.rb +90 -4
  91. data/lib/oci/core/models/block_volume_replica.rb +19 -4
  92. data/lib/oci/core/models/boot_volume_replica.rb +19 -4
  93. data/lib/oci/core/models/create_drg_attachment_details.rb +72 -4
  94. data/lib/oci/core/models/create_drg_details.rb +1 -1
  95. data/lib/oci/core/models/create_drg_route_distribution_details.rb +235 -0
  96. data/lib/oci/core/models/create_drg_route_table_details.rb +242 -0
  97. data/lib/oci/core/models/create_image_details.rb +2 -2
  98. data/lib/oci/core/models/create_ip_sec_connection_details.rb +3 -3
  99. data/lib/oci/core/models/create_ip_sec_tunnel_bgp_session_details.rb +53 -1
  100. data/lib/oci/core/models/create_ipv6_details.rb +1 -23
  101. data/lib/oci/core/models/create_subnet_details.rb +26 -3
  102. data/lib/oci/core/models/create_vcn_details.rb +3 -36
  103. data/lib/oci/core/models/create_vnic_details.rb +20 -1
  104. data/lib/oci/core/models/cross_connect_mapping.rb +1 -1
  105. data/lib/oci/core/models/cross_connect_mapping_details.rb +356 -0
  106. data/lib/oci/core/models/cross_connect_mapping_details_collection.rb +150 -0
  107. data/lib/oci/core/models/default_drg_route_tables.rb +206 -0
  108. data/lib/oci/core/models/drg.rb +38 -10
  109. data/lib/oci/core/models/drg_attachment.rb +115 -10
  110. data/lib/oci/core/models/drg_attachment_id_drg_route_distribution_match_criteria.rb +164 -0
  111. data/lib/oci/core/models/drg_attachment_info.rb +152 -0
  112. data/lib/oci/core/models/drg_attachment_network_create_details.rb +189 -0
  113. data/lib/oci/core/models/drg_attachment_network_details.rb +202 -0
  114. data/lib/oci/core/models/drg_attachment_network_update_details.rb +178 -0
  115. data/lib/oci/core/models/drg_attachment_type_drg_route_distribution_match_criteria.rb +188 -0
  116. data/lib/oci/core/models/drg_redundancy_status.rb +1 -1
  117. data/lib/oci/core/models/drg_route_distribution.rb +336 -0
  118. data/lib/oci/core/models/drg_route_distribution_match_criteria.rb +194 -0
  119. data/lib/oci/core/models/drg_route_distribution_statement.rb +215 -0
  120. data/lib/oci/core/models/drg_route_rule.rb +341 -0
  121. data/lib/oci/core/models/drg_route_table.rb +332 -0
  122. data/lib/oci/core/models/image.rb +2 -2
  123. data/lib/oci/core/models/ingress_security_rule.rb +1 -1
  124. data/lib/oci/core/models/instance.rb +15 -2
  125. data/lib/oci/core/models/instance_availability_config.rb +18 -1
  126. data/lib/oci/core/models/instance_configuration_create_vnic_details.rb +17 -1
  127. data/lib/oci/core/models/instance_configuration_launch_instance_details.rb +18 -5
  128. data/lib/oci/core/models/instance_configuration_launch_instance_shape_config_details.rb +46 -4
  129. data/lib/oci/core/models/instance_configuration_launch_options.rb +5 -5
  130. data/lib/oci/core/models/instance_shape_config.rb +43 -1
  131. data/lib/oci/core/models/ip_sec_connection.rb +4 -4
  132. data/lib/oci/core/models/ipsec_tunnel_drg_attachment_network_details.rb +166 -0
  133. data/lib/oci/core/models/ipv6.rb +4 -54
  134. data/lib/oci/core/models/launch_instance_availability_config_details.rb +20 -2
  135. data/lib/oci/core/models/launch_instance_details.rb +14 -1
  136. data/lib/oci/core/models/launch_instance_shape_config_details.rb +39 -4
  137. data/lib/oci/core/models/launch_options.rb +5 -5
  138. data/lib/oci/core/models/local_peering_gateway.rb +15 -1
  139. data/lib/oci/core/models/networking_topology.rb +158 -0
  140. data/lib/oci/core/models/port_range.rb +2 -2
  141. data/lib/oci/core/models/preemptible_instance_config_details.rb +155 -0
  142. data/lib/oci/core/models/preemption_action.rb +186 -0
  143. data/lib/oci/core/models/remote_peering_connection_drg_attachment_network_details.rb +149 -0
  144. data/lib/oci/core/models/remove_drg_route_distribution_statements_details.rb +156 -0
  145. data/lib/oci/core/models/remove_drg_route_rules_details.rb +156 -0
  146. data/lib/oci/core/models/route_rule.rb +3 -2
  147. data/lib/oci/core/models/route_table.rb +1 -1
  148. data/lib/oci/core/models/security_rule.rb +4 -4
  149. data/lib/oci/core/models/shape.rb +75 -1
  150. data/lib/oci/core/models/subnet.rb +30 -24
  151. data/lib/oci/core/models/terminate_preemption_action.rb +166 -0
  152. data/lib/oci/core/models/topology.rb +214 -0
  153. data/lib/oci/core/models/topology_associated_with_entity_relationship.rb +157 -0
  154. data/lib/oci/core/models/topology_contains_entity_relationship.rb +157 -0
  155. data/lib/oci/core/models/topology_entity_relationship.rb +209 -0
  156. data/lib/oci/core/models/topology_routes_to_entity_relationship.rb +173 -0
  157. data/lib/oci/core/models/topology_routes_to_relationship_details.rb +183 -0
  158. data/lib/oci/core/models/update_cluster_network_details.rb +19 -4
  159. data/lib/oci/core/models/update_cluster_network_instance_pool_details.rb +212 -0
  160. data/lib/oci/core/models/update_drg_attachment_details.rb +88 -2
  161. data/lib/oci/core/models/update_drg_details.rb +14 -1
  162. data/lib/oci/core/models/update_drg_route_distribution_details.rb +195 -0
  163. data/lib/oci/core/models/update_drg_route_distribution_statement_details.rb +179 -0
  164. data/lib/oci/core/models/update_drg_route_distribution_statements_details.rb +152 -0
  165. data/lib/oci/core/models/update_drg_route_rule_details.rb +212 -0
  166. data/lib/oci/core/models/update_drg_route_rules_details.rb +155 -0
  167. data/lib/oci/core/models/update_drg_route_table_details.rb +227 -0
  168. data/lib/oci/core/models/update_instance_availability_config_details.rb +20 -2
  169. data/lib/oci/core/models/update_instance_shape_config_details.rb +39 -4
  170. data/lib/oci/core/models/update_ip_sec_connection_details.rb +3 -2
  171. data/lib/oci/core/models/update_ip_sec_tunnel_bgp_session_details.rb +53 -1
  172. data/lib/oci/core/models/update_ipv6_details.rb +1 -23
  173. data/lib/oci/core/models/update_launch_options.rb +1 -1
  174. data/lib/oci/core/models/update_security_rule_details.rb +2 -2
  175. data/lib/oci/core/models/update_subnet_details.rb +27 -4
  176. data/lib/oci/core/models/upgrade_status.rb +203 -0
  177. data/lib/oci/core/models/vcn.rb +12 -38
  178. data/lib/oci/core/models/vcn_drg_attachment_network_create_details.rb +174 -0
  179. data/lib/oci/core/models/vcn_drg_attachment_network_details.rb +172 -0
  180. data/lib/oci/core/models/vcn_drg_attachment_network_update_details.rb +168 -0
  181. data/lib/oci/core/models/vcn_topology.rb +175 -0
  182. data/lib/oci/core/models/virtual_circuit.rb +35 -2
  183. data/lib/oci/core/models/virtual_circuit_drg_attachment_network_details.rb +149 -0
  184. data/lib/oci/core/virtual_network_client.rb +2092 -236
  185. data/lib/oci/core/virtual_network_client_composite_operations.rb +446 -32
  186. data/lib/oci/data_catalog/data_catalog.rb +2 -0
  187. data/lib/oci/data_catalog/data_catalog_client.rb +91 -0
  188. data/lib/oci/data_catalog/models/attribute.rb +15 -1
  189. data/lib/oci/data_catalog/models/attribute_summary.rb +29 -1
  190. data/lib/oci/data_catalog/models/create_attribute_details.rb +15 -1
  191. data/lib/oci/data_catalog/models/create_connection_details.rb +1 -1
  192. data/lib/oci/data_catalog/models/create_custom_property_details.rb +17 -1
  193. data/lib/oci/data_catalog/models/create_entity_details.rb +15 -1
  194. data/lib/oci/data_catalog/models/create_folder_details.rb +15 -1
  195. data/lib/oci/data_catalog/models/custom_property.rb +17 -1
  196. data/lib/oci/data_catalog/models/custom_property_get_usage.rb +17 -1
  197. data/lib/oci/data_catalog/models/custom_property_summary.rb +17 -1
  198. data/lib/oci/data_catalog/models/entity.rb +15 -1
  199. data/lib/oci/data_catalog/models/entity_summary.rb +29 -1
  200. data/lib/oci/data_catalog/models/folder.rb +15 -1
  201. data/lib/oci/data_catalog/models/folder_summary.rb +15 -1
  202. data/lib/oci/data_catalog/models/job.rb +15 -1
  203. data/lib/oci/data_catalog/models/job_definition_summary.rb +18 -4
  204. data/lib/oci/data_catalog/models/job_summary.rb +15 -1
  205. data/lib/oci/data_catalog/models/search_result.rb +55 -1
  206. data/lib/oci/data_catalog/models/suggest_list_item.rb +166 -0
  207. data/lib/oci/data_catalog/models/suggest_results.rb +194 -0
  208. data/lib/oci/data_catalog/models/update_attribute_details.rb +15 -1
  209. data/lib/oci/data_catalog/models/update_connection_details.rb +1 -1
  210. data/lib/oci/data_catalog/models/update_custom_property_details.rb +17 -1
  211. data/lib/oci/data_catalog/models/update_entity_details.rb +15 -1
  212. data/lib/oci/data_catalog/models/update_folder_details.rb +15 -1
  213. data/lib/oci/data_flow/data_flow_client.rb +4 -4
  214. data/lib/oci/data_flow/data_flow_client_composite_operations.rb +1 -1
  215. data/lib/oci/data_flow/models/application.rb +16 -1
  216. data/lib/oci/data_flow/models/change_private_endpoint_compartment_details.rb +1 -1
  217. data/lib/oci/data_flow/models/create_application_details.rb +16 -1
  218. data/lib/oci/data_flow/models/create_private_endpoint_details.rb +1 -1
  219. data/lib/oci/data_flow/models/create_run_details.rb +66 -4
  220. data/lib/oci/data_flow/models/private_endpoint_collection.rb +2 -2
  221. data/lib/oci/data_flow/models/run.rb +16 -1
  222. data/lib/oci/data_flow/models/update_application_details.rb +16 -1
  223. data/lib/oci/data_flow/models/update_private_endpoint_details.rb +1 -1
  224. data/lib/oci/data_flow/models/work_request_summary.rb +1 -1
  225. data/lib/oci/data_science/data_science_client.rb +8 -7
  226. data/lib/oci/data_science/data_science_client_composite_operations.rb +4 -3
  227. data/lib/oci/database/database.rb +5 -0
  228. data/lib/oci/database/database_client.rb +278 -0
  229. data/lib/oci/database/database_client_composite_operations.rb +200 -0
  230. data/lib/oci/database/models/autonomous_container_database_dataguard_association.rb +4 -2
  231. data/lib/oci/database/models/autonomous_database.rb +20 -5
  232. data/lib/oci/database/models/autonomous_database_connection_urls.rb +18 -4
  233. data/lib/oci/database/models/autonomous_database_dataguard_association.rb +4 -2
  234. data/lib/oci/database/models/autonomous_database_summary.rb +20 -5
  235. data/lib/oci/database/models/create_autonomous_database_base.rb +18 -4
  236. data/lib/oci/database/models/create_autonomous_database_clone_details.rb +5 -1
  237. data/lib/oci/database/models/create_autonomous_database_details.rb +8 -4
  238. data/lib/oci/database/models/create_autonomous_database_from_backup_details.rb +5 -1
  239. data/lib/oci/database/models/create_autonomous_database_from_backup_timestamp_details.rb +5 -1
  240. data/lib/oci/database/models/create_database_details.rb +1 -1
  241. data/lib/oci/database/models/create_database_software_image_details.rb +2 -2
  242. data/lib/oci/database/models/create_refreshable_autonomous_database_clone_details.rb +5 -1
  243. data/lib/oci/database/models/customer_contact.rb +151 -0
  244. data/lib/oci/database/models/database.rb +1 -1
  245. data/lib/oci/database/models/database_summary.rb +1 -1
  246. data/lib/oci/database/models/enable_external_database_operations_insights_details_base.rb +156 -0
  247. data/lib/oci/database/models/enable_external_non_container_database_operations_insights_details.rb +153 -0
  248. data/lib/oci/database/models/enable_external_pluggable_database_operations_insights_details.rb +153 -0
  249. data/lib/oci/database/models/exadata_infrastructure.rb +29 -1
  250. data/lib/oci/database/models/exadata_infrastructure_summary.rb +29 -1
  251. data/lib/oci/database/models/external_container_database.rb +34 -1
  252. data/lib/oci/database/models/external_container_database_summary.rb +34 -1
  253. data/lib/oci/database/models/external_database_base.rb +28 -1
  254. data/lib/oci/database/models/external_non_container_database.rb +50 -1
  255. data/lib/oci/database/models/external_non_container_database_summary.rb +50 -1
  256. data/lib/oci/database/models/external_pluggable_database.rb +47 -1
  257. data/lib/oci/database/models/external_pluggable_database_summary.rb +47 -1
  258. data/lib/oci/database/models/maintenance_run.rb +51 -4
  259. data/lib/oci/database/models/maintenance_run_summary.rb +51 -4
  260. data/lib/oci/database/models/operations_insights_config.rb +194 -0
  261. data/lib/oci/database/models/update_autonomous_database_details.rb +18 -4
  262. data/lib/oci/database/models/update_maintenance_run_details.rb +31 -4
  263. data/lib/oci/database_management/database_management.rb +6 -0
  264. data/lib/oci/database_management/db_management_client.rb +70 -3
  265. data/lib/oci/database_management/models/activity_time_series_metrics.rb +13 -4
  266. data/lib/oci/database_management/models/change_database_parameters_details.rb +1 -1
  267. data/lib/oci/database_management/models/cluster_cache_metric.rb +156 -0
  268. data/lib/oci/database_management/models/database_home_metrics.rb +18 -4
  269. data/lib/oci/database_management/models/database_instance_home_metrics_definition.rb +234 -0
  270. data/lib/oci/database_management/models/database_parameter_summary.rb +1 -1
  271. data/lib/oci/database_management/models/database_parameters_collection.rb +1 -1
  272. data/lib/oci/database_management/models/database_time_aggregate_metrics.rb +13 -4
  273. data/lib/oci/database_management/models/instance_details.rb +205 -0
  274. data/lib/oci/database_management/models/managed_database.rb +88 -1
  275. data/lib/oci/database_management/models/pdb_status_details.rb +181 -0
  276. data/lib/oci/database_management/models/reset_database_parameters_details.rb +8 -7
  277. data/lib/oci/database_management/models/time_series_metric_data_point.rb +180 -0
  278. data/lib/oci/database_management/models/time_series_metric_definition.rb +166 -0
  279. data/lib/oci/database_management/models/update_database_parameters_result.rb +1 -1
  280. data/lib/oci/database_migration/database_migration.rb +132 -0
  281. data/lib/oci/database_migration/database_migration_client.rb +2579 -0
  282. data/lib/oci/database_migration/database_migration_client_composite_operations.rb +736 -0
  283. data/lib/oci/database_migration/models/admin_credentials.rb +152 -0
  284. data/lib/oci/database_migration/models/agent.rb +356 -0
  285. data/lib/oci/database_migration/models/agent_collection.rb +152 -0
  286. data/lib/oci/database_migration/models/agent_image_collection.rb +152 -0
  287. data/lib/oci/database_migration/models/agent_image_summary.rb +167 -0
  288. data/lib/oci/database_migration/models/agent_summary.rb +341 -0
  289. data/lib/oci/database_migration/models/change_agent_compartment_details.rb +156 -0
  290. data/lib/oci/database_migration/models/change_connection_compartment_details.rb +156 -0
  291. data/lib/oci/database_migration/models/change_migration_compartment_details.rb +156 -0
  292. data/lib/oci/database_migration/models/clone_migration_details.rb +292 -0
  293. data/lib/oci/database_migration/models/connect_descriptor.rb +193 -0
  294. data/lib/oci/database_migration/models/connection.rb +461 -0
  295. data/lib/oci/database_migration/models/connection_collection.rb +152 -0
  296. data/lib/oci/database_migration/models/connection_summary.rb +366 -0
  297. data/lib/oci/database_migration/models/create_admin_credentials.rb +163 -0
  298. data/lib/oci/database_migration/models/create_agent_details.rb +244 -0
  299. data/lib/oci/database_migration/models/create_connect_descriptor.rb +198 -0
  300. data/lib/oci/database_migration/models/create_connection_details.rb +360 -0
  301. data/lib/oci/database_migration/models/create_data_pump_parameters.rb +261 -0
  302. data/lib/oci/database_migration/models/create_data_pump_settings.rb +228 -0
  303. data/lib/oci/database_migration/models/create_data_transfer_medium_details.rb +168 -0
  304. data/lib/oci/database_migration/models/create_database_link_details.rb +152 -0
  305. data/lib/oci/database_migration/models/create_directory_object.rb +165 -0
  306. data/lib/oci/database_migration/models/create_extract.rb +188 -0
  307. data/lib/oci/database_migration/models/create_golden_gate_details.rb +160 -0
  308. data/lib/oci/database_migration/models/create_golden_gate_hub.rb +253 -0
  309. data/lib/oci/database_migration/models/create_golden_gate_settings.rb +174 -0
  310. data/lib/oci/database_migration/models/create_migration_details.rb +355 -0
  311. data/lib/oci/database_migration/models/create_object_store_bucket.rb +171 -0
  312. data/lib/oci/database_migration/models/create_private_endpoint.rb +189 -0
  313. data/lib/oci/database_migration/models/create_replicat.rb +186 -0
  314. data/lib/oci/database_migration/models/create_ssh_details.rb +190 -0
  315. data/lib/oci/database_migration/models/create_vault_details.rb +186 -0
  316. data/lib/oci/database_migration/models/data_pump_estimate.rb +11 -0
  317. data/lib/oci/database_migration/models/data_pump_exclude_parameters.rb +12 -0
  318. data/lib/oci/database_migration/models/data_pump_job_mode.rb +14 -0
  319. data/lib/oci/database_migration/models/data_pump_parameters.rb +274 -0
  320. data/lib/oci/database_migration/models/data_pump_settings.rb +235 -0
  321. data/lib/oci/database_migration/models/data_pump_table_exists_action.rb +13 -0
  322. data/lib/oci/database_migration/models/data_transfer_medium_details.rb +167 -0
  323. data/lib/oci/database_migration/models/database_connection_types.rb +12 -0
  324. data/lib/oci/database_migration/models/database_link_details.rb +152 -0
  325. data/lib/oci/database_migration/models/database_object.rb +167 -0
  326. data/lib/oci/database_migration/models/directory_object.rb +163 -0
  327. data/lib/oci/database_migration/models/extract.rb +195 -0
  328. data/lib/oci/database_migration/models/extract_performance_profile.rb +12 -0
  329. data/lib/oci/database_migration/models/generate_token.rb +156 -0
  330. data/lib/oci/database_migration/models/golden_gate_details.rb +160 -0
  331. data/lib/oci/database_migration/models/golden_gate_hub.rb +253 -0
  332. data/lib/oci/database_migration/models/golden_gate_settings.rb +174 -0
  333. data/lib/oci/database_migration/models/job.rb +372 -0
  334. data/lib/oci/database_migration/models/job_collection.rb +152 -0
  335. data/lib/oci/database_migration/models/job_lifecycle_states.rb +18 -0
  336. data/lib/oci/database_migration/models/job_output_summary.rb +152 -0
  337. data/lib/oci/database_migration/models/job_output_summary_collection.rb +152 -0
  338. data/lib/oci/database_migration/models/job_phase_status.rb +13 -0
  339. data/lib/oci/database_migration/models/job_summary.rb +357 -0
  340. data/lib/oci/database_migration/models/job_types.rb +11 -0
  341. data/lib/oci/database_migration/models/lifecycle_states.rb +16 -0
  342. data/lib/oci/database_migration/models/metadata_remap.rb +205 -0
  343. data/lib/oci/database_migration/models/migration.rb +590 -0
  344. data/lib/oci/database_migration/models/migration_collection.rb +152 -0
  345. data/lib/oci/database_migration/models/migration_job_progress_resource.rb +237 -0
  346. data/lib/oci/database_migration/models/migration_job_progress_summary.rb +241 -0
  347. data/lib/oci/database_migration/models/migration_phase_collection.rb +152 -0
  348. data/lib/oci/database_migration/models/migration_phase_summary.rb +234 -0
  349. data/lib/oci/database_migration/models/migration_status.rb +16 -0
  350. data/lib/oci/database_migration/models/migration_summary.rb +472 -0
  351. data/lib/oci/database_migration/models/migration_types.rb +11 -0
  352. data/lib/oci/database_migration/models/object_store_bucket.rb +171 -0
  353. data/lib/oci/database_migration/models/odms_job_phases.rb +25 -0
  354. data/lib/oci/database_migration/models/odms_phase_actions.rb +10 -0
  355. data/lib/oci/database_migration/models/operation_status.rb +15 -0
  356. data/lib/oci/database_migration/models/operation_types.rb +20 -0
  357. data/lib/oci/database_migration/models/par_link.rb +156 -0
  358. data/lib/oci/database_migration/models/phase_status.rb +244 -0
  359. data/lib/oci/database_migration/models/private_endpoint_details.rb +199 -0
  360. data/lib/oci/database_migration/models/replicat.rb +186 -0
  361. data/lib/oci/database_migration/models/resume_job_details.rb +184 -0
  362. data/lib/oci/database_migration/models/sort_orders.rb +11 -0
  363. data/lib/oci/database_migration/models/ssh_details.rb +178 -0
  364. data/lib/oci/database_migration/models/start_migration_details.rb +184 -0
  365. data/lib/oci/database_migration/models/unsupported_database_object.rb +197 -0
  366. data/lib/oci/database_migration/models/update_admin_credentials.rb +163 -0
  367. data/lib/oci/database_migration/models/update_agent_details.rb +244 -0
  368. data/lib/oci/database_migration/models/update_connect_descriptor.rb +197 -0
  369. data/lib/oci/database_migration/models/update_connection_details.rb +312 -0
  370. data/lib/oci/database_migration/models/update_data_pump_parameters.rb +262 -0
  371. data/lib/oci/database_migration/models/update_data_pump_settings.rb +229 -0
  372. data/lib/oci/database_migration/models/update_data_transfer_medium_details.rb +169 -0
  373. data/lib/oci/database_migration/models/update_database_link_details.rb +152 -0
  374. data/lib/oci/database_migration/models/update_directory_object.rb +166 -0
  375. data/lib/oci/database_migration/models/update_extract.rb +189 -0
  376. data/lib/oci/database_migration/models/update_golden_gate_details.rb +159 -0
  377. data/lib/oci/database_migration/models/update_golden_gate_hub.rb +250 -0
  378. data/lib/oci/database_migration/models/update_golden_gate_settings.rb +175 -0
  379. data/lib/oci/database_migration/models/update_job_details.rb +188 -0
  380. data/lib/oci/database_migration/models/update_migration_details.rb +342 -0
  381. data/lib/oci/database_migration/models/update_object_store_bucket.rb +171 -0
  382. data/lib/oci/database_migration/models/update_private_endpoint.rb +189 -0
  383. data/lib/oci/database_migration/models/update_replicat.rb +187 -0
  384. data/lib/oci/database_migration/models/update_ssh_details.rb +189 -0
  385. data/lib/oci/database_migration/models/update_vault_details.rb +186 -0
  386. data/lib/oci/database_migration/models/vault_details.rb +186 -0
  387. data/lib/oci/database_migration/models/work_request.rb +319 -0
  388. data/lib/oci/database_migration/models/work_request_collection.rb +152 -0
  389. data/lib/oci/database_migration/models/work_request_error.rb +180 -0
  390. data/lib/oci/database_migration/models/work_request_error_collection.rb +152 -0
  391. data/lib/oci/database_migration/models/work_request_log_entry.rb +167 -0
  392. data/lib/oci/database_migration/models/work_request_log_entry_collection.rb +152 -0
  393. data/lib/oci/database_migration/models/work_request_resource.rb +223 -0
  394. data/lib/oci/database_migration/models/work_request_summary.rb +280 -0
  395. data/lib/oci/database_migration/util.rb +3 -0
  396. data/lib/oci/functions/functions.rb +2 -0
  397. data/lib/oci/functions/models/application.rb +14 -1
  398. data/lib/oci/functions/models/application_summary.rb +14 -1
  399. data/lib/oci/functions/models/application_trace_config.rb +171 -0
  400. data/lib/oci/functions/models/create_application_details.rb +14 -1
  401. data/lib/oci/functions/models/create_function_details.rb +14 -1
  402. data/lib/oci/functions/models/function.rb +14 -1
  403. data/lib/oci/functions/models/function_summary.rb +14 -1
  404. data/lib/oci/functions/models/function_trace_config.rb +156 -0
  405. data/lib/oci/functions/models/update_application_details.rb +14 -1
  406. data/lib/oci/functions/models/update_function_details.rb +14 -1
  407. data/lib/oci/limits/limits_client.rb +3 -3
  408. data/lib/oci/limits/models/limit_definition_summary.rb +34 -4
  409. data/lib/oci/limits/models/resource_availability.rb +54 -6
  410. data/lib/oci/limits/quotas_client.rb +1 -1
  411. data/lib/oci/loggingsearch/models/search_result.rb +1 -0
  412. data/lib/oci/object_storage/models/bucket.rb +40 -4
  413. data/lib/oci/object_storage/models/create_bucket_details.rb +22 -4
  414. data/lib/oci/object_storage/models/update_bucket_details.rb +21 -4
  415. data/lib/oci/object_storage/object_storage_client.rb +8 -5
  416. data/lib/oci/ocvp/models/create_esxi_host_details.rb +66 -1
  417. data/lib/oci/ocvp/models/create_sddc_details.rb +34 -1
  418. data/lib/oci/ocvp/models/esxi_host.rb +94 -1
  419. data/lib/oci/ocvp/models/esxi_host_summary.rb +94 -1
  420. data/lib/oci/ocvp/models/sddc.rb +40 -1
  421. data/lib/oci/ocvp/models/sku.rb +13 -0
  422. data/lib/oci/ocvp/models/supported_sku_summary.rb +173 -0
  423. data/lib/oci/ocvp/models/supported_sku_summary_collection.rb +150 -0
  424. data/lib/oci/ocvp/models/update_esxi_host_details.rb +32 -1
  425. data/lib/oci/ocvp/ocvp.rb +3 -0
  426. data/lib/oci/ocvp/sddc_client.rb +68 -0
  427. data/lib/oci/operator_access_control/access_requests_client.rb +515 -0
  428. data/lib/oci/operator_access_control/access_requests_client_composite_operations.rb +25 -0
  429. data/lib/oci/operator_access_control/models/access_request.rb +583 -0
  430. data/lib/oci/operator_access_control/models/access_request_collection.rb +150 -0
  431. data/lib/oci/operator_access_control/models/access_request_history_collection.rb +150 -0
  432. data/lib/oci/operator_access_control/models/access_request_history_summary.rb +269 -0
  433. data/lib/oci/operator_access_control/models/access_request_lifecycle_states.rb +29 -0
  434. data/lib/oci/operator_access_control/models/access_request_severities.rb +13 -0
  435. data/lib/oci/operator_access_control/models/access_request_summary.rb +403 -0
  436. data/lib/oci/operator_access_control/models/approve_access_request_details.rb +185 -0
  437. data/lib/oci/operator_access_control/models/change_operator_control_assignment_compartment_details.rb +154 -0
  438. data/lib/oci/operator_access_control/models/change_operator_control_compartment_details.rb +154 -0
  439. data/lib/oci/operator_access_control/models/create_operator_control_assignment_details.rb +322 -0
  440. data/lib/oci/operator_access_control/models/create_operator_control_details.rb +302 -0
  441. data/lib/oci/operator_access_control/models/infrastrcuture_layers.rb +12 -0
  442. data/lib/oci/operator_access_control/models/operator_action.rb +198 -0
  443. data/lib/oci/operator_access_control/models/operator_action_categories.rb +14 -0
  444. data/lib/oci/operator_access_control/models/operator_action_collection.rb +150 -0
  445. data/lib/oci/operator_access_control/models/operator_action_lifecycle_states.rb +11 -0
  446. data/lib/oci/operator_access_control/models/operator_action_properties.rb +160 -0
  447. data/lib/oci/operator_access_control/models/operator_action_summary.rb +230 -0
  448. data/lib/oci/operator_access_control/models/operator_control.rb +407 -0
  449. data/lib/oci/operator_access_control/models/operator_control_assignment.rb +448 -0
  450. data/lib/oci/operator_access_control/models/operator_control_assignment_collection.rb +150 -0
  451. data/lib/oci/operator_access_control/models/operator_control_assignment_lifecycle_states.rb +13 -0
  452. data/lib/oci/operator_access_control/models/operator_control_assignment_summary.rb +331 -0
  453. data/lib/oci/operator_access_control/models/operator_control_collection.rb +150 -0
  454. data/lib/oci/operator_access_control/models/operator_control_lifecycle_states.rb +13 -0
  455. data/lib/oci/operator_access_control/models/operator_control_summary.rb +303 -0
  456. data/lib/oci/operator_access_control/models/reject_access_request_details.rb +154 -0
  457. data/lib/oci/operator_access_control/models/resource_types.rb +10 -0
  458. data/lib/oci/operator_access_control/models/revoke_access_request_details.rb +154 -0
  459. data/lib/oci/operator_access_control/models/sort_orders.rb +11 -0
  460. data/lib/oci/operator_access_control/models/update_operator_control_assignment_details.rb +224 -0
  461. data/lib/oci/operator_access_control/models/update_operator_control_details.rb +283 -0
  462. data/lib/oci/operator_access_control/operator_access_control.rb +57 -0
  463. data/lib/oci/operator_access_control/operator_actions_client.rb +243 -0
  464. data/lib/oci/operator_access_control/operator_actions_client_composite_operations.rb +25 -0
  465. data/lib/oci/operator_access_control/operator_control_assignment_client.rb +501 -0
  466. data/lib/oci/operator_access_control/operator_control_assignment_client_composite_operations.rb +105 -0
  467. data/lib/oci/operator_access_control/operator_control_client.rb +507 -0
  468. data/lib/oci/operator_access_control/operator_control_client_composite_operations.rb +144 -0
  469. data/lib/oci/operator_access_control/util.rb +3 -0
  470. data/lib/oci/opsi/models/action_type.rb +14 -0
  471. data/lib/oci/opsi/models/autonomous_database_insight.rb +271 -0
  472. data/lib/oci/opsi/models/autonomous_database_insight_summary.rb +230 -0
  473. data/lib/oci/opsi/models/change_database_insight_compartment_details.rb +155 -0
  474. data/lib/oci/opsi/models/change_enterprise_manager_bridge_compartment_details.rb +155 -0
  475. data/lib/oci/opsi/models/change_host_insight_compartment_details.rb +155 -0
  476. data/lib/oci/opsi/models/connection_details.rb +208 -0
  477. data/lib/oci/opsi/models/create_database_insight_details.rb +228 -0
  478. data/lib/oci/opsi/models/create_em_managed_external_database_insight_details.rb +202 -0
  479. data/lib/oci/opsi/models/create_enterprise_manager_bridge_details.rb +224 -0
  480. data/lib/oci/opsi/models/create_host_insight_details.rb +228 -0
  481. data/lib/oci/opsi/models/create_macs_managed_external_host_insight_details.rb +174 -0
  482. data/lib/oci/opsi/models/credential_details.rb +204 -0
  483. data/lib/oci/opsi/models/credentials_by_source.rb +150 -0
  484. data/lib/oci/opsi/models/database_configuration_metric_group.rb +204 -0
  485. data/lib/oci/opsi/models/database_details.rb +24 -4
  486. data/lib/oci/opsi/models/database_entity_source.rb +10 -0
  487. data/lib/oci/opsi/models/database_entity_source_all.rb +12 -0
  488. data/lib/oci/opsi/models/database_insight.rb +416 -0
  489. data/lib/oci/opsi/models/database_insight_summary.rb +191 -5
  490. data/lib/oci/opsi/models/db_external_instance.rb +300 -0
  491. data/lib/oci/opsi/models/db_external_properties.rb +280 -0
  492. data/lib/oci/opsi/models/dbos_config_instance.rb +236 -0
  493. data/lib/oci/opsi/models/em_managed_external_database_insight.rb +284 -0
  494. data/lib/oci/opsi/models/em_managed_external_database_insight_summary.rb +300 -0
  495. data/lib/oci/opsi/models/enable_database_insight_details.rb +182 -0
  496. data/lib/oci/opsi/models/enable_em_managed_external_database_insight_details.rb +145 -0
  497. data/lib/oci/opsi/models/enable_host_insight_details.rb +182 -0
  498. data/lib/oci/opsi/models/enable_macs_managed_external_host_insight_details.rb +145 -0
  499. data/lib/oci/opsi/models/enterprise_manager_bridge.rb +344 -0
  500. data/lib/oci/opsi/models/enterprise_manager_bridge_collection.rb +150 -0
  501. data/lib/oci/opsi/models/enterprise_manager_bridge_summary.rb +334 -0
  502. data/lib/oci/opsi/models/enterprise_manager_bridges.rb +154 -0
  503. data/lib/oci/opsi/models/host_configuration_metric_group.rb +212 -0
  504. data/lib/oci/opsi/models/host_cpu_hardware_configuration.rb +289 -0
  505. data/lib/oci/opsi/models/host_cpu_statistics.rb +174 -0
  506. data/lib/oci/opsi/models/host_cpu_usage.rb +279 -0
  507. data/lib/oci/opsi/models/host_details.rb +225 -0
  508. data/lib/oci/opsi/models/host_entities.rb +181 -0
  509. data/lib/oci/opsi/models/host_entity_source.rb +10 -0
  510. data/lib/oci/opsi/models/host_hardware_configuration.rb +167 -0
  511. data/lib/oci/opsi/models/host_insight.rb +426 -0
  512. data/lib/oci/opsi/models/host_insight_resource_statistics_aggregation.rb +169 -0
  513. data/lib/oci/opsi/models/host_insight_summary.rb +426 -0
  514. data/lib/oci/opsi/models/host_insight_summary_collection.rb +150 -0
  515. data/lib/oci/opsi/models/host_insights.rb +154 -0
  516. data/lib/oci/opsi/models/host_instance_map.rb +168 -0
  517. data/lib/oci/opsi/models/host_memory_configuration.rb +223 -0
  518. data/lib/oci/opsi/models/host_memory_statistics.rb +260 -0
  519. data/lib/oci/opsi/models/host_memory_usage.rb +349 -0
  520. data/lib/oci/opsi/models/host_network_activity_summary.rb +195 -0
  521. data/lib/oci/opsi/models/host_network_configuration.rb +195 -0
  522. data/lib/oci/opsi/models/host_performance_metric_group.rb +204 -0
  523. data/lib/oci/opsi/models/host_product.rb +183 -0
  524. data/lib/oci/opsi/models/host_resource_allocation.rb +181 -0
  525. data/lib/oci/opsi/models/host_resource_capacity_trend_aggregation.rb +165 -0
  526. data/lib/oci/opsi/models/host_resource_statistics.rb +243 -0
  527. data/lib/oci/opsi/models/hosted_entity_collection.rb +180 -0
  528. data/lib/oci/opsi/models/hosted_entity_summary.rb +183 -0
  529. data/lib/oci/opsi/models/importable_enterprise_manager_entity.rb +210 -0
  530. data/lib/oci/opsi/models/importable_enterprise_manager_entity_collection.rb +150 -0
  531. data/lib/oci/opsi/models/ingest_database_configuration_details.rb +150 -0
  532. data/lib/oci/opsi/models/ingest_database_configuration_response_details.rb +152 -0
  533. data/lib/oci/opsi/models/ingest_host_configuration_details.rb +151 -0
  534. data/lib/oci/opsi/models/ingest_host_configuration_response_details.rb +152 -0
  535. data/lib/oci/opsi/models/ingest_host_metrics_details.rb +151 -0
  536. data/lib/oci/opsi/models/ingest_host_metrics_response_details.rb +152 -0
  537. data/lib/oci/opsi/models/lifecycle_state.rb +15 -0
  538. data/lib/oci/opsi/models/macs_managed_external_database_insight.rb +325 -0
  539. data/lib/oci/opsi/models/macs_managed_external_database_insight_summary.rb +258 -0
  540. data/lib/oci/opsi/models/macs_managed_external_host_insight.rb +279 -0
  541. data/lib/oci/opsi/models/macs_managed_external_host_insight_summary.rb +251 -0
  542. data/lib/oci/opsi/models/operation_status.rb +15 -0
  543. data/lib/oci/opsi/models/operation_type.rb +25 -0
  544. data/lib/oci/opsi/models/resource_status.rb +12 -0
  545. data/lib/oci/opsi/models/sql_plan_collection.rb +11 -1
  546. data/lib/oci/opsi/models/sql_plan_insight_aggregation_collection.rb +11 -1
  547. data/lib/oci/opsi/models/sql_response_time_distribution_aggregation_collection.rb +11 -1
  548. data/lib/oci/opsi/models/sql_search_summary.rb +11 -1
  549. data/lib/oci/opsi/models/sql_statistics_time_series_by_plan_aggregation_collection.rb +11 -1
  550. data/lib/oci/opsi/models/sql_text_summary.rb +11 -1
  551. data/lib/oci/opsi/models/summarize_database_insight_resource_capacity_trend_aggregation_collection.rb +5 -1
  552. data/lib/oci/opsi/models/summarize_database_insight_resource_forecast_trend_aggregation.rb +5 -1
  553. data/lib/oci/opsi/models/summarize_database_insight_resource_statistics_aggregation_collection.rb +5 -1
  554. data/lib/oci/opsi/models/summarize_database_insight_resource_usage_aggregation.rb +5 -1
  555. data/lib/oci/opsi/models/summarize_database_insight_resource_usage_trend_aggregation_collection.rb +5 -1
  556. data/lib/oci/opsi/models/summarize_database_insight_resource_utilization_insight_aggregation.rb +5 -1
  557. data/lib/oci/opsi/models/summarize_database_insight_tablespace_usage_trend_aggregation_collection.rb +232 -0
  558. data/lib/oci/opsi/models/summarize_host_insight_resource_capacity_trend_aggregation_collection.rb +271 -0
  559. data/lib/oci/opsi/models/summarize_host_insight_resource_forecast_trend_aggregation.rb +304 -0
  560. data/lib/oci/opsi/models/summarize_host_insight_resource_statistics_aggregation_collection.rb +251 -0
  561. data/lib/oci/opsi/models/summarize_host_insight_resource_usage_aggregation.rb +277 -0
  562. data/lib/oci/opsi/models/summarize_host_insight_resource_usage_trend_aggregation_collection.rb +271 -0
  563. data/lib/oci/opsi/models/summarize_host_insight_resource_utilization_insight_aggregation.rb +233 -0
  564. data/lib/oci/opsi/models/summary_statistics.rb +209 -0
  565. data/lib/oci/opsi/models/tablespace_usage_trend.rb +176 -0
  566. data/lib/oci/opsi/models/tablespace_usage_trend_aggregation.rb +182 -0
  567. data/lib/oci/opsi/models/update_autonomous_database_insight_details.rb +153 -0
  568. data/lib/oci/opsi/models/update_database_insight_details.rb +218 -0
  569. data/lib/oci/opsi/models/update_em_managed_external_database_insight_details.rb +153 -0
  570. data/lib/oci/opsi/models/update_enterprise_manager_bridge_details.rb +196 -0
  571. data/lib/oci/opsi/models/update_host_insight_details.rb +214 -0
  572. data/lib/oci/opsi/models/update_macs_managed_external_database_insight_details.rb +153 -0
  573. data/lib/oci/opsi/models/update_macs_managed_external_host_insight_details.rb +153 -0
  574. data/lib/oci/opsi/models/work_request.rb +320 -0
  575. data/lib/oci/opsi/models/work_request_collection.rb +150 -0
  576. data/lib/oci/opsi/models/work_request_error.rb +173 -0
  577. data/lib/oci/opsi/models/work_request_error_collection.rb +150 -0
  578. data/lib/oci/opsi/models/work_request_log_entry.rb +160 -0
  579. data/lib/oci/opsi/models/work_request_log_entry_collection.rb +150 -0
  580. data/lib/oci/opsi/models/work_request_resource.rb +219 -0
  581. data/lib/oci/opsi/models/work_requests.rb +154 -0
  582. data/lib/oci/opsi/operations_insights_client.rb +3475 -411
  583. data/lib/oci/opsi/operations_insights_client_composite_operations.rb +792 -0
  584. data/lib/oci/opsi/opsi.rb +99 -0
  585. data/lib/oci/regions.rb +1 -1
  586. data/lib/oci/resource_manager/models/config_source.rb +2 -0
  587. data/lib/oci/resource_manager/models/config_source_record.rb +2 -0
  588. data/lib/oci/resource_manager/models/create_config_source_details.rb +1 -0
  589. data/lib/oci/resource_manager/models/create_object_storage_config_source_details.rb +189 -0
  590. data/lib/oci/resource_manager/models/object_storage_config_source.rb +189 -0
  591. data/lib/oci/resource_manager/models/object_storage_config_source_record.rb +185 -0
  592. data/lib/oci/resource_manager/models/update_config_source_details.rb +1 -0
  593. data/lib/oci/resource_manager/models/update_object_storage_config_source_details.rb +188 -0
  594. data/lib/oci/resource_manager/resource_manager.rb +4 -0
  595. data/lib/oci/resource_manager/resource_manager_client.rb +1 -0
  596. data/lib/oci/retry/functions/should_retry_on_error.rb +31 -0
  597. data/lib/oci/retry/retry.rb +15 -0
  598. data/lib/oci/sch/models/function_task_details.rb +194 -0
  599. data/lib/oci/sch/models/latest_streaming_cursor.rb +146 -0
  600. data/lib/oci/sch/models/source_details.rb +2 -0
  601. data/lib/oci/sch/models/streaming_cursor_details.rb +189 -0
  602. data/lib/oci/sch/models/streaming_source_details.rb +173 -0
  603. data/lib/oci/sch/models/task_details.rb +2 -0
  604. data/lib/oci/sch/models/trim_horizon_streaming_cursor.rb +146 -0
  605. data/lib/oci/sch/sch.rb +5 -0
  606. data/lib/oci/service_catalog/models/action_type.rb +13 -0
  607. data/lib/oci/service_catalog/models/application_collection.rb +150 -0
  608. data/lib/oci/service_catalog/models/application_summary.rb +295 -0
  609. data/lib/oci/service_catalog/models/bulk_replace_service_catalog_associations_details.rb +150 -0
  610. data/lib/oci/service_catalog/models/change_private_application_compartment_details.rb +155 -0
  611. data/lib/oci/service_catalog/models/change_service_catalog_compartment_details.rb +154 -0
  612. data/lib/oci/service_catalog/models/create_private_application_details.rb +259 -0
  613. data/lib/oci/service_catalog/models/create_private_application_package.rb +192 -0
  614. data/lib/oci/service_catalog/models/create_private_application_stack_package.rb +166 -0
  615. data/lib/oci/service_catalog/models/create_service_catalog_association_details.rb +182 -0
  616. data/lib/oci/service_catalog/models/create_service_catalog_details.rb +200 -0
  617. data/lib/oci/service_catalog/models/error_entity.rb +160 -0
  618. data/lib/oci/service_catalog/models/operation_status.rb +12 -0
  619. data/lib/oci/service_catalog/models/operation_type.rb +13 -0
  620. data/lib/oci/service_catalog/models/package_type_enum.rb +10 -0
  621. data/lib/oci/service_catalog/models/pricing_type_enum.rb +12 -0
  622. data/lib/oci/service_catalog/models/private_application.rb +354 -0
  623. data/lib/oci/service_catalog/models/private_application_collection.rb +150 -0
  624. data/lib/oci/service_catalog/models/private_application_package.rb +257 -0
  625. data/lib/oci/service_catalog/models/private_application_package_collection.rb +150 -0
  626. data/lib/oci/service_catalog/models/private_application_package_summary.rb +241 -0
  627. data/lib/oci/service_catalog/models/private_application_stack_package.rb +196 -0
  628. data/lib/oci/service_catalog/models/private_application_summary.rb +268 -0
  629. data/lib/oci/service_catalog/models/publisher_summary.rb +164 -0
  630. data/lib/oci/service_catalog/models/service_catalog.rb +280 -0
  631. data/lib/oci/service_catalog/models/service_catalog_association.rb +206 -0
  632. data/lib/oci/service_catalog/models/service_catalog_association_collection.rb +150 -0
  633. data/lib/oci/service_catalog/models/service_catalog_association_summary.rb +206 -0
  634. data/lib/oci/service_catalog/models/service_catalog_collection.rb +150 -0
  635. data/lib/oci/service_catalog/models/service_catalog_summary.rb +210 -0
  636. data/lib/oci/service_catalog/models/update_private_application_details.rb +230 -0
  637. data/lib/oci/service_catalog/models/update_service_catalog_details.rb +186 -0
  638. data/lib/oci/service_catalog/models/upload_data.rb +182 -0
  639. data/lib/oci/service_catalog/models/work_request.rb +305 -0
  640. data/lib/oci/service_catalog/models/work_request_error.rb +173 -0
  641. data/lib/oci/service_catalog/models/work_request_error_collection.rb +150 -0
  642. data/lib/oci/service_catalog/models/work_request_log_entry.rb +160 -0
  643. data/lib/oci/service_catalog/models/work_request_log_entry_collection.rb +150 -0
  644. data/lib/oci/service_catalog/models/work_request_resource.rb +222 -0
  645. data/lib/oci/service_catalog/models/work_request_summary.rb +305 -0
  646. data/lib/oci/service_catalog/models/work_request_summary_collection.rb +150 -0
  647. data/lib/oci/service_catalog/service_catalog.rb +61 -0
  648. data/lib/oci/service_catalog/service_catalog_client.rb +1957 -0
  649. data/lib/oci/service_catalog/service_catalog_client_composite_operations.rb +342 -0
  650. data/lib/oci/service_catalog/util.rb +3 -0
  651. data/lib/oci/version.rb +1 -1
  652. data/lib/oci/waas/models/access_rule.rb +1 -1
  653. data/lib/oci/waas/models/address_rate_limiting.rb +1 -1
  654. data/lib/oci/waas/models/block_challenge_settings.rb +1 -1
  655. data/lib/oci/waas/models/certificate.rb +36 -4
  656. data/lib/oci/waas/models/load_balancing_method.rb +3 -3
  657. data/lib/oci/waas/models/origin.rb +2 -2
  658. data/lib/oci/waas/redirect_client.rb +1 -1
  659. data/lib/oci/waas/waas_client.rb +1 -1
  660. metadata +428 -2
@@ -7,6 +7,13 @@ require 'date'
7
7
  module OCI
8
8
  # The ESXi host information to be updated.
9
9
  class Ocvp::Models::UpdateEsxiHostDetails
10
+ NEXT_SKU_ENUM = [
11
+ NEXT_SKU_HOUR = 'HOUR'.freeze,
12
+ NEXT_SKU_MONTH = 'MONTH'.freeze,
13
+ NEXT_SKU_ONE_YEAR = 'ONE_YEAR'.freeze,
14
+ NEXT_SKU_THREE_YEARS = 'THREE_YEARS'.freeze
15
+ ].freeze
16
+
10
17
  # A descriptive name for the ESXi host. It's changeable.
11
18
  # Esxi Host name requirements are 1-16 character length limit, Must start with a letter, Must be English letters, numbers, - only, No repeating hyphens, Must be unique within the SDDC.
12
19
  #
@@ -15,6 +22,12 @@ module OCI
15
22
  # @return [String]
16
23
  attr_accessor :display_name
17
24
 
25
+ # Billing option to switch to once existing billing cycle ends.
26
+ # {#list_supported_skus list_supported_skus}.
27
+ #
28
+ # @return [String]
29
+ attr_reader :next_sku
30
+
18
31
  # Free-form tags for this resource. Each tag is a simple key-value pair with no
19
32
  # predefined name, type, or namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm).
20
33
  #
@@ -36,6 +49,7 @@ module OCI
36
49
  {
37
50
  # rubocop:disable Style/SymbolLiteral
38
51
  'display_name': :'displayName',
52
+ 'next_sku': :'nextSku',
39
53
  'freeform_tags': :'freeformTags',
40
54
  'defined_tags': :'definedTags'
41
55
  # rubocop:enable Style/SymbolLiteral
@@ -47,6 +61,7 @@ module OCI
47
61
  {
48
62
  # rubocop:disable Style/SymbolLiteral
49
63
  'display_name': :'String',
64
+ 'next_sku': :'String',
50
65
  'freeform_tags': :'Hash<String, String>',
51
66
  'defined_tags': :'Hash<String, Hash<String, Object>>'
52
67
  # rubocop:enable Style/SymbolLiteral
@@ -60,6 +75,7 @@ module OCI
60
75
  # Initializes the object
61
76
  # @param [Hash] attributes Model attributes in the form of hash
62
77
  # @option attributes [String] :display_name The value to assign to the {#display_name} property
78
+ # @option attributes [String] :next_sku The value to assign to the {#next_sku} property
63
79
  # @option attributes [Hash<String, String>] :freeform_tags The value to assign to the {#freeform_tags} property
64
80
  # @option attributes [Hash<String, Hash<String, Object>>] :defined_tags The value to assign to the {#defined_tags} property
65
81
  def initialize(attributes = {})
@@ -74,6 +90,12 @@ module OCI
74
90
 
75
91
  self.display_name = attributes[:'display_name'] if attributes[:'display_name']
76
92
 
93
+ self.next_sku = attributes[:'nextSku'] if attributes[:'nextSku']
94
+
95
+ raise 'You cannot provide both :nextSku and :next_sku' if attributes.key?(:'nextSku') && attributes.key?(:'next_sku')
96
+
97
+ self.next_sku = attributes[:'next_sku'] if attributes[:'next_sku']
98
+
77
99
  self.freeform_tags = attributes[:'freeformTags'] if attributes[:'freeformTags']
78
100
 
79
101
  raise 'You cannot provide both :freeformTags and :freeform_tags' if attributes.key?(:'freeformTags') && attributes.key?(:'freeform_tags')
@@ -89,6 +111,14 @@ module OCI
89
111
  # rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
90
112
  # rubocop:enable Metrics/MethodLength, Layout/EmptyLines, Style/SymbolLiteral
91
113
 
114
+ # Custom attribute writer method checking allowed values (enum).
115
+ # @param [Object] next_sku Object to be assigned
116
+ def next_sku=(next_sku)
117
+ raise "Invalid value for 'next_sku': this must be one of the values in NEXT_SKU_ENUM." if next_sku && !NEXT_SKU_ENUM.include?(next_sku)
118
+
119
+ @next_sku = next_sku
120
+ end
121
+
92
122
  # rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity, Layout/EmptyLines
93
123
 
94
124
 
@@ -99,6 +129,7 @@ module OCI
99
129
 
100
130
  self.class == other.class &&
101
131
  display_name == other.display_name &&
132
+ next_sku == other.next_sku &&
102
133
  freeform_tags == other.freeform_tags &&
103
134
  defined_tags == other.defined_tags
104
135
  end
@@ -116,7 +147,7 @@ module OCI
116
147
  # Calculates hash code according to all attributes.
117
148
  # @return [Fixnum] Hash code
118
149
  def hash
119
- [display_name, freeform_tags, defined_tags].hash
150
+ [display_name, next_sku, freeform_tags, defined_tags].hash
120
151
  end
121
152
  # rubocop:enable Metrics/AbcSize, Layout/EmptyLines
122
153
 
data/lib/oci/ocvp/ocvp.rb CHANGED
@@ -24,7 +24,10 @@ require 'oci/ocvp/models/operation_types'
24
24
  require 'oci/ocvp/models/sddc'
25
25
  require 'oci/ocvp/models/sddc_collection'
26
26
  require 'oci/ocvp/models/sddc_summary'
27
+ require 'oci/ocvp/models/sku'
27
28
  require 'oci/ocvp/models/sort_orders'
29
+ require 'oci/ocvp/models/supported_sku_summary'
30
+ require 'oci/ocvp/models/supported_sku_summary_collection'
28
31
  require 'oci/ocvp/models/supported_vmware_software_version_collection'
29
32
  require 'oci/ocvp/models/supported_vmware_software_version_summary'
30
33
  require 'oci/ocvp/models/update_esxi_host_details'
@@ -472,6 +472,74 @@ module OCI
472
472
  # rubocop:disable Metrics/MethodLength, Layout/EmptyLines
473
473
 
474
474
 
475
+ # Lists supported SKUs. HHOUR, MONTH, ONE_YEAR and THREE_YEARS supported by the Oracle Cloud
476
+ # VMware Solution.
477
+ #
478
+ # @param [String] compartment_id The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the compartment.
479
+ # @param [Hash] opts the optional parameters
480
+ # @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
481
+ # retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
482
+ # @option opts [Integer] :limit For list pagination. The maximum number of results per page, or items to return in a paginated
483
+ # \"List\" call. For important details about how pagination works, see
484
+ # [List Pagination](https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
485
+ # (default to 10)
486
+ # @option opts [String] :page For list pagination. The value of the `opc-next-page` response header from the previous \"List\"
487
+ # call. For important details about how pagination works, see
488
+ # [List Pagination](https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
489
+ #
490
+ # @option opts [String] :opc_request_id Unique identifier for the request. If you need to contact Oracle about a particular
491
+ # request, please provide the request ID.
492
+ #
493
+ # @return [Response] A Response object with data of type {OCI::Ocvp::Models::SupportedSkuSummaryCollection SupportedSkuSummaryCollection}
494
+ # @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/ocvp/list_supported_skus.rb.html) to see an example of how to use list_supported_skus API.
495
+ def list_supported_skus(compartment_id, opts = {})
496
+ logger.debug 'Calling operation SddcClient#list_supported_skus.' if logger
497
+
498
+ raise "Missing the required parameter 'compartment_id' when calling list_supported_skus." if compartment_id.nil?
499
+
500
+ path = '/supportedSkus'
501
+ operation_signing_strategy = :standard
502
+
503
+ # rubocop:disable Style/NegatedIf
504
+ # Query Params
505
+ query_params = {}
506
+ query_params[:compartmentId] = compartment_id
507
+ query_params[:limit] = opts[:limit] if opts[:limit]
508
+ query_params[:page] = opts[:page] if opts[:page]
509
+
510
+ # Header Params
511
+ header_params = {}
512
+ header_params[:accept] = 'application/json'
513
+ header_params[:'content-type'] = 'application/json'
514
+ header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
515
+ # rubocop:enable Style/NegatedIf
516
+
517
+ post_body = nil
518
+
519
+ # rubocop:disable Metrics/BlockLength
520
+ OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'SddcClient#list_supported_skus') do
521
+ @api_client.call_api(
522
+ :GET,
523
+ path,
524
+ endpoint,
525
+ header_params: header_params,
526
+ query_params: query_params,
527
+ operation_signing_strategy: operation_signing_strategy,
528
+ body: post_body,
529
+ return_type: 'OCI::Ocvp::Models::SupportedSkuSummaryCollection'
530
+ )
531
+ end
532
+ # rubocop:enable Metrics/BlockLength
533
+ end
534
+ # rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
535
+ # rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
536
+ # rubocop:enable Metrics/MethodLength, Layout/EmptyLines
537
+
538
+ # rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
539
+ # rubocop:disable Style/IfUnlessModifier, Metrics/ParameterLists
540
+ # rubocop:disable Metrics/MethodLength, Layout/EmptyLines
541
+
542
+
475
543
  # Lists the versions of bundled VMware software supported by the Oracle Cloud
476
544
  # VMware Solution.
477
545
  #
@@ -0,0 +1,515 @@
1
+ # Copyright (c) 2016, 2021, 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
+ # Operator Access Control enables you to control the time duration and the actions an Oracle operator can perform on your Exadata Cloud@Customer infrastructure.
10
+ # Using logging service, you can view a near real-time audit report of all actions performed by an Oracle operator.
11
+ #
12
+ # Use the table of contents and search tool to explore the OperatorAccessControl API.
13
+ class OperatorAccessControl::AccessRequestsClient
14
+ # Client used to make HTTP requests.
15
+ # @return [OCI::ApiClient]
16
+ attr_reader :api_client
17
+
18
+ # Fully qualified endpoint URL
19
+ # @return [String]
20
+ attr_reader :endpoint
21
+
22
+ # The default retry configuration to apply to all operations in this service client. This can be overridden
23
+ # on a per-operation basis. The default retry configuration value is `nil`, which means that an operation
24
+ # will not perform any retries
25
+ # @return [OCI::Retry::RetryConfig]
26
+ attr_reader :retry_config
27
+
28
+ # The region, which will usually correspond to a value in {OCI::Regions::REGION_ENUM}.
29
+ # @return [String]
30
+ attr_reader :region
31
+
32
+ # rubocop:disable Metrics/AbcSize, Metrics/CyclomaticComplexity, Layout/EmptyLines, Metrics/PerceivedComplexity
33
+
34
+
35
+ # Creates a new AccessRequestsClient.
36
+ # Notes:
37
+ # If a config is not specified, then the global OCI.config will be used.
38
+ #
39
+ # This client is not thread-safe
40
+ #
41
+ # Either a region or an endpoint must be specified. If an endpoint is specified, it will be used instead of the
42
+ # region. A region may be specified in the config or via or the region parameter. If specified in both, then the
43
+ # region parameter will be used.
44
+ # @param [Config] config A Config object.
45
+ # @param [String] region A region used to determine the service endpoint. This will usually
46
+ # correspond to a value in {OCI::Regions::REGION_ENUM}, but may be an arbitrary string.
47
+ # @param [String] endpoint The fully qualified endpoint URL
48
+ # @param [OCI::BaseSigner] signer A signer implementation which can be used by this client. If this is not provided then
49
+ # a signer will be constructed via the provided config. One use case of this parameter is instance principals authentication,
50
+ # so that the instance principals signer can be provided to the client
51
+ # @param [OCI::ApiClientProxySettings] proxy_settings If your environment requires you to use a proxy server for outgoing HTTP requests
52
+ # the details for the proxy can be provided in this parameter
53
+ # @param [OCI::Retry::RetryConfig] retry_config The retry configuration for this service client. This represents the default retry configuration to
54
+ # 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
55
+ # will not perform any retries
56
+ def initialize(config: nil, region: nil, endpoint: nil, signer: nil, proxy_settings: nil, retry_config: nil)
57
+ # If the signer is an InstancePrincipalsSecurityTokenSigner or SecurityTokenSigner and no config was supplied (they are self-sufficient signers)
58
+ # then create a dummy config to pass to the ApiClient constructor. If customers wish to create a client which uses instance principals
59
+ # and has config (either populated programmatically or loaded from a file), they must construct that config themselves and then
60
+ # pass it to this constructor.
61
+ #
62
+ # If there is no signer (or the signer is not an instance principals signer) and no config was supplied, this is not valid
63
+ # so try and load the config from the default file.
64
+ config = OCI::Config.validate_and_build_config_with_signer(config, signer)
65
+
66
+ signer = OCI::Signer.config_file_auth_builder(config) if signer.nil?
67
+
68
+ @api_client = OCI::ApiClient.new(config, signer, proxy_settings: proxy_settings)
69
+ @retry_config = retry_config
70
+
71
+ if endpoint
72
+ @endpoint = endpoint + '/20200630'
73
+ else
74
+ region ||= config.region
75
+ region ||= signer.region if signer.respond_to?(:region)
76
+ self.region = region
77
+ end
78
+ logger.info "AccessRequestsClient endpoint set to '#{@endpoint}'." if logger
79
+ end
80
+ # rubocop:enable Metrics/AbcSize, Metrics/CyclomaticComplexity, Layout/EmptyLines, Metrics/PerceivedComplexity
81
+
82
+ # Set the region that will be used to determine the service endpoint.
83
+ # This will usually correspond to a value in {OCI::Regions::REGION_ENUM},
84
+ # but may be an arbitrary string.
85
+ def region=(new_region)
86
+ @region = new_region
87
+
88
+ raise 'A region must be specified.' unless @region
89
+
90
+ @endpoint = OCI::Regions.get_service_endpoint_for_template(@region, 'https://operator-access-control.{region}.oci.{secondLevelDomain}') + '/20200630'
91
+ logger.info "AccessRequestsClient endpoint set to '#{@endpoint} from region #{@region}'." if logger
92
+ end
93
+
94
+ # @return [Logger] The logger for this client. May be nil.
95
+ def logger
96
+ @api_client.config.logger
97
+ end
98
+
99
+ # rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
100
+ # rubocop:disable Style/IfUnlessModifier, Metrics/ParameterLists
101
+ # rubocop:disable Metrics/MethodLength, Layout/EmptyLines
102
+
103
+
104
+ # Approves an access request.
105
+ #
106
+ # @param [String] access_request_id unique AccessRequest identifier
107
+ # @param [OCI::OperatorAccessControl::Models::ApproveAccessRequestDetails] approve_access_request_details Details regarding the approval of an access request created by the operator.
108
+ # @param [Hash] opts the optional parameters
109
+ # @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
110
+ # retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
111
+ # @option opts [String] :opc_retry_token A token that uniquely identifies a request so it can be retried in case of a timeout or
112
+ # server error without risk of executing that same action again. Retry tokens expire after 24
113
+ # hours, but can be invalidated before then due to conflicting operations. For example, if a resource
114
+ # has been deleted and purged from the system, then a retry of the original creation request
115
+ # might be rejected.
116
+ #
117
+ # @option opts [String] :if_match For optimistic concurrency control. In the PUT or DELETE call
118
+ # for a resource, set the `if-match` parameter to the value of the
119
+ # etag from a previous GET or POST response for that resource.
120
+ # The resource will be updated or deleted only if the etag you
121
+ # provide matches the resource's current etag value.
122
+ #
123
+ # @option opts [String] :opc_request_id The client request ID for tracing.
124
+ # @return [Response] A Response object with data of type nil
125
+ # @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/operatoraccesscontrol/approve_access_request.rb.html) to see an example of how to use approve_access_request API.
126
+ def approve_access_request(access_request_id, approve_access_request_details, opts = {})
127
+ logger.debug 'Calling operation AccessRequestsClient#approve_access_request.' if logger
128
+
129
+ raise "Missing the required parameter 'access_request_id' when calling approve_access_request." if access_request_id.nil?
130
+ raise "Missing the required parameter 'approve_access_request_details' when calling approve_access_request." if approve_access_request_details.nil?
131
+ raise "Parameter value for 'access_request_id' must not be blank" if OCI::Internal::Util.blank_string?(access_request_id)
132
+
133
+ path = '/accessRequests/{accessRequestId}/action/approve'.sub('{accessRequestId}', access_request_id.to_s)
134
+ operation_signing_strategy = :standard
135
+
136
+ # rubocop:disable Style/NegatedIf
137
+ # Query Params
138
+ query_params = {}
139
+
140
+ # Header Params
141
+ header_params = {}
142
+ header_params[:accept] = 'application/json'
143
+ header_params[:'content-type'] = 'application/json'
144
+ header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token]
145
+ header_params[:'if-match'] = opts[:if_match] if opts[:if_match]
146
+ header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
147
+ # rubocop:enable Style/NegatedIf
148
+ header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token
149
+
150
+ post_body = @api_client.object_to_http_body(approve_access_request_details)
151
+
152
+ # rubocop:disable Metrics/BlockLength
153
+ OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'AccessRequestsClient#approve_access_request') do
154
+ @api_client.call_api(
155
+ :POST,
156
+ path,
157
+ endpoint,
158
+ header_params: header_params,
159
+ query_params: query_params,
160
+ operation_signing_strategy: operation_signing_strategy,
161
+ body: post_body
162
+ )
163
+ end
164
+ # rubocop:enable Metrics/BlockLength
165
+ end
166
+ # rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
167
+ # rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
168
+ # rubocop:enable Metrics/MethodLength, Layout/EmptyLines
169
+
170
+ # rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
171
+ # rubocop:disable Style/IfUnlessModifier, Metrics/ParameterLists
172
+ # rubocop:disable Metrics/MethodLength, Layout/EmptyLines
173
+
174
+
175
+ # Gets details of an access request.
176
+ # @param [String] access_request_id unique AccessRequest identifier
177
+ # @param [Hash] opts the optional parameters
178
+ # @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
179
+ # retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
180
+ # @option opts [String] :opc_request_id The client request ID for tracing.
181
+ # @return [Response] A Response object with data of type {OCI::OperatorAccessControl::Models::AccessRequest AccessRequest}
182
+ # @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/operatoraccesscontrol/get_access_request.rb.html) to see an example of how to use get_access_request API.
183
+ def get_access_request(access_request_id, opts = {})
184
+ logger.debug 'Calling operation AccessRequestsClient#get_access_request.' if logger
185
+
186
+ raise "Missing the required parameter 'access_request_id' when calling get_access_request." if access_request_id.nil?
187
+ raise "Parameter value for 'access_request_id' must not be blank" if OCI::Internal::Util.blank_string?(access_request_id)
188
+
189
+ path = '/accessRequests/{accessRequestId}'.sub('{accessRequestId}', access_request_id.to_s)
190
+ operation_signing_strategy = :standard
191
+
192
+ # rubocop:disable Style/NegatedIf
193
+ # Query Params
194
+ query_params = {}
195
+
196
+ # Header Params
197
+ header_params = {}
198
+ header_params[:accept] = 'application/json'
199
+ header_params[:'content-type'] = 'application/json'
200
+ header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
201
+ # rubocop:enable Style/NegatedIf
202
+
203
+ post_body = nil
204
+
205
+ # rubocop:disable Metrics/BlockLength
206
+ OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'AccessRequestsClient#get_access_request') do
207
+ @api_client.call_api(
208
+ :GET,
209
+ path,
210
+ endpoint,
211
+ header_params: header_params,
212
+ query_params: query_params,
213
+ operation_signing_strategy: operation_signing_strategy,
214
+ body: post_body,
215
+ return_type: 'OCI::OperatorAccessControl::Models::AccessRequest'
216
+ )
217
+ end
218
+ # rubocop:enable Metrics/BlockLength
219
+ end
220
+ # rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
221
+ # rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
222
+ # rubocop:enable Metrics/MethodLength, Layout/EmptyLines
223
+
224
+ # rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
225
+ # rubocop:disable Style/IfUnlessModifier, Metrics/ParameterLists
226
+ # rubocop:disable Metrics/MethodLength, Layout/EmptyLines
227
+
228
+
229
+ # Returns a history of all status associated with the accessRequestId.
230
+ #
231
+ # @param [String] access_request_id unique AccessRequest identifier
232
+ # @param [Hash] opts the optional parameters
233
+ # @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
234
+ # retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
235
+ # @option opts [Integer] :limit The maximum number of items to return. (default to 10)
236
+ # @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.
237
+ # @option opts [String] :opc_request_id The client request ID for tracing.
238
+ # @return [Response] A Response object with data of type {OCI::OperatorAccessControl::Models::AccessRequestHistoryCollection AccessRequestHistoryCollection}
239
+ # @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/operatoraccesscontrol/list_access_request_histories.rb.html) to see an example of how to use list_access_request_histories API.
240
+ def list_access_request_histories(access_request_id, opts = {})
241
+ logger.debug 'Calling operation AccessRequestsClient#list_access_request_histories.' if logger
242
+
243
+ raise "Missing the required parameter 'access_request_id' when calling list_access_request_histories." if access_request_id.nil?
244
+ raise "Parameter value for 'access_request_id' must not be blank" if OCI::Internal::Util.blank_string?(access_request_id)
245
+
246
+ path = '/accessRequests/{accessRequestId}/history'.sub('{accessRequestId}', access_request_id.to_s)
247
+ operation_signing_strategy = :standard
248
+
249
+ # rubocop:disable Style/NegatedIf
250
+ # Query Params
251
+ query_params = {}
252
+ query_params[:limit] = opts[:limit] if opts[:limit]
253
+ query_params[:page] = opts[:page] if opts[:page]
254
+
255
+ # Header Params
256
+ header_params = {}
257
+ header_params[:accept] = 'application/json'
258
+ header_params[:'content-type'] = 'application/json'
259
+ header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
260
+ # rubocop:enable Style/NegatedIf
261
+
262
+ post_body = nil
263
+
264
+ # rubocop:disable Metrics/BlockLength
265
+ OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'AccessRequestsClient#list_access_request_histories') do
266
+ @api_client.call_api(
267
+ :GET,
268
+ path,
269
+ endpoint,
270
+ header_params: header_params,
271
+ query_params: query_params,
272
+ operation_signing_strategy: operation_signing_strategy,
273
+ body: post_body,
274
+ return_type: 'OCI::OperatorAccessControl::Models::AccessRequestHistoryCollection'
275
+ )
276
+ end
277
+ # rubocop:enable Metrics/BlockLength
278
+ end
279
+ # rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
280
+ # rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
281
+ # rubocop:enable Metrics/MethodLength, Layout/EmptyLines
282
+
283
+ # rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
284
+ # rubocop:disable Style/IfUnlessModifier, Metrics/ParameterLists
285
+ # rubocop:disable Metrics/MethodLength, Layout/EmptyLines
286
+
287
+
288
+ # Lists all access requests in the compartment.
289
+ #
290
+ # @param [String] compartment_id The ID of the compartment in which to list resources.
291
+ # @param [Hash] opts the optional parameters
292
+ # @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
293
+ # retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
294
+ # @option opts [String] :resource_name A filter to return only resources that match the given ResourceName.
295
+ # @option opts [String] :lifecycle_state A filter to return only resources whose lifecycleState matches the given AccessRequest lifecycleState.
296
+ # @option opts [Integer] :limit The maximum number of items to return. (default to 10)
297
+ # @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.
298
+ # @option opts [String] :sort_order The sort order to use, either 'asc' or 'desc'. (default to DESC)
299
+ # @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.
300
+ # (default to timeCreated)
301
+ # Allowed values are: timeCreated, displayName
302
+ # @option opts [String] :opc_request_id The client request ID for tracing.
303
+ # @return [Response] A Response object with data of type {OCI::OperatorAccessControl::Models::AccessRequestCollection AccessRequestCollection}
304
+ # @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/operatoraccesscontrol/list_access_requests.rb.html) to see an example of how to use list_access_requests API.
305
+ def list_access_requests(compartment_id, opts = {})
306
+ logger.debug 'Calling operation AccessRequestsClient#list_access_requests.' if logger
307
+
308
+ raise "Missing the required parameter 'compartment_id' when calling list_access_requests." if compartment_id.nil?
309
+
310
+ if opts[:lifecycle_state] && !OCI::OperatorAccessControl::Models::ACCESS_REQUEST_LIFECYCLE_STATES_ENUM.include?(opts[:lifecycle_state])
311
+ raise 'Invalid value for "lifecycle_state", must be one of the values in OCI::OperatorAccessControl::Models::ACCESS_REQUEST_LIFECYCLE_STATES_ENUM.'
312
+ end
313
+
314
+ if opts[:sort_order] && !OCI::OperatorAccessControl::Models::SORT_ORDERS_ENUM.include?(opts[:sort_order])
315
+ raise 'Invalid value for "sort_order", must be one of the values in OCI::OperatorAccessControl::Models::SORT_ORDERS_ENUM.'
316
+ end
317
+
318
+ if opts[:sort_by] && !%w[timeCreated displayName].include?(opts[:sort_by])
319
+ raise 'Invalid value for "sort_by", must be one of timeCreated, displayName.'
320
+ end
321
+
322
+ path = '/accessRequests'
323
+ operation_signing_strategy = :standard
324
+
325
+ # rubocop:disable Style/NegatedIf
326
+ # Query Params
327
+ query_params = {}
328
+ query_params[:compartmentId] = compartment_id
329
+ query_params[:resourceName] = opts[:resource_name] if opts[:resource_name]
330
+ query_params[:lifecycleState] = opts[:lifecycle_state] if opts[:lifecycle_state]
331
+ query_params[:limit] = opts[:limit] if opts[:limit]
332
+ query_params[:page] = opts[:page] if opts[:page]
333
+ query_params[:sortOrder] = opts[:sort_order] if opts[:sort_order]
334
+ query_params[:sortBy] = opts[:sort_by] if opts[:sort_by]
335
+
336
+ # Header Params
337
+ header_params = {}
338
+ header_params[:accept] = 'application/json'
339
+ header_params[:'content-type'] = 'application/json'
340
+ header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
341
+ # rubocop:enable Style/NegatedIf
342
+
343
+ post_body = nil
344
+
345
+ # rubocop:disable Metrics/BlockLength
346
+ OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'AccessRequestsClient#list_access_requests') do
347
+ @api_client.call_api(
348
+ :GET,
349
+ path,
350
+ endpoint,
351
+ header_params: header_params,
352
+ query_params: query_params,
353
+ operation_signing_strategy: operation_signing_strategy,
354
+ body: post_body,
355
+ return_type: 'OCI::OperatorAccessControl::Models::AccessRequestCollection'
356
+ )
357
+ end
358
+ # rubocop:enable Metrics/BlockLength
359
+ end
360
+ # rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
361
+ # rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
362
+ # rubocop:enable Metrics/MethodLength, Layout/EmptyLines
363
+
364
+ # rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
365
+ # rubocop:disable Style/IfUnlessModifier, Metrics/ParameterLists
366
+ # rubocop:disable Metrics/MethodLength, Layout/EmptyLines
367
+
368
+
369
+ # Rejects an access request.
370
+ #
371
+ # @param [String] access_request_id unique AccessRequest identifier
372
+ # @param [OCI::OperatorAccessControl::Models::RejectAccessRequestDetails] reject_access_request_details Details regarding the rejection of an access request created by the operator.
373
+ # @param [Hash] opts the optional parameters
374
+ # @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
375
+ # retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
376
+ # @option opts [String] :opc_retry_token A token that uniquely identifies a request so it can be retried in case of a timeout or
377
+ # server error without risk of executing that same action again. Retry tokens expire after 24
378
+ # hours, but can be invalidated before then due to conflicting operations. For example, if a resource
379
+ # has been deleted and purged from the system, then a retry of the original creation request
380
+ # might be rejected.
381
+ #
382
+ # @option opts [String] :if_match For optimistic concurrency control. In the PUT or DELETE call
383
+ # for a resource, set the `if-match` parameter to the value of the
384
+ # etag from a previous GET or POST response for that resource.
385
+ # The resource will be updated or deleted only if the etag you
386
+ # provide matches the resource's current etag value.
387
+ #
388
+ # @option opts [String] :opc_request_id The client request ID for tracing.
389
+ # @return [Response] A Response object with data of type nil
390
+ # @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/operatoraccesscontrol/reject_access_request.rb.html) to see an example of how to use reject_access_request API.
391
+ def reject_access_request(access_request_id, reject_access_request_details, opts = {})
392
+ logger.debug 'Calling operation AccessRequestsClient#reject_access_request.' if logger
393
+
394
+ raise "Missing the required parameter 'access_request_id' when calling reject_access_request." if access_request_id.nil?
395
+ raise "Missing the required parameter 'reject_access_request_details' when calling reject_access_request." if reject_access_request_details.nil?
396
+ raise "Parameter value for 'access_request_id' must not be blank" if OCI::Internal::Util.blank_string?(access_request_id)
397
+
398
+ path = '/accessRequests/{accessRequestId}/action/reject'.sub('{accessRequestId}', access_request_id.to_s)
399
+ operation_signing_strategy = :standard
400
+
401
+ # rubocop:disable Style/NegatedIf
402
+ # Query Params
403
+ query_params = {}
404
+
405
+ # Header Params
406
+ header_params = {}
407
+ header_params[:accept] = 'application/json'
408
+ header_params[:'content-type'] = 'application/json'
409
+ header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token]
410
+ header_params[:'if-match'] = opts[:if_match] if opts[:if_match]
411
+ header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
412
+ # rubocop:enable Style/NegatedIf
413
+ header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token
414
+
415
+ post_body = @api_client.object_to_http_body(reject_access_request_details)
416
+
417
+ # rubocop:disable Metrics/BlockLength
418
+ OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'AccessRequestsClient#reject_access_request') do
419
+ @api_client.call_api(
420
+ :POST,
421
+ path,
422
+ endpoint,
423
+ header_params: header_params,
424
+ query_params: query_params,
425
+ operation_signing_strategy: operation_signing_strategy,
426
+ body: post_body
427
+ )
428
+ end
429
+ # rubocop:enable Metrics/BlockLength
430
+ end
431
+ # rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
432
+ # rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
433
+ # rubocop:enable Metrics/MethodLength, Layout/EmptyLines
434
+
435
+ # rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
436
+ # rubocop:disable Style/IfUnlessModifier, Metrics/ParameterLists
437
+ # rubocop:disable Metrics/MethodLength, Layout/EmptyLines
438
+
439
+
440
+ # Revokes an already approved access request.
441
+ #
442
+ # @param [String] access_request_id unique AccessRequest identifier
443
+ # @param [OCI::OperatorAccessControl::Models::RevokeAccessRequestDetails] revoke_access_request_details Details regarding the revocation of an access request created by the operator.
444
+ # @param [Hash] opts the optional parameters
445
+ # @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
446
+ # retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
447
+ # @option opts [String] :opc_retry_token A token that uniquely identifies a request so it can be retried in case of a timeout or
448
+ # server error without risk of executing that same action again. Retry tokens expire after 24
449
+ # hours, but can be invalidated before then due to conflicting operations. For example, if a resource
450
+ # has been deleted and purged from the system, then a retry of the original creation request
451
+ # might be rejected.
452
+ #
453
+ # @option opts [String] :if_match For optimistic concurrency control. In the PUT or DELETE call
454
+ # for a resource, set the `if-match` parameter to the value of the
455
+ # etag from a previous GET or POST response for that resource.
456
+ # The resource will be updated or deleted only if the etag you
457
+ # provide matches the resource's current etag value.
458
+ #
459
+ # @option opts [String] :opc_request_id The client request ID for tracing.
460
+ # @return [Response] A Response object with data of type nil
461
+ # @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/operatoraccesscontrol/revoke_access_request.rb.html) to see an example of how to use revoke_access_request API.
462
+ def revoke_access_request(access_request_id, revoke_access_request_details, opts = {})
463
+ logger.debug 'Calling operation AccessRequestsClient#revoke_access_request.' if logger
464
+
465
+ raise "Missing the required parameter 'access_request_id' when calling revoke_access_request." if access_request_id.nil?
466
+ raise "Missing the required parameter 'revoke_access_request_details' when calling revoke_access_request." if revoke_access_request_details.nil?
467
+ raise "Parameter value for 'access_request_id' must not be blank" if OCI::Internal::Util.blank_string?(access_request_id)
468
+
469
+ path = '/accessRequests/{accessRequestId}/action/revoke'.sub('{accessRequestId}', access_request_id.to_s)
470
+ operation_signing_strategy = :standard
471
+
472
+ # rubocop:disable Style/NegatedIf
473
+ # Query Params
474
+ query_params = {}
475
+
476
+ # Header Params
477
+ header_params = {}
478
+ header_params[:accept] = 'application/json'
479
+ header_params[:'content-type'] = 'application/json'
480
+ header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token]
481
+ header_params[:'if-match'] = opts[:if_match] if opts[:if_match]
482
+ header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
483
+ # rubocop:enable Style/NegatedIf
484
+ header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token
485
+
486
+ post_body = @api_client.object_to_http_body(revoke_access_request_details)
487
+
488
+ # rubocop:disable Metrics/BlockLength
489
+ OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'AccessRequestsClient#revoke_access_request') do
490
+ @api_client.call_api(
491
+ :POST,
492
+ path,
493
+ endpoint,
494
+ header_params: header_params,
495
+ query_params: query_params,
496
+ operation_signing_strategy: operation_signing_strategy,
497
+ body: post_body
498
+ )
499
+ end
500
+ # rubocop:enable Metrics/BlockLength
501
+ end
502
+ # rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
503
+ # rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
504
+ # rubocop:enable Metrics/MethodLength, Layout/EmptyLines
505
+
506
+ private
507
+
508
+ def applicable_retry_config(opts = {})
509
+ return @retry_config unless opts.key?(:retry_config)
510
+
511
+ opts[:retry_config]
512
+ end
513
+ end
514
+ end
515
+ # rubocop:enable Lint/UnneededCopDisableDirective, Metrics/LineLength