oci 2.134.0__py3-none-any.whl → 2.135.0__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (612) hide show
  1. oci/__init__.py +2 -2
  2. oci/access_governance_cp/access_governance_cp_client.py +8 -8
  3. oci/adm/application_dependency_management_client.py +36 -36
  4. oci/ai_anomaly_detection/anomaly_detection_client.py +36 -36
  5. oci/ai_document/ai_service_document_client.py +26 -26
  6. oci/ai_language/ai_service_language_client.py +44 -44
  7. oci/ai_speech/ai_service_speech_client.py +19 -19
  8. oci/ai_vision/ai_service_vision_client.py +25 -25
  9. oci/analytics/analytics_client.py +24 -24
  10. oci/analytics/models/analytics_instance.py +55 -0
  11. oci/analytics/models/create_analytics_instance_details.py +55 -0
  12. oci/analytics/models/update_analytics_instance_details.py +57 -2
  13. oci/announcements_service/announcement_client.py +5 -5
  14. oci/announcements_service/announcement_subscription_client.py +9 -9
  15. oci/announcements_service/announcements_preferences_client.py +4 -4
  16. oci/announcements_service/models/base_announcement.py +25 -25
  17. oci/announcements_service/models/base_create_announcements_preferences_details.py +5 -5
  18. oci/announcements_service/models/base_service.py +15 -15
  19. oci/announcements_service/service_client.py +1 -1
  20. oci/apigateway/api_gateway_client.py +21 -21
  21. oci/apigateway/deployment_client.py +6 -6
  22. oci/apigateway/gateway_client.py +6 -6
  23. oci/apigateway/models/body_validation_request_policy.py +5 -5
  24. oci/apigateway/models/header_validation_request_policy.py +5 -5
  25. oci/apigateway/models/validation_request_policy.py +5 -5
  26. oci/apigateway/subscribers_client.py +6 -6
  27. oci/apigateway/usage_plans_client.py +6 -6
  28. oci/apigateway/work_requests_client.py +5 -5
  29. oci/apm_config/config_client.py +9 -9
  30. oci/apm_control_plane/apm_domain_client.py +14 -14
  31. oci/apm_control_plane/models/base_domain_details.py +5 -5
  32. oci/apm_control_plane/models/base_key_details.py +5 -5
  33. oci/apm_synthetics/apm_synthetic_client.py +28 -28
  34. oci/apm_traces/attributes_client.py +8 -8
  35. oci/apm_traces/query_client.py +2 -2
  36. oci/apm_traces/trace_client.py +4 -4
  37. oci/appmgmt_control/appmgmt_control_client.py +8 -8
  38. oci/artifacts/artifacts_client.py +32 -32
  39. oci/audit/audit_client.py +3 -3
  40. oci/autoscaling/auto_scaling_client.py +11 -11
  41. oci/bastion/bastion_client.py +15 -15
  42. oci/bds/bds_client.py +72 -72
  43. oci/blockchain/blockchain_platform_client.py +27 -27
  44. oci/blockchain/models/availability_domain.py +5 -5
  45. oci/blockchain/models/peer_role.py +5 -5
  46. oci/budget/budget_client.py +10 -10
  47. oci/capacity_management/capacity_management_client.py +32 -32
  48. oci/certificates/certificates_client.py +5 -5
  49. oci/certificates_management/certificates_management_client.py +32 -32
  50. oci/cims/incident_client.py +8 -8
  51. oci/cims/user_client.py +1 -1
  52. oci/cloud_bridge/common_client.py +5 -5
  53. oci/cloud_bridge/discovery_client.py +14 -14
  54. oci/cloud_bridge/inventory_client.py +16 -16
  55. oci/cloud_bridge/ocb_agent_svc_client.py +23 -23
  56. oci/cloud_guard/cloud_guard_client.py +155 -155
  57. oci/cloud_migrations/migration_client.py +43 -43
  58. oci/cluster_placement_groups/cluster_placement_groups_cp_client.py +13 -13
  59. oci/compute_cloud_at_customer/compute_cloud_at_customer_client.py +12 -12
  60. oci/compute_instance_agent/compute_instance_agent_client.py +6 -6
  61. oci/compute_instance_agent/plugin_client.py +2 -2
  62. oci/compute_instance_agent/pluginconfig_client.py +1 -1
  63. oci/container_engine/container_engine_client.py +44 -44
  64. oci/container_instances/container_instance_client.py +18 -18
  65. oci/core/blockstorage_client.py +60 -60
  66. oci/core/compute_client.py +102 -102
  67. oci/core/compute_management_client.py +32 -32
  68. oci/core/models/compute_bare_metal_host.py +10 -10
  69. oci/core/models/compute_hpc_island.py +5 -5
  70. oci/core/models/compute_network_block.py +5 -5
  71. oci/core/models/topology.py +5 -5
  72. oci/core/virtual_network_client.py +250 -250
  73. oci/dashboard_service/dashboard_client.py +6 -6
  74. oci/dashboard_service/dashboard_group_client.py +6 -6
  75. oci/data_catalog/data_catalog_client.py +149 -149
  76. oci/data_catalog/models/base_tag.py +5 -5
  77. oci/data_catalog/models/base_tag_summary.py +5 -5
  78. oci/data_catalog/models/object_lineage.py +5 -5
  79. oci/data_flow/data_flow_client.py +42 -42
  80. oci/data_integration/data_integration_client.py +163 -163
  81. oci/data_integration/models/abstract_call_attribute.py +5 -5
  82. oci/data_integration/models/abstract_data_operation_config.py +5 -5
  83. oci/data_integration/models/cancel_rest_call_config.py +5 -5
  84. oci/data_integration/models/composite_type.py +2 -1
  85. oci/data_integration/models/conditional_composite_field_map.py +2 -1
  86. oci/data_integration/models/connection_details.py +5 -5
  87. oci/data_integration/models/connection_from_adwc_details.py +2 -1
  88. oci/data_integration/models/connection_from_atp_details.py +2 -1
  89. oci/data_integration/models/connection_from_hdfs_details.py +2 -1
  90. oci/data_integration/models/connection_from_jdbc_details.py +2 -1
  91. oci/data_integration/models/connection_from_lake_details.py +2 -1
  92. oci/data_integration/models/connection_from_my_sql_details.py +2 -1
  93. oci/data_integration/models/connection_from_my_sql_heat_wave_details.py +2 -1
  94. oci/data_integration/models/connection_from_o_auth2_details.py +7 -6
  95. oci/data_integration/models/connection_from_object_storage_details.py +2 -1
  96. oci/data_integration/models/connection_from_oracle_ebs_details.py +2 -1
  97. oci/data_integration/models/connection_from_oracle_people_soft_details.py +2 -1
  98. oci/data_integration/models/connection_from_oracle_siebel_details.py +2 -1
  99. oci/data_integration/models/connection_summary_from_adwc.py +2 -1
  100. oci/data_integration/models/connection_summary_from_atp.py +2 -1
  101. oci/data_integration/models/connection_summary_from_hdfs.py +2 -1
  102. oci/data_integration/models/connection_summary_from_jdbc.py +2 -1
  103. oci/data_integration/models/connection_summary_from_lake.py +2 -1
  104. oci/data_integration/models/connection_summary_from_my_sql.py +2 -1
  105. oci/data_integration/models/connection_summary_from_my_sql_heat_wave.py +2 -1
  106. oci/data_integration/models/connection_summary_from_oracle_ebs.py +2 -1
  107. oci/data_integration/models/connection_summary_from_oracle_people_soft.py +2 -1
  108. oci/data_integration/models/connection_summary_from_oracle_siebel.py +2 -1
  109. oci/data_integration/models/connector_attribute.py +5 -5
  110. oci/data_integration/models/derived_type.py +2 -1
  111. oci/data_integration/models/dynamic_proxy_field.py +2 -1
  112. oci/data_integration/models/flow_port_link.py +5 -5
  113. oci/data_integration/models/key.py +5 -5
  114. oci/data_integration/models/materialized_composite_type.py +2 -1
  115. oci/data_integration/models/materialized_dynamic_field.py +2 -1
  116. oci/data_integration/models/output_link.py +2 -1
  117. oci/data_integration/models/poll_rest_call_config.py +5 -5
  118. oci/data_integration/models/rest_call_config.py +5 -5
  119. oci/data_integration/models/shape_field.py +2 -1
  120. oci/data_integration/models/task_run_lineage_details.py +5 -5
  121. oci/data_integration/models/typed_expression.py +2 -1
  122. oci/data_labeling_service/data_labeling_management_client.py +17 -17
  123. oci/data_labeling_service_dataplane/data_labeling_client.py +15 -15
  124. oci/data_safe/data_safe_client.py +781 -287
  125. oci/data_safe/data_safe_client_composite_operations.py +164 -0
  126. oci/data_safe/models/__init__.py +12 -0
  127. oci/data_safe/models/bulk_create_sql_firewall_allowed_sqls_details.py +142 -0
  128. oci/data_safe/models/bulk_delete_sql_firewall_allowed_sqls_details.py +99 -0
  129. oci/data_safe/models/generate_report_details.py +7 -3
  130. oci/data_safe/models/list_selection_mode.py +84 -0
  131. oci/data_safe/models/patch_sql_firewall_allowed_sql_details.py +103 -0
  132. oci/data_safe/models/report.py +7 -3
  133. oci/data_safe/models/report_definition.py +7 -3
  134. oci/data_safe/models/report_summary.py +7 -3
  135. oci/data_safe/models/schedule_report_details.py +7 -3
  136. oci/data_safe/models/scim_query_selection_mode.py +98 -0
  137. oci/data_safe/models/selection_details.py +113 -0
  138. oci/data_safe/models/sql_firewall_allowed_sql.py +10 -10
  139. oci/data_safe/models/work_request.py +15 -3
  140. oci/data_safe/models/work_request_summary.py +15 -3
  141. oci/data_science/data_science_client.py +91 -91
  142. oci/data_science/models/custom_expression_query_scaling_configuration.py +2 -1
  143. oci/data_science/models/scaling_configuration.py +5 -5
  144. oci/database/database_client.py +652 -394
  145. oci/database/database_client_composite_operations.py +176 -0
  146. oci/database/models/__init__.py +6 -0
  147. oci/database/models/autonomous_database.py +31 -0
  148. oci/database/models/autonomous_database_summary.py +31 -0
  149. oci/database/models/create_autonomous_database_base.py +11 -3
  150. oci/database/models/create_autonomous_database_clone_details.py +1 -1
  151. oci/database/models/create_autonomous_database_details.py +1 -1
  152. oci/database/models/create_autonomous_database_from_backup_details.py +1 -1
  153. oci/database/models/create_autonomous_database_from_backup_timestamp_details.py +1 -1
  154. oci/database/models/create_cross_region_autonomous_database_data_guard_details.py +1 -1
  155. oci/database/models/create_cross_region_disaster_recovery_details.py +1 -1
  156. oci/database/models/create_cross_tenancy_disaster_recovery_details.py +1 -1
  157. oci/database/models/create_refreshable_autonomous_database_clone_details.py +1 -1
  158. oci/database/models/external_database_base.py +15 -15
  159. oci/database/models/infrastructure_target_version_summary.py +5 -5
  160. oci/database/models/oci_provider_set_key_version_details.py +82 -0
  161. oci/database/models/pluggable_database.py +62 -0
  162. oci/database/models/pluggable_database_summary.py +62 -0
  163. oci/database/models/set_key_version_details.py +101 -0
  164. oci/database/models/undelete_autonomous_database_details.py +440 -0
  165. oci/database_management/db_management_client.py +211 -211
  166. oci/database_management/diagnosability_client.py +4 -4
  167. oci/database_management/managed_my_sql_databases_client.py +7 -7
  168. oci/database_management/models/awr_query_result.py +5 -5
  169. oci/database_management/models/dbm_resource.py +10 -10
  170. oci/database_management/models/discovered_external_asm_instance.py +4 -2
  171. oci/database_management/models/discovered_external_pluggable_database.py +4 -2
  172. oci/database_management/models/entity_discovered.py +10 -10
  173. oci/database_management/models/external_exadata_infrastructure_discovery_summary.py +9 -7
  174. oci/database_management/models/external_exadata_storage_grid_summary.py +4 -2
  175. oci/database_management/models/external_serviced_database.py +10 -10
  176. oci/database_management/models/external_storage_grid_discovery_summary.py +4 -2
  177. oci/database_management/models/external_storage_server_discovery_summary.py +4 -2
  178. oci/database_management/perfhub_client.py +1 -1
  179. oci/database_management/sql_tuning_client.py +17 -17
  180. oci/database_migration/database_migration_client.py +42 -42
  181. oci/database_migration/models/migration_parameter_base.py +5 -5
  182. oci/database_tools/database_tools_client.py +23 -23
  183. oci/delegate_access_control/delegate_access_control_client.py +26 -26
  184. oci/delegate_access_control/work_request_client.py +4 -4
  185. oci/demand_signal/occ_demand_signal_client.py +7 -7
  186. oci/desktops/desktop_service_client.py +21 -21
  187. oci/devops/devops_client.py +141 -141
  188. oci/devops/models/build_run_snapshot.py +5 -5
  189. oci/disaster_recovery/disaster_recovery_client.py +29 -29
  190. oci/dns/dns_client.py +52 -52
  191. oci/dts/appliance_export_job_client.py +6 -6
  192. oci/dts/shipping_vendors_client.py +1 -1
  193. oci/dts/transfer_appliance_client.py +8 -8
  194. oci/dts/transfer_appliance_entitlement_client.py +3 -3
  195. oci/dts/transfer_device_client.py +5 -5
  196. oci/dts/transfer_job_client.py +6 -6
  197. oci/dts/transfer_package_client.py +7 -7
  198. oci/em_warehouse/em_data_lake_client.py +13 -13
  199. oci/em_warehouse/em_warehouse_client.py +13 -13
  200. oci/email/email_client.py +31 -31
  201. oci/email_data_plane/email_dp_client.py +1 -1
  202. oci/events/events_client.py +6 -6
  203. oci/file_storage/file_storage_client.py +54 -54
  204. oci/fleet_apps_management/fleet_apps_management_admin_client.py +8 -8
  205. oci/fleet_apps_management/fleet_apps_management_client.py +35 -35
  206. oci/fleet_apps_management/fleet_apps_management_maintenance_window_client.py +5 -5
  207. oci/fleet_apps_management/fleet_apps_management_operations_client.py +13 -13
  208. oci/fleet_apps_management/fleet_apps_management_runbooks_client.py +4 -4
  209. oci/fleet_apps_management/models/fleet_target.py +10 -10
  210. oci/fleet_software_update/fleet_software_update_client.py +46 -46
  211. oci/functions/functions_invoke_client.py +1 -1
  212. oci/functions/functions_management_client.py +16 -16
  213. oci/fusion_apps/data_masking_activity_client.py +3 -3
  214. oci/fusion_apps/fusion_applications_client.py +41 -41
  215. oci/fusion_apps/fusion_environment_client.py +15 -15
  216. oci/fusion_apps/fusion_environment_family_client.py +8 -8
  217. oci/fusion_apps/models/allow_rule.py +1 -1
  218. oci/fusion_apps/models/create_refresh_activity_details.py +31 -0
  219. oci/fusion_apps/models/maintenance_policy.py +10 -10
  220. oci/fusion_apps/models/refresh_activity.py +31 -0
  221. oci/fusion_apps/models/refresh_activity_summary.py +31 -0
  222. oci/fusion_apps/refresh_activity_client.py +4 -4
  223. oci/fusion_apps/scheduled_activity_client.py +2 -2
  224. oci/fusion_apps/service_attachment_client.py +2 -2
  225. oci/generative_ai/generative_ai_client.py +22 -22
  226. oci/generative_ai_agent/__init__.py +14 -0
  227. oci/generative_ai_agent/generative_ai_agent_client.py +4245 -0
  228. oci/generative_ai_agent/generative_ai_agent_client_composite_operations.py +774 -0
  229. oci/generative_ai_agent/models/__init__.py +118 -0
  230. oci/generative_ai_agent/models/agent.py +536 -0
  231. oci/generative_ai_agent/models/agent_collection.py +74 -0
  232. oci/generative_ai_agent/models/agent_endpoint.py +648 -0
  233. oci/generative_ai_agent/models/agent_endpoint_collection.py +74 -0
  234. oci/generative_ai_agent/models/agent_endpoint_summary.py +612 -0
  235. oci/generative_ai_agent/models/agent_summary.py +500 -0
  236. oci/generative_ai_agent/models/basic_auth_secret.py +88 -0
  237. oci/generative_ai_agent/models/change_agent_compartment_details.py +78 -0
  238. oci/generative_ai_agent/models/change_agent_endpoint_compartment_details.py +78 -0
  239. oci/generative_ai_agent/models/change_knowledge_base_compartment_details.py +78 -0
  240. oci/generative_ai_agent/models/content_moderation_config.py +103 -0
  241. oci/generative_ai_agent/models/create_agent_details.py +288 -0
  242. oci/generative_ai_agent/models/create_agent_endpoint_details.py +400 -0
  243. oci/generative_ai_agent/models/create_data_ingestion_job_details.py +257 -0
  244. oci/generative_ai_agent/models/create_data_source_details.py +284 -0
  245. oci/generative_ai_agent/models/create_knowledge_base_details.py +249 -0
  246. oci/generative_ai_agent/models/data_ingestion_job.py +536 -0
  247. oci/generative_ai_agent/models/data_ingestion_job_collection.py +74 -0
  248. oci/generative_ai_agent/models/data_ingestion_job_statistics.py +136 -0
  249. oci/generative_ai_agent/models/data_ingestion_job_summary.py +469 -0
  250. oci/generative_ai_agent/models/data_source.py +536 -0
  251. oci/generative_ai_agent/models/data_source_collection.py +74 -0
  252. oci/generative_ai_agent/models/data_source_config.py +107 -0
  253. oci/generative_ai_agent/models/data_source_summary.py +469 -0
  254. oci/generative_ai_agent/models/database_connection.py +107 -0
  255. oci/generative_ai_agent/models/database_function.py +74 -0
  256. oci/generative_ai_agent/models/database_tool_connection.py +88 -0
  257. oci/generative_ai_agent/models/default_index_config.py +84 -0
  258. oci/generative_ai_agent/models/idcs_secret.py +181 -0
  259. oci/generative_ai_agent/models/index.py +101 -0
  260. oci/generative_ai_agent/models/index_config.py +127 -0
  261. oci/generative_ai_agent/models/index_schema.py +167 -0
  262. oci/generative_ai_agent/models/knowledge_base.py +501 -0
  263. oci/generative_ai_agent/models/knowledge_base_collection.py +74 -0
  264. oci/generative_ai_agent/models/knowledge_base_summary.py +434 -0
  265. oci/generative_ai_agent/models/object_storage_prefix.py +136 -0
  266. oci/generative_ai_agent/models/oci_database_config.py +111 -0
  267. oci/generative_ai_agent/models/oci_object_storage_data_source_config.py +84 -0
  268. oci/generative_ai_agent/models/oci_open_search_index_config.py +146 -0
  269. oci/generative_ai_agent/models/secret_detail.py +117 -0
  270. oci/generative_ai_agent/models/session_config.py +74 -0
  271. oci/generative_ai_agent/models/update_agent_details.py +253 -0
  272. oci/generative_ai_agent/models/update_agent_endpoint_details.py +303 -0
  273. oci/generative_ai_agent/models/update_data_source_details.py +214 -0
  274. oci/generative_ai_agent/models/update_knowledge_base_details.py +214 -0
  275. oci/generative_ai_agent/models/work_request.py +505 -0
  276. oci/generative_ai_agent/models/work_request_error.py +148 -0
  277. oci/generative_ai_agent/models/work_request_error_collection.py +74 -0
  278. oci/generative_ai_agent/models/work_request_log_entry.py +111 -0
  279. oci/generative_ai_agent/models/work_request_log_entry_collection.py +74 -0
  280. oci/generative_ai_agent/models/work_request_resource.py +240 -0
  281. oci/generative_ai_agent/models/work_request_summary.py +503 -0
  282. oci/generative_ai_agent/models/work_request_summary_collection.py +74 -0
  283. oci/generative_ai_agent_runtime/__init__.py +14 -0
  284. oci/generative_ai_agent_runtime/generative_ai_agent_runtime_client.py +689 -0
  285. oci/generative_ai_agent_runtime/generative_ai_agent_runtime_client_composite_operations.py +26 -0
  286. oci/generative_ai_agent_runtime/models/__init__.py +44 -0
  287. oci/generative_ai_agent_runtime/models/chat_details.py +134 -0
  288. oci/generative_ai_agent_runtime/models/chat_result.py +99 -0
  289. oci/generative_ai_agent_runtime/models/citation.py +99 -0
  290. oci/generative_ai_agent_runtime/models/create_session_details.py +103 -0
  291. oci/generative_ai_agent_runtime/models/error_trace.py +89 -0
  292. oci/generative_ai_agent_runtime/models/generation_trace.py +89 -0
  293. oci/generative_ai_agent_runtime/models/message.py +146 -0
  294. oci/generative_ai_agent_runtime/models/message_content.py +103 -0
  295. oci/generative_ai_agent_runtime/models/oci_database_source_location.py +148 -0
  296. oci/generative_ai_agent_runtime/models/oci_object_storage_source_location.py +82 -0
  297. oci/generative_ai_agent_runtime/models/oci_open_search_source_location.py +144 -0
  298. oci/generative_ai_agent_runtime/models/retrieval_trace.py +120 -0
  299. oci/generative_ai_agent_runtime/models/session.py +227 -0
  300. oci/generative_ai_agent_runtime/models/source_location.py +117 -0
  301. oci/generative_ai_agent_runtime/models/trace.py +148 -0
  302. oci/generative_ai_agent_runtime/models/update_session_details.py +103 -0
  303. oci/generative_ai_inference/generative_ai_inference_client.py +4 -4
  304. oci/generic_artifacts_content/generic_artifacts_content_client.py +3 -3
  305. oci/globally_distributed_database/sharded_database_service_client.py +30 -30
  306. oci/golden_gate/golden_gate_client.py +68 -68
  307. oci/governance_rules_control_plane/governance_rule_client.py +15 -15
  308. oci/governance_rules_control_plane/work_request_client.py +5 -5
  309. oci/healthchecks/health_checks_client.py +17 -17
  310. oci/identity/identity_client.py +145 -145
  311. oci/identity_data_plane/dataplane_client.py +2 -2
  312. oci/identity_domains/identity_domains_client.py +307 -307
  313. oci/integration/integration_instance_client.py +255 -18
  314. oci/integration/integration_instance_client_composite_operations.py +81 -0
  315. oci/integration/models/__init__.py +2 -0
  316. oci/integration/models/add_oracle_managed_custom_endpoint_details.py +146 -0
  317. oci/integration/models/custom_endpoint_details.py +121 -0
  318. oci/integration/models/integration_instance.py +34 -7
  319. oci/integration/models/integration_instance_summary.py +34 -7
  320. oci/integration/models/work_request.py +11 -3
  321. oci/integration/models/work_request_summary.py +11 -3
  322. oci/jms/java_management_service_client.py +75 -75
  323. oci/jms_java_downloads/java_download_client.py +25 -25
  324. oci/key_management/ekm_client.py +5 -5
  325. oci/key_management/kms_crypto_client.py +6 -6
  326. oci/key_management/kms_hsm_cluster_client.py +12 -12
  327. oci/key_management/kms_management_client.py +21 -21
  328. oci/key_management/kms_vault_client.py +14 -14
  329. oci/license_manager/license_manager_client.py +18 -18
  330. oci/limits/limits_client.py +4 -4
  331. oci/limits/quotas_client.py +7 -7
  332. oci/load_balancer/load_balancer_client.py +61 -61
  333. oci/lockbox/lockbox_client.py +24 -24
  334. oci/log_analytics/log_analytics_client.py +193 -193
  335. oci/log_analytics/models/chart_data_column.py +6 -3
  336. oci/log_analytics/models/function_field.py +4 -2
  337. oci/log_analytics/models/time_cluster_data_column.py +6 -3
  338. oci/log_analytics/models/time_stats_data_column.py +6 -3
  339. oci/logging/logging_management_client.py +30 -30
  340. oci/logging/models/unified_agent_monitoring_filter.py +5 -5
  341. oci/logging/models/unified_agent_tail_log_source.py +2 -1
  342. oci/logging/models/unified_agent_url_filter.py +2 -1
  343. oci/loggingingestion/logging_client.py +1 -1
  344. oci/loggingsearch/log_search_client.py +1 -1
  345. oci/management_agent/management_agent_client.py +28 -28
  346. oci/management_dashboard/dashx_apis_client.py +14 -14
  347. oci/marketplace/account_client.py +2 -2
  348. oci/marketplace/marketplace_client.py +30 -30
  349. oci/marketplace_private_offer/attachment_client.py +5 -5
  350. oci/marketplace_private_offer/offer_client.py +6 -6
  351. oci/marketplace_publisher/attachment_client.py +5 -5
  352. oci/marketplace_publisher/marketplace_publisher_client.py +71 -71
  353. oci/marketplace_publisher/offer_client.py +6 -6
  354. oci/media_services/media_services_client.py +60 -60
  355. oci/media_services/media_stream_client.py +2 -2
  356. oci/monitoring/models/__init__.py +6 -0
  357. oci/monitoring/models/alarm_status_summary.py +2 -0
  358. oci/monitoring/models/alarm_suppression.py +94 -2
  359. oci/monitoring/models/alarm_suppression_alarm_target.py +1 -1
  360. oci/monitoring/models/alarm_suppression_collection.py +3 -3
  361. oci/monitoring/models/alarm_suppression_compartment_target.py +127 -0
  362. oci/monitoring/models/alarm_suppression_history_item.py +43 -2
  363. oci/monitoring/models/alarm_suppression_summary.py +78 -2
  364. oci/monitoring/models/alarm_suppression_target.py +11 -3
  365. oci/monitoring/models/create_alarm_suppression_details.py +86 -6
  366. oci/monitoring/models/recurrence.py +127 -0
  367. oci/monitoring/models/suppression.py +1 -0
  368. oci/monitoring/models/suppression_condition.py +101 -0
  369. oci/monitoring/monitoring_client.py +115 -33
  370. oci/mysql/channels_client.py +7 -7
  371. oci/mysql/db_backups_client.py +7 -7
  372. oci/mysql/db_system_client.py +17 -17
  373. oci/mysql/mysqlaas_client.py +7 -7
  374. oci/mysql/replicas_client.py +5 -5
  375. oci/mysql/work_requests_client.py +4 -4
  376. oci/network_firewall/network_firewall_client.py +86 -86
  377. oci/network_load_balancer/network_load_balancer_client.py +34 -34
  378. oci/nosql/nosql_client.py +24 -24
  379. oci/object_storage/object_storage_client.py +55 -55
  380. oci/oce/oce_instance_client.py +10 -10
  381. oci/oci_control_center/occ_metrics_client.py +3 -3
  382. oci/ocvp/cluster_client.py +5 -5
  383. oci/ocvp/esxi_host_client.py +8 -8
  384. oci/ocvp/sddc_client.py +14 -14
  385. oci/ocvp/work_request_client.py +4 -4
  386. oci/oda/management_client.py +59 -59
  387. oci/oda/models/bot.py +15 -15
  388. oci/oda/models/parameter.py +10 -10
  389. oci/oda/oda_client.py +17 -17
  390. oci/oda/odapackage_client.py +7 -7
  391. oci/onesubscription/billing_schedule_client.py +1 -1
  392. oci/onesubscription/commitment_client.py +2 -2
  393. oci/onesubscription/computed_usage_client.py +3 -3
  394. oci/onesubscription/invoice_summary_client.py +2 -2
  395. oci/onesubscription/organization_subscription_client.py +1 -1
  396. oci/onesubscription/ratecard_client.py +1 -1
  397. oci/onesubscription/subscribed_service_client.py +2 -2
  398. oci/onesubscription/subscription_client.py +1 -1
  399. oci/ons/notification_control_plane_client.py +6 -6
  400. oci/ons/notification_data_plane_client.py +10 -10
  401. oci/opa/opa_instance_client.py +13 -13
  402. oci/opensearch/opensearch_cluster_backup_client.py +4 -4
  403. oci/opensearch/opensearch_cluster_client.py +14 -14
  404. oci/operator_access_control/access_requests_client.py +10 -10
  405. oci/operator_access_control/operator_actions_client.py +2 -2
  406. oci/operator_access_control/operator_control_assignment_client.py +8 -8
  407. oci/operator_access_control/operator_control_client.py +6 -6
  408. oci/opsi/models/__init__.py +50 -0
  409. oci/opsi/models/add_em_managed_external_exadata_insight_members_details.py +1 -1
  410. oci/opsi/models/add_exadata_insight_members_details.py +11 -3
  411. oci/opsi/models/add_macs_managed_cloud_exadata_insight_members_details.py +78 -0
  412. oci/opsi/models/add_pe_comanaged_exadata_insight_members_details.py +1 -1
  413. oci/opsi/models/autonomous_database_configuration_summary.py +1 -1
  414. oci/opsi/models/autonomous_database_insight.py +1 -1
  415. oci/opsi/models/autonomous_database_insight_summary.py +1 -1
  416. oci/opsi/models/awr_query_result.py +5 -5
  417. oci/opsi/models/change_macs_managed_cloud_database_insight_connection_details.py +130 -0
  418. oci/opsi/models/create_database_insight_details.py +11 -3
  419. oci/opsi/models/create_em_managed_external_database_insight_details.py +1 -1
  420. oci/opsi/models/create_em_managed_external_exadata_insight_details.py +1 -1
  421. oci/opsi/models/create_em_managed_external_host_insight_details.py +1 -1
  422. oci/opsi/models/create_exadata_insight_details.py +11 -3
  423. oci/opsi/models/create_host_insight_details.py +7 -3
  424. oci/opsi/models/create_macs_managed_cloud_database_insight_details.py +315 -0
  425. oci/opsi/models/create_macs_managed_cloud_exadata_cluster_details.py +171 -0
  426. oci/opsi/models/create_macs_managed_cloud_exadata_insight_details.py +134 -0
  427. oci/opsi/models/create_macs_managed_cloud_exadata_vmcluster_details.py +96 -0
  428. oci/opsi/models/create_macs_managed_cloud_host_insight_details.py +1 -1
  429. oci/opsi/models/create_macs_managed_external_host_insight_details.py +1 -1
  430. oci/opsi/models/create_mds_my_sql_database_insight_details.py +1 -1
  431. oci/opsi/models/create_pe_comanaged_database_insight_details.py +1 -1
  432. oci/opsi/models/create_pe_comanaged_exadata_insight_details.py +1 -1
  433. oci/opsi/models/database_configuration_metric_group.py +35 -3
  434. oci/opsi/models/database_configuration_summary.py +11 -3
  435. oci/opsi/models/database_insight.py +11 -3
  436. oci/opsi/models/database_insight_summary.py +11 -3
  437. oci/opsi/models/db_connection_status.py +58 -0
  438. oci/opsi/models/db_external_instance.py +1 -1
  439. oci/opsi/models/db_external_properties.py +1 -1
  440. oci/opsi/models/db_parameters.py +1 -1
  441. oci/opsi/models/dbos_config_instance.py +1 -1
  442. oci/opsi/models/em_managed_external_database_configuration_summary.py +127 -3
  443. oci/opsi/models/em_managed_external_database_insight.py +1 -1
  444. oci/opsi/models/em_managed_external_database_insight_summary.py +1 -1
  445. oci/opsi/models/em_managed_external_exadata_insight.py +2 -2
  446. oci/opsi/models/em_managed_external_exadata_insight_summary.py +2 -2
  447. oci/opsi/models/em_managed_external_host_configuration_summary.py +127 -3
  448. oci/opsi/models/em_managed_external_host_insight.py +1 -1
  449. oci/opsi/models/em_managed_external_host_insight_summary.py +1 -1
  450. oci/opsi/models/enable_database_insight_details.py +11 -3
  451. oci/opsi/models/enable_em_managed_external_database_insight_details.py +1 -1
  452. oci/opsi/models/enable_em_managed_external_exadata_insight_details.py +1 -1
  453. oci/opsi/models/enable_em_managed_external_host_insight_details.py +1 -1
  454. oci/opsi/models/enable_exadata_insight_details.py +11 -3
  455. oci/opsi/models/enable_host_insight_details.py +7 -3
  456. oci/opsi/models/enable_macs_managed_cloud_database_insight_details.py +274 -0
  457. oci/opsi/models/enable_macs_managed_cloud_exadata_insight_details.py +51 -0
  458. oci/opsi/models/enable_macs_managed_cloud_host_insight_details.py +1 -1
  459. oci/opsi/models/enable_macs_managed_external_host_insight_details.py +1 -1
  460. oci/opsi/models/enable_mds_my_sql_database_insight_details.py +1 -1
  461. oci/opsi/models/enable_pe_comanaged_database_insight_details.py +1 -1
  462. oci/opsi/models/enable_pe_comanaged_exadata_insight_details.py +1 -1
  463. oci/opsi/models/exadata_asm_entity.py +151 -0
  464. oci/opsi/models/exadata_cell_config.py +213 -0
  465. oci/opsi/models/exadata_configuration_summary.py +30 -6
  466. oci/opsi/models/exadata_database_machine_configuration_summary.py +128 -4
  467. oci/opsi/models/exadata_exacc_configuration_summary.py +186 -0
  468. oci/opsi/models/exadata_exacs_configuration_summary.py +2 -2
  469. oci/opsi/models/exadata_insight.py +30 -6
  470. oci/opsi/models/exadata_insight_summary.py +30 -6
  471. oci/opsi/models/exadata_member_collection.py +19 -3
  472. oci/opsi/models/host_allocation.py +120 -0
  473. oci/opsi/models/host_configuration_summary.py +11 -3
  474. oci/opsi/models/host_containers.py +2 -2
  475. oci/opsi/models/host_insight.py +11 -3
  476. oci/opsi/models/host_insight_summary.py +11 -3
  477. oci/opsi/models/macs_managed_cloud_database_configuration_summary.py +253 -0
  478. oci/opsi/models/macs_managed_cloud_database_host_insight.py +394 -0
  479. oci/opsi/models/macs_managed_cloud_database_host_insight_summary.py +339 -0
  480. oci/opsi/models/macs_managed_cloud_database_insight.py +469 -0
  481. oci/opsi/models/macs_managed_cloud_database_insight_summary.py +315 -0
  482. oci/opsi/models/macs_managed_cloud_db_host_configuration_summary.py +282 -0
  483. oci/opsi/models/macs_managed_cloud_exadata_insight.py +278 -0
  484. oci/opsi/models/macs_managed_cloud_exadata_insight_summary.py +271 -0
  485. oci/opsi/models/macs_managed_cloud_host_configuration_summary.py +1 -1
  486. oci/opsi/models/macs_managed_cloud_host_insight.py +1 -1
  487. oci/opsi/models/macs_managed_cloud_host_insight_summary.py +1 -1
  488. oci/opsi/models/macs_managed_external_database_configuration_summary.py +1 -1
  489. oci/opsi/models/macs_managed_external_database_insight.py +1 -1
  490. oci/opsi/models/macs_managed_external_database_insight_summary.py +1 -1
  491. oci/opsi/models/macs_managed_external_host_configuration_summary.py +1 -1
  492. oci/opsi/models/macs_managed_external_host_insight.py +1 -1
  493. oci/opsi/models/macs_managed_external_host_insight_summary.py +1 -1
  494. oci/opsi/models/mds_my_sql_database_insight.py +1 -1
  495. oci/opsi/models/mds_my_sql_database_insight_summary.py +1 -1
  496. oci/opsi/models/mds_mysql_database_configuration_summary.py +1 -1
  497. oci/opsi/models/pe_comanaged_database_insight.py +1 -1
  498. oci/opsi/models/pe_comanaged_database_insight_summary.py +1 -1
  499. oci/opsi/models/pe_comanaged_exadata_insight.py +9 -5
  500. oci/opsi/models/pe_comanaged_exadata_insight_summary.py +9 -5
  501. oci/opsi/models/pe_comanaged_host_configuration_summary.py +1 -1
  502. oci/opsi/models/pe_comanaged_host_insight.py +1 -1
  503. oci/opsi/models/pe_comanaged_host_insight_summary.py +1 -1
  504. oci/opsi/models/pe_comanaged_managed_external_database_configuration_summary.py +1 -1
  505. oci/opsi/models/test_macs_managed_cloud_database_insight_connection_details.py +130 -0
  506. oci/opsi/models/update_autonomous_database_insight_details.py +1 -1
  507. oci/opsi/models/update_database_insight_details.py +11 -3
  508. oci/opsi/models/update_em_managed_external_database_insight_details.py +1 -1
  509. oci/opsi/models/update_em_managed_external_exadata_insight_details.py +1 -1
  510. oci/opsi/models/update_em_managed_external_host_insight_details.py +1 -1
  511. oci/opsi/models/update_exadata_insight_details.py +11 -3
  512. oci/opsi/models/update_host_insight_details.py +11 -3
  513. oci/opsi/models/update_macs_managed_cloud_database_host_insight_details.py +65 -0
  514. oci/opsi/models/update_macs_managed_cloud_database_insight_details.py +65 -0
  515. oci/opsi/models/update_macs_managed_cloud_exadata_insight_details.py +65 -0
  516. oci/opsi/models/update_macs_managed_cloud_host_insight_details.py +1 -1
  517. oci/opsi/models/update_macs_managed_external_database_insight_details.py +1 -1
  518. oci/opsi/models/update_macs_managed_external_host_insight_details.py +1 -1
  519. oci/opsi/models/update_mds_my_sql_database_insight.py +1 -1
  520. oci/opsi/models/update_pe_comanaged_database_insight_details.py +1 -1
  521. oci/opsi/models/update_pe_comanaged_exadata_insight_details.py +1 -1
  522. oci/opsi/models/update_pe_comanaged_host_insight_details.py +1 -1
  523. oci/opsi/models/work_request.py +11 -3
  524. oci/opsi/operations_insights_client.py +482 -214
  525. oci/opsi/operations_insights_client_composite_operations.py +81 -0
  526. oci/optimizer/optimizer_client.py +26 -26
  527. oci/os_management/event_client.py +8 -8
  528. oci/os_management/os_management_client.py +69 -69
  529. oci/os_management_hub/event_client.py +8 -8
  530. oci/os_management_hub/lifecycle_environment_client.py +12 -12
  531. oci/os_management_hub/managed_instance_client.py +31 -31
  532. oci/os_management_hub/managed_instance_group_client.py +25 -25
  533. oci/os_management_hub/management_station_client.py +10 -10
  534. oci/os_management_hub/models/event_content.py +5 -5
  535. oci/os_management_hub/models/exploit_attempt_event_content.py +2 -1
  536. oci/os_management_hub/models/package_summary.py +10 -10
  537. oci/os_management_hub/onboarding_client.py +6 -6
  538. oci/os_management_hub/reporting_managed_instance_client.py +3 -3
  539. oci/os_management_hub/scheduled_job_client.py +7 -7
  540. oci/os_management_hub/software_source_client.py +27 -27
  541. oci/os_management_hub/work_request_client.py +4 -4
  542. oci/osp_gateway/address_rule_service_client.py +1 -1
  543. oci/osp_gateway/address_service_client.py +2 -2
  544. oci/osp_gateway/invoice_service_client.py +5 -5
  545. oci/osp_gateway/subscription_service_client.py +5 -5
  546. oci/osub_billing_schedule/billing_schedule_client.py +1 -1
  547. oci/osub_organization_subscription/organization_subscription_client.py +1 -1
  548. oci/osub_subscription/commitment_client.py +2 -2
  549. oci/osub_subscription/ratecard_client.py +1 -1
  550. oci/osub_subscription/subscription_client.py +1 -1
  551. oci/osub_usage/computed_usage_client.py +3 -3
  552. oci/psql/postgresql_client.py +33 -33
  553. oci/queue/queue_admin_client.py +11 -11
  554. oci/queue/queue_client.py +8 -8
  555. oci/recovery/database_recovery_client.py +26 -26
  556. oci/redis/redis_cluster_client.py +12 -12
  557. oci/resource_manager/resource_manager_client.py +52 -52
  558. oci/resource_scheduler/schedule_client.py +13 -13
  559. oci/resource_search/resource_search_client.py +3 -3
  560. oci/rover/rover_bundle_client.py +8 -8
  561. oci/rover/rover_cluster_client.py +8 -8
  562. oci/rover/rover_entitlement_client.py +6 -6
  563. oci/rover/rover_node_client.py +15 -15
  564. oci/rover/shape_client.py +1 -1
  565. oci/rover/work_requests_client.py +5 -5
  566. oci/sch/connector_plugins_client.py +2 -2
  567. oci/sch/service_connector_client.py +12 -12
  568. oci/secrets/secrets_client.py +3 -3
  569. oci/service_catalog/service_catalog_client.py +26 -26
  570. oci/service_manager_proxy/service_manager_proxy_client.py +2 -2
  571. oci/service_mesh/models/traffic_rule_target.py +5 -5
  572. oci/service_mesh/service_mesh_client.py +48 -48
  573. oci/stack_monitoring/stack_monitoring_client.py +64 -64
  574. oci/streaming/stream_admin_client.py +18 -18
  575. oci/streaming/stream_client.py +8 -8
  576. oci/tenant_manager_control_plane/domain_client.py +5 -5
  577. oci/tenant_manager_control_plane/domain_governance_client.py +5 -5
  578. oci/tenant_manager_control_plane/governance_client.py +2 -2
  579. oci/tenant_manager_control_plane/link_client.py +3 -3
  580. oci/tenant_manager_control_plane/orders_client.py +2 -2
  581. oci/tenant_manager_control_plane/organization_client.py +10 -10
  582. oci/tenant_manager_control_plane/recipient_invitation_client.py +5 -5
  583. oci/tenant_manager_control_plane/sender_invitation_client.py +5 -5
  584. oci/tenant_manager_control_plane/subscription_client.py +11 -11
  585. oci/tenant_manager_control_plane/work_request_client.py +4 -4
  586. oci/threat_intelligence/threatintel_client.py +5 -5
  587. oci/usage/resources_client.py +2 -2
  588. oci/usage/rewards_client.py +6 -6
  589. oci/usage/usagelimits_client.py +1 -1
  590. oci/usage_api/usageapi_client.py +33 -33
  591. oci/vault/vaults_client.py +13 -13
  592. oci/vbs_inst/vbs_instance_client.py +10 -10
  593. oci/version.py +1 -1
  594. oci/visual_builder/vb_instance_client.py +13 -13
  595. oci/vn_monitoring/models/topology.py +5 -5
  596. oci/vn_monitoring/vn_monitoring_client.py +12 -12
  597. oci/vulnerability_scanning/vulnerability_scanning_client.py +58 -58
  598. oci/waa/waa_client.py +13 -13
  599. oci/waa/work_request_client.py +4 -4
  600. oci/waas/redirect_client.py +6 -6
  601. oci/waas/waas_client.py +66 -66
  602. oci/waf/models/protection_rule.py +4 -2
  603. oci/waf/models/request_rate_limiting_rule.py +4 -2
  604. oci/waf/models/web_app_firewall_policy_rule.py +10 -10
  605. oci/waf/waf_client.py +24 -24
  606. oci/work_requests/work_request_client.py +4 -4
  607. {oci-2.134.0.dist-info → oci-2.135.0.dist-info}/METADATA +1 -1
  608. {oci-2.134.0.dist-info → oci-2.135.0.dist-info}/RECORD +612 -497
  609. {oci-2.134.0.dist-info → oci-2.135.0.dist-info}/LICENSE.txt +0 -0
  610. {oci-2.134.0.dist-info → oci-2.135.0.dist-info}/THIRD_PARTY_LICENSES.txt +0 -0
  611. {oci-2.134.0.dist-info → oci-2.135.0.dist-info}/WHEEL +0 -0
  612. {oci-2.134.0.dist-info → oci-2.135.0.dist-info}/top_level.txt +0 -0
