oci 2.150.1__py3-none-any.whl → 2.150.2__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 (302) hide show
  1. oci/access_governance_cp/access_governance_cp_client.py +8 -8
  2. oci/adm/application_dependency_management_client.py +36 -36
  3. oci/ai_anomaly_detection/anomaly_detection_client.py +36 -36
  4. oci/ai_document/ai_service_document_client.py +26 -26
  5. oci/ai_language/ai_service_language_client.py +44 -44
  6. oci/ai_speech/ai_service_speech_client.py +19 -19
  7. oci/ai_vision/ai_service_vision_client.py +28 -28
  8. oci/analytics/analytics_client.py +24 -24
  9. oci/announcements_service/announcement_client.py +5 -5
  10. oci/announcements_service/announcement_subscription_client.py +9 -9
  11. oci/announcements_service/announcements_preferences_client.py +4 -4
  12. oci/announcements_service/service_client.py +1 -1
  13. oci/apigateway/api_gateway_client.py +21 -21
  14. oci/apigateway/deployment_client.py +6 -6
  15. oci/apigateway/gateway_client.py +6 -6
  16. oci/apigateway/subscribers_client.py +6 -6
  17. oci/apigateway/usage_plans_client.py +6 -6
  18. oci/apigateway/work_requests_client.py +5 -5
  19. oci/apm_config/config_client.py +12 -12
  20. oci/apm_control_plane/apm_domain_client.py +14 -14
  21. oci/apm_synthetics/apm_synthetic_client.py +28 -28
  22. oci/apm_traces/attributes_client.py +8 -8
  23. oci/apm_traces/query_client.py +2 -2
  24. oci/apm_traces/trace_client.py +4 -4
  25. oci/appmgmt_control/appmgmt_control_client.py +8 -8
  26. oci/artifacts/artifacts_client.py +32 -32
  27. oci/audit/audit_client.py +3 -3
  28. oci/autoscaling/auto_scaling_client.py +11 -11
  29. oci/bastion/bastion_client.py +15 -15
  30. oci/bds/bds_client.py +84 -84
  31. oci/blockchain/blockchain_platform_client.py +27 -27
  32. oci/budget/budget_client.py +10 -10
  33. oci/capacity_management/capacity_management_client.py +32 -32
  34. oci/certificates/certificates_client.py +5 -5
  35. oci/certificates_management/certificates_management_client.py +32 -32
  36. oci/cims/incident_client.py +6 -6
  37. oci/cloud_bridge/common_client.py +5 -5
  38. oci/cloud_bridge/discovery_client.py +15 -15
  39. oci/cloud_bridge/inventory_client.py +16 -16
  40. oci/cloud_bridge/ocb_agent_svc_client.py +23 -23
  41. oci/cloud_guard/cloud_guard_client.py +155 -155
  42. oci/cloud_migrations/migration_client.py +43 -43
  43. oci/cluster_placement_groups/cluster_placement_groups_cp_client.py +13 -13
  44. oci/compute_cloud_at_customer/compute_cloud_at_customer_client.py +12 -12
  45. oci/compute_instance_agent/compute_instance_agent_client.py +6 -6
  46. oci/compute_instance_agent/plugin_client.py +2 -2
  47. oci/compute_instance_agent/pluginconfig_client.py +1 -1
  48. oci/container_engine/container_engine_client.py +282 -45
  49. oci/container_engine/container_engine_client_composite_operations.py +90 -0
  50. oci/container_engine/models/__init__.py +10 -0
  51. oci/container_engine/models/cluster_node.py +101 -0
  52. oci/container_engine/models/image.py +132 -0
  53. oci/container_engine/models/node_eviction_node_pool_settings.py +33 -2
  54. oci/container_engine/models/node_eviction_settings.py +103 -0
  55. oci/container_engine/models/node_pool_cycling_details.py +35 -4
  56. oci/container_engine/models/reboot_cluster_node_details.py +66 -0
  57. oci/container_engine/models/replace_boot_volume_cluster_node_details.py +66 -0
  58. oci/container_engine/models/work_request.py +11 -3
  59. oci/container_engine/models/work_request_summary.py +11 -3
  60. oci/container_instances/container_instance_client.py +18 -18
  61. oci/core/blockstorage_client.py +60 -60
  62. oci/core/compute_client.py +117 -117
  63. oci/core/compute_management_client.py +32 -32
  64. oci/core/models/create_volume_details.py +33 -2
  65. oci/core/models/instance_configuration_create_volume_details.py +33 -2
  66. oci/core/models/update_volume_details.py +33 -2
  67. oci/core/models/volume.py +33 -2
  68. oci/core/virtual_network_client.py +258 -258
  69. oci/dashboard_service/dashboard_client.py +6 -6
  70. oci/dashboard_service/dashboard_group_client.py +6 -6
  71. oci/data_catalog/data_catalog_client.py +149 -149
  72. oci/data_flow/data_flow_client.py +45 -45
  73. oci/data_integration/data_integration_client.py +163 -163
  74. oci/data_labeling_service/data_labeling_management_client.py +17 -17
  75. oci/data_labeling_service_dataplane/data_labeling_client.py +15 -15
  76. oci/data_safe/data_safe_client.py +317 -317
  77. oci/data_science/data_science_client.py +145 -145
  78. oci/database/database_client.py +414 -414
  79. oci/database_management/db_management_client.py +228 -228
  80. oci/database_management/diagnosability_client.py +4 -4
  81. oci/database_management/managed_my_sql_databases_client.py +9 -9
  82. oci/database_management/perfhub_client.py +1 -1
  83. oci/database_management/sql_tuning_client.py +17 -17
  84. oci/database_migration/database_migration_client.py +42 -42
  85. oci/database_tools/database_tools_client.py +23 -23
  86. oci/dblm/db_life_cycle_management_client.py +345 -12
  87. oci/dblm/models/__init__.py +22 -0
  88. oci/dblm/models/additional_patches.py +179 -0
  89. oci/dblm/models/databases_summary.py +670 -0
  90. oci/dblm/models/dblm_patch_management.py +410 -0
  91. oci/dblm/models/fpp_server.py +604 -0
  92. oci/dblm/models/image_details.py +338 -0
  93. oci/dblm/models/images_patch_recommendation_summary.py +132 -0
  94. oci/dblm/models/patch_activity_details.py +394 -0
  95. oci/dblm/models/patch_compliance_details.py +121 -0
  96. oci/dblm/models/patch_databases_collection.py +70 -0
  97. oci/dblm/models/patch_operations_summary.py +194 -0
  98. oci/dblm/models/resource_info.py +33 -2
  99. oci/dblm/models/resources_patch_compliance_summary.py +194 -0
  100. oci/dblm/models/vulnerabilities_summary.py +10 -10
  101. oci/delegate_access_control/delegate_access_control_client.py +26 -26
  102. oci/delegate_access_control/work_request_client.py +4 -4
  103. oci/demand_signal/occ_demand_signal_client.py +7 -7
  104. oci/desktops/desktop_service_client.py +21 -21
  105. oci/devops/devops_client.py +141 -141
  106. oci/disaster_recovery/disaster_recovery_client.py +31 -31
  107. oci/dns/dns_client.py +54 -54
  108. oci/dts/appliance_export_job_client.py +6 -6
  109. oci/dts/shipping_vendors_client.py +1 -1
  110. oci/dts/transfer_appliance_client.py +8 -8
  111. oci/dts/transfer_appliance_entitlement_client.py +3 -3
  112. oci/dts/transfer_device_client.py +5 -5
  113. oci/dts/transfer_job_client.py +6 -6
  114. oci/dts/transfer_package_client.py +7 -7
  115. oci/em_warehouse/em_warehouse_client.py +13 -13
  116. oci/email/email_client.py +31 -31
  117. oci/email_data_plane/email_dp_client.py +1 -1
  118. oci/events/events_client.py +6 -6
  119. oci/file_storage/file_storage_client.py +74 -74
  120. oci/fips.py +58 -36
  121. oci/fleet_apps_management/fleet_apps_management_admin_client.py +25 -25
  122. oci/fleet_apps_management/fleet_apps_management_client.py +35 -35
  123. oci/fleet_apps_management/fleet_apps_management_maintenance_window_client.py +5 -5
  124. oci/fleet_apps_management/fleet_apps_management_operations_client.py +26 -26
  125. oci/fleet_apps_management/fleet_apps_management_runbooks_client.py +12 -12
  126. oci/fleet_software_update/fleet_software_update_client.py +46 -46
  127. oci/functions/functions_invoke_client.py +1 -1
  128. oci/functions/functions_management_client.py +16 -16
  129. oci/fusion_apps/fusion_applications_client.py +41 -41
  130. oci/generative_ai/generative_ai_client.py +22 -22
  131. oci/generative_ai_agent/generative_ai_agent_client.py +38 -38
  132. oci/generative_ai_agent_runtime/generative_ai_agent_runtime_client.py +6 -6
  133. oci/generative_ai_inference/generative_ai_inference_client.py +6 -6
  134. oci/generic_artifacts_content/generic_artifacts_content_client.py +3 -3
  135. oci/globally_distributed_database/sharded_database_service_client.py +30 -30
  136. oci/golden_gate/golden_gate_client.py +89 -89
  137. oci/governance_rules_control_plane/governance_rule_client.py +15 -15
  138. oci/governance_rules_control_plane/work_request_client.py +5 -5
  139. oci/healthchecks/health_checks_client.py +17 -17
  140. oci/identity/identity_client.py +145 -145
  141. oci/identity_data_plane/dataplane_client.py +2 -2
  142. oci/identity_domains/identity_domains_client.py +311 -311
  143. oci/integration/integration_instance_client.py +19 -19
  144. oci/jms/java_management_service_client.py +79 -79
  145. oci/jms_java_downloads/java_download_client.py +25 -25
  146. oci/key_management/ekm_client.py +5 -5
  147. oci/key_management/kms_crypto_client.py +6 -6
  148. oci/key_management/kms_hsm_cluster_client.py +12 -12
  149. oci/key_management/kms_management_client.py +21 -21
  150. oci/key_management/kms_vault_client.py +14 -14
  151. oci/license_manager/license_manager_client.py +18 -18
  152. oci/limits/limits_client.py +4 -4
  153. oci/limits/quotas_client.py +7 -7
  154. oci/load_balancer/load_balancer_client.py +61 -61
  155. oci/lockbox/lockbox_client.py +24 -24
  156. oci/log_analytics/log_analytics_client.py +193 -193
  157. oci/logging/logging_management_client.py +30 -30
  158. oci/loggingingestion/logging_client.py +1 -1
  159. oci/loggingsearch/log_search_client.py +1 -1
  160. oci/lustre_file_storage/lustre_file_storage_client.py +11 -11
  161. oci/management_agent/management_agent_client.py +28 -28
  162. oci/management_dashboard/dashx_apis_client.py +14 -14
  163. oci/marketplace/account_client.py +2 -2
  164. oci/marketplace/marketplace_client.py +30 -30
  165. oci/marketplace_private_offer/attachment_client.py +5 -5
  166. oci/marketplace_private_offer/offer_client.py +6 -6
  167. oci/marketplace_publisher/attachment_client.py +5 -5
  168. oci/marketplace_publisher/marketplace_publisher_client.py +71 -71
  169. oci/marketplace_publisher/offer_client.py +6 -6
  170. oci/media_services/media_services_client.py +60 -60
  171. oci/media_services/media_stream_client.py +2 -2
  172. oci/mngdmac/mac_device_client.py +3 -3
  173. oci/mngdmac/mac_order_client.py +11 -11
  174. oci/monitoring/monitoring_client.py +18 -18
  175. oci/mysql/channels_client.py +7 -7
  176. oci/mysql/db_backups_client.py +7 -7
  177. oci/mysql/db_system_client.py +17 -17
  178. oci/mysql/mysqlaas_client.py +7 -7
  179. oci/mysql/replicas_client.py +5 -5
  180. oci/mysql/work_requests_client.py +4 -4
  181. oci/network_firewall/network_firewall_client.py +86 -86
  182. oci/network_load_balancer/network_load_balancer_client.py +35 -35
  183. oci/nosql/nosql_client.py +24 -24
  184. oci/object_storage/object_storage_client.py +55 -55
  185. oci/oce/oce_instance_client.py +10 -10
  186. oci/oci_control_center/occ_metrics_client.py +3 -3
  187. oci/ocvp/cluster_client.py +5 -5
  188. oci/ocvp/esxi_host_client.py +8 -8
  189. oci/ocvp/sddc_client.py +14 -14
  190. oci/ocvp/work_request_client.py +4 -4
  191. oci/oda/management_client.py +59 -59
  192. oci/oda/oda_client.py +17 -17
  193. oci/oda/odapackage_client.py +7 -7
  194. oci/onesubscription/billing_schedule_client.py +1 -1
  195. oci/onesubscription/commitment_client.py +2 -2
  196. oci/onesubscription/computed_usage_client.py +3 -3
  197. oci/onesubscription/invoice_summary_client.py +2 -2
  198. oci/onesubscription/organization_subscription_client.py +1 -1
  199. oci/onesubscription/ratecard_client.py +1 -1
  200. oci/onesubscription/subscribed_service_client.py +2 -2
  201. oci/onesubscription/subscription_client.py +1 -1
  202. oci/ons/notification_control_plane_client.py +6 -6
  203. oci/ons/notification_data_plane_client.py +10 -10
  204. oci/opa/opa_instance_client.py +13 -13
  205. oci/opensearch/opensearch_cluster_backup_client.py +4 -4
  206. oci/opensearch/opensearch_cluster_client.py +16 -16
  207. oci/opensearch/opensearch_cluster_pipeline_client.py +5 -5
  208. oci/operator_access_control/access_requests_client.py +10 -10
  209. oci/operator_access_control/operator_actions_client.py +2 -2
  210. oci/operator_access_control/operator_control_assignment_client.py +8 -8
  211. oci/operator_access_control/operator_control_client.py +6 -6
  212. oci/opsi/operations_insights_client.py +181 -181
  213. oci/optimizer/optimizer_client.py +26 -26
  214. oci/os_management/event_client.py +8 -8
  215. oci/os_management/os_management_client.py +69 -69
  216. oci/os_management_hub/event_client.py +8 -8
  217. oci/os_management_hub/lifecycle_environment_client.py +13 -13
  218. oci/os_management_hub/managed_instance_client.py +33 -33
  219. oci/os_management_hub/managed_instance_group_client.py +26 -26
  220. oci/os_management_hub/management_station_client.py +10 -10
  221. oci/os_management_hub/onboarding_client.py +13 -13
  222. oci/os_management_hub/reporting_managed_instance_client.py +3 -3
  223. oci/os_management_hub/scheduled_job_client.py +7 -7
  224. oci/os_management_hub/software_source_client.py +33 -33
  225. oci/os_management_hub/work_request_client.py +5 -5
  226. oci/osp_gateway/address_rule_service_client.py +1 -1
  227. oci/osp_gateway/address_service_client.py +2 -2
  228. oci/osp_gateway/invoice_service_client.py +5 -5
  229. oci/osp_gateway/subscription_service_client.py +5 -5
  230. oci/osub_billing_schedule/billing_schedule_client.py +1 -1
  231. oci/osub_organization_subscription/organization_subscription_client.py +1 -1
  232. oci/osub_subscription/commitment_client.py +2 -2
  233. oci/osub_subscription/ratecard_client.py +1 -1
  234. oci/osub_subscription/subscription_client.py +1 -1
  235. oci/osub_usage/computed_usage_client.py +3 -3
  236. oci/psql/postgresql_client.py +34 -34
  237. oci/queue/queue_admin_client.py +11 -11
  238. oci/queue/queue_client.py +8 -8
  239. oci/recovery/database_recovery_client.py +26 -26
  240. oci/redis/redis_cluster_client.py +12 -12
  241. oci/regions_definitions.py +9 -0
  242. oci/resource_manager/resource_manager_client.py +52 -52
  243. oci/resource_scheduler/schedule_client.py +13 -13
  244. oci/resource_search/resource_search_client.py +3 -3
  245. oci/rover/rover_bundle_client.py +8 -8
  246. oci/rover/rover_cluster_client.py +8 -8
  247. oci/rover/rover_entitlement_client.py +6 -6
  248. oci/rover/rover_node_client.py +15 -15
  249. oci/rover/shape_client.py +1 -1
  250. oci/rover/work_requests_client.py +5 -5
  251. oci/sch/connector_plugins_client.py +2 -2
  252. oci/sch/service_connector_client.py +12 -12
  253. oci/secrets/secrets_client.py +3 -3
  254. oci/security_attribute/security_attribute_client.py +18 -18
  255. oci/service_catalog/service_catalog_client.py +26 -26
  256. oci/service_manager_proxy/service_manager_proxy_client.py +2 -2
  257. oci/service_mesh/service_mesh_client.py +48 -48
  258. oci/stack_monitoring/stack_monitoring_client.py +87 -87
  259. oci/streaming/stream_admin_client.py +18 -18
  260. oci/streaming/stream_client.py +8 -8
  261. oci/tenant_manager_control_plane/domain_client.py +5 -5
  262. oci/tenant_manager_control_plane/domain_governance_client.py +5 -5
  263. oci/tenant_manager_control_plane/governance_client.py +2 -2
  264. oci/tenant_manager_control_plane/link_client.py +3 -3
  265. oci/tenant_manager_control_plane/orders_client.py +2 -2
  266. oci/tenant_manager_control_plane/organization_client.py +10 -10
  267. oci/tenant_manager_control_plane/recipient_invitation_client.py +5 -5
  268. oci/tenant_manager_control_plane/sender_invitation_client.py +5 -5
  269. oci/tenant_manager_control_plane/subscription_client.py +11 -11
  270. oci/tenant_manager_control_plane/work_request_client.py +4 -4
  271. oci/threat_intelligence/threatintel_client.py +5 -5
  272. oci/usage/resources_client.py +2 -2
  273. oci/usage/rewards_client.py +6 -6
  274. oci/usage/usagelimits_client.py +1 -1
  275. oci/usage_api/usageapi_client.py +33 -33
  276. oci/vault/vaults_client.py +13 -13
  277. oci/vbs_inst/vbs_instance_client.py +10 -10
  278. oci/version.py +1 -1
  279. oci/visual_builder/models/__init__.py +6 -0
  280. oci/visual_builder/models/network_endpoint_details.py +11 -3
  281. oci/visual_builder/models/private_endpoint_details.py +1 -1
  282. oci/visual_builder/models/public_endpoint_details.py +113 -0
  283. oci/visual_builder/models/update_network_endpoint_details.py +11 -3
  284. oci/visual_builder/models/update_private_endpoint_details.py +1 -1
  285. oci/visual_builder/models/update_public_endpoint_details.py +113 -0
  286. oci/visual_builder/models/virtual_cloud_network.py +103 -0
  287. oci/visual_builder/vb_instance_client.py +14 -14
  288. oci/vn_monitoring/vn_monitoring_client.py +12 -12
  289. oci/vulnerability_scanning/vulnerability_scanning_client.py +58 -58
  290. oci/waa/waa_client.py +13 -13
  291. oci/waa/work_request_client.py +4 -4
  292. oci/waas/redirect_client.py +6 -6
  293. oci/waas/waas_client.py +66 -66
  294. oci/waf/waf_client.py +24 -24
  295. oci/work_requests/work_request_client.py +4 -4
  296. oci/zpr/zpr_client.py +15 -15
  297. {oci-2.150.1.dist-info → oci-2.150.2.dist-info}/METADATA +1 -1
  298. {oci-2.150.1.dist-info → oci-2.150.2.dist-info}/RECORD +302 -283
  299. {oci-2.150.1.dist-info → oci-2.150.2.dist-info}/LICENSE.txt +0 -0
  300. {oci-2.150.1.dist-info → oci-2.150.2.dist-info}/THIRD_PARTY_LICENSES.txt +0 -0
  301. {oci-2.150.1.dist-info → oci-2.150.2.dist-info}/WHEEL +0 -0
  302. {oci-2.150.1.dist-info → oci-2.150.2.dist-info}/top_level.txt +0 -0
