oci 2.145.0__py3-none-any.whl → 2.147.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 (528) hide show
  1. oci/__init__.py +2 -2
  2. oci/access_governance_cp/access_governance_cp_client.py +8 -8
  3. oci/adm/application_dependency_management_client.py +36 -36
  4. oci/ai_anomaly_detection/anomaly_detection_client.py +36 -36
  5. oci/ai_document/ai_service_document_client.py +26 -26
  6. oci/ai_language/ai_service_language_client.py +44 -44
  7. oci/ai_speech/ai_service_speech_client.py +19 -19
  8. oci/ai_vision/ai_service_vision_client.py +28 -28
  9. oci/analytics/analytics_client.py +24 -24
  10. oci/announcements_service/announcement_client.py +5 -5
  11. oci/announcements_service/announcement_subscription_client.py +9 -9
  12. oci/announcements_service/announcements_preferences_client.py +4 -4
  13. oci/announcements_service/service_client.py +1 -1
  14. oci/apigateway/api_gateway_client.py +21 -21
  15. oci/apigateway/deployment_client.py +6 -6
  16. oci/apigateway/gateway_client.py +6 -6
  17. oci/apigateway/subscribers_client.py +6 -6
  18. oci/apigateway/usage_plans_client.py +6 -6
  19. oci/apigateway/work_requests_client.py +5 -5
  20. oci/apm_config/config_client.py +9 -9
  21. oci/apm_control_plane/apm_domain_client.py +14 -14
  22. oci/apm_synthetics/apm_synthetic_client.py +28 -28
  23. oci/apm_traces/attributes_client.py +8 -8
  24. oci/apm_traces/query_client.py +2 -2
  25. oci/apm_traces/trace_client.py +4 -4
  26. oci/appmgmt_control/appmgmt_control_client.py +8 -8
  27. oci/artifacts/artifacts_client.py +32 -32
  28. oci/audit/audit_client.py +3 -3
  29. oci/auth/federation_client.py +19 -2
  30. oci/autoscaling/auto_scaling_client.py +11 -11
  31. oci/base_client.py +2 -1
  32. oci/bastion/bastion_client.py +15 -15
  33. oci/bds/bds_client.py +84 -84
  34. oci/blockchain/blockchain_platform_client.py +27 -27
  35. oci/budget/budget_client.py +10 -10
  36. oci/capacity_management/capacity_management_client.py +32 -32
  37. oci/certificates/certificates_client.py +5 -5
  38. oci/certificates_management/certificates_management_client.py +32 -32
  39. oci/cims/incident_client.py +6 -6
  40. oci/cloud_bridge/common_client.py +5 -5
  41. oci/cloud_bridge/discovery_client.py +15 -15
  42. oci/cloud_bridge/inventory_client.py +16 -16
  43. oci/cloud_bridge/ocb_agent_svc_client.py +23 -23
  44. oci/cloud_guard/cloud_guard_client.py +155 -155
  45. oci/cloud_migrations/migration_client.py +43 -43
  46. oci/cluster_placement_groups/cluster_placement_groups_cp_client.py +13 -13
  47. oci/compute_cloud_at_customer/compute_cloud_at_customer_client.py +12 -12
  48. oci/compute_instance_agent/compute_instance_agent_client.py +6 -6
  49. oci/compute_instance_agent/plugin_client.py +2 -2
  50. oci/compute_instance_agent/pluginconfig_client.py +1 -1
  51. oci/container_engine/container_engine_client.py +44 -44
  52. oci/container_engine/models/open_id_connect_token_authentication_config.py +37 -2
  53. oci/container_instances/container_instance_client.py +18 -18
  54. oci/container_instances/models/__init__.py +0 -4
  55. oci/container_instances/models/container_health_check.py +3 -11
  56. oci/container_instances/models/container_http_health_check.py +1 -1
  57. oci/container_instances/models/container_tcp_health_check.py +1 -1
  58. oci/container_instances/models/create_container_details.py +2 -2
  59. oci/container_instances/models/create_container_health_check_details.py +3 -11
  60. oci/container_instances/models/create_container_http_health_check_details.py +1 -1
  61. oci/container_instances/models/create_container_tcp_health_check_details.py +1 -1
  62. oci/core/blockstorage_client.py +60 -60
  63. oci/core/compute_client.py +102 -102
  64. oci/core/compute_management_client.py +32 -32
  65. oci/core/models/create_byoip_range_details.py +66 -0
  66. oci/core/models/create_ipv6_details.py +97 -3
  67. oci/core/models/create_private_ip_details.py +96 -2
  68. oci/core/models/create_vnic_details.py +18 -18
  69. oci/core/models/ipv6.py +107 -3
  70. oci/core/models/launch_attach_volume_details.py +2 -2
  71. oci/core/models/network_security_group.py +7 -7
  72. oci/core/models/private_ip.py +107 -3
  73. oci/core/models/update_byoip_range_details.py +68 -2
  74. oci/core/models/update_ipv6_details.py +61 -4
  75. oci/core/models/update_private_ip_details.py +59 -2
  76. oci/core/models/update_vnic_details.py +8 -4
  77. oci/core/models/vnic.py +6 -2
  78. oci/core/virtual_network_client.py +519 -257
  79. oci/core/virtual_network_client_composite_operations.py +44 -0
  80. oci/dashboard_service/dashboard_client.py +6 -6
  81. oci/dashboard_service/dashboard_group_client.py +6 -6
  82. oci/data_catalog/data_catalog_client.py +149 -149
  83. oci/data_flow/data_flow_client.py +45 -45
  84. oci/data_integration/data_integration_client.py +163 -163
  85. oci/data_labeling_service/data_labeling_management_client.py +17 -17
  86. oci/data_labeling_service_dataplane/data_labeling_client.py +15 -15
  87. oci/data_safe/data_safe_client.py +306 -306
  88. oci/data_science/data_science_client.py +101 -101
  89. oci/data_science/models/__init__.py +8 -0
  90. oci/data_science/models/create_pipeline_details.py +31 -0
  91. oci/data_science/models/pipeline.py +31 -0
  92. oci/data_science/models/pipeline_container_step_details.py +32 -1
  93. oci/data_science/models/pipeline_container_step_run.py +1 -1
  94. oci/data_science/models/pipeline_container_step_update_details.py +34 -3
  95. oci/data_science/models/pipeline_custom_script_step_details.py +32 -1
  96. oci/data_science/models/pipeline_custom_script_step_run.py +1 -1
  97. oci/data_science/models/pipeline_custom_script_step_update_details.py +34 -3
  98. oci/data_science/models/pipeline_dataflow_configuration_details.py +281 -0
  99. oci/data_science/models/pipeline_dataflow_step_details.py +141 -0
  100. oci/data_science/models/pipeline_dataflow_step_run.py +122 -0
  101. oci/data_science/models/pipeline_dataflow_step_update_details.py +99 -0
  102. oci/data_science/models/pipeline_ml_job_step_details.py +1 -1
  103. oci/data_science/models/pipeline_ml_job_step_run.py +1 -1
  104. oci/data_science/models/pipeline_ml_job_step_update_details.py +1 -1
  105. oci/data_science/models/pipeline_step_details.py +11 -3
  106. oci/data_science/models/pipeline_step_override_details.py +29 -2
  107. oci/data_science/models/pipeline_step_run.py +11 -3
  108. oci/data_science/models/pipeline_step_update_details.py +11 -3
  109. oci/data_science/models/update_pipeline_details.py +31 -0
  110. oci/database/database_client.py +1906 -710
  111. oci/database/database_client_composite_operations.py +794 -22
  112. oci/database/models/__init__.py +14 -0
  113. oci/database/models/add_standby_autonomous_container_database_details.py +387 -0
  114. oci/database/models/autonomous_container_database.py +122 -2
  115. oci/database/models/autonomous_container_database_dataguard.py +674 -0
  116. oci/database/models/autonomous_container_database_summary.py +122 -2
  117. oci/database/models/backup.py +209 -3
  118. oci/database/models/backup_summary.py +209 -3
  119. oci/database/models/change_exadb_vm_cluster_subscription_details.py +107 -0
  120. oci/database/models/change_exascale_db_storage_vault_subscription_details.py +107 -0
  121. oci/database/models/convert_standby_autonomous_container_database_details.py +147 -0
  122. oci/database/models/create_backup_details.py +64 -2
  123. oci/database/models/create_exadb_vm_cluster_details.py +41 -10
  124. oci/database/models/create_exascale_db_storage_vault_details.py +72 -2
  125. oci/database/models/edit_autonomous_container_database_dataguard_details.py +158 -0
  126. oci/database/models/exadb_vm_cluster.py +76 -10
  127. oci/database/models/exadb_vm_cluster_summary.py +76 -10
  128. oci/database/models/exascale_db_storage_vault.py +72 -2
  129. oci/database/models/exascale_db_storage_vault_summary.py +72 -2
  130. oci/database/models/maintenance_run.py +31 -0
  131. oci/database/models/maintenance_run_summary.py +31 -0
  132. oci/database/models/update_backup_details.py +103 -0
  133. oci/database/models/update_exadb_vm_cluster_details.py +4 -8
  134. oci/database_management/db_management_client.py +228 -228
  135. oci/database_management/diagnosability_client.py +4 -4
  136. oci/database_management/managed_my_sql_databases_client.py +9 -9
  137. oci/database_management/perfhub_client.py +1 -1
  138. oci/database_management/sql_tuning_client.py +17 -17
  139. oci/database_migration/database_migration_client.py +42 -42
  140. oci/database_tools/database_tools_client.py +23 -23
  141. oci/dblm/__init__.py +14 -0
  142. oci/dblm/db_life_cycle_management_client.py +1762 -0
  143. oci/dblm/db_life_cycle_management_client_composite_operations.py +65 -0
  144. oci/dblm/models/__init__.py +70 -0
  145. oci/dblm/models/aggregated_vulnerability_collection.py +72 -0
  146. oci/dblm/models/aggregated_vulnerability_summary.py +134 -0
  147. oci/dblm/models/child_pdb.py +227 -0
  148. oci/dblm/models/create_vulnerability_scan_details.py +103 -0
  149. oci/dblm/models/dblm_vulnerability.py +393 -0
  150. oci/dblm/models/host_info.py +103 -0
  151. oci/dblm/models/metric_error.py +227 -0
  152. oci/dblm/models/notification_collection.py +72 -0
  153. oci/dblm/models/notification_summary.py +185 -0
  154. oci/dblm/models/patch_recommendation_summary.py +134 -0
  155. oci/dblm/models/patch_recommendations_details_summary.py +227 -0
  156. oci/dblm/models/resource_info.py +382 -0
  157. oci/dblm/models/resource_summary.py +227 -0
  158. oci/dblm/models/vulnerabilities_summary.py +227 -0
  159. oci/dblm/models/vulnerability_collection.py +72 -0
  160. oci/dblm/models/vulnerability_resource_collection.py +72 -0
  161. oci/dblm/models/vulnerability_resource_summary.py +475 -0
  162. oci/dblm/models/vulnerability_scan.py +525 -0
  163. oci/dblm/models/vulnerability_scan_collection.py +72 -0
  164. oci/dblm/models/vulnerability_scan_summary.py +443 -0
  165. oci/dblm/models/vulnerability_summary.py +196 -0
  166. oci/dblm/models/work_request.py +426 -0
  167. oci/dblm/models/work_request_error.py +136 -0
  168. oci/dblm/models/work_request_error_collection.py +72 -0
  169. oci/dblm/models/work_request_log_entry.py +103 -0
  170. oci/dblm/models/work_request_log_entry_collection.py +72 -0
  171. oci/dblm/models/work_request_resource.py +234 -0
  172. oci/dblm/models/work_request_summary.py +426 -0
  173. oci/dblm/models/work_request_summary_collection.py +72 -0
  174. oci/delegate_access_control/delegate_access_control_client.py +26 -26
  175. oci/delegate_access_control/work_request_client.py +4 -4
  176. oci/demand_signal/occ_demand_signal_client.py +7 -7
  177. oci/desktops/desktop_service_client.py +21 -21
  178. oci/devops/devops_client.py +141 -141
  179. oci/disaster_recovery/disaster_recovery_client.py +31 -31
  180. oci/dns/dns_client.py +54 -54
  181. oci/dts/appliance_export_job_client.py +6 -6
  182. oci/dts/shipping_vendors_client.py +1 -1
  183. oci/dts/transfer_appliance_client.py +8 -8
  184. oci/dts/transfer_appliance_entitlement_client.py +3 -3
  185. oci/dts/transfer_device_client.py +5 -5
  186. oci/dts/transfer_job_client.py +6 -6
  187. oci/dts/transfer_package_client.py +7 -7
  188. oci/em_warehouse/em_warehouse_client.py +13 -13
  189. oci/email/email_client.py +31 -31
  190. oci/email/models/create_dkim_details.py +31 -0
  191. oci/email/models/dkim.py +62 -0
  192. oci/email/models/dkim_summary.py +62 -0
  193. oci/email_data_plane/email_dp_client.py +1 -1
  194. oci/events/events_client.py +6 -6
  195. oci/file_storage/file_storage_client.py +865 -98
  196. oci/file_storage/models/__init__.py +10 -0
  197. oci/file_storage/models/create_file_system_details.py +33 -2
  198. oci/file_storage/models/create_quota_rule_details.py +236 -0
  199. oci/file_storage/models/file_system.py +127 -2
  200. oci/file_storage/models/file_system_summary.py +96 -2
  201. oci/file_storage/models/quota_rule.py +384 -0
  202. oci/file_storage/models/quota_rule_summary.py +452 -0
  203. oci/file_storage/models/toggle_quota_rules_details.py +72 -0
  204. oci/file_storage/models/update_quota_rule_details.py +107 -0
  205. oci/fleet_apps_management/fleet_apps_management_admin_client.py +25 -25
  206. oci/fleet_apps_management/fleet_apps_management_client.py +35 -35
  207. oci/fleet_apps_management/fleet_apps_management_maintenance_window_client.py +5 -5
  208. oci/fleet_apps_management/fleet_apps_management_operations_client.py +26 -26
  209. oci/fleet_apps_management/fleet_apps_management_runbooks_client.py +12 -12
  210. oci/fleet_software_update/fleet_software_update_client.py +46 -46
  211. oci/functions/functions_invoke_client.py +1 -1
  212. oci/functions/functions_management_client.py +16 -16
  213. oci/fusion_apps/fusion_applications_client.py +41 -41
  214. oci/generative_ai/generative_ai_client.py +22 -22
  215. oci/generative_ai_agent/generative_ai_agent_client.py +33 -33
  216. oci/generative_ai_agent_runtime/generative_ai_agent_runtime_client.py +5 -5
  217. oci/generative_ai_inference/generative_ai_inference_client.py +5 -5
  218. oci/generic_artifacts_content/generic_artifacts_content_client.py +3 -3
  219. oci/globally_distributed_database/sharded_database_service_client.py +30 -30
  220. oci/golden_gate/golden_gate_client.py +84 -84
  221. oci/governance_rules_control_plane/governance_rule_client.py +15 -15
  222. oci/governance_rules_control_plane/work_request_client.py +5 -5
  223. oci/healthchecks/health_checks_client.py +17 -17
  224. oci/identity/identity_client.py +145 -145
  225. oci/identity_data_plane/dataplane_client.py +2 -2
  226. oci/identity_domains/identity_domains_client.py +311 -311
  227. oci/integration/integration_instance_client.py +19 -19
  228. oci/jms/java_management_service_client.py +79 -79
  229. oci/jms_java_downloads/java_download_client.py +25 -25
  230. oci/key_management/ekm_client.py +5 -5
  231. oci/key_management/kms_crypto_client.py +6 -6
  232. oci/key_management/kms_hsm_cluster_client.py +12 -12
  233. oci/key_management/kms_management_client.py +21 -21
  234. oci/key_management/kms_vault_client.py +14 -14
  235. oci/license_manager/license_manager_client.py +18 -18
  236. oci/limits/limits_client.py +4 -4
  237. oci/limits/quotas_client.py +7 -7
  238. oci/load_balancer/load_balancer_client.py +61 -61
  239. oci/load_balancer/models/create_load_balancer_details.py +15 -15
  240. oci/load_balancer/models/load_balancer.py +15 -15
  241. oci/load_balancer/models/update_load_balancer_details.py +15 -15
  242. oci/lockbox/lockbox_client.py +24 -24
  243. oci/log_analytics/log_analytics_client.py +193 -193
  244. oci/logging/logging_management_client.py +30 -30
  245. oci/loggingingestion/logging_client.py +1 -1
  246. oci/loggingsearch/log_search_client.py +1 -1
  247. oci/management_agent/management_agent_client.py +28 -28
  248. oci/management_dashboard/dashx_apis_client.py +14 -14
  249. oci/marketplace/account_client.py +2 -2
  250. oci/marketplace/marketplace_client.py +30 -30
  251. oci/marketplace_private_offer/attachment_client.py +5 -5
  252. oci/marketplace_private_offer/offer_client.py +6 -6
  253. oci/marketplace_publisher/attachment_client.py +5 -5
  254. oci/marketplace_publisher/marketplace_publisher_client.py +71 -71
  255. oci/marketplace_publisher/offer_client.py +6 -6
  256. oci/media_services/media_services_client.py +60 -60
  257. oci/media_services/media_stream_client.py +2 -2
  258. oci/monitoring/monitoring_client.py +18 -18
  259. oci/mysql/channels_client.py +7 -7
  260. oci/mysql/db_backups_client.py +7 -7
  261. oci/mysql/db_system_client.py +17 -17
  262. oci/mysql/models/backup.py +33 -0
  263. oci/mysql/models/backup_summary.py +33 -0
  264. oci/mysql/models/channel.py +35 -2
  265. oci/mysql/models/channel_summary.py +35 -2
  266. oci/mysql/models/configuration.py +35 -2
  267. oci/mysql/models/configuration_summary.py +35 -2
  268. oci/mysql/models/configuration_variables.py +4949 -1858
  269. oci/mysql/models/db_system.py +33 -0
  270. oci/mysql/models/db_system_summary.py +33 -0
  271. oci/mysql/mysqlaas_client.py +7 -7
  272. oci/mysql/replicas_client.py +5 -5
  273. oci/mysql/work_requests_client.py +4 -4
  274. oci/network_firewall/network_firewall_client.py +86 -86
  275. oci/network_load_balancer/network_load_balancer_client.py +35 -35
  276. oci/nosql/nosql_client.py +24 -24
  277. oci/object_storage/object_storage_client.py +55 -55
  278. oci/oce/oce_instance_client.py +10 -10
  279. oci/oci_control_center/occ_metrics_client.py +3 -3
  280. oci/ocvp/cluster_client.py +5 -5
  281. oci/ocvp/esxi_host_client.py +8 -8
  282. oci/ocvp/sddc_client.py +14 -14
  283. oci/ocvp/work_request_client.py +4 -4
  284. oci/oda/management_client.py +59 -59
  285. oci/oda/oda_client.py +17 -17
  286. oci/oda/odapackage_client.py +7 -7
  287. oci/onesubscription/billing_schedule_client.py +1 -1
  288. oci/onesubscription/commitment_client.py +2 -2
  289. oci/onesubscription/computed_usage_client.py +3 -3
  290. oci/onesubscription/invoice_summary_client.py +2 -2
  291. oci/onesubscription/organization_subscription_client.py +1 -1
  292. oci/onesubscription/ratecard_client.py +1 -1
  293. oci/onesubscription/subscribed_service_client.py +2 -2
  294. oci/onesubscription/subscription_client.py +1 -1
  295. oci/ons/notification_control_plane_client.py +6 -6
  296. oci/ons/notification_data_plane_client.py +10 -10
  297. oci/opa/opa_instance_client.py +13 -13
  298. oci/opensearch/opensearch_cluster_backup_client.py +4 -4
  299. oci/opensearch/opensearch_cluster_client.py +16 -16
  300. oci/operator_access_control/access_requests_client.py +10 -10
  301. oci/operator_access_control/operator_actions_client.py +2 -2
  302. oci/operator_access_control/operator_control_assignment_client.py +8 -8
  303. oci/operator_access_control/operator_control_client.py +6 -6
  304. oci/opsi/operations_insights_client.py +181 -181
  305. oci/optimizer/optimizer_client.py +26 -26
  306. oci/os_management/event_client.py +8 -8
  307. oci/os_management/os_management_client.py +69 -69
  308. oci/os_management_hub/event_client.py +10 -10
  309. oci/os_management_hub/lifecycle_environment_client.py +138 -16
  310. oci/os_management_hub/lifecycle_environment_client_composite_operations.py +44 -0
  311. oci/os_management_hub/managed_instance_client.py +309 -35
  312. oci/os_management_hub/managed_instance_client_composite_operations.py +91 -0
  313. oci/os_management_hub/managed_instance_group_client.py +149 -27
  314. oci/os_management_hub/managed_instance_group_client_composite_operations.py +44 -0
  315. oci/os_management_hub/management_station_client.py +59 -16
  316. oci/os_management_hub/models/__init__.py +54 -0
  317. oci/os_management_hub/models/add_packages_to_software_source_details.py +35 -4
  318. oci/os_management_hub/models/agent_event.py +1 -1
  319. oci/os_management_hub/models/associate_managed_instances_with_management_station_details.py +103 -0
  320. oci/os_management_hub/models/attach_lifecycle_stage_to_profile_details.py +76 -0
  321. oci/os_management_hub/models/attach_managed_instance_group_to_profile_details.py +76 -0
  322. oci/os_management_hub/models/attach_managed_instances_to_lifecycle_stage_details.py +1 -1
  323. oci/os_management_hub/models/attach_management_station_to_profile_details.py +76 -0
  324. oci/os_management_hub/models/attach_software_sources_to_profile_details.py +76 -0
  325. oci/os_management_hub/models/available_package_summary.py +1 -1
  326. oci/os_management_hub/models/create_custom_software_source_details.py +54 -3
  327. oci/os_management_hub/models/create_lifecycle_environment_details.py +7 -3
  328. oci/os_management_hub/models/create_managed_instance_group_details.py +7 -3
  329. oci/os_management_hub/models/create_management_station_details.py +31 -0
  330. oci/os_management_hub/models/create_mirror_configuration_details.py +33 -2
  331. oci/os_management_hub/models/create_private_software_source_details.py +406 -0
  332. oci/os_management_hub/models/create_profile_details.py +12 -4
  333. oci/os_management_hub/models/create_scheduled_job_details.py +37 -2
  334. oci/os_management_hub/models/create_software_source_details.py +19 -3
  335. oci/os_management_hub/models/create_software_source_profile_details.py +7 -3
  336. oci/os_management_hub/models/create_station_profile_details.py +7 -3
  337. oci/os_management_hub/models/create_third_party_software_source_details.py +406 -0
  338. oci/os_management_hub/models/create_vendor_software_source_details.py +1 -1
  339. oci/os_management_hub/models/create_versioned_custom_software_source_details.py +54 -3
  340. oci/os_management_hub/models/create_windows_stand_alone_profile_details.py +288 -0
  341. oci/os_management_hub/models/custom_software_source.py +102 -9
  342. oci/os_management_hub/models/custom_software_source_summary.py +64 -8
  343. oci/os_management_hub/models/detach_managed_instances_from_lifecycle_stage_details.py +1 -1
  344. oci/os_management_hub/models/detach_software_sources_from_profile_details.py +76 -0
  345. oci/os_management_hub/models/event.py +23 -3
  346. oci/os_management_hub/models/event_summary.py +11 -3
  347. oci/os_management_hub/models/exploit_attempt_event.py +1 -1
  348. oci/os_management_hub/models/group_profile.py +16 -2
  349. oci/os_management_hub/models/install_packages_on_managed_instance_group_details.py +33 -2
  350. oci/os_management_hub/models/installed_package_summary.py +1 -1
  351. oci/os_management_hub/models/kernel_crash_event.py +1 -1
  352. oci/os_management_hub/models/kernel_oops_event.py +1 -1
  353. oci/os_management_hub/models/ksplice_update_event.py +1 -1
  354. oci/os_management_hub/models/lifecycle_environment.py +7 -3
  355. oci/os_management_hub/models/lifecycle_environment_summary.py +7 -3
  356. oci/os_management_hub/models/lifecycle_profile.py +16 -2
  357. oci/os_management_hub/models/lifecycle_stage.py +7 -3
  358. oci/os_management_hub/models/lifecycle_stage_summary.py +7 -3
  359. oci/os_management_hub/models/managed_instance.py +80 -10
  360. oci/os_management_hub/models/managed_instance_analytic_summary.py +11 -3
  361. oci/os_management_hub/models/managed_instance_group.py +7 -3
  362. oci/os_management_hub/models/managed_instance_group_available_package_summary.py +7 -3
  363. oci/os_management_hub/models/managed_instance_group_summary.py +7 -3
  364. oci/os_management_hub/models/managed_instance_summary.py +47 -8
  365. oci/os_management_hub/models/management_station.py +276 -0
  366. oci/os_management_hub/models/management_station_event.py +1 -1
  367. oci/os_management_hub/models/management_station_event_data.py +58 -3
  368. oci/os_management_hub/models/management_station_summary.py +67 -4
  369. oci/os_management_hub/models/mirror_configuration.py +33 -2
  370. oci/os_management_hub/models/mirror_summary.py +107 -25
  371. oci/os_management_hub/models/mirrors_collection.py +2 -1
  372. oci/os_management_hub/models/module_stream.py +7 -3
  373. oci/os_management_hub/models/package_name_summary.py +7 -3
  374. oci/os_management_hub/models/package_summary.py +7 -3
  375. oci/os_management_hub/models/peer_management_station.py +108 -0
  376. oci/os_management_hub/models/private_software_source.py +330 -0
  377. oci/os_management_hub/models/private_software_source_summary.py +212 -0
  378. oci/os_management_hub/models/profile.py +84 -8
  379. oci/os_management_hub/models/profile_collection.py +1 -1
  380. oci/os_management_hub/models/profile_summary.py +17 -7
  381. oci/os_management_hub/models/profile_version.py +811 -0
  382. oci/os_management_hub/models/reboot_event.py +184 -0
  383. oci/os_management_hub/models/reboot_event_data.py +123 -0
  384. oci/os_management_hub/models/reboot_lifecycle_stage_details.py +101 -0
  385. oci/os_management_hub/models/reboot_managed_instance_details.py +101 -0
  386. oci/os_management_hub/models/reboot_managed_instance_group_details.py +101 -0
  387. oci/os_management_hub/models/remove_packages_from_software_source_details.py +72 -0
  388. oci/os_management_hub/models/replace_packages_in_software_source_details.py +72 -0
  389. oci/os_management_hub/models/rerun_work_request_details.py +103 -0
  390. oci/os_management_hub/models/scheduled_job.py +37 -2
  391. oci/os_management_hub/models/scheduled_job_operation.py +46 -5
  392. oci/os_management_hub/models/scheduled_job_summary.py +37 -2
  393. oci/os_management_hub/models/software_source.py +39 -15
  394. oci/os_management_hub/models/software_source_details.py +11 -3
  395. oci/os_management_hub/models/software_source_event.py +1 -1
  396. oci/os_management_hub/models/software_source_profile.py +16 -2
  397. oci/os_management_hub/models/software_source_summary.py +30 -10
  398. oci/os_management_hub/models/software_source_vendor_summary.py +7 -3
  399. oci/os_management_hub/models/software_update_event.py +1 -1
  400. oci/os_management_hub/models/station_health.py +7 -3
  401. oci/os_management_hub/models/station_profile.py +16 -2
  402. oci/os_management_hub/models/synchronize_mirrors_details.py +7 -3
  403. oci/os_management_hub/models/sysadmin_event.py +184 -0
  404. oci/os_management_hub/models/sysadmin_event_data.py +239 -0
  405. oci/os_management_hub/models/system_details.py +7 -3
  406. oci/os_management_hub/models/third_party_software_source.py +330 -0
  407. oci/os_management_hub/models/third_party_software_source_summary.py +212 -0
  408. oci/os_management_hub/models/updatable_package_summary.py +1 -1
  409. oci/os_management_hub/models/update_custom_software_source_details.py +1 -1
  410. oci/os_management_hub/models/update_management_station_details.py +31 -0
  411. oci/os_management_hub/models/update_mirror_configuration_details.py +33 -2
  412. oci/os_management_hub/models/update_private_software_source_details.py +272 -0
  413. oci/os_management_hub/models/update_profile_details.py +1 -1
  414. oci/os_management_hub/models/update_scheduled_job_details.py +2 -2
  415. oci/os_management_hub/models/update_software_source_details.py +19 -3
  416. oci/os_management_hub/models/update_third_party_software_source_details.py +272 -0
  417. oci/os_management_hub/models/update_vendor_software_source_details.py +1 -1
  418. oci/os_management_hub/models/update_versioned_custom_software_source_details.py +1 -1
  419. oci/os_management_hub/models/update_work_request_details.py +9 -5
  420. oci/os_management_hub/models/vendor_software_source.py +5 -5
  421. oci/os_management_hub/models/vendor_software_source_summary.py +2 -2
  422. oci/os_management_hub/models/versioned_custom_software_source.py +102 -9
  423. oci/os_management_hub/models/versioned_custom_software_source_summary.py +63 -7
  424. oci/os_management_hub/models/windows_standalone_profile.py +17 -3
  425. oci/os_management_hub/models/work_request.py +102 -14
  426. oci/os_management_hub/models/work_request_error.py +4 -4
  427. oci/os_management_hub/models/work_request_error_collection.py +1 -1
  428. oci/os_management_hub/models/work_request_log_entry_collection.py +1 -1
  429. oci/os_management_hub/models/work_request_summary.py +47 -8
  430. oci/os_management_hub/models/work_request_summary_collection.py +1 -1
  431. oci/os_management_hub/onboarding_client.py +991 -75
  432. oci/os_management_hub/reporting_managed_instance_client.py +9 -9
  433. oci/os_management_hub/scheduled_job_client.py +9 -9
  434. oci/os_management_hub/software_source_client.py +848 -47
  435. oci/os_management_hub/software_source_client_composite_operations.py +132 -0
  436. oci/os_management_hub/work_request_client.py +144 -11
  437. oci/os_management_hub/work_request_client_composite_operations.py +46 -0
  438. oci/osp_gateway/address_rule_service_client.py +1 -1
  439. oci/osp_gateway/address_service_client.py +2 -2
  440. oci/osp_gateway/invoice_service_client.py +5 -5
  441. oci/osp_gateway/subscription_service_client.py +5 -5
  442. oci/osub_billing_schedule/billing_schedule_client.py +1 -1
  443. oci/osub_organization_subscription/organization_subscription_client.py +1 -1
  444. oci/osub_subscription/commitment_client.py +2 -2
  445. oci/osub_subscription/ratecard_client.py +1 -1
  446. oci/osub_subscription/subscription_client.py +1 -1
  447. oci/osub_usage/computed_usage_client.py +3 -3
  448. oci/psql/models/__init__.py +8 -0
  449. oci/psql/models/backup.py +110 -5
  450. oci/psql/models/backup_copy_details.py +134 -0
  451. oci/psql/models/backup_copy_policy.py +134 -0
  452. oci/psql/models/backup_copy_status_details.py +193 -0
  453. oci/psql/models/backup_policy.py +29 -2
  454. oci/psql/models/backup_summary.py +74 -0
  455. oci/psql/models/configuration.py +7 -3
  456. oci/psql/models/daily_backup_policy.py +7 -0
  457. oci/psql/models/db_system_details.py +33 -2
  458. oci/psql/models/monthly_backup_policy.py +7 -0
  459. oci/psql/models/none_backup_policy.py +9 -2
  460. oci/psql/models/source_backup_details.py +103 -0
  461. oci/psql/models/weekly_backup_policy.py +7 -0
  462. oci/psql/postgresql_client.py +163 -33
  463. oci/psql/postgresql_client_composite_operations.py +42 -0
  464. oci/queue/queue_admin_client.py +11 -11
  465. oci/queue/queue_client.py +8 -8
  466. oci/recovery/database_recovery_client.py +26 -26
  467. oci/redis/models/redis_cluster.py +7 -3
  468. oci/redis/models/update_redis_cluster_details.py +31 -0
  469. oci/redis/redis_cluster_client.py +12 -12
  470. oci/resource_manager/resource_manager_client.py +52 -52
  471. oci/resource_scheduler/schedule_client.py +13 -13
  472. oci/resource_search/resource_search_client.py +3 -3
  473. oci/rover/rover_bundle_client.py +8 -8
  474. oci/rover/rover_cluster_client.py +8 -8
  475. oci/rover/rover_entitlement_client.py +6 -6
  476. oci/rover/rover_node_client.py +15 -15
  477. oci/rover/shape_client.py +1 -1
  478. oci/rover/work_requests_client.py +5 -5
  479. oci/sch/connector_plugins_client.py +2 -2
  480. oci/sch/service_connector_client.py +12 -12
  481. oci/secrets/secrets_client.py +3 -3
  482. oci/security_attribute/security_attribute_client.py +18 -18
  483. oci/service_catalog/service_catalog_client.py +26 -26
  484. oci/service_manager_proxy/service_manager_proxy_client.py +2 -2
  485. oci/service_mesh/service_mesh_client.py +48 -48
  486. oci/stack_monitoring/stack_monitoring_client.py +87 -87
  487. oci/streaming/stream_admin_client.py +18 -18
  488. oci/streaming/stream_client.py +8 -8
  489. oci/tenant_manager_control_plane/domain_client.py +5 -5
  490. oci/tenant_manager_control_plane/domain_governance_client.py +5 -5
  491. oci/tenant_manager_control_plane/governance_client.py +2 -2
  492. oci/tenant_manager_control_plane/link_client.py +3 -3
  493. oci/tenant_manager_control_plane/models/__init__.py +2 -0
  494. oci/tenant_manager_control_plane/models/additional_assigned_region_collection.py +72 -0
  495. oci/tenant_manager_control_plane/models/classic_subscription.py +33 -2
  496. oci/tenant_manager_control_plane/orders_client.py +2 -2
  497. oci/tenant_manager_control_plane/organization_client.py +10 -10
  498. oci/tenant_manager_control_plane/recipient_invitation_client.py +5 -5
  499. oci/tenant_manager_control_plane/sender_invitation_client.py +5 -5
  500. oci/tenant_manager_control_plane/subscription_client.py +11 -11
  501. oci/tenant_manager_control_plane/subscription_client_composite_operations.py +10 -7
  502. oci/tenant_manager_control_plane/work_request_client.py +4 -4
  503. oci/threat_intelligence/threatintel_client.py +5 -5
  504. oci/usage/resources_client.py +2 -2
  505. oci/usage/rewards_client.py +6 -6
  506. oci/usage/usagelimits_client.py +1 -1
  507. oci/usage_api/usageapi_client.py +33 -33
  508. oci/vault/vaults_client.py +13 -13
  509. oci/vbs_inst/vbs_instance_client.py +10 -10
  510. oci/version.py +1 -1
  511. oci/visual_builder/vb_instance_client.py +14 -14
  512. oci/vn_monitoring/vn_monitoring_client.py +12 -12
  513. oci/vulnerability_scanning/vulnerability_scanning_client.py +58 -58
  514. oci/waa/waa_client.py +13 -13
  515. oci/waa/work_request_client.py +4 -4
  516. oci/waas/redirect_client.py +6 -6
  517. oci/waas/waas_client.py +66 -66
  518. oci/waf/waf_client.py +24 -24
  519. oci/work_requests/work_request_client.py +4 -4
  520. oci/zpr/zpr_client.py +15 -15
  521. {oci-2.145.0.dist-info → oci-2.147.0.dist-info}/METADATA +1 -1
  522. {oci-2.145.0.dist-info → oci-2.147.0.dist-info}/RECORD +526 -447
  523. oci/container_instances/models/container_command_health_check.py +0 -147
  524. oci/container_instances/models/create_container_command_health_check_details.py +0 -132
  525. {oci-2.145.0.dist-info → oci-2.147.0.dist-info}/LICENSE.txt +0 -0
  526. {oci-2.145.0.dist-info → oci-2.147.0.dist-info}/THIRD_PARTY_LICENSES.txt +0 -0
  527. {oci-2.145.0.dist-info → oci-2.147.0.dist-info}/WHEEL +0 -0
  528. {oci-2.145.0.dist-info → oci-2.147.0.dist-info}/top_level.txt +0 -0
