oci 2.10.0 → 2.11.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (611) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +2 -1
  3. data/lib/oci.rb +4 -0
  4. data/lib/oci/api_client.rb +1 -3
  5. data/lib/oci/apigateway/api_gateway_client.rb +619 -0
  6. data/lib/oci/apigateway/api_gateway_client_composite_operations.rb +198 -0
  7. data/lib/oci/apigateway/apigateway.rb +10 -0
  8. data/lib/oci/apigateway/models/api.rb +340 -0
  9. data/lib/oci/apigateway/models/api_collection.rb +150 -0
  10. data/lib/oci/apigateway/models/api_summary.rb +342 -0
  11. data/lib/oci/apigateway/models/api_validation_detail.rb +191 -0
  12. data/lib/oci/apigateway/models/api_validation_details.rb +192 -0
  13. data/lib/oci/apigateway/models/api_validation_result.rb +182 -0
  14. data/lib/oci/apigateway/models/api_validations.rb +150 -0
  15. data/lib/oci/{log_analytics/models/create_namespace_details.rb → apigateway/models/change_api_compartment_details.rb} +5 -3
  16. data/lib/oci/apigateway/models/create_api_details.rb +222 -0
  17. data/lib/oci/apigateway/models/update_api_details.rb +206 -0
  18. data/lib/oci/apigateway/models/work_request.rb +4 -0
  19. data/lib/oci/application_migration/application_migration.rb +2 -0
  20. data/lib/oci/application_migration/application_migration_client.rb +169 -52
  21. data/lib/oci/application_migration/application_migration_client_composite_operations.rb +447 -0
  22. data/lib/oci/application_migration/models/authorization_details.rb +4 -2
  23. data/lib/oci/application_migration/models/change_compartment_details.rb +2 -2
  24. data/lib/oci/application_migration/models/configuration_field.rb +9 -7
  25. data/lib/oci/application_migration/models/create_migration_details.rb +54 -12
  26. data/lib/oci/application_migration/models/create_source_details.rb +13 -8
  27. data/lib/oci/application_migration/models/discovery_details.rb +2 -2
  28. data/lib/oci/application_migration/models/ics_discovery_details.rb +4 -3
  29. data/lib/oci/application_migration/models/internal_authorization_details.rb +1 -1
  30. data/lib/oci/application_migration/models/internal_source_details.rb +2 -2
  31. data/lib/oci/application_migration/models/jcs_discovery_details.rb +5 -3
  32. data/lib/oci/application_migration/models/migration.rb +111 -18
  33. data/lib/oci/application_migration/models/migration_summary.rb +63 -15
  34. data/lib/oci/application_migration/models/oac_discovery_details.rb +3 -3
  35. data/lib/oci/application_migration/models/ocic_authorization_details.rb +1 -1
  36. data/lib/oci/application_migration/models/ocic_source_details.rb +8 -3
  37. data/lib/oci/application_migration/models/oic_discovery_details.rb +4 -3
  38. data/lib/oci/application_migration/models/pcs_discovery_details.rb +4 -3
  39. data/lib/oci/application_migration/models/soacs_discovery_details.rb +5 -3
  40. data/lib/oci/application_migration/models/source.rb +41 -13
  41. data/lib/oci/application_migration/models/source_application.rb +6 -6
  42. data/lib/oci/application_migration/models/source_application_summary.rb +7 -6
  43. data/lib/oci/application_migration/models/source_details.rb +10 -2
  44. data/lib/oci/application_migration/models/source_summary.rb +36 -14
  45. data/lib/oci/application_migration/models/target_database_types.rb +11 -0
  46. data/lib/oci/application_migration/models/update_migration_details.rb +15 -7
  47. data/lib/oci/application_migration/models/update_source_details.rb +7 -7
  48. data/lib/oci/application_migration/models/work_request.rb +54 -3
  49. data/lib/oci/application_migration/models/work_request_error.rb +1 -1
  50. data/lib/oci/application_migration/models/work_request_log_entry.rb +2 -2
  51. data/lib/oci/application_migration/models/work_request_resource.rb +1 -1
  52. data/lib/oci/application_migration/models/work_request_summary.rb +54 -3
  53. data/lib/oci/auth/signers/instance_principals_delegation_token_signer.rb +1 -1
  54. data/lib/oci/compute_instance_agent/compute_instance_agent.rb +39 -0
  55. data/lib/oci/compute_instance_agent/compute_instance_agent_client.rb +522 -0
  56. data/lib/oci/compute_instance_agent/compute_instance_agent_client_composite_operations.rb +25 -0
  57. data/lib/oci/compute_instance_agent/models/create_instance_agent_command_details.rb +205 -0
  58. data/lib/oci/compute_instance_agent/models/instance_agent_command.rb +256 -0
  59. data/lib/oci/compute_instance_agent/models/instance_agent_command_content.rb +159 -0
  60. data/lib/oci/compute_instance_agent/models/instance_agent_command_content_info.rb +236 -0
  61. data/lib/oci/compute_instance_agent/models/instance_agent_command_execution.rb +321 -0
  62. data/lib/oci/compute_instance_agent/models/instance_agent_command_execution_output_content.rb +218 -0
  63. data/lib/oci/compute_instance_agent/models/instance_agent_command_execution_output_via_object_storage_tuple_details.rb +198 -0
  64. data/lib/oci/compute_instance_agent/models/instance_agent_command_execution_output_via_object_storage_uri_details.rb +170 -0
  65. data/lib/oci/compute_instance_agent/models/instance_agent_command_execution_output_via_text_details.rb +180 -0
  66. data/lib/oci/compute_instance_agent/models/instance_agent_command_execution_summary.rb +321 -0
  67. data/lib/oci/compute_instance_agent/models/instance_agent_command_output_details.rb +197 -0
  68. data/lib/oci/compute_instance_agent/models/instance_agent_command_output_via_object_storage_tuple_details.rb +190 -0
  69. data/lib/oci/compute_instance_agent/models/instance_agent_command_output_via_object_storage_uri_details.rb +162 -0
  70. data/lib/oci/compute_instance_agent/models/instance_agent_command_output_via_text_details.rb +145 -0
  71. data/lib/oci/compute_instance_agent/models/instance_agent_command_source_details.rb +197 -0
  72. data/lib/oci/compute_instance_agent/models/instance_agent_command_source_via_object_storage_tuple_details.rb +190 -0
  73. data/lib/oci/compute_instance_agent/models/instance_agent_command_source_via_object_storage_uri_details.rb +162 -0
  74. data/lib/oci/compute_instance_agent/models/instance_agent_command_source_via_text_details.rb +172 -0
  75. data/lib/oci/compute_instance_agent/models/instance_agent_command_summary.rb +224 -0
  76. data/lib/oci/compute_instance_agent/models/instance_agent_command_target.rb +154 -0
  77. data/lib/oci/compute_instance_agent/util.rb +3 -0
  78. data/lib/oci/container_engine/container_engine_client.rb +0 -11
  79. data/lib/oci/container_engine/models/create_node_shape_config_details.rb +19 -4
  80. data/lib/oci/container_engine/models/node_shape_config.rb +19 -4
  81. data/lib/oci/container_engine/models/update_node_shape_config_details.rb +19 -4
  82. data/lib/oci/core/core.rb +4 -0
  83. data/lib/oci/core/models/add_vcn_cidr_details.rb +155 -0
  84. data/lib/oci/core/models/create_vcn_details.rb +24 -2
  85. data/lib/oci/core/models/create_vlan_details.rb +1 -0
  86. data/lib/oci/core/models/image_memory_constraints.rb +17 -17
  87. data/lib/oci/core/models/modify_vcn_cidr_details.rb +172 -0
  88. data/lib/oci/core/models/remove_vcn_cidr_details.rb +155 -0
  89. data/lib/oci/core/models/subnet.rb +1 -0
  90. data/lib/oci/core/models/update_subnet_details.rb +27 -4
  91. data/lib/oci/core/models/update_vlan_details.rb +25 -4
  92. data/lib/oci/core/models/vcn.rb +18 -2
  93. data/lib/oci/core/models/vcn_dns_resolver_association.rb +206 -0
  94. data/lib/oci/core/virtual_network_client.rb +289 -4
  95. data/lib/oci/data_catalog/data_catalog.rb +30 -0
  96. data/lib/oci/data_catalog/data_catalog_client.rb +1763 -112
  97. data/lib/oci/data_catalog/data_catalog_client_composite_operations.rb +413 -0
  98. data/lib/oci/data_catalog/models/attribute.rb +15 -1
  99. data/lib/oci/data_catalog/models/connection.rb +15 -1
  100. data/lib/oci/data_catalog/models/create_attribute_details.rb +15 -1
  101. data/lib/oci/data_catalog/models/create_connection_details.rb +15 -1
  102. data/lib/oci/data_catalog/models/create_custom_property_details.rb +324 -0
  103. data/lib/oci/data_catalog/models/create_data_asset_details.rb +15 -1
  104. data/lib/oci/data_catalog/models/create_entity_details.rb +43 -1
  105. data/lib/oci/data_catalog/models/create_folder_details.rb +15 -1
  106. data/lib/oci/data_catalog/models/create_glossary_details.rb +18 -4
  107. data/lib/oci/data_catalog/models/create_namespace_details.rb +182 -0
  108. data/lib/oci/data_catalog/models/create_pattern_details.rb +243 -0
  109. data/lib/oci/data_catalog/models/create_term_details.rb +18 -4
  110. data/lib/oci/data_catalog/models/custom_property.rb +506 -0
  111. data/lib/oci/data_catalog/models/custom_property_collection.rb +161 -0
  112. data/lib/oci/data_catalog/models/custom_property_data_type.rb +14 -0
  113. data/lib/oci/data_catalog/models/custom_property_get_usage.rb +327 -0
  114. data/lib/oci/data_catalog/models/custom_property_set_usage.rb +188 -0
  115. data/lib/oci/data_catalog/models/custom_property_summary.rb +432 -0
  116. data/lib/oci/data_catalog/models/custom_property_type_usage.rb +178 -0
  117. data/lib/oci/data_catalog/models/data_asset.rb +29 -1
  118. data/lib/oci/{log_analytics/models/string_list_details.rb → data_catalog/models/data_selector_pattern_details.rb} +11 -10
  119. data/lib/oci/data_catalog/models/derived_logical_entities.rb +178 -0
  120. data/lib/oci/data_catalog/models/entity.rb +43 -1
  121. data/lib/oci/data_catalog/models/entity_summary.rb +29 -1
  122. data/lib/oci/data_catalog/models/faceted_search_aggregation.rb +160 -0
  123. data/lib/oci/data_catalog/models/faceted_search_custom_property.rb +174 -0
  124. data/lib/oci/data_catalog/models/faceted_search_date_filter_request.rb +186 -0
  125. data/lib/oci/data_catalog/models/faceted_search_filter_request.rb +168 -0
  126. data/lib/oci/data_catalog/models/faceted_search_sort_request.rb +181 -0
  127. data/lib/oci/data_catalog/models/faceted_search_string_filter_request.rb +160 -0
  128. data/lib/oci/data_catalog/models/folder.rb +15 -1
  129. data/lib/oci/data_catalog/models/glossary.rb +73 -1
  130. data/lib/oci/data_catalog/models/glossary_summary.rb +62 -4
  131. data/lib/oci/data_catalog/models/namespace.rb +290 -0
  132. data/lib/oci/data_catalog/models/namespace_collection.rb +161 -0
  133. data/lib/oci/data_catalog/models/namespace_summary.rb +247 -0
  134. data/lib/oci/data_catalog/models/pattern.rb +368 -0
  135. data/lib/oci/data_catalog/models/pattern_collection.rb +162 -0
  136. data/lib/oci/data_catalog/models/pattern_summary.rb +258 -0
  137. data/lib/oci/data_catalog/models/search_criteria.rb +47 -4
  138. data/lib/oci/data_catalog/models/search_result.rb +28 -4
  139. data/lib/oci/data_catalog/models/search_result_collection.rb +28 -4
  140. data/lib/oci/data_catalog/models/term.rb +18 -4
  141. data/lib/oci/data_catalog/models/type.rb +18 -4
  142. data/lib/oci/{log_analytics/models/register_entity_types_details.rb → data_catalog/models/type_custom_property_details.rb} +13 -13
  143. data/lib/oci/data_catalog/models/update_attribute_details.rb +15 -1
  144. data/lib/oci/data_catalog/models/update_connection_details.rb +15 -1
  145. data/lib/oci/data_catalog/models/update_custom_property_details.rb +291 -0
  146. data/lib/oci/data_catalog/models/update_data_asset_details.rb +15 -1
  147. data/lib/oci/data_catalog/models/update_entity_details.rb +43 -1
  148. data/lib/oci/data_catalog/models/update_folder_details.rb +15 -1
  149. data/lib/oci/data_catalog/models/update_glossary_details.rb +18 -4
  150. data/lib/oci/data_catalog/models/update_namespace_details.rb +182 -0
  151. data/lib/oci/data_catalog/models/update_pattern_details.rb +243 -0
  152. data/lib/oci/data_catalog/models/update_term_details.rb +18 -4
  153. data/lib/oci/data_catalog/models/validate_pattern_details.rb +187 -0
  154. data/lib/oci/data_catalog/models/validate_pattern_result.rb +184 -0
  155. data/lib/oci/data_integration/models/source.rb +1 -0
  156. data/lib/oci/database/database.rb +19 -0
  157. data/lib/oci/database/database_client.rb +1112 -8
  158. data/lib/oci/database/database_client_composite_operations.rb +281 -0
  159. data/lib/oci/database/models/autonomous_container_database.rb +80 -4
  160. data/lib/oci/database/models/autonomous_container_database_dataguard_association.rb +480 -0
  161. data/lib/oci/database/models/autonomous_container_database_summary.rb +80 -4
  162. data/lib/oci/database/models/autonomous_database.rb +141 -8
  163. data/lib/oci/database/models/autonomous_database_backup.rb +32 -4
  164. data/lib/oci/database/models/autonomous_database_backup_config.rb +189 -0
  165. data/lib/oci/database/models/autonomous_database_backup_summary.rb +32 -4
  166. data/lib/oci/database/models/autonomous_database_dataguard_association.rb +468 -0
  167. data/lib/oci/database/models/autonomous_database_summary.rb +141 -8
  168. data/lib/oci/database/models/autonomous_db_version_summary.rb +46 -4
  169. data/lib/oci/{log_analytics/models/query.rb → database/models/change_key_store_compartment_details.rb} +5 -3
  170. data/lib/oci/database/models/create_autonomous_container_database_details.rb +138 -5
  171. data/lib/oci/database/models/create_autonomous_database_base.rb +30 -5
  172. data/lib/oci/database/models/create_autonomous_database_clone_details.rb +5 -1
  173. data/lib/oci/database/models/create_autonomous_database_details.rb +5 -1
  174. data/lib/oci/database/models/create_autonomous_database_from_backup_details.rb +5 -1
  175. data/lib/oci/database/models/create_autonomous_database_from_backup_timestamp_details.rb +5 -1
  176. data/lib/oci/database/models/create_data_guard_association_details.rb +15 -1
  177. data/lib/oci/database/models/create_data_guard_association_to_existing_db_system_details.rb +24 -4
  178. data/lib/oci/database/models/create_data_guard_association_to_existing_vm_cluster_details.rb +24 -4
  179. data/lib/oci/database/models/create_data_guard_association_with_new_db_system_details.rb +5 -1
  180. data/lib/oci/database/models/create_database_details.rb +15 -1
  181. data/lib/oci/database/models/create_db_home_with_db_system_id_details.rb +1 -1
  182. data/lib/oci/database/models/create_db_home_with_vm_cluster_id_details.rb +1 -1
  183. data/lib/oci/database/models/create_key_store_details.rb +217 -0
  184. data/lib/oci/database/models/create_refreshable_autonomous_database_clone_details.rb +5 -1
  185. data/lib/oci/database/models/database.rb +1 -0
  186. data/lib/oci/database/models/database_software_image.rb +18 -4
  187. data/lib/oci/database/models/database_software_image_summary.rb +18 -4
  188. data/lib/oci/database/models/database_summary.rb +1 -0
  189. data/lib/oci/database/models/database_upgrade_history_entry.rb +352 -0
  190. data/lib/oci/database/models/database_upgrade_history_entry_summary.rb +355 -0
  191. data/lib/oci/database/models/database_upgrade_source_base.rb +188 -0
  192. data/lib/oci/database/models/database_upgrade_with_database_software_image_details.rb +164 -0
  193. data/lib/oci/database/models/database_upgrade_with_db_home_details.rb +164 -0
  194. data/lib/oci/database/models/database_upgrade_with_db_version_details.rb +164 -0
  195. data/lib/oci/database/models/db_system.rb +1 -0
  196. data/lib/oci/database/models/db_system_summary.rb +1 -0
  197. data/lib/oci/database/models/db_version_summary.rb +18 -4
  198. data/lib/oci/database/models/key_store.rb +300 -0
  199. data/lib/oci/database/models/key_store_associated_database_details.rb +164 -0
  200. data/lib/oci/database/models/key_store_summary.rb +303 -0
  201. data/lib/oci/database/models/key_store_type_details.rb +185 -0
  202. data/lib/oci/database/models/key_store_type_from_oracle_key_vault_details.rb +204 -0
  203. data/lib/oci/database/models/maintenance_run.rb +18 -4
  204. data/lib/oci/database/models/maintenance_run_summary.rb +18 -4
  205. data/lib/oci/database/models/peer_autonomous_container_database_backup_config.rb +172 -0
  206. data/lib/oci/database/models/update.rb +1 -0
  207. data/lib/oci/database/models/update_autonomous_container_database_details.rb +17 -1
  208. data/lib/oci/database/models/update_autonomous_database_details.rb +30 -5
  209. data/lib/oci/database/models/update_database_details.rb +43 -1
  210. data/lib/oci/database/models/update_history_entry.rb +1 -0
  211. data/lib/oci/database/models/update_history_entry_summary.rb +1 -0
  212. data/lib/oci/database/models/update_key_store_details.rb +187 -0
  213. data/lib/oci/database/models/update_summary.rb +1 -0
  214. data/lib/oci/database/models/upgrade_database_details.rb +179 -0
  215. data/lib/oci/dns/dns.rb +24 -0
  216. data/lib/oci/dns/dns_client.rb +1695 -175
  217. data/lib/oci/dns/dns_client_composite_operations.rb +240 -0
  218. data/lib/oci/{log_analytics/models/service_tenancy.rb → dns/models/attached_view.rb} +13 -12
  219. data/lib/oci/dns/models/attached_view_details.rb +155 -0
  220. data/lib/oci/dns/models/change_resolver_compartment_details.rb +156 -0
  221. data/lib/oci/{log_analytics/models/query_work_request_resource.rb → dns/models/change_view_compartment_details.rb} +5 -3
  222. data/lib/oci/dns/models/create_resolver_endpoint_details.rb +261 -0
  223. data/lib/oci/dns/models/create_resolver_vnic_endpoint_details.rb +203 -0
  224. data/lib/oci/dns/models/create_view_details.rb +210 -0
  225. data/lib/oci/dns/models/create_zone_details.rb +41 -2
  226. data/lib/oci/dns/models/migration_replacement.rb +1 -1
  227. data/lib/oci/dns/models/record.rb +1 -2
  228. data/lib/oci/dns/models/record_collection.rb +1 -0
  229. data/lib/oci/dns/models/record_details.rb +1 -2
  230. data/lib/oci/dns/models/record_operation.rb +1 -2
  231. data/lib/oci/dns/models/resolver.rb +393 -0
  232. data/lib/oci/dns/models/resolver_endpoint.rb +371 -0
  233. data/lib/oci/dns/models/resolver_endpoint_summary.rb +371 -0
  234. data/lib/oci/{log_analytics/models/generate_agent_object_name_details.rb → dns/models/resolver_forward_rule.rb} +42 -51
  235. data/lib/oci/dns/models/resolver_forward_rule_details.rb +187 -0
  236. data/lib/oci/dns/models/resolver_rule.rb +222 -0
  237. data/lib/oci/dns/models/resolver_rule_details.rb +215 -0
  238. data/lib/oci/dns/models/resolver_summary.rb +357 -0
  239. data/lib/oci/dns/models/resolver_vnic_endpoint.rb +220 -0
  240. data/lib/oci/dns/models/resolver_vnic_endpoint_summary.rb +205 -0
  241. data/lib/oci/dns/models/rr_set.rb +1 -0
  242. data/lib/oci/{log_analytics/models/sort_orders.rb → dns/models/scope.rb} +4 -4
  243. data/lib/oci/dns/models/steering_policy.rb +12 -12
  244. data/lib/oci/dns/models/steering_policy_answer.rb +1 -1
  245. data/lib/oci/dns/models/steering_policy_attachment.rb +10 -10
  246. data/lib/oci/dns/models/steering_policy_attachment_summary.rb +10 -10
  247. data/lib/oci/dns/models/steering_policy_summary.rb +10 -10
  248. data/lib/oci/dns/models/tsig_key.rb +10 -10
  249. data/lib/oci/dns/models/tsig_key_summary.rb +9 -9
  250. data/lib/oci/dns/models/update_resolver_details.rb +221 -0
  251. data/lib/oci/dns/models/update_resolver_endpoint_details.rb +188 -0
  252. data/lib/oci/dns/models/update_resolver_vnic_endpoint_details.rb +166 -0
  253. data/lib/oci/dns/models/update_view_details.rb +196 -0
  254. data/lib/oci/{log_analytics/models/log_analytics.rb → dns/models/view.rb} +105 -77
  255. data/lib/oci/dns/models/view_summary.rb +321 -0
  256. data/lib/oci/dns/models/zone.rb +75 -14
  257. data/lib/oci/dns/models/zone_summary.rb +76 -15
  258. data/lib/oci/functions/functions_management_client.rb +1 -1
  259. data/lib/oci/functions/models/application.rb +21 -2
  260. data/lib/oci/functions/models/application_summary.rb +1 -1
  261. data/lib/oci/functions/models/create_application_details.rb +20 -1
  262. data/lib/oci/functions/models/function.rb +1 -1
  263. data/lib/oci/functions/models/function_summary.rb +1 -1
  264. data/lib/oci/functions/models/update_application_details.rb +20 -1
  265. data/lib/oci/identity/identity.rb +5 -0
  266. data/lib/oci/identity/identity_client.rb +152 -23
  267. data/lib/oci/identity/identity_client_composite_operations.rb +48 -0
  268. data/lib/oci/identity/models/bulk_edit_operation_details.rb +193 -0
  269. data/lib/oci/identity/models/bulk_edit_resource.rb +175 -0
  270. data/lib/oci/identity/models/bulk_edit_tags_details.rb +181 -0
  271. data/lib/oci/identity/models/bulk_edit_tags_resource_type.rb +175 -0
  272. data/lib/oci/identity/models/bulk_edit_tags_resource_type_collection.rb +151 -0
  273. data/lib/oci/identity/models/customer_secret_key.rb +3 -3
  274. data/lib/oci/identity/models/tagging_work_request.rb +4 -0
  275. data/lib/oci/identity/models/tagging_work_request_summary.rb +4 -0
  276. data/lib/oci/identity/models/user.rb +54 -4
  277. data/lib/oci/identity/models/work_request_resource.rb +1 -0
  278. data/lib/oci/load_balancer/load_balancer.rb +1 -0
  279. data/lib/oci/load_balancer/models/add_http_request_header_rule.rb +2 -1
  280. data/lib/oci/load_balancer/models/create_load_balancer_details.rb +16 -1
  281. data/lib/oci/load_balancer/models/ip_address.rb +17 -4
  282. data/lib/oci/load_balancer/models/remove_http_request_header_rule.rb +0 -2
  283. data/lib/oci/{log_analytics/models/log_analytics_collection_warning.rb → load_balancer/models/reserved_ip.rb} +2 -4
  284. data/lib/oci/load_balancer/models/update_load_balancer_shape_details.rb +7 -6
  285. data/lib/oci/log_analytics/log_analytics.rb +0 -15
  286. data/lib/oci/log_analytics/log_analytics_client.rb +193 -180
  287. data/lib/oci/log_analytics/log_analytics_client_composite_operations.rb +68 -17
  288. data/lib/oci/log_analytics/models/abstract_command_descriptor.rb +1 -1
  289. data/lib/oci/log_analytics/models/archiving_configuration.rb +3 -3
  290. data/lib/oci/log_analytics/models/bucket_range.rb +1 -1
  291. data/lib/oci/log_analytics/models/change_log_analytics_object_collection_rule_compartment_details.rb +1 -1
  292. data/lib/oci/log_analytics/models/char_encoding_collection.rb +2 -2
  293. data/lib/oci/log_analytics/models/create_log_analytics_object_collection_rule_details.rb +4 -6
  294. data/lib/oci/log_analytics/models/estimate_purge_data_size_details.rb +6 -6
  295. data/lib/oci/log_analytics/models/estimate_purge_data_size_result.rb +1 -1
  296. data/lib/oci/log_analytics/models/export_content.rb +1 -0
  297. data/lib/oci/log_analytics/models/extract_log_field_results.rb +1 -1
  298. data/lib/oci/log_analytics/models/extract_log_header_details.rb +1 -1
  299. data/lib/oci/log_analytics/models/extract_log_header_results.rb +1 -1
  300. data/lib/oci/log_analytics/models/file_validation_response.rb +3 -3
  301. data/lib/oci/log_analytics/models/filter.rb +1 -1
  302. data/lib/oci/log_analytics/models/filter_details.rb +1 -1
  303. data/lib/oci/log_analytics/models/label_source_summary.rb +1 -1
  304. data/lib/oci/log_analytics/models/log_analytics_entity_summary.rb +36 -4
  305. data/lib/oci/log_analytics/models/log_analytics_field_summary.rb +1 -1
  306. data/lib/oci/log_analytics/models/log_analytics_import_custom_content.rb +0 -1
  307. data/lib/oci/log_analytics/models/log_analytics_lookup.rb +0 -2
  308. data/lib/oci/log_analytics/models/log_analytics_object_collection_rule.rb +4 -6
  309. data/lib/oci/log_analytics/models/log_analytics_object_collection_rule_summary.rb +1 -3
  310. data/lib/oci/log_analytics/models/log_analytics_parser_filter.rb +3 -3
  311. data/lib/oci/log_analytics/models/namespace.rb +5 -4
  312. data/lib/oci/log_analytics/models/namespace_collection.rb +2 -2
  313. data/lib/oci/log_analytics/models/namespace_summary.rb +5 -4
  314. data/lib/oci/log_analytics/models/parsed_content.rb +2 -2
  315. data/lib/oci/log_analytics/models/parsed_field.rb +1 -1
  316. data/lib/oci/log_analytics/models/purge_storage_data_details.rb +6 -6
  317. data/lib/oci/log_analytics/models/query_aggregation.rb +1 -1
  318. data/lib/oci/log_analytics/models/query_details.rb +5 -5
  319. data/lib/oci/log_analytics/models/recall_archived_data_details.rb +5 -5
  320. data/lib/oci/log_analytics/models/release_recalled_data_details.rb +5 -5
  321. data/lib/oci/log_analytics/models/scope_filter.rb +1 -1
  322. data/lib/oci/log_analytics/models/source_validate_details.rb +1 -1
  323. data/lib/oci/log_analytics/models/source_validate_results.rb +1 -1
  324. data/lib/oci/log_analytics/models/storage.rb +2 -2
  325. data/lib/oci/log_analytics/models/storage_usage.rb +4 -4
  326. data/lib/oci/log_analytics/models/storage_work_request.rb +14 -14
  327. data/lib/oci/log_analytics/models/storage_work_request_collection.rb +2 -2
  328. data/lib/oci/log_analytics/models/storage_work_request_summary.rb +14 -14
  329. data/lib/oci/log_analytics/models/timezone_collection.rb +2 -2
  330. data/lib/oci/log_analytics/models/update_log_analytics_object_collection_rule_details.rb +3 -3
  331. data/lib/oci/log_analytics/models/update_storage_details.rb +1 -1
  332. data/lib/oci/log_analytics/models/upload.rb +1 -1
  333. data/lib/oci/log_analytics/models/upload_collection.rb +1 -1
  334. data/lib/oci/log_analytics/models/upload_file_collection.rb +1 -1
  335. data/lib/oci/log_analytics/models/upload_summary.rb +1 -1
  336. data/lib/oci/log_analytics/models/upload_warning_summary.rb +1 -1
  337. data/lib/oci/log_analytics/models/work_request_error_collection.rb +2 -2
  338. data/lib/oci/log_analytics/models/work_request_log.rb +3 -3
  339. data/lib/oci/log_analytics/models/work_request_log_collection.rb +2 -2
  340. data/lib/oci/logging/logging_management_client.rb +52 -52
  341. data/lib/oci/logging/logging_management_client_composite_operations.rb +128 -7
  342. data/lib/oci/logging/models/category.rb +4 -4
  343. data/lib/oci/logging/models/change_log_group_compartment_details.rb +2 -2
  344. data/lib/oci/logging/models/change_log_log_group_details.rb +1 -1
  345. data/lib/oci/logging/models/change_unified_agent_configuration_compartment_details.rb +2 -2
  346. data/lib/oci/logging/models/create_log_details.rb +3 -3
  347. data/lib/oci/logging/models/create_log_group_details.rb +1 -1
  348. data/lib/oci/logging/models/create_log_saved_search_details.rb +2 -16
  349. data/lib/oci/logging/models/create_unified_agent_configuration_details.rb +1 -1
  350. data/lib/oci/logging/models/grok_pattern.rb +6 -6
  351. data/lib/oci/logging/models/log.rb +5 -5
  352. data/lib/oci/logging/models/log_group.rb +3 -3
  353. data/lib/oci/logging/models/log_group_summary.rb +43 -5
  354. data/lib/oci/logging/models/log_included_search.rb +1 -1
  355. data/lib/oci/logging/models/log_included_search_summary.rb +1 -1
  356. data/lib/oci/logging/models/log_saved_search.rb +44 -19
  357. data/lib/oci/logging/models/log_saved_search_lifecycle_state.rb +5 -1
  358. data/lib/oci/logging/models/log_saved_search_summary.rb +63 -17
  359. data/lib/oci/logging/models/log_saved_search_summary_collection.rb +1 -1
  360. data/lib/oci/logging/models/log_summary.rb +4 -4
  361. data/lib/oci/logging/models/parameter.rb +2 -2
  362. data/lib/oci/logging/models/resource_type.rb +2 -2
  363. data/lib/oci/logging/models/service_summary.rb +6 -6
  364. data/lib/oci/logging/models/source.rb +1 -1
  365. data/lib/oci/logging/models/unified_agent_apache2_parser.rb +1 -1
  366. data/lib/oci/logging/models/unified_agent_apache_error_parser.rb +1 -1
  367. data/lib/oci/logging/models/unified_agent_configuration.rb +2 -2
  368. data/lib/oci/logging/models/unified_agent_configuration_collection.rb +1 -1
  369. data/lib/oci/logging/models/unified_agent_configuration_summary.rb +4 -4
  370. data/lib/oci/logging/models/unified_agent_csv_parser.rb +1 -1
  371. data/lib/oci/logging/models/unified_agent_grok_parser.rb +1 -1
  372. data/lib/oci/logging/models/unified_agent_logging_destination.rb +1 -1
  373. data/lib/oci/logging/models/unified_agent_logging_source.rb +2 -2
  374. data/lib/oci/logging/models/unified_agent_multiline_grok_parser.rb +1 -1
  375. data/lib/oci/logging/models/unified_agent_multiline_parser.rb +1 -1
  376. data/lib/oci/logging/models/unified_agent_none_parser.rb +1 -1
  377. data/lib/oci/logging/models/unified_agent_parser.rb +7 -7
  378. data/lib/oci/logging/models/unified_agent_regex_parser.rb +1 -1
  379. data/lib/oci/logging/models/unified_agent_service_configuration_details.rb +1 -1
  380. data/lib/oci/logging/models/unified_agent_syslog_parser.rb +1 -1
  381. data/lib/oci/logging/models/unified_agent_tail_log_source.rb +1 -1
  382. data/lib/oci/logging/models/unified_agent_tsv_parser.rb +1 -1
  383. data/lib/oci/logging/models/unified_agent_windows_event_source.rb +1 -1
  384. data/lib/oci/logging/models/unified_json_parser.rb +1 -1
  385. data/lib/oci/logging/models/update_configuration_details.rb +1 -1
  386. data/lib/oci/logging/models/update_log_details.rb +3 -3
  387. data/lib/oci/logging/models/update_log_group_details.rb +1 -1
  388. data/lib/oci/logging/models/update_log_saved_search_details.rb +2 -16
  389. data/lib/oci/logging/models/update_unified_agent_configuration_details.rb +2 -2
  390. data/lib/oci/logging/models/work_request.rb +2 -2
  391. data/lib/oci/logging/models/work_request_error.rb +3 -3
  392. data/lib/oci/logging/models/work_request_log.rb +1 -1
  393. data/lib/oci/logging/models/work_request_resource.rb +3 -3
  394. data/lib/oci/loggingingestion/logging_client.rb +3 -3
  395. data/lib/oci/loggingingestion/models/log_entry.rb +4 -5
  396. data/lib/oci/loggingingestion/models/log_entry_batch.rb +7 -7
  397. data/lib/oci/loggingsearch/log_search_client.rb +3 -3
  398. data/lib/oci/loggingsearch/models/field_info.rb +1 -1
  399. data/lib/oci/loggingsearch/models/search_logs_details.rb +2 -2
  400. data/lib/oci/loggingsearch/models/search_result.rb +2 -2
  401. data/lib/oci/management_dashboard/dashx_apis_client.rb +31 -32
  402. data/lib/oci/management_dashboard/models/change_management_dashboards_compartment_details.rb +2 -2
  403. data/lib/oci/management_dashboard/models/change_management_saved_searches_compartment_details.rb +2 -2
  404. data/lib/oci/management_dashboard/models/create_management_dashboard_details.rb +18 -18
  405. data/lib/oci/management_dashboard/models/create_management_saved_search_details.rb +15 -15
  406. data/lib/oci/management_dashboard/models/management_dashboard.rb +23 -23
  407. data/lib/oci/management_dashboard/models/management_dashboard_export_details.rb +1 -1
  408. data/lib/oci/management_dashboard/models/management_dashboard_for_import_export_details.rb +19 -19
  409. data/lib/oci/management_dashboard/models/management_dashboard_import_details.rb +1 -1
  410. data/lib/oci/management_dashboard/models/management_dashboard_summary.rb +14 -14
  411. data/lib/oci/management_dashboard/models/management_dashboard_tile_details.rb +14 -12
  412. data/lib/oci/management_dashboard/models/management_saved_search.rb +19 -19
  413. data/lib/oci/management_dashboard/models/management_saved_search_for_import_details.rb +15 -15
  414. data/lib/oci/management_dashboard/models/management_saved_search_summary.rb +46 -18
  415. data/lib/oci/management_dashboard/models/update_management_dashboard_details.rb +17 -17
  416. data/lib/oci/management_dashboard/models/update_management_saved_search_details.rb +15 -15
  417. data/lib/oci/mysql/db_system_client.rb +611 -2
  418. data/lib/oci/mysql/db_system_client_composite_operations.rb +345 -0
  419. data/lib/oci/mysql/models/add_analytics_cluster_details.rb +173 -0
  420. data/lib/oci/mysql/models/analytics_cluster.rb +282 -0
  421. data/lib/oci/mysql/models/analytics_cluster_memory_estimate.rb +236 -0
  422. data/lib/oci/mysql/models/analytics_cluster_memory_estimate_status.rb +15 -0
  423. data/lib/oci/mysql/models/analytics_cluster_node.rb +222 -0
  424. data/lib/oci/mysql/models/analytics_cluster_schema_memory_estimate.rb +172 -0
  425. data/lib/oci/mysql/models/analytics_cluster_summary.rb +215 -0
  426. data/lib/oci/mysql/models/analytics_cluster_table_memory_estimate.rb +236 -0
  427. data/lib/oci/mysql/models/db_system.rb +31 -1
  428. data/lib/oci/mysql/models/db_system_summary.rb +31 -1
  429. data/lib/oci/mysql/models/shape_summary.rb +46 -4
  430. data/lib/oci/mysql/models/update_analytics_cluster_details.rb +179 -0
  431. data/lib/oci/mysql/models/work_request.rb +7 -0
  432. data/lib/oci/mysql/models/work_request_operation_type.rb +8 -1
  433. data/lib/oci/mysql/models/work_request_summary.rb +7 -0
  434. data/lib/oci/mysql/mysql.rb +9 -0
  435. data/lib/oci/mysql/mysqlaas_client.rb +14 -0
  436. data/lib/oci/nosql/models/create_table_details.rb +15 -1
  437. data/lib/oci/nosql/models/table.rb +55 -4
  438. data/lib/oci/nosql/models/table_collection.rb +32 -4
  439. data/lib/oci/nosql/models/table_summary.rb +54 -4
  440. data/lib/oci/nosql/nosql_client.rb +6 -6
  441. data/lib/oci/object_storage/models/object_lifecycle_rule.rb +6 -0
  442. data/lib/oci/ocvp/models/create_esxi_host_details.rb +4 -2
  443. data/lib/oci/ocvp/models/create_sddc_details.rb +35 -3
  444. data/lib/oci/ocvp/models/sddc.rb +89 -1
  445. data/lib/oci/ocvp/models/sddc_summary.rb +29 -1
  446. data/lib/oci/ocvp/models/update_esxi_host_details.rb +3 -1
  447. data/lib/oci/ocvp/models/update_sddc_details.rb +17 -1
  448. data/lib/oci/opsi/models/database_details.rb +210 -0
  449. data/lib/oci/opsi/models/database_insight_summary.rb +286 -0
  450. data/lib/oci/opsi/models/database_insights.rb +154 -0
  451. data/lib/oci/opsi/models/database_insights_collection.rb +150 -0
  452. data/lib/oci/opsi/models/historical_data_item.rb +165 -0
  453. data/lib/oci/opsi/models/ingest_sql_bucket_details.rb +151 -0
  454. data/lib/oci/opsi/models/ingest_sql_bucket_response_details.rb +152 -0
  455. data/lib/oci/opsi/models/ingest_sql_plan_lines_details.rb +151 -0
  456. data/lib/oci/opsi/models/ingest_sql_plan_lines_response_details.rb +152 -0
  457. data/lib/oci/opsi/models/ingest_sql_text_details.rb +151 -0
  458. data/lib/oci/opsi/models/ingest_sql_text_response_details.rb +152 -0
  459. data/lib/oci/opsi/models/projected_data_item.rb +195 -0
  460. data/lib/oci/opsi/models/resource_capacity_trend_aggregation.rb +180 -0
  461. data/lib/oci/opsi/models/resource_insight_current_utilization.rb +160 -0
  462. data/lib/oci/opsi/models/resource_insight_projected_utilization.rb +160 -0
  463. data/lib/oci/opsi/models/resource_insight_projected_utilization_item.rb +164 -0
  464. data/lib/oci/opsi/models/resource_statistics.rb +219 -0
  465. data/lib/oci/opsi/models/resource_statistics_aggregation.rb +166 -0
  466. data/lib/oci/opsi/models/resource_usage_trend_aggregation.rb +176 -0
  467. data/lib/oci/opsi/models/sort_order.rb +11 -0
  468. data/lib/oci/opsi/models/sql_bucket.rb +307 -0
  469. data/lib/oci/opsi/models/sql_insight_aggregation.rb +202 -0
  470. data/lib/oci/opsi/models/sql_insight_aggregation_collection.rb +199 -0
  471. data/lib/oci/opsi/models/sql_insight_thresholds.rb +243 -0
  472. data/lib/oci/opsi/models/sql_inventory.rb +182 -0
  473. data/lib/oci/opsi/models/sql_plan_collection.rb +180 -0
  474. data/lib/oci/opsi/models/sql_plan_insight_aggregation.rb +210 -0
  475. data/lib/oci/opsi/models/sql_plan_insight_aggregation_collection.rb +218 -0
  476. data/lib/oci/opsi/models/sql_plan_insights.rb +177 -0
  477. data/lib/oci/opsi/models/sql_plan_line.rb +673 -0
  478. data/lib/oci/opsi/models/sql_plan_summary.rb +169 -0
  479. data/lib/oci/opsi/models/sql_response_time_distribution_aggregation.rb +168 -0
  480. data/lib/oci/opsi/models/sql_response_time_distribution_aggregation_collection.rb +208 -0
  481. data/lib/oci/opsi/models/sql_search_collection.rb +209 -0
  482. data/lib/oci/opsi/models/sql_search_summary.rb +224 -0
  483. data/lib/oci/opsi/models/sql_statistic_aggregation.rb +189 -0
  484. data/lib/oci/opsi/models/sql_statistic_aggregation_collection.rb +179 -0
  485. data/lib/oci/opsi/models/sql_statistics.rb +402 -0
  486. data/lib/oci/opsi/models/sql_statistics_time_series.rb +162 -0
  487. data/lib/oci/opsi/models/sql_statistics_time_series_aggregation.rb +165 -0
  488. data/lib/oci/opsi/models/sql_statistics_time_series_aggregation_collection.rb +223 -0
  489. data/lib/oci/opsi/models/sql_statistics_time_series_by_plan_aggregation.rb +165 -0
  490. data/lib/oci/opsi/models/sql_statistics_time_series_by_plan_aggregation_collection.rb +237 -0
  491. data/lib/oci/opsi/models/sql_text.rb +248 -0
  492. data/lib/oci/opsi/models/sql_text_collection.rb +151 -0
  493. data/lib/oci/opsi/models/sql_text_summary.rb +184 -0
  494. data/lib/oci/opsi/models/summarize_database_insight_resource_capacity_trend_aggregation_collection.rb +270 -0
  495. data/lib/oci/opsi/models/summarize_database_insight_resource_forecast_trend_aggregation.rb +302 -0
  496. data/lib/oci/opsi/models/summarize_database_insight_resource_statistics_aggregation_collection.rb +249 -0
  497. data/lib/oci/opsi/models/summarize_database_insight_resource_usage_aggregation.rb +275 -0
  498. data/lib/oci/opsi/models/summarize_database_insight_resource_usage_trend_aggregation_collection.rb +270 -0
  499. data/lib/oci/opsi/models/summarize_database_insight_resource_utilization_insight_aggregation.rb +232 -0
  500. data/lib/oci/opsi/models/usage_unit.rb +13 -0
  501. data/lib/oci/opsi/operations_insights_client.rb +2008 -0
  502. data/lib/oci/opsi/operations_insights_client_composite_operations.rb +25 -0
  503. data/lib/oci/opsi/opsi.rb +72 -0
  504. data/lib/oci/opsi/util.rb +3 -0
  505. data/lib/oci/optimizer/models/action.rb +192 -0
  506. data/lib/oci/optimizer/models/action_type.rb +10 -0
  507. data/lib/oci/optimizer/models/bulk_apply_recommendations_details.rb +197 -0
  508. data/lib/oci/optimizer/models/category.rb +298 -0
  509. data/lib/oci/optimizer/models/category_collection.rb +151 -0
  510. data/lib/oci/optimizer/models/category_summary.rb +298 -0
  511. data/lib/oci/optimizer/models/create_profile_details.rb +227 -0
  512. data/lib/oci/{log_analytics/models/log_analytics_summary.rb → optimizer/models/enrollment_status.rb} +81 -63
  513. data/lib/oci/optimizer/models/enrollment_status_collection.rb +151 -0
  514. data/lib/oci/optimizer/models/enrollment_status_summary.rb +279 -0
  515. data/lib/oci/optimizer/models/history_collection.rb +151 -0
  516. data/lib/oci/optimizer/models/history_summary.rb +429 -0
  517. data/lib/oci/optimizer/models/importance.rb +14 -0
  518. data/lib/oci/{log_analytics/models/field_map.rb → optimizer/models/level_configuration.rb} +19 -24
  519. data/lib/oci/optimizer/models/levels_configuration.rb +150 -0
  520. data/lib/oci/optimizer/models/lifecycle_state.rb +18 -0
  521. data/lib/oci/optimizer/models/operation_status.rb +15 -0
  522. data/lib/oci/optimizer/models/operation_type.rb +10 -0
  523. data/lib/oci/optimizer/models/optimizer_enrollment_status.rb +11 -0
  524. data/lib/oci/optimizer/models/profile.rb +305 -0
  525. data/lib/oci/optimizer/models/profile_collection.rb +151 -0
  526. data/lib/oci/optimizer/models/profile_summary.rb +303 -0
  527. data/lib/oci/optimizer/models/recommendation.rb +409 -0
  528. data/lib/oci/optimizer/models/recommendation_collection.rb +151 -0
  529. data/lib/oci/optimizer/models/recommendation_count.rb +183 -0
  530. data/lib/oci/optimizer/models/recommendation_summary.rb +409 -0
  531. data/lib/oci/optimizer/models/resource_action.rb +450 -0
  532. data/lib/oci/optimizer/models/resource_action_collection.rb +151 -0
  533. data/lib/oci/optimizer/models/resource_action_summary.rb +450 -0
  534. data/lib/oci/optimizer/models/resource_count.rb +182 -0
  535. data/lib/oci/optimizer/models/sort_order.rb +11 -0
  536. data/lib/oci/optimizer/models/status.rb +13 -0
  537. data/lib/oci/{log_analytics/models/agent_upload.rb → optimizer/models/supported_level.rb} +3 -3
  538. data/lib/oci/optimizer/models/supported_levels.rb +153 -0
  539. data/lib/oci/optimizer/models/update_enrollment_status_details.rb +166 -0
  540. data/lib/oci/optimizer/models/update_profile_details.rb +202 -0
  541. data/lib/oci/optimizer/models/update_recommendation_details.rb +183 -0
  542. data/lib/oci/optimizer/models/update_resource_action_details.rb +183 -0
  543. data/lib/oci/optimizer/models/work_request.rb +300 -0
  544. data/lib/oci/optimizer/models/work_request_action_type.rb +14 -0
  545. data/lib/oci/optimizer/models/work_request_collection.rb +151 -0
  546. data/lib/oci/optimizer/models/work_request_error.rb +173 -0
  547. data/lib/oci/optimizer/models/work_request_error_collection.rb +151 -0
  548. data/lib/oci/optimizer/models/work_request_log_entry.rb +161 -0
  549. data/lib/oci/optimizer/models/work_request_log_entry_collection.rb +151 -0
  550. data/lib/oci/{log_analytics/models/out_of_box_entity_type_details.rb → optimizer/models/work_request_resource.rb} +60 -57
  551. data/lib/oci/optimizer/optimizer.rb +66 -0
  552. data/lib/oci/optimizer/optimizer_client.rb +1652 -0
  553. data/lib/oci/optimizer/optimizer_client_composite_operations.rb +314 -0
  554. data/lib/oci/optimizer/util.rb +3 -0
  555. data/lib/oci/regions.rb +5 -1
  556. data/lib/oci/sch/models/service_connector.rb +1 -1
  557. data/lib/oci/sch/models/source_details.rb +1 -1
  558. data/lib/oci/sch/models/target_details.rb +1 -1
  559. data/lib/oci/sch/models/task_details.rb +1 -1
  560. data/lib/oci/sch/models/work_request.rb +1 -1
  561. data/lib/oci/sch/service_connector_client.rb +8 -8
  562. data/lib/oci/signer.rb +3 -1
  563. data/lib/oci/tenant_manager_control_plane/link_client.rb +287 -0
  564. data/lib/oci/tenant_manager_control_plane/link_client_composite_operations.rb +65 -0
  565. data/lib/oci/tenant_manager_control_plane/models/action_type.rb +14 -0
  566. data/lib/oci/tenant_manager_control_plane/models/create_sender_invitation_details.rb +228 -0
  567. data/lib/oci/tenant_manager_control_plane/models/lifecycle_state.rb +15 -0
  568. data/lib/oci/tenant_manager_control_plane/models/link.rb +258 -0
  569. data/lib/oci/tenant_manager_control_plane/models/link_collection.rb +150 -0
  570. data/lib/oci/tenant_manager_control_plane/models/link_summary.rb +258 -0
  571. data/lib/oci/tenant_manager_control_plane/models/operation_status.rb +15 -0
  572. data/lib/oci/tenant_manager_control_plane/models/operation_type.rb +12 -0
  573. data/lib/oci/tenant_manager_control_plane/models/recipient_invitation.rb +367 -0
  574. data/lib/oci/tenant_manager_control_plane/models/recipient_invitation_collection.rb +150 -0
  575. data/lib/oci/tenant_manager_control_plane/models/recipient_invitation_status.rb +15 -0
  576. data/lib/oci/tenant_manager_control_plane/models/recipient_invitation_summary.rb +367 -0
  577. data/lib/oci/tenant_manager_control_plane/models/sender_invitation.rb +366 -0
  578. data/lib/oci/tenant_manager_control_plane/models/sender_invitation_collection.rb +150 -0
  579. data/lib/oci/tenant_manager_control_plane/models/sender_invitation_status.rb +14 -0
  580. data/lib/oci/tenant_manager_control_plane/models/sender_invitation_summary.rb +366 -0
  581. data/lib/oci/tenant_manager_control_plane/models/sort_order.rb +11 -0
  582. data/lib/oci/tenant_manager_control_plane/models/update_recipient_invitation_details.rb +186 -0
  583. data/lib/oci/tenant_manager_control_plane/models/update_sender_invitation_details.rb +186 -0
  584. data/lib/oci/tenant_manager_control_plane/models/work_request.rb +307 -0
  585. data/lib/oci/tenant_manager_control_plane/models/work_request_collection.rb +150 -0
  586. data/lib/oci/tenant_manager_control_plane/models/work_request_error.rb +173 -0
  587. data/lib/oci/tenant_manager_control_plane/models/work_request_error_collection.rb +150 -0
  588. data/lib/oci/tenant_manager_control_plane/models/work_request_log_entry.rb +160 -0
  589. data/lib/oci/tenant_manager_control_plane/models/work_request_log_entry_collection.rb +150 -0
  590. data/lib/oci/tenant_manager_control_plane/models/work_request_resource.rb +219 -0
  591. data/lib/oci/tenant_manager_control_plane/models/work_request_summary.rb +307 -0
  592. data/lib/oci/tenant_manager_control_plane/recipient_invitation_client.rb +425 -0
  593. data/lib/oci/tenant_manager_control_plane/recipient_invitation_client_composite_operations.rb +153 -0
  594. data/lib/oci/tenant_manager_control_plane/sender_invitation_client.rb +435 -0
  595. data/lib/oci/tenant_manager_control_plane/sender_invitation_client_composite_operations.rb +163 -0
  596. data/lib/oci/tenant_manager_control_plane/tenant_manager_control_plane.rb +52 -0
  597. data/lib/oci/tenant_manager_control_plane/util.rb +3 -0
  598. data/lib/oci/tenant_manager_control_plane/work_request_client.rb +356 -0
  599. data/lib/oci/tenant_manager_control_plane/work_request_client_composite_operations.rb +25 -0
  600. data/lib/oci/usage_api/models/configuration.rb +3 -3
  601. data/lib/oci/usage_api/models/configuration_aggregation.rb +2 -2
  602. data/lib/oci/usage_api/models/dimension.rb +3 -3
  603. data/lib/oci/usage_api/models/filter.rb +1 -1
  604. data/lib/oci/usage_api/models/request_summarized_usages_details.rb +12 -12
  605. data/lib/oci/usage_api/models/tag.rb +3 -3
  606. data/lib/oci/usage_api/models/usage_aggregation.rb +1 -1
  607. data/lib/oci/usage_api/models/usage_summary.rb +47 -19
  608. data/lib/oci/usage_api/usageapi_client.rb +4 -4
  609. data/lib/oci/version.rb +1 -1
  610. metadata +273 -17
  611. data/lib/oci/log_analytics/models/attribute.rb +0 -435