@@ -554,6 +554,96 @@ class ContainerEngineClientCompositeOperations(object):
554
554
  except Exception as e:
555
555
  raise oci.exceptions.CompositeOperationError(partial_results=[operation_result], cause=e)
556
556
 
557
+ def reboot_cluster_node_and_wait_for_state(self, cluster_id, node_id, reboot_cluster_node_details, wait_for_states=[], operation_kwargs={}, waiter_kwargs={}):
558
+ """
559
+ Calls :py:func:`~oci.container_engine.ContainerEngineClient.reboot_cluster_node` and waits for the :py:class:`~oci.container_engine.models.WorkRequest`
560
+ to enter the given state(s).
561
+
562
+ :param str cluster_id: (required)
563
+ The OCID of the cluster.
564
+
565
+ :param str node_id: (required)
566
+ The OCID of the compute instance.
567
+
568
+ :param oci.container_engine.models.RebootClusterNodeDetails reboot_cluster_node_details: (required)
569
+ The fields to reboot a node.
570
+
571
+ :param list[str] wait_for_states:
572
+ An array of states to wait on. These should be valid values for :py:attr:`~oci.container_engine.models.WorkRequest.status`
573
+
574
+ :param dict operation_kwargs:
575
+ A dictionary of keyword arguments to pass to :py:func:`~oci.container_engine.ContainerEngineClient.reboot_cluster_node`
576
+
577
+ :param dict waiter_kwargs:
578
+ 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``
579
+ as dictionary keys to modify how long the waiter function will wait between retries and the maximum amount of time it will wait
580
+ """
581
+ operation_result = self.client.reboot_cluster_node(cluster_id, node_id, reboot_cluster_node_details, **operation_kwargs)
582
+ if not wait_for_states:
583
+ return operation_result
584
+ lowered_wait_for_states = [w.lower() for w in wait_for_states]
585
+ if 'opc-work-request-id' not in operation_result.headers:
586
+ return operation_result
587
+ wait_for_resource_id = operation_result.headers['opc-work-request-id']
588
+
589
+ try:
590
+ waiter_result = oci.wait_until(
591
+ self.client,
592
+ self.client.get_work_request(wait_for_resource_id),
593
+ evaluate_response=lambda r: getattr(r.data, 'status') and getattr(r.data, 'status').lower() in lowered_wait_for_states,
594
+ **waiter_kwargs
595
+ )
596
+ result_to_return = waiter_result
597
+
598
+ return result_to_return
599
+ except Exception as e:
600
+ raise oci.exceptions.CompositeOperationError(partial_results=[operation_result], cause=e)
601
+
602
+ def replace_boot_volume_cluster_node_and_wait_for_state(self, cluster_id, node_id, replace_boot_volume_cluster_node_details, wait_for_states=[], operation_kwargs={}, waiter_kwargs={}):
603
+ """
604
+ Calls :py:func:`~oci.container_engine.ContainerEngineClient.replace_boot_volume_cluster_node` and waits for the :py:class:`~oci.container_engine.models.WorkRequest`
605
+ to enter the given state(s).
606
+
607
+ :param str cluster_id: (required)
608
+ The OCID of the cluster.
609
+
610
+ :param str node_id: (required)
611
+ The OCID of the compute instance.
612
+
613
+ :param oci.container_engine.models.ReplaceBootVolumeClusterNodeDetails replace_boot_volume_cluster_node_details: (required)
614
+ The fields to replace boot volume of a node.
615
+
616
+ :param list[str] wait_for_states:
617
+ An array of states to wait on. These should be valid values for :py:attr:`~oci.container_engine.models.WorkRequest.status`
618
+
619
+ :param dict operation_kwargs:
620
+ A dictionary of keyword arguments to pass to :py:func:`~oci.container_engine.ContainerEngineClient.replace_boot_volume_cluster_node`
621
+
622
+ :param dict waiter_kwargs:
623
+ 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``
624
+ as dictionary keys to modify how long the waiter function will wait between retries and the maximum amount of time it will wait
625
+ """
626
+ operation_result = self.client.replace_boot_volume_cluster_node(cluster_id, node_id, replace_boot_volume_cluster_node_details, **operation_kwargs)
627
+ if not wait_for_states:
628
+ return operation_result
629
+ lowered_wait_for_states = [w.lower() for w in wait_for_states]
630
+ if 'opc-work-request-id' not in operation_result.headers:
631
+ return operation_result
632
+ wait_for_resource_id = operation_result.headers['opc-work-request-id']
633
+
634
+ try:
635
+ waiter_result = oci.wait_until(
636
+ self.client,
637
+ self.client.get_work_request(wait_for_resource_id),
638
+ evaluate_response=lambda r: getattr(r.data, 'status') and getattr(r.data, 'status').lower() in lowered_wait_for_states,
639
+ **waiter_kwargs
640
+ )
641
+ result_to_return = waiter_result
642
+
643
+ return result_to_return
644
+ except Exception as e:
645
+ raise oci.exceptions.CompositeOperationError(partial_results=[operation_result], cause=e)
646
+
557
647
  def start_credential_rotation_and_wait_for_state(self, cluster_id, start_credential_rotation_details, wait_for_states=[], operation_kwargs={}, waiter_kwargs={}):