@@ -25,6 +25,52 @@ class ManagedInstanceClientCompositeOperations(object):
25
25
  """
26
26
  self.client = client
27
27
 
28
+ def associate_managed_instances_with_management_station_and_wait_for_state(self, management_station_id, associate_managed_instances_with_management_station_details, wait_for_states=[], operation_kwargs={}, waiter_kwargs={}):
29
+ """
30
+ Calls :py:func:`~oci.os_management_hub.ManagedInstanceClient.associate_managed_instances_with_management_station` and waits for the :py:class:`~oci.os_management_hub.models.WorkRequest`
31
+ to enter the given state(s).
32
+
33
+ :param str management_station_id: (required)
34
+ The `OCID`__ of the management station.
35
+
36
+ __ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm
37
+
38
+ :param oci.os_management_hub.models.AssociateManagedInstancesWithManagementStationDetails associate_managed_instances_with_management_station_details: (required)
39
+ The managed instances `OCIDs`__ to associate to the management station.
40
+
41
+ __ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm
42
+
43
+ :param list[str] wait_for_states:
44
+ An array of states to wait on. These should be valid values for :py:attr:`~oci.os_management_hub.models.WorkRequest.status`
45
+
46
+ :param dict operation_kwargs:
47
+ A dictionary of keyword arguments to pass to :py:func:`~oci.os_management_hub.ManagedInstanceClient.associate_managed_instances_with_management_station`
48
+
49
+ :param dict waiter_kwargs:
50
+ 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``
51
+ as dictionary keys to modify how long the waiter function will wait between retries and the maximum amount of time it will wait
52
+ """
53
+ operation_result = self.client.associate_managed_instances_with_management_station(management_station_id, associate_managed_instances_with_management_station_details, **operation_kwargs)
54
+ if not wait_for_states:
55
+ return operation_result
56
+ lowered_wait_for_states = [w.lower() for w in wait_for_states]
57
+ if 'opc-work-request-id' not in operation_result.headers:
58
+ return operation_result
59
+ wait_for_resource_id = operation_result.headers['opc-work-request-id']
60
+
61
+ try:
62
+ waiter_result = oci.wait_until(
63
+ self.client,
64
+ self.client.get_work_request(wait_for_resource_id),
65
+ evaluate_response=lambda r: getattr(r.data, 'status') and getattr(r.data, 'status').lower() in lowered_wait_for_states,
66
+ **waiter_kwargs
67
+ )
68
+ result_to_return = waiter_result
69
+
70
+ return result_to_return
71
+ except Exception as e:
72
+ raise oci.exceptions.CompositeOperationError(partial_results=[operation_result], cause=e)
73
+
28
74
  def attach_software_sources_to_managed_instance_and_wait_for_state(self, managed_instance_id, attach_software_sources_to_managed_instance_details, wait_for_states=[], operation_kwargs={}, waiter_kwargs={}):
29
75
  """