@@ -25,6 +25,89 @@ module OCI
25
25
  # rubocop:disable Layout/EmptyLines
26
26
 
27
27
 
28
+ # Calls {OCI::DataCatalog::DataCatalogClient#add_data_selector_patterns} and then waits for the {OCI::DataCatalog::Models::DataAsset} acted upon
29
+ # to enter the given state(s).
30
+ #
31
+ # @param [String] catalog_id Unique catalog identifier.
32
+ # @param [String] data_asset_key Unique data asset key.
33
+ # @param [OCI::DataCatalog::Models::DataSelectorPatternDetails] data_selector_pattern_details The information used to add the patterns for deriving logical entities.
34
+ # @param [Array<String>] wait_for_states An array of states to wait on. These should be valid values for {OCI::DataCatalog::Models::DataAsset#lifecycle_state}
35
+ # @param [Hash] base_operation_opts Any optional arguments accepted by {OCI::DataCatalog::DataCatalogClient#add_data_selector_patterns}
36
+ # @param [Hash] waiter_opts Optional arguments for the waiter. Keys should be symbols, and the following keys are supported:
37
+ # * max_interval_seconds: The maximum interval between queries, in seconds.
38
+ # * max_wait_seconds The maximum time to wait, in seconds
39
+ #
40
+ # @return [OCI::Response] A {OCI::Response} object with data of type {OCI::DataCatalog::Models::DataAsset}
41
+ def add_data_selector_patterns_and_wait_for_state(catalog_id, data_asset_key, data_selector_pattern_details, wait_for_states = [], base_operation_opts = {}, waiter_opts = {})
42
+ operation_result = @service_client.add_data_selector_patterns(catalog_id, data_asset_key, data_selector_pattern_details, base_operation_opts)
43
+
44
+ return operation_result if wait_for_states.empty?
45
+
46
+ lowered_wait_for_states = wait_for_states.map(&:downcase)
47
+ wait_for_resource_id = operation_result.data.id
48
+
49
+ begin
50
+ waiter_result = @service_client.get_data_asset(wait_for_resource_id).wait_until(
51
+ eval_proc: ->(response) { response.data.respond_to?(:lifecycle_state) && lowered_wait_for_states.include?(response.data.lifecycle_state.downcase) },
52
+ max_interval_seconds: waiter_opts.key?(:max_interval_seconds) ? waiter_opts[:max_interval_seconds] : 30,
53
+ max_wait_seconds: waiter_opts.key?(:max_wait_seconds) ? waiter_opts[:max_wait_seconds] : 1200
54
+ )
55
+ result_to_return = waiter_result
56
+
57
+ return result_to_return
58
+ rescue StandardError
59
+ raise OCI::Errors::CompositeOperationError.new(partial_results: [operation_result])
60
+ end
61
+ end
62
+ # rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/ParameterLists, Metrics/PerceivedComplexity
63
+ # rubocop:enable Layout/EmptyLines
64
+
65
+ # rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/ParameterLists, Metrics/PerceivedComplexity
66
+ # rubocop:disable Layout/EmptyLines
67
+
68
+
69
+ # Calls {OCI::DataCatalog::DataCatalogClient#associate_custom_property} and then waits for the {OCI::DataCatalog::Models::Type} acted upon
70
+ # to enter the given state(s).
71
+ #
72
+ # @param [String] catalog_id Unique catalog identifier.
73
+ # @param [String] type_key Unique type key.
74
+ # @param [OCI::DataCatalog::Models::TypeCustomPropertyDetails] associate_custom_property_details The information used to associate the custom property for the type.
75
+ #
76
+ # @param [Array<String>] wait_for_states An array of states to wait on. These should be valid values for {OCI::DataCatalog::Models::Type#lifecycle_state}
77
+ # @param [Hash] base_operation_opts Any optional arguments accepted by {OCI::DataCatalog::DataCatalogClient#associate_custom_property}
78
+ # @param [Hash] waiter_opts Optional arguments for the waiter. Keys should be symbols, and the following keys are supported:
79
+ # * max_interval_seconds: The maximum interval between queries, in seconds.
80
+ # * max_wait_seconds The maximum time to wait, in seconds
81
+ #
82
+ # @return [OCI::Response] A {OCI::Response} object with data of type {OCI::DataCatalog::Models::Type}
83
+ def associate_custom_property_and_wait_for_state(catalog_id, type_key, associate_custom_property_details, wait_for_states = [], base_operation_opts = {}, waiter_opts = {})
84
+ operation_result = @service_client.associate_custom_property(catalog_id, type_key, associate_custom_property_details, base_operation_opts)
85
+
86
+ return operation_result if wait_for_states.empty?
87
+
88
+ lowered_wait_for_states = wait_for_states.map(&:downcase)
89
+ wait_for_resource_id = operation_result.data.id
90
+
91
+ begin
92
+ waiter_result = @service_client.get_type(wait_for_resource_id).wait_until(
93
+ eval_proc: ->(response) { response.data.respond_to?(:lifecycle_state) && lowered_wait_for_states.include?(response.data.lifecycle_state.downcase) },
94
+ max_interval_seconds: waiter_opts.key?(:max_interval_seconds) ? waiter_opts[:max_interval_seconds] : 30,
95
+ max_wait_seconds: waiter_opts.key?(:max_wait_seconds) ? waiter_opts[:max_wait_seconds] : 1200
96
+ )
97
+ result_to_return = waiter_result
98
+
99
+ return result_to_return
100
+ rescue StandardError
101
+ raise OCI::Errors::CompositeOperationError.new(partial_results: [operation_result])
102
+ end
103
+ end
104
+ # rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/ParameterLists, Metrics/PerceivedComplexity
105
+ # rubocop:enable Layout/EmptyLines
106
+
107
+ # rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/ParameterLists, Metrics/PerceivedComplexity
108
+ # rubocop:disable Layout/EmptyLines
109
+
110
+
28
111
  # Calls {OCI::DataCatalog::DataCatalogClient#attach_catalog_private_endpoint} and then waits for the {OCI::DataCatalog::Models::WorkRequest}