@@ -0,0 +1,505 @@
1
+ # coding: utf-8
2
+ # Copyright (c) 2016, 2024, Oracle and/or its affiliates. All rights reserved.
3
+ # 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.
4
+
5
+ # NOTE: This class is auto generated by OracleSDKGenerator. DO NOT EDIT. API Version: 20240531
6
+
7
+
8
+ from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401
9
+ from oci.decorators import init_model_state_from_kwargs
10
+
11
+
12
+ @init_model_state_from_kwargs
13
+ class WorkRequest(object):
14
+ """
15
+ **WorkRequest**
16
+
17
+ An asynchronous work request. Work requests help you monitor long-running operations. When you start a long-running operation,
18
+ the service creates a work request. A work request is an activity log that lets you track each step in the operation's
19
+ progress. Each work request has an OCID that lets you interact with it programmatically and use it for automation.
20
+ """
21
+
22
+ #: A constant which can be used with the operation_type property of a WorkRequest.
23
+ #: This constant has a value of "CREATE_AGENT"
24
+ OPERATION_TYPE_CREATE_AGENT = "CREATE_AGENT"
25
+
26
+ #: A constant which can be used with the operation_type property of a WorkRequest.
27
+ #: This constant has a value of "UPDATE_AGENT"
28
+ OPERATION_TYPE_UPDATE_AGENT = "UPDATE_AGENT"
29
+
30
+ #: A constant which can be used with the operation_type property of a WorkRequest.
31
+ #: This constant has a value of "DELETE_AGENT"
32
+ OPERATION_TYPE_DELETE_AGENT = "DELETE_AGENT"
33
+
34
+ #: A constant which can be used with the operation_type property of a WorkRequest.
35
+ #: This constant has a value of "MOVE_AGENT"
36
+ OPERATION_TYPE_MOVE_AGENT = "MOVE_AGENT"
37
+
38
+ #: A constant which can be used with the operation_type property of a WorkRequest.
39
+ #: This constant has a value of "CREATE_AGENT_ENDPOINT"
40
+ OPERATION_TYPE_CREATE_AGENT_ENDPOINT = "CREATE_AGENT_ENDPOINT"
41
+
42
+ #: A constant which can be used with the operation_type property of a WorkRequest.
43
+ #: This constant has a value of "UPDATE_AGENT_ENDPOINT"
44
+ OPERATION_TYPE_UPDATE_AGENT_ENDPOINT = "UPDATE_AGENT_ENDPOINT"
45
+
46
+ #: A constant which can be used with the operation_type property of a WorkRequest.
47
+ #: This constant has a value of "DELETE_AGENT_ENDPOINT"
48
+ OPERATION_TYPE_DELETE_AGENT_ENDPOINT = "DELETE_AGENT_ENDPOINT"
49
+
50
+ #: A constant which can be used with the operation_type property of a WorkRequest.
51
+ #: This constant has a value of "MOVE_AGENT_ENDPOINT"
52
+ OPERATION_TYPE_MOVE_AGENT_ENDPOINT = "MOVE_AGENT_ENDPOINT"
53
+
54
+ #: A constant which can be used with the operation_type property of a WorkRequest.
55
+ #: This constant has a value of "CREATE_DATA_SOURCE"
56
+ OPERATION_TYPE_CREATE_DATA_SOURCE = "CREATE_DATA_SOURCE"
57
+
58
+ #: A constant which can be used with the operation_type property of a WorkRequest.
59
+ #: This constant has a value of "UPDATE_DATA_SOURCE"
60
+ OPERATION_TYPE_UPDATE_DATA_SOURCE = "UPDATE_DATA_SOURCE"
61
+
62
+ #: A constant which can be used with the operation_type property of a WorkRequest.
63
+ #: This constant has a value of "DELETE_DATA_SOURCE"
64
+ OPERATION_TYPE_DELETE_DATA_SOURCE = "DELETE_DATA_SOURCE"
65
+
66
+ #: A constant which can be used with the operation_type property of a WorkRequest.
67
+ #: This constant has a value of "CREATE_KNOWLEDGE_BASE"
68
+ OPERATION_TYPE_CREATE_KNOWLEDGE_BASE = "CREATE_KNOWLEDGE_BASE"
69
+
70
+ #: A constant which can be used with the operation_type property of a WorkRequest.
71
+ #: This constant has a value of "UPDATE_KNOWLEDGE_BASE"
72
+ OPERATION_TYPE_UPDATE_KNOWLEDGE_BASE = "UPDATE_KNOWLEDGE_BASE"
73
+
74
+ #: A constant which can be used with the operation_type property of a WorkRequest.
75
+ #: This constant has a value of "DELETE_KNOWLEDGE_BASE"
76
+ OPERATION_TYPE_DELETE_KNOWLEDGE_BASE = "DELETE_KNOWLEDGE_BASE"
77
+
78
+ #: A constant which can be used with the operation_type property of a WorkRequest.
79
+ #: This constant has a value of "MOVE_KNOWLEDGE_BASE"
80
+ OPERATION_TYPE_MOVE_KNOWLEDGE_BASE = "MOVE_KNOWLEDGE_BASE"
81
+
82
+ #: A constant which can be used with the operation_type property of a WorkRequest.
83
+ #: This constant has a value of "CREATE_DATA_INGESTION_JOB"
84
+ OPERATION_TYPE_CREATE_DATA_INGESTION_JOB = "CREATE_DATA_INGESTION_JOB"
85
+
86
+ #: A constant which can be used with the operation_type property of a WorkRequest.
87
+ #: This constant has a value of "DELETE_DATA_INGESTION_JOB"
88
+ OPERATION_TYPE_DELETE_DATA_INGESTION_JOB = "DELETE_DATA_INGESTION_JOB"
89
+
90
+ #: A constant which can be used with the status property of a WorkRequest.
91
+ #: This constant has a value of "ACCEPTED"
92
+ STATUS_ACCEPTED = "ACCEPTED"
93
+
94
+ #: A constant which can be used with the status property of a WorkRequest.
95
+ #: This constant has a value of "IN_PROGRESS"
96
+ STATUS_IN_PROGRESS = "IN_PROGRESS"
97
+
98
+ #: A constant which can be used with the status property of a WorkRequest.
99
+ #: This constant has a value of "WAITING"
100
+ STATUS_WAITING = "WAITING"
101
+
102
+ #: A constant which can be used with the status property of a WorkRequest.
103
+ #: This constant has a value of "NEEDS_ATTENTION"
104
+ STATUS_NEEDS_ATTENTION = "NEEDS_ATTENTION"
105
+
106
+ #: A constant which can be used with the status property of a WorkRequest.
107
+ #: This constant has a value of "FAILED"
108
+ STATUS_FAILED = "FAILED"
109
+
110
+ #: A constant which can be used with the status property of a WorkRequest.
111
+ #: This constant has a value of "SUCCEEDED"
112
+ STATUS_SUCCEEDED = "SUCCEEDED"
113
+
114
+ #: A constant which can be used with the status property of a WorkRequest.
115
+ #: This constant has a value of "CANCELING"
116
+ STATUS_CANCELING = "CANCELING"
117
+
118
+ #: A constant which can be used with the status property of a WorkRequest.
119
+ #: This constant has a value of "CANCELED"
120
+ STATUS_CANCELED = "CANCELED"
121
+
122
+ def __init__(self, **kwargs):
123
+ """
124
+ Initializes a new WorkRequest object with values from keyword arguments.
125
+ The following keyword arguments are supported (corresponding to the getters/setters of this class):
126
+
127
+ :param operation_type:
128
+ The value to assign to the operation_type property of this WorkRequest.
129
+ Allowed values for this property are: "CREATE_AGENT", "UPDATE_AGENT", "DELETE_AGENT", "MOVE_AGENT", "CREATE_AGENT_ENDPOINT", "UPDATE_AGENT_ENDPOINT", "DELETE_AGENT_ENDPOINT", "MOVE_AGENT_ENDPOINT", "CREATE_DATA_SOURCE", "UPDATE_DATA_SOURCE", "DELETE_DATA_SOURCE", "CREATE_KNOWLEDGE_BASE", "UPDATE_KNOWLEDGE_BASE", "DELETE_KNOWLEDGE_BASE", "MOVE_KNOWLEDGE_BASE", "CREATE_DATA_INGESTION_JOB", "DELETE_DATA_INGESTION_JOB", 'UNKNOWN_ENUM_VALUE'.
130
+ Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
131
+ :type operation_type: str
132
+
133
+ :param status:
134
+ The value to assign to the status property of this WorkRequest.
135
+ Allowed values for this property are: "ACCEPTED", "IN_PROGRESS", "WAITING", "NEEDS_ATTENTION", "FAILED", "SUCCEEDED", "CANCELING", "CANCELED", 'UNKNOWN_ENUM_VALUE'.
136
+ Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
137
+ :type status: str
138
+
139
+ :param id:
140
+ The value to assign to the id property of this WorkRequest.
141
+ :type id: str
142
+
143
+ :param compartment_id:
144
+ The value to assign to the compartment_id property of this WorkRequest.
145
+ :type compartment_id: str
146
+
147
+ :param resources:
148
+ The value to assign to the resources property of this WorkRequest.
149
+ :type resources: list[oci.generative_ai_agent.models.WorkRequestResource]
150
+
151
+ :param percent_complete:
152
+ The value to assign to the percent_complete property of this WorkRequest.
153
+ :type percent_complete: float
154
+
155
+ :param time_accepted:
156
+ The value to assign to the time_accepted property of this WorkRequest.
157
+ :type time_accepted: datetime
158
+
159
+ :param time_started:
160
+ The value to assign to the time_started property of this WorkRequest.
161
+ :type time_started: datetime
162
+
163
+ :param time_finished:
164
+ The value to assign to the time_finished property of this WorkRequest.
165
+ :type time_finished: datetime
166
+
167
+ :param time_updated:
168
+ The value to assign to the time_updated property of this WorkRequest.
169
+ :type time_updated: datetime
170
+
171
+ """
172
+ self.swagger_types = {
173
+ 'operation_type': 'str',
174
+ 'status': 'str',
175
+ 'id': 'str',
176
+ 'compartment_id': 'str',
177
+ 'resources': 'list[WorkRequestResource]',
178
+ 'percent_complete': 'float',
179
+ 'time_accepted': 'datetime',
180
+ 'time_started': 'datetime',
181
+ 'time_finished': 'datetime',
182
+ 'time_updated': 'datetime'
183
+ }
184
+
185
+ self.attribute_map = {
186
+ 'operation_type': 'operationType',
187
+ 'status': 'status',
188
+ 'id': 'id',
189
+ 'compartment_id': 'compartmentId',
190
+ 'resources': 'resources',
191
+ 'percent_complete': 'percentComplete',
192
+ 'time_accepted': 'timeAccepted',
193
+ 'time_started': 'timeStarted',
194
+ 'time_finished': 'timeFinished',
195
+ 'time_updated': 'timeUpdated'
196
+ }
197
+
198
+ self._operation_type = None
199
+ self._status = None
200
+ self._id = None
201
+ self._compartment_id = None
202
+ self._resources = None
203
+ self._percent_complete = None
204
+ self._time_accepted = None
205
+ self._time_started = None
206
+ self._time_finished = None
207
+ self._time_updated = None
208
+
209
+ @property
210
+ def operation_type(self):
211
+ """
212
+ **[Required]** Gets the operation_type of this WorkRequest.
213
+ The asynchronous operation tracked by this work request.
214
+
215
+ Allowed values for this property are: "CREATE_AGENT", "UPDATE_AGENT", "DELETE_AGENT", "MOVE_AGENT", "CREATE_AGENT_ENDPOINT", "UPDATE_AGENT_ENDPOINT", "DELETE_AGENT_ENDPOINT", "MOVE_AGENT_ENDPOINT", "CREATE_DATA_SOURCE", "UPDATE_DATA_SOURCE", "DELETE_DATA_SOURCE", "CREATE_KNOWLEDGE_BASE", "UPDATE_KNOWLEDGE_BASE", "DELETE_KNOWLEDGE_BASE", "MOVE_KNOWLEDGE_BASE", "CREATE_DATA_INGESTION_JOB", "DELETE_DATA_INGESTION_JOB", 'UNKNOWN_ENUM_VALUE'.
216
+ Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
217
+
218
+
219
+ :return: The operation_type of this WorkRequest.
220
+ :rtype: str
221
+ """
222
+ return self._operation_type
223
+
224
+ @operation_type.setter
225
+ def operation_type(self, operation_type):
226
+ """
227
+ Sets the operation_type of this WorkRequest.
228
+ The asynchronous operation tracked by this work request.
229
+
230
+
231
+ :param operation_type: The operation_type of this WorkRequest.
232
+ :type: str
233
+ """
234
+ allowed_values = ["CREATE_AGENT", "UPDATE_AGENT", "DELETE_AGENT", "MOVE_AGENT", "CREATE_AGENT_ENDPOINT", "UPDATE_AGENT_ENDPOINT", "DELETE_AGENT_ENDPOINT", "MOVE_AGENT_ENDPOINT", "CREATE_DATA_SOURCE", "UPDATE_DATA_SOURCE", "DELETE_DATA_SOURCE", "CREATE_KNOWLEDGE_BASE", "UPDATE_KNOWLEDGE_BASE", "DELETE_KNOWLEDGE_BASE", "MOVE_KNOWLEDGE_BASE", "CREATE_DATA_INGESTION_JOB", "DELETE_DATA_INGESTION_JOB"]
235
+ if not value_allowed_none_or_none_sentinel(operation_type, allowed_values):
236
+ operation_type = 'UNKNOWN_ENUM_VALUE'
237
+ self._operation_type = operation_type
238
+
239
+ @property
240
+ def status(self):
241
+ """
242
+ **[Required]** Gets the status of this WorkRequest.
243
+ The status of the work request.
244
+
245
+ Allowed values for this property are: "ACCEPTED", "IN_PROGRESS", "WAITING", "NEEDS_ATTENTION", "FAILED", "SUCCEEDED", "CANCELING", "CANCELED", 'UNKNOWN_ENUM_VALUE'.
246
+ Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
247
+
248
+
249
+ :return: The status of this WorkRequest.
250
+ :rtype: str
251
+ """
252
+ return self._status
253
+
254
+ @status.setter
255
+ def status(self, status):
256
+ """
257
+ Sets the status of this WorkRequest.
258
+ The status of the work request.
259
+
260
+
261
+ :param status: The status of this WorkRequest.
262
+ :type: str
263
+ """
264
+ allowed_values = ["ACCEPTED", "IN_PROGRESS", "WAITING", "NEEDS_ATTENTION", "FAILED", "SUCCEEDED", "CANCELING", "CANCELED"]
265
+ if not value_allowed_none_or_none_sentinel(status, allowed_values):
266
+ status = 'UNKNOWN_ENUM_VALUE'
267
+ self._status = status
268
+
269
+ @property
270
+ def id(self):
271
+ """
272
+ **[Required]** Gets the id of this WorkRequest.
273
+ The `OCID`__ of the work request.
274
+
275
+ __ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm
276
+
277
+
278
+ :return: The id of this WorkRequest.
279
+ :rtype: str
280
+ """
281
+ return self._id
282
+
283
+ @id.setter
284
+ def id(self, id):
285
+ """
286
+ Sets the id of this WorkRequest.
287
+ The `OCID`__ of the work request.
288
+
289
+ __ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm
290
+
291
+
292
+ :param id: The id of this WorkRequest.
293
+ :type: str
294
+ """
295
+ self._id = id
296
+
297
+ @property
298
+ def compartment_id(self):
299
+ """
300
+ **[Required]** Gets the compartment_id of this WorkRequest.
301
+ The `OCID`__ of the compartment that contains the work request.
302
+
303
+ __ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm
304
+
305
+
306
+ :return: The compartment_id of this WorkRequest.
307
+ :rtype: str
308
+ """
309
+ return self._compartment_id
310
+
311
+ @compartment_id.setter
312
+ def compartment_id(self, compartment_id):
313
+ """
314
+ Sets the compartment_id of this WorkRequest.
315
+ The `OCID`__ of the compartment that contains the work request.
316
+
317
+ __ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm
318
+
319
+
320
+ :param compartment_id: The compartment_id of this WorkRequest.
321
+ :type: str
322
+ """
323
+ self._compartment_id = compartment_id
324
+
325
+ @property
326
+ def resources(self):
327
+ """
328
+ **[Required]** Gets the resources of this WorkRequest.
329
+ The resources that are affected by the work request.
330
+
331
+
332
+ :return: The resources of this WorkRequest.
333
+ :rtype: list[oci.generative_ai_agent.models.WorkRequestResource]
334
+ """
335
+ return self._resources
336
+
337
+ @resources.setter
338
+ def resources(self, resources):
339
+ """
340
+ Sets the resources of this WorkRequest.
341
+ The resources that are affected by the work request.
342
+
343
+
344
+ :param resources: The resources of this WorkRequest.
345
+ :type: list[oci.generative_ai_agent.models.WorkRequestResource]
346
+ """
347
+ self._resources = resources
348
+
349
+ @property
350
+ def percent_complete(self):
351
+ """
352
+ **[Required]** Gets the percent_complete of this WorkRequest.
353
+ Shows the progress of the operation tracked by the work request, as a percentage of the total work
354
+ that must be performed.
355
+
356
+
357
+ :return: The percent_complete of this WorkRequest.
358
+ :rtype: float
359
+ """
360
+ return self._percent_complete
361
+
362
+ @percent_complete.setter
363
+ def percent_complete(self, percent_complete):
364
+ """
365
+ Sets the percent_complete of this WorkRequest.
366
+ Shows the progress of the operation tracked by the work request, as a percentage of the total work
367
+ that must be performed.
368
+
369
+
370
+ :param percent_complete: The percent_complete of this WorkRequest.
371
+ :type: float
372
+ """
373
+ self._percent_complete = percent_complete
374
+
375
+ @property
376
+ def time_accepted(self):
377
+ """
378
+ **[Required]** Gets the time_accepted of this WorkRequest.
379
+ The date and time the work request was created, in the format defined by
380
+ `RFC 3339`__.
381
+
382
+ __ https://tools.ietf.org/html/rfc3339
383
+
384
+
385
+ :return: The time_accepted of this WorkRequest.
386
+ :rtype: datetime
387
+ """
388
+ return self._time_accepted
389
+
390
+ @time_accepted.setter
391
+ def time_accepted(self, time_accepted):
392
+ """
393
+ Sets the time_accepted of this WorkRequest.
394
+ The date and time the work request was created, in the format defined by
395
+ `RFC 3339`__.
396
+
397
+ __ https://tools.ietf.org/html/rfc3339
398
+
399
+
400
+ :param time_accepted: The time_accepted of this WorkRequest.
401
+ :type: datetime
402
+ """
403
+ self._time_accepted = time_accepted
404
+
405
+ @property
406
+ def time_started(self):
407
+ """
408
+ Gets the time_started of this WorkRequest.
409
+ The date and time the work request was started, in the format defined by
410
+ `RFC 3339`__.
411
+
412
+ __ https://tools.ietf.org/html/rfc3339
413
+
414
+
415
+ :return: The time_started of this WorkRequest.
416
+ :rtype: datetime
417
+ """
418
+ return self._time_started
419
+
420
+ @time_started.setter
421
+ def time_started(self, time_started):
422
+ """
423
+ Sets the time_started of this WorkRequest.
424
+ The date and time the work request was started, in the format defined by
425
+ `RFC 3339`__.
426
+
427
+ __ https://tools.ietf.org/html/rfc3339
428
+
429
+
430
+ :param time_started: The time_started of this WorkRequest.
431
+ :type: datetime
432
+ """
433
+ self._time_started = time_started
434
+
435
+ @property
436
+ def time_finished(self):
437
+ """
438
+ Gets the time_finished of this WorkRequest.
439
+ The date and time the work request was finished, in the format defined by
440
+ `RFC 3339`__.
441
+
442
+ __ https://tools.ietf.org/rfc/rfc3339
443
+
444
+
445
+ :return: The time_finished of this WorkRequest.
446
+ :rtype: datetime
447
+ """
448
+ return self._time_finished
449
+
450
+ @time_finished.setter
451
+ def time_finished(self, time_finished):
452
+ """
453
+ Sets the time_finished of this WorkRequest.
454
+ The date and time the work request was finished, in the format defined by
455
+ `RFC 3339`__.
456
+
457
+ __ https://tools.ietf.org/rfc/rfc3339
458
+
459
+
460
+ :param time_finished: The time_finished of this WorkRequest.
461
+ :type: datetime
462
+ """
463
+ self._time_finished = time_finished
464
+
465
+ @property
466
+ def time_updated(self):
467
+ """
468
+ Gets the time_updated of this WorkRequest.
469
+ The date and time the work request was updated, in the format defined by
470
+ `RFC 3339`__.
471
+
472
+ __ https://tools.ietf.org/rfc/rfc3339
473
+
474
+
475
+ :return: The time_updated of this WorkRequest.
476
+ :rtype: datetime
477
+ """
478
+ return self._time_updated
479
+
480
+ @time_updated.setter
481
+ def time_updated(self, time_updated):
482
+ """
483
+ Sets the time_updated of this WorkRequest.
484
+ The date and time the work request was updated, in the format defined by
485
+ `RFC 3339`__.
486
+
487
+ __ https://tools.ietf.org/rfc/rfc3339
488
+
489
+
490
+ :param time_updated: The time_updated of this WorkRequest.
491
+ :type: datetime
492
+ """
493
+ self._time_updated = time_updated
494
+
495
+ def __repr__(self):
496
+ return formatted_flat_dict(self)
497
+
498
+ def __eq__(self, other):
499
+ if other is None:
500
+ return False
501
+
502
+ return self.__dict__ == other.__dict__
503
+
504
+ def __ne__(self, other):
505
+ return not self == other
@@ -0,0 +1,148 @@
1
+ # coding: utf-8
2
+ # Copyright (c) 2016, 2024, Oracle and/or its affiliates. All rights reserved.
3
+ # 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.
4
+
5
+ # NOTE: This class is auto generated by OracleSDKGenerator. DO NOT EDIT. API Version: 20240531
6
+
7
+
8
+ from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401
9
+ from oci.decorators import init_model_state_from_kwargs
10
+
11
+
12
+ @init_model_state_from_kwargs
13
+ class WorkRequestError(object):
14
+ """
15
+ **WorkRequestError**
16
+
17
+ An error encountered while performing an operation that is tracked by a work request.
18
+ """
19
+
20
+ def __init__(self, **kwargs):
21
+ """
22
+ Initializes a new WorkRequestError object with values from keyword arguments.
23
+ The following keyword arguments are supported (corresponding to the getters/setters of this class):
24
+
25
+ :param code:
26
+ The value to assign to the code property of this WorkRequestError.
27
+ :type code: str
28
+
29
+ :param message:
30
+ The value to assign to the message property of this WorkRequestError.
31
+ :type message: str
32
+
33
+ :param timestamp:
34
+ The value to assign to the timestamp property of this WorkRequestError.
35
+ :type timestamp: datetime
36
+
37
+ """
38
+ self.swagger_types = {
39
+ 'code': 'str',
40
+ 'message': 'str',
41
+ 'timestamp': 'datetime'
42
+ }
43
+
44
+ self.attribute_map = {
45
+ 'code': 'code',
46
+ 'message': 'message',
47
+ 'timestamp': 'timestamp'
48
+ }
49
+
50
+ self._code = None
51
+ self._message = None
52
+ self._timestamp = None
53
+
54
+ @property
55
+ def code(self):
56
+ """
57
+ **[Required]** Gets the code of this WorkRequestError.
58
+ A machine-usable code for the error that occurred. For a list of error codes, see
59
+ `API Errors`__.
60
+
61
+ __ https://docs.cloud.oracle.com/iaas/Content/API/References/apierrors.htm
62
+
63
+
64
+ :return: The code of this WorkRequestError.
65
+ :rtype: str
66
+ """
67
+ return self._code
68
+
69
+ @code.setter
70
+ def code(self, code):
71
+ """
72
+ Sets the code of this WorkRequestError.
73
+ A machine-usable code for the error that occurred. For a list of error codes, see
74
+ `API Errors`__.
75
+
76
+ __ https://docs.cloud.oracle.com/iaas/Content/API/References/apierrors.htm
77
+
78
+
79
+ :param code: The code of this WorkRequestError.
80
+ :type: str
81
+ """
82
+ self._code = code
83
+
84
+ @property
85
+ def message(self):
86
+ """
87
+ **[Required]** Gets the message of this WorkRequestError.
88
+ A human-readable error message.
89
+
90
+
91
+ :return: The message of this WorkRequestError.
92
+ :rtype: str
93
+ """
94
+ return self._message
95
+
96
+ @message.setter
97
+ def message(self, message):
98
+ """
99
+ Sets the message of this WorkRequestError.
100
+ A human-readable error message.
101
+
102
+
103
+ :param message: The message of this WorkRequestError.
104
+ :type: str
105
+ """
106
+ self._message = message
107
+
108
+ @property
109
+ def timestamp(self):
110
+ """
111
+ **[Required]** Gets the timestamp of this WorkRequestError.
112
+ The date and time the error occurred, in the format defined by
113
+ `RFC 3339`__.
114
+
115
+ __ https://tools.ietf.org/html/rfc3339
116
+
117
+
118
+ :return: The timestamp of this WorkRequestError.
119
+ :rtype: datetime
120
+ """
121
+ return self._timestamp
122
+
123
+ @timestamp.setter
124
+ def timestamp(self, timestamp):
125
+ """
126
+ Sets the timestamp of this WorkRequestError.
127
+ The date and time the error occurred, in the format defined by
128
+ `RFC 3339`__.
129
+
130
+ __ https://tools.ietf.org/html/rfc3339
131
+
132
+
133
+ :param timestamp: The timestamp of this WorkRequestError.
134
+ :type: datetime
135
+ """
136
+ self._timestamp = timestamp
137
+
138
+ def __repr__(self):
139
+ return formatted_flat_dict(self)
140
+
141
+ def __eq__(self, other):
142
+ if other is None:
143
+ return False
144
+
145
+ return self.__dict__ == other.__dict__
146
+
147
+ def __ne__(self, other):
148
+ return not self == other