30
76
  Calls :py:func:`~oci.os_management_hub.ManagedInstanceClient.attach_software_sources_to_managed_instance` and waits for the :py:class:`~oci.os_management_hub.models.WorkRequest`
@@ -506,6 +552,51 @@ class ManagedInstanceClientCompositeOperations(object):
506
552
  except Exception as e:
507
553
  raise oci.exceptions.CompositeOperationError(partial_results=[operation_result], cause=e)
508
554
 
555
+ def reboot_managed_instance_and_wait_for_state(self, managed_instance_id, reboot_managed_instance_details, wait_for_states=[], operation_kwargs={}, waiter_kwargs={}):
556
+ """
557
+ Calls :py:func:`~oci.os_management_hub.ManagedInstanceClient.reboot_managed_instance` and waits for the :py:class:`~oci.os_management_hub.models.WorkRequest`
558
+ to enter the given state(s).
559
+
560
+ :param str managed_instance_id: (required)
561
+ The `OCID`__ of the managed instance.
562
+
563
+ __ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm
564
+
565
+ :param oci.os_management_hub.models.RebootManagedInstanceDetails reboot_managed_instance_details: (required)
566
+ The timeout to be set for the reboot job. The timeout is the amount of time in minutes that the service waits for
567
+ the reboot to complete before marking the job as failed.
568
+
569
+ :param list[str] wait_for_states:
570
+ An array of states to wait on. These should be valid values for :py:attr:`~oci.os_management_hub.models.WorkRequest.status`
571
+
572
+ :param dict operation_kwargs:
573
+ A dictionary of keyword arguments to pass to :py:func:`~oci.os_management_hub.ManagedInstanceClient.reboot_managed_instance`
574
+
575
+ :param dict waiter_kwargs:
576
+ 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``
577
+ as dictionary keys to modify how long the waiter function will wait between retries and the maximum amount of time it will wait
578
+ """
579
+ operation_result = self.client.reboot_managed_instance(managed_instance_id, reboot_managed_instance_details, **operation_kwargs)
580
+ if not wait_for_states:
581
+ return operation_result
582
+ lowered_wait_for_states = [w.lower() for w in wait_for_states]
583
+ if 'opc-work-request-id' not in operation_result.headers:
584
+ return operation_result
585
+ wait_for_resource_id = operation_result.headers['opc-work-request-id']
586
+
587
+ try:
588
+ waiter_result = oci.wait_until(
589
+ self.client,
590
+ self.client.get_work_request(wait_for_resource_id),
591
+ evaluate_response=lambda r: getattr(r.data, 'status') and getattr(r.data, 'status').lower() in lowered_wait_for_states,
592
+ **waiter_kwargs
593
+ )
594
+ result_to_return = waiter_result
595
+
596
+ return result_to_return
597
+ except Exception as e:
598
+ raise oci.exceptions.CompositeOperationError(partial_results=[operation_result], cause=e)
599
+
509
600
  def refresh_software_on_managed_instance_and_wait_for_state(self, managed_instance_id, wait_for_states=[], operation_kwargs={}, waiter_kwargs={}):