29
112
  # to enter the given state(s).
30
113
  #
@@ -399,6 +482,48 @@ module OCI
399
482
  # rubocop:disable Layout/EmptyLines
400
483
 
401
484
 
485
+ # Calls {OCI::DataCatalog::DataCatalogClient#create_custom_property} and then waits for the {OCI::DataCatalog::Models::CustomProperty} acted upon
486
+ # to enter the given state(s).
487
+ #
488
+ # @param [String] catalog_id Unique catalog identifier.
489
+ # @param [String] namespace_id Unique namespace identifier.
490
+ # @param [OCI::DataCatalog::Models::CreateCustomPropertyDetails] create_custom_property_details The information used to create the Custom Property.
491
+ #
492
+ # @param [Array<String>] wait_for_states An array of states to wait on. These should be valid values for {OCI::DataCatalog::Models::CustomProperty#lifecycle_state}
493
+ # @param [Hash] base_operation_opts Any optional arguments accepted by {OCI::DataCatalog::DataCatalogClient#create_custom_property}
494
+ # @param [Hash] waiter_opts Optional arguments for the waiter. Keys should be symbols, and the following keys are supported:
495
+ # * max_interval_seconds: The maximum interval between queries, in seconds.
496
+ # * max_wait_seconds The maximum time to wait, in seconds
497
+ #
498
+ # @return [OCI::Response] A {OCI::Response} object with data of type {OCI::DataCatalog::Models::CustomProperty}
499
+ def create_custom_property_and_wait_for_state(catalog_id, namespace_id, create_custom_property_details, wait_for_states = [], base_operation_opts = {}, waiter_opts = {})
500
+ operation_result = @service_client.create_custom_property(catalog_id, namespace_id, create_custom_property_details, base_operation_opts)
501
+
502
+ return operation_result if wait_for_states.empty?
503
+
504
+ lowered_wait_for_states = wait_for_states.map(&:downcase)
505
+ wait_for_resource_id = operation_result.data.id
506
+
507
+ begin
508
+ waiter_result = @service_client.get_custom_property(wait_for_resource_id).wait_until(
509
+ eval_proc: ->(response) { response.data.respond_to?(:lifecycle_state) && lowered_wait_for_states.include?(response.data.lifecycle_state.downcase) },
510
+ max_interval_seconds: waiter_opts.key?(:max_interval_seconds) ? waiter_opts[:max_interval_seconds] : 30,
511
+ max_wait_seconds: waiter_opts.key?(:max_wait_seconds) ? waiter_opts[:max_wait_seconds] : 1200
512
+ )
513
+ result_to_return = waiter_result
514
+
515
+ return result_to_return
516
+ rescue StandardError
517
+ raise OCI::Errors::CompositeOperationError.new(partial_results: [operation_result])
518
+ end
519
+ end
520
+ # rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/ParameterLists, Metrics/PerceivedComplexity
521
+ # rubocop:enable Layout/EmptyLines
522
+
523
+ # rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/ParameterLists, Metrics/PerceivedComplexity
524
+ # rubocop:disable Layout/EmptyLines
525
+
526
+
402
527
  # Calls {OCI::DataCatalog::DataCatalogClient#create_data_asset} and then waits for the {OCI::DataCatalog::Models::DataAsset} acted upon
