oci 2.131.0__py3-none-any.whl → 2.132.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 (539) 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 +44 -44
  7. oci/ai_speech/ai_service_speech_client.py +17 -17
  8. oci/ai_vision/ai_service_vision_client.py +25 -25
  9. oci/analytics/analytics_client.py +142 -23
  10. oci/analytics/analytics_client_composite_operations.py +42 -0
  11. oci/analytics/models/__init__.py +2 -0
  12. oci/analytics/models/analytics_instance.py +123 -8
  13. oci/analytics/models/analytics_instance_summary.py +115 -0
  14. oci/analytics/models/capacity.py +8 -4
  15. oci/analytics/models/create_analytics_instance_details.py +121 -8
  16. oci/analytics/models/set_feature_bundle_details.py +96 -0
  17. oci/announcements_service/announcement_client.py +4 -4
  18. oci/announcements_service/announcement_subscription_client.py +9 -9
  19. oci/announcements_service/announcements_preferences_client.py +4 -4
  20. oci/apigateway/api_gateway_client.py +21 -21
  21. oci/apigateway/deployment_client.py +6 -6
  22. oci/apigateway/gateway_client.py +6 -6
  23. oci/apigateway/subscribers_client.py +6 -6
  24. oci/apigateway/usage_plans_client.py +6 -6
  25. oci/apigateway/work_requests_client.py +5 -5
  26. oci/apm_config/config_client.py +9 -9
  27. oci/apm_control_plane/apm_domain_client.py +14 -14
  28. oci/apm_synthetics/apm_synthetic_client.py +28 -28
  29. oci/apm_traces/attributes_client.py +8 -8
  30. oci/apm_traces/query_client.py +2 -2
  31. oci/apm_traces/trace_client.py +4 -4
  32. oci/appmgmt_control/appmgmt_control_client.py +8 -8
  33. oci/artifacts/artifacts_client.py +32 -32
  34. oci/audit/audit_client.py +3 -3
  35. oci/autoscaling/auto_scaling_client.py +11 -11
  36. oci/bastion/bastion_client.py +15 -15
  37. oci/bds/bds_client.py +72 -72
  38. oci/blockchain/blockchain_platform_client.py +27 -27
  39. oci/budget/budget_client.py +10 -10
  40. oci/capacity_management/capacity_management_client.py +22 -22
  41. oci/certificates/certificates_client.py +5 -5
  42. oci/certificates_management/certificates_management_client.py +32 -32
  43. oci/cims/incident_client.py +8 -8
  44. oci/cims/user_client.py +1 -1
  45. oci/cloud_bridge/common_client.py +5 -5
  46. oci/cloud_bridge/discovery_client.py +14 -14
  47. oci/cloud_bridge/inventory_client.py +16 -16
  48. oci/cloud_bridge/ocb_agent_svc_client.py +23 -23
  49. oci/cloud_guard/cloud_guard_client.py +155 -155
  50. oci/cloud_migrations/migration_client.py +43 -43
  51. oci/cluster_placement_groups/cluster_placement_groups_cp_client.py +13 -13
  52. oci/compute_cloud_at_customer/compute_cloud_at_customer_client.py +12 -12
  53. oci/compute_instance_agent/compute_instance_agent_client.py +6 -6
  54. oci/compute_instance_agent/plugin_client.py +2 -2
  55. oci/compute_instance_agent/pluginconfig_client.py +1 -1
  56. oci/container_engine/container_engine_client.py +44 -44
  57. oci/container_instances/container_instance_client.py +18 -18
  58. oci/core/blockstorage_client.py +60 -60
  59. oci/core/compute_client.py +102 -102
  60. oci/core/compute_management_client.py +32 -32
  61. oci/core/virtual_network_client.py +247 -247
  62. oci/dashboard_service/dashboard_client.py +6 -6
  63. oci/dashboard_service/dashboard_group_client.py +6 -6
  64. oci/data_catalog/data_catalog_client.py +149 -149
  65. oci/data_flow/data_flow_client.py +42 -42
  66. oci/data_integration/data_integration_client.py +163 -163
  67. oci/data_labeling_service/data_labeling_management_client.py +17 -17
  68. oci/data_labeling_service_dataplane/data_labeling_client.py +15 -15
  69. oci/data_safe/data_safe_client.py +287 -287
  70. oci/data_science/data_science_client.py +91 -91
  71. oci/database/database_client.py +360 -360
  72. oci/database/models/autonomous_database_software_image.py +33 -2
  73. oci/database/models/autonomous_database_software_image_summary.py +33 -2
  74. oci/database/models/create_maintenance_run_details.py +46 -7
  75. oci/database/models/maintenance_run.py +44 -5
  76. oci/database/models/maintenance_run_summary.py +44 -5
  77. oci/database_management/db_management_client.py +208 -208
  78. oci/database_management/diagnosability_client.py +4 -4
  79. oci/database_management/managed_my_sql_databases_client.py +7 -7
  80. oci/database_management/models/__init__.py +18 -0
  81. oci/database_management/models/basic_database_connection_string_details.py +7 -6
  82. oci/database_management/models/connector_details.py +5 -5
  83. oci/database_management/models/database_connection_credentails_by_name.py +1 -1
  84. oci/database_management/models/database_connection_credentials.py +11 -3
  85. oci/database_management/models/database_connection_credentials_by_details.py +1 -1
  86. oci/database_management/models/database_connection_string_details.py +5 -5
  87. oci/database_management/models/database_diagnostics_and_management_feature_configuration.py +9 -7
  88. oci/database_management/models/database_diagnostics_and_management_feature_details.py +1 -1
  89. oci/database_management/models/database_feature_configuration.py +27 -11
  90. oci/database_management/models/database_feature_details.py +19 -3
  91. oci/database_management/models/database_lifecycle_feature_configuration.py +122 -0
  92. oci/database_management/models/database_lifecycle_management_feature_details.py +65 -0
  93. oci/database_management/models/database_named_credential_connection_details.py +88 -0
  94. oci/database_management/models/database_sql_watch_feature_configuration.py +73 -0
  95. oci/database_management/models/database_sql_watch_feature_details.py +65 -0
  96. oci/database_management/models/database_ssl_connection_credentials.py +1 -1
  97. oci/database_management/models/disable_database_management_feature_details.py +11 -3
  98. oci/database_management/models/disable_external_container_database_management_feature_details.py +11 -3
  99. oci/database_management/models/disable_external_non_container_database_management_feature_details.py +11 -3
  100. oci/database_management/models/disable_external_pluggable_database_management_feature_details.py +11 -3
  101. oci/database_management/models/disable_pluggable_database_management_feature_details.py +11 -3
  102. oci/database_management/models/external_database_diagnostics_and_management_feature_details.py +1 -1
  103. oci/database_management/models/external_database_feature_details.py +19 -3
  104. oci/database_management/models/external_database_lifecycle_management_feature_details.py +105 -0
  105. oci/database_management/models/external_database_sql_watch_feature_details.py +58 -0
  106. oci/database_management/models/external_database_summary.py +95 -2
  107. oci/database_management/models/external_pluggable_database_diagnostics_and_management_feature_details.py +1 -1
  108. oci/database_management/models/external_pluggable_database_feature_details.py +19 -3
  109. oci/database_management/models/external_pluggable_database_lifecycle_management_feature_details.py +58 -0
  110. oci/database_management/models/external_pluggable_database_sql_watch_feature_details.py +58 -0
  111. oci/database_management/models/managed_database.py +64 -2
  112. oci/database_management/models/managed_database_summary.py +64 -2
  113. oci/database_management/perfhub_client.py +1 -1
  114. oci/database_management/sql_tuning_client.py +17 -17
  115. oci/database_migration/database_migration_client.py +42 -42
  116. oci/database_tools/database_tools_client.py +23 -23
  117. oci/demand_signal/occ_demand_signal_client.py +7 -7
  118. oci/desktops/desktop_service_client.py +21 -21
  119. oci/devops/devops_client.py +141 -141
  120. oci/disaster_recovery/disaster_recovery_client.py +29 -43
  121. oci/disaster_recovery/models/__init__.py +12 -0
  122. oci/disaster_recovery/models/create_dr_protection_group_member_autonomous_container_database_details.py +107 -0
  123. oci/disaster_recovery/models/create_dr_protection_group_member_autonomous_database_details.py +95 -3
  124. oci/disaster_recovery/models/create_dr_protection_group_member_compute_instance_details.py +1 -1
  125. oci/disaster_recovery/models/create_dr_protection_group_member_compute_instance_movable_details.py +1 -1
  126. oci/disaster_recovery/models/create_dr_protection_group_member_compute_instance_non_movable_details.py +1 -1
  127. oci/disaster_recovery/models/create_dr_protection_group_member_database_details.py +1 -1
  128. oci/disaster_recovery/models/create_dr_protection_group_member_details.py +19 -3
  129. oci/disaster_recovery/models/create_dr_protection_group_member_file_system_details.py +1 -1
  130. oci/disaster_recovery/models/create_dr_protection_group_member_load_balancer_details.py +1 -1
  131. oci/disaster_recovery/models/create_dr_protection_group_member_network_load_balancer_details.py +1 -1
  132. oci/disaster_recovery/models/create_dr_protection_group_member_object_storage_bucket_details.py +128 -0
  133. oci/disaster_recovery/models/create_dr_protection_group_member_volume_group_details.py +1 -1
  134. oci/disaster_recovery/models/dr_plan_step.py +99 -3
  135. oci/disaster_recovery/models/dr_plan_step_execution.py +99 -3
  136. oci/disaster_recovery/models/dr_protection_group_member.py +19 -3
  137. oci/disaster_recovery/models/dr_protection_group_member_autonomous_container_database.py +108 -0
  138. oci/disaster_recovery/models/dr_protection_group_member_autonomous_database.py +96 -3
  139. oci/disaster_recovery/models/dr_protection_group_member_compute_instance.py +1 -1
  140. oci/disaster_recovery/models/dr_protection_group_member_compute_instance_movable.py +1 -1
  141. oci/disaster_recovery/models/dr_protection_group_member_compute_instance_non_movable.py +1 -1
  142. oci/disaster_recovery/models/dr_protection_group_member_database.py +1 -1
  143. oci/disaster_recovery/models/dr_protection_group_member_file_system.py +1 -1
  144. oci/disaster_recovery/models/dr_protection_group_member_load_balancer.py +1 -1
  145. oci/disaster_recovery/models/dr_protection_group_member_network_load_balancer.py +1 -1
  146. oci/disaster_recovery/models/dr_protection_group_member_object_storage_bucket.py +128 -0
  147. oci/disaster_recovery/models/dr_protection_group_member_volume_group.py +1 -1
  148. oci/disaster_recovery/models/update_dr_protection_group_member_autonomous_container_database_details.py +107 -0
  149. oci/disaster_recovery/models/update_dr_protection_group_member_autonomous_database_details.py +95 -3
  150. oci/disaster_recovery/models/update_dr_protection_group_member_compute_instance_details.py +1 -1
  151. oci/disaster_recovery/models/update_dr_protection_group_member_compute_instance_movable_details.py +1 -1
  152. oci/disaster_recovery/models/update_dr_protection_group_member_compute_instance_non_movable_details.py +1 -1
  153. oci/disaster_recovery/models/update_dr_protection_group_member_database_details.py +1 -1
  154. oci/disaster_recovery/models/update_dr_protection_group_member_details.py +19 -3
  155. oci/disaster_recovery/models/update_dr_protection_group_member_file_system_details.py +1 -1
  156. oci/disaster_recovery/models/update_dr_protection_group_member_load_balancer_details.py +1 -1
  157. oci/disaster_recovery/models/update_dr_protection_group_member_network_load_balancer_details.py +1 -1
  158. oci/disaster_recovery/models/update_dr_protection_group_member_object_storage_bucket_details.py +128 -0
  159. oci/disaster_recovery/models/update_dr_protection_group_member_volume_group_details.py +1 -1
  160. oci/dns/dns_client.py +52 -52
  161. oci/dts/appliance_export_job_client.py +6 -6
  162. oci/dts/shipping_vendors_client.py +1 -1
  163. oci/dts/transfer_appliance_client.py +8 -8
  164. oci/dts/transfer_appliance_entitlement_client.py +3 -3
  165. oci/dts/transfer_device_client.py +5 -5
  166. oci/dts/transfer_job_client.py +6 -6
  167. oci/dts/transfer_package_client.py +7 -7
  168. oci/em_warehouse/em_data_lake_client.py +13 -13
  169. oci/em_warehouse/em_warehouse_client.py +13 -13
  170. oci/email/email_client.py +31 -31
  171. oci/email_data_plane/email_dp_client.py +1 -1
  172. oci/events/events_client.py +6 -6
  173. oci/file_storage/file_storage_client.py +51 -51
  174. oci/fleet_apps_management/__init__.py +22 -0
  175. oci/fleet_apps_management/fleet_apps_management_admin_client.py +1077 -0
  176. oci/fleet_apps_management/fleet_apps_management_admin_client_composite_operations.py +124 -0
  177. oci/fleet_apps_management/fleet_apps_management_client.py +4532 -0
  178. oci/fleet_apps_management/fleet_apps_management_client_composite_operations.py +692 -0
  179. oci/fleet_apps_management/fleet_apps_management_maintenance_window_client.py +685 -0
  180. oci/fleet_apps_management/fleet_apps_management_maintenance_window_client_composite_operations.py +157 -0
  181. oci/fleet_apps_management/fleet_apps_management_operations_client.py +1730 -0
  182. oci/fleet_apps_management/fleet_apps_management_operations_client_composite_operations.py +270 -0
  183. oci/fleet_apps_management/fleet_apps_management_runbooks_client.py +683 -0
  184. oci/fleet_apps_management/fleet_apps_management_runbooks_client_composite_operations.py +26 -0
  185. oci/fleet_apps_management/models/__init__.py +286 -0
  186. oci/fleet_apps_management/models/action_group.py +309 -0
  187. oci/fleet_apps_management/models/action_group_details.py +456 -0
  188. oci/fleet_apps_management/models/activity_resource_target.py +155 -0
  189. oci/fleet_apps_management/models/announcement_collection.py +72 -0
  190. oci/fleet_apps_management/models/announcement_summary.py +606 -0
  191. oci/fleet_apps_management/models/api_based_execution_details.py +82 -0
  192. oci/fleet_apps_management/models/associated_fleet_credential_details.py +190 -0
  193. oci/fleet_apps_management/models/associated_fleet_property_details.py +218 -0
  194. oci/fleet_apps_management/models/associated_fleet_resource_details.py +165 -0
  195. oci/fleet_apps_management/models/associated_local_task_details.py +281 -0
  196. oci/fleet_apps_management/models/associated_scheduler_definition.py +171 -0
  197. oci/fleet_apps_management/models/associated_shared_task_details.py +82 -0
  198. oci/fleet_apps_management/models/associated_task_details.py +109 -0
  199. oci/fleet_apps_management/models/associations.py +161 -0
  200. oci/fleet_apps_management/models/check_resource_tagging_details.py +134 -0
  201. oci/fleet_apps_management/models/compliance_report.py +189 -0
  202. oci/fleet_apps_management/models/compliance_report_patch_detail.py +196 -0
  203. oci/fleet_apps_management/models/compliance_report_product.py +103 -0
  204. oci/fleet_apps_management/models/compliance_report_resource.py +344 -0
  205. oci/fleet_apps_management/models/compliance_report_target.py +251 -0
  206. oci/fleet_apps_management/models/component_properties.py +154 -0
  207. oci/fleet_apps_management/models/condition.py +134 -0
  208. oci/fleet_apps_management/models/confirm_targets_details.py +72 -0
  209. oci/fleet_apps_management/models/content_details.py +101 -0
  210. oci/fleet_apps_management/models/create_fleet_credential_details.py +190 -0
  211. oci/fleet_apps_management/models/create_fleet_details.py +510 -0
  212. oci/fleet_apps_management/models/create_fleet_property_details.py +134 -0
  213. oci/fleet_apps_management/models/create_fleet_resource_details.py +196 -0
  214. oci/fleet_apps_management/models/create_maintenance_window_details.py +437 -0
  215. oci/fleet_apps_management/models/create_onboarding_details.py +134 -0
  216. oci/fleet_apps_management/models/create_property_details.py +238 -0
  217. oci/fleet_apps_management/models/create_scheduler_definition_details.py +328 -0
  218. oci/fleet_apps_management/models/credential_details.py +117 -0
  219. oci/fleet_apps_management/models/credential_entity_specific_details.py +101 -0
  220. oci/fleet_apps_management/models/details.py +224 -0
  221. oci/fleet_apps_management/models/discovered_target.py +196 -0
  222. oci/fleet_apps_management/models/entity_execution_details.py +341 -0
  223. oci/fleet_apps_management/models/execution.py +463 -0
  224. oci/fleet_apps_management/models/execution_collection.py +72 -0
  225. oci/fleet_apps_management/models/execution_details.py +109 -0
  226. oci/fleet_apps_management/models/execution_summary.py +405 -0
  227. oci/fleet_apps_management/models/execution_workflow_details.py +72 -0
  228. oci/fleet_apps_management/models/fleet.py +887 -0
  229. oci/fleet_apps_management/models/fleet_collection.py +72 -0
  230. oci/fleet_apps_management/models/fleet_credential.py +398 -0
  231. oci/fleet_apps_management/models/fleet_credential_collection.py +72 -0
  232. oci/fleet_apps_management/models/fleet_credential_summary.py +378 -0
  233. oci/fleet_apps_management/models/fleet_product_collection.py +72 -0
  234. oci/fleet_apps_management/models/fleet_product_summary.py +200 -0
  235. oci/fleet_apps_management/models/fleet_property.py +477 -0
  236. oci/fleet_apps_management/models/fleet_property_collection.py +72 -0
  237. oci/fleet_apps_management/models/fleet_property_summary.py +375 -0
  238. oci/fleet_apps_management/models/fleet_resource.py +717 -0
  239. oci/fleet_apps_management/models/fleet_resource_collection.py +72 -0
  240. oci/fleet_apps_management/models/fleet_resource_summary.py +693 -0
  241. oci/fleet_apps_management/models/fleet_summary.py +456 -0
  242. oci/fleet_apps_management/models/fleet_target.py +399 -0
  243. oci/fleet_apps_management/models/fleet_target_collection.py +72 -0
  244. oci/fleet_apps_management/models/fleet_target_summary.py +348 -0
  245. oci/fleet_apps_management/models/generate_compliance_report_details.py +72 -0
  246. oci/fleet_apps_management/models/group.py +150 -0
  247. oci/fleet_apps_management/models/input_argument.py +171 -0
  248. oci/fleet_apps_management/models/input_parameter.py +103 -0
  249. oci/fleet_apps_management/models/inventory_resource_collection.py +72 -0
  250. oci/fleet_apps_management/models/inventory_resource_summary.py +425 -0
  251. oci/fleet_apps_management/models/job_activity.py +310 -0
  252. oci/fleet_apps_management/models/key_encryption_credential_details.py +175 -0
  253. oci/fleet_apps_management/models/maintenance_window.py +688 -0
  254. oci/fleet_apps_management/models/maintenance_window_collection.py +72 -0
  255. oci/fleet_apps_management/models/maintenance_window_summary.py +656 -0
  256. oci/fleet_apps_management/models/model_property.py +641 -0
  257. oci/fleet_apps_management/models/notification_preferences.py +130 -0
  258. oci/fleet_apps_management/models/object_storage_bucket_content_details.py +176 -0
  259. oci/fleet_apps_management/models/onboarding.py +393 -0
  260. oci/fleet_apps_management/models/onboarding_collection.py +72 -0
  261. oci/fleet_apps_management/models/onboarding_policy_collection.py +72 -0
  262. oci/fleet_apps_management/models/onboarding_policy_summary.py +198 -0
  263. oci/fleet_apps_management/models/onboarding_summary.py +353 -0
  264. oci/fleet_apps_management/models/operation_runbook.py +103 -0
  265. oci/fleet_apps_management/models/outcome.py +134 -0
  266. oci/fleet_apps_management/models/output_variable_details.py +103 -0
  267. oci/fleet_apps_management/models/output_variable_input_argument.py +65 -0
  268. oci/fleet_apps_management/models/output_variable_mapping.py +99 -0
  269. oci/fleet_apps_management/models/plain_text_credential_details.py +82 -0
  270. oci/fleet_apps_management/models/preferences.py +134 -0
  271. oci/fleet_apps_management/models/properties.py +103 -0
  272. oci/fleet_apps_management/models/property_collection.py +72 -0
  273. oci/fleet_apps_management/models/property_summary.py +601 -0
  274. oci/fleet_apps_management/models/request_resource_validation_details.py +103 -0
  275. oci/fleet_apps_management/models/request_target_discovery_details.py +103 -0
  276. oci/fleet_apps_management/models/resource_tag_check_details.py +72 -0
  277. oci/fleet_apps_management/models/resource_tag_enablement_info.py +103 -0
  278. oci/fleet_apps_management/models/rule.py +165 -0
  279. oci/fleet_apps_management/models/runbook.py +747 -0
  280. oci/fleet_apps_management/models/runbook_collection.py +72 -0
  281. oci/fleet_apps_management/models/runbook_summary.py +664 -0
  282. oci/fleet_apps_management/models/schedule.py +212 -0
  283. oci/fleet_apps_management/models/scheduled_fleet_collection.py +72 -0
  284. oci/fleet_apps_management/models/scheduled_fleet_summary.py +313 -0
  285. oci/fleet_apps_management/models/scheduler_definition.py +847 -0
  286. oci/fleet_apps_management/models/scheduler_definition_collection.py +72 -0
  287. oci/fleet_apps_management/models/scheduler_definition_summary.py +718 -0
  288. oci/fleet_apps_management/models/scheduler_job.py +767 -0
  289. oci/fleet_apps_management/models/scheduler_job_collection.py +72 -0
  290. oci/fleet_apps_management/models/scheduler_job_summary.py +685 -0
  291. oci/fleet_apps_management/models/script_based_execution_details.py +136 -0
  292. oci/fleet_apps_management/models/selection_criteria.py +119 -0
  293. oci/fleet_apps_management/models/string_input_argument.py +65 -0
  294. oci/fleet_apps_management/models/target_credential_entity_specific_details.py +113 -0
  295. oci/fleet_apps_management/models/target_resource.py +109 -0
  296. oci/fleet_apps_management/models/task.py +200 -0
  297. oci/fleet_apps_management/models/task_argument.py +103 -0
  298. oci/fleet_apps_management/models/task_record.py +568 -0
  299. oci/fleet_apps_management/models/task_record_collection.py +72 -0
  300. oci/fleet_apps_management/models/task_record_summary.py +516 -0
  301. oci/fleet_apps_management/models/task_variable.py +103 -0
  302. oci/fleet_apps_management/models/update_fleet_credential_details.py +159 -0
  303. oci/fleet_apps_management/models/update_fleet_details.py +262 -0
  304. oci/fleet_apps_management/models/update_fleet_property_details.py +72 -0
  305. oci/fleet_apps_management/models/update_fleet_resource_details.py +103 -0
  306. oci/fleet_apps_management/models/update_maintenance_window_details.py +406 -0
  307. oci/fleet_apps_management/models/update_property_details.py +207 -0
  308. oci/fleet_apps_management/models/update_scheduler_definition_details.py +297 -0
  309. oci/fleet_apps_management/models/update_scheduler_job_details.py +138 -0
  310. oci/fleet_apps_management/models/vault_secret_credential_details.py +117 -0
  311. oci/fleet_apps_management/models/work_request.py +497 -0
  312. oci/fleet_apps_management/models/work_request_error.py +136 -0
  313. oci/fleet_apps_management/models/work_request_error_collection.py +72 -0
  314. oci/fleet_apps_management/models/work_request_log_entry.py +103 -0
  315. oci/fleet_apps_management/models/work_request_log_entry_collection.py +72 -0
  316. oci/fleet_apps_management/models/work_request_resource.py +234 -0
  317. oci/fleet_apps_management/models/work_request_summary.py +497 -0
  318. oci/fleet_apps_management/models/work_request_summary_collection.py +72 -0
  319. oci/fleet_apps_management/models/workflow_component.py +109 -0
  320. oci/fleet_apps_management/models/workflow_group.py +150 -0
  321. oci/fleet_apps_management/models/workflow_group_component.py +115 -0
  322. oci/fleet_apps_management/models/workflow_task_component.py +82 -0
  323. oci/fleet_software_update/fleet_software_update_client.py +46 -46
  324. oci/functions/functions_invoke_client.py +1 -1
  325. oci/functions/functions_management_client.py +16 -16
  326. oci/fusion_apps/data_masking_activity_client.py +3 -3
  327. oci/fusion_apps/fusion_applications_client.py +41 -41
  328. oci/fusion_apps/fusion_environment_client.py +15 -15
  329. oci/fusion_apps/fusion_environment_family_client.py +8 -8
  330. oci/fusion_apps/refresh_activity_client.py +4 -4
  331. oci/fusion_apps/scheduled_activity_client.py +2 -2
  332. oci/fusion_apps/service_attachment_client.py +2 -2
  333. oci/generative_ai/generative_ai_client.py +22 -22
  334. oci/generative_ai_inference/generative_ai_inference_client.py +4 -4
  335. oci/generic_artifacts_content/generic_artifacts_content_client.py +3 -3
  336. oci/globally_distributed_database/sharded_database_service_client.py +30 -30
  337. oci/golden_gate/golden_gate_client.py +68 -68
  338. oci/governance_rules_control_plane/governance_rule_client.py +15 -15
  339. oci/governance_rules_control_plane/work_request_client.py +5 -5
  340. oci/healthchecks/health_checks_client.py +17 -17
  341. oci/identity/identity_client.py +145 -145
  342. oci/identity_data_plane/dataplane_client.py +2 -2
  343. oci/identity_domains/identity_domains_client.py +307 -307
  344. oci/integration/integration_instance_client.py +138 -17
  345. oci/integration/integration_instance_client_composite_operations.py +42 -0
  346. oci/integration/models/__init__.py +2 -0
  347. oci/integration/models/create_integration_instance_details.py +7 -3
  348. oci/integration/models/extend_data_retention_details.py +92 -0
  349. oci/integration/models/integration_instance.py +100 -8
  350. oci/integration/models/integration_instance_summary.py +100 -8
  351. oci/integration/models/update_integration_instance_details.py +7 -3
  352. oci/integration/models/work_request.py +7 -3
  353. oci/integration/models/work_request_summary.py +7 -3
  354. oci/jms/java_management_service_client.py +150 -150
  355. oci/jms_java_downloads/java_download_client.py +50 -50
  356. oci/key_management/ekm_client.py +5 -5
  357. oci/key_management/kms_crypto_client.py +6 -6
  358. oci/key_management/kms_hsm_cluster_client.py +12 -12
  359. oci/key_management/kms_management_client.py +21 -21
  360. oci/key_management/kms_vault_client.py +14 -14
  361. oci/license_manager/license_manager_client.py +18 -18
  362. oci/limits/limits_client.py +33 -12
  363. oci/limits/models/limit_definition_summary.py +64 -2
  364. oci/limits/models/service_summary.py +33 -2
  365. oci/limits/quotas_client.py +7 -7
  366. oci/load_balancer/load_balancer_client.py +61 -61
  367. oci/lockbox/lockbox_client.py +24 -24
  368. oci/log_analytics/log_analytics_client.py +193 -193
  369. oci/logging/logging_management_client.py +30 -30
  370. oci/loggingingestion/logging_client.py +1 -1
  371. oci/loggingsearch/log_search_client.py +1 -1
  372. oci/management_agent/management_agent_client.py +28 -28
  373. oci/management_dashboard/dashx_apis_client.py +14 -14
  374. oci/marketplace/account_client.py +2 -2
  375. oci/marketplace/marketplace_client.py +30 -30
  376. oci/marketplace_private_offer/attachment_client.py +5 -5
  377. oci/marketplace_private_offer/offer_client.py +6 -6
  378. oci/marketplace_publisher/attachment_client.py +5 -5
  379. oci/marketplace_publisher/marketplace_publisher_client.py +71 -71
  380. oci/marketplace_publisher/offer_client.py +6 -6
  381. oci/media_services/media_services_client.py +60 -60
  382. oci/media_services/media_stream_client.py +2 -2
  383. oci/monitoring/monitoring_client.py +18 -18
  384. oci/mysql/channels_client.py +7 -7
  385. oci/mysql/db_backups_client.py +7 -7
  386. oci/mysql/db_system_client.py +17 -17
  387. oci/mysql/models/__init__.py +4 -0
  388. oci/mysql/models/create_db_system_details.py +27 -0
  389. oci/mysql/models/data_storage.py +232 -0
  390. oci/mysql/models/data_storage_details.py +123 -0
  391. oci/mysql/models/db_system.py +31 -2
  392. oci/mysql/models/db_system_snapshot.py +31 -2
  393. oci/mysql/models/update_db_system_details.py +27 -0
  394. oci/mysql/mysqlaas_client.py +7 -7
  395. oci/mysql/replicas_client.py +5 -5
  396. oci/mysql/work_requests_client.py +4 -4
  397. oci/network_firewall/network_firewall_client.py +86 -86
  398. oci/network_load_balancer/models/backend.py +3 -3
  399. oci/network_load_balancer/models/backend_details.py +2 -2
  400. oci/network_load_balancer/models/backend_set.py +7 -3
  401. oci/network_load_balancer/models/backend_set_details.py +5 -1
  402. oci/network_load_balancer/models/backend_set_summary.py +5 -7
  403. oci/network_load_balancer/models/backend_summary.py +3 -3
  404. oci/network_load_balancer/models/create_backend_details.py +3 -3
  405. oci/network_load_balancer/models/create_backend_set_details.py +1 -1
  406. oci/network_load_balancer/models/create_listener_details.py +71 -5
  407. oci/network_load_balancer/models/create_network_load_balancer_details.py +3 -3
  408. oci/network_load_balancer/models/health_checker.py +1 -1
  409. oci/network_load_balancer/models/health_checker_details.py +1 -1
  410. oci/network_load_balancer/models/listener.py +70 -4
  411. oci/network_load_balancer/models/listener_details.py +70 -4
  412. oci/network_load_balancer/models/listener_summary.py +70 -4
  413. oci/network_load_balancer/models/network_load_balancer.py +5 -5
  414. oci/network_load_balancer/models/network_load_balancer_summary.py +4 -4
  415. oci/network_load_balancer/models/update_backend_details.py +4 -4
  416. oci/network_load_balancer/models/update_backend_set_details.py +1 -1
  417. oci/network_load_balancer/models/update_listener_details.py +69 -3
  418. oci/network_load_balancer/network_load_balancer_client.py +34 -34
  419. oci/nosql/nosql_client.py +24 -24
  420. oci/object_storage/object_storage_client.py +50 -50
  421. oci/oce/oce_instance_client.py +10 -10
  422. oci/oci_control_center/occ_metrics_client.py +3 -3
  423. oci/ocvp/cluster_client.py +5 -5
  424. oci/ocvp/esxi_host_client.py +8 -8
  425. oci/ocvp/sddc_client.py +14 -14
  426. oci/ocvp/work_request_client.py +4 -4
  427. oci/oda/management_client.py +59 -59
  428. oci/oda/oda_client.py +17 -17
  429. oci/oda/odapackage_client.py +7 -7
  430. oci/onesubscription/billing_schedule_client.py +1 -1
  431. oci/onesubscription/commitment_client.py +2 -2
  432. oci/onesubscription/computed_usage_client.py +3 -3
  433. oci/onesubscription/invoice_summary_client.py +2 -2
  434. oci/onesubscription/organization_subscription_client.py +1 -1
  435. oci/onesubscription/ratecard_client.py +1 -1
  436. oci/onesubscription/subscribed_service_client.py +2 -2
  437. oci/onesubscription/subscription_client.py +1 -1
  438. oci/ons/notification_control_plane_client.py +6 -6
  439. oci/ons/notification_data_plane_client.py +10 -10
  440. oci/opa/opa_instance_client.py +13 -13
  441. oci/opensearch/opensearch_cluster_backup_client.py +4 -4
  442. oci/opensearch/opensearch_cluster_client.py +14 -14
  443. oci/operator_access_control/access_requests_client.py +10 -10
  444. oci/operator_access_control/operator_actions_client.py +2 -2
  445. oci/operator_access_control/operator_control_assignment_client.py +8 -8
  446. oci/operator_access_control/operator_control_client.py +6 -6
  447. oci/opsi/operations_insights_client.py +177 -177
  448. oci/optimizer/optimizer_client.py +26 -26
  449. oci/os_management/event_client.py +8 -8
  450. oci/os_management/os_management_client.py +69 -69
  451. oci/os_management_hub/event_client.py +8 -8
  452. oci/os_management_hub/lifecycle_environment_client.py +12 -12
  453. oci/os_management_hub/managed_instance_client.py +31 -31
  454. oci/os_management_hub/managed_instance_group_client.py +25 -25
  455. oci/os_management_hub/management_station_client.py +10 -10
  456. oci/os_management_hub/onboarding_client.py +6 -6
  457. oci/os_management_hub/reporting_managed_instance_client.py +3 -3
  458. oci/os_management_hub/scheduled_job_client.py +7 -7
  459. oci/os_management_hub/software_source_client.py +27 -27
  460. oci/os_management_hub/work_request_client.py +4 -4
  461. oci/osp_gateway/address_rule_service_client.py +1 -1
  462. oci/osp_gateway/address_service_client.py +2 -2
  463. oci/osp_gateway/invoice_service_client.py +5 -5
  464. oci/osp_gateway/subscription_service_client.py +5 -5
  465. oci/osub_billing_schedule/billing_schedule_client.py +1 -1
  466. oci/osub_organization_subscription/organization_subscription_client.py +1 -1
  467. oci/osub_subscription/commitment_client.py +2 -2
  468. oci/osub_subscription/ratecard_client.py +1 -1
  469. oci/osub_subscription/subscription_client.py +1 -1
  470. oci/osub_usage/computed_usage_client.py +3 -3
  471. oci/psql/postgresql_client.py +33 -33
  472. oci/queue/queue_admin_client.py +11 -11
  473. oci/queue/queue_client.py +8 -8
  474. oci/recovery/database_recovery_client.py +25 -25
  475. oci/redis/models/__init__.py +4 -0
  476. oci/redis/models/change_redis_cluster_compartment_details.py +2 -2
  477. oci/redis/models/create_redis_cluster_details.py +78 -16
  478. oci/redis/models/node.py +3 -3
  479. oci/redis/models/node_collection.py +1 -1
  480. oci/redis/models/node_summary.py +196 -0
  481. oci/redis/models/redis_cluster.py +110 -32
  482. oci/redis/models/redis_cluster_collection.py +4 -4
  483. oci/redis/models/redis_cluster_summary.py +94 -32
  484. oci/redis/models/redis_node_collection.py +72 -0
  485. oci/redis/models/update_redis_cluster_details.py +40 -9
  486. oci/redis/redis_cluster_client.py +190 -41
  487. oci/redis/redis_cluster_client_composite_operations.py +4 -4
  488. oci/regions_definitions.py +6 -3
  489. oci/resource_manager/resource_manager_client.py +52 -52
  490. oci/resource_scheduler/schedule_client.py +13 -13
  491. oci/resource_search/resource_search_client.py +3 -3
  492. oci/rover/rover_bundle_client.py +8 -8
  493. oci/rover/rover_cluster_client.py +8 -8
  494. oci/rover/rover_entitlement_client.py +6 -6
  495. oci/rover/rover_node_client.py +15 -15
  496. oci/rover/shape_client.py +1 -1
  497. oci/rover/work_requests_client.py +5 -5
  498. oci/sch/connector_plugins_client.py +2 -2
  499. oci/sch/service_connector_client.py +12 -12
  500. oci/secrets/secrets_client.py +3 -3
  501. oci/service_catalog/service_catalog_client.py +26 -26
  502. oci/service_manager_proxy/service_manager_proxy_client.py +2 -2
  503. oci/service_mesh/service_mesh_client.py +48 -48
  504. oci/stack_monitoring/stack_monitoring_client.py +64 -64
  505. oci/streaming/stream_admin_client.py +18 -18
  506. oci/streaming/stream_client.py +8 -8
  507. oci/tenant_manager_control_plane/domain_client.py +5 -5
  508. oci/tenant_manager_control_plane/domain_governance_client.py +5 -5
  509. oci/tenant_manager_control_plane/governance_client.py +2 -2
  510. oci/tenant_manager_control_plane/link_client.py +3 -3
  511. oci/tenant_manager_control_plane/orders_client.py +2 -2
  512. oci/tenant_manager_control_plane/organization_client.py +10 -10
  513. oci/tenant_manager_control_plane/recipient_invitation_client.py +5 -5
  514. oci/tenant_manager_control_plane/sender_invitation_client.py +5 -5
  515. oci/tenant_manager_control_plane/subscription_client.py +11 -11
  516. oci/tenant_manager_control_plane/work_request_client.py +4 -4
  517. oci/threat_intelligence/threatintel_client.py +5 -5
  518. oci/usage/resources_client.py +2 -2
  519. oci/usage/rewards_client.py +6 -6
  520. oci/usage/usagelimits_client.py +1 -1
  521. oci/usage_api/usageapi_client.py +33 -33
  522. oci/vault/vaults_client.py +13 -13
  523. oci/vbs_inst/vbs_instance_client.py +10 -10
  524. oci/version.py +1 -1
  525. oci/visual_builder/vb_instance_client.py +13 -13
  526. oci/vn_monitoring/vn_monitoring_client.py +12 -12
  527. oci/vulnerability_scanning/vulnerability_scanning_client.py +58 -58
  528. oci/waa/waa_client.py +13 -13
  529. oci/waa/work_request_client.py +4 -4
  530. oci/waas/redirect_client.py +6 -6
  531. oci/waas/waas_client.py +66 -66
  532. oci/waf/waf_client.py +24 -24
  533. oci/work_requests/work_request_client.py +4 -4
  534. {oci-2.131.0.dist-info → oci-2.132.0.dist-info}/METADATA +3 -2
  535. {oci-2.131.0.dist-info → oci-2.132.0.dist-info}/RECORD +539 -369
  536. {oci-2.131.0.dist-info → oci-2.132.0.dist-info}/LICENSE.txt +0 -0
  537. {oci-2.131.0.dist-info → oci-2.132.0.dist-info}/THIRD_PARTY_LICENSES.txt +0 -0
  538. {oci-2.131.0.dist-info → oci-2.132.0.dist-info}/WHEEL +0 -0
  539. {oci-2.131.0.dist-info → oci-2.132.0.dist-info}/top_level.txt +0 -0