510
601
  """
511
602
  Calls :py:func:`~oci.os_management_hub.ManagedInstanceClient.refresh_software_on_managed_instance` and waits for the :py:class:`~oci.os_management_hub.models.WorkRequest`
@@ -165,7 +165,7 @@ class ManagedInstanceGroupClient(object):
165
165
  :rtype: :class:`~oci.response.Response`
166
166
 
167
167
  :example:
168
- Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.145.0/osmanagementhub/attach_managed_instances_to_managed_instance_group.py.html>`__ to see an example of how to use attach_managed_instances_to_managed_instance_group API.
168
+ Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.147.0/osmanagementhub/attach_managed_instances_to_managed_instance_group.py.html>`__ to see an example of how to use attach_managed_instances_to_managed_instance_group API.
169
169
  """
170
170
  # Required path and query arguments. These are in camelCase to replace values in service endpoints.
171
171
  required_arguments = ['managedInstanceGroupId']
@@ -289,7 +289,7 @@ class ManagedInstanceGroupClient(object):
289
289
  :rtype: :class:`~oci.response.Response`
290
290
 
291
291
  :example:
292
- Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.145.0/osmanagementhub/attach_software_sources_to_managed_instance_group.py.html>`__ to see an example of how to use attach_software_sources_to_managed_instance_group API.
292
+ Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.147.0/osmanagementhub/attach_software_sources_to_managed_instance_group.py.html>`__ to see an example of how to use attach_software_sources_to_managed_instance_group API.
293
293
  """
294
294
  # Required path and query arguments. These are in camelCase to replace values in service endpoints.
295
295
  required_arguments = ['managedInstanceGroupId']
@@ -415,7 +415,7 @@ class ManagedInstanceGroupClient(object):
415
415
  :rtype: :class:`~oci.response.Response`
416
416
 
417
417
  :example:
418
- Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.145.0/osmanagementhub/change_managed_instance_group_compartment.py.html>`__ to see an example of how to use change_managed_instance_group_compartment API.
418
+ Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.147.0/osmanagementhub/change_managed_instance_group_compartment.py.html>`__ to see an example of how to use change_managed_instance_group_compartment API.
419
419
  """