403
528
  # to enter the given state(s).
404
529
  #
@@ -807,6 +932,87 @@ module OCI
807
932
  # rubocop:disable Layout/EmptyLines
808
933
 
809
934
 
935
+ # Calls {OCI::DataCatalog::DataCatalogClient#create_namespace} and then waits for the {OCI::DataCatalog::Models::Namespace} acted upon
936
+ # to enter the given state(s).
937
+ #
938
+ # @param [String] catalog_id Unique catalog identifier.
939
+ # @param [OCI::DataCatalog::Models::CreateNamespaceDetails] create_namespace_details The information used to create the Namespace.
940
+ #
941
+ # @param [Array<String>] wait_for_states An array of states to wait on. These should be valid values for {OCI::DataCatalog::Models::Namespace#lifecycle_state}
942
+ # @param [Hash] base_operation_opts Any optional arguments accepted by {OCI::DataCatalog::DataCatalogClient#create_namespace}
943
+ # @param [Hash] waiter_opts Optional arguments for the waiter. Keys should be symbols, and the following keys are supported:
944
+ # * max_interval_seconds: The maximum interval between queries, in seconds.
945
+ # * max_wait_seconds The maximum time to wait, in seconds
946
+ #
947
+ # @return [OCI::Response] A {OCI::Response} object with data of type {OCI::DataCatalog::Models::Namespace}
948
+ def create_namespace_and_wait_for_state(catalog_id, create_namespace_details, wait_for_states = [], base_operation_opts = {}, waiter_opts = {})
949
+ operation_result = @service_client.create_namespace(catalog_id, create_namespace_details, base_operation_opts)
950
+
951
+ return operation_result if wait_for_states.empty?
952
+
953
+ lowered_wait_for_states = wait_for_states.map(&:downcase)
954
+ wait_for_resource_id = operation_result.data.id
955
+
956
+ begin
957
+ waiter_result = @service_client.get_namespace(wait_for_resource_id).wait_until(
958
+ eval_proc: ->(response) { response.data.respond_to?(:lifecycle_state) && lowered_wait_for_states.include?(response.data.lifecycle_state.downcase) },
959
+ max_interval_seconds: waiter_opts.key?(:max_interval_seconds) ? waiter_opts[:max_interval_seconds] : 30,
960
+ max_wait_seconds: waiter_opts.key?(:max_wait_seconds) ? waiter_opts[:max_wait_seconds] : 1200
961
+ )
962
+ result_to_return = waiter_result
963
+
964
+ return result_to_return
965
+ rescue StandardError
966
+ raise OCI::Errors::CompositeOperationError.new(partial_results: [operation_result])
967
+ end
968
+ end
969
+ # rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/ParameterLists, Metrics/PerceivedComplexity
970
+ # rubocop:enable Layout/EmptyLines
971
+
972
+ # rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/ParameterLists, Metrics/PerceivedComplexity
973
+ # rubocop:disable Layout/EmptyLines
974
+
975
+
976
+ # Calls {OCI::DataCatalog::DataCatalogClient#create_pattern} and then waits for the {OCI::DataCatalog::Models::Pattern} acted upon
977
+ # to enter the given state(s).
978
+ #
979
+ # @param [String] catalog_id Unique catalog identifier.
980
+ # @param [OCI::DataCatalog::Models::CreatePatternDetails] create_pattern_details The information used to create the pattern.
981
+ # @param [Array<String>] wait_for_states An array of states to wait on. These should be valid values for {OCI::DataCatalog::Models::Pattern#lifecycle_state}
982
+ # @param [Hash] base_operation_opts Any optional arguments accepted by {OCI::DataCatalog::DataCatalogClient#create_pattern}
983
+ # @param [Hash] waiter_opts Optional arguments for the waiter. Keys should be symbols, and the following keys are supported:
984
+ # * max_interval_seconds: The maximum interval between queries, in seconds.
985
+ # * max_wait_seconds The maximum time to wait, in seconds
986
+ #
987
+ # @return [OCI::Response] A {OCI::Response} object with data of type {OCI::DataCatalog::Models::Pattern}
988
+ def create_pattern_and_wait_for_state(catalog_id, create_pattern_details, wait_for_states = [], base_operation_opts = {}, waiter_opts = {})
989
+ operation_result = @service_client.create_pattern(catalog_id, create_pattern_details, base_operation_opts)
990
+
991
+ return operation_result if wait_for_states.empty?
992
+
993
+ lowered_wait_for_states = wait_for_states.map(&:downcase)
994
+ wait_for_resource_id = operation_result.data.id
995
+
996
+ begin
997
+ waiter_result = @service_client.get_pattern(wait_for_resource_id).wait_until(
998
+ eval_proc: ->(response) { response.data.respond_to?(:lifecycle_state) && lowered_wait_for_states.include?(response.data.lifecycle_state.downcase) },
999
+ max_interval_seconds: waiter_opts.key?(:max_interval_seconds) ? waiter_opts[:max_interval_seconds] : 30,
1000
+ max_wait_seconds: waiter_opts.key?(:max_wait_seconds) ? waiter_opts[:max_wait_seconds] : 1200
1001
+ )
1002
+ result_to_return = waiter_result
1003
+
1004
+ return result_to_return
1005
+ rescue StandardError
1006
+ raise OCI::Errors::CompositeOperationError.new(partial_results: [operation_result])
1007
+ end
1008
+ end
1009
+ # rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/ParameterLists, Metrics/PerceivedComplexity
1010
+ # rubocop:enable Layout/EmptyLines
1011
+
1012
+ # rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/ParameterLists, Metrics/PerceivedComplexity
1013
+ # rubocop:disable Layout/EmptyLines
1014
+
1015
+
810
1016
  # Calls {OCI::DataCatalog::DataCatalogClient#create_term} and then waits for the {OCI::DataCatalog::Models::Term} acted upon