@@ -0,0 +1,270 @@
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: 20230831
6
+
7
+ import oci # noqa: F401
8
+ from oci.util import WAIT_RESOURCE_NOT_FOUND # noqa: F401
9
+
10
+
11
+ class FleetAppsManagementOperationsClientCompositeOperations(object):
12
+ """
13
+ This class provides a wrapper around :py:class:`~oci.fleet_apps_management.FleetAppsManagementOperationsClient` and offers convenience methods
14
+ for operations that would otherwise need to be chained together. For example, instead of performing an action
15
+ on a resource (e.g. launching an instance, creating a load balancer) and then using a waiter to wait for the resource
16
+ to enter a given state, you can call a single method in this class to accomplish the same functionality
17
+ """
18
+
19
+ def __init__(self, client, **kwargs):
20
+ """
21
+ Creates a new FleetAppsManagementOperationsClientCompositeOperations object
22
+
23
+ :param FleetAppsManagementOperationsClient client:
24
+ The service client which will be wrapped by this object
25
+ """
26
+ self.client = client
27
+
28
+ def create_scheduler_definition_and_wait_for_state(self, create_scheduler_definition_details, wait_for_states=[], operation_kwargs={}, waiter_kwargs={}):
29
+ """
30
+ Calls :py:func:`~oci.fleet_apps_management.FleetAppsManagementOperationsClient.create_scheduler_definition` and waits for the :py:class:`~oci.fleet_apps_management.models.WorkRequest`
31
+ to enter the given state(s).
32
+
33
+ :param oci.fleet_apps_management.models.CreateSchedulerDefinitionDetails create_scheduler_definition_details: (required)
34
+ Details for the new SchedulerDefinition.
35
+
36
+ :param list[str] wait_for_states:
37
+ An array of states to wait on. These should be valid values for :py:attr:`~oci.fleet_apps_management.models.WorkRequest.status`
38
+
39
+ :param dict operation_kwargs:
40
+ A dictionary of keyword arguments to pass to :py:func:`~oci.fleet_apps_management.FleetAppsManagementOperationsClient.create_scheduler_definition`
41
+
42
+ :param dict waiter_kwargs:
43
+ A dictionary of keyword arguments to pass to the :py:func:`oci.wait_until` function. For example, you could pass ``max_interval_seconds`` or ``max_interval_seconds``
44
+ as dictionary keys to modify how long the waiter function will wait between retries and the maximum amount of time it will wait
45
+ """
46
+ operation_result = self.client.create_scheduler_definition(create_scheduler_definition_details, **operation_kwargs)
47
+ if not wait_for_states:
48
+ return operation_result
49
+ lowered_wait_for_states = [w.lower() for w in wait_for_states]
50
+ if 'opc-work-request-id' not in operation_result.headers:
51
+ return operation_result
52
+ wait_for_resource_id = operation_result.headers['opc-work-request-id']
53
+
54
+ try:
55
+ waiter_result = oci.wait_until(
56
+ self.client,
57
+ self.client.get_work_request(wait_for_resource_id),
58
+ evaluate_response=lambda r: getattr(r.data, 'status') and getattr(r.data, 'status').lower() in lowered_wait_for_states,
59
+ **waiter_kwargs
60
+ )
61
+ result_to_return = waiter_result
62
+
63
+ return result_to_return
64
+ except Exception as e:
65
+ raise oci.exceptions.CompositeOperationError(partial_results=[operation_result], cause=e)
66
+
67
+ def delete_scheduler_definition_and_wait_for_state(self, scheduler_definition_id, wait_for_states=[], operation_kwargs={}, waiter_kwargs={}):
68
+ """
69
+ Calls :py:func:`~oci.fleet_apps_management.FleetAppsManagementOperationsClient.delete_scheduler_definition` and waits for the :py:class:`~oci.fleet_apps_management.models.SchedulerDefinition` acted upon
70
+ to enter the given state(s).
71
+
72
+ :param str scheduler_definition_id: (required)
73
+ unique SchedulerDefinition identifier
74
+
75
+ :param list[str] wait_for_states:
76
+ An array of states to wait on. These should be valid values for :py:attr:`~oci.fleet_apps_management.models.SchedulerDefinition.lifecycle_state`
77
+
78
+ :param dict operation_kwargs:
79
+ A dictionary of keyword arguments to pass to :py:func:`~oci.fleet_apps_management.FleetAppsManagementOperationsClient.delete_scheduler_definition`
80
+
81
+ :param dict waiter_kwargs:
82
+ A dictionary of keyword arguments to pass to the :py:func:`oci.wait_until` function. For example, you could pass ``max_interval_seconds`` or ``max_interval_seconds``
83
+ as dictionary keys to modify how long the waiter function will wait between retries and the maximum amount of time it will wait
84
+ """
85
+ initial_get_result = self.client.get_scheduler_definition(scheduler_definition_id)
86
+ operation_result = None
87
+ try:
88
+ operation_result = self.client.delete_scheduler_definition(scheduler_definition_id, **operation_kwargs)
89
+ except oci.exceptions.ServiceError as e:
90
+ if e.status == 404:
91
+ return WAIT_RESOURCE_NOT_FOUND
92
+ else:
93
+ raise e
94
+
95
+ if not wait_for_states:
96
+ return operation_result
97
+ lowered_wait_for_states = [w.lower() for w in wait_for_states]
98
+
99
+ try:
100
+ if ("succeed_on_not_found" in waiter_kwargs) and (waiter_kwargs["succeed_on_not_found"] is False):
101
+ self.client.base_client.logger.warning("The waiter kwarg succeed_on_not_found was passed as False for the delete composite operation delete_scheduler_definition, this would result in the operation to fail if the resource is not found! Please, do not pass this kwarg if this was not intended")
102
+ else:
103
+ """
104
+ If the user does not send in this value, we set it to True by default.
105
+ We are doing this because during a delete resource scenario and waiting on its state, the service can
106
+ return a 404 NOT FOUND exception as the resource was deleted and a get on its state would fail
107
+ """
108
+ waiter_kwargs["succeed_on_not_found"] = True
109
+ waiter_result = oci.wait_until(
110
+ self.client,
111
+ initial_get_result, # noqa: F821
112
+ evaluate_response=lambda r: getattr(r.data, 'lifecycle_state') and getattr(r.data, 'lifecycle_state').lower() in lowered_wait_for_states,
113
+ **waiter_kwargs
114
+ )
115
+ result_to_return = waiter_result
116
+
117
+ return result_to_return
118
+ except (NameError, TypeError) as e:
119
+ if not e.args:
120
+ e.args = ('',)
121
+ e.args = e.args + ('This composite operation is currently not supported in the SDK. Please use the operation from the service client and use waiters as an alternative. For more information on waiters, visit: "https://docs.oracle.com/en-us/iaas/tools/python/latest/api/waiters.html"', )
122
+ raise oci.exceptions.CompositeOperationError(partial_results=[operation_result], cause=e)
123
+ except Exception as e:
124
+ raise oci.exceptions.CompositeOperationError(partial_results=[operation_result], cause=e)
125
+
126
+ def delete_scheduler_job_and_wait_for_state(self, scheduler_job_id, wait_for_states=[], operation_kwargs={}, waiter_kwargs={}):
127
+ """
128
+ Calls :py:func:`~oci.fleet_apps_management.FleetAppsManagementOperationsClient.delete_scheduler_job` and waits for the :py:class:`~oci.fleet_apps_management.models.SchedulerJob` acted upon
129
+ to enter the given state(s).
130
+
131
+ :param str scheduler_job_id: (required)
132
+ unique SchedulerJob identifier
133
+
134
+ :param list[str] wait_for_states:
135
+ An array of states to wait on. These should be valid values for :py:attr:`~oci.fleet_apps_management.models.SchedulerJob.lifecycle_state`
136
+
137
+ :param dict operation_kwargs:
138
+ A dictionary of keyword arguments to pass to :py:func:`~oci.fleet_apps_management.FleetAppsManagementOperationsClient.delete_scheduler_job`
139
+
140
+ :param dict waiter_kwargs:
141
+ A dictionary of keyword arguments to pass to the :py:func:`oci.wait_until` function. For example, you could pass ``max_interval_seconds`` or ``max_interval_seconds``
142
+ as dictionary keys to modify how long the waiter function will wait between retries and the maximum amount of time it will wait
143
+ """
144
+ initial_get_result = self.client.get_scheduler_job(scheduler_job_id)
145
+ operation_result = None
146
+ try:
147
+ operation_result = self.client.delete_scheduler_job(scheduler_job_id, **operation_kwargs)
148
+ except oci.exceptions.ServiceError as e:
149
+ if e.status == 404:
150
+ return WAIT_RESOURCE_NOT_FOUND
151
+ else:
152
+ raise e
153
+
154
+ if not wait_for_states:
155
+ return operation_result
156
+ lowered_wait_for_states = [w.lower() for w in wait_for_states]
157
+
158
+ try:
159
+ if ("succeed_on_not_found" in waiter_kwargs) and (waiter_kwargs["succeed_on_not_found"] is False):
160
+ self.client.base_client.logger.warning("The waiter kwarg succeed_on_not_found was passed as False for the delete composite operation delete_scheduler_job, this would result in the operation to fail if the resource is not found! Please, do not pass this kwarg if this was not intended")
161
+ else:
162
+ """
163
+ If the user does not send in this value, we set it to True by default.
164
+ We are doing this because during a delete resource scenario and waiting on its state, the service can
165
+ return a 404 NOT FOUND exception as the resource was deleted and a get on its state would fail
166
+ """
167
+ waiter_kwargs["succeed_on_not_found"] = True
168
+ waiter_result = oci.wait_until(
169
+ self.client,
170
+ initial_get_result, # noqa: F821
171
+ evaluate_response=lambda r: getattr(r.data, 'lifecycle_state') and getattr(r.data, 'lifecycle_state').lower() in lowered_wait_for_states,
172
+ **waiter_kwargs
173
+ )
174
+ result_to_return = waiter_result
175
+
176
+ return result_to_return
177
+ except (NameError, TypeError) as e:
178
+ if not e.args:
179
+ e.args = ('',)
180
+ e.args = e.args + ('This composite operation is currently not supported in the SDK. Please use the operation from the service client and use waiters as an alternative. For more information on waiters, visit: "https://docs.oracle.com/en-us/iaas/tools/python/latest/api/waiters.html"', )
181
+ raise oci.exceptions.CompositeOperationError(partial_results=[operation_result], cause=e)
182
+ except Exception as e:
183
+ raise oci.exceptions.CompositeOperationError(partial_results=[operation_result], cause=e)
184
+
185
+ def update_scheduler_definition_and_wait_for_state(self, scheduler_definition_id, update_scheduler_definition_details, wait_for_states=[], operation_kwargs={}, waiter_kwargs={}):
186
+ """
187
+ Calls :py:func:`~oci.fleet_apps_management.FleetAppsManagementOperationsClient.update_scheduler_definition` and waits for the :py:class:`~oci.fleet_apps_management.models.WorkRequest`
188
+ to enter the given state(s).
189
+
190
+ :param str scheduler_definition_id: (required)
191
+ unique SchedulerDefinition identifier
192
+
193
+ :param oci.fleet_apps_management.models.UpdateSchedulerDefinitionDetails update_scheduler_definition_details: (required)
194
+ The information to be updated.
195
+
196
+ :param list[str] wait_for_states:
197
+ An array of states to wait on. These should be valid values for :py:attr:`~oci.fleet_apps_management.models.WorkRequest.status`
198
+
199
+ :param dict operation_kwargs:
200
+ A dictionary of keyword arguments to pass to :py:func:`~oci.fleet_apps_management.FleetAppsManagementOperationsClient.update_scheduler_definition`
201
+
202
+ :param dict waiter_kwargs:
203
+ A dictionary of keyword arguments to pass to the :py:func:`oci.wait_until` function. For example, you could pass ``max_interval_seconds`` or ``max_interval_seconds``
204
+ as dictionary keys to modify how long the waiter function will wait between retries and the maximum amount of time it will wait
205
+ """
206
+ operation_result = self.client.update_scheduler_definition(scheduler_definition_id, update_scheduler_definition_details, **operation_kwargs)
207
+ if not wait_for_states:
208
+ return operation_result
209
+ lowered_wait_for_states = [w.lower() for w in wait_for_states]
210
+ if 'opc-work-request-id' not in operation_result.headers:
211
+ return operation_result
212
+ wait_for_resource_id = operation_result.headers['opc-work-request-id']
213
+
214
+ try:
215
+ waiter_result = oci.wait_until(
216
+ self.client,
217
+ self.client.get_work_request(wait_for_resource_id),
218
+ evaluate_response=lambda r: getattr(r.data, 'status') and getattr(r.data, 'status').lower() in lowered_wait_for_states,
219
+ **waiter_kwargs
220
+ )
221
+ result_to_return = waiter_result
222
+
223
+ return result_to_return
224
+ except Exception as e:
225
+ raise oci.exceptions.CompositeOperationError(partial_results=[operation_result], cause=e)
226
+
227
+ def update_scheduler_job_and_wait_for_state(self, scheduler_job_id, update_scheduler_job_details, wait_for_states=[], operation_kwargs={}, waiter_kwargs={}):
228
+ """
229
+ Calls :py:func:`~oci.fleet_apps_management.FleetAppsManagementOperationsClient.update_scheduler_job` and waits for the :py:class:`~oci.fleet_apps_management.models.SchedulerJob` acted upon
230
+ to enter the given state(s).
231
+
232
+ :param str scheduler_job_id: (required)
233
+ unique SchedulerJob identifier
234
+
235
+ :param oci.fleet_apps_management.models.UpdateSchedulerJobDetails update_scheduler_job_details: (required)
236
+ The information to be updated.
237
+
238
+ :param list[str] wait_for_states:
239
+ An array of states to wait on. These should be valid values for :py:attr:`~oci.fleet_apps_management.models.SchedulerJob.lifecycle_state`
240
+
241
+ :param dict operation_kwargs:
242
+ A dictionary of keyword arguments to pass to :py:func:`~oci.fleet_apps_management.FleetAppsManagementOperationsClient.update_scheduler_job`
243
+
244
+ :param dict waiter_kwargs:
245
+ A dictionary of keyword arguments to pass to the :py:func:`oci.wait_until` function. For example, you could pass ``max_interval_seconds`` or ``max_interval_seconds``
246
+ as dictionary keys to modify how long the waiter function will wait between retries and the maximum amount of time it will wait
247
+ """
248
+ operation_result = self.client.update_scheduler_job(scheduler_job_id, update_scheduler_job_details, **operation_kwargs)
249
+ if not wait_for_states:
250
+ return operation_result
251
+ lowered_wait_for_states = [w.lower() for w in wait_for_states]
252
+ scheduler_job_id = operation_result.data.id
253
+
254
+ try:
255
+ waiter_result = oci.wait_until(
256
+ self.client,
257
+ self.client.get_scheduler_job(scheduler_job_id), # noqa: F821
258
+ evaluate_response=lambda r: getattr(r.data, 'lifecycle_state') and getattr(r.data, 'lifecycle_state').lower() in lowered_wait_for_states,
259
+ **waiter_kwargs
260
+ )
261
+ result_to_return = waiter_result
262
+
263
+ return result_to_return
264
+ except (NameError, TypeError) as e:
265
+ if not e.args:
266
+ e.args = ('',)
267
+ e.args = e.args + ('This composite operation is currently not supported in the SDK. Please use the operation from the service client and use waiters as an alternative. For more information on waiters, visit: "https://docs.oracle.com/en-us/iaas/tools/python/latest/api/waiters.html"', )
268
+ raise oci.exceptions.CompositeOperationError(partial_results=[operation_result], cause=e)
269
+ except Exception as e:
270
+ raise oci.exceptions.CompositeOperationError(partial_results=[operation_result], cause=e)