420
420
  # Required path and query arguments. These are in camelCase to replace values in service endpoints.
421
421
  required_arguments = ['managedInstanceGroupId']
@@ -525,7 +525,7 @@ class ManagedInstanceGroupClient(object):
525
525
  :rtype: :class:`~oci.response.Response`
526
526
 
527
527
  :example:
528
- Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.145.0/osmanagementhub/create_managed_instance_group.py.html>`__ to see an example of how to use create_managed_instance_group API.
528
+ Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.147.0/osmanagementhub/create_managed_instance_group.py.html>`__ to see an example of how to use create_managed_instance_group API.
529
529
  """
530
530
  # Required path and query arguments. These are in camelCase to replace values in service endpoints.
531
531
  required_arguments = []
@@ -625,7 +625,7 @@ class ManagedInstanceGroupClient(object):
625
625
  :rtype: :class:`~oci.response.Response`
626
626
 
627
627
  :example:
628
- Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.145.0/osmanagementhub/delete_managed_instance_group.py.html>`__ to see an example of how to use delete_managed_instance_group API.
628
+ Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.147.0/osmanagementhub/delete_managed_instance_group.py.html>`__ to see an example of how to use delete_managed_instance_group API.
629
629
  """
630
630
  # Required path and query arguments. These are in camelCase to replace values in service endpoints.