811
1017
  # to enter the given state(s).
812
1018
  #
@@ -1038,6 +1244,89 @@ module OCI
1038
1244
  # rubocop:disable Layout/EmptyLines
1039
1245
 
1040
1246
 
1247
+ # Calls {OCI::DataCatalog::DataCatalogClient#disassociate_custom_property} and then waits for the {OCI::DataCatalog::Models::Type} acted upon
1248
+ # to enter the given state(s).
1249
+ #
1250
+ # @param [String] catalog_id Unique catalog identifier.
1251
+ # @param [String] type_key Unique type key.
1252
+ # @param [OCI::DataCatalog::Models::TypeCustomPropertyDetails] disassociate_custom_property_details The information used to remove the custom properties.
1253
+ #
1254
+ # @param [Array<String>] wait_for_states An array of states to wait on. These should be valid values for {OCI::DataCatalog::Models::Type#lifecycle_state}
1255
+ # @param [Hash] base_operation_opts Any optional arguments accepted by {OCI::DataCatalog::DataCatalogClient#disassociate_custom_property}
1256
+ # @param [Hash] waiter_opts Optional arguments for the waiter. Keys should be symbols, and the following keys are supported:
1257
+ # * max_interval_seconds: The maximum interval between queries, in seconds.
1258
+ # * max_wait_seconds The maximum time to wait, in seconds
1259
+ #
1260
+ # @return [OCI::Response] A {OCI::Response} object with data of type {OCI::DataCatalog::Models::Type}
1261
+ def disassociate_custom_property_and_wait_for_state(catalog_id, type_key, disassociate_custom_property_details, wait_for_states = [], base_operation_opts = {}, waiter_opts = {})
1262
+ operation_result = @service_client.disassociate_custom_property(catalog_id, type_key, disassociate_custom_property_details, base_operation_opts)
1263
+
1264
+ return operation_result if wait_for_states.empty?
1265
+
1266
+ lowered_wait_for_states = wait_for_states.map(&:downcase)
1267
+ wait_for_resource_id = operation_result.data.id
1268
+
1269
+ begin
1270
+ waiter_result = @service_client.get_type(wait_for_resource_id).wait_until(
1271
+ eval_proc: ->(response) { response.data.respond_to?(:lifecycle_state) && lowered_wait_for_states.include?(response.data.lifecycle_state.downcase) },
1272
+ max_interval_seconds: waiter_opts.key?(:max_interval_seconds) ? waiter_opts[:max_interval_seconds] : 30,
1273
+ max_wait_seconds: waiter_opts.key?(:max_wait_seconds) ? waiter_opts[:max_wait_seconds] : 1200
1274
+ )
1275
+ result_to_return = waiter_result
1276
+
1277
+ return result_to_return
1278
+ rescue StandardError
1279
+ raise OCI::Errors::CompositeOperationError.new(partial_results: [operation_result])
1280
+ end
1281
+ end
1282
+ # rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/ParameterLists, Metrics/PerceivedComplexity
1283
+ # rubocop:enable Layout/EmptyLines
1284
+
1285
+ # rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/ParameterLists, Metrics/PerceivedComplexity
1286
+ # rubocop:disable Layout/EmptyLines
1287
+
1288
+
1289
+ # Calls {OCI::DataCatalog::DataCatalogClient#remove_data_selector_patterns} and then waits for the {OCI::DataCatalog::Models::DataAsset} acted upon
1290
+ # to enter the given state(s).
1291
+ #
1292
+ # @param [String] catalog_id Unique catalog identifier.
1293
+ # @param [String] data_asset_key Unique data asset key.
1294
+ # @param [OCI::DataCatalog::Models::DataSelectorPatternDetails] data_selector_pattern_details The information used to remove the data selector patterns.
1295
+ # @param [Array<String>] wait_for_states An array of states to wait on. These should be valid values for {OCI::DataCatalog::Models::DataAsset#lifecycle_state}
1296
+ # @param [Hash] base_operation_opts Any optional arguments accepted by {OCI::DataCatalog::DataCatalogClient#remove_data_selector_patterns}
1297
+ # @param [Hash] waiter_opts Optional arguments for the waiter. Keys should be symbols, and the following keys are supported:
1298
+ # * max_interval_seconds: The maximum interval between queries, in seconds.
1299
+ # * max_wait_seconds The maximum time to wait, in seconds
1300
+ #
1301
+ # @return [OCI::Response] A {OCI::Response} object with data of type {OCI::DataCatalog::Models::DataAsset}
1302
+ def remove_data_selector_patterns_and_wait_for_state(catalog_id, data_asset_key, data_selector_pattern_details, wait_for_states = [], base_operation_opts = {}, waiter_opts = {})
1303
+ operation_result = @service_client.remove_data_selector_patterns(catalog_id, data_asset_key, data_selector_pattern_details, base_operation_opts)
1304
+
1305
+ return operation_result if wait_for_states.empty?
1306
+
1307
+ lowered_wait_for_states = wait_for_states.map(&:downcase)
1308
+ wait_for_resource_id = operation_result.data.id
1309
+
1310
+ begin
1311
+ waiter_result = @service_client.get_data_asset(wait_for_resource_id).wait_until(
1312
+ eval_proc: ->(response) { response.data.respond_to?(:lifecycle_state) && lowered_wait_for_states.include?(response.data.lifecycle_state.downcase) },
1313
+ max_interval_seconds: waiter_opts.key?(:max_interval_seconds) ? waiter_opts[:max_interval_seconds] : 30,
1314
+ max_wait_seconds: waiter_opts.key?(:max_wait_seconds) ? waiter_opts[:max_wait_seconds] : 1200
1315
+ )
1316
+ result_to_return = waiter_result
1317
+
1318
+ return result_to_return
1319
+ rescue StandardError
1320
+ raise OCI::Errors::CompositeOperationError.new(partial_results: [operation_result])
1321
+ end
1322
+ end
1323
+ # rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/ParameterLists, Metrics/PerceivedComplexity
1324
+ # rubocop:enable Layout/EmptyLines
1325
+
1326
+ # rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/ParameterLists, Metrics/PerceivedComplexity
1327
+ # rubocop:disable Layout/EmptyLines
1328
+
1329
+
1041
1330
  # Calls {OCI::DataCatalog::DataCatalogClient#update_attribute} and then waits for the {OCI::DataCatalog::Models::Attribute} acted upon