558
648
  """
559
649
  Calls :py:func:`~oci.container_engine.ContainerEngineClient.start_credential_rotation` and waits for the :py:class:`~oci.container_engine.models.WorkRequest`
@@ -22,6 +22,7 @@ from .cluster_endpoints import ClusterEndpoints
22
22
  from .cluster_metadata import ClusterMetadata
23
23
  from .cluster_migrate_to_native_vcn_details import ClusterMigrateToNativeVcnDetails
24
24
  from .cluster_migrate_to_native_vcn_status import ClusterMigrateToNativeVcnStatus
25
+ from .cluster_node import ClusterNode
25
26
  from .cluster_options import ClusterOptions
26
27
  from .cluster_pod_network_option_details import ClusterPodNetworkOptionDetails
27
28
  from .cluster_summary import ClusterSummary
@@ -37,6 +38,7 @@ from .create_workload_mapping_details import CreateWorkloadMappingDetails
37
38
  from .credential_rotation_status import CredentialRotationStatus
38
39
  from .flannel_overlay_cluster_pod_network_option_details import FlannelOverlayClusterPodNetworkOptionDetails
39
40
  from .flannel_overlay_node_pool_pod_network_option_details import FlannelOverlayNodePoolPodNetworkOptionDetails
41
+ from .image import Image
40
42
  from .image_policy_config import ImagePolicyConfig
41
43
  from .initial_virtual_node_label import InitialVirtualNodeLabel
42
44
  from .install_addon_details import InstallAddonDetails
@@ -47,6 +49,7 @@ from .kubernetes_versions_filters import KubernetesVersionsFilters
47
49
  from .node import Node
48
50
  from .node_error import NodeError
49
51
  from .node_eviction_node_pool_settings import NodeEvictionNodePoolSettings
52
+ from .node_eviction_settings import NodeEvictionSettings
50
53
  from .node_pool import NodePool
51
54
  from .node_pool_cycling_details import NodePoolCyclingDetails
52
55
  from .node_pool_node_config_details import NodePoolNodeConfigDetails
@@ -70,6 +73,8 @@ from .pod_shape import PodShape
70
73
  from .pod_shape_summary import PodShapeSummary
71
74
  from .preemptible_node_config_details import PreemptibleNodeConfigDetails
72
75
  from .preemption_action import PreemptionAction
76
+ from .reboot_cluster_node_details import RebootClusterNodeDetails
77
+ from .replace_boot_volume_cluster_node_details import ReplaceBootVolumeClusterNodeDetails
73
78
  from .service_lb_config_details import ServiceLbConfigDetails
74
79
  from .shape_memory_options import ShapeMemoryOptions
75
80
  from .shape_network_bandwidth_options import ShapeNetworkBandwidthOptions
@@ -118,6 +123,7 @@ container_engine_type_mapping = {
118
123
  "ClusterMetadata": ClusterMetadata,
119
124
  "ClusterMigrateToNativeVcnDetails": ClusterMigrateToNativeVcnDetails,
120
125
  "ClusterMigrateToNativeVcnStatus": ClusterMigrateToNativeVcnStatus,
126
+ "ClusterNode": ClusterNode,
121
127
  "ClusterOptions": ClusterOptions,
122
128
  "ClusterPodNetworkOptionDetails": ClusterPodNetworkOptionDetails,
123
129
  "ClusterSummary": ClusterSummary,
@@ -133,6 +139,7 @@ container_engine_type_mapping = {
133
139
  "CredentialRotationStatus": CredentialRotationStatus,
134
140
  "FlannelOverlayClusterPodNetworkOptionDetails": FlannelOverlayClusterPodNetworkOptionDetails,
135
141
  "FlannelOverlayNodePoolPodNetworkOptionDetails": FlannelOverlayNodePoolPodNetworkOptionDetails,
142
+ "Image": Image,
136
143
  "ImagePolicyConfig": ImagePolicyConfig,
137
144
  "InitialVirtualNodeLabel": InitialVirtualNodeLabel,
138
145
  "InstallAddonDetails": InstallAddonDetails,
@@ -143,6 +150,7 @@ container_engine_type_mapping = {
143
150
  "Node": Node,
144
151
  "NodeError": NodeError,
145
152
  "NodeEvictionNodePoolSettings": NodeEvictionNodePoolSettings,
153
+ "NodeEvictionSettings": NodeEvictionSettings,
146
154
  "NodePool": NodePool,
147
155
  "NodePoolCyclingDetails": NodePoolCyclingDetails,
148
156
  "NodePoolNodeConfigDetails": NodePoolNodeConfigDetails,
@@ -166,6 +174,8 @@ container_engine_type_mapping = {
166
174
  "PodShapeSummary": PodShapeSummary,
167
175
  "PreemptibleNodeConfigDetails": PreemptibleNodeConfigDetails,
168
176
  "PreemptionAction": PreemptionAction,
177
+ "RebootClusterNodeDetails": RebootClusterNodeDetails,
178
+ "ReplaceBootVolumeClusterNodeDetails": ReplaceBootVolumeClusterNodeDetails,
169
179
  "ServiceLbConfigDetails": ServiceLbConfigDetails,
170
180
  "ShapeMemoryOptions": ShapeMemoryOptions,
171
181
  "ShapeNetworkBandwidthOptions": ShapeNetworkBandwidthOptions,
@@ -0,0 +1,101 @@
1
+ # coding: utf-8
2
+ # Copyright (c) 2016, 2025, 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: 20180222
6
+
7
+
8
+ from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401
9
+ from oci.decorators import init_model_state_from_kwargs
10
+
11
+
12
+ @init_model_state_from_kwargs
13
+ class ClusterNode(object):
14
+ """
15
+ The properties that define a cluster node.
16
+ """
17
+
18
+ def __init__(self, **kwargs):
19
+ """
20
+ Initializes a new ClusterNode object with values from keyword arguments.
21
+ The following keyword arguments are supported (corresponding to the getters/setters of this class):
22
+
23
+ :param id:
24
+ The value to assign to the id property of this ClusterNode.
25
+ :type id: str
26
+
27
+ :param cluster_id:
28
+ The value to assign to the cluster_id property of this ClusterNode.
29
+ :type cluster_id: str
30
+
31
+ """
32
+ self.swagger_types = {
33
+ 'id': 'str',
34
+ 'cluster_id': 'str'
35
+ }
36
+ self.attribute_map = {
37
+ 'id': 'id',
38
+ 'cluster_id': 'clusterId'
39
+ }
40
+ self._id = None
41
+ self._cluster_id = None
42
+
43
+ @property
44
+ def id(self):
45
+ """
46
+ Gets the id of this ClusterNode.
47
+ The OCID of the compute instance backing this node.
48
+
49
+
50
+ :return: The id of this ClusterNode.
51
+ :rtype: str
52
+ """
53
+ return self._id
54
+
55
+ @id.setter
56
+ def id(self, id):
57
+ """
58
+ Sets the id of this ClusterNode.
59
+ The OCID of the compute instance backing this node.
60
+
61
+
62
+ :param id: The id of this ClusterNode.
63
+ :type: str
64
+ """
65
+ self._id = id
66
+
67
+ @property
68
+ def cluster_id(self):
69
+ """
70
+ Gets the cluster_id of this ClusterNode.
71
+ The OCID of the cluster to which this node belongs.
72
+
73
+
74
+ :return: The cluster_id of this ClusterNode.
75
+ :rtype: str
76
+ """
77
+ return self._cluster_id
78
+
79
+ @cluster_id.setter
80
+ def cluster_id(self, cluster_id):
81
+ """
82
+ Sets the cluster_id of this ClusterNode.
83
+ The OCID of the cluster to which this node belongs.
84
+
85
+
86
+ :param cluster_id: The cluster_id of this ClusterNode.
87
+ :type: str
88
+ """
89
+ self._cluster_id = cluster_id
90
+
91
+ def __repr__(self):
92
+ return formatted_flat_dict(self)
93
+
94
+ def __eq__(self, other):
95
+ if other is None:
96
+ return False
97
+
98
+ return self.__dict__ == other.__dict__
99
+
100
+ def __ne__(self, other):
101
+ return not self == other
@@ -0,0 +1,132 @@
1
+ # coding: utf-8
2
+ # Copyright (c) 2016, 2025, 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: 20180222
6
+
7
+
8
+ from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401
9
+ from oci.decorators import init_model_state_from_kwargs
10
+
11
+
12
+ @init_model_state_from_kwargs
13
+ class Image(object):
14
+ """
15
+ Describes image metadata.
16
+ """
17
+
18
+ def __init__(self, **kwargs):
19
+ """
20
+ Initializes a new Image object with values from keyword arguments.
21
+ The following keyword arguments are supported (corresponding to the getters/setters of this class):
22
+
23
+ :param id:
24
+ The value to assign to the id property of this Image.
25
+ :type id: str
26
+
27
+ :param compartment_id:
28
+ The value to assign to the compartment_id property of this Image.
29
+ :type compartment_id: str
30
+
31
+ :param display_name:
32
+ The value to assign to the display_name property of this Image.
33
+ :type display_name: str
34
+
35
+ """
36
+ self.swagger_types = {
37
+ 'id': 'str',
38
+ 'compartment_id': 'str',
39
+ 'display_name': 'str'
40
+ }
41
+ self.attribute_map = {
42
+ 'id': 'id',
43
+ 'compartment_id': 'compartmentId',
44
+ 'display_name': 'displayName'
45
+ }
46
+ self._id = None
47
+ self._compartment_id = None
48
+ self._display_name = None
49
+
50
+ @property
51
+ def id(self):
52
+ """
53
+ Gets the id of this Image.
54
+ The Oracle Cloud ID (OCID) that uniquely identifies the image.
55
+
56
+
57
+ :return: The id of this Image.
58
+ :rtype: str
59
+ """
60
+ return self._id
61
+
62
+ @id.setter
63
+ def id(self, id):
64
+ """
65
+ Sets the id of this Image.
66
+ The Oracle Cloud ID (OCID) that uniquely identifies the image.
67
+
68
+
69
+ :param id: The id of this Image.
70
+ :type: str
71
+ """
72
+ self._id = id
73
+
74
+ @property
75
+ def compartment_id(self):
76
+ """
77
+ Gets the compartment_id of this Image.
78
+ The OCID of the compartment that the image was created in.
79
+
80
+
81
+ :return: The compartment_id of this Image.
82
+ :rtype: str
83
+ """
84
+ return self._compartment_id
85
+
86
+ @compartment_id.setter
87
+ def compartment_id(self, compartment_id):
88
+ """
89
+ Sets the compartment_id of this Image.
90
+ The OCID of the compartment that the image was created in.
91
+
92
+
93
+ :param compartment_id: The compartment_id of this Image.
94
+ :type: str
95
+ """
96
+ self._compartment_id = compartment_id
97
+
98
+ @property
99
+ def display_name(self):
100
+ """
101
+ Gets the display_name of this Image.
102
+ A friendly user-specified name for the image.
103
+
104
+
105
+ :return: The display_name of this Image.
106
+ :rtype: str
107
+ """
108
+ return self._display_name
109
+
110
+ @display_name.setter
111
+ def display_name(self, display_name):
112
+ """
113
+ Sets the display_name of this Image.
114
+ A friendly user-specified name for the image.
115
+
116
+
117
+ :param display_name: The display_name of this Image.
118
+ :type: str
119
+ """
120
+ self._display_name = display_name
121
+
122
+ def __repr__(self):
123
+ return formatted_flat_dict(self)
124
+
125
+ def __eq__(self, other):
126
+ if other is None:
127
+ return False
128
+
129
+ return self.__dict__ == other.__dict__
130
+
131
+ def __ne__(self, other):
132
+ return not self == other
@@ -28,17 +28,24 @@ class NodeEvictionNodePoolSettings(object):
28
28
  The value to assign to the is_force_delete_after_grace_duration property of this NodeEvictionNodePoolSettings.
29
29
  :type is_force_delete_after_grace_duration: bool
30
30
 
31
+ :param is_force_action_after_grace_duration:
32
+ The value to assign to the is_force_action_after_grace_duration property of this NodeEvictionNodePoolSettings.
33
+ :type is_force_action_after_grace_duration: bool
34
+
31
35
  """