631
631
  required_arguments = ['managedInstanceGroupId']
@@ -744,7 +744,7 @@ class ManagedInstanceGroupClient(object):
744
744
  :rtype: :class:`~oci.response.Response`
745
745
 
746
746
  :example:
747
- Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.145.0/osmanagementhub/detach_managed_instances_from_managed_instance_group.py.html>`__ to see an example of how to use detach_managed_instances_from_managed_instance_group API.
747
+ Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.147.0/osmanagementhub/detach_managed_instances_from_managed_instance_group.py.html>`__ to see an example of how to use detach_managed_instances_from_managed_instance_group API.
748
748
  """
749
749
  # Required path and query arguments. These are in camelCase to replace values in service endpoints.
750
750
  required_arguments = ['managedInstanceGroupId']
@@ -868,7 +868,7 @@ class ManagedInstanceGroupClient(object):
868
868
  :rtype: :class:`~oci.response.Response`
869
869
 
870
870
  :example:
871
- Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.145.0/osmanagementhub/detach_software_sources_from_managed_instance_group.py.html>`__ to see an example of how to use detach_software_sources_from_managed_instance_group API.
871
+ Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.147.0/osmanagementhub/detach_software_sources_from_managed_instance_group.py.html>`__ to see an example of how to use detach_software_sources_from_managed_instance_group API.
872
872
  """
873
873
  # Required path and query arguments. These are in camelCase to replace values in service endpoints.
874
874
  required_arguments = ['managedInstanceGroupId']
@@ -990,7 +990,7 @@ class ManagedInstanceGroupClient(object):
990
990
  :rtype: :class:`~oci.response.Response`
991
991
 
992
992
  :example:
993
- Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.145.0/osmanagementhub/disable_module_stream_on_managed_instance_group.py.html>`__ to see an example of how to use disable_module_stream_on_managed_instance_group API.
993
+ Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.147.0/osmanagementhub/disable_module_stream_on_managed_instance_group.py.html>`__ to see an example of how to use disable_module_stream_on_managed_instance_group API.
994
994
  """
995
995
  # Required path and query arguments. These are in camelCase to replace values in service endpoints.
996
996
  required_arguments = ['managedInstanceGroupId']
@@ -1112,7 +1112,7 @@ class ManagedInstanceGroupClient(object):
1112
1112
  :rtype: :class:`~oci.response.Response`
1113
1113
 
1114
1114
  :example:
1115
- Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.145.0/osmanagementhub/enable_module_stream_on_managed_instance_group.py.html>`__ to see an example of how to use enable_module_stream_on_managed_instance_group API.
1115
+ Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.147.0/osmanagementhub/enable_module_stream_on_managed_instance_group.py.html>`__ to see an example of how to use enable_module_stream_on_managed_instance_group API.
1116
1116
  """
1117
1117
  # Required path and query arguments. These are in camelCase to replace values in service endpoints.
1118
1118
  required_arguments = ['managedInstanceGroupId']
@@ -1217,7 +1217,7 @@ class ManagedInstanceGroupClient(object):
1217
1217
  :rtype: :class:`~oci.response.Response`
1218
1218
 
1219
1219
  :example:
1220
- Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.145.0/osmanagementhub/get_managed_instance_group.py.html>`__ to see an example of how to use get_managed_instance_group API.
1220
+ Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.147.0/osmanagementhub/get_managed_instance_group.py.html>`__ to see an example of how to use get_managed_instance_group API.
1221
1221
  """
1222
1222
  # Required path and query arguments. These are in camelCase to replace values in service endpoints.
1223
1223
  required_arguments = ['managedInstanceGroupId']
@@ -1334,7 +1334,7 @@ class ManagedInstanceGroupClient(object):
1334
1334
  :rtype: :class:`~oci.response.Response`
1335
1335
 
1336
1336
  :example:
1337
- Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.145.0/osmanagementhub/install_module_stream_profile_on_managed_instance_group.py.html>`__ to see an example of how to use install_module_stream_profile_on_managed_instance_group API.
1337
+ Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.147.0/osmanagementhub/install_module_stream_profile_on_managed_instance_group.py.html>`__ to see an example of how to use install_module_stream_profile_on_managed_instance_group API.
1338
1338
  """
1339
1339
  # Required path and query arguments. These are in camelCase to replace values in service endpoints.
1340
1340
  required_arguments = ['managedInstanceGroupId']
@@ -1456,7 +1456,7 @@ class ManagedInstanceGroupClient(object):
1456
1456
  :rtype: :class:`~oci.response.Response`
1457
1457
 
1458
1458
  :example:
1459
- Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.145.0/osmanagementhub/install_packages_on_managed_instance_group.py.html>`__ to see an example of how to use install_packages_on_managed_instance_group API.
1459
+ Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.147.0/osmanagementhub/install_packages_on_managed_instance_group.py.html>`__ to see an example of how to use install_packages_on_managed_instance_group API.
1460
1460
  """
1461
1461
  # Required path and query arguments. These are in camelCase to replace values in service endpoints.
1462
1462
  required_arguments = ['managedInstanceGroupId']
@@ -1578,7 +1578,7 @@ class ManagedInstanceGroupClient(object):
1578
1578
  :rtype: :class:`~oci.response.Response`
1579
1579
 
1580
1580
  :example:
1581
- Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.145.0/osmanagementhub/install_windows_updates_on_managed_instance_group.py.html>`__ to see an example of how to use install_windows_updates_on_managed_instance_group API.
1581
+ Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.147.0/osmanagementhub/install_windows_updates_on_managed_instance_group.py.html>`__ to see an example of how to use install_windows_updates_on_managed_instance_group API.
1582
1582
  """
1583
1583
  # Required path and query arguments. These are in camelCase to replace values in service endpoints.
1584
1584
  required_arguments = ['managedInstanceGroupId']
@@ -1718,7 +1718,7 @@ class ManagedInstanceGroupClient(object):
1718
1718
  :rtype: :class:`~oci.response.Response`
1719
1719
 
1720
1720
  :example:
1721
- Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.145.0/osmanagementhub/list_managed_instance_group_available_modules.py.html>`__ to see an example of how to use list_managed_instance_group_available_modules API.
1721
+ Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.147.0/osmanagementhub/list_managed_instance_group_available_modules.py.html>`__ to see an example of how to use list_managed_instance_group_available_modules API.
1722
1722
  """
1723
1723
  # Required path and query arguments. These are in camelCase to replace values in service endpoints.
1724
1724
  required_arguments = ['managedInstanceGroupId']
@@ -1891,7 +1891,7 @@ class ManagedInstanceGroupClient(object):
1891
1891
  :rtype: :class:`~oci.response.Response`
1892
1892
 
1893
1893
  :example:
1894
- Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.145.0/osmanagementhub/list_managed_instance_group_available_packages.py.html>`__ to see an example of how to use list_managed_instance_group_available_packages API.
1894
+ Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.147.0/osmanagementhub/list_managed_instance_group_available_packages.py.html>`__ to see an example of how to use list_managed_instance_group_available_packages API.
1895
1895
  """
1896
1896
  # Required path and query arguments. These are in camelCase to replace values in service endpoints.
1897
1897
  required_arguments = ['managedInstanceGroupId']