1042
1331
  # to enter the given state(s).
1043
1332
  #
@@ -1213,6 +1502,48 @@ module OCI
1213
1502
  # rubocop:disable Layout/EmptyLines
1214
1503
 
1215
1504
 
1505
+ # Calls {OCI::DataCatalog::DataCatalogClient#update_custom_property} and then waits for the {OCI::DataCatalog::Models::CustomProperty} acted upon
1506
+ # to enter the given state(s).
1507
+ #
1508
+ # @param [String] catalog_id Unique catalog identifier.
1509
+ # @param [String] namespace_id Unique namespace identifier.
1510
+ # @param [String] custom_property_key Unique Custom Property key
1511
+ # @param [OCI::DataCatalog::Models::UpdateCustomPropertyDetails] update_custom_property_details The information to be updated in the custom property.
1512
+ # @param [Array<String>] wait_for_states An array of states to wait on. These should be valid values for {OCI::DataCatalog::Models::CustomProperty#lifecycle_state}
1513
+ # @param [Hash] base_operation_opts Any optional arguments accepted by {OCI::DataCatalog::DataCatalogClient#update_custom_property}
1514
+ # @param [Hash] waiter_opts Optional arguments for the waiter. Keys should be symbols, and the following keys are supported:
1515
+ # * max_interval_seconds: The maximum interval between queries, in seconds.
1516
+ # * max_wait_seconds The maximum time to wait, in seconds
1517
+ #
1518
+ # @return [OCI::Response] A {OCI::Response} object with data of type {OCI::DataCatalog::Models::CustomProperty}
1519
+ def update_custom_property_and_wait_for_state(catalog_id, namespace_id, custom_property_key, update_custom_property_details, wait_for_states = [], base_operation_opts = {}, waiter_opts = {})
1520
+ operation_result = @service_client.update_custom_property(catalog_id, namespace_id, custom_property_key, update_custom_property_details, base_operation_opts)
1521
+
1522
+ return operation_result if wait_for_states.empty?
1523
+
1524
+ lowered_wait_for_states = wait_for_states.map(&:downcase)
1525
+ wait_for_resource_id = operation_result.data.id
1526
+
1527
+ begin
1528
+ waiter_result = @service_client.get_custom_property(wait_for_resource_id).wait_until(
1529
+ eval_proc: ->(response) { response.data.respond_to?(:lifecycle_state) && lowered_wait_for_states.include?(response.data.lifecycle_state.downcase) },
1530
+ max_interval_seconds: waiter_opts.key?(:max_interval_seconds) ? waiter_opts[:max_interval_seconds] : 30,
1531
+ max_wait_seconds: waiter_opts.key?(:max_wait_seconds) ? waiter_opts[:max_wait_seconds] : 1200
1532
+ )
1533
+ result_to_return = waiter_result
1534
+
1535
+ return result_to_return
1536
+ rescue StandardError
1537
+ raise OCI::Errors::CompositeOperationError.new(partial_results: [operation_result])
1538
+ end
1539
+ end
1540
+ # rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/ParameterLists, Metrics/PerceivedComplexity
1541
+ # rubocop:enable Layout/EmptyLines
1542
+
1543
+ # rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/ParameterLists, Metrics/PerceivedComplexity
1544
+ # rubocop:disable Layout/EmptyLines
1545
+
1546
+
1216
1547
  # Calls {OCI::DataCatalog::DataCatalogClient#update_data_asset} and then waits for the {OCI::DataCatalog::Models::DataAsset} acted upon
