oci 2.125.2__py3-none-any.whl → 2.126.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 (913) 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 +22 -22
  6. oci/ai_language/ai_service_language_client.py +134 -43
  7. oci/ai_language/models/__init__.py +24 -0
  8. oci/ai_language/models/assertion_details.py +165 -0
  9. oci/ai_language/models/batch_detect_health_entity_details.py +223 -0
  10. oci/ai_language/models/batch_detect_health_entity_result.py +103 -0
  11. oci/ai_language/models/batch_detect_language_pii_entities_details.py +29 -2
  12. oci/ai_language/models/health_entity.py +351 -0
  13. oci/ai_language/models/health_entity_document_result.py +200 -0
  14. oci/ai_language/models/input_location.py +2 -1
  15. oci/ai_language/models/mel_concept.py +103 -0
  16. oci/ai_language/models/mel_concept_details.py +165 -0
  17. oci/ai_language/models/model_details.py +11 -3
  18. oci/ai_language/models/named_entity_recognition_model_details.py +1 -1
  19. oci/ai_language/models/pii_entity.py +118 -7
  20. oci/ai_language/models/pii_model_details.py +91 -0
  21. oci/ai_language/models/pre_trained_health_nlu_model_details.py +1 -1
  22. oci/ai_language/models/pre_trained_key_phrase_extraction_model_details.py +1 -1
  23. oci/ai_language/models/pre_trained_language_detection_model_details.py +1 -1
  24. oci/ai_language/models/pre_trained_named_entity_recognition_model_details.py +1 -1
  25. oci/ai_language/models/pre_trained_pii_model_details.py +1 -1
  26. oci/ai_language/models/pre_trained_sentiment_analysis_model_details.py +1 -1
  27. oci/ai_language/models/pre_trained_summarization.py +1 -1
  28. oci/ai_language/models/pre_trained_text_classification_model_details.py +1 -1
  29. oci/ai_language/models/pre_trained_universal_model.py +1 -1
  30. oci/ai_language/models/profile.py +134 -0
  31. oci/ai_language/models/relation_entity.py +196 -0
  32. oci/ai_language/models/resolved_entities.py +72 -0
  33. oci/ai_language/models/resolved_entity.py +227 -0
  34. oci/ai_language/models/text_classification_model_details.py +1 -1
  35. oci/ai_speech/ai_service_speech_client.py +10 -10
  36. oci/ai_vision/ai_service_vision_client.py +25 -25
  37. oci/analytics/analytics_client.py +23 -23
  38. oci/announcements_service/announcement_client.py +4 -4
  39. oci/announcements_service/announcement_subscription_client.py +9 -9
  40. oci/announcements_service/announcements_preferences_client.py +4 -4
  41. oci/apigateway/api_gateway_client.py +21 -21
  42. oci/apigateway/deployment_client.py +6 -6
  43. oci/apigateway/gateway_client.py +6 -6
  44. oci/apigateway/subscribers_client.py +6 -6
  45. oci/apigateway/usage_plans_client.py +6 -6
  46. oci/apigateway/work_requests_client.py +5 -5
  47. oci/apm_config/config_client.py +8 -8
  48. oci/apm_control_plane/apm_domain_client.py +14 -14
  49. oci/apm_synthetics/apm_synthetic_client.py +28 -28
  50. oci/apm_traces/attributes_client.py +8 -8
  51. oci/apm_traces/query_client.py +2 -2
  52. oci/apm_traces/trace_client.py +4 -4
  53. oci/appmgmt_control/appmgmt_control_client.py +8 -8
  54. oci/artifacts/artifacts_client.py +32 -32
  55. oci/audit/audit_client.py +3 -3
  56. oci/autoscaling/auto_scaling_client.py +11 -11
  57. oci/bastion/bastion_client.py +15 -15
  58. oci/bds/bds_client.py +51 -51
  59. oci/blockchain/blockchain_platform_client.py +27 -27
  60. oci/budget/budget_client.py +10 -10
  61. oci/capacity_management/capacity_management_client.py +19 -19
  62. oci/certificates/certificates_client.py +5 -5
  63. oci/certificates_management/certificates_management_client.py +32 -32
  64. oci/cims/incident_client.py +8 -8
  65. oci/cims/user_client.py +1 -1
  66. oci/cloud_bridge/common_client.py +5 -5
  67. oci/cloud_bridge/discovery_client.py +14 -14
  68. oci/cloud_bridge/inventory_client.py +16 -16
  69. oci/cloud_bridge/ocb_agent_svc_client.py +23 -23
  70. oci/cloud_guard/cloud_guard_client.py +5496 -2653
  71. oci/cloud_guard/cloud_guard_client_composite_operations.py +307 -60
  72. oci/cloud_guard/models/__init__.py +74 -0
  73. oci/cloud_guard/models/absolute_time_start_policy.py +3 -3
  74. oci/cloud_guard/models/activity_problem_aggregation.py +4 -4
  75. oci/cloud_guard/models/activity_problem_aggregation_collection.py +3 -3
  76. oci/cloud_guard/models/add_compartment_details.py +1 -1
  77. oci/cloud_guard/models/adhoc_query.py +532 -0
  78. oci/cloud_guard/models/adhoc_query_collection.py +103 -0
  79. oci/cloud_guard/models/adhoc_query_details.py +103 -0
  80. oci/cloud_guard/models/adhoc_query_regional_details.py +294 -0
  81. oci/cloud_guard/models/adhoc_query_resource.py +134 -0
  82. oci/cloud_guard/models/adhoc_query_result_collection.py +72 -0
  83. oci/cloud_guard/models/adhoc_query_result_summary.py +407 -0
  84. oci/cloud_guard/models/adhoc_query_summary.py +532 -0
  85. oci/cloud_guard/models/all_targets_selected.py +1 -1
  86. oci/cloud_guard/models/attach_target_detector_recipe_details.py +5 -3
  87. oci/cloud_guard/models/attach_target_responder_recipe_details.py +5 -3
  88. oci/cloud_guard/models/candidate_responder_rule.py +7 -7
  89. oci/cloud_guard/models/change_data_source_compartment_details.py +3 -3
  90. oci/cloud_guard/models/change_detector_recipe_compartment_details.py +3 -3
  91. oci/cloud_guard/models/change_managed_list_compartment_details.py +3 -3
  92. oci/cloud_guard/models/change_responder_recipe_compartment_details.py +3 -3
  93. oci/cloud_guard/models/change_saved_query_compartment_details.py +72 -0
  94. oci/cloud_guard/models/change_security_policy_compartment_details.py +1 -1
  95. oci/cloud_guard/models/change_security_recipe_compartment_details.py +1 -1
  96. oci/cloud_guard/models/change_security_zone_compartment_details.py +1 -1
  97. oci/cloud_guard/models/composite_condition.py +5 -1
  98. oci/cloud_guard/models/condition.py +3 -3
  99. oci/cloud_guard/models/condition_group.py +3 -3
  100. oci/cloud_guard/models/condition_metadata_type.py +37 -6
  101. oci/cloud_guard/models/condition_metadata_type_collection.py +36 -5
  102. oci/cloud_guard/models/condition_metadata_type_summary.py +38 -7
  103. oci/cloud_guard/models/condition_operator.py +5 -5
  104. oci/cloud_guard/models/config_value.py +7 -7
  105. oci/cloud_guard/models/configuration.py +37 -6
  106. oci/cloud_guard/models/continuous_query_start_policy.py +3 -3
  107. oci/cloud_guard/models/create_adhoc_query_details.py +169 -0
  108. oci/cloud_guard/models/create_data_mask_rule_details.py +15 -15
  109. oci/cloud_guard/models/create_data_source_details.py +16 -12
  110. oci/cloud_guard/models/create_detector_recipe_details.py +16 -12
  111. oci/cloud_guard/models/create_detector_recipe_detector_rule_details.py +1 -1
  112. oci/cloud_guard/models/create_detector_rule_details.py +17 -17
  113. oci/cloud_guard/models/create_managed_list_details.py +11 -11
  114. oci/cloud_guard/models/create_responder_recipe_details.py +7 -7
  115. oci/cloud_guard/models/create_saved_query_details.py +235 -0
  116. oci/cloud_guard/models/create_security_policy_details.py +11 -11
  117. oci/cloud_guard/models/create_security_recipe_details.py +11 -7
  118. oci/cloud_guard/models/create_security_zone_details.py +5 -5
  119. oci/cloud_guard/models/create_target_details.py +13 -13
  120. oci/cloud_guard/models/create_target_detector_recipe_details.py +5 -5
  121. oci/cloud_guard/models/create_target_responder_recipe_details.py +6 -5
  122. oci/cloud_guard/models/create_wlp_agent_details.py +238 -0
  123. oci/cloud_guard/models/data_mask_rule.py +50 -19
  124. oci/cloud_guard/models/data_mask_rule_collection.py +36 -5
  125. oci/cloud_guard/models/data_mask_rule_summary.py +19 -19
  126. oci/cloud_guard/models/data_source.py +51 -16
  127. oci/cloud_guard/models/data_source_collection.py +36 -5
  128. oci/cloud_guard/models/data_source_details.py +13 -5
  129. oci/cloud_guard/models/data_source_event_collection.py +36 -5
  130. oci/cloud_guard/models/data_source_event_info.py +12 -6
  131. oci/cloud_guard/models/data_source_event_summary.py +7 -7
  132. oci/cloud_guard/models/data_source_mapping_info.py +5 -5
  133. oci/cloud_guard/models/data_source_summary.py +20 -16
  134. oci/cloud_guard/models/data_source_summary_details.py +14 -6
  135. oci/cloud_guard/models/detector.py +6 -6
  136. oci/cloud_guard/models/detector_collection.py +3 -3
  137. oci/cloud_guard/models/detector_configuration.py +73 -11
  138. oci/cloud_guard/models/detector_details.py +139 -15
  139. oci/cloud_guard/models/detector_recipe.py +81 -22
  140. oci/cloud_guard/models/detector_recipe_collection.py +36 -5
  141. oci/cloud_guard/models/detector_recipe_detector_rule.py +65 -30
  142. oci/cloud_guard/models/detector_recipe_detector_rule_collection.py +36 -5
  143. oci/cloud_guard/models/detector_recipe_detector_rule_summary.py +32 -28
  144. oci/cloud_guard/models/detector_recipe_summary.py +79 -20
  145. oci/cloud_guard/models/detector_rule.py +60 -25
  146. oci/cloud_guard/models/detector_rule_collection.py +3 -3
  147. oci/cloud_guard/models/detector_rule_summary.py +30 -26
  148. oci/cloud_guard/models/detector_summary.py +40 -9
  149. oci/cloud_guard/models/entities_mapping.py +5 -5
  150. oci/cloud_guard/models/entity_details.py +1 -1
  151. oci/cloud_guard/models/execute_responder_execution_details.py +3 -3
  152. oci/cloud_guard/models/geographical_location.py +5 -5
  153. oci/cloud_guard/models/impacted_resource_collection.py +36 -5
  154. oci/cloud_guard/models/impacted_resource_summary.py +17 -17
  155. oci/cloud_guard/models/insight_type_logging_query_details.py +1 -1
  156. oci/cloud_guard/models/instance_security_service_configuration.py +99 -0
  157. oci/cloud_guard/models/logging_event_info.py +18 -2
  158. oci/cloud_guard/models/logging_query_data_source_details.py +14 -14
  159. oci/cloud_guard/models/logging_query_data_source_summary_details.py +8 -8
  160. oci/cloud_guard/models/logging_query_details.py +3 -3
  161. oci/cloud_guard/models/managed_list.py +25 -25
  162. oci/cloud_guard/models/managed_list_collection.py +36 -5
  163. oci/cloud_guard/models/managed_list_summary.py +25 -25
  164. oci/cloud_guard/models/managed_list_type_collection.py +36 -5
  165. oci/cloud_guard/models/managed_list_type_summary.py +39 -8
  166. oci/cloud_guard/models/no_delay_start_policy.py +1 -1
  167. oci/cloud_guard/models/operator_summary.py +13 -13
  168. oci/cloud_guard/models/package_detail.py +227 -0
  169. oci/cloud_guard/models/policy_collection.py +34 -3
  170. oci/cloud_guard/models/political_location.py +7 -7
  171. oci/cloud_guard/models/problem.py +79 -44
  172. oci/cloud_guard/models/problem_aggregation.py +4 -4
  173. oci/cloud_guard/models/problem_aggregation_collection.py +3 -3
  174. oci/cloud_guard/models/problem_collection.py +36 -5
  175. oci/cloud_guard/models/problem_endpoint_collection.py +36 -5
  176. oci/cloud_guard/models/problem_endpoint_summary.py +18 -18
  177. oci/cloud_guard/models/problem_entity_collection.py +35 -4
  178. oci/cloud_guard/models/problem_entity_summary.py +7 -7
  179. oci/cloud_guard/models/problem_history_collection.py +36 -5
  180. oci/cloud_guard/models/problem_history_summary.py +48 -17
  181. oci/cloud_guard/models/problem_summary.py +69 -34
  182. oci/cloud_guard/models/problem_trend_aggregation.py +6 -6
  183. oci/cloud_guard/models/problem_trend_aggregation_collection.py +3 -3
  184. oci/cloud_guard/models/property_tuple.py +103 -0
  185. oci/cloud_guard/models/recommendation_summary.py +23 -23
  186. oci/cloud_guard/models/recommendation_summary_collection.py +36 -5
  187. oci/cloud_guard/models/region_status_detail.py +5 -5
  188. oci/cloud_guard/models/remove_compartment_details.py +1 -1
  189. oci/cloud_guard/models/request_summarized_trend_resource_risk_scores_details.py +5 -5
  190. oci/cloud_guard/models/resource.py +616 -0
  191. oci/cloud_guard/models/resource_additional_details.py +72 -0
  192. oci/cloud_guard/models/resource_collection.py +72 -0
  193. oci/cloud_guard/models/resource_lock.py +185 -0
  194. oci/cloud_guard/models/resource_port_collection.py +72 -0
  195. oci/cloud_guard/models/resource_port_summary.py +247 -0
  196. oci/cloud_guard/models/resource_profile.py +60 -29
  197. oci/cloud_guard/models/resource_profile_collection.py +36 -5
  198. oci/cloud_guard/models/resource_profile_endpoint_collection.py +3 -3
  199. oci/cloud_guard/models/resource_profile_endpoint_summary.py +29 -29
  200. oci/cloud_guard/models/resource_profile_impacted_resource_collection.py +35 -4
  201. oci/cloud_guard/models/resource_profile_impacted_resource_summary.py +19 -19
  202. oci/cloud_guard/models/resource_profile_risk_score_aggregation_summary.py +5 -5
  203. oci/cloud_guard/models/resource_profile_risk_score_aggregation_summary_collection.py +3 -3
  204. oci/cloud_guard/models/resource_profile_summary.py +15 -15
  205. oci/cloud_guard/models/resource_risk_score_aggregation.py +6 -6
  206. oci/cloud_guard/models/resource_risk_score_aggregation_collection.py +9 -9
  207. oci/cloud_guard/models/resource_summary.py +527 -0
  208. oci/cloud_guard/models/resource_type_collection.py +36 -5
  209. oci/cloud_guard/models/resource_type_summary.py +38 -7
  210. oci/cloud_guard/models/resource_vulnerability.py +496 -0
  211. oci/cloud_guard/models/resource_vulnerability_collection.py +72 -0
  212. oci/cloud_guard/models/resource_vulnerability_summary.py +279 -0
  213. oci/cloud_guard/models/responder_activity_collection.py +3 -3
  214. oci/cloud_guard/models/responder_activity_summary.py +19 -19
  215. oci/cloud_guard/models/responder_configuration.py +7 -7
  216. oci/cloud_guard/models/responder_execution.py +58 -27
  217. oci/cloud_guard/models/responder_execution_aggregation.py +2 -2
  218. oci/cloud_guard/models/responder_execution_aggregation_collection.py +3 -3
  219. oci/cloud_guard/models/responder_execution_collection.py +37 -5
  220. oci/cloud_guard/models/responder_execution_summary.py +17 -17
  221. oci/cloud_guard/models/responder_execution_trend_aggregation.py +6 -6
  222. oci/cloud_guard/models/responder_execution_trend_aggregation_collection.py +3 -3
  223. oci/cloud_guard/models/responder_recipe.py +34 -19
  224. oci/cloud_guard/models/responder_recipe_collection.py +36 -5
  225. oci/cloud_guard/models/responder_recipe_responder_rule.py +70 -21
  226. oci/cloud_guard/models/responder_recipe_responder_rule_collection.py +3 -3
  227. oci/cloud_guard/models/responder_recipe_responder_rule_summary.py +19 -19
  228. oci/cloud_guard/models/responder_recipe_summary.py +19 -19
  229. oci/cloud_guard/models/responder_rule.py +58 -19
  230. oci/cloud_guard/models/responder_rule_collection.py +36 -5
  231. oci/cloud_guard/models/responder_rule_details.py +7 -7
  232. oci/cloud_guard/models/responder_rule_execution_details.py +3 -3
  233. oci/cloud_guard/models/responder_rule_summary.py +17 -17
  234. oci/cloud_guard/models/risk_score_aggregation.py +2 -2
  235. oci/cloud_guard/models/risk_score_aggregation_collection.py +3 -3
  236. oci/cloud_guard/models/rule_summary.py +7 -7
  237. oci/cloud_guard/models/saved_query.py +438 -0
  238. oci/cloud_guard/models/saved_query_collection.py +103 -0
  239. oci/cloud_guard/models/saved_query_summary.py +500 -0
  240. oci/cloud_guard/models/scheduled_query_data_source_obj_details.py +175 -0
  241. oci/cloud_guard/models/scheduled_query_data_source_summary_obj_details.py +175 -0
  242. oci/cloud_guard/models/scheduled_query_scope_detail.py +134 -0
  243. oci/cloud_guard/models/security_policy.py +45 -11
  244. oci/cloud_guard/models/security_policy_collection.py +36 -5
  245. oci/cloud_guard/models/security_policy_summary.py +16 -15
  246. oci/cloud_guard/models/security_recipe.py +13 -11
  247. oci/cloud_guard/models/security_recipe_collection.py +150 -5
  248. oci/cloud_guard/models/security_recipe_summary.py +9 -9
  249. oci/cloud_guard/models/security_score_aggregation.py +6 -6
  250. oci/cloud_guard/models/security_score_aggregation_collection.py +3 -3
  251. oci/cloud_guard/models/security_score_trend_aggregation.py +4 -4
  252. oci/cloud_guard/models/security_score_trend_aggregation_collection.py +3 -3
  253. oci/cloud_guard/models/security_zone.py +11 -9
  254. oci/cloud_guard/models/security_zone_collection.py +36 -5
  255. oci/cloud_guard/models/security_zone_summary.py +10 -9
  256. oci/cloud_guard/models/security_zone_target_details.py +7 -7
  257. oci/cloud_guard/models/service_configuration.py +101 -0
  258. oci/cloud_guard/models/service_type_summary.py +5 -5
  259. oci/cloud_guard/models/sighting.py +55 -24
  260. oci/cloud_guard/models/sighting_collection.py +36 -5
  261. oci/cloud_guard/models/sighting_endpoint_collection.py +3 -3
  262. oci/cloud_guard/models/sighting_endpoint_summary.py +25 -25
  263. oci/cloud_guard/models/sighting_impacted_resource_collection.py +36 -5
  264. oci/cloud_guard/models/sighting_impacted_resource_summary.py +13 -13
  265. oci/cloud_guard/models/sighting_summary.py +27 -27
  266. oci/cloud_guard/models/sighting_type.py +11 -11
  267. oci/cloud_guard/models/simple_condition.py +9 -9
  268. oci/cloud_guard/models/skip_bulk_responder_execution_details.py +3 -3
  269. oci/cloud_guard/models/tactic_collection.py +36 -5
  270. oci/cloud_guard/models/tactic_summary.py +3 -3
  271. oci/cloud_guard/models/target.py +23 -21
  272. oci/cloud_guard/models/target_collection.py +36 -5
  273. oci/cloud_guard/models/target_details.py +2 -2
  274. oci/cloud_guard/models/target_detector_details.py +13 -13
  275. oci/cloud_guard/models/target_detector_recipe.py +124 -22
  276. oci/cloud_guard/models/target_detector_recipe_collection.py +36 -5
  277. oci/cloud_guard/models/target_detector_recipe_detector_rule.py +92 -30
  278. oci/cloud_guard/models/target_detector_recipe_detector_rule_collection.py +36 -5
  279. oci/cloud_guard/models/target_detector_recipe_detector_rule_summary.py +63 -28
  280. oci/cloud_guard/models/target_detector_recipe_summary.py +110 -20
  281. oci/cloud_guard/models/target_ids_selected.py +3 -3
  282. oci/cloud_guard/models/target_resource_types_selected.py +3 -3
  283. oci/cloud_guard/models/target_responder_recipe.py +63 -19
  284. oci/cloud_guard/models/target_responder_recipe_collection.py +36 -5
  285. oci/cloud_guard/models/target_responder_recipe_responder_rule.py +32 -19
  286. oci/cloud_guard/models/target_responder_recipe_responder_rule_collection.py +3 -3
  287. oci/cloud_guard/models/target_responder_recipe_responder_rule_summary.py +19 -19
  288. oci/cloud_guard/models/target_responder_recipe_summary.py +50 -19
  289. oci/cloud_guard/models/target_selected.py +3 -3
  290. oci/cloud_guard/models/target_summary.py +15 -15
  291. oci/cloud_guard/models/technique_collection.py +36 -5
  292. oci/cloud_guard/models/technique_summary.py +3 -3
  293. oci/cloud_guard/models/trigger_responder_details.py +5 -5
  294. oci/cloud_guard/models/update_bulk_problem_status_details.py +5 -5
  295. oci/cloud_guard/models/update_configuration_details.py +36 -5
  296. oci/cloud_guard/models/update_data_mask_rule_details.py +11 -11
  297. oci/cloud_guard/models/update_data_source_details.py +5 -5
  298. oci/cloud_guard/models/update_detector_recipe_details.py +7 -5
  299. oci/cloud_guard/models/update_detector_recipe_detector_rule.py +3 -3
  300. oci/cloud_guard/models/update_detector_recipe_detector_rule_details.py +1 -1
  301. oci/cloud_guard/models/update_detector_rule_details.py +17 -17
  302. oci/cloud_guard/models/update_managed_list_details.py +3 -3
  303. oci/cloud_guard/models/update_problem_status_details.py +3 -3
  304. oci/cloud_guard/models/update_responder_recipe_details.py +7 -7
  305. oci/cloud_guard/models/update_responder_recipe_responder_rule.py +3 -3
  306. oci/cloud_guard/models/update_responder_recipe_responder_rule_details.py +1 -1
  307. oci/cloud_guard/models/update_responder_rule_details.py +3 -3
  308. oci/cloud_guard/models/update_saved_query_details.py +204 -0
  309. oci/cloud_guard/models/update_security_policy_details.py +3 -3
  310. oci/cloud_guard/models/update_security_recipe_details.py +5 -5
  311. oci/cloud_guard/models/update_security_zone_details.py +5 -5
  312. oci/cloud_guard/models/update_target_details.py +7 -7
  313. oci/cloud_guard/models/update_target_detector_recipe.py +5 -5
  314. oci/cloud_guard/models/update_target_detector_recipe_details.py +7 -7
  315. oci/cloud_guard/models/update_target_detector_recipe_detector_rule_details.py +1 -1
  316. oci/cloud_guard/models/update_target_detector_rule_details.py +1 -1
  317. oci/cloud_guard/models/update_target_recipe_detector_rule_details.py +3 -3
  318. oci/cloud_guard/models/update_target_recipe_responder_rule_details.py +3 -3
  319. oci/cloud_guard/models/update_target_responder_recipe.py +5 -5
  320. oci/cloud_guard/models/update_target_responder_recipe_details.py +7 -3
  321. oci/cloud_guard/models/update_target_responder_recipe_responder_rule_details.py +1 -1
  322. oci/cloud_guard/models/update_target_responder_rule_details.py +8 -5
  323. oci/cloud_guard/models/update_wlp_agent_details.py +143 -0
  324. oci/cloud_guard/models/wlp_agent.py +469 -0
  325. oci/cloud_guard/models/wlp_agent_collection.py +103 -0
  326. oci/cloud_guard/models/wlp_agent_summary.py +406 -0
  327. oci/cloud_guard/models/work_request.py +54 -23
  328. oci/cloud_guard/models/work_request_error.py +8 -7
  329. oci/cloud_guard/models/work_request_error_collection.py +5 -3
  330. oci/cloud_guard/models/work_request_log_entry.py +4 -4
  331. oci/cloud_guard/models/work_request_log_entry_collection.py +38 -5
  332. oci/cloud_guard/models/work_request_resource.py +7 -7
  333. oci/cloud_guard/models/work_request_summary.py +15 -15
  334. oci/cloud_guard/models/work_request_summary_collection.py +36 -5
  335. oci/cloud_migrations/migration_client.py +43 -43
  336. oci/{application_migration → cluster_placement_groups}/__init__.py +4 -4
  337. oci/cluster_placement_groups/cluster_placement_groups_cp_client.py +1705 -0
  338. oci/cluster_placement_groups/cluster_placement_groups_cp_client_composite_operations.py +238 -0
  339. oci/cluster_placement_groups/models/__init__.py +46 -0
  340. oci/cluster_placement_groups/models/capabilities_collection.py +72 -0
  341. oci/cluster_placement_groups/models/capability_details.py +103 -0
  342. oci/{application_migration/models/change_compartment_details.py → cluster_placement_groups/models/change_cluster_placement_group_compartment_details.py} +11 -11
  343. oci/cluster_placement_groups/models/cluster_placement_group.py +568 -0
  344. oci/cluster_placement_groups/models/cluster_placement_group_collection.py +72 -0
  345. oci/cluster_placement_groups/models/cluster_placement_group_summary.py +447 -0
  346. oci/cluster_placement_groups/models/create_cluster_placement_group_details.py +332 -0
  347. oci/cluster_placement_groups/models/placement_instruction_details.py +115 -0
  348. oci/cluster_placement_groups/models/update_cluster_placement_group_details.py +138 -0
  349. oci/{application_migration → cluster_placement_groups}/models/work_request.py +100 -67
  350. oci/{application_migration → cluster_placement_groups}/models/work_request_error.py +14 -8
  351. oci/cluster_placement_groups/models/work_request_error_collection.py +72 -0
  352. oci/{application_migration → cluster_placement_groups}/models/work_request_log_entry.py +10 -6
  353. oci/cluster_placement_groups/models/work_request_log_entry_collection.py +72 -0
  354. oci/{application_migration → cluster_placement_groups}/models/work_request_resource.py +87 -50
  355. oci/{application_migration → cluster_placement_groups}/models/work_request_summary.py +128 -70
  356. oci/cluster_placement_groups/models/work_request_summary_collection.py +72 -0
  357. oci/compute_cloud_at_customer/compute_cloud_at_customer_client.py +12 -12
  358. oci/compute_instance_agent/compute_instance_agent_client.py +6 -6
  359. oci/compute_instance_agent/plugin_client.py +2 -2
  360. oci/compute_instance_agent/pluginconfig_client.py +1 -1
  361. oci/container_engine/container_engine_client.py +44 -44
  362. oci/container_instances/container_instance_client.py +18 -18
  363. oci/core/blockstorage_client.py +65 -60
  364. oci/core/compute_client.py +101 -103
  365. oci/core/compute_client_composite_operations.py +1 -2
  366. oci/core/compute_management_client.py +32 -32
  367. oci/core/models/__init__.py +6 -0
  368. oci/core/models/boot_volume.py +31 -0
  369. oci/core/models/boot_volume_attachment.py +39 -0
  370. oci/core/models/capacity_reservation_instance_summary.py +31 -0
  371. oci/core/models/compute_cluster.py +1 -2
  372. oci/core/models/create_boot_volume_details.py +31 -0
  373. oci/core/models/create_compute_cluster_details.py +1 -2
  374. oci/core/models/create_drg_route_distribution_details.py +2 -2
  375. oci/core/models/create_image_details.py +2 -2
  376. oci/core/models/create_vnic_details.py +18 -18
  377. oci/core/models/create_volume_details.py +31 -0
  378. oci/core/models/create_volume_group_details.py +33 -2
  379. oci/core/models/instance.py +31 -0
  380. oci/core/models/instance_configuration_create_volume_details.py +31 -0
  381. oci/core/models/instance_configuration_launch_instance_details.py +31 -0
  382. oci/core/models/instance_reservation_config.py +33 -2
  383. oci/core/models/instance_reservation_config_details.py +33 -2
  384. oci/core/models/launch_instance_details.py +31 -0
  385. oci/core/models/network_security_group.py +7 -7
  386. oci/core/models/private_ip.py +1 -1
  387. oci/core/models/update_instance_details.py +27 -0
  388. oci/core/models/update_instance_source_details.py +128 -0
  389. oci/core/models/update_instance_source_via_boot_volume_details.py +88 -0
  390. oci/core/models/update_instance_source_via_image_details.py +150 -0
  391. oci/core/models/update_vnic_details.py +2 -2
  392. oci/core/models/volume.py +31 -0
  393. oci/core/virtual_network_client.py +258 -258
  394. oci/core/virtual_network_client_composite_operations.py +13 -13
  395. oci/dashboard_service/dashboard_client.py +6 -6
  396. oci/dashboard_service/dashboard_group_client.py +6 -6
  397. oci/data_catalog/data_catalog_client.py +148 -148
  398. oci/data_flow/data_flow_client.py +42 -42
  399. oci/data_integration/data_integration_client.py +163 -163
  400. oci/data_labeling_service/data_labeling_management_client.py +17 -17
  401. oci/data_labeling_service_dataplane/data_labeling_client.py +15 -15
  402. oci/data_safe/data_safe_client.py +272 -272
  403. oci/data_science/data_science_client.py +91 -91
  404. oci/data_science/models/instance_configuration.py +37 -2
  405. oci/database/database_client.py +1224 -537
  406. oci/database/database_client_composite_operations.py +204 -0
  407. oci/database/models/__init__.py +12 -0
  408. oci/database/models/autonomous_container_database.py +31 -0
  409. oci/database/models/autonomous_container_database_summary.py +31 -0
  410. oci/database/models/autonomous_database_software_image.py +489 -0
  411. oci/database/models/autonomous_database_software_image_collection.py +72 -0
  412. oci/database/models/autonomous_database_software_image_summary.py +437 -0
  413. oci/database/models/change_autonomous_database_software_image_compartment_details.py +76 -0
  414. oci/database/models/create_autonomous_container_database_details.py +35 -0
  415. oci/database/models/create_autonomous_database_software_image_details.py +267 -0
  416. oci/database/models/maintenance_window.py +33 -2
  417. oci/database/models/update_autonomous_database_software_image_details.py +119 -0
  418. oci/database_management/db_management_client.py +194 -194
  419. oci/database_management/diagnosability_client.py +4 -4
  420. oci/database_management/managed_my_sql_databases_client.py +7 -7
  421. oci/database_management/perfhub_client.py +1 -1
  422. oci/database_management/sql_tuning_client.py +17 -17
  423. oci/database_migration/database_migration_client.py +41 -41
  424. oci/database_migration/models/aws_s3_data_transfer_medium_details.py +29 -2
  425. oci/database_migration/models/data_transfer_medium_details_v2.py +1 -1
  426. oci/database_migration/models/nfs_data_transfer_medium_details.py +29 -2
  427. oci/database_tools/database_tools_client.py +23 -23
  428. oci/desktops/desktop_service_client.py +21 -21
  429. oci/devops/devops_client.py +89 -89
  430. oci/disaster_recovery/disaster_recovery_client.py +29 -29
  431. oci/dns/dns_client.py +52 -52
  432. oci/dts/appliance_export_job_client.py +6 -6
  433. oci/dts/shipping_vendors_client.py +1 -1
  434. oci/dts/transfer_appliance_client.py +8 -8
  435. oci/dts/transfer_appliance_entitlement_client.py +3 -3
  436. oci/dts/transfer_device_client.py +5 -5
  437. oci/dts/transfer_job_client.py +6 -6
  438. oci/dts/transfer_package_client.py +7 -7
  439. oci/em_warehouse/em_data_lake_client.py +13 -13
  440. oci/em_warehouse/em_warehouse_client.py +13 -13
  441. oci/email/email_client.py +26 -26
  442. oci/email_data_plane/email_dp_client.py +1 -1
  443. oci/events/events_client.py +6 -6
  444. oci/file_storage/file_storage_client.py +50 -50
  445. oci/fleet_software_update/fleet_software_update_client.py +44 -44
  446. oci/functions/functions_invoke_client.py +1 -1
  447. oci/functions/functions_management_client.py +16 -16
  448. oci/fusion_apps/data_masking_activity_client.py +3 -3
  449. oci/fusion_apps/fusion_applications_client.py +39 -39
  450. oci/fusion_apps/fusion_environment_client.py +15 -15
  451. oci/fusion_apps/fusion_environment_family_client.py +8 -8
  452. oci/fusion_apps/refresh_activity_client.py +4 -4
  453. oci/fusion_apps/scheduled_activity_client.py +2 -2
  454. oci/fusion_apps/service_attachment_client.py +2 -2
  455. oci/generative_ai/generative_ai_client.py +24 -24
  456. oci/generative_ai/models/dataset.py +1 -1
  457. oci/generative_ai/models/dedicated_ai_cluster.py +34 -3
  458. oci/generative_ai/models/endpoint.py +27 -0
  459. oci/generative_ai/models/model.py +34 -3
  460. oci/generative_ai/models/model_summary.py +7 -3
  461. oci/generative_ai_inference/generative_ai_inference_client.py +101 -3
  462. oci/generative_ai_inference/models/__init__.py +30 -0
  463. oci/generative_ai_inference/models/base_chat_request.py +109 -0
  464. oci/generative_ai_inference/models/base_chat_response.py +109 -0
  465. oci/generative_ai_inference/models/chat_choice.py +161 -0
  466. oci/generative_ai_inference/models/chat_content.py +101 -0
  467. oci/generative_ai_inference/models/chat_details.py +126 -0
  468. oci/generative_ai_inference/models/chat_result.py +130 -0
  469. oci/generative_ai_inference/models/citation.py +165 -0
  470. oci/generative_ai_inference/models/cohere_chat_request.py +443 -0
  471. oci/generative_ai_inference/models/cohere_chat_response.py +272 -0
  472. oci/generative_ai_inference/models/cohere_llm_inference_response.py +1 -1
  473. oci/generative_ai_inference/models/cohere_message.py +119 -0
  474. oci/generative_ai_inference/models/embed_text_details.py +2 -2
  475. oci/generative_ai_inference/models/generic_chat_request.py +474 -0
  476. oci/generative_ai_inference/models/generic_chat_response.py +113 -0
  477. oci/generative_ai_inference/models/llama_llm_inference_request.py +2 -2
  478. oci/generative_ai_inference/models/llama_llm_inference_response.py +1 -1
  479. oci/generative_ai_inference/models/llm_inference_response.py +11 -3
  480. oci/generative_ai_inference/models/message.py +103 -0
  481. oci/generative_ai_inference/models/search_query.py +72 -0
  482. oci/generative_ai_inference/models/text_content.py +82 -0
  483. oci/generic_artifacts_content/generic_artifacts_content_client.py +3 -3
  484. oci/globally_distributed_database/sharded_database_service_client.py +29 -29
  485. oci/golden_gate/golden_gate_client.py +61 -61
  486. oci/governance_rules_control_plane/governance_rule_client.py +15 -15
  487. oci/governance_rules_control_plane/work_request_client.py +5 -5
  488. oci/healthchecks/health_checks_client.py +17 -17
  489. oci/identity/identity_client.py +145 -145
  490. oci/identity_data_plane/dataplane_client.py +2 -2
  491. oci/identity_domains/identity_domains_client.py +300 -300
  492. oci/integration/integration_instance_client.py +15 -15
  493. oci/jms/java_management_service_client.py +66 -66
  494. oci/jms_java_downloads/java_download_client.py +25 -25
  495. oci/key_management/ekm_client.py +5 -5
  496. oci/key_management/kms_crypto_client.py +6 -6
  497. oci/key_management/kms_hsm_cluster_client.py +12 -12
  498. oci/key_management/kms_management_client.py +21 -21
  499. oci/key_management/kms_vault_client.py +14 -14
  500. oci/license_manager/license_manager_client.py +18 -18
  501. oci/limits/limits_client.py +4 -4
  502. oci/limits/quotas_client.py +7 -7
  503. oci/load_balancer/load_balancer_client.py +61 -61
  504. oci/lockbox/lockbox_client.py +191 -46
  505. oci/lockbox/models/__init__.py +2 -0
  506. oci/lockbox/models/access_request_ext.py +671 -0
  507. oci/lockbox/models/access_request_summary.py +101 -2
  508. oci/lockbox/models/approver_info.py +33 -2
  509. oci/log_analytics/log_analytics_client.py +193 -193
  510. oci/logging/logging_management_client.py +30 -30
  511. oci/loggingingestion/logging_client.py +1 -1
  512. oci/loggingsearch/log_search_client.py +1 -1
  513. oci/management_agent/management_agent_client.py +28 -28
  514. oci/management_dashboard/dashx_apis_client.py +14 -14
  515. oci/marketplace/account_client.py +2 -2
  516. oci/marketplace/marketplace_client.py +30 -30
  517. oci/marketplace_publisher/marketplace_publisher_client.py +71 -71
  518. oci/media_services/media_services_client.py +60 -60
  519. oci/media_services/media_stream_client.py +2 -2
  520. oci/monitoring/monitoring_client.py +18 -18
  521. oci/mysql/channels_client.py +7 -7
  522. oci/mysql/db_backups_client.py +6 -6
  523. oci/mysql/db_system_client.py +17 -17
  524. oci/mysql/mysqlaas_client.py +7 -7
  525. oci/mysql/replicas_client.py +5 -5
  526. oci/mysql/work_requests_client.py +4 -4
  527. oci/network_firewall/network_firewall_client.py +80 -80
  528. oci/network_load_balancer/network_load_balancer_client.py +34 -34
  529. oci/nosql/nosql_client.py +24 -24
  530. oci/object_storage/object_storage_client.py +50 -50
  531. oci/oce/oce_instance_client.py +10 -10
  532. oci/oci_control_center/occ_metrics_client.py +3 -3
  533. oci/ocvp/cluster_client.py +5 -5
  534. oci/ocvp/esxi_host_client.py +8 -8
  535. oci/ocvp/sddc_client.py +14 -14
  536. oci/ocvp/work_request_client.py +4 -4
  537. oci/oda/management_client.py +59 -59
  538. oci/oda/oda_client.py +17 -17
  539. oci/oda/odapackage_client.py +7 -7
  540. oci/onesubscription/billing_schedule_client.py +1 -1
  541. oci/onesubscription/commitment_client.py +2 -2
  542. oci/onesubscription/computed_usage_client.py +3 -3
  543. oci/onesubscription/invoice_summary_client.py +2 -2
  544. oci/onesubscription/organization_subscription_client.py +1 -1
  545. oci/onesubscription/ratecard_client.py +1 -1
  546. oci/onesubscription/subscribed_service_client.py +2 -2
  547. oci/onesubscription/subscription_client.py +1 -1
  548. oci/ons/notification_control_plane_client.py +6 -6
  549. oci/ons/notification_data_plane_client.py +10 -10
  550. oci/opa/models/opa_instance.py +7 -3
  551. oci/opa/models/work_request.py +11 -3
  552. oci/opa/models/work_request_summary.py +11 -3
  553. oci/opa/opa_instance_client.py +223 -13
  554. oci/opa/opa_instance_client_composite_operations.py +78 -0
  555. oci/opensearch/opensearch_cluster_backup_client.py +4 -4
  556. oci/opensearch/opensearch_cluster_client.py +14 -14
  557. oci/operator_access_control/access_requests_client.py +10 -10
  558. oci/operator_access_control/operator_actions_client.py +2 -2
  559. oci/operator_access_control/operator_control_assignment_client.py +8 -8
  560. oci/operator_access_control/operator_control_client.py +6 -6
  561. oci/opsi/operations_insights_client.py +175 -175
  562. oci/optimizer/optimizer_client.py +26 -26
  563. oci/os_management/event_client.py +8 -8
  564. oci/os_management/os_management_client.py +69 -69
  565. oci/os_management_hub/__init__.py +3 -1
  566. oci/os_management_hub/event_client.py +1115 -0
  567. oci/os_management_hub/event_client_composite_operations.py +163 -0
  568. oci/os_management_hub/lifecycle_environment_client.py +258 -46
  569. oci/os_management_hub/lifecycle_environment_client_composite_operations.py +16 -6
  570. oci/os_management_hub/managed_instance_client.py +1643 -380
  571. oci/os_management_hub/managed_instance_client_composite_operations.py +171 -13
  572. oci/os_management_hub/managed_instance_group_client.py +549 -165
  573. oci/os_management_hub/managed_instance_group_client_composite_operations.py +182 -22
  574. oci/os_management_hub/management_station_client.py +284 -30
  575. oci/os_management_hub/management_station_client_composite_operations.py +55 -6
  576. oci/os_management_hub/models/__init__.py +106 -0
  577. oci/os_management_hub/models/add_packages_to_software_source_details.py +72 -0
  578. oci/os_management_hub/models/agent_event.py +184 -0
  579. oci/os_management_hub/models/agent_event_data.py +166 -0
  580. oci/os_management_hub/models/attach_managed_instances_to_managed_instance_group_details.py +8 -4
  581. oci/os_management_hub/models/attach_profile_to_managed_instance_details.py +76 -0
  582. oci/os_management_hub/models/attach_software_sources_to_managed_instance_details.py +1 -1
  583. oci/os_management_hub/models/attach_software_sources_to_managed_instance_group_details.py +8 -4
  584. oci/os_management_hub/models/autonomous_settings.py +107 -0
  585. oci/os_management_hub/models/available_package_collection.py +1 -1
  586. oci/os_management_hub/models/available_package_summary.py +1 -1
  587. oci/os_management_hub/models/available_software_source_collection.py +2 -1
  588. oci/os_management_hub/models/available_software_source_summary.py +17 -7
  589. oci/os_management_hub/models/available_windows_update_collection.py +72 -0
  590. oci/os_management_hub/models/available_windows_update_summary.py +222 -0
  591. oci/os_management_hub/models/change_availability_of_software_sources_details.py +4 -4
  592. oci/os_management_hub/models/change_event_compartment_details.py +76 -0
  593. oci/os_management_hub/models/change_lifecycle_environment_compartment_details.py +76 -0
  594. oci/os_management_hub/models/change_managed_instance_group_compartment_details.py +78 -0
  595. oci/os_management_hub/models/change_management_station_compartment_details.py +76 -0
  596. oci/os_management_hub/models/change_profile_compartment_details.py +76 -0
  597. oci/os_management_hub/models/change_scheduled_job_compartment_details.py +76 -0
  598. oci/os_management_hub/models/change_software_source_compartment_details.py +76 -0
  599. oci/os_management_hub/models/create_custom_software_source_details.py +98 -5
  600. oci/os_management_hub/models/create_entitlement_details.py +9 -5
  601. oci/os_management_hub/models/create_group_profile_details.py +22 -4
  602. oci/os_management_hub/models/create_lifecycle_environment_details.py +108 -23
  603. oci/os_management_hub/models/create_lifecycle_profile_details.py +22 -4
  604. oci/os_management_hub/models/create_lifecycle_stage_details.py +5 -7
  605. oci/os_management_hub/models/create_managed_instance_group_details.py +181 -24
  606. oci/os_management_hub/models/create_management_station_details.py +13 -9
  607. oci/os_management_hub/models/create_mirror_configuration_details.py +9 -9
  608. oci/os_management_hub/models/create_profile_details.py +86 -12
  609. oci/os_management_hub/models/create_proxy_configuration_details.py +9 -9
  610. oci/os_management_hub/models/create_scheduled_job_details.py +192 -35
  611. oci/os_management_hub/models/create_software_source_details.py +18 -10
  612. oci/os_management_hub/models/create_software_source_profile_details.py +55 -13
  613. oci/os_management_hub/models/create_station_profile_details.py +48 -10
  614. oci/os_management_hub/models/create_vendor_software_source_details.py +121 -0
  615. oci/os_management_hub/models/create_versioned_custom_software_source_details.py +96 -3
  616. oci/os_management_hub/models/custom_software_source.py +120 -10
  617. oci/os_management_hub/models/custom_software_source_filter.py +1 -1
  618. oci/os_management_hub/models/custom_software_source_summary.py +20 -5
  619. oci/os_management_hub/models/detach_managed_instances_from_managed_instance_group_details.py +8 -4
  620. oci/os_management_hub/models/detach_software_sources_from_managed_instance_details.py +1 -1
  621. oci/os_management_hub/models/detach_software_sources_from_managed_instance_group_details.py +8 -4
  622. oci/os_management_hub/models/disable_module_stream_on_managed_instance_details.py +1 -1
  623. oci/os_management_hub/models/disable_module_stream_on_managed_instance_group_details.py +39 -4
  624. oci/os_management_hub/models/enable_module_stream_on_managed_instance_details.py +1 -1
  625. oci/os_management_hub/models/enable_module_stream_on_managed_instance_group_details.py +39 -4
  626. oci/os_management_hub/models/entitlement_collection.py +3 -3
  627. oci/os_management_hub/models/entitlement_summary.py +9 -5
  628. oci/os_management_hub/models/erratum.py +60 -13
  629. oci/os_management_hub/models/erratum_collection.py +3 -3
  630. oci/os_management_hub/models/erratum_summary.py +60 -13
  631. oci/os_management_hub/models/event.py +714 -0
  632. oci/os_management_hub/models/event_collection.py +72 -0
  633. oci/os_management_hub/models/event_content.py +113 -0
  634. oci/os_management_hub/models/event_summary.py +573 -0
  635. oci/os_management_hub/models/exploit_attempt_additional_details.py +72 -0
  636. oci/os_management_hub/models/exploit_attempt_event.py +184 -0
  637. oci/os_management_hub/models/exploit_attempt_event_content.py +113 -0
  638. oci/os_management_hub/models/exploit_attempt_event_data.py +126 -0
  639. oci/os_management_hub/models/group_profile.py +26 -4
  640. oci/os_management_hub/models/id.py +9 -5
  641. oci/os_management_hub/models/install_all_windows_updates_on_managed_instances_in_compartment_details.py +165 -0
  642. oci/os_management_hub/models/install_module_stream_profile_on_managed_instance_details.py +1 -1
  643. oci/os_management_hub/models/install_module_stream_profile_on_managed_instance_group_details.py +39 -4
  644. oci/os_management_hub/models/install_packages_on_managed_instance_details.py +1 -1
  645. oci/os_management_hub/models/install_packages_on_managed_instance_group_details.py +1 -1
  646. oci/os_management_hub/models/install_windows_updates_on_managed_instance_details.py +165 -0
  647. oci/os_management_hub/models/install_windows_updates_on_managed_instance_group_details.py +130 -0
  648. oci/os_management_hub/models/installed_package_collection.py +1 -1
  649. oci/os_management_hub/models/installed_package_summary.py +3 -5
  650. oci/os_management_hub/models/installed_windows_update_collection.py +72 -0
  651. oci/os_management_hub/models/installed_windows_update_summary.py +160 -0
  652. oci/os_management_hub/models/kernel_crash_event.py +184 -0
  653. oci/os_management_hub/models/kernel_event_additional_details.py +68 -0
  654. oci/os_management_hub/models/kernel_event_content.py +183 -0
  655. oci/os_management_hub/models/kernel_event_data.py +219 -0
  656. oci/os_management_hub/models/kernel_oops_event.py +184 -0
  657. oci/os_management_hub/models/ksplice_update_event.py +184 -0
  658. oci/os_management_hub/models/ksplice_update_event_data.py +162 -0
  659. oci/os_management_hub/models/lifecycle_environment.py +132 -29
  660. oci/os_management_hub/models/lifecycle_environment_collection.py +1 -1
  661. oci/os_management_hub/models/lifecycle_environment_details.py +7 -3
  662. oci/os_management_hub/models/lifecycle_environment_summary.py +125 -26
  663. oci/os_management_hub/models/lifecycle_profile.py +26 -4
  664. oci/os_management_hub/models/lifecycle_stage.py +131 -30
  665. oci/os_management_hub/models/lifecycle_stage_collection.py +1 -1
  666. oci/os_management_hub/models/lifecycle_stage_details.py +7 -3
  667. oci/os_management_hub/models/lifecycle_stage_summary.py +134 -33
  668. oci/os_management_hub/models/manage_module_streams_on_managed_instance_details.py +16 -8
  669. oci/os_management_hub/models/managed_instance.py +238 -70
  670. oci/os_management_hub/models/managed_instance_analytic_collection.py +3 -3
  671. oci/os_management_hub/models/managed_instance_analytic_summary.py +19 -3
  672. oci/os_management_hub/models/managed_instance_collection.py +1 -1
  673. oci/os_management_hub/models/managed_instance_details.py +7 -3
  674. oci/os_management_hub/models/managed_instance_erratum_summary.py +11 -13
  675. oci/os_management_hub/models/managed_instance_erratum_summary_collection.py +1 -1
  676. oci/os_management_hub/models/managed_instance_group.py +227 -27
  677. oci/os_management_hub/models/managed_instance_group_available_module_collection.py +3 -3
  678. oci/os_management_hub/models/managed_instance_group_available_module_summary.py +9 -5
  679. oci/os_management_hub/models/managed_instance_group_available_package_collection.py +1 -1
  680. oci/os_management_hub/models/managed_instance_group_available_package_summary.py +7 -7
  681. oci/os_management_hub/models/managed_instance_group_collection.py +1 -1
  682. oci/os_management_hub/models/managed_instance_group_details.py +9 -5
  683. oci/os_management_hub/models/managed_instance_group_installed_package_collection.py +1 -1
  684. oci/os_management_hub/models/managed_instance_group_installed_package_summary.py +1 -1
  685. oci/os_management_hub/models/managed_instance_group_module_collection.py +1 -2
  686. oci/os_management_hub/models/managed_instance_group_module_summary.py +11 -7
  687. oci/os_management_hub/models/managed_instance_group_summary.py +210 -22
  688. oci/os_management_hub/models/managed_instance_module_collection.py +1 -2
  689. oci/os_management_hub/models/managed_instance_module_summary.py +7 -3
  690. oci/os_management_hub/models/managed_instance_summary.py +169 -32
  691. oci/os_management_hub/models/management_station.py +74 -27
  692. oci/os_management_hub/models/management_station_collection.py +3 -3
  693. oci/os_management_hub/models/management_station_details.py +13 -5
  694. oci/os_management_hub/models/management_station_event.py +184 -0
  695. oci/os_management_hub/models/management_station_event_data.py +166 -0
  696. oci/os_management_hub/models/management_station_summary.py +97 -26
  697. oci/os_management_hub/models/mirror_configuration.py +9 -9
  698. oci/os_management_hub/models/mirror_summary.py +23 -3
  699. oci/os_management_hub/models/mirror_sync_status.py +11 -11
  700. oci/os_management_hub/models/module_collection.py +3 -3
  701. oci/os_management_hub/models/module_stream.py +7 -3
  702. oci/os_management_hub/models/module_stream_collection.py +3 -3
  703. oci/os_management_hub/models/module_stream_details.py +38 -3
  704. oci/os_management_hub/models/module_stream_details_body.py +1 -1
  705. oci/os_management_hub/models/module_stream_profile.py +1 -1
  706. oci/os_management_hub/models/module_stream_profile_collection.py +3 -3
  707. oci/os_management_hub/models/module_stream_profile_details.py +38 -3
  708. oci/os_management_hub/models/module_stream_profile_details_body.py +1 -1
  709. oci/os_management_hub/models/module_stream_profile_filter.py +3 -3
  710. oci/os_management_hub/models/module_stream_profile_summary.py +3 -3
  711. oci/os_management_hub/models/module_stream_summary.py +7 -3
  712. oci/os_management_hub/models/module_summary.py +7 -3
  713. oci/os_management_hub/models/package_filter.py +3 -3
  714. oci/os_management_hub/models/package_group.py +9 -9
  715. oci/os_management_hub/models/package_group_collection.py +1 -1
  716. oci/os_management_hub/models/package_group_filter.py +3 -3
  717. oci/os_management_hub/models/package_group_summary.py +7 -7
  718. oci/os_management_hub/models/package_name_summary.py +7 -7
  719. oci/os_management_hub/models/package_summary.py +5 -5
  720. oci/os_management_hub/models/profile.py +189 -24
  721. oci/os_management_hub/models/profile_summary.py +157 -24
  722. oci/os_management_hub/models/promote_software_source_to_lifecycle_stage_details.py +1 -22
  723. oci/os_management_hub/models/proxy_configuration.py +9 -9
  724. oci/os_management_hub/models/remove_module_stream_profile_from_managed_instance_details.py +1 -1
  725. oci/os_management_hub/models/remove_module_stream_profile_from_managed_instance_group_details.py +39 -4
  726. oci/os_management_hub/models/remove_packages_from_managed_instance_details.py +1 -1
  727. oci/os_management_hub/models/remove_packages_from_managed_instance_group_details.py +1 -1
  728. oci/os_management_hub/models/scheduled_job.py +216 -39
  729. oci/os_management_hub/models/scheduled_job_collection.py +1 -1
  730. oci/os_management_hub/models/scheduled_job_operation.py +73 -8
  731. oci/os_management_hub/models/scheduled_job_summary.py +223 -48
  732. oci/os_management_hub/models/search_software_source_module_streams_details.py +7 -3
  733. oci/os_management_hub/models/search_software_source_modules_details.py +9 -5
  734. oci/os_management_hub/models/search_software_source_package_groups_details.py +9 -5
  735. oci/os_management_hub/models/software_package.py +80 -9
  736. oci/os_management_hub/models/software_package_collection.py +1 -1
  737. oci/os_management_hub/models/software_package_dependency.py +1 -1
  738. oci/os_management_hub/models/software_package_file.py +2 -4
  739. oci/os_management_hub/models/software_package_summary.py +74 -7
  740. oci/os_management_hub/models/software_packages_details.py +1 -1
  741. oci/os_management_hub/models/software_source.py +154 -32
  742. oci/os_management_hub/models/software_source_availability.py +76 -11
  743. oci/os_management_hub/models/software_source_collection.py +3 -3
  744. oci/os_management_hub/models/software_source_details.py +40 -5
  745. oci/os_management_hub/models/software_source_event.py +184 -0
  746. oci/os_management_hub/models/software_source_event_data.py +190 -0
  747. oci/os_management_hub/models/software_source_profile.py +26 -4
  748. oci/os_management_hub/models/software_source_summary.py +149 -33
  749. oci/os_management_hub/models/software_source_vendor_collection.py +3 -3
  750. oci/os_management_hub/models/software_source_vendor_summary.py +35 -11
  751. oci/os_management_hub/models/software_update_event.py +184 -0
  752. oci/os_management_hub/models/software_update_event_data.py +186 -0
  753. oci/os_management_hub/models/station_health.py +119 -0
  754. oci/os_management_hub/models/station_profile.py +26 -4
  755. oci/os_management_hub/models/switch_module_stream_on_managed_instance_details.py +38 -3
  756. oci/os_management_hub/models/switch_module_stream_on_managed_instance_group_details.py +165 -0
  757. oci/os_management_hub/models/system_details.py +326 -0
  758. oci/os_management_hub/models/updatable_autonomous_settings.py +72 -0
  759. oci/os_management_hub/models/updatable_package_collection.py +1 -1
  760. oci/os_management_hub/models/updatable_package_summary.py +7 -7
  761. oci/os_management_hub/models/update_all_packages_on_managed_instance_group_details.py +1 -1
  762. oci/os_management_hub/models/update_all_packages_on_managed_instances_in_compartment_details.py +9 -5
  763. oci/os_management_hub/models/update_custom_software_source_details.py +38 -7
  764. oci/os_management_hub/models/update_event_details.py +119 -0
  765. oci/os_management_hub/models/update_lifecycle_environment_details.py +5 -5
  766. oci/os_management_hub/models/update_lifecycle_stage_details.py +9 -5
  767. oci/os_management_hub/models/update_managed_instance_details.py +108 -7
  768. oci/os_management_hub/models/update_managed_instance_group_details.py +67 -5
  769. oci/os_management_hub/models/update_management_station_details.py +7 -7
  770. oci/os_management_hub/models/update_mirror_configuration_details.py +9 -9
  771. oci/os_management_hub/models/update_packages_on_managed_instance_details.py +3 -3
  772. oci/os_management_hub/models/update_profile_details.py +35 -4
  773. oci/os_management_hub/models/update_proxy_configuration_details.py +9 -9
  774. oci/os_management_hub/models/update_scheduled_job_details.py +74 -15
  775. oci/os_management_hub/models/update_software_source_details.py +15 -7
  776. oci/os_management_hub/models/update_vendor_software_source_details.py +1 -1
  777. oci/os_management_hub/models/update_versioned_custom_software_source_details.py +86 -0
  778. oci/os_management_hub/models/update_work_request_details.py +1 -1
  779. oci/os_management_hub/models/vendor_software_source.py +97 -9
  780. oci/os_management_hub/models/vendor_software_source_summary.py +59 -8
  781. oci/os_management_hub/models/versioned_custom_software_source.py +116 -8
  782. oci/os_management_hub/models/versioned_custom_software_source_summary.py +20 -5
  783. oci/os_management_hub/models/vmcore_details.py +103 -0
  784. oci/os_management_hub/models/windows_standalone_profile.py +168 -0
  785. oci/os_management_hub/models/windows_update.py +362 -0
  786. oci/os_management_hub/models/windows_update_collection.py +73 -0
  787. oci/os_management_hub/models/windows_update_summary.py +222 -0
  788. oci/os_management_hub/models/work_request.py +348 -40
  789. oci/os_management_hub/models/work_request_details.py +5 -5
  790. oci/os_management_hub/models/work_request_error.py +6 -2
  791. oci/os_management_hub/models/work_request_event_data_additional_details.py +111 -0
  792. oci/os_management_hub/models/work_request_log_entry.py +6 -2
  793. oci/os_management_hub/models/work_request_management_station_details.py +2 -2
  794. oci/os_management_hub/models/work_request_summary.py +147 -19
  795. oci/os_management_hub/models/work_request_summary_collection.py +2 -2
  796. oci/os_management_hub/onboarding_client.py +171 -25
  797. oci/os_management_hub/onboarding_client_composite_operations.py +7 -3
  798. oci/os_management_hub/reporting_managed_instance_client.py +217 -60
  799. oci/os_management_hub/scheduled_job_client.py +214 -38
  800. oci/os_management_hub/scheduled_job_client_composite_operations.py +8 -4
  801. oci/os_management_hub/software_source_client.py +971 -89
  802. oci/os_management_hub/software_source_client_composite_operations.py +50 -2
  803. oci/os_management_hub/work_request_client.py +61 -18
  804. oci/osp_gateway/address_rule_service_client.py +1 -1
  805. oci/osp_gateway/address_service_client.py +2 -2
  806. oci/osp_gateway/invoice_service_client.py +5 -5
  807. oci/osp_gateway/subscription_service_client.py +5 -5
  808. oci/osub_billing_schedule/billing_schedule_client.py +1 -1
  809. oci/osub_organization_subscription/organization_subscription_client.py +1 -1
  810. oci/osub_subscription/commitment_client.py +2 -2
  811. oci/osub_subscription/ratecard_client.py +1 -1
  812. oci/osub_subscription/subscription_client.py +1 -1
  813. oci/osub_usage/computed_usage_client.py +3 -3
  814. oci/psql/postgresql_client.py +33 -33
  815. oci/queue/queue_admin_client.py +11 -11
  816. oci/queue/queue_client.py +8 -8
  817. oci/recovery/database_recovery_client.py +23 -23
  818. oci/redis/models/create_redis_cluster_details.py +31 -0
  819. oci/redis/models/redis_cluster.py +31 -0
  820. oci/redis/models/redis_cluster_summary.py +31 -0
  821. oci/redis/models/update_redis_cluster_details.py +31 -0
  822. oci/redis/redis_cluster_client.py +11 -11
  823. oci/resource_manager/resource_manager_client.py +52 -52
  824. oci/resource_search/resource_search_client.py +3 -3
  825. oci/rover/rover_bundle_client.py +8 -8
  826. oci/rover/rover_cluster_client.py +8 -8
  827. oci/rover/rover_entitlement_client.py +6 -6
  828. oci/rover/rover_node_client.py +15 -15
  829. oci/rover/shape_client.py +1 -1
  830. oci/rover/work_requests_client.py +5 -5
  831. oci/sch/connector_plugins_client.py +2 -2
  832. oci/sch/service_connector_client.py +12 -12
  833. oci/secrets/secrets_client.py +3 -3
  834. oci/service_catalog/service_catalog_client.py +26 -26
  835. oci/service_manager_proxy/service_manager_proxy_client.py +2 -2
  836. oci/service_mesh/service_mesh_client.py +48 -48
  837. oci/stack_monitoring/stack_monitoring_client.py +64 -64
  838. oci/streaming/stream_admin_client.py +18 -18
  839. oci/streaming/stream_client.py +8 -8
  840. oci/tenant_manager_control_plane/domain_client.py +5 -5
  841. oci/tenant_manager_control_plane/domain_governance_client.py +5 -5
  842. oci/tenant_manager_control_plane/governance_client.py +2 -2
  843. oci/tenant_manager_control_plane/link_client.py +3 -3
  844. oci/tenant_manager_control_plane/orders_client.py +2 -2
  845. oci/tenant_manager_control_plane/organization_client.py +10 -10
  846. oci/tenant_manager_control_plane/recipient_invitation_client.py +5 -5
  847. oci/tenant_manager_control_plane/sender_invitation_client.py +5 -5
  848. oci/tenant_manager_control_plane/subscription_client.py +11 -11
  849. oci/tenant_manager_control_plane/work_request_client.py +4 -4
  850. oci/threat_intelligence/threatintel_client.py +5 -5
  851. oci/usage/resources_client.py +2 -2
  852. oci/usage/rewards_client.py +6 -6
  853. oci/usage/usagelimits_client.py +1 -1
  854. oci/usage_api/models/__init__.py +12 -0
  855. oci/usage_api/models/create_email_recipients_group_details.py +103 -0
  856. oci/usage_api/models/email_recipient.py +181 -0
  857. oci/usage_api/models/email_recipients_group.py +181 -0
  858. oci/usage_api/models/email_recipients_group_collection.py +72 -0
  859. oci/usage_api/models/email_recipients_group_summary.py +272 -0
  860. oci/usage_api/models/update_email_recipients_group_details.py +72 -0
  861. oci/usage_api/usageapi_client.py +656 -34
  862. oci/usage_api/usageapi_client_composite_operations.py +96 -0
  863. oci/vault/vaults_client.py +13 -13
  864. oci/vbs_inst/vbs_instance_client.py +10 -10
  865. oci/version.py +1 -1
  866. oci/visual_builder/vb_instance_client.py +13 -13
  867. oci/vn_monitoring/vn_monitoring_client.py +12 -12
  868. oci/vulnerability_scanning/vulnerability_scanning_client.py +58 -58
  869. oci/waa/waa_client.py +13 -13
  870. oci/waa/work_request_client.py +4 -4
  871. oci/waas/redirect_client.py +6 -6
  872. oci/waas/waas_client.py +66 -66
  873. oci/waf/waf_client.py +24 -24
  874. oci/work_requests/work_request_client.py +4 -4
  875. {oci-2.125.2.dist-info → oci-2.126.0.dist-info}/METADATA +1 -1
  876. {oci-2.125.2.dist-info → oci-2.126.0.dist-info}/RECORD +880 -764
  877. oci/application_migration/application_migration_client.py +0 -2489
  878. oci/application_migration/application_migration_client_composite_operations.py +0 -419
  879. oci/application_migration/models/__init__.py +0 -84
  880. oci/application_migration/models/authorization_details.py +0 -130
  881. oci/application_migration/models/configuration_field.py +0 -291
  882. oci/application_migration/models/create_migration_details.py +0 -464
  883. oci/application_migration/models/create_source_details.py +0 -272
  884. oci/application_migration/models/discovery_details.py +0 -141
  885. oci/application_migration/models/ics_discovery_details.py +0 -114
  886. oci/application_migration/models/import_manifest.py +0 -227
  887. oci/application_migration/models/import_source_details.py +0 -171
  888. oci/application_migration/models/internal_authorization_details.py +0 -113
  889. oci/application_migration/models/internal_source_details.py +0 -82
  890. oci/application_migration/models/jcs_discovery_details.py +0 -115
  891. oci/application_migration/models/migration.py +0 -731
  892. oci/application_migration/models/migration_summary.py +0 -572
  893. oci/application_migration/models/oac_discovery_details.py +0 -113
  894. oci/application_migration/models/occ_authorization_details.py +0 -113
  895. oci/application_migration/models/occ_source_details.py +0 -86
  896. oci/application_migration/models/ocic_authorization_details.py +0 -113
  897. oci/application_migration/models/ocic_authorization_token_details.py +0 -113
  898. oci/application_migration/models/ocic_source_details.py +0 -121
  899. oci/application_migration/models/oic_discovery_details.py +0 -114
  900. oci/application_migration/models/pcs_discovery_details.py +0 -114
  901. oci/application_migration/models/resource_field.py +0 -165
  902. oci/application_migration/models/soacs_discovery_details.py +0 -115
  903. oci/application_migration/models/source.py +0 -407
  904. oci/application_migration/models/source_application.py +0 -232
  905. oci/application_migration/models/source_application_summary.py +0 -233
  906. oci/application_migration/models/source_details.py +0 -137
  907. oci/application_migration/models/source_summary.py +0 -431
  908. oci/application_migration/models/update_migration_details.py +0 -309
  909. oci/application_migration/models/update_source_details.py +0 -232
  910. {oci-2.125.2.dist-info → oci-2.126.0.dist-info}/LICENSE.txt +0 -0
  911. {oci-2.125.2.dist-info → oci-2.126.0.dist-info}/THIRD_PARTY_LICENSES.txt +0 -0
  912. {oci-2.125.2.dist-info → oci-2.126.0.dist-info}/WHEEL +0 -0
  913. {oci-2.125.2.dist-info → oci-2.126.0.dist-info}/top_level.txt +0 -0