32
36
  self.swagger_types = {
33
37
  'eviction_grace_duration': 'str',
34
- 'is_force_delete_after_grace_duration': 'bool'
38
+ 'is_force_delete_after_grace_duration': 'bool',
39
+ 'is_force_action_after_grace_duration': 'bool'
35
40
  }
36
41
  self.attribute_map = {
37
42
  'eviction_grace_duration': 'evictionGraceDuration',
38
- 'is_force_delete_after_grace_duration': 'isForceDeleteAfterGraceDuration'
43
+ 'is_force_delete_after_grace_duration': 'isForceDeleteAfterGraceDuration',
44
+ 'is_force_action_after_grace_duration': 'isForceActionAfterGraceDuration'
39
45
  }
40
46
  self._eviction_grace_duration = None
41
47
  self._is_force_delete_after_grace_duration = None
48
+ self._is_force_action_after_grace_duration = None
42
49
 
43
50
  @property
44
51
  def eviction_grace_duration(self):
@@ -90,6 +97,30 @@ class NodeEvictionNodePoolSettings(object):
90
97
  """
91
98
  self._is_force_delete_after_grace_duration = is_force_delete_after_grace_duration
92
99
 
100
+ @property
101
+ def is_force_action_after_grace_duration(self):
102
+ """
103
+ Gets the is_force_action_after_grace_duration of this NodeEvictionNodePoolSettings.
104
+ If the node action should be performed if not all the pods can be evicted in the grace period
105
+
106
+
107
+ :return: The is_force_action_after_grace_duration of this NodeEvictionNodePoolSettings.
108
+ :rtype: bool
109
+ """
110
+ return self._is_force_action_after_grace_duration
111
+
112
+ @is_force_action_after_grace_duration.setter
113
+ def is_force_action_after_grace_duration(self, is_force_action_after_grace_duration):
114
+ """
115
+ Sets the is_force_action_after_grace_duration of this NodeEvictionNodePoolSettings.
116
+ If the node action should be performed if not all the pods can be evicted in the grace period
117
+
118
+
119
+ :param is_force_action_after_grace_duration: The is_force_action_after_grace_duration of this NodeEvictionNodePoolSettings.
120
+ :type: bool
121
+ """
122
+ self._is_force_action_after_grace_duration = is_force_action_after_grace_duration
123
+
93
124
  def __repr__(self):
94
125
  return formatted_flat_dict(self)
95
126
 
@@ -0,0 +1,103 @@
1
+ # coding: utf-8
2
+ # Copyright (c) 2016, 2025, 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: 20180222
6
+
7
+
8
+ from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401
9
+ from oci.decorators import init_model_state_from_kwargs
10
+
11
+
12
+ @init_model_state_from_kwargs
13
+ class NodeEvictionSettings(object):
14
+ """
15
+ Node Eviction Configuration
16
+ """
17
+
18
+ def __init__(self, **kwargs):
19
+ """
20
+ Initializes a new NodeEvictionSettings object with values from keyword arguments.
21
+ The following keyword arguments are supported (corresponding to the getters/setters of this class):
22
+
23
+ :param eviction_grace_duration:
24
+ The value to assign to the eviction_grace_duration property of this NodeEvictionSettings.
25
+ :type eviction_grace_duration: str
26
+
27
+ :param is_force_action_after_grace_duration:
28
+ The value to assign to the is_force_action_after_grace_duration property of this NodeEvictionSettings.
29
+ :type is_force_action_after_grace_duration: bool
30
+
31
+ """
32
+ self.swagger_types = {
33
+ 'eviction_grace_duration': 'str',
34
+ 'is_force_action_after_grace_duration': 'bool'
35
+ }
36
+ self.attribute_map = {
37
+ 'eviction_grace_duration': 'evictionGraceDuration',
38
+ 'is_force_action_after_grace_duration': 'isForceActionAfterGraceDuration'
39
+ }
40
+ self._eviction_grace_duration = None
41
+ self._is_force_action_after_grace_duration = None
42
+
43
+ @property
44
+ def eviction_grace_duration(self):
45
+ """
46
+ Gets the eviction_grace_duration of this NodeEvictionSettings.
47
+ Duration after which OKE will give up eviction of the pods on the node. PT0M will indicate you want to perform node action without cordon and drain.
48
+ Default PT60M, Min PT0M, Max: PT60M. Format ISO 8601 e.g PT30M
49
+
50
+
51
+ :return: The eviction_grace_duration of this NodeEvictionSettings.
52
+ :rtype: str
53
+ """
54
+ return self._eviction_grace_duration
55
+
56
+ @eviction_grace_duration.setter
57
+ def eviction_grace_duration(self, eviction_grace_duration):
58
+ """
59
+ Sets the eviction_grace_duration of this NodeEvictionSettings.
60
+ Duration after which OKE will give up eviction of the pods on the node. PT0M will indicate you want to perform node action without cordon and drain.
61
+ Default PT60M, Min PT0M, Max: PT60M. Format ISO 8601 e.g PT30M
62
+
63
+
64
+ :param eviction_grace_duration: The eviction_grace_duration of this NodeEvictionSettings.
65
+ :type: str
66
+ """
67
+ self._eviction_grace_duration = eviction_grace_duration
68
+
69
+ @property
70
+ def is_force_action_after_grace_duration(self):
71
+ """
72
+ Gets the is_force_action_after_grace_duration of this NodeEvictionSettings.
73
+ If the node action should be performed if not all the pods can be evicted in the grace period
74
+
75
+
76
+ :return: The is_force_action_after_grace_duration of this NodeEvictionSettings.
77
+ :rtype: bool
78
+ """
79
+ return self._is_force_action_after_grace_duration
80
+
81
+ @is_force_action_after_grace_duration.setter
82
+ def is_force_action_after_grace_duration(self, is_force_action_after_grace_duration):
83
+ """
84
+ Sets the is_force_action_after_grace_duration of this NodeEvictionSettings.
85
+ If the node action should be performed if not all the pods can be evicted in the grace period
86
+
87
+
88
+ :param is_force_action_after_grace_duration: The is_force_action_after_grace_duration of this NodeEvictionSettings.
89
+ :type: bool
90
+ """
91
+ self._is_force_action_after_grace_duration = is_force_action_after_grace_duration
92
+
93
+ def __repr__(self):
94
+ return formatted_flat_dict(self)
95
+
96
+ def __eq__(self, other):
97
+ if other is None:
98
+ return False
99
+
100
+ return self.__dict__ == other.__dict__
101
+
102
+ def __ne__(self, other):
103
+ return not self == other
@@ -32,20 +32,27 @@ class NodePoolCyclingDetails(object):
32
32
  The value to assign to the is_node_cycling_enabled property of this NodePoolCyclingDetails.
33
33
  :type is_node_cycling_enabled: bool
34
34
 
35
+ :param cycle_modes:
36
+ The value to assign to the cycle_modes property of this NodePoolCyclingDetails.
37
+ :type cycle_modes: list[oci.container_engine.models.CycleMode]
38
+
35
39
  """