1217
1548
  # to enter the given state(s).
1218
1549
  #
@@ -1461,6 +1792,88 @@ module OCI
1461
1792
  # rubocop:disable Layout/EmptyLines
1462
1793
 
1463
1794
 
1795
+ # Calls {OCI::DataCatalog::DataCatalogClient#update_namespace} and then waits for the {OCI::DataCatalog::Models::Namespace} acted upon
1796
+ # to enter the given state(s).
1797
+ #
1798
+ # @param [String] catalog_id Unique catalog identifier.
1799
+ # @param [String] namespace_id Unique namespace identifier.
1800
+ # @param [OCI::DataCatalog::Models::UpdateNamespaceDetails] update_namespace_details The information to be updated in the namespace.
1801
+ # @param [Array<String>] wait_for_states An array of states to wait on. These should be valid values for {OCI::DataCatalog::Models::Namespace#lifecycle_state}
1802
+ # @param [Hash] base_operation_opts Any optional arguments accepted by {OCI::DataCatalog::DataCatalogClient#update_namespace}
1803
+ # @param [Hash] waiter_opts Optional arguments for the waiter. Keys should be symbols, and the following keys are supported:
1804
+ # * max_interval_seconds: The maximum interval between queries, in seconds.
1805
+ # * max_wait_seconds The maximum time to wait, in seconds
1806
+ #
1807
+ # @return [OCI::Response] A {OCI::Response} object with data of type {OCI::DataCatalog::Models::Namespace}
1808
+ def update_namespace_and_wait_for_state(catalog_id, namespace_id, update_namespace_details, wait_for_states = [], base_operation_opts = {}, waiter_opts = {})
1809
+ operation_result = @service_client.update_namespace(catalog_id, namespace_id, update_namespace_details, base_operation_opts)
1810
+
1811
+ return operation_result if wait_for_states.empty?
1812
+
1813
+ lowered_wait_for_states = wait_for_states.map(&:downcase)
1814
+ wait_for_resource_id = operation_result.data.id
1815
+
1816
+ begin
1817
+ waiter_result = @service_client.get_namespace(wait_for_resource_id).wait_until(
1818
+ eval_proc: ->(response) { response.data.respond_to?(:lifecycle_state) && lowered_wait_for_states.include?(response.data.lifecycle_state.downcase) },
1819
+ max_interval_seconds: waiter_opts.key?(:max_interval_seconds) ? waiter_opts[:max_interval_seconds] : 30,
1820
+ max_wait_seconds: waiter_opts.key?(:max_wait_seconds) ? waiter_opts[:max_wait_seconds] : 1200
1821
+ )
1822
+ result_to_return = waiter_result
1823
+
1824
+ return result_to_return
1825
+ rescue StandardError
1826
+ raise OCI::Errors::CompositeOperationError.new(partial_results: [operation_result])
1827
+ end
1828
+ end
1829
+ # rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/ParameterLists, Metrics/PerceivedComplexity
1830
+ # rubocop:enable Layout/EmptyLines
1831
+
1832
+ # rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/ParameterLists, Metrics/PerceivedComplexity
1833
+ # rubocop:disable Layout/EmptyLines
1834
+
1835
+
1836
+ # Calls {OCI::DataCatalog::DataCatalogClient#update_pattern} and then waits for the {OCI::DataCatalog::Models::Pattern} acted upon
1837
+ # to enter the given state(s).
1838
+ #
1839
+ # @param [String] catalog_id Unique catalog identifier.
1840
+ # @param [String] pattern_key Unique pattern key.
1841
+ # @param [OCI::DataCatalog::Models::UpdatePatternDetails] update_pattern_details The information to be updated in the pattern.
1842
+ # @param [Array<String>] wait_for_states An array of states to wait on. These should be valid values for {OCI::DataCatalog::Models::Pattern#lifecycle_state}
1843
+ # @param [Hash] base_operation_opts Any optional arguments accepted by {OCI::DataCatalog::DataCatalogClient#update_pattern}
1844
+ # @param [Hash] waiter_opts Optional arguments for the waiter. Keys should be symbols, and the following keys are supported:
1845
+ # * max_interval_seconds: The maximum interval between queries, in seconds.
1846
+ # * max_wait_seconds The maximum time to wait, in seconds
1847
+ #
1848
+ # @return [OCI::Response] A {OCI::Response} object with data of type {OCI::DataCatalog::Models::Pattern}
1849
+ def update_pattern_and_wait_for_state(catalog_id, pattern_key, update_pattern_details, wait_for_states = [], base_operation_opts = {}, waiter_opts = {})
1850
+ operation_result = @service_client.update_pattern(catalog_id, pattern_key, update_pattern_details, base_operation_opts)
1851
+
1852
+ return operation_result if wait_for_states.empty?
1853
+
1854
+ lowered_wait_for_states = wait_for_states.map(&:downcase)
1855
+ wait_for_resource_id = operation_result.data.id
1856
+
1857
+ begin
1858
+ waiter_result = @service_client.get_pattern(wait_for_resource_id).wait_until(
1859
+ eval_proc: ->(response) { response.data.respond_to?(:lifecycle_state) && lowered_wait_for_states.include?(response.data.lifecycle_state.downcase) },
1860
+ max_interval_seconds: waiter_opts.key?(:max_interval_seconds) ? waiter_opts[:max_interval_seconds] : 30,
1861
+ max_wait_seconds: waiter_opts.key?(:max_wait_seconds) ? waiter_opts[:max_wait_seconds] : 1200
1862
+ )
1863
+ result_to_return = waiter_result
1864
+
1865
+ return result_to_return
1866
+ rescue StandardError
1867
+ raise OCI::Errors::CompositeOperationError.new(partial_results: [operation_result])
1868
+ end
1869
+ end
1870
+ # rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/ParameterLists, Metrics/PerceivedComplexity
1871
+ # rubocop:enable Layout/EmptyLines
1872
+
1873
+ # rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/ParameterLists, Metrics/PerceivedComplexity
1874
+ # rubocop:disable Layout/EmptyLines
1875
+
1876
+
1464
1877
  # Calls {OCI::DataCatalog::DataCatalogClient#update_term} and then waits for the {OCI::DataCatalog::Models::Term} acted upon