@@ -2062,7 +2062,7 @@ class ManagedInstanceGroupClient(object):
2062
2062
  :rtype: :class:`~oci.response.Response`
2063
2063
 
2064
2064
  :example:
2065
- Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.145.0/osmanagementhub/list_managed_instance_group_available_software_sources.py.html>`__ to see an example of how to use list_managed_instance_group_available_software_sources API.
2065
+ Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.147.0/osmanagementhub/list_managed_instance_group_available_software_sources.py.html>`__ to see an example of how to use list_managed_instance_group_available_software_sources API.
2066
2066
  """
2067
2067
  # Required path and query arguments. These are in camelCase to replace values in service endpoints.
2068
2068
  required_arguments = ['managedInstanceGroupId']
@@ -2242,7 +2242,7 @@ class ManagedInstanceGroupClient(object):
2242
2242
  :rtype: :class:`~oci.response.Response`
2243
2243
 
2244
2244
  :example:
2245
- Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.145.0/osmanagementhub/list_managed_instance_group_installed_packages.py.html>`__ to see an example of how to use list_managed_instance_group_installed_packages API.
2245
+ Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.147.0/osmanagementhub/list_managed_instance_group_installed_packages.py.html>`__ to see an example of how to use list_managed_instance_group_installed_packages API.
2246
2246
  """
2247
2247
  # Required path and query arguments. These are in camelCase to replace values in service endpoints.
2248
2248
  required_arguments = ['managedInstanceGroupId']
@@ -2438,7 +2438,7 @@ class ManagedInstanceGroupClient(object):
2438
2438
  :rtype: :class:`~oci.response.Response`
2439
2439
 
2440
2440
  :example:
2441
- Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.145.0/osmanagementhub/list_managed_instance_group_modules.py.html>`__ to see an example of how to use list_managed_instance_group_modules API.
2441
+ Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.147.0/osmanagementhub/list_managed_instance_group_modules.py.html>`__ to see an example of how to use list_managed_instance_group_modules API.
2442
2442
  """
2443
2443
  # Required path and query arguments. These are in camelCase to replace values in service endpoints.
2444
2444
  required_arguments = ['managedInstanceGroupId']
@@ -2574,7 +2574,7 @@ class ManagedInstanceGroupClient(object):
2574
2574
  :param str arch_type: (optional)
2575
2575
  A filter to return only profiles that match the given archType.
2576
2576
 
2577
- Allowed values are: "X86_64", "AARCH64", "I686", "NOARCH", "SRC"
2577
+ Allowed values are: "X86_64", "AARCH64", "I686", "NOARCH", "SRC", "I386"
2578
2578
 
2579
2579
  :param str os_family: (optional)
2580
2580
  A filter to return only resources that match the given operating system family.
@@ -2644,7 +2644,7 @@ class ManagedInstanceGroupClient(object):
2644
2644
  :rtype: :class:`~oci.response.Response`
2645
2645
 
2646
2646
  :example:
2647
- Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.145.0/osmanagementhub/list_managed_instance_groups.py.html>`__ to see an example of how to use list_managed_instance_groups API.
2647
+ Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.147.0/osmanagementhub/list_managed_instance_groups.py.html>`__ to see an example of how to use list_managed_instance_groups API.
2648
2648
  """
2649
2649
  # Required path and query arguments. These are in camelCase to replace values in service endpoints.
2650
2650
  required_arguments = []
@@ -2680,7 +2680,7 @@ class ManagedInstanceGroupClient(object):
2680
2680
  f"list_managed_instance_groups got unknown kwargs: {extra_kwargs!r}")
2681
2681
 
2682
2682
  if 'arch_type' in kwargs:
2683
- arch_type_allowed_values = ["X86_64", "AARCH64", "I686", "NOARCH", "SRC"]
2683
+ arch_type_allowed_values = ["X86_64", "AARCH64", "I686", "NOARCH", "SRC", "I386"]
2684
2684
  if kwargs['arch_type'] not in arch_type_allowed_values:
2685
2685
  raise ValueError(
2686
2686
  f"Invalid value for `arch_type`, must be one of { arch_type_allowed_values }"
@@ -2837,7 +2837,7 @@ class ManagedInstanceGroupClient(object):
2837
2837
  :rtype: :class:`~oci.response.Response`
2838
2838
 
2839
2839
  :example:
2840
- Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.145.0/osmanagementhub/manage_module_streams_on_managed_instance_group.py.html>`__ to see an example of how to use manage_module_streams_on_managed_instance_group API.
2840
+ Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.147.0/osmanagementhub/manage_module_streams_on_managed_instance_group.py.html>`__ to see an example of how to use manage_module_streams_on_managed_instance_group API.
2841
2841
  """
2842
2842
  # Required path and query arguments. These are in camelCase to replace values in service endpoints.
2843
2843
  required_arguments = ['managedInstanceGroupId']
@@ -2913,6 +2913,128 @@ class ManagedInstanceGroupClient(object):
2913
2913
  api_reference_link=api_reference_link,
2914
2914
  required_arguments=required_arguments)
2915
2915
 
2916
+ def reboot_managed_instance_group(self, managed_instance_group_id, reboot_managed_instance_group_details, **kwargs):
2917
+ """
2918
+ Reboots all managed instances in the specified group.
2919
+
2920
+
2921
+ :param str managed_instance_group_id: (required)
2922
+ The `OCID`__ of the managed instance group.
2923
+
2924
+ __ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm
2925
+
2926
+ :param oci.os_management_hub.models.RebootManagedInstanceGroupDetails reboot_managed_instance_group_details: (required)
2927
+ Provides the information used to reboot managed instances in a group.
2928
+
2929
+ :param str opc_request_id: (optional)
2930
+ Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID.
2931
+
2932
+ :param str opc_retry_token: (optional)
2933
+ A token that uniquely identifies a request so it can be retried in case of a timeout or
2934
+ server error without risk of executing that same action again. Retry tokens expire after 24
2935
+ hours, but can be invalidated before then due to conflicting operations. For example, if a resource
2936
+ has been deleted and purged from the system, then a retry of the original creation request
2937
+ might be rejected.
2938
+
2939
+ :param str if_match: (optional)
2940
+ For optimistic concurrency control. In the PUT or DELETE call
2941
+ for a resource, set the `if-match` parameter to the value of the
2942
+ etag from a previous GET or POST response for that resource.
2943
+ The resource will be updated or deleted only if the etag you
2944
+ provide matches the resource's current etag value.
2945
+
2946
+ :param obj retry_strategy: (optional)
2947
+ A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.
2948
+
2949
+ 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.
2950
+ The specifics of the default retry strategy are described `here <https://docs.oracle.com/en-us/iaas/tools/python/latest/sdk_behaviors/retries.html>`__.
2951
+
2952
+ To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.
2953
+
2954
+ :param bool allow_control_chars: (optional)
2955
+ allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object.
2956
+ By default, the response will not allow control characters in strings
2957
+
2958
+ :return: A :class:`~oci.response.Response` object with data of type None
2959
+ :rtype: :class:`~oci.response.Response`
2960
+
2961
+ :example:
2962
+ Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.147.0/osmanagementhub/reboot_managed_instance_group.py.html>`__ to see an example of how to use reboot_managed_instance_group API.
2963
+ """
2964
+ # Required path and query arguments. These are in camelCase to replace values in service endpoints.
2965
+ required_arguments = ['managedInstanceGroupId']
2966
+ resource_path = "/managedInstanceGroups/{managedInstanceGroupId}/actions/reboot"
2967
+ method = "POST"
2968
+ operation_name = "reboot_managed_instance_group"
2969
+ api_reference_link = "https://docs.oracle.com/iaas/api/#/en/osmh/20220901/ManagedInstanceGroup/RebootManagedInstanceGroup"
2970
+
2971
+ # Don't accept unknown kwargs
2972
+ expected_kwargs = [
2973
+ "allow_control_chars",
2974
+ "retry_strategy",
2975
+ "opc_request_id",
2976
+ "opc_retry_token",
2977
+ "if_match"
2978
+ ]
2979
+ extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
2980
+ if extra_kwargs:
2981
+ raise ValueError(
2982
+ f"reboot_managed_instance_group got unknown kwargs: {extra_kwargs!r}")
2983
+
2984
+ path_params = {
2985
+ "managedInstanceGroupId": managed_instance_group_id
2986
+ }
2987
+
2988
+ path_params = {k: v for (k, v) in six.iteritems(path_params) if v is not missing}
2989
+
2990
+ for (k, v) in six.iteritems(path_params):
2991
+ if v is None or (isinstance(v, six.string_types) and len(v.strip()) == 0):
2992
+ raise ValueError(f'Parameter {k} cannot be None, whitespace or empty string')
2993
+
2994
+ header_params = {
2995
+ "accept": "application/json",
2996
+ "content-type": "application/json",
2997
+ "opc-request-id": kwargs.get("opc_request_id", missing),
2998
+ "opc-retry-token": kwargs.get("opc_retry_token", missing),
2999
+ "if-match": kwargs.get("if_match", missing)
3000
+ }
3001
+ header_params = {k: v for (k, v) in six.iteritems(header_params) if v is not missing and v is not None}
3002
+
3003
+ retry_strategy = self.base_client.get_preferred_retry_strategy(
3004
+ operation_retry_strategy=kwargs.get('retry_strategy'),
3005
+ client_retry_strategy=self.retry_strategy
3006
+ )
3007
+ if retry_strategy is None:
3008
+ retry_strategy = retry.DEFAULT_RETRY_STRATEGY
3009
+
3010
+ if retry_strategy:
3011
+ if not isinstance(retry_strategy, retry.NoneRetryStrategy):
3012
+ self.base_client.add_opc_retry_token_if_needed(header_params)
3013
+ self.base_client.add_opc_client_retries_header(header_params)
3014
+ retry_strategy.add_circuit_breaker_callback(self.circuit_breaker_callback)
3015
+ return retry_strategy.make_retrying_call(
3016
+ self.base_client.call_api,
3017
+ resource_path=resource_path,
3018
+ method=method,
3019
+ path_params=path_params,
3020
+ header_params=header_params,
3021
+ body=reboot_managed_instance_group_details,
3022
+ allow_control_chars=kwargs.get('allow_control_chars'),
3023
+ operation_name=operation_name,
3024
+ api_reference_link=api_reference_link,
3025
+ required_arguments=required_arguments)
3026
+ else:
3027
+ return self.base_client.call_api(
3028
+ resource_path=resource_path,
3029
+ method=method,
3030
+ path_params=path_params,
3031
+ header_params=header_params,
3032
+ body=reboot_managed_instance_group_details,
3033
+ allow_control_chars=kwargs.get('allow_control_chars'),
3034
+ operation_name=operation_name,
3035
+ api_reference_link=api_reference_link,
3036
+ required_arguments=required_arguments)
3037
+
2916
3038
  def remove_module_stream_profile_from_managed_instance_group(self, managed_instance_group_id, remove_module_stream_profile_from_managed_instance_group_details, **kwargs):
2917
3039
  """
2918
3040
  Removes a profile for a module stream that is installed on a managed instance group. Providing the module stream name (without specifying a profile name) removes all profiles that have been installed for the module stream.
@@ -2959,7 +3081,7 @@ class ManagedInstanceGroupClient(object):
2959
3081
  :rtype: :class:`~oci.response.Response`
2960
3082
 
2961
3083
  :example:
2962
- Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.145.0/osmanagementhub/remove_module_stream_profile_from_managed_instance_group.py.html>`__ to see an example of how to use remove_module_stream_profile_from_managed_instance_group API.
3084
+ Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.147.0/osmanagementhub/remove_module_stream_profile_from_managed_instance_group.py.html>`__ to see an example of how to use remove_module_stream_profile_from_managed_instance_group API.
2963
3085
  """
2964
3086
  # Required path and query arguments. These are in camelCase to replace values in service endpoints.
2965
3087
  required_arguments = ['managedInstanceGroupId']
@@ -3081,7 +3203,7 @@ class ManagedInstanceGroupClient(object):
3081
3203
  :rtype: :class:`~oci.response.Response`
3082
3204
 
3083
3205
  :example:
3084
- Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.145.0/osmanagementhub/remove_packages_from_managed_instance_group.py.html>`__ to see an example of how to use remove_packages_from_managed_instance_group API.
3206
+ Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.147.0/osmanagementhub/remove_packages_from_managed_instance_group.py.html>`__ to see an example of how to use remove_packages_from_managed_instance_group API.
3085
3207
  """
3086
3208
  # Required path and query arguments. These are in camelCase to replace values in service endpoints.
3087
3209
  required_arguments = ['managedInstanceGroupId']
@@ -3206,7 +3328,7 @@ class ManagedInstanceGroupClient(object):
3206
3328
  :rtype: :class:`~oci.response.Response`
3207
3329
 
3208
3330
  :example:
3209
- Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.145.0/osmanagementhub/switch_module_stream_on_managed_instance_group.py.html>`__ to see an example of how to use switch_module_stream_on_managed_instance_group API.
3331
+ Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.147.0/osmanagementhub/switch_module_stream_on_managed_instance_group.py.html>`__ to see an example of how to use switch_module_stream_on_managed_instance_group API.
3210
3332
  """
3211
3333
  # Required path and query arguments. These are in camelCase to replace values in service endpoints.
3212
3334
  required_arguments = ['managedInstanceGroupId']
@@ -3328,7 +3450,7 @@ class ManagedInstanceGroupClient(object):
3328
3450
  :rtype: :class:`~oci.response.Response`
3329
3451
 
3330
3452
  :example:
3331
- Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.145.0/osmanagementhub/update_all_packages_on_managed_instance_group.py.html>`__ to see an example of how to use update_all_packages_on_managed_instance_group API.
3453
+ Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.147.0/osmanagementhub/update_all_packages_on_managed_instance_group.py.html>`__ to see an example of how to use update_all_packages_on_managed_instance_group API.
3332
3454
  """
3333
3455
  # Required path and query arguments. These are in camelCase to replace values in service endpoints.
3334
3456
  required_arguments = ['managedInstanceGroupId']
@@ -3443,7 +3565,7 @@ class ManagedInstanceGroupClient(object):
3443
3565
  :rtype: :class:`~oci.response.Response`
3444
3566
 
3445
3567
  :example:
3446
- Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.145.0/osmanagementhub/update_managed_instance_group.py.html>`__ to see an example of how to use update_managed_instance_group API.
3568
+ Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.147.0/osmanagementhub/update_managed_instance_group.py.html>`__ to see an example of how to use update_managed_instance_group API.
3447
3569
  """
3448
3570
  # Required path and query arguments. These are in camelCase to replace values in service endpoints.
3449
3571
  required_arguments = ['managedInstanceGroupId']
@@ -525,6 +525,50 @@ class ManagedInstanceGroupClientCompositeOperations(object):
525
525
  except Exception as e:
526
526
  raise oci.exceptions.CompositeOperationError(partial_results=[operation_result], cause=e)
527
527
 
528
+ def reboot_managed_instance_group_and_wait_for_state(self, managed_instance_group_id, reboot_managed_instance_group_details, wait_for_states=[], operation_kwargs={}, waiter_kwargs={}):
529
+ """
530
+ Calls :py:func:`~oci.os_management_hub.ManagedInstanceGroupClient.reboot_managed_instance_group` and waits for the :py:class:`~oci.os_management_hub.models.WorkRequest`
531
+ to enter the given state(s).
532
+
533
+ :param str managed_instance_group_id: (required)
534
+ The `OCID`__ of the managed instance group.
535
+
536
+ __ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm
537
+
538
+ :param oci.os_management_hub.models.RebootManagedInstanceGroupDetails reboot_managed_instance_group_details: (required)
539
+ Provides the information used to reboot managed instances in a group.
540
+
541
+ :param list[str] wait_for_states:
542
+ An array of states to wait on. These should be valid values for :py:attr:`~oci.os_management_hub.models.WorkRequest.status`
543
+
544
+ :param dict operation_kwargs:
545
+ A dictionary of keyword arguments to pass to :py:func:`~oci.os_management_hub.ManagedInstanceGroupClient.reboot_managed_instance_group`
546
+
547
+ :param dict waiter_kwargs:
548
+ 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``
549
+ as dictionary keys to modify how long the waiter function will wait between retries and the maximum amount of time it will wait
550
+ """
551
+ operation_result = self.client.reboot_managed_instance_group(managed_instance_group_id, reboot_managed_instance_group_details, **operation_kwargs)
552
+ if not wait_for_states:
553
+ return operation_result
554
+ lowered_wait_for_states = [w.lower() for w in wait_for_states]
555
+ if 'opc-work-request-id' not in operation_result.headers:
556
+ return operation_result
557
+ wait_for_resource_id = operation_result.headers['opc-work-request-id']
558
+
559
+ try:
560
+ waiter_result = oci.wait_until(
561
+ self.client,
562
+ self.client.get_work_request(wait_for_resource_id),
563
+ evaluate_response=lambda r: getattr(r.data, 'status') and getattr(r.data, 'status').lower() in lowered_wait_for_states,
564
+ **waiter_kwargs
565
+ )
566
+ result_to_return = waiter_result
567
+
568
+ return result_to_return
569
+ except Exception as e:
570
+ raise oci.exceptions.CompositeOperationError(partial_results=[operation_result], cause=e)
571
+
528
572
  def remove_module_stream_profile_from_managed_instance_group_and_wait_for_state(self, managed_instance_group_id, remove_module_stream_profile_from_managed_instance_group_details, wait_for_states=[], operation_kwargs={}, waiter_kwargs={}):
529
573
  """
530
574
  Calls :py:func:`~oci.os_management_hub.ManagedInstanceGroupClient.remove_module_stream_profile_from_managed_instance_group` and waits for the :py:class:`~oci.os_management_hub.models.WorkRequest`