36
40
  self.swagger_types = {
37
41
  'maximum_unavailable': 'str',
38
42
  'maximum_surge': 'str',
39
- 'is_node_cycling_enabled': 'bool'
43
+ 'is_node_cycling_enabled': 'bool',
44
+ 'cycle_modes': 'list[CycleMode]'
40
45
  }
41
46
  self.attribute_map = {
42
47
  'maximum_unavailable': 'maximumUnavailable',
43
48
  'maximum_surge': 'maximumSurge',
44
- 'is_node_cycling_enabled': 'isNodeCyclingEnabled'
49
+ 'is_node_cycling_enabled': 'isNodeCyclingEnabled',
50
+ 'cycle_modes': 'cycleModes'
45
51
  }
46
52
  self._maximum_unavailable = None
47
53
  self._maximum_surge = None
48
54
  self._is_node_cycling_enabled = None
55
+ self._cycle_modes = None
49
56
 
50
57
  @property
51
58
  def maximum_unavailable(self):
@@ -107,7 +114,7 @@ class NodePoolCyclingDetails(object):
107
114
  def is_node_cycling_enabled(self):
108
115
  """
109
116
  Gets the is_node_cycling_enabled of this NodePoolCyclingDetails.
110
- If nodes in the nodepool will be cycled to have new changes.
117
+ If cycling operation should be performed on the nodes in the node pool.
111
118
 
112
119
 
113
120
  :return: The is_node_cycling_enabled of this NodePoolCyclingDetails.
@@ -119,7 +126,7 @@ class NodePoolCyclingDetails(object):
119
126
  def is_node_cycling_enabled(self, is_node_cycling_enabled):
120
127
  """