1465
1878
  # to enter the given state(s).
1466
1879
  #
@@ -138,6 +138,10 @@ module OCI
138
138
  # @return [String]
139
139
  attr_accessor :path
140
140
 
141
+ # The list of customized properties along with the values for this object
142
+ # @return [Array<OCI::DataCatalog::Models::CustomPropertyGetUsage>]
143
+ attr_accessor :custom_property_members
144
+
141
145
  # A map of maps that contains the properties which are specific to the attribute type. Each attribute type
142
146
  # definition defines it's set of required and optional properties. The map keys are category names and the
143
147
  # values are maps of property name to property value. Every property is contained inside of a category. Most
@@ -177,6 +181,7 @@ module OCI
177
181
  'time_external': :'timeExternal',
178
182
  'uri': :'uri',
179
183
  'path': :'path',
184
+ 'custom_property_members': :'customPropertyMembers',
180
185
  'properties': :'properties'
181
186
  # rubocop:enable Style/SymbolLiteral
182
187
  }
@@ -212,6 +217,7 @@ module OCI
212
217
  'time_external': :'DateTime',
213
218
  'uri': :'String',
214
219
  'path': :'String',
220
+ 'custom_property_members': :'Array<OCI::DataCatalog::Models::CustomPropertyGetUsage>',
215
221
  'properties': :'Hash<String, Hash<String, String>>'
216
222
  # rubocop:enable Style/SymbolLiteral
217
223
  }
@@ -249,6 +255,7 @@ module OCI
249
255
  # @option attributes [DateTime] :time_external The value to assign to the {#time_external} property
250
256
  # @option attributes [String] :uri The value to assign to the {#uri} property
251
257
  # @option attributes [String] :path The value to assign to the {#path} property
258
+ # @option attributes [Array<OCI::DataCatalog::Models::CustomPropertyGetUsage>] :custom_property_members The value to assign to the {#custom_property_members} property
252
259
  # @option attributes [Hash<String, Hash<String, String>>] :properties The value to assign to the {#properties} property
253
260
  def initialize(attributes = {})
254
261
  return unless attributes.is_a?(Hash)
@@ -380,6 +387,12 @@ module OCI
380
387
 
381
388
  self.path = attributes[:'path'] if attributes[:'path']
382
389
 
390
+ self.custom_property_members = attributes[:'customPropertyMembers'] if attributes[:'customPropertyMembers']
391
+
392
+ raise 'You cannot provide both :customPropertyMembers and :custom_property_members' if attributes.key?(:'customPropertyMembers') && attributes.key?(:'custom_property_members')
393
+
394
+ self.custom_property_members = attributes[:'custom_property_members'] if attributes[:'custom_property_members']
395
+
383
396
  self.properties = attributes[:'properties'] if attributes[:'properties']
384
397
  end
385
398
  # rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
@@ -433,6 +446,7 @@ module OCI
433
446
  time_external == other.time_external &&
434
447
  uri == other.uri &&
435
448
  path == other.path &&
449
+ custom_property_members == other.custom_property_members &&
436
450
  properties == other.properties
437
451
  end
438
452
  # rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity, Layout/EmptyLines
@@ -449,7 +463,7 @@ module OCI
449
463
  # Calculates hash code according to all attributes.
450
464
  # @return [Fixnum] Hash code
451
465
  def hash
452
- [key, display_name, description, entity_key, lifecycle_state, time_created, time_updated, created_by_id, updated_by_id, external_data_type, external_key, is_incremental_data, is_nullable, min_collection_count, max_collection_count, datatype_entity_key, external_datatype_entity_key, parent_attribute_key, external_parent_attribute_key, length, position, precision, scale, time_external, uri, path, properties].hash
466
+ [key, display_name, description, entity_key, lifecycle_state, time_created, time_updated, created_by_id, updated_by_id, external_data_type, external_key, is_incremental_data, is_nullable, min_collection_count, max_collection_count, datatype_entity_key, external_datatype_entity_key, parent_attribute_key, external_parent_attribute_key, length, position, precision, scale, time_external, uri, path, custom_property_members, properties].hash
453
467
  end
454
468
  # rubocop:enable Metrics/AbcSize, Layout/EmptyLines
455
469