@@ -0,0 +1,1115 @@
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: 20220901
6
+
7
+ from __future__ import absolute_import
8
+
9
+ from oci._vendor import requests # noqa: F401
10
+ from oci._vendor import six
11
+
12
+ from oci import retry, circuit_breaker # noqa: F401
13
+ from oci.base_client import BaseClient
14
+ from oci.config import get_config_value_or_default, validate_config
15
+ from oci.signer import Signer
16
+ from oci.util import Sentinel, get_signer_from_authentication_type, AUTHENTICATION_TYPE_FIELD_NAME
17
+ from oci.exceptions import InvalidAlloyConfig
18
+ from oci.alloy import OCI_SDK_ENABLED_SERVICES_SET
19
+ from .models import os_management_hub_type_mapping
20
+ missing = Sentinel("Missing")
21
+
22
+
23
+ class EventClient(object):
24
+ """
25
+ Use the OS Management Hub API to manage and monitor updates and patches for instances in OCI, your private data center, or 3rd-party clouds.
26
+ For more information, see [Overview of OS Management Hub](https://docs.cloud.oracle.com/iaas/osmh/doc/overview.htm).
27
+ """
28
+
29
+ def __init__(self, config, **kwargs):
30
+ """
31
+ Creates a new service client
32
+
33
+ :param dict config:
34
+ Configuration keys and values as per `SDK and Tool Configuration <https://docs.cloud.oracle.com/Content/API/Concepts/sdkconfig.htm>`__.
35
+ The :py:meth:`~oci.config.from_file` method can be used to load configuration from a file. Alternatively, a ``dict`` can be passed. You can validate_config
36
+ the dict using :py:meth:`~oci.config.validate_config`
37
+
38
+ :param str service_endpoint: (optional)
39
+ The endpoint of the service to call using this client. For example ``https://iaas.us-ashburn-1.oraclecloud.com``. If this keyword argument is
40
+ not provided then it will be derived using the region in the config parameter. You should only provide this keyword argument if you have an explicit
41
+ need to specify a service endpoint.
42
+
43
+ :param timeout: (optional)
44
+ The connection and read timeouts for the client. The default values are connection timeout 10 seconds and read timeout 60 seconds. This keyword argument can be provided
45
+ as a single float, in which case the value provided is used for both the read and connection timeouts, or as a tuple of two floats. If
46
+ a tuple is provided then the first value is used as the connection timeout and the second value as the read timeout.
47
+ :type timeout: float or tuple(float, float)
48
+
49
+ :param signer: (optional)
50
+ The signer to use when signing requests made by the service client. The default is to use a :py:class:`~oci.signer.Signer` based on the values
51
+ provided in the config parameter.
52
+
53
+ One use case for this parameter is for `Instance Principals authentication <https://docs.cloud.oracle.com/Content/Identity/Tasks/callingservicesfrominstances.htm>`__
54
+ by passing an instance of :py:class:`~oci.auth.signers.InstancePrincipalsSecurityTokenSigner` as the value for this keyword argument
55
+ :type signer: :py:class:`~oci.signer.AbstractBaseSigner`
56
+
57
+ :param obj retry_strategy: (optional)
58
+ A retry strategy to apply to all calls made by this service client (i.e. at the client level). There is no retry strategy applied by default.
59
+ Retry strategies can also be applied at the operation level by passing a ``retry_strategy`` keyword argument as part of calling the operation.
60
+ Any value provided at the operation level will override whatever is specified at the client level.
61
+
62
+ This should be one of the strategies available in the :py:mod:`~oci.retry` module. A convenience :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY`
63
+ is also available. The specifics of the default retry strategy are described `here <https://docs.oracle.com/en-us/iaas/tools/python/latest/sdk_behaviors/retries.html>`__.
64
+
65
+ :param obj circuit_breaker_strategy: (optional)
66
+ A circuit breaker strategy to apply to all calls made by this service client (i.e. at the client level).
67
+ This client uses :py:data:`~oci.circuit_breaker.DEFAULT_CIRCUIT_BREAKER_STRATEGY` as default if no circuit breaker strategy is provided.
68
+ The specifics of circuit breaker strategy are described `here <https://docs.oracle.com/en-us/iaas/tools/python/latest/sdk_behaviors/circuit_breakers.html>`__.
69
+
70
+ :param function circuit_breaker_callback: (optional)
71
+ Callback function to receive any exceptions triggerred by the circuit breaker.
72
+
73
+ :param bool client_level_realm_specific_endpoint_template_enabled: (optional)
74
+ A boolean flag to indicate whether or not this client should be created with realm specific endpoint template enabled or disable. By default, this will be set as None.
75
+
76
+ :param allow_control_chars: (optional)
77
+ allow_control_chars is a boolean to indicate whether or not this client should allow control characters in the response object. By default, the client will not
78
+ allow control characters to be in the response object.
79
+ """
80
+ if not OCI_SDK_ENABLED_SERVICES_SET.is_service_enabled("os_management_hub"):
81
+ raise InvalidAlloyConfig("The Alloy configuration has disabled this service, this behavior is controlled by OCI_SDK_ENABLED_SERVICES_SET variable. Please check if your local alloy-config file configured the service you're targeting or contact the cloud provider on the availability of this service")
82
+
83
+ validate_config(config, signer=kwargs.get('signer'))
84
+ if 'signer' in kwargs:
85
+ signer = kwargs['signer']
86
+
87
+ elif AUTHENTICATION_TYPE_FIELD_NAME in config:
88
+ signer = get_signer_from_authentication_type(config)
89
+
90
+ else:
91
+ signer = Signer(
92
+ tenancy=config["tenancy"],
93
+ user=config["user"],
94
+ fingerprint=config["fingerprint"],
95
+ private_key_file_location=config.get("key_file"),
96
+ pass_phrase=get_config_value_or_default(config, "pass_phrase"),
97
+ private_key_content=config.get("key_content")
98
+ )
99
+
100
+ base_client_init_kwargs = {
101
+ 'regional_client': True,
102
+ 'service_endpoint': kwargs.get('service_endpoint'),
103
+ 'base_path': '/20220901',
104
+ 'service_endpoint_template': 'https://osmh.{region}.oci.{secondLevelDomain}',
105
+ 'service_endpoint_template_per_realm': { }, # noqa: E201 E202
106
+ 'skip_deserialization': kwargs.get('skip_deserialization', False),
107
+ 'circuit_breaker_strategy': kwargs.get('circuit_breaker_strategy', circuit_breaker.GLOBAL_CIRCUIT_BREAKER_STRATEGY),
108
+ 'client_level_realm_specific_endpoint_template_enabled': kwargs.get('client_level_realm_specific_endpoint_template_enabled')
109
+ }
110
+ if 'timeout' in kwargs:
111
+ base_client_init_kwargs['timeout'] = kwargs.get('timeout')
112
+ if base_client_init_kwargs.get('circuit_breaker_strategy') is None:
113
+ base_client_init_kwargs['circuit_breaker_strategy'] = circuit_breaker.DEFAULT_CIRCUIT_BREAKER_STRATEGY
114
+ if 'allow_control_chars' in kwargs:
115
+ base_client_init_kwargs['allow_control_chars'] = kwargs.get('allow_control_chars')
116
+ self.base_client = BaseClient("event", config, signer, os_management_hub_type_mapping, **base_client_init_kwargs)
117
+ self.retry_strategy = kwargs.get('retry_strategy')
118
+ self.circuit_breaker_callback = kwargs.get('circuit_breaker_callback')
119
+
120
+ def change_event_compartment(self, change_event_compartment_details, event_id, **kwargs):
121
+ """
122
+ Moves an event into a different compartment within the same tenancy. For information about moving resources between
123
+ compartments, see `Moving Resources to a Different Compartment`__.
124
+
125
+ __ https://docs.cloud.oracle.com/iaas/Content/Identity/Tasks/managingcompartments.htm#moveRes
126
+
127
+
128
+ :param oci.os_management_hub.models.ChangeEventCompartmentDetails change_event_compartment_details: (required)
129
+ Specifies the compartment to move the event to.
130
+
131
+ :param str event_id: (required)
132
+ The `OCID`__ of the event.
133
+
134
+ __ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm
135
+
136
+ :param str if_match: (optional)
137
+ For optimistic concurrency control. In the PUT or DELETE call
138
+ for a resource, set the `if-match` parameter to the value of the
139
+ etag from a previous GET or POST response for that resource.
140
+ The resource will be updated or deleted only if the etag you
141
+ provide matches the resource's current etag value.
142
+
143
+ :param str opc_request_id: (optional)
144
+ Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID.
145
+
146
+ :param str opc_retry_token: (optional)
147
+ A token that uniquely identifies a request so it can be retried in case of a timeout or
148
+ server error without risk of executing that same action again. Retry tokens expire after 24
149
+ hours, but can be invalidated before then due to conflicting operations. For example, if a resource
150
+ has been deleted and purged from the system, then a retry of the original creation request
151
+ might be rejected.
152
+
153
+ :param obj retry_strategy: (optional)
154
+ A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.
155
+
156
+ This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation uses :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` as default if no retry strategy is provided.
157
+ The specifics of the default retry strategy are described `here <https://docs.oracle.com/en-us/iaas/tools/python/latest/sdk_behaviors/retries.html>`__.
158
+
159
+ To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.
160
+
161
+ :param bool allow_control_chars: (optional)
162
+ allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object.
163
+ By default, the response will not allow control characters in strings
164
+
165
+ :return: A :class:`~oci.response.Response` object with data of type None
166
+ :rtype: :class:`~oci.response.Response`
167
+
168
+ :example:
169
+ Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.126.0/osmanagementhub/change_event_compartment.py.html>`__ to see an example of how to use change_event_compartment API.
170
+ """
171
+ # Required path and query arguments. These are in camelCase to replace values in service endpoints.
172
+ required_arguments = ['eventId']
173
+ resource_path = "/events/{eventId}/actions/changeCompartment"
174
+ method = "POST"
175
+ operation_name = "change_event_compartment"
176
+ api_reference_link = "https://docs.oracle.com/iaas/api/#/en/osmh/20220901/Event/ChangeEventCompartment"
177
+
178
+ # Don't accept unknown kwargs
179
+ expected_kwargs = [
180
+ "allow_control_chars",
181
+ "retry_strategy",
182
+ "if_match",
183
+ "opc_request_id",
184
+ "opc_retry_token"
185
+ ]
186
+ extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
187
+ if extra_kwargs:
188
+ raise ValueError(
189
+ f"change_event_compartment got unknown kwargs: {extra_kwargs!r}")
190
+
191
+ path_params = {
192
+ "eventId": event_id
193
+ }
194
+
195
+ path_params = {k: v for (k, v) in six.iteritems(path_params) if v is not missing}
196
+
197
+ for (k, v) in six.iteritems(path_params):
198
+ if v is None or (isinstance(v, six.string_types) and len(v.strip()) == 0):
199
+ raise ValueError(f'Parameter {k} cannot be None, whitespace or empty string')
200
+
201
+ header_params = {
202
+ "accept": "application/json",
203
+ "content-type": "application/json",
204
+ "if-match": kwargs.get("if_match", missing),
205
+ "opc-request-id": kwargs.get("opc_request_id", missing),
206
+ "opc-retry-token": kwargs.get("opc_retry_token", missing)
207
+ }
208
+ header_params = {k: v for (k, v) in six.iteritems(header_params) if v is not missing and v is not None}
209
+
210
+ retry_strategy = self.base_client.get_preferred_retry_strategy(
211
+ operation_retry_strategy=kwargs.get('retry_strategy'),
212
+ client_retry_strategy=self.retry_strategy
213
+ )
214
+ if retry_strategy is None:
215
+ retry_strategy = retry.DEFAULT_RETRY_STRATEGY
216
+
217
+ if retry_strategy:
218
+ if not isinstance(retry_strategy, retry.NoneRetryStrategy):
219
+ self.base_client.add_opc_retry_token_if_needed(header_params)
220
+ self.base_client.add_opc_client_retries_header(header_params)
221
+ retry_strategy.add_circuit_breaker_callback(self.circuit_breaker_callback)
222
+ return retry_strategy.make_retrying_call(
223
+ self.base_client.call_api,
224
+ resource_path=resource_path,
225
+ method=method,
226
+ path_params=path_params,
227
+ header_params=header_params,
228
+ body=change_event_compartment_details,
229
+ allow_control_chars=kwargs.get('allow_control_chars'),
230
+ operation_name=operation_name,
231
+ api_reference_link=api_reference_link,
232
+ required_arguments=required_arguments)
233
+ else:
234
+ return self.base_client.call_api(
235
+ resource_path=resource_path,
236
+ method=method,
237
+ path_params=path_params,
238
+ header_params=header_params,
239
+ body=change_event_compartment_details,
240
+ allow_control_chars=kwargs.get('allow_control_chars'),
241
+ operation_name=operation_name,
242
+ api_reference_link=api_reference_link,
243
+ required_arguments=required_arguments)
244
+
245
+ def delete_event(self, event_id, **kwargs):
246
+ """
247
+ Deletes the specified event.
248
+
249
+
250
+ :param str event_id: (required)
251
+ The `OCID`__ of the event.
252
+
253
+ __ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm
254
+
255
+ :param str if_match: (optional)
256
+ For optimistic concurrency control. In the PUT or DELETE call
257
+ for a resource, set the `if-match` parameter to the value of the
258
+ etag from a previous GET or POST response for that resource.
259
+ The resource will be updated or deleted only if the etag you
260
+ provide matches the resource's current etag value.
261
+
262
+ :param str opc_request_id: (optional)
263
+ Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID.
264
+
265
+ :param obj retry_strategy: (optional)
266
+ A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.
267
+
268
+ This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation uses :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` as default if no retry strategy is provided.
269
+ The specifics of the default retry strategy are described `here <https://docs.oracle.com/en-us/iaas/tools/python/latest/sdk_behaviors/retries.html>`__.
270
+
271
+ To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.
272
+
273
+ :param bool allow_control_chars: (optional)
274
+ allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object.
275
+ By default, the response will not allow control characters in strings
276
+
277
+ :return: A :class:`~oci.response.Response` object with data of type None
278
+ :rtype: :class:`~oci.response.Response`
279
+
280
+ :example:
281
+ Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.126.0/osmanagementhub/delete_event.py.html>`__ to see an example of how to use delete_event API.
282
+ """
283
+ # Required path and query arguments. These are in camelCase to replace values in service endpoints.
284
+ required_arguments = ['eventId']
285
+ resource_path = "/events/{eventId}"
286
+ method = "DELETE"
287
+ operation_name = "delete_event"
288
+ api_reference_link = "https://docs.oracle.com/iaas/api/#/en/osmh/20220901/Event/DeleteEvent"
289
+
290
+ # Don't accept unknown kwargs
291
+ expected_kwargs = [
292
+ "allow_control_chars",
293
+ "retry_strategy",
294
+ "if_match",
295
+ "opc_request_id"
296
+ ]
297
+ extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
298
+ if extra_kwargs:
299
+ raise ValueError(
300
+ f"delete_event got unknown kwargs: {extra_kwargs!r}")
301
+
302
+ path_params = {
303
+ "eventId": event_id
304
+ }
305
+
306
+ path_params = {k: v for (k, v) in six.iteritems(path_params) if v is not missing}
307
+
308
+ for (k, v) in six.iteritems(path_params):
309
+ if v is None or (isinstance(v, six.string_types) and len(v.strip()) == 0):
310
+ raise ValueError(f'Parameter {k} cannot be None, whitespace or empty string')
311
+
312
+ header_params = {
313
+ "accept": "application/json",
314
+ "content-type": "application/json",
315
+ "if-match": kwargs.get("if_match", missing),
316
+ "opc-request-id": kwargs.get("opc_request_id", missing)
317
+ }
318
+ header_params = {k: v for (k, v) in six.iteritems(header_params) if v is not missing and v is not None}
319
+
320
+ retry_strategy = self.base_client.get_preferred_retry_strategy(
321
+ operation_retry_strategy=kwargs.get('retry_strategy'),
322
+ client_retry_strategy=self.retry_strategy
323
+ )
324
+ if retry_strategy is None:
325
+ retry_strategy = retry.DEFAULT_RETRY_STRATEGY
326
+
327
+ if retry_strategy:
328
+ if not isinstance(retry_strategy, retry.NoneRetryStrategy):
329
+ self.base_client.add_opc_client_retries_header(header_params)
330
+ retry_strategy.add_circuit_breaker_callback(self.circuit_breaker_callback)
331
+ return retry_strategy.make_retrying_call(
332
+ self.base_client.call_api,
333
+ resource_path=resource_path,
334
+ method=method,
335
+ path_params=path_params,
336
+ header_params=header_params,
337
+ allow_control_chars=kwargs.get('allow_control_chars'),
338
+ operation_name=operation_name,
339
+ api_reference_link=api_reference_link,
340
+ required_arguments=required_arguments)
341
+ else:
342
+ return self.base_client.call_api(
343
+ resource_path=resource_path,
344
+ method=method,
345
+ path_params=path_params,
346
+ header_params=header_params,
347
+ allow_control_chars=kwargs.get('allow_control_chars'),
348
+ operation_name=operation_name,
349
+ api_reference_link=api_reference_link,
350
+ required_arguments=required_arguments)
351
+
352
+ def delete_event_content(self, event_id, **kwargs):
353
+ """
354
+ Deletes an event content ZIP archive from the service.
355
+
356
+
357
+ :param str event_id: (required)
358
+ The `OCID`__ of the event.
359
+
360
+ __ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm
361
+
362
+ :param str opc_request_id: (optional)
363
+ Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID.
364
+
365
+ :param str if_match: (optional)
366
+ For optimistic concurrency control. In the PUT or DELETE call
367
+ for a resource, set the `if-match` parameter to the value of the
368
+ etag from a previous GET or POST response for that resource.
369
+ The resource will be updated or deleted only if the etag you
370
+ provide matches the resource's current etag value.
371
+
372
+ :param str opc_retry_token: (optional)
373
+ A token that uniquely identifies a request so it can be retried in case of a timeout or
374
+ server error without risk of executing that same action again. Retry tokens expire after 24
375
+ hours, but can be invalidated before then due to conflicting operations. For example, if a resource
376
+ has been deleted and purged from the system, then a retry of the original creation request
377
+ might be rejected.
378
+
379
+ :param obj retry_strategy: (optional)
380
+ A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.
381
+
382
+ This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation uses :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` as default if no retry strategy is provided.
383
+ The specifics of the default retry strategy are described `here <https://docs.oracle.com/en-us/iaas/tools/python/latest/sdk_behaviors/retries.html>`__.
384
+
385
+ To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.
386
+
387
+ :param bool allow_control_chars: (optional)
388
+ allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object.
389
+ By default, the response will not allow control characters in strings
390
+
391
+ :return: A :class:`~oci.response.Response` object with data of type None
392
+ :rtype: :class:`~oci.response.Response`
393
+
394
+ :example:
395
+ Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.126.0/osmanagementhub/delete_event_content.py.html>`__ to see an example of how to use delete_event_content API.
396
+ """
397
+ # Required path and query arguments. These are in camelCase to replace values in service endpoints.
398
+ required_arguments = ['eventId']
399
+ resource_path = "/events/{eventId}/content"
400
+ method = "DELETE"
401
+ operation_name = "delete_event_content"
402
+ api_reference_link = "https://docs.oracle.com/iaas/api/#/en/osmh/20220901/Event/DeleteEventContent"
403
+
404
+ # Don't accept unknown kwargs
405
+ expected_kwargs = [
406
+ "allow_control_chars",
407
+ "retry_strategy",
408
+ "opc_request_id",
409
+ "if_match",
410
+ "opc_retry_token"
411
+ ]
412
+ extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
413
+ if extra_kwargs:
414
+ raise ValueError(
415
+ f"delete_event_content got unknown kwargs: {extra_kwargs!r}")
416
+
417
+ path_params = {
418
+ "eventId": event_id
419
+ }
420
+
421
+ path_params = {k: v for (k, v) in six.iteritems(path_params) if v is not missing}
422
+
423
+ for (k, v) in six.iteritems(path_params):
424
+ if v is None or (isinstance(v, six.string_types) and len(v.strip()) == 0):
425
+ raise ValueError(f'Parameter {k} cannot be None, whitespace or empty string')
426
+
427
+ header_params = {
428
+ "accept": "application/json",
429
+ "content-type": "application/json",
430
+ "opc-request-id": kwargs.get("opc_request_id", missing),
431
+ "if-match": kwargs.get("if_match", missing),
432
+ "opc-retry-token": kwargs.get("opc_retry_token", missing)
433
+ }
434
+ header_params = {k: v for (k, v) in six.iteritems(header_params) if v is not missing and v is not None}
435
+
436
+ retry_strategy = self.base_client.get_preferred_retry_strategy(
437
+ operation_retry_strategy=kwargs.get('retry_strategy'),
438
+ client_retry_strategy=self.retry_strategy
439
+ )
440
+ if retry_strategy is None:
441
+ retry_strategy = retry.DEFAULT_RETRY_STRATEGY
442
+
443
+ if retry_strategy:
444
+ if not isinstance(retry_strategy, retry.NoneRetryStrategy):
445
+ self.base_client.add_opc_retry_token_if_needed(header_params)
446
+ self.base_client.add_opc_client_retries_header(header_params)
447
+ retry_strategy.add_circuit_breaker_callback(self.circuit_breaker_callback)
448
+ return retry_strategy.make_retrying_call(
449
+ self.base_client.call_api,
450
+ resource_path=resource_path,
451
+ method=method,
452
+ path_params=path_params,
453
+ header_params=header_params,
454
+ allow_control_chars=kwargs.get('allow_control_chars'),
455
+ operation_name=operation_name,
456
+ api_reference_link=api_reference_link,
457
+ required_arguments=required_arguments)
458
+ else:
459
+ return self.base_client.call_api(
460
+ resource_path=resource_path,
461
+ method=method,
462
+ path_params=path_params,
463
+ header_params=header_params,
464
+ allow_control_chars=kwargs.get('allow_control_chars'),
465
+ operation_name=operation_name,
466
+ api_reference_link=api_reference_link,
467
+ required_arguments=required_arguments)
468
+
469
+ def get_event(self, event_id, **kwargs):
470
+ """
471
+ Returns information about the specified event.
472
+
473
+
474
+ :param str event_id: (required)
475
+ The `OCID`__ of the event.
476
+
477
+ __ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm
478
+
479
+ :param str opc_request_id: (optional)
480
+ Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID.
481
+
482
+ :param obj retry_strategy: (optional)
483
+ A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.
484
+
485
+ This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation uses :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` as default if no retry strategy is provided.
486
+ The specifics of the default retry strategy are described `here <https://docs.oracle.com/en-us/iaas/tools/python/latest/sdk_behaviors/retries.html>`__.
487
+
488
+ To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.
489
+
490
+ :param bool allow_control_chars: (optional)
491
+ allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object.
492
+ By default, the response will not allow control characters in strings
493
+
494
+ :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.os_management_hub.models.Event`
495
+ :rtype: :class:`~oci.response.Response`
496
+
497
+ :example:
498
+ Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.126.0/osmanagementhub/get_event.py.html>`__ to see an example of how to use get_event API.
499
+ """
500
+ # Required path and query arguments. These are in camelCase to replace values in service endpoints.
501
+ required_arguments = ['eventId']
502
+ resource_path = "/events/{eventId}"
503
+ method = "GET"
504
+ operation_name = "get_event"
505
+ api_reference_link = "https://docs.oracle.com/iaas/api/#/en/osmh/20220901/Event/GetEvent"
506
+
507
+ # Don't accept unknown kwargs
508
+ expected_kwargs = [
509
+ "allow_control_chars",
510
+ "retry_strategy",
511
+ "opc_request_id"
512
+ ]
513
+ extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
514
+ if extra_kwargs:
515
+ raise ValueError(
516
+ f"get_event got unknown kwargs: {extra_kwargs!r}")
517
+
518
+ path_params = {
519
+ "eventId": event_id
520
+ }
521
+
522
+ path_params = {k: v for (k, v) in six.iteritems(path_params) if v is not missing}
523
+
524
+ for (k, v) in six.iteritems(path_params):
525
+ if v is None or (isinstance(v, six.string_types) and len(v.strip()) == 0):
526
+ raise ValueError(f'Parameter {k} cannot be None, whitespace or empty string')
527
+
528
+ header_params = {
529
+ "accept": "application/json",
530
+ "content-type": "application/json",
531
+ "opc-request-id": kwargs.get("opc_request_id", missing)
532
+ }
533
+ header_params = {k: v for (k, v) in six.iteritems(header_params) if v is not missing and v is not None}
534
+
535
+ retry_strategy = self.base_client.get_preferred_retry_strategy(
536
+ operation_retry_strategy=kwargs.get('retry_strategy'),
537
+ client_retry_strategy=self.retry_strategy
538
+ )
539
+ if retry_strategy is None:
540
+ retry_strategy = retry.DEFAULT_RETRY_STRATEGY
541
+
542
+ if retry_strategy:
543
+ if not isinstance(retry_strategy, retry.NoneRetryStrategy):
544
+ self.base_client.add_opc_client_retries_header(header_params)
545
+ retry_strategy.add_circuit_breaker_callback(self.circuit_breaker_callback)
546
+ return retry_strategy.make_retrying_call(
547
+ self.base_client.call_api,
548
+ resource_path=resource_path,
549
+ method=method,
550
+ path_params=path_params,
551
+ header_params=header_params,
552
+ response_type="Event",
553
+ allow_control_chars=kwargs.get('allow_control_chars'),
554
+ operation_name=operation_name,
555
+ api_reference_link=api_reference_link,
556
+ required_arguments=required_arguments)
557
+ else:
558
+ return self.base_client.call_api(
559
+ resource_path=resource_path,
560
+ method=method,
561
+ path_params=path_params,
562
+ header_params=header_params,
563
+ response_type="Event",
564
+ allow_control_chars=kwargs.get('allow_control_chars'),
565
+ operation_name=operation_name,
566
+ api_reference_link=api_reference_link,
567
+ required_arguments=required_arguments)
568
+
569
+ def get_event_content(self, event_id, **kwargs):
570
+ """
571
+ Returns a ZIP archive with additional information about an event. The archive content depends on the event type.
572
+
573
+
574
+ :param str event_id: (required)
575
+ The `OCID`__ of the event.
576
+
577
+ __ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm
578
+
579
+ :param str opc_request_id: (optional)
580
+ Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID.
581
+
582
+ :param obj retry_strategy: (optional)
583
+ A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.
584
+
585
+ This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation uses :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` as default if no retry strategy is provided.
586
+ The specifics of the default retry strategy are described `here <https://docs.oracle.com/en-us/iaas/tools/python/latest/sdk_behaviors/retries.html>`__.
587
+
588
+ To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.
589
+
590
+ :param bool allow_control_chars: (optional)
591
+ allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object.
592
+ By default, the response will not allow control characters in strings
593
+
594
+ :return: A :class:`~oci.response.Response` object with data of type stream
595
+ :rtype: :class:`~oci.response.Response`
596
+
597
+ :example:
598
+ Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.126.0/osmanagementhub/get_event_content.py.html>`__ to see an example of how to use get_event_content API.
599
+ """
600
+ # Required path and query arguments. These are in camelCase to replace values in service endpoints.
601
+ required_arguments = ['eventId']
602
+ resource_path = "/events/{eventId}/content"
603
+ method = "GET"
604
+ operation_name = "get_event_content"
605
+ api_reference_link = "https://docs.oracle.com/iaas/api/#/en/osmh/20220901/Event/GetEventContent"
606
+
607
+ # Don't accept unknown kwargs
608
+ expected_kwargs = [
609
+ "allow_control_chars",
610
+ "retry_strategy",
611
+ "opc_request_id"
612
+ ]
613
+ extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
614
+ if extra_kwargs:
615
+ raise ValueError(
616
+ f"get_event_content got unknown kwargs: {extra_kwargs!r}")
617
+
618
+ path_params = {
619
+ "eventId": event_id
620
+ }
621
+
622
+ path_params = {k: v for (k, v) in six.iteritems(path_params) if v is not missing}
623
+
624
+ for (k, v) in six.iteritems(path_params):
625
+ if v is None or (isinstance(v, six.string_types) and len(v.strip()) == 0):
626
+ raise ValueError(f'Parameter {k} cannot be None, whitespace or empty string')
627
+
628
+ header_params = {
629
+ "accept": "application/octet-stream",
630
+ "content-type": "application/json",
631
+ "opc-request-id": kwargs.get("opc_request_id", missing)
632
+ }
633
+ header_params = {k: v for (k, v) in six.iteritems(header_params) if v is not missing and v is not None}
634
+
635
+ retry_strategy = self.base_client.get_preferred_retry_strategy(
636
+ operation_retry_strategy=kwargs.get('retry_strategy'),
637
+ client_retry_strategy=self.retry_strategy
638
+ )
639
+ if retry_strategy is None:
640
+ retry_strategy = retry.DEFAULT_RETRY_STRATEGY
641
+
642
+ if retry_strategy:
643
+ if not isinstance(retry_strategy, retry.NoneRetryStrategy):
644
+ self.base_client.add_opc_client_retries_header(header_params)
645
+ retry_strategy.add_circuit_breaker_callback(self.circuit_breaker_callback)
646
+ return retry_strategy.make_retrying_call(
647
+ self.base_client.call_api,
648
+ resource_path=resource_path,
649
+ method=method,
650
+ path_params=path_params,
651
+ header_params=header_params,
652
+ response_type="stream",
653
+ allow_control_chars=kwargs.get('allow_control_chars'),
654
+ operation_name=operation_name,
655
+ api_reference_link=api_reference_link,
656
+ required_arguments=required_arguments)
657
+ else:
658
+ return self.base_client.call_api(
659
+ resource_path=resource_path,
660
+ method=method,
661
+ path_params=path_params,
662
+ header_params=header_params,
663
+ response_type="stream",
664
+ allow_control_chars=kwargs.get('allow_control_chars'),
665
+ operation_name=operation_name,
666
+ api_reference_link=api_reference_link,
667
+ required_arguments=required_arguments)
668
+
669
+ def import_event_content(self, event_id, **kwargs):
670
+ """
671
+ Uploads an event content ZIP archive from an instance to the service.
672
+
673
+
674
+ :param str event_id: (required)
675
+ The `OCID`__ of the event.
676
+
677
+ __ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm
678
+
679
+ :param str opc_request_id: (optional)
680
+ Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID.
681
+
682
+ :param str if_match: (optional)
683
+ For optimistic concurrency control. In the PUT or DELETE call
684
+ for a resource, set the `if-match` parameter to the value of the
685
+ etag from a previous GET or POST response for that resource.
686
+ The resource will be updated or deleted only if the etag you
687
+ provide matches the resource's current etag value.
688
+
689
+ :param str opc_retry_token: (optional)
690
+ A token that uniquely identifies a request so it can be retried in case of a timeout or
691
+ server error without risk of executing that same action again. Retry tokens expire after 24
692
+ hours, but can be invalidated before then due to conflicting operations. For example, if a resource
693
+ has been deleted and purged from the system, then a retry of the original creation request
694
+ might be rejected.
695
+
696
+ :param obj retry_strategy: (optional)
697
+ A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.
698
+
699
+ This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation uses :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` as default if no retry strategy is provided.
700
+ The specifics of the default retry strategy are described `here <https://docs.oracle.com/en-us/iaas/tools/python/latest/sdk_behaviors/retries.html>`__.
701
+
702
+ To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.
703
+
704
+ :param bool allow_control_chars: (optional)
705
+ allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object.
706
+ By default, the response will not allow control characters in strings
707
+
708
+ :return: A :class:`~oci.response.Response` object with data of type None
709
+ :rtype: :class:`~oci.response.Response`
710
+
711
+ :example:
712
+ Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.126.0/osmanagementhub/import_event_content.py.html>`__ to see an example of how to use import_event_content API.
713
+ """
714
+ # Required path and query arguments. These are in camelCase to replace values in service endpoints.
715
+ required_arguments = ['eventId']
716
+ resource_path = "/events/{eventId}/actions/importContent"
717
+ method = "POST"
718
+ operation_name = "import_event_content"
719
+ api_reference_link = "https://docs.oracle.com/iaas/api/#/en/osmh/20220901/Event/ImportEventContent"
720
+
721
+ # Don't accept unknown kwargs
722
+ expected_kwargs = [
723
+ "allow_control_chars",
724
+ "retry_strategy",
725
+ "opc_request_id",
726
+ "if_match",
727
+ "opc_retry_token"
728
+ ]
729
+ extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
730
+ if extra_kwargs:
731
+ raise ValueError(
732
+ f"import_event_content got unknown kwargs: {extra_kwargs!r}")
733
+
734
+ path_params = {
735
+ "eventId": event_id
736
+ }
737
+
738
+ path_params = {k: v for (k, v) in six.iteritems(path_params) if v is not missing}
739
+
740
+ for (k, v) in six.iteritems(path_params):
741
+ if v is None or (isinstance(v, six.string_types) and len(v.strip()) == 0):
742
+ raise ValueError(f'Parameter {k} cannot be None, whitespace or empty string')
743
+
744
+ header_params = {
745
+ "accept": "application/json",
746
+ "content-type": "application/json",
747
+ "opc-request-id": kwargs.get("opc_request_id", missing),
748
+ "if-match": kwargs.get("if_match", missing),
749
+ "opc-retry-token": kwargs.get("opc_retry_token", missing)
750
+ }
751
+ header_params = {k: v for (k, v) in six.iteritems(header_params) if v is not missing and v is not None}
752
+
753
+ retry_strategy = self.base_client.get_preferred_retry_strategy(
754
+ operation_retry_strategy=kwargs.get('retry_strategy'),
755
+ client_retry_strategy=self.retry_strategy
756
+ )
757
+ if retry_strategy is None:
758
+ retry_strategy = retry.DEFAULT_RETRY_STRATEGY
759
+
760
+ if retry_strategy:
761
+ if not isinstance(retry_strategy, retry.NoneRetryStrategy):
762
+ self.base_client.add_opc_retry_token_if_needed(header_params)
763
+ self.base_client.add_opc_client_retries_header(header_params)
764
+ retry_strategy.add_circuit_breaker_callback(self.circuit_breaker_callback)
765
+ return retry_strategy.make_retrying_call(
766
+ self.base_client.call_api,
767
+ resource_path=resource_path,
768
+ method=method,
769
+ path_params=path_params,
770
+ header_params=header_params,
771
+ allow_control_chars=kwargs.get('allow_control_chars'),
772
+ operation_name=operation_name,
773
+ api_reference_link=api_reference_link,
774
+ required_arguments=required_arguments)
775
+ else:
776
+ return self.base_client.call_api(
777
+ resource_path=resource_path,
778
+ method=method,
779
+ path_params=path_params,
780
+ header_params=header_params,
781
+ allow_control_chars=kwargs.get('allow_control_chars'),
782
+ operation_name=operation_name,
783
+ api_reference_link=api_reference_link,
784
+ required_arguments=required_arguments)
785
+
786
+ def list_events(self, **kwargs):
787
+ """
788
+ Lists events that match the specified criteria, such as compartment, state, and event type.
789
+
790
+
791
+ :param str event_summary: (optional)
792
+ A filter to return only events whose summary matches the given value.
793
+
794
+ :param str event_summary_contains: (optional)
795
+ A filter to return only events with a summary that contains the value provided.
796
+
797
+ :param str id: (optional)
798
+ The `OCID`__ of the event.
799
+
800
+ __ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm
801
+
802
+ :param str event_fingerprint: (optional)
803
+ The eventFingerprint of the KernelEventData.
804
+
805
+ :param str compartment_id: (optional)
806
+ The OCID of the compartment that contains the resources to list. This filter returns only resources contained within the specified compartment.
807
+
808
+ :param str lifecycle_state: (optional)
809
+ A filter to return only events that match the state provided. The state value is case-insensitive.
810
+
811
+ Allowed values are: "CREATING", "UPDATING", "ACTIVE", "DELETING", "DELETED", "FAILED"
812
+
813
+ :param str resource_id: (optional)
814
+ The `OCID`__ of the resource. This filter returns resources associated with the specified resource.
815
+
816
+ __ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm
817
+
818
+ :param list[str] type: (optional)
819
+ A filter to return only resources whose type matches the given value.
820
+
821
+ Allowed values are: "KERNEL_OOPS", "KERNEL_CRASH", "EXPLOIT_ATTEMPT", "SOFTWARE_UPDATE", "KSPLICE_UPDATE", "SOFTWARE_SOURCE", "AGENT", "MANAGEMENT_STATION"
822
+
823
+ :param int limit: (optional)
824
+ For list pagination. The maximum number of results per page, or items to return in a paginated \"List\" call.
825
+ For important details about how pagination works, see `List Pagination`__.
826
+
827
+ Example: `50`
828
+
829
+ __ https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine
830
+
831
+ :param str page: (optional)
832
+ For list pagination. The value of the `opc-next-page` response header from the previous \"List\" call.
833
+ For important details about how pagination works, see `List Pagination`__.
834
+
835
+ Example: `3`
836
+
837
+ __ https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine
838
+
839
+ :param datetime time_created_less_than: (optional)
840
+ A filter that returns events that occurred on or before the date provided.
841
+ Example: `2016-08-25T21:10:29.600Z`
842
+
843
+ :param datetime time_created_greater_than_or_equal_to: (optional)
844
+ A filter that returns events that occurred on or after the date provided.
845
+ Example: `2016-08-25T21:10:29.600Z`
846
+
847
+ :param str sort_order: (optional)
848
+ The sort order to use, either 'ASC' or 'DESC'.
849
+
850
+ Allowed values are: "ASC", "DESC"
851
+
852
+ :param str sort_by: (optional)
853
+ The field to sort by. Only one sort order may be provided. Default order for timeCreated, timeOccurredAt and timeUpdated is descending. Default order for eventSummary is ascending.
854
+
855
+ Allowed values are: "timeCreated", "timeOccurredAt", "timeUpdated", "eventSummary"
856
+
857
+ :param str opc_request_id: (optional)
858
+ Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID.
859
+
860
+ :param bool is_managed_by_autonomous_linux: (optional)
861
+ Indicates whether to list only resources managed by the Autonomous Linux service.
862
+
863
+ :param obj retry_strategy: (optional)
864
+ A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.
865
+
866
+ This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation uses :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` as default if no retry strategy is provided.
867
+ The specifics of the default retry strategy are described `here <https://docs.oracle.com/en-us/iaas/tools/python/latest/sdk_behaviors/retries.html>`__.
868
+
869
+ To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.
870
+
871
+ :param bool allow_control_chars: (optional)
872
+ allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object.
873
+ By default, the response will not allow control characters in strings
874
+
875
+ :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.os_management_hub.models.EventCollection`
876
+ :rtype: :class:`~oci.response.Response`
877
+
878
+ :example:
879
+ Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.126.0/osmanagementhub/list_events.py.html>`__ to see an example of how to use list_events API.
880
+ """
881
+ # Required path and query arguments. These are in camelCase to replace values in service endpoints.
882
+ required_arguments = []
883
+ resource_path = "/events"
884
+ method = "GET"
885
+ operation_name = "list_events"
886
+ api_reference_link = "https://docs.oracle.com/iaas/api/#/en/osmh/20220901/EventCollection/ListEvents"
887
+
888
+ # Don't accept unknown kwargs
889
+ expected_kwargs = [
890
+ "allow_control_chars",
891
+ "retry_strategy",
892
+ "event_summary",
893
+ "event_summary_contains",
894
+ "id",
895
+ "event_fingerprint",
896
+ "compartment_id",
897
+ "lifecycle_state",
898
+ "resource_id",
899
+ "type",
900
+ "limit",
901
+ "page",
902
+ "time_created_less_than",
903
+ "time_created_greater_than_or_equal_to",
904
+ "sort_order",
905
+ "sort_by",
906
+ "opc_request_id",
907
+ "is_managed_by_autonomous_linux"
908
+ ]
909
+ extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
910
+ if extra_kwargs:
911
+ raise ValueError(
912
+ f"list_events got unknown kwargs: {extra_kwargs!r}")
913
+
914
+ if 'lifecycle_state' in kwargs:
915
+ lifecycle_state_allowed_values = ["CREATING", "UPDATING", "ACTIVE", "DELETING", "DELETED", "FAILED"]
916
+ if kwargs['lifecycle_state'] not in lifecycle_state_allowed_values:
917
+ raise ValueError(
918
+ f"Invalid value for `lifecycle_state`, must be one of { lifecycle_state_allowed_values }"
919
+ )
920
+
921
+ if 'type' in kwargs:
922
+ type_allowed_values = ["KERNEL_OOPS", "KERNEL_CRASH", "EXPLOIT_ATTEMPT", "SOFTWARE_UPDATE", "KSPLICE_UPDATE", "SOFTWARE_SOURCE", "AGENT", "MANAGEMENT_STATION"]
923
+ for type_item in kwargs['type']:
924
+ if type_item not in type_allowed_values:
925
+ raise ValueError(
926
+ f"Invalid value for `type`, must be one of { type_allowed_values }"
927
+ )
928
+
929
+ if 'sort_order' in kwargs:
930
+ sort_order_allowed_values = ["ASC", "DESC"]
931
+ if kwargs['sort_order'] not in sort_order_allowed_values:
932
+ raise ValueError(
933
+ f"Invalid value for `sort_order`, must be one of { sort_order_allowed_values }"
934
+ )
935
+
936
+ if 'sort_by' in kwargs:
937
+ sort_by_allowed_values = ["timeCreated", "timeOccurredAt", "timeUpdated", "eventSummary"]
938
+ if kwargs['sort_by'] not in sort_by_allowed_values:
939
+ raise ValueError(
940
+ f"Invalid value for `sort_by`, must be one of { sort_by_allowed_values }"
941
+ )
942
+
943
+ query_params = {
944
+ "eventSummary": kwargs.get("event_summary", missing),
945
+ "eventSummaryContains": kwargs.get("event_summary_contains", missing),
946
+ "id": kwargs.get("id", missing),
947
+ "eventFingerprint": kwargs.get("event_fingerprint", missing),
948
+ "compartmentId": kwargs.get("compartment_id", missing),
949
+ "lifecycleState": kwargs.get("lifecycle_state", missing),
950
+ "resourceId": kwargs.get("resource_id", missing),
951
+ "type": self.base_client.generate_collection_format_param(kwargs.get("type", missing), 'multi'),
952
+ "limit": kwargs.get("limit", missing),
953
+ "page": kwargs.get("page", missing),
954
+ "timeCreatedLessThan": kwargs.get("time_created_less_than", missing),
955
+ "timeCreatedGreaterThanOrEqualTo": kwargs.get("time_created_greater_than_or_equal_to", missing),
956
+ "sortOrder": kwargs.get("sort_order", missing),
957
+ "sortBy": kwargs.get("sort_by", missing),
958
+ "isManagedByAutonomousLinux": kwargs.get("is_managed_by_autonomous_linux", missing)
959
+ }
960
+ query_params = {k: v for (k, v) in six.iteritems(query_params) if v is not missing and v is not None}
961
+
962
+ header_params = {
963
+ "accept": "application/json",
964
+ "content-type": "application/json",
965
+ "opc-request-id": kwargs.get("opc_request_id", missing)
966
+ }
967
+ header_params = {k: v for (k, v) in six.iteritems(header_params) if v is not missing and v is not None}
968
+
969
+ retry_strategy = self.base_client.get_preferred_retry_strategy(
970
+ operation_retry_strategy=kwargs.get('retry_strategy'),
971
+ client_retry_strategy=self.retry_strategy
972
+ )
973
+ if retry_strategy is None:
974
+ retry_strategy = retry.DEFAULT_RETRY_STRATEGY
975
+
976
+ if retry_strategy:
977
+ if not isinstance(retry_strategy, retry.NoneRetryStrategy):
978
+ self.base_client.add_opc_client_retries_header(header_params)
979
+ retry_strategy.add_circuit_breaker_callback(self.circuit_breaker_callback)
980
+ return retry_strategy.make_retrying_call(
981
+ self.base_client.call_api,
982
+ resource_path=resource_path,
983
+ method=method,
984
+ query_params=query_params,
985
+ header_params=header_params,
986
+ response_type="EventCollection",
987
+ allow_control_chars=kwargs.get('allow_control_chars'),
988
+ operation_name=operation_name,
989
+ api_reference_link=api_reference_link,
990
+ required_arguments=required_arguments)
991
+ else:
992
+ return self.base_client.call_api(
993
+ resource_path=resource_path,
994
+ method=method,
995
+ query_params=query_params,
996
+ header_params=header_params,
997
+ response_type="EventCollection",
998
+ allow_control_chars=kwargs.get('allow_control_chars'),
999
+ operation_name=operation_name,
1000
+ api_reference_link=api_reference_link,
1001
+ required_arguments=required_arguments)
1002
+
1003
+ def update_event(self, event_id, update_event_details, **kwargs):
1004
+ """
1005
+ Updates the tags for an event.
1006
+
1007
+
1008
+ :param str event_id: (required)
1009
+ The `OCID`__ of the event.
1010
+
1011
+ __ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm
1012
+
1013
+ :param oci.os_management_hub.models.UpdateEventDetails update_event_details: (required)
1014
+ Provides the information used to update the event tags.
1015
+
1016
+ :param str if_match: (optional)
1017
+ For optimistic concurrency control. In the PUT or DELETE call
1018
+ for a resource, set the `if-match` parameter to the value of the
1019
+ etag from a previous GET or POST response for that resource.
1020
+ The resource will be updated or deleted only if the etag you
1021
+ provide matches the resource's current etag value.
1022
+
1023
+ :param str opc_request_id: (optional)
1024
+ Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID.
1025
+
1026
+ :param obj retry_strategy: (optional)
1027
+ A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.
1028
+
1029
+ This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation uses :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` as default if no retry strategy is provided.
1030
+ The specifics of the default retry strategy are described `here <https://docs.oracle.com/en-us/iaas/tools/python/latest/sdk_behaviors/retries.html>`__.
1031
+
1032
+ To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.
1033
+
1034
+ :param bool allow_control_chars: (optional)
1035
+ allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object.
1036
+ By default, the response will not allow control characters in strings
1037
+
1038
+ :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.os_management_hub.models.Event`
1039
+ :rtype: :class:`~oci.response.Response`
1040
+
1041
+ :example:
1042
+ Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.126.0/osmanagementhub/update_event.py.html>`__ to see an example of how to use update_event API.
1043
+ """
1044
+ # Required path and query arguments. These are in camelCase to replace values in service endpoints.
1045
+ required_arguments = ['eventId']
1046
+ resource_path = "/events/{eventId}"
1047
+ method = "PUT"
1048
+ operation_name = "update_event"
1049
+ api_reference_link = "https://docs.oracle.com/iaas/api/#/en/osmh/20220901/Event/UpdateEvent"
1050
+
1051
+ # Don't accept unknown kwargs
1052
+ expected_kwargs = [
1053
+ "allow_control_chars",
1054
+ "retry_strategy",
1055
+ "if_match",
1056
+ "opc_request_id"
1057
+ ]
1058
+ extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
1059
+ if extra_kwargs:
1060
+ raise ValueError(
1061
+ f"update_event got unknown kwargs: {extra_kwargs!r}")
1062
+
1063
+ path_params = {
1064
+ "eventId": event_id
1065
+ }
1066
+
1067
+ path_params = {k: v for (k, v) in six.iteritems(path_params) if v is not missing}
1068
+
1069
+ for (k, v) in six.iteritems(path_params):
1070
+ if v is None or (isinstance(v, six.string_types) and len(v.strip()) == 0):
1071
+ raise ValueError(f'Parameter {k} cannot be None, whitespace or empty string')
1072
+
1073
+ header_params = {
1074
+ "accept": "application/json",
1075
+ "content-type": "application/json",
1076
+ "if-match": kwargs.get("if_match", missing),
1077
+ "opc-request-id": kwargs.get("opc_request_id", missing)
1078
+ }
1079
+ header_params = {k: v for (k, v) in six.iteritems(header_params) if v is not missing and v is not None}
1080
+
1081
+ retry_strategy = self.base_client.get_preferred_retry_strategy(
1082
+ operation_retry_strategy=kwargs.get('retry_strategy'),
1083
+ client_retry_strategy=self.retry_strategy
1084
+ )
1085
+ if retry_strategy is None:
1086
+ retry_strategy = retry.DEFAULT_RETRY_STRATEGY
1087
+
1088
+ if retry_strategy:
1089
+ if not isinstance(retry_strategy, retry.NoneRetryStrategy):
1090
+ self.base_client.add_opc_client_retries_header(header_params)
1091
+ retry_strategy.add_circuit_breaker_callback(self.circuit_breaker_callback)
1092
+ return retry_strategy.make_retrying_call(
1093
+ self.base_client.call_api,
1094
+ resource_path=resource_path,
1095
+ method=method,
1096
+ path_params=path_params,
1097
+ header_params=header_params,
1098
+ body=update_event_details,
1099
+ response_type="Event",
1100
+ allow_control_chars=kwargs.get('allow_control_chars'),
1101
+ operation_name=operation_name,
1102
+ api_reference_link=api_reference_link,
1103
+ required_arguments=required_arguments)
1104
+ else:
1105
+ return self.base_client.call_api(
1106
+ resource_path=resource_path,
1107
+ method=method,
1108
+ path_params=path_params,
1109
+ header_params=header_params,
1110
+ body=update_event_details,
1111
+ response_type="Event",
1112
+ allow_control_chars=kwargs.get('allow_control_chars'),
1113
+ operation_name=operation_name,
1114
+ api_reference_link=api_reference_link,
1115
+ required_arguments=required_arguments)