121
128
  Sets the is_node_cycling_enabled of this NodePoolCyclingDetails.
122
- If nodes in the nodepool will be cycled to have new changes.
129
+ If cycling operation should be performed on the nodes in the node pool.
123
130
 
124
131
 
125
132
  :param is_node_cycling_enabled: The is_node_cycling_enabled of this NodePoolCyclingDetails.
@@ -127,6 +134,30 @@ class NodePoolCyclingDetails(object):
127
134
  """
128
135
  self._is_node_cycling_enabled = is_node_cycling_enabled
129
136
 
137
+ @property
138
+ def cycle_modes(self):
139
+ """
140
+ Gets the cycle_modes of this NodePoolCyclingDetails.
141
+ An ordered list of cycle modes that should be performed on the OKE nodes.
142
+
143
+
144
+ :return: The cycle_modes of this NodePoolCyclingDetails.
145
+ :rtype: list[oci.container_engine.models.CycleMode]
146
+ """
147
+ return self._cycle_modes
148
+
149
+ @cycle_modes.setter
150
+ def cycle_modes(self, cycle_modes):
151
+ """
152
+ Sets the cycle_modes of this NodePoolCyclingDetails.
153
+ An ordered list of cycle modes that should be performed on the OKE nodes.
154
+
155
+
156
+ :param cycle_modes: The cycle_modes of this NodePoolCyclingDetails.
157
+ :type: list[oci.container_engine.models.CycleMode]
158
+ """
159
+ self._cycle_modes = cycle_modes
160
+
130
161
  def __repr__(self):
131
162
  return formatted_flat_dict(self